PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 All 140 releases
learnpress / assets / js / dist / blocks / item-curriculum-course.js

item-curriculum-course.js in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.9, at assets/js/dist/blocks/item-curriculum-course.js

249 lines 11.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /******/ (() => { // webpackBootstrap
2 /******/ "use strict";
3 /******/ var __webpack_modules__ = ({
4
5 /***/ "./node_modules/@wordpress/icons/build-module/library/page.js":
6 /*!********************************************************************!*\
7 !*** ./node_modules/@wordpress/icons/build-module/library/page.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 */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
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_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives");
18 /* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
19
20 /**
21 * WordPress dependencies
22 */
23
24 const page = (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__.SVG, {
25 xmlns: "http://www.w3.org/2000/svg",
26 viewBox: "0 0 24 24"
27 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__.Path, {
28 d: "M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"
29 }), (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__.Path, {
30 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"
31 }));
32 /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (page);
33 //# sourceMappingURL=page.js.map
34
35 /***/ }),
36
37 /***/ "./assets/src/apps/js/blocks/item-curriculum-course/edit.js":
38 /*!******************************************************************!*\
39 !*** ./assets/src/apps/js/blocks/item-curriculum-course/edit.js ***!
40 \******************************************************************/
41 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
42
43 __webpack_require__.r(__webpack_exports__);
44 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
45 /* harmony export */ edit: () => (/* binding */ edit)
46 /* harmony export */ });
47 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react");
48 /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
49 /* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/icons */ "./node_modules/@wordpress/icons/build-module/library/page.js");
50 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
51 /* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
52 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
53 /* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__);
54 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
55 /* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
56
57
58
59
60
61 const edit = props => {
62 const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.useBlockProps)();
63 return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
64 ...blockProps
65 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.Placeholder, {
66 icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__["default"],
67 label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Item Curriculum Course', 'learnpress')
68 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", null, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('This is an editor placeholder for the Item Curriculum Course page. Content will render content of single item curriculum course. Should be not remove it', 'learnpress'))));
69 };
70
71 /***/ }),
72
73 /***/ "./assets/src/apps/js/blocks/item-curriculum-course/save.js":
74 /*!******************************************************************!*\
75 !*** ./assets/src/apps/js/blocks/item-curriculum-course/save.js ***!
76 \******************************************************************/
77 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
78
79 __webpack_require__.r(__webpack_exports__);
80 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
81 /* harmony export */ save: () => (/* binding */ save)
82 /* harmony export */ });
83 const save = props => null;
84
85 /***/ }),
86
87 /***/ "react":
88 /*!************************!*\
89 !*** external "React" ***!
90 \************************/
91 /***/ ((module) => {
92
93 module.exports = window["React"];
94
95 /***/ }),
96
97 /***/ "@wordpress/block-editor":
98 /*!*************************************!*\
99 !*** external ["wp","blockEditor"] ***!
100 \*************************************/
101 /***/ ((module) => {
102
103 module.exports = window["wp"]["blockEditor"];
104
105 /***/ }),
106
107 /***/ "@wordpress/blocks":
108 /*!********************************!*\
109 !*** external ["wp","blocks"] ***!
110 \********************************/
111 /***/ ((module) => {
112
113 module.exports = window["wp"]["blocks"];
114
115 /***/ }),
116
117 /***/ "@wordpress/components":
118 /*!************************************!*\
119 !*** external ["wp","components"] ***!
120 \************************************/
121 /***/ ((module) => {
122
123 module.exports = window["wp"]["components"];
124
125 /***/ }),
126
127 /***/ "@wordpress/i18n":
128 /*!******************************!*\
129 !*** external ["wp","i18n"] ***!
130 \******************************/
131 /***/ ((module) => {
132
133 module.exports = window["wp"]["i18n"];
134
135 /***/ }),
136
137 /***/ "@wordpress/primitives":
138 /*!************************************!*\
139 !*** external ["wp","primitives"] ***!
140 \************************************/
141 /***/ ((module) => {
142
143 module.exports = window["wp"]["primitives"];
144
145 /***/ }),
146
147 /***/ "./assets/src/apps/js/blocks/item-curriculum-course/block.json":
148 /*!*********************************************************************!*\
149 !*** ./assets/src/apps/js/blocks/item-curriculum-course/block.json ***!
150 \*********************************************************************/
151 /***/ ((module) => {
152
153 module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"learnpress/item-curriculum-course","title":"Item curriculum Course","category":"learnpress-category","description":"Renders template Single Item Curriculum Course PHP templates.","textdomain":"learnpress","keywords":["item curriculum course","learnpress"],"usesContext":[],"supports":{}}');
154
155 /***/ })
156
157 /******/ });
158 /************************************************************************/
159 /******/ // The module cache
160 /******/ var __webpack_module_cache__ = {};
161 /******/
162 /******/ // The require function
163 /******/ function __webpack_require__(moduleId) {
164 /******/ // Check if module is in cache
165 /******/ var cachedModule = __webpack_module_cache__[moduleId];
166 /******/ if (cachedModule !== undefined) {
167 /******/ return cachedModule.exports;
168 /******/ }
169 /******/ // Create a new module (and put it into the cache)
170 /******/ var module = __webpack_module_cache__[moduleId] = {
171 /******/ // no module.id needed
172 /******/ // no module.loaded needed
173 /******/ exports: {}
174 /******/ };
175 /******/
176 /******/ // Execute the module function
177 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
178 /******/
179 /******/ // Return the exports of the module
180 /******/ return module.exports;
181 /******/ }
182 /******/
183 /************************************************************************/
184 /******/ /* webpack/runtime/compat get default export */
185 /******/ (() => {
186 /******/ // getDefaultExport function for compatibility with non-harmony modules
187 /******/ __webpack_require__.n = (module) => {
188 /******/ var getter = module && module.__esModule ?
189 /******/ () => (module['default']) :
190 /******/ () => (module);
191 /******/ __webpack_require__.d(getter, { a: getter });
192 /******/ return getter;
193 /******/ };
194 /******/ })();
195 /******/
196 /******/ /* webpack/runtime/define property getters */
197 /******/ (() => {
198 /******/ // define getter functions for harmony exports
199 /******/ __webpack_require__.d = (exports, definition) => {
200 /******/ for(var key in definition) {
201 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
202 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
203 /******/ }
204 /******/ }
205 /******/ };
206 /******/ })();
207 /******/
208 /******/ /* webpack/runtime/hasOwnProperty shorthand */
209 /******/ (() => {
210 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
211 /******/ })();
212 /******/
213 /******/ /* webpack/runtime/make namespace object */
214 /******/ (() => {
215 /******/ // define __esModule on exports
216 /******/ __webpack_require__.r = (exports) => {
217 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
218 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
219 /******/ }
220 /******/ Object.defineProperty(exports, '__esModule', { value: true });
221 /******/ };
222 /******/ })();
223 /******/
224 /************************************************************************/
225 var __webpack_exports__ = {};
226 /*!*******************************************************************!*\
227 !*** ./assets/src/apps/js/blocks/item-curriculum-course/index.js ***!
228 \*******************************************************************/
229 __webpack_require__.r(__webpack_exports__);
230 /* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./edit */ "./assets/src/apps/js/blocks/item-curriculum-course/edit.js");
231 /* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./save */ "./assets/src/apps/js/blocks/item-curriculum-course/save.js");
232 /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/item-curriculum-course/block.json");
233 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
234 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
235 /**
236 * Register block single course.
237 */
238
239
240
241
242 (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_2__.name, {
243 ..._block_json__WEBPACK_IMPORTED_MODULE_2__,
244 edit: _edit__WEBPACK_IMPORTED_MODULE_0__.edit,
245 save: _save__WEBPACK_IMPORTED_MODULE_1__.save
246 });
247 /******/ })()
248 ;
249 //# sourceMappingURL=item-curriculum-course.js.map