PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.1.0
GiveWP – Donation Plugin and Fundraising Platform v4.1.0
4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 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 All 253 releases
give / build / classicFormDesignJs.js

classicFormDesignJs.js in GiveWP – Donation Plugin and Fundraising Platform 4.1.0, at build/classicFormDesignJs.js

1 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 (()=>{"use strict";const e=window.React,t=window.wp.i18n,l=()=>(0,e.createElement)("aside",{className:"givewp-form-secure-badge"},(0,e.createElement)("i",{className:"fa-solid fa-lock givewp-secondary-color"}),(0,e.createElement)("span",null,(0,t.__)("100% Secure Donation","give")));function n({imagePosition:t,HeaderImage:n,Title:a,Description:r,Goal:c}){switch(t){case"background":return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n,null),(0,e.createElement)(a,null),(0,e.createElement)(r,null),(0,e.createElement)(l,null),(0,e.createElement)(c,null));case"above":return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(n,null),(0,e.createElement)("div",{className:"givewp-layouts-header__content"},(0,e.createElement)(a,null),(0,e.createElement)(r,null),(0,e.createElement)(l,null),(0,e.createElement)(c,null)));case"center":return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(a,null),(0,e.createElement)(r,null),(0,e.createElement)(l,null),(0,e.createElement)(n,null),(0,e.createElement)(c,null));default:return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(a,null),(0,e.createElement)(r,null),(0,e.createElement)(l,null),(0,e.createElement)(c,null))}}window.givewp.form.templates.layouts.header=function({HeaderImage:t,Title:a,Description:r,Goal:c}){const{designSettingsImageStyle:m,designSettingsImageUrl:i}=window.givewp.form.hooks.useDonationFormSettings();return i?(0,e.createElement)("div",{className:`givewp-layouts-header__templates givewp-layouts-header__templates--${m}`},(0,e.createElement)(n,{imagePosition:m,HeaderImage:t,Title:a,Description:r,Goal:c})):(0,e.createElement)("div",{className:"givewp-layouts-header__templates"},(0,e.createElement)(a,null),(0,e.createElement)(r,null),(0,e.createElement)(l,null),(0,e.createElement)(c,null))}})();