WordPress/wp-includes/js/dist/data-controls.min.js
gziolo ad48a15387 Editor: Update WordPress packages to use with WordPress 5.8
In the response to the discussion during the Dev Chat, I'm doing a first pass to keep WordPress packages up to date in the WordPress 5.8 release cycle.

See https://github.com/WordPress/wordpress-develop/pull/1176 for more details.

Props youknowriad, aristath, andraganescu.
See #52991.


Built from https://develop.svn.wordpress.org/trunk@50761


git-svn-id: http://core.svn.wordpress.org/trunk@50370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-04-15 15:19:43 +00:00

2 lines
2.2 KiB
JavaScript

/*! This file is auto-generated */
this.wp=this.wp||{},this.wp.dataControls=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=430)}({35:function(t,n){t.exports=window.wp.deprecated},4:function(t,n){t.exports=window.wp.data},430:function(t,n,e){"use strict";e.r(n),e.d(n,"apiFetch",(function(){return s})),e.d(n,"select",(function(){return l})),e.d(n,"syncSelect",(function(){return a})),e.d(n,"dispatch",(function(){return p})),e.d(n,"__unstableAwaitPromise",(function(){return d})),e.d(n,"controls",(function(){return f}));var r=e(50),o=e.n(r),i=e(4),c=e(35),u=e.n(c);function s(t){return{type:"API_FETCH",request:t}}function l(){return u()("`select` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `resolveSelect` control in `@wordpress/data`"}),i.controls.resolveSelect.apply(i.controls,arguments)}function a(){return u()("`syncSelect` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `select` control in `@wordpress/data`"}),i.controls.select.apply(i.controls,arguments)}function p(){return u()("`dispatch` control in `@wordpress/data-controls`",{since:"5.7",alternative:"built-in `dispatch` control in `@wordpress/data`"}),i.controls.dispatch.apply(i.controls,arguments)}var d=function(t){return{type:"AWAIT_PROMISE",promise:t}},f={AWAIT_PROMISE:function(t){return t.promise},API_FETCH:function(t){var n=t.request;return o()(n)}}},50:function(t,n){t.exports=window.wp.apiFetch}});