| 1 |
/******/ (() => { // webpackBootstrap |
| 2 |
/******/ "use strict"; |
| 3 |
/******/ var __webpack_modules__ = ({ |
| 4 |
|
| 5 |
/***/ "./assets/src/apps/js/blocks/archive-course/edit.js": |
| 6 |
/*!**********************************************************!*\ |
| 7 |
!*** ./assets/src/apps/js/blocks/archive-course/edit.js ***! |
| 8 |
\**********************************************************/ |
| 9 |
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { |
| 10 |
|
| 11 |
__webpack_require__.r(__webpack_exports__); |
| 12 |
/* harmony export */ __webpack_require__.d(__webpack_exports__, { |
| 13 |
/* harmony export */ edit: () => (/* binding */ edit) |
| 14 |
/* harmony export */ }); |
| 15 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); |
| 16 |
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); |
| 17 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n"); |
| 18 |
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__); |
| 19 |
/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor"); |
| 20 |
/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__); |
| 21 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); |
| 22 |
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__); |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
const edit = props => { |
| 28 |
const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.useBlockProps)(); |
| 29 |
return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", { |
| 30 |
...blockProps |
| 31 |
}, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.Placeholder, { |
| 32 |
label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Archive Course', 'learnpress') |
| 33 |
}, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", null, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('This is an editor placeholder for the Archive Course page. Content will render content of list courses. Should be not remove it', 'realpress')))); |
| 34 |
}; |
| 35 |
|
| 36 |
/***/ }), |
| 37 |
|
| 38 |
/***/ "./assets/src/apps/js/blocks/archive-course/save.js": |
| 39 |
/*!**********************************************************!*\ |
| 40 |
!*** ./assets/src/apps/js/blocks/archive-course/save.js ***! |
| 41 |
\**********************************************************/ |
| 42 |
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { |
| 43 |
|
| 44 |
__webpack_require__.r(__webpack_exports__); |
| 45 |
/* harmony export */ __webpack_require__.d(__webpack_exports__, { |
| 46 |
/* harmony export */ save: () => (/* binding */ save) |
| 47 |
/* harmony export */ }); |
| 48 |
const save = props => null; |
| 49 |
|
| 50 |
/***/ }), |
| 51 |
|
| 52 |
/***/ "react": |
| 53 |
/*!************************!*\ |
| 54 |
!*** external "React" ***! |
| 55 |
\************************/ |
| 56 |
/***/ ((module) => { |
| 57 |
|
| 58 |
module.exports = window["React"]; |
| 59 |
|
| 60 |
/***/ }), |
| 61 |
|
| 62 |
/***/ "@wordpress/block-editor": |
| 63 |
/*!*************************************!*\ |
| 64 |
!*** external ["wp","blockEditor"] ***! |
| 65 |
\*************************************/ |
| 66 |
/***/ ((module) => { |
| 67 |
|
| 68 |
module.exports = window["wp"]["blockEditor"]; |
| 69 |
|
| 70 |
/***/ }), |
| 71 |
|
| 72 |
/***/ "@wordpress/blocks": |
| 73 |
/*!********************************!*\ |
| 74 |
!*** external ["wp","blocks"] ***! |
| 75 |
\********************************/ |
| 76 |
/***/ ((module) => { |
| 77 |
|
| 78 |
module.exports = window["wp"]["blocks"]; |
| 79 |
|
| 80 |
/***/ }), |
| 81 |
|
| 82 |
/***/ "@wordpress/components": |
| 83 |
/*!************************************!*\ |
| 84 |
!*** external ["wp","components"] ***! |
| 85 |
\************************************/ |
| 86 |
/***/ ((module) => { |
| 87 |
|
| 88 |
module.exports = window["wp"]["components"]; |
| 89 |
|
| 90 |
/***/ }), |
| 91 |
|
| 92 |
/***/ "@wordpress/i18n": |
| 93 |
/*!******************************!*\ |
| 94 |
!*** external ["wp","i18n"] ***! |
| 95 |
\******************************/ |
| 96 |
/***/ ((module) => { |
| 97 |
|
| 98 |
module.exports = window["wp"]["i18n"]; |
| 99 |
|
| 100 |
/***/ }), |
| 101 |
|
| 102 |
/***/ "./assets/src/apps/js/blocks/archive-course/block.json": |
| 103 |
/*!*************************************************************!*\ |
| 104 |
!*** ./assets/src/apps/js/blocks/archive-course/block.json ***! |
| 105 |
\*************************************************************/ |
| 106 |
/***/ ((module) => { |
| 107 |
|
| 108 |
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"learnpress/archive-course","title":"Archive Course","category":"learnpress-category","description":"Renders template Archive Course PHP templates.","textdomain":"learnpress","keywords":["archive course","learnpress"],"usesContext":[],"supports":{}}'); |
| 109 |
|
| 110 |
/***/ }) |
| 111 |
|
| 112 |
/******/ }); |
| 113 |
/************************************************************************/ |
| 114 |
/******/ // The module cache |
| 115 |
/******/ var __webpack_module_cache__ = {}; |
| 116 |
/******/ |
| 117 |
/******/ // The require function |
| 118 |
/******/ function __webpack_require__(moduleId) { |
| 119 |
/******/ // Check if module is in cache |
| 120 |
/******/ var cachedModule = __webpack_module_cache__[moduleId]; |
| 121 |
/******/ if (cachedModule !== undefined) { |
| 122 |
/******/ return cachedModule.exports; |
| 123 |
/******/ } |
| 124 |
/******/ // Create a new module (and put it into the cache) |
| 125 |
/******/ var module = __webpack_module_cache__[moduleId] = { |
| 126 |
/******/ // no module.id needed |
| 127 |
/******/ // no module.loaded needed |
| 128 |
/******/ exports: {} |
| 129 |
/******/ }; |
| 130 |
/******/ |
| 131 |
/******/ // Execute the module function |
| 132 |
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); |
| 133 |
/******/ |
| 134 |
/******/ // Return the exports of the module |
| 135 |
/******/ return module.exports; |
| 136 |
/******/ } |
| 137 |
/******/ |
| 138 |
/************************************************************************/ |
| 139 |
/******/ /* webpack/runtime/compat get default export */ |
| 140 |
/******/ (() => { |
| 141 |
/******/ // getDefaultExport function for compatibility with non-harmony modules |
| 142 |
/******/ __webpack_require__.n = (module) => { |
| 143 |
/******/ var getter = module && module.__esModule ? |
| 144 |
/******/ () => (module['default']) : |
| 145 |
/******/ () => (module); |
| 146 |
/******/ __webpack_require__.d(getter, { a: getter }); |
| 147 |
/******/ return getter; |
| 148 |
/******/ }; |
| 149 |
/******/ })(); |
| 150 |
/******/ |
| 151 |
/******/ /* webpack/runtime/define property getters */ |
| 152 |
/******/ (() => { |
| 153 |
/******/ // define getter functions for harmony exports |
| 154 |
/******/ __webpack_require__.d = (exports, definition) => { |
| 155 |
/******/ for(var key in definition) { |
| 156 |
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { |
| 157 |
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); |
| 158 |
/******/ } |
| 159 |
/******/ } |
| 160 |
/******/ }; |
| 161 |
/******/ })(); |
| 162 |
/******/ |
| 163 |
/******/ /* webpack/runtime/hasOwnProperty shorthand */ |
| 164 |
/******/ (() => { |
| 165 |
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) |
| 166 |
/******/ })(); |
| 167 |
/******/ |
| 168 |
/******/ /* webpack/runtime/make namespace object */ |
| 169 |
/******/ (() => { |
| 170 |
/******/ // define __esModule on exports |
| 171 |
/******/ __webpack_require__.r = (exports) => { |
| 172 |
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| 173 |
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| 174 |
/******/ } |
| 175 |
/******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| 176 |
/******/ }; |
| 177 |
/******/ })(); |
| 178 |
/******/ |
| 179 |
/************************************************************************/ |
| 180 |
var __webpack_exports__ = {}; |
| 181 |
/*!***********************************************************!*\ |
| 182 |
!*** ./assets/src/apps/js/blocks/archive-course/index.js ***! |
| 183 |
\***********************************************************/ |
| 184 |
__webpack_require__.r(__webpack_exports__); |
| 185 |
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./edit */ "./assets/src/apps/js/blocks/archive-course/edit.js"); |
| 186 |
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./save */ "./assets/src/apps/js/blocks/archive-course/save.js"); |
| 187 |
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/archive-course/block.json"); |
| 188 |
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks"); |
| 189 |
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__); |
| 190 |
/** |
| 191 |
* Register block archive property. |
| 192 |
*/ |
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__.registerBlockType)('learnpress/archive-course', { |
| 198 |
..._block_json__WEBPACK_IMPORTED_MODULE_2__, |
| 199 |
edit: _edit__WEBPACK_IMPORTED_MODULE_0__.edit, |
| 200 |
save: _save__WEBPACK_IMPORTED_MODULE_1__.save |
| 201 |
}); |
| 202 |
/******/ })() |
| 203 |
; |
| 204 |
//# sourceMappingURL=archive-course.js.map |