PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 2.19.7
GiveWP – Donation Plugin and Fundraising Platform v2.19.7
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-add-ons.js
give / assets / dist / js Last commit date
admin-add-ons.asset.php 4 years ago admin-add-ons.js 4 years ago admin-free-addon-modal.asset.php 4 years ago admin-free-addon-modal.js 4 years ago admin-onboarding-wizard.asset.php 4 years ago admin-onboarding-wizard.js 4 years ago admin-reports-widget.asset.php 4 years ago admin-reports-widget.js 4 years ago admin-reports.asset.php 4 years ago admin-reports.js 4 years ago admin-setup.asset.php 4 years ago admin-setup.js 4 years ago admin-shortcodes.asset.php 4 years ago admin-shortcodes.js 4 years ago admin-upsell-addons-page.asset.php 4 years ago admin-upsell-addons-page.js 4 years ago admin-upsell-recurring-donations-settings-tab.asset.php 4 years ago admin-upsell-recurring-donations-settings-tab.js 4 years ago admin-upsell-sale-banner.asset.php 4 years ago admin-upsell-sale-banner.js 4 years ago admin-widgets.asset.php 4 years ago admin-widgets.js 4 years ago admin.asset.php 4 years ago admin.js 4 years ago donor-dashboards-app.asset.php 4 years ago donor-dashboards-app.js 4 years ago donor-dashboards-block.asset.php 4 years ago donor-dashboards-block.js 4 years ago give-admin-donation-forms.asset.php 4 years ago give-admin-donation-forms.js 4 years ago give-classic-template.asset.php 4 years ago give-classic-template.js 4 years ago give-donation-summary.asset.php 4 years ago give-donation-summary.js 4 years ago give-log-list-table-app.asset.php 4 years ago give-log-list-table-app.js 4 years ago give-migrations-list-table-app.asset.php 4 years ago give-migrations-list-table-app.js 4 years ago give-sequoia-template.asset.php 4 years ago give-sequoia-template.js 4 years ago give-stripe-becs.asset.php 4 years ago give-stripe-becs.js 4 years ago give-stripe-sepa.asset.php 4 years ago give-stripe-sepa.js 4 years ago give-stripe.asset.php 4 years ago give-stripe.js 4 years ago give.asset.php 4 years ago give.js 4 years ago gutenberg.asset.php 4 years ago gutenberg.js 4 years ago paypal-commerce.asset.php 4 years ago paypal-commerce.js 4 years ago plugin-deactivation-survey.asset.php 4 years ago plugin-deactivation-survey.js 4 years ago
admin-add-ons.js
1 lines
1 (()=>{var e;(e=jQuery)(document).ready((function(){var a=e("#give-licenses-container"),n=e("#give-license-activator-wrap"),t=e("form",n),i=e('input[name="give_license_key"]',n),o=e('input[type="submit"]',t),d=e(".give-license-notices",n);d.on("click",e(".notice-dismiss",d),(function(e){d.empty().hide()})),t.on("submit",(function(){var n=i.val().trim(),t=e('input[name="give_license_activator_nonce"]',e(this)).val().trim();return d.empty(),n?(e.ajax({url:ajaxurl,method:"POST",data:{action:"give_get_license_info",license:n,_wpnonce:t},beforeSend:function(){o.val(o.attr("data-activating")),o.prop("disabled",!0),Give.fn.loader(a)},success:function(e){if(d.show(),i.val(""),!0!==e.success)e.data.hasOwnProperty("errorMsg")&&e.data.errorMsg?d.html(Give.notice.fn.getAdminNoticeHTML(e.data.errorMsg,"error")):d.html(Give.notice.fn.getAdminNoticeHTML(give_addon_var.notices.invalid_license,"error"));else if(e.data.hasOwnProperty("download")&&e.data.download){var n="string"==typeof e.data.download?give_addon_var.notices.download_file.replace("{link}",e.data.download):give_addon_var.notices.download_file.substring(0,give_addon_var.notices.download_file.indexOf(".")+1);d.html(Give.notice.fn.getAdminNoticeHTML(n,"success")),a.parent().parent().removeClass("give-hidden"),a.html(e.data.html)}else d.html(Give.notice.fn.getAdminNoticeHTML(give_addon_var.notices.invalid_license,"error"))}}).always((function(){Give.fn.loader(a,{show:!1}),o.val(o.attr("data-activate")),o.prop("disabled",!1)})),!1):(d.show(),d.html(Give.notice.fn.getAdminNoticeHTML(give_addon_var.notices.invalid_license,"error")),!1)})),a.on("click",".give-button__license-activate",(function(n){n.preventDefault();var t=e(this),i=t.parents(".give-addon-wrap"),o=e(".give-license-notice-container",i),d=t.prev('.give-license__key input[type="text"]').val().trim();o.empty().removeClass("give-addon-notice-shown").show(),d?e.ajax({url:ajaxurl,method:"POST",data:{action:"give_get_license_info",license:d,single:1,addon:t.attr("data-addon"),_wpnonce:e("#give_license_activator_nonce").val().trim()},beforeSend:function(){Give.fn.loader(i)},success:function(e){!0!==e.success?o.addClass("give-addon-notice-shown").prepend(Give.notice.fn.getAdminNoticeHTML(e.data.errorMsg,"error")):e.data.hasOwnProperty("is_all_access_pass")&&e.data.is_all_access_pass?a.html(e.data.html):i.replaceWith(e.data.html)}}).done((function(){Give.fn.loader(i,{show:!1})})):o.addClass("give-addon-notice-shown").prepend(Give.notice.fn.getAdminNoticeHTML(give_addon_var.notices.invalid_license,"error")),a.on("click",".notice-dismiss",(function(){o.slideUp(150,(function(){o.removeClass("give-addon-notice-shown")}))}))})),a.on("click",".give-license__deactivate",(function(n){n.preventDefault();var t=e(this),i=t.parents(".give-addon-wrap"),o=e(".give-license-notice-container",i),d=1<t.parents(".give-addon-inner").find(".give-addon-info-wrap").length,r=e(".give-addon-wrap").index(i);o.empty().removeClass("give-addon-notice-shown").show(),e.ajax({url:ajaxurl,method:"POST",data:{action:"give_deactivate_license",license:t.attr("data-license-key"),item_name:t.attr("data-item-name"),plugin_dirname:t.attr("data-plugin-dirname"),_wpnonce:t.attr("data-nonce")},beforeSend:function(){d?Give.fn.loader(a):Give.fn.loader(i)},success:function(n){!0===n.success?(d?a.html(n.data.html):i.replaceWith(n.data.html),i=e(".give-addon-wrap").get(r),(o=e(".give-license-notice-container",i)).addClass("give-addon-notice-shown").prepend(Give.notice.fn.getAdminNoticeHTML(n.data.msg,"success")),a.html().trim().length||a.parent().parent().addClass("give-hidden")):o.addClass("give-addon-notice-shown").prepend(Give.notice.fn.getAdminNoticeHTML(n.data.errorMsg,"error"))}}).done((function(){d?Give.fn.loader(a,{show:!1}):Give.fn.loader(i,{show:!1})})),a.on("click",".notice-dismiss",(function(){o.slideUp(150,(function(){o.removeClass("give-addon-notice-shown")}))}))})),a.on("click",".give-button__license-reactivate",(function(n){n.preventDefault();var t=e(this),i=t.attr("data-license").trim(),o=e(".give-addon-wrap").index(d),d=t.parents(".give-addon-wrap"),r=e(".give-license-notice-container",d);r.empty().removeClass("give-addon-notice-shown").show(),i?e.ajax({url:ajaxurl,method:"POST",data:{action:"give_get_license_info",license:i,single:1,reactivate:1,addon:t.attr("data-addon"),_wpnonce:e("#give_license_activator_nonce").val().trim()},beforeSend:function(){Give.fn.loader(d)},success:function(n){!0!==n.success?(n.data.hasOwnProperty("html")&&n.data.html.length&&(n.data.hasOwnProperty("is_all_access_pass")&&n.data.is_all_access_pass?a.html(n.data.html):d.replaceWith(n.data.html)),d=e(".give-addon-wrap").get(o),(r=e(".give-license-notice-container",d)).addClass("give-addon-notice-shown").prepend(Give.notice.fn.getAdminNoticeHTML(n.data.errorMsg,"error"))):n.data.hasOwnProperty("is_all_access_pass")&&n.data.is_all_access_pass?a.html(n.data.html):d.replaceWith(n.data.html)}}).done((function(){Give.fn.loader(d,{show:!1})})):r.addClass("give-addon-notice-shown").prepend(Give.notice.fn.getAdminNoticeHTML(give_addon_var.notices.invalid_license,"error")),a.on("click",".notice-dismiss",(function(){r.slideUp(150,(function(){r.removeClass("give-addon-notice-shown")}))}))})),e("#give-button__refresh-licenses").on("click",(function(n){n.preventDefault();var t=e(this);e.ajax({url:ajaxurl,method:"POST",data:{action:"give_refresh_all_licenses",_wpnonce:t.attr("data-nonce")},beforeSend:function(){t.text(t.attr("data-activating")),Give.fn.loader(a)},success:function(n){!0===n.success&&(a.html(n.data.html),e("#give-last-refresh-notice").text(n.data.lastUpdateMsg)),n.success&&!n.data.refreshButton||t.prop("disabled",!0)}}).done((function(){Give.fn.loader(a,{show:!1}),t.text(t.attr("data-activate"))}))}))})),e(document).ready((function(){var a=e(".give-upload-addon-form-wrap"),n=e("form",a),t=e('input[type="file"]',n),i=e(".give-activate-addon-wrap",n),o=e("button",n),d=e(".give-addon-upload-notices",n),r=e("#give-licenses-container");function s(t){d.empty(),e.ajax({url:"".concat(ajaxurl,"?action=give_upload_addon&_wpnonce=").concat(e('input[name="_give_upload_addon"]',n).val().trim()),method:"POST",data:t,contentType:!1,processData:!1,dataType:"json",beforeSend:function(){d.show(),Give.fn.loader(a,{loadingText:Give.fn.getGlobalVar("loader_translation").uploading})},success:function(e){var a;if(!0===e.success)return d.hide(),i.show(),o.attr("data-pluginPath",e.data.pluginPath),o.attr("data-pluginName",e.data.pluginName),o.attr("data-nonce",e.data.nonce),void r.html(e.data.licenseSectionHtml);a=e.data.hasOwnProperty("errorMsg")&&e.data.errorMsg?e.data.errorMsg:e.data.error,d.html(Give.notice.fn.getAdminNoticeHTML(a,"error"))}}).always((function(){Give.fn.loader(a,{show:!1})}))}a.on("drop",(function(a){a.stopPropagation(),a.preventDefault(),e(this).removeClass("give-dropzone-active");var n=a.originalEvent.dataTransfer.files,t=new FormData;t.append("file",n[0]),s(t)})),n.on("dragover",(function(a){e(this).addClass("give-dropzone-active")})).on("dragleave",(function(a){e(this).removeClass("give-dropzone-active")})),d.on("click",e(".notice-dismiss",d),(function(e){d.empty().hide(),n.removeClass("give-dropzone-active")})),t.on("change",(function(e){e.stopPropagation(),e.preventDefault();var a=new FormData,n=t[0].files[0];if(!n)return!1;a.append("file",n),s(a)})),o.on("click",(function(a){a.preventDefault(),d.empty(),e.ajax({url:ajaxurl,method:"POST",data:{action:"give_activate_addon",plugin:o.attr("data-pluginPath"),_wpnonce:o.attr("data-nonce")},beforeSend:function(){d.show(),o.text(o.attr("data-activating"))},success:function(e){if(!0===e.success){var a=give_addon_var.notices.addon_activated.replace("{pluginName}",o.attr("data-pluginName"));return d.show(),d.html(Give.notice.fn.getAdminNoticeHTML(a,"success")),void r.html(e.data.licenseSectionHtml)}e.data.hasOwnProperty("errorMsg")&&e.data.errorMsg?d.html(Give.notice.fn.getAdminNoticeHTML(e.data.errorMsg,"error")):Give.notice.fn.getAdminNoticeHTML(give_addon_var.notices.addon_activation_error,"error")}}).always((function(){o.text(o.attr("data-activate")),i.hide()}))}))}))})();