PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / trunk
JetFormBuilder — Dynamic Blocks Form Builder vtrunk
3.6.5.1 3.6.5 3.6.4.2 3.6.4.1 3.6.4 3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.1.0 2.1.1 2.1.10 2.1.11 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 3.0.0 3.0.0.1 3.0.0.2 3.0.0.3 3.0.1 3.0.1.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.0.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.2 3.2.3 3.3.0 3.3.1 3.3.2 3.3.3 3.3.3.1 3.3.4 3.3.4.1 3.3.4.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.5.1 3.4.5.2 3.4.6 3.4.7 3.4.7.1 3.5.0 3.5.1 3.5.1.1 3.5.1.2 3.5.2 3.5.2.1 3.5.3 3.5.4 3.5.5 3.5.6 3.5.6.1 3.5.6.2 3.5.6.3 3.6.0
jetformbuilder / modules / captcha / assets / build / editor.package.js
jetformbuilder / modules / captcha / assets / build Last commit date
friendly.captcha 3 months ago hcaptcha 3 months ago re-captcha-v3 4 weeks ago turnstile 3 months ago editor.asset.php 3 months ago editor.js 3 months ago editor.package.asset.php 3 months ago editor.package.js 3 months ago
editor.package.js
1 lines
1 (()=>{"use strict";const t=window.React,{createSlotFill:e}=wp.components,{Slot:o,Fill:n}=e("JFBCaptchaOptions");function c({children:e,provider:o=!1}){return(0,t.createElement)(n,null,({args:t,setArgs:n})=>o&&o!==t.captcha?null:"function"!=typeof e?e:e({args:t,setArgs:n}))}c.Slot=o;const a=c,{createSlotFill:r}=wp.components,{Slot:i,Fill:l}=r("JFBCaptchaBlockEdit");function s({children:e,provider:o}){return(0,t.createElement)(l,null,({attributes:t,...n})=>o&&o!==t.provider?null:"function"!=typeof e?e:e({attributes:t,...n}))}s.Slot=i;const u=s,{useMetaState:p}=JetFBHooks,d=function(){var t;return null!==(t=window.JetFormEditorData["captcha-tab-config"])&&void 0!==t?t:[]},f=window.wp.i18n,{useMetaState:m}=JetFBHooks,{useMemo:w,useCallback:h}=wp.element,{useDispatch:B,useSelect:b}=wp.data,{createBlock:k}=wp.blocks,{Tip:v,Button:F}=wp.components,C="jet-forms/captcha-container";window.JetFBComponents={...window.JetFBComponents,CaptchaOptions:a,CaptchaBlockEdit:u,CaptchaBlockTip:function(){const[e]=m("_jf_recaptcha"),o=w(()=>(t=>{var e;const o=d().find(({value:e})=>e===t);return null!==(e=o?.label)&&void 0!==e?e:(0,f.__)("captcha","jet-form-builder")})(e.captcha),[e.captcha]),{insertBlock:n}=B("core/block-editor"),c=b(t=>!t("jet-forms/fields").getBlock(C)),a=h(()=>{if(!c)return;const t=k(C,{provider:e.captcha});n(t)},[c]);return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{style:{marginBottom:"1.5em"}},(0,t.createElement)(v,null,(0,f.__)("By default, the captcha is added before the submit button of the form. However, you can determine its location yourself using the block.","jet-form-builder"))),(0,t.createElement)(F,{variant:"secondary",disabled:!c,onClick:a},(0,f.sprintf)((0,f.__)("Add %s block","jet-form-builder"),o)))}},window.JetFBActions={...window.JetFBActions,getCaptchaProviders:d},window.JetFBHooks={...window.JetFBHooks,useCaptchaProvider:function(){var t;const[e,o]=p("_jf_recaptcha"),{captcha:n}=e;if(!n)return[{},()=>{}];const c=null!==(t=e?.[n])&&void 0!==t?t:{};return[c,(t={})=>{n&&o(e=>({...e,[n]:{...c,...t}}))}]}}})();