Editor: Update the WordPress packages to the Gutenberg 16.7 RC2 version.
This patch, somewhat small brings a lot to WordPress.
This includes features like:
- DataViews.
- Customization tools like box shadow, background size and repeat.
- UI improvements in the site editor.
- Preferences sharing between the post and site editors.
- Unified panels and editors between post and site editors.
- Improved template mode in the post editor.
- Iterations to multiple interactive blocks.
- Preparing the blocks and UI for pattern overrides.
- and a lot more.
Props luisherranz, gziolo, isabel_brison, costdev, jonsurrell, peterwilsoncc, get_dave, antonvlasenko, desrosj.
See #60315.
Built from https://develop.svn.wordpress.org/trunk@57377
git-svn-id: http://core.svn.wordpress.org/trunk@56883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-01-29 21:07:12 +00:00
|
|
|
*/!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var o=a.apply(null,r);o&&e.push(o)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){"use strict";r.r(n),r.d(n,{initialize:function(){return yr},initializeEditor:function(){return vr},reinitializeEditor:function(){return kr},store:function(){return at}});var e={};r.r(e),r.d(e,{closeModal:function(){return H},disableComplementaryArea:function(){return P},enableComplementaryArea:function(){return R},openModal:function(){return G},pinItem:function(){return O},setDefaultComplementaryArea:function(){return W},setFeatureDefaults:function(){return F},setFeatureValue:function(){return D},toggleFeature:function(){return V},unpinItem:function(){return M}});var t={};r.r(t),r.d(t,{getActiveComplementaryArea:function(){return z},isComplementaryAreaLoading:function(){return U},isFeatureActive:function(){return j},isItemPinned:function(){return $},isModalActive:function(){return Y}});var a={};r.r(a),r.d(a,{closeGeneralSidebar:function(){return Pe},moveBlockToWidgetArea:function(){return Oe},persistStubPost:function(){return Ae},saveEditedWidgetAreas:function(){return Ie},saveWidgetArea:function(){return Be},saveWidgetAreas:function(){return Ce},setIsInserterOpened:function(){return We},setIsListViewOpened:function(){return Re},setIsWidgetAreaOpen:function(){return Le},setWidgetAreasOpenState:function(){return Te},setWidgetIdForClientId:function(){return xe}});var i={};r.r(i),r.d(i,{getWidgetAreas:function(){return Me},getWidgets:function(){return Ve}});var o={};r.r(o),r.d(o,{__experimentalGetInsertionPoint:function(){return qe},canInsertBlockInWidgetArea:function(){return Qe},getEditedWidgetAreas:function(){return $e},getIsWidgetAreaOpen:function(){return Ke},getParentWidgetAreaBlock:function(){return Ue},getReferenceWidgetBlocks:function(){return je},getWidget:function(){return Ge},getWidgetAreaForWidgetId:function(){return ze},getWidgetAreas:function(){return He},getWidgets:function(){return Fe},isInserterOpened:function(){return Ze},isListViewOpened:function(){return Je},isSavingWidgetAreas:function(){return Ye}});var s={};r.r(s),r.d(s,{getListViewToggleRef:function(){return Xe}});var c={};r.r(c),r.d(c,{metadata:function(){return ut},name:function(){return mt},settings:function(){return gt}});var l=window.React,d=window.wp.blocks,u=window.wp.data,m=window.wp.deprecated,g=r.n(m),p=window.wp.element,h=window.wp.blockLibrary,w=window.wp.coreData,_=window.wp.widgets,f=window.wp.preferences,b=window.wp.apiFetch,E=r.n(b);var v=(0,u.combineReducers)({blockInserterPanel:function(e=!1,t){switch(t.type){case"SET_IS_LIST_VIEW_OPENED":return!t.isOpen&&e;case"SET_IS_INSERTER_OPENED":return t.value}return e},listViewPanel:function(e=!1,t){switch(t.type){case"SET_IS_INSERTER_OPENED":return!t.value&&e;case"SET_IS_LIST_VIEW_OPENED":return t.isOpen}return e},widgetAreasOpenState:function(e={},t){const{type:r}=t;switch(r){case"SET_WIDGET_AREAS_OPEN_STATE":return t.widgetAreasOpenState;case"SET_IS_WIDGET_AREA_OPEN":{const{clientId:r,isOpen:n}=t;return{...e,[r]:n}}default:return e}}
|