PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 2.7.3
GiveWP – Donation Plugin and Fundraising Platform v2.7.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-add-ons.js
give / assets / dist / js Last commit date
admin-add-ons.js 6 years ago admin-global.js 6 years ago admin-reports-widget.js 6 years ago admin-reports.js 6 years ago admin-shortcode-button.js 6 years ago admin-shortcodes.js 6 years ago admin-widgets.js 6 years ago admin.js 5 years ago babel-polyfill.js 6 years ago give-sequoia-template.js 5 years ago give-stripe-becs.js 6 years ago give-stripe-checkout.js 6 years ago give-stripe-sepa.js 6 years ago give-stripe.js 6 years ago give.js 6 years ago gutenberg.js 5 years ago plugin-deactivation-survey.js 6 years ago
admin-add-ons.js
1 lines
1 !function(e){var n={};function t(a){if(n[a])return n[a].exports;var i=n[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(a,i,function(n){return e[n]}.bind(null,i));return a},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=708)}({708:function(e,n,t){e.exports=t(709)},709:function(e,n){var t;(t=jQuery)(document).ready((function(){var e=t("#give-licenses-container"),n=t("#give-license-activator-wrap"),a=t("form",n),i=t('input[name="give_license_key"]',n),o=t('input[type="submit"]',a),r=t(".give-license-notices",n);r.on("click",t(".notice-dismiss",r),(function(e){r.empty().hide()})),a.on("submit",(function(){var n=i.val().trim(),a=t('input[name="give_license_activator_nonce"]',t(this)).val().trim();return r.empty(),n?(t.ajax({url:ajaxurl,method:"POST",data:{action:"give_get_license_info",license:n,_wpnonce:a},beforeSend:function(){o.val(o.attr("data-activating")),o.prop("disabled",!0),Give.fn.loader(e)},success:function(n){if(r.show(),i.val(""),!0!==n.success)n.data.hasOwnProperty("errorMsg")&&n.data.errorMsg?r.html(Give.notice.fn.getAdminNoticeHTML(n.data.errorMsg,"error")):r.html(Give.notice.fn.getAdminNoticeHTML(give_addon_var.notices.invalid_license,"error"));else if(n.data.hasOwnProperty("download")&&n.data.download){var t="string"==typeof n.data.download?give_addon_var.notices.download_file.replace("{link}",n.data.download):give_addon_var.notices.download_file.substring(0,give_addon_var.notices.download_file.indexOf(".")+1);r.html(Give.notice.fn.getAdminNoticeHTML(t,"success")),e.parent().parent().removeClass("give-hidden"),e.html(n.data.html)}else r.html(Give.notice.fn.getAdminNoticeHTML(give_addon_var.notices.invalid_license,"error"))}}).always((function(){Give.fn.loader(e,{show:!1}),o.val(o.attr("data-activate")),o.prop("disabled",!1)})),!1):(r.show(),r.html(Give.notice.fn.getAdminNoticeHTML(give_addon_var.notices.invalid_license,"error")),!1)})),e.on("click",".give-button__license-activate",(function(n){n.preventDefault();var a=t(this),i=a.parents(".give-addon-wrap"),o=t(".give-license-notice-container",i),r=a.prev('.give-license__key input[type="text"]').val().trim();o.empty().removeClass("give-addon-notice-shown").show(),r?t.ajax({url:ajaxurl,method:"POST",data:{action:"give_get_license_info",license:r,single:1,addon:a.attr("data-addon"),_wpnonce:t("#give_license_activator_nonce").val().trim()},beforeSend:function(){Give.fn.loader(i)},success:function(n){!0!==n.success?o.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?e.html(n.data.html):i.replaceWith(n.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")),e.on("click",".notice-dismiss",(function(){o.slideUp(150,(function(){o.removeClass("give-addon-notice-shown")}))}))})),e.on("click",".give-license__deactivate",(function(n){n.preventDefault();var a=t(this),i=a.parents(".give-addon-wrap"),o=t(".give-license-notice-container",i),r=1<a.parents(".give-addon-inner").find(".give-addon-info-wrap").length,d=t(".give-addon-wrap").index(i);o.empty().removeClass("give-addon-notice-shown").show(),t.ajax({url:ajaxurl,method:"POST",data:{action:"give_deactivate_license",license:a.attr("data-license-key"),item_name:a.attr("data-item-name"),plugin_dirname:a.attr("data-plugin-dirname"),_wpnonce:a.attr("data-nonce")},beforeSend:function(){r?Give.fn.loader(e):Give.fn.loader(i)},success:function(n){!0===n.success?(r?e.html(n.data.html):i.replaceWith(n.data.html),i=t(".give-addon-wrap").get(d),(o=t(".give-license-notice-container",i)).addClass("give-addon-notice-shown").prepend(Give.notice.fn.getAdminNoticeHTML(n.data.msg,"success")),e.html().trim().length||e.parent().parent().addClass("give-hidden")):o.addClass("give-addon-notice-shown").prepend(Give.notice.fn.getAdminNoticeHTML(n.data.errorMsg,"error"))}}).done((function(){r?Give.fn.loader(e,{show:!1}):Give.fn.loader(i,{show:!1})})),e.on("click",".notice-dismiss",(function(){o.slideUp(150,(function(){o.removeClass("give-addon-notice-shown")}))}))})),e.on("click",".give-button__license-reactivate",(function(n){n.preventDefault();var a=t(this),i=a.attr("data-license").trim(),o=t(".give-addon-wrap").index(r),r=a.parents(".give-addon-wrap"),d=t(".give-license-notice-container",r);d.empty().removeClass("give-addon-notice-shown").show(),i?t.ajax({url:ajaxurl,method:"POST",data:{action:"give_get_license_info",license:i,single:1,reactivate:1,addon:a.attr("data-addon"),_wpnonce:t("#give_license_activator_nonce").val().trim()},beforeSend:function(){Give.fn.loader(r)},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?e.html(n.data.html):r.replaceWith(n.data.html)),r=t(".give-addon-wrap").get(o),(d=t(".give-license-notice-container",r)).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?e.html(n.data.html):r.replaceWith(n.data.html)}}).done((function(){Give.fn.loader(r,{show:!1})})):d.addClass("give-addon-notice-shown").prepend(Give.notice.fn.getAdminNoticeHTML(give_addon_var.notices.invalid_license,"error")),e.on("click",".notice-dismiss",(function(){d.slideUp(150,(function(){d.removeClass("give-addon-notice-shown")}))}))})),t("#give-button__refresh-licenses").on("click",(function(n){n.preventDefault();var a=t(this);t.ajax({url:ajaxurl,method:"POST",data:{action:"give_refresh_all_licenses",_wpnonce:a.attr("data-nonce")},beforeSend:function(){a.text(a.attr("data-activating")),Give.fn.loader(e)},success:function(n){!0===n.success&&(e.html(n.data.html),t("#give-last-refresh-notice").text(n.data.lastUpdateMsg)),n.success&&!n.data.refreshButton||a.prop("disabled",!0)}}).done((function(){Give.fn.loader(e,{show:!1}),a.text(a.attr("data-activate"))}))}))})),t(document).ready((function(){var e=t(".give-upload-addon-form-wrap"),n=t("form",e),a=t('input[type="file"]',n),i=t(".give-activate-addon-wrap",n),o=t("button",n),r=t(".give-addon-upload-notices",n),d=t("#give-licenses-container");function c(a){r.empty(),t.ajax({url:"".concat(ajaxurl,"?action=give_upload_addon&_wpnonce=").concat(t('input[name="_give_upload_addon"]',n).val().trim()),method:"POST",data:a,contentType:!1,processData:!1,dataType:"json",beforeSend:function(){r.show(),Give.fn.loader(e,{loadingText:Give.fn.getGlobalVar("loader_translation").uploading})},success:function(e){var n;if(!0===e.success)return r.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 d.html(e.data.licenseSectionHtml);n=e.data.hasOwnProperty("errorMsg")&&e.data.errorMsg?e.data.errorMsg:e.data.error,r.html(Give.notice.fn.getAdminNoticeHTML(n,"error"))}}).always((function(){Give.fn.loader(e,{show:!1})}))}e.on("drop",(function(e){e.stopPropagation(),e.preventDefault(),t(this).removeClass("give-dropzone-active");var n=e.originalEvent.dataTransfer.files,a=new FormData;a.append("file",n[0]),c(a)})),n.on("dragover",(function(e){t(this).addClass("give-dropzone-active")})).on("dragleave",(function(e){t(this).removeClass("give-dropzone-active")})),r.on("click",t(".notice-dismiss",r),(function(e){r.empty().hide(),n.removeClass("give-dropzone-active")})),a.on("change",(function(e){e.stopPropagation(),e.preventDefault();var n=new FormData,t=a[0].files[0];if(!t)return!1;n.append("file",t),c(n)})),o.on("click",(function(e){e.preventDefault(),r.empty(),t.ajax({url:ajaxurl,method:"POST",data:{action:"give_activate_addon",plugin:o.attr("data-pluginPath"),_wpnonce:o.attr("data-nonce")},beforeSend:function(){r.show(),o.text(o.attr("data-activating"))},success:function(e){if(!0===e.success){var n=give_addon_var.notices.addon_activated.replace("{pluginName}",o.attr("data-pluginName"));return r.show(),r.html(Give.notice.fn.getAdminNoticeHTML(n,"success")),void d.html(e.data.licenseSectionHtml)}e.data.hasOwnProperty("errorMsg")&&e.data.errorMsg?r.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()}))}))}))}});