PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.2
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.2
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 4.2.0 All 139 releases
learnpress / assets / js / dist / blocks / course-results.js

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

202 lines 9.2 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 /***/ "./assets/src/apps/js/blocks/courses/course-results/edit.js"
6 /*!******************************************************************!*\
7 !*** ./assets/src/apps/js/blocks/courses/course-results/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
22
23
24 const edit = props => {
25 const blockProps = (0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.useBlockProps)();
26 return (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
27 ...blockProps
28 }, (0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
29 class: "course-results"
30 }, (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.sprintf)((0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Showing %d-%d of %d results', 'learnpress'), 1, 6, 20))));
31 };
32
33 /***/ },
34
35 /***/ "./assets/src/apps/js/blocks/courses/course-results/save.js"
36 /*!******************************************************************!*\
37 !*** ./assets/src/apps/js/blocks/courses/course-results/save.js ***!
38 \******************************************************************/
39 (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
40
41 __webpack_require__.r(__webpack_exports__);
42 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
43 /* harmony export */ save: () => (/* binding */ save)
44 /* harmony export */ });
45 const save = props => null;
46
47 /***/ },
48
49 /***/ "react"
50 /*!************************!*\
51 !*** external "React" ***!
52 \************************/
53 (module) {
54
55 module.exports = window["React"];
56
57 /***/ },
58
59 /***/ "@wordpress/block-editor"
60 /*!*************************************!*\
61 !*** external ["wp","blockEditor"] ***!
62 \*************************************/
63 (module) {
64
65 module.exports = window["wp"]["blockEditor"];
66
67 /***/ },
68
69 /***/ "@wordpress/blocks"
70 /*!********************************!*\
71 !*** external ["wp","blocks"] ***!
72 \********************************/
73 (module) {
74
75 module.exports = window["wp"]["blocks"];
76
77 /***/ },
78
79 /***/ "@wordpress/i18n"
80 /*!******************************!*\
81 !*** external ["wp","i18n"] ***!
82 \******************************/
83 (module) {
84
85 module.exports = window["wp"]["i18n"];
86
87 /***/ },
88
89 /***/ "./assets/src/apps/js/blocks/courses/course-results/block.json"
90 /*!*********************************************************************!*\
91 !*** ./assets/src/apps/js/blocks/courses/course-results/block.json ***!
92 \*********************************************************************/
93 (module) {
94
95 module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"learnpress/course-results","title":"Course Results","category":"learnpress-course-elements","icon":"feedback","description":"Show Course Results.","textdomain":"learnpress","keywords":["course results","learnpress"],"ancestor":["learnpress/list-courses"],"usesContext":[],"supports":{"multiple":true,"align":["wide","full"],"html":false,"typography":{"fontSize":true,"lineHeight":false,"fontWeight":true,"__experimentalFontFamily":false,"__experimentalTextDecoration":false,"__experimentalFontStyle":false,"__experimentalFontWeight":true,"__experimentalLetterSpacing":false,"__experimentalTextTransform":false,"__experimentalDefaultControls":{"fontSize":true}},"color":{"background":false,"text":true,"link":false,"gradients":false,"__experimentalDefaultControls":{"text":true}},"spacing":{"padding":true,"margin":true,"__experimentalDefaultControls":{"margin":false,"padding":false}}}}');
96
97 /***/ }
98
99 /******/ });
100 /************************************************************************/
101 /******/ // The module cache
102 /******/ var __webpack_module_cache__ = {};
103 /******/
104 /******/ // The require function
105 /******/ function __webpack_require__(moduleId) {
106 /******/ // Check if module is in cache
107 /******/ var cachedModule = __webpack_module_cache__[moduleId];
108 /******/ if (cachedModule !== undefined) {
109 /******/ return cachedModule.exports;
110 /******/ }
111 /******/ // Create a new module (and put it into the cache)
112 /******/ var module = __webpack_module_cache__[moduleId] = {
113 /******/ // no module.id needed
114 /******/ // no module.loaded needed
115 /******/ exports: {}
116 /******/ };
117 /******/
118 /******/ // Execute the module function
119 /******/ if (!(moduleId in __webpack_modules__)) {
120 /******/ delete __webpack_module_cache__[moduleId];
121 /******/ var e = new Error("Cannot find module '" + moduleId + "'");
122 /******/ e.code = 'MODULE_NOT_FOUND';
123 /******/ throw e;
124 /******/ }
125 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
126 /******/
127 /******/ // Return the exports of the module
128 /******/ return module.exports;
129 /******/ }
130 /******/
131 /************************************************************************/
132 /******/ /* webpack/runtime/compat get default export */
133 /******/ (() => {
134 /******/ // getDefaultExport function for compatibility with non-harmony modules
135 /******/ __webpack_require__.n = (module) => {
136 /******/ var getter = module && module.__esModule ?
137 /******/ () => (module['default']) :
138 /******/ () => (module);
139 /******/ __webpack_require__.d(getter, { a: getter });
140 /******/ return getter;
141 /******/ };
142 /******/ })();
143 /******/
144 /******/ /* webpack/runtime/define property getters */
145 /******/ (() => {
146 /******/ // define getter functions for harmony exports
147 /******/ __webpack_require__.d = (exports, definition) => {
148 /******/ for(var key in definition) {
149 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
150 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
151 /******/ }
152 /******/ }
153 /******/ };
154 /******/ })();
155 /******/
156 /******/ /* webpack/runtime/hasOwnProperty shorthand */
157 /******/ (() => {
158 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
159 /******/ })();
160 /******/
161 /******/ /* webpack/runtime/make namespace object */
162 /******/ (() => {
163 /******/ // define __esModule on exports
164 /******/ __webpack_require__.r = (exports) => {
165 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
166 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
167 /******/ }
168 /******/ Object.defineProperty(exports, '__esModule', { value: true });
169 /******/ };
170 /******/ })();
171 /******/
172 /************************************************************************/
173 var __webpack_exports__ = {};
174 // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
175 (() => {
176 /*!*******************************************************************!*\
177 !*** ./assets/src/apps/js/blocks/courses/course-results/index.js ***!
178 \*******************************************************************/
179 __webpack_require__.r(__webpack_exports__);
180 /* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./edit */ "./assets/src/apps/js/blocks/courses/course-results/edit.js");
181 /* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./save */ "./assets/src/apps/js/blocks/courses/course-results/save.js");
182 /* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./block.json */ "./assets/src/apps/js/blocks/courses/course-results/block.json");
183 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
184 /* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__);
185 /**
186 * Register block course results.
187 */
188
189
190
191
192
193 (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_3__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_2__.name, {
194 ..._block_json__WEBPACK_IMPORTED_MODULE_2__,
195 edit: _edit__WEBPACK_IMPORTED_MODULE_0__.edit,
196 save: _save__WEBPACK_IMPORTED_MODULE_1__.save
197 });
198 })();
199
200 /******/ })()
201 ;
202 //# sourceMappingURL=course-results.js.map