| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 /******/ (() => { // webpackBootstrap 2 /******/ "use strict"; 3 /******/ // The require scope 4 /******/ var __webpack_require__ = {}; 5 /******/ 6 /************************************************************************/ 7 /******/ /* webpack/runtime/compat get default export */ 8 /******/ (() => { 9 /******/ // getDefaultExport function for compatibility with non-harmony modules 10 /******/ __webpack_require__.n = (module) => { 11 /******/ var getter = module && module.__esModule ? 12 /******/ () => (module['default']) : 13 /******/ () => (module); 14 /******/ __webpack_require__.d(getter, { a: getter }); 15 /******/ return getter; 16 /******/ }; 17 /******/ })(); 18 /******/ 19 /******/ /* webpack/runtime/define property getters */ 20 /******/ (() => { 21 /******/ // define getter functions for harmony exports 22 /******/ __webpack_require__.d = (exports, definition) => { 23 /******/ for(var key in definition) { 24 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 25 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 26 /******/ } 27 /******/ } 28 /******/ }; 29 /******/ })(); 30 /******/ 31 /******/ /* webpack/runtime/hasOwnProperty shorthand */ 32 /******/ (() => { 33 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 34 /******/ })(); 35 /******/ 36 /******/ /* webpack/runtime/make namespace object */ 37 /******/ (() => { 38 /******/ // define __esModule on exports 39 /******/ __webpack_require__.r = (exports) => { 40 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 41 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 42 /******/ } 43 /******/ Object.defineProperty(exports, '__esModule', { value: true }); 44 /******/ }; 45 /******/ })(); 46 /******/ 47 /************************************************************************/ 48 var __webpack_exports__ = {}; 49 // ESM COMPAT FLAG 50 __webpack_require__.r(__webpack_exports__); 51 52 // EXPORTS 53 __webpack_require__.d(__webpack_exports__, { 54 __unstableAwaitPromise: () => (/* binding */ __unstableAwaitPromise), 55 apiFetch: () => (/* binding */ apiFetch), 56 controls: () => (/* binding */ controls), 57 dispatch: () => (/* binding */ dispatch), 58 select: () => (/* binding */ build_module_select), 59 syncSelect: () => (/* binding */ syncSelect) 60 }); 61 62 ;// external ["wp","apiFetch"] 63 const external_wp_apiFetch_namespaceObject = window["wp"]["apiFetch"]; 64 var external_wp_apiFetch_default = /*#__PURE__*/__webpack_require__.n(external_wp_apiFetch_namespaceObject); 65 ;// external ["wp","data"] 66 const external_wp_data_namespaceObject = window["wp"]["data"]; 67 ;// external ["wp","deprecated"] 68 const external_wp_deprecated_namespaceObject = window["wp"]["deprecated"]; 69 var external_wp_deprecated_default = /*#__PURE__*/__webpack_require__.n(external_wp_deprecated_namespaceObject); 70 ;// ./node_modules/@wordpress/data-controls/build-module/index.js 71 72 73 74 function apiFetch(request) { 75 return { 76 type: "API_FETCH", 77 request 78 }; 79 } 80 function build_module_select(storeNameOrDescriptor, selectorName, ...args) { 81 external_wp_deprecated_default()("`select` control in `@wordpress/data-controls`", { 82 since: "5.7", 83 alternative: "built-in `resolveSelect` control in `@wordpress/data`" 84 }); 85 return external_wp_data_namespaceObject.controls.resolveSelect( 86 storeNameOrDescriptor, 87 selectorName, 88 ...args 89 ); 90 } 91 function syncSelect(storeNameOrDescriptor, selectorName, ...args) { 92 external_wp_deprecated_default()("`syncSelect` control in `@wordpress/data-controls`", { 93 since: "5.7", 94 alternative: "built-in `select` control in `@wordpress/data`" 95 }); 96 return external_wp_data_namespaceObject.controls.select(storeNameOrDescriptor, selectorName, ...args); 97 } 98 function dispatch(storeNameOrDescriptor, actionName, ...args) { 99 external_wp_deprecated_default()("`dispatch` control in `@wordpress/data-controls`", { 100 since: "5.7", 101 alternative: "built-in `dispatch` control in `@wordpress/data`" 102 }); 103 return external_wp_data_namespaceObject.controls.dispatch(storeNameOrDescriptor, actionName, ...args); 104 } 105 const __unstableAwaitPromise = function(promise) { 106 return { 107 type: "AWAIT_PROMISE", 108 promise 109 }; 110 }; 111 const controls = { 112 AWAIT_PROMISE({ promise }) { 113 return promise; 114 }, 115 API_FETCH({ request }) { 116 return external_wp_apiFetch_default()(request); 117 } 118 }; 119 120 121 (window.wp = window.wp || {}).dataControls = __webpack_exports__; 122 /******/ })() 123 ;
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Thu Oct 30 08:20:06 2025 | Cross-referenced by PHPXref |