PluginProbe ʕ •ᴥ•ʔ
JetFormBuilder — Dynamic Blocks Form Builder / 3.4.5.2
JetFormBuilder — Dynamic Blocks Form Builder v3.4.5.2
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 / data / assets / build / index.js
jetformbuilder / modules / data / assets / build Last commit date
index.asset.php 1 year ago index.js 1 year ago
index.js
1 lines
1 (()=>{"use strict";var e={d:(t,o)=>{for(var i in o)e.o(o,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:o[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{useMetaState:()=>d,useSiteOption:()=>i,useSiteOptionJSON:()=>n});const o=window.wp.data,i=function(e){const{editEntityRecord:t}=(0,o.useDispatch)("core"),{setting:i,isResolving:n}=(0,o.useSelect)((t=>({setting:t("core").getEditedEntityRecord("root","site")[e],isResolving:t("core").isResolving("getEditedEntityRecord",["root","site"])})),[e]);return{value:i,onChange:o=>{n||t("root","site",void 0,{[e]:o})},isResolving:n}},n=function(e){const{value:t,onChange:o,...n}=i(e);return{value:n.isResolving?{}:JSON.parse(t),onChange:e=>o(JSON.stringify({...e})),...n}};var r;function s(e,t="{}",i=[]){const n=(0,o.useSelect)((o=>{const i=o("core/editor").getEditedPostAttribute("meta")||{};return JSON.parse(i[e]||t)}),i),{editPost:r}=(0,o.useDispatch)("core/editor");return[n,o=>{let i="function"==typeof o?o(n):o;"object"==typeof i&&null!==i||(i=JSON.parse(t)),r({meta:{[e]:JSON.stringify(i)}})}]}window.JetFBHooks=null!==(r=window.JetFBHooks)&&void 0!==r?r:{},window.JetFBHooks.useMetaState=s;const d=s;(window.jfb=window.jfb||{}).data=t})();