PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 1.9.0
GiveWP – Donation Plugin and Fundraising Platform v1.9.0
4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 2.32.0 2.33.0 2.33.1 2.33.2 2.33.3 2.33.4 2.33.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.9.0 2.9.1 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.10.0 3.11.0 3.12.0 3.12.1 3.12.2 3.12.3 3.13.0 3.14.0 3.14.1 3.14.2 3.15.0 3.15.1 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.17.0 3.17.1 3.17.2 3.18.0 3.19.0 3.19.1 3.19.2 3.19.3 3.19.4 3.2.0 3.2.1 3.2.2 3.20.0 3.21.0 3.21.1 3.22.0 3.22.1 3.22.2 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.6.0 3.6.1 3.6.2 3.7.0 3.8.0 3.9.0 4.0.0 4.1.0 4.1.1 4.10.0 4.10.1 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.14.5 4.14.6 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.1 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 trunk 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.2 2.11.3 2.12.0 2.12.1 2.12.2 2.12.3 2.13.0 2.13.1 2.13.2 2.13.3 2.13.4 2.14.0 2.15.0 2.16.0 2.16.1 2.17.0 2.17.1 2.17.3 2.18.0 2.18.1 2.19.1 2.19.2 2.19.3 2.19.4 2.19.5 2.19.6 2.19.7 2.19.8 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.20.0 2.20.1 2.20.2 2.21.0 2.21.1 2.21.2 2.21.3 2.21.4 2.22.0 2.22.1 2.22.2 2.22.3 2.23.0 2.23.1 2.23.2 2.24.0 2.24.1 2.24.2 2.25.0 2.25.1 2.25.2 2.25.3 2.26.0 2.27.0 2.27.1 2.27.2 2.27.3 2.28.0 2.29.0 2.29.1 2.29.2
give / assets / dist / js / admin-widgets.js
give / assets / dist / js Last commit date
admin-add-ons.js 4 years ago admin-free-addon-modal.js 4 years ago admin-onboarding-wizard.js 4 years ago admin-reports-widget.js 4 years ago admin-reports.js 4 years ago admin-setup.js 4 years ago admin-shortcodes.js 4 years ago admin-upsell-addons-page.js 4 years ago admin-upsell-recurring-donations-settings-tab.js 4 years ago admin-upsell-sale-banner.js 4 years ago admin-widgets.js 4 years ago admin.js 4 years ago donor-dashboards-app.js 4 years ago donor-dashboards-block.js 4 years ago give-admin-donation-forms.js 4 years ago give-classic-template.js 4 years ago give-donation-summary.js 4 years ago give-log-list-table-app.js 4 years ago give-migrations-list-table-app.js 4 years ago give-sequoia-template.js 4 years ago give-stripe-becs.js 4 years ago give-stripe-sepa.js 4 years ago give-stripe.js 4 years ago give.js 4 years ago gutenberg.js 4 years ago paypal-commerce.js 4 years ago plugin-deactivation-survey.js 4 years ago
admin-widgets.js
1 lines
1 (()=>{"use strict";function e(e){e.on("chosen:ready",(function(){jQuery(this).next(".chosen-container").find("input.chosen-search-input").after('<span class="spinner"></span>')})),e.chosen({inherit_select_classes:!0,placeholder_text_single:Give.fn.getGlobalVar("one_option"),placeholder_text_multiple:Give.fn.getGlobalVar("one_or_more_option")}),e.on("chosen:no_results",(function(){var e=jQuery(this).next(".chosen-container"),t=e.find("li.no-results"),n="",s=Give.fn.getGlobalVar("chosen");n=e.hasClass("give-select-chosen-ajax")&&t.length?s.ajax_search_msg.replace("{search_term}",'"'+jQuery("input",e).val()+'"'):s.no_results_msg.replace("{search_term}",'"'+jQuery("input",e).val()+'"'),t.html(n);jQuery(document.body).on("keyup",".give-select.chosen-container .chosen-search input, .give-select.chosen-container .search-field input",(function(e){var t=jQuery(this).val(),n=jQuery(this).closest(".give-select-chosen"),s=n.prev(),a=n.find('input[type="text"]'),i=(n.hasClass("variations"),e.which),o="give_form_search",r=this;if(n.prev().data("search-type")){if("no_ajax"===s.data("search-type"))return;o="give_"+s.data("search-type")+"_search"}t.length>0&&t.length<=3||!o.length||9===i||13===i||16===i||17===i||18===i||19===i||20===i||27===i||33===i||34===i||35===i||36===i||37===i||38===i||39===i||40===i||44===i||45===i||144===i||145===i||91===i||93===i||224===i||112<=i&&123>=i||(clearTimeout(Give.cache.chosenSearchTypingTimer),n.addClass("give-select-chosen-ajax"),Give.cache.chosenSearchTypingTimer=setTimeout((function(){jQuery.ajax({type:"POST",url:ajaxurl,data:{action:o,s:t,fields:jQuery(r).closest("form").serialize()},dataType:"json",beforeSend:function(){s.closest("ul.chosen-results").empty(),a.prop("disabled",!0)},success:function(e){n.removeClass("give-select-chosen-ajax"),jQuery("option:not(:selected)",s).remove(),e.length?(jQuery.each(e,(function(e,n){jQuery('option[value="'+n.id+'"]',s).length||(0===t.length?s.append('<option value="'.concat(n.id,'">').concat(n.name,"</option>")):s.prepend('<option value="'.concat(n.id,'">').concat(n.name,"</option>")))})),n.prev("select.give-select-chosen").trigger("chosen:updated")):n.prev("select.give-select-chosen").trigger("chosen:no_results"),a.prop("disabled",!1),a.val(t).focus()}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){a.prop("disabled",!1)}))}),342))})),jQuery(".give-select-chosen .chosen-search input").each((function(){var e=jQuery(this).parent().parent().parent().prev("select.give-select-chosen").data("search-type"),t="";"form"===e?t=Give.fn.getGlobalVar("search_placeholder"):(e="search_placeholder_"+e,Give.fn.getGlobalVar(e)&&(t=Give.fn.getGlobalVar(e))),jQuery(this).attr("placeholder",t)}))}))}!function(t){function n(e){e.on("change",".give_forms_display_style_setting_row input",(function(){a(t(this))})),e.on("change","select.give-select",(function(){i(jQuery(this))}))}function s(t){Promise.all([e(t)]).then((function(){t.each((function(){var e=jQuery(this).next();e.css("width","100%"),jQuery("ul.chosen-results",e).css("width","100%"),jQuery(this).parent().removeClass("give-hidden"),parseInt(jQuery(this).val())?i(jQuery(this)):jQuery(".js-loader",jQuery(this).closest(".widget-content")).addClass("give-hidden")}))}))}function a(e){e.each((function(){var e=jQuery(this).closest(".give_forms_widget_container"),t=jQuery(".js-form-template-settings.active",e),n=jQuery("p.give_forms_display_style_setting_row",t),s=t.hasClass("js-new-form-template-settings");if(t.hasClass("js-legacy-form-template-settings")){var a=n.next();"onpage"===jQuery("input:checked",n).val()?a.hide():a.show()}else s&&("button"===jQuery("input:checked",n).val()?t.find("p").not(n).removeClass("give-hidden"):t.find("p").not(n).addClass("give-hidden"))}))}function i(e){e.each((function(){var e=t(this),n=jQuery(this).closest(".give_forms_widget_container"),s=jQuery(".js-loader",n),i=jQuery(".js-legacy-form-template-settings",n),o=jQuery(".js-new-form-template-settings",n);i.addClass("give-hidden").removeClass("active"),o.addClass("give-hidden").removeClass("active"),s.removeClass("give-hidden"),jQuery.post(ajaxurl,{action:"give_get_form_template_id",formId:e.val(),security:jQuery('input[name="_wpnonce"]',n).val()},(function(r){s.addClass("give-hidden"),!0===r.success&&("legacy"===r.data?i.removeClass("give-hidden").addClass("active"):o.removeClass("give-hidden").addClass("active")),a(e),function(e){var n;e.each((function(){var e=t(this);e.wpColorPicker({change:function(){window.clearTimeout(n),n=window.setTimeout((function(){e.trigger("change")}),100)}})}))}(jQuery(".give_forms_button_color_setting_row input",n))}))}))}jQuery((function(){var e=jQuery(".widget-liquid-right");e&&function(e){n(e),s(jQuery(".give-select",e))}(e)})),jQuery(document).ajaxSuccess((function(e,t,n){var a=Give.fn.getParameterByName("action",n.data),i=Give.fn.getParameterByName("delete_widget",n.data),o=Give.fn.getParameterByName("widget-id",n.data),r=Give.fn.getParameterByName("sidebar",n.data),c=jQuery("#".concat(r,' [id*="').concat(o,'"]')),l=jQuery(".give-select",c),u=!!parseInt(l.val());if(i||"save-widget"!==a)return!1;console.log("pass 1",l),Promise.all([s(l)]).then((function(){u||jQuery(".js-loader",c).addClass("give-hidden")}))})),jQuery(document).on("widget-added",(function(e,t){var a=jQuery(".give-select",t),i=!!parseInt(a.val());console.log("pass 2",t),jQuery(".control-section-sidebar").length&&Promise.all([s(a)]).then((function(){i||jQuery(".js-loader",t).addClass("give-hidden"),n(t)}))}))}(jQuery)})();