PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 3.3.4.2
JetFormBuilder — Dynamic Blocks Form Builder v3.3.4.2
3.6.5.2 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 2 years ago hcaptcha 2 years ago re-captcha-v3 2 years ago turnstile 2 years ago editor.asset.php 2 years ago editor.js 2 years ago editor.package.asset.php 2 years ago editor.package.js 2 years 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:l,Fill:i}=r("JFBCaptchaBlockEdit");function s({children:e,provider:o}){return(0,t.createElement)(i,null,(({attributes:t,...n})=>o&&o!==t.provider?null:"function"!=typeof e?e:e({attributes:t,...n})))}s.Slot=l;const u=s,{useMetaState:d}=JetFBHooks,p=function(){var t;return null!==(t=window.JetFormEditorData["captcha-tab-config"])&&void 0!==t?t:[]},{useMetaState:f}=JetFBHooks,{__:m}=wp.i18n,{useMemo:h,useCallback:w}=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]=f("_jf_recaptcha"),o=h((()=>(t=>{var e;const o=p().find((({value:e})=>e===t));return null!==(e=o?.label)&&void 0!==e?e:m("captcha","jet-form-builder")})(e.captcha)),[e.captcha]),{insertBlock:n}=B("core/block-editor"),c=b((t=>!t("jet-forms/fields").getBlock(C))),a=w((()=>{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,m("By default, the captcha is added before the submit \nbutton of the form. However, you can determine its location \nyourself using the block.","jet-form-builder"))),(0,t.createElement)(F,{variant:"secondary",disabled:!c,onClick:a},m("Add","jet-form-builder")+" ",`${o} `+m("block","jet-form-builder")))}},window.JetFBActions={...window.JetFBActions,getCaptchaProviders:p},window.JetFBHooks={...window.JetFBHooks,useCaptchaProvider:function(){var t;const[e,o]=d("_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}})))}]}}})();