PluginProbe
JetFormBuilder — Dynamic Blocks Form Builder / 3.6.5.2
JetFormBuilder — Dynamic Blocks Form Builder v3.6.5.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 All 130 releases
jetformbuilder / modules / onboarding / assets / build / block.builder.js
block.builder.js
1 lines 1.2 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.components,l=window.wp.primitives,n=(0,e.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(l.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.625 5.5h9.75c.069 0 .125.056.125.125v9.75a.125.125 0 0 1-.125.125h-9.75a.125.125 0 0 1-.125-.125v-9.75c0-.069.056-.125.125-.125ZM4 5.625C4 4.728 4.728 4 5.625 4h9.75C16.273 4 17 4.728 17 5.625v9.75c0 .898-.727 1.625-1.625 1.625h-9.75A1.625 1.625 0 0 1 4 15.375v-9.75Zm14.5 11.656v-9H20v9C20 18.8 18.77 20 17.251 20H6.25v-1.5h11.001c.69 0 1.249-.528 1.249-1.219Z"})),i=window.wp.i18n,o=window.jfb.useForm,r={name:"blocks",view:function({name:l}){const[r,c]=(0,o.usePluginUseSettings)(),d=l===r.builder;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(t.Button,{onClick:()=>c({builder:l}),icon:n,variant:d?"primary":"secondary"},(0,i.__)("Block for Block Editor","jet-form-builder")),d&&(0,e.createElement)(o.BuilderHelpSlotFill.Fill,null,(0,e.createElement)(o.Description,null,(0,i.__)("The form will be automatically added to the end of the selected page","jet-form-builder"))))}};(0,window.wp.data.dispatch)("jet-forms/use-form").registerBuilders([r])})();