PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/modules/edit-site-init/index.min.js +1 -1 23.4.0 → trunk View file →
@@ -1,2 +1,2 @@
1 -var U=Object.create;var j=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var I=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty;var h=(f,a)=>()=>(a||f((a={exports:{}}).exports,a),a.exports);var _=(f,a,r,z)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of F(a))!N.call(f,l)&&l!==r&&j(f,l,{get:()=>a[l],enumerable:!(z=A(a,l))||z.enumerable});return f};var t=(f,a,r)=>(r=f!=null?U(I(f)):{},_(a||!f||!f.__esModule?j(r,"default",{value:f,enumerable:!0}):r,f));var e=h((O,D)=>{D.exports=window.wp.primitives});var o=h((Z,P)=>{P.exports=window.ReactJSXRuntime});var H=h((sa,T)=>{T.exports=window.wp.data});var d=t(e(),1),g=t(o(),1),w=(0,g.jsx)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,g.jsx)(d.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})});var u=t(e(),1),v=t(o(),1),b=(0,v.jsx)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,v.jsx)(u.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var i=t(e(),1),y=t(o(),1),x=(0,y.jsx)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,y.jsx)(i.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"})});var s=t(e(),1),m=t(o(),1),L=(0,m.jsxs)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,m.jsx)(s.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,m.jsx)(s.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]});var p=t(e(),1),R=t(o(),1),V=(0,R.jsx)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,R.jsx)(p.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z"})});var n=t(e(),1),S=t(o(),1),k=(0,S.jsx)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,S.jsx)(n.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-17.6 1L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})});var c=t(e(),1),C=t(o(),1),B=(0,C.jsx)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,C.jsx)(c.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})});var M=t(H(),1);import{store as q}from"@wordpress/boot";async function ua(){Object.entries({home:{icon:w},styles:{icon:V},navigation:{icon:x},pages:{icon:L},templateParts:{icon:k},patterns:{icon:B},templates:{icon:b}}).forEach(([a,{icon:r}])=>{(0,M.dispatch)(q).updateMenuItem(a,{icon:r})})}export{ua as init};
1 +var G=Object.create;var D=Object.defineProperty;var N=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var q=Object.getPrototypeOf,z=Object.prototype.hasOwnProperty;var g=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var J=(e,t,f,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Z(t))!z.call(e,s)&&s!==f&&D(e,s,{get:()=>t[s],enumerable:!(l=N(t,s))||l.enumerable});return e};var a=(e,t,f)=>(f=e!=null?G(q(e)):{},J(t||!e||!e.__esModule?D(f,"default",{value:e,enumerable:!0}):f,e));var o=g((K,T)=>{T.exports=window.wp.primitives});var r=g((Q,_)=>{_.exports=window.ReactJSXRuntime});var U=g((ha,A)=>{A.exports=window.wp.data});var I=g((ga,F)=>{F.exports=window.wp.preferences});var w=a(o(),1),k=a(r(),1),b=(0,k.jsx)(w.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,k.jsx)(w.Path,{d:"M13.75 19.25H19.25V8.5L12 5L4.75 8.5V19.25H10.25M13.75 19.25V13.7H10.25V19.25M13.75 19.25H10.25",vectorEffect:"non-scaling-stroke"})});var v=a(o(),1),x=a(r(),1),R=(0,x.jsx)(v.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,x.jsx)(v.Path,{d:"M9.75 19.25H18C18.6904 19.25 19.25 18.6904 19.25 18V9.75M9.75 19.25H6C5.30964 19.25 4.75 18.6904 4.75 18V9.75M9.75 19.25V9.75M19.25 9.75V6C19.25 5.30964 18.6904 4.75 18 4.75H6C5.30964 4.75 4.75 5.30964 4.75 6V9.75M19.25 9.75H9.75M9.75 9.75H4.75",vectorEffect:"non-scaling-stroke"})});var d=a(o(),1),m=a(r(),1),S=(0,m.jsxs)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,m.jsx)(d.Path,{d:"M9 16L13.5 12.8421L15 8L10.5 11.1579L9 16Z",fill:"currentColor",stroke:"none"}),(0,m.jsx)(d.Path,{d:"M4.75 12C4.75 7.99593 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99594 19.25 4.75 16.0041 4.75 12Z",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})]});var C=a(o(),1),j=a(r(),1),B=(0,j.jsx)(C.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,j.jsx)(C.Path,{d:"M8.5 8.25H15.5M8.5 11.75H15.5M8.5 15.25H15.5M18.25 18V6C18.25 5.30964 17.6904 4.75 17 4.75H7C6.30964 4.75 5.75 5.30964 5.75 6L5.75 18C5.75 18.6904 6.30964 19.25 7 19.25H17C17.6904 19.25 18.25 18.6904 18.25 18Z",vectorEffect:"non-scaling-stroke"})});var y=a(o(),1),M=a(r(),1),V=(0,M.jsx)(y.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:(0,M.jsx)(y.Path,{d:"M5.07325 14.1472L8.71429 12L12.5 13.3333L15.75 11C15.75 11 17.934 11.9169 19.2032 12.8281M19.25 12C19.25 16.0041 16.0041 19.25 12 19.25C7.99594 19.25 4.75 16.0041 4.75 12C4.75 7.99594 7.99594 4.75 12 4.75C16.0041 4.75 19.25 7.99594 19.25 12Z",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})});var u=a(o(),1),i=a(r(),1),H=(0,i.jsxs)(u.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,i.jsx)(u.Path,{d:"M12 4.75C7.99594 4.75 4.75 7.99593 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25L12 4.75Z",fill:"currentColor",stroke:"none"}),(0,i.jsx)(u.Path,{d:"M12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})]});var p=a(o(),1),n=a(r(),1),E=(0,n.jsxs)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,n.jsx)(p.Path,{d:"M15.2071 6.20711L20.2929 11.2929C20.6834 11.6834 20.6834 12.3166 20.2929 12.7071L15.2071 17.7929C14.8166 18.1834 14.1834 18.1834 13.7929 17.7929L8.70711 12.7071C8.31658 12.3166 8.31658 11.6834 8.70711 11.2929L13.7929 6.20711C14.1834 5.81658 14.8166 5.81658 15.2071 6.20711Z",fill:"currentColor",vectorEffect:"non-scaling-stroke"}),(0,n.jsx)(p.Path,{d:"M9.5 5.5L3.70711 11.2929C3.31658 11.6834 3.31658 12.3166 3.70711 12.7071L9.5 18.5",vectorEffect:"non-scaling-stroke"})]});var c=a(o(),1),h=a(r(),1),P=(0,h.jsxs)(c.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",style:{fill:"none"},stroke:"currentColor",strokeWidth:"1.5",children:[(0,h.jsx)(c.Path,{d:"M15.2071 6.20711L20.2929 11.2929C20.6834 11.6834 20.6834 12.3166 20.2929 12.7071L15.2071 17.7929C14.8166 18.1834 14.1834 18.1834 13.7929 17.7929L8.70711 12.7071C8.31658 12.3166 8.31658 11.6834 8.70711 11.2929L13.7929 6.20711C14.1834 5.81658 14.8166 5.81658 15.2071 6.20711Z",vectorEffect:"non-scaling-stroke"}),(0,h.jsx)(c.Path,{d:"M9.5 5.5L3.70711 11.2929C3.31658 11.6834 3.31658 12.3166 3.70711 12.7071L9.5 18.5",vectorEffect:"non-scaling-stroke"})]});var L=a(U(),1),O=a(I(),1);import{store as W}from"@wordpress/boot";async function Ca(){Object.entries({home:{icon:b},identity:{icon:V},styles:{icon:H},navigation:{icon:S},pages:{icon:B},templateParts:{icon:E},patterns:{icon:P},templates:{icon:R}}).forEach(([f,{icon:l}])=>{(0,L.dispatch)(W).updateMenuItem(f,{icon:l})});let t={default:{list:"/types/{type}",edit:"/types/{type}/edit/{id}"},wp_template:{list:"/templates"},wp_template_part:{list:"/template-parts"},wp_block:{list:"/patterns"},wp_navigation:{list:"/navigation"}};Object.entries(t).forEach(([f,l])=>{(0,L.dispatch)(W).registerEntityLinks(f,{...t.default,...l})}),(0,L.dispatch)(O.store).setDefaults("core",{allowRightClickOverrides:!0,enableChoosePatternModal:!0,showBlockBreadcrumbs:!0})}export{Ca as init};
2 2 //# sourceMappingURL=index.min.js.map