| @@ -1,507 +1,306 @@ | ||
| 1 | -/******/ (() => { // webpackBootstrap | |
| 2 | -/******/ var __webpack_modules__ = ({ | |
| 1 | +(function(_wordpress_i18n) { | |
| 3 | 2 | |
| 4 | -/***/ "../modules/notes/assets/js/e-component.js": | |
| 5 | -/*!*************************************************!*\ | |
| 6 | - !*** ../modules/notes/assets/js/e-component.js ***! | |
| 7 | - \*************************************************/ | |
| 8 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 3 | +//#region \0rolldown/runtime.js | |
| 4 | + var __defProp = Object.defineProperty; | |
| 5 | + var __name = (target, value) => __defProp(target, "name", { | |
| 6 | + value, | |
| 7 | + configurable: true | |
| 8 | + }); | |
| 9 | + var __exportAll = (all, no_symbols) => { | |
| 10 | + let target = {}; | |
| 11 | + for (var name in all) { | |
| 12 | + __defProp(target, name, { | |
| 13 | + get: all[name], | |
| 14 | + enumerable: true | |
| 15 | + }); | |
| 16 | + } | |
| 17 | + if (!no_symbols) { | |
| 18 | + __defProp(target, Symbol.toStringTag, { value: "Module" }); | |
| 19 | + } | |
| 20 | + return target; | |
| 21 | + }; | |
| 9 | 22 | |
| 10 | -"use strict"; | |
| 23 | +//#endregion | |
| 11 | 24 | |
| 25 | +//#region node_modules/@babel/runtime/helpers/esm/classCallCheck.js | |
| 26 | + function _classCallCheck(a, n) { | |
| 27 | + if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 28 | + } | |
| 12 | 29 | |
| 13 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 14 | -var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ "../node_modules/@babel/runtime/helpers/typeof.js"); | |
| 15 | -Object.defineProperty(exports, "__esModule", ({ | |
| 16 | - value: true | |
| 17 | -})); | |
| 18 | -exports["default"] = void 0; | |
| 19 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 20 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 21 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 22 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 23 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 24 | -var modules = _interopRequireWildcard(__webpack_require__(/*! ./modules/ */ "../modules/notes/assets/js/modules/index.js")); | |
| 25 | -var hooks = _interopRequireWildcard(__webpack_require__(/*! ./hooks/ */ "../modules/notes/assets/js/hooks/index.js")); | |
| 26 | -function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); } | |
| 27 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 28 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 29 | -var EComponent = exports["default"] = /*#__PURE__*/function (_$e$modules$Component) { | |
| 30 | - function EComponent(args) { | |
| 31 | - var _this; | |
| 32 | - (0, _classCallCheck2.default)(this, EComponent); | |
| 33 | - _this = _callSuper(this, EComponent, [args]); | |
| 34 | - _this.loadModules(); | |
| 35 | - return _this; | |
| 36 | - } | |
| 30 | +//#endregion | |
| 31 | +//#region node_modules/@babel/runtime/helpers/esm/typeof.js | |
| 32 | + function _typeof(o) { | |
| 33 | + "@babel/helpers - typeof"; | |
| 34 | + return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) { | |
| 35 | + return typeof o; | |
| 36 | + } : function(o) { | |
| 37 | + return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 38 | + }, _typeof(o); | |
| 39 | + } | |
| 37 | 40 | |
| 38 | - /** | |
| 39 | - * @return {string} The namespace of the component | |
| 40 | - */ | |
| 41 | - (0, _inherits2.default)(EComponent, _$e$modules$Component); | |
| 42 | - return (0, _createClass2.default)(EComponent, [{ | |
| 43 | - key: "getNamespace", | |
| 44 | - value: function getNamespace() { | |
| 45 | - return 'notes'; | |
| 46 | - } | |
| 41 | +//#endregion | |
| 42 | +//#region node_modules/@babel/runtime/helpers/esm/toPrimitive.js | |
| 43 | + function toPrimitive(t, r) { | |
| 44 | + if ("object" != _typeof(t) || !t) return t; | |
| 45 | + var e = t[Symbol.toPrimitive]; | |
| 46 | + if (void 0 !== e) { | |
| 47 | + var i = e.call(t, r || "default"); | |
| 48 | + if ("object" != _typeof(i)) return i; | |
| 49 | + throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 50 | + } | |
| 51 | + return ("string" === r ? String : Number)(t); | |
| 52 | + } | |
| 47 | 53 | |
| 48 | - /** | |
| 49 | - * @return {*} All the hooks | |
| 50 | - */ | |
| 51 | - }, { | |
| 52 | - key: "defaultHooks", | |
| 53 | - value: function defaultHooks() { | |
| 54 | - return this.importHooks(hooks); | |
| 55 | - } | |
| 56 | - }, { | |
| 57 | - key: "loadModules", | |
| 58 | - value: function loadModules() { | |
| 59 | - for (var key in modules) { | |
| 60 | - new modules[key](); | |
| 61 | - } | |
| 62 | - } | |
| 63 | - }]); | |
| 64 | -}($e.modules.ComponentBase); | |
| 54 | +//#endregion | |
| 55 | +//#region node_modules/@babel/runtime/helpers/esm/toPropertyKey.js | |
| 56 | + function toPropertyKey(t) { | |
| 57 | + var i = toPrimitive(t, "string"); | |
| 58 | + return "symbol" == _typeof(i) ? i : i + ""; | |
| 59 | + } | |
| 65 | 60 | |
| 66 | -/***/ }), | |
| 61 | +//#endregion | |
| 62 | +//#region node_modules/@babel/runtime/helpers/esm/createClass.js | |
| 63 | + function _defineProperties(e, r) { | |
| 64 | + for (var t = 0; t < r.length; t++) { | |
| 65 | + var o = r[t]; | |
| 66 | + o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 67 | + } | |
| 68 | + } | |
| 69 | + function _createClass(e, r, t) { | |
| 70 | + return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; | |
| 71 | + } | |
| 67 | 72 | |
| 68 | -/***/ "../modules/notes/assets/js/hooks/index.js": | |
| 69 | -/*!*************************************************!*\ | |
| 70 | - !*** ../modules/notes/assets/js/hooks/index.js ***! | |
| 71 | - \*************************************************/ | |
| 72 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 73 | +//#endregion | |
| 74 | +//#region node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js | |
| 75 | + function _assertThisInitialized(e) { | |
| 76 | + if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 77 | + return e; | |
| 78 | + } | |
| 73 | 79 | |
| 74 | -"use strict"; | |
| 80 | +//#endregion | |
| 81 | +//#region node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js | |
| 82 | + function _possibleConstructorReturn(t, e) { | |
| 83 | + if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 84 | + if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 85 | + return _assertThisInitialized(t); | |
| 86 | + } | |
| 75 | 87 | |
| 88 | +//#endregion | |
| 89 | +//#region node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js | |
| 90 | + function _getPrototypeOf(t) { | |
| 91 | + return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) { | |
| 92 | + return t.__proto__ || Object.getPrototypeOf(t); | |
| 93 | + }, _getPrototypeOf(t); | |
| 94 | + } | |
| 76 | 95 | |
| 77 | -Object.defineProperty(exports, "__esModule", ({ | |
| 78 | - value: true | |
| 79 | -})); | |
| 80 | -Object.defineProperty(exports, "NotesAddPanelMenuItem", ({ | |
| 81 | - enumerable: true, | |
| 82 | - get: function get() { | |
| 83 | - return _notesAddPanelMenuItem.NotesAddPanelMenuItem; | |
| 84 | - } | |
| 85 | -})); | |
| 86 | -var _notesAddPanelMenuItem = __webpack_require__(/*! ./ui/panel/state-ready/notes-add-panel-menu-item */ "../modules/notes/assets/js/hooks/ui/panel/state-ready/notes-add-panel-menu-item.js"); | |
| 96 | +//#endregion | |
| 97 | +//#region node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js | |
| 98 | + function _setPrototypeOf(t, e) { | |
| 99 | + return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, e) { | |
| 100 | + return t.__proto__ = e, t; | |
| 101 | + }, _setPrototypeOf(t, e); | |
| 102 | + } | |
| 87 | 103 | |
| 88 | -/***/ }), | |
| 104 | +//#endregion | |
| 105 | +//#region node_modules/@babel/runtime/helpers/esm/inherits.js | |
| 106 | + function _inherits(t, e) { | |
| 107 | + if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 108 | + t.prototype = Object.create(e && e.prototype, { constructor: { | |
| 109 | + value: t, | |
| 110 | + writable: !0, | |
| 111 | + configurable: !0 | |
| 112 | + } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); | |
| 113 | + } | |
| 89 | 114 | |
| 90 | -/***/ "../modules/notes/assets/js/hooks/ui/panel/state-ready/notes-add-panel-menu-item.js": | |
| 91 | -/*!******************************************************************************************!*\ | |
| 92 | - !*** ../modules/notes/assets/js/hooks/ui/panel/state-ready/notes-add-panel-menu-item.js ***! | |
| 93 | - \******************************************************************************************/ | |
| 94 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 115 | +//#endregion | |
| 116 | +//#region modules/notes/assets/js/modules/context-menu/notes-context-menu.js | |
| 117 | + function _callSuper$2(t, o, e) { | |
| 118 | + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$2() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 119 | + } | |
| 120 | + __name(_callSuper$2, "_callSuper"); | |
| 121 | + function _isNativeReflectConstruct$2() { | |
| 122 | + try { | |
| 123 | + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 124 | + } catch (t) {} | |
| 125 | + return (_isNativeReflectConstruct$2 = function _isNativeReflectConstruct() { | |
| 126 | + return !!t; | |
| 127 | + })(); | |
| 128 | + } | |
| 129 | + __name(_isNativeReflectConstruct$2, "_isNativeReflectConstruct"); | |
| 130 | + var NotesContextMenu = /*#__PURE__*/ function(_elementorModules$edi) { | |
| 131 | + function NotesContextMenu() { | |
| 132 | + _classCallCheck(this, NotesContextMenu); | |
| 133 | + return _callSuper$2(this, NotesContextMenu, arguments); | |
| 134 | + } | |
| 135 | + _inherits(NotesContextMenu, _elementorModules$edi); | |
| 136 | + return _createClass(NotesContextMenu, [ | |
| 137 | + { | |
| 138 | + key: "onInit", | |
| 139 | + value: function onInit() { | |
| 140 | + this.contextMenuNotesGroup(); | |
| 141 | + } | |
| 142 | + }, | |
| 143 | + { | |
| 144 | + key: "contextMenuNotesGroup", | |
| 145 | + value: function contextMenuNotesGroup() { | |
| 146 | + var _this = this; | |
| 147 | + [ | |
| 148 | + "widget", | |
| 149 | + "section", | |
| 150 | + "column", | |
| 151 | + "container" | |
| 152 | + ].forEach(function(type) { | |
| 153 | + elementor.hooks.addFilter("elements/".concat(type, "/contextMenuGroups"), _this.contextMenuAddGroup); | |
| 154 | + }); | |
| 155 | + } | |
| 156 | + }, | |
| 157 | + { | |
| 158 | + key: "contextMenuAddGroup", | |
| 159 | + value: function contextMenuAddGroup(groups) { | |
| 160 | + var deleteGroup = _.findWhere(groups, { name: "delete" }); | |
| 161 | + var deleteGroupIndex = groups.indexOf(deleteGroup); | |
| 162 | + if (-1 === deleteGroupIndex) deleteGroupIndex = groups.length; | |
| 163 | + groups.splice(deleteGroupIndex, 0, { | |
| 164 | + name: "notes", | |
| 165 | + actions: [{ | |
| 166 | + name: "open_notes", | |
| 167 | + title: (0, _wordpress_i18n.__)("Notes", "elementor"), | |
| 168 | + shortcut: "<i class=\"eicon-pro-icon\"></i>", | |
| 169 | + promotionURL: "https://go.elementor.com/go-pro-notes-context-menu/", | |
| 170 | + isEnabled: function isEnabled() { | |
| 171 | + return false; | |
| 172 | + }, | |
| 173 | + callback: function callback() {} | |
| 174 | + }] | |
| 175 | + }); | |
| 176 | + return groups; | |
| 177 | + } | |
| 178 | + } | |
| 179 | + ]); | |
| 180 | + }(elementorModules.editor.utils.Module); | |
| 95 | 181 | |
| 96 | -"use strict"; | |
| 97 | -/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"]; | |
| 182 | +//#endregion | |
| 183 | +//#region modules/notes/assets/js/modules/index.js | |
| 184 | + var modules_exports = /* @__PURE__ */ __exportAll({ NotesContextMenu: () => NotesContextMenu }); | |
| 98 | 185 | |
| 186 | +//#endregion | |
| 187 | +//#region modules/notes/assets/js/hooks/ui/panel/state-ready/notes-add-panel-menu-item.js | |
| 188 | + function _callSuper$1(t, o, e) { | |
| 189 | + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct$1() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 190 | + } | |
| 191 | + __name(_callSuper$1, "_callSuper"); | |
| 192 | + function _isNativeReflectConstruct$1() { | |
| 193 | + try { | |
| 194 | + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 195 | + } catch (t) {} | |
| 196 | + return (_isNativeReflectConstruct$1 = function _isNativeReflectConstruct() { | |
| 197 | + return !!t; | |
| 198 | + })(); | |
| 199 | + } | |
| 200 | + __name(_isNativeReflectConstruct$1, "_isNativeReflectConstruct"); | |
| 201 | + var NotesAddPanelMenuItem = /*#__PURE__*/ function(_$e$modules$hookUI$Af) { | |
| 202 | + function NotesAddPanelMenuItem() { | |
| 203 | + _classCallCheck(this, NotesAddPanelMenuItem); | |
| 204 | + return _callSuper$1(this, NotesAddPanelMenuItem, arguments); | |
| 205 | + } | |
| 206 | + _inherits(NotesAddPanelMenuItem, _$e$modules$hookUI$Af); | |
| 207 | + return _createClass(NotesAddPanelMenuItem, [ | |
| 208 | + { | |
| 209 | + key: "getCommand", | |
| 210 | + value: function getCommand() { | |
| 211 | + return "panel/state-ready"; | |
| 212 | + } | |
| 213 | + }, | |
| 214 | + { | |
| 215 | + key: "getId", | |
| 216 | + value: function getId() { | |
| 217 | + return "notes-add-panel-menu-item"; | |
| 218 | + } | |
| 219 | + }, | |
| 220 | + { | |
| 221 | + key: "apply", | |
| 222 | + value: function apply() { | |
| 223 | + elementor.modules.layouts.panel.pages.menu.Menu.addItem({ | |
| 224 | + name: "notes", | |
| 225 | + icon: "eicon-commenting-o", | |
| 226 | + title: (0, _wordpress_i18n.__)("Notes", "elementor") + "<i class=\"elementor-panel-menu-item-title-badge eicon-pro-icon\"></i>", | |
| 227 | + callback: function callback() { | |
| 228 | + var hasProAndNotConnected = elementor.helpers.hasProAndNotConnected(); | |
| 229 | + elementor.promotion.showDialog({ | |
| 230 | + title: (0, _wordpress_i18n.__)("Notes", "elementor"), | |
| 231 | + content: (0, _wordpress_i18n.__)("With Notes, teamwork gets even better. Stay in sync with comments, feedback & more on your website.", "elementor"), | |
| 232 | + position: { | |
| 233 | + blockStart: "-3", | |
| 234 | + inlineStart: "+10" | |
| 235 | + }, | |
| 236 | + targetElement: this.$el, | |
| 237 | + actionButton: { | |
| 238 | + url: hasProAndNotConnected ? elementorProEditorConfig.urls.connect : elementor.config.promotions.notes.upgrade_url || "https://go.elementor.com/go-pro-notes/", | |
| 239 | + text: hasProAndNotConnected ? (0, _wordpress_i18n.__)("Connect & Activate", "elementor") : (0, _wordpress_i18n.__)("Upgrade", "elementor") | |
| 240 | + } | |
| 241 | + }); | |
| 242 | + } | |
| 243 | + }, "navigate_from_page", "finder"); | |
| 244 | + } | |
| 245 | + } | |
| 246 | + ]); | |
| 247 | + }($e.modules.hookUI.After); | |
| 99 | 248 | |
| 100 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 101 | -Object.defineProperty(exports, "__esModule", ({ | |
| 102 | - value: true | |
| 103 | -})); | |
| 104 | -exports["default"] = exports.NotesAddPanelMenuItem = void 0; | |
| 105 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 106 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 107 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 108 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 109 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 110 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 111 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 112 | -var NotesAddPanelMenuItem = exports.NotesAddPanelMenuItem = /*#__PURE__*/function (_$e$modules$hookUI$Af) { | |
| 113 | - function NotesAddPanelMenuItem() { | |
| 114 | - (0, _classCallCheck2.default)(this, NotesAddPanelMenuItem); | |
| 115 | - return _callSuper(this, NotesAddPanelMenuItem, arguments); | |
| 116 | - } | |
| 117 | - (0, _inherits2.default)(NotesAddPanelMenuItem, _$e$modules$hookUI$Af); | |
| 118 | - return (0, _createClass2.default)(NotesAddPanelMenuItem, [{ | |
| 119 | - key: "getCommand", | |
| 120 | - value: function getCommand() { | |
| 121 | - return 'panel/state-ready'; | |
| 122 | - } | |
| 123 | - }, { | |
| 124 | - key: "getId", | |
| 125 | - value: function getId() { | |
| 126 | - return 'notes-add-panel-menu-item'; | |
| 127 | - } | |
| 128 | - }, { | |
| 129 | - key: "apply", | |
| 130 | - value: function apply() { | |
| 131 | - elementor.modules.layouts.panel.pages.menu.Menu.addItem({ | |
| 132 | - name: 'notes', | |
| 133 | - icon: 'eicon-commenting-o', | |
| 134 | - title: __('Notes', 'elementor') + '<i class="elementor-panel-menu-item-title-badge eicon-pro-icon"></i>', | |
| 135 | - callback: function callback() { | |
| 136 | - var hasProAndNotConnected = elementor.helpers.hasProAndNotConnected(); | |
| 137 | - elementor.promotion.showDialog({ | |
| 138 | - title: __('Notes', 'elementor'), | |
| 139 | - content: __('With Notes, teamwork gets even better. Stay in sync with comments, feedback & more on your website.', 'elementor'), | |
| 140 | - position: { | |
| 141 | - blockStart: '-3', | |
| 142 | - inlineStart: '+10' | |
| 143 | - }, | |
| 144 | - targetElement: this.$el, | |
| 145 | - actionButton: { | |
| 146 | - url: hasProAndNotConnected ? elementorProEditorConfig.urls.connect : elementor.config.promotions.notes.upgrade_url || 'https://go.elementor.com/go-pro-notes/', | |
| 147 | - text: hasProAndNotConnected ? __('Connect & Activate', 'elementor') : __('Upgrade', 'elementor') | |
| 148 | - } | |
| 149 | - }); | |
| 150 | - } | |
| 151 | - }, 'navigate_from_page', 'finder'); | |
| 152 | - } | |
| 153 | - }]); | |
| 154 | -}($e.modules.hookUI.After); | |
| 155 | -var _default = exports["default"] = NotesAddPanelMenuItem; | |
| 249 | +//#endregion | |
| 250 | +//#region modules/notes/assets/js/hooks/index.js | |
| 251 | + var hooks_exports = /* @__PURE__ */ __exportAll({ NotesAddPanelMenuItem: () => NotesAddPanelMenuItem }); | |
| 156 | 252 | |
| 157 | -/***/ }), | |
| 253 | +//#endregion | |
| 254 | +//#region modules/notes/assets/js/e-component.js | |
| 255 | + function _callSuper(t, o, e) { | |
| 256 | + return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); | |
| 257 | + } | |
| 258 | + function _isNativeReflectConstruct() { | |
| 259 | + try { | |
| 260 | + var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); | |
| 261 | + } catch (t) {} | |
| 262 | + return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { | |
| 263 | + return !!t; | |
| 264 | + })(); | |
| 265 | + } | |
| 266 | + var EComponent = /*#__PURE__*/ function(_$e$modules$Component) { | |
| 267 | + function EComponent(args) { | |
| 268 | + var _this; | |
| 269 | + _classCallCheck(this, EComponent); | |
| 270 | + _this = _callSuper(this, EComponent, [args]); | |
| 271 | + _this.loadModules(); | |
| 272 | + return _this; | |
| 273 | + } | |
| 274 | + /** | |
| 275 | + * @return {string} The namespace of the component | |
| 276 | + */ | |
| 277 | + _inherits(EComponent, _$e$modules$Component); | |
| 278 | + return _createClass(EComponent, [ | |
| 279 | + { | |
| 280 | + key: "getNamespace", | |
| 281 | + value: function getNamespace() { | |
| 282 | + return "notes"; | |
| 283 | + } | |
| 284 | + }, | |
| 285 | + { | |
| 286 | + key: "defaultHooks", | |
| 287 | + value: function defaultHooks() { | |
| 288 | + return this.importHooks(hooks_exports); | |
| 289 | + } | |
| 290 | + }, | |
| 291 | + { | |
| 292 | + key: "loadModules", | |
| 293 | + value: function loadModules() { | |
| 294 | + for (var key in modules_exports) new modules_exports[key](); | |
| 295 | + } | |
| 296 | + } | |
| 297 | + ]); | |
| 298 | + }($e.modules.ComponentBase); | |
| 158 | 299 | |
| 159 | -/***/ "../modules/notes/assets/js/modules/context-menu/notes-context-menu.js": | |
| 160 | -/*!*****************************************************************************!*\ | |
| 161 | - !*** ../modules/notes/assets/js/modules/context-menu/notes-context-menu.js ***! | |
| 162 | - \*****************************************************************************/ | |
| 163 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 300 | +//#endregion | |
| 301 | +//#region modules/notes/assets/js/notes.js | |
| 302 | + window.top.$e.components.register(new EComponent()); | |
| 164 | 303 | |
| 165 | -"use strict"; | |
| 166 | -/* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"]; | |
| 167 | - | |
| 168 | - | |
| 169 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 170 | -Object.defineProperty(exports, "__esModule", ({ | |
| 171 | - value: true | |
| 172 | -})); | |
| 173 | -exports["default"] = exports.NotesContextMenu = void 0; | |
| 174 | -var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); | |
| 175 | -var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); | |
| 176 | -var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); | |
| 177 | -var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); | |
| 178 | -var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); | |
| 179 | -function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); } | |
| 180 | -function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } | |
| 181 | -var NotesContextMenu = exports.NotesContextMenu = /*#__PURE__*/function (_elementorModules$edi) { | |
| 182 | - function NotesContextMenu() { | |
| 183 | - (0, _classCallCheck2.default)(this, NotesContextMenu); | |
| 184 | - return _callSuper(this, NotesContextMenu, arguments); | |
| 185 | - } | |
| 186 | - (0, _inherits2.default)(NotesContextMenu, _elementorModules$edi); | |
| 187 | - return (0, _createClass2.default)(NotesContextMenu, [{ | |
| 188 | - key: "onInit", | |
| 189 | - value: function onInit() { | |
| 190 | - this.contextMenuNotesGroup(); | |
| 191 | - } | |
| 192 | - }, { | |
| 193 | - key: "contextMenuNotesGroup", | |
| 194 | - value: function contextMenuNotesGroup() { | |
| 195 | - var _this = this; | |
| 196 | - var elTypes = ['widget', 'section', 'column', 'container']; | |
| 197 | - elTypes.forEach(function (type) { | |
| 198 | - elementor.hooks.addFilter("elements/".concat(type, "/contextMenuGroups"), _this.contextMenuAddGroup); | |
| 199 | - }); | |
| 200 | - } | |
| 201 | - | |
| 202 | - /** | |
| 203 | - * Append the 'Notes' context menu group | |
| 204 | - * | |
| 205 | - * @since 3.8.0 | |
| 206 | - * | |
| 207 | - * @param {Array} groups | |
| 208 | - * @return {Array} The updated groups. | |
| 209 | - */ | |
| 210 | - }, { | |
| 211 | - key: "contextMenuAddGroup", | |
| 212 | - value: function contextMenuAddGroup(groups) { | |
| 213 | - var deleteGroup = _.findWhere(groups, { | |
| 214 | - name: 'delete' | |
| 215 | - }); | |
| 216 | - var deleteGroupIndex = groups.indexOf(deleteGroup); | |
| 217 | - if (-1 === deleteGroupIndex) { | |
| 218 | - deleteGroupIndex = groups.length; | |
| 219 | - } | |
| 220 | - groups.splice(deleteGroupIndex, 0, { | |
| 221 | - name: 'notes', | |
| 222 | - actions: [{ | |
| 223 | - name: 'open_notes', | |
| 224 | - title: __('Notes', 'elementor'), | |
| 225 | - shortcut: '<i class="eicon-pro-icon"></i>', | |
| 226 | - promotionURL: 'https://go.elementor.com/go-pro-notes-context-menu/', | |
| 227 | - isEnabled: function isEnabled() { | |
| 228 | - return false; | |
| 229 | - }, | |
| 230 | - callback: function callback() {} | |
| 231 | - }] | |
| 232 | - }); | |
| 233 | - return groups; | |
| 234 | - } | |
| 235 | - }]); | |
| 236 | -}(elementorModules.editor.utils.Module); | |
| 237 | -var _default = exports["default"] = NotesContextMenu; | |
| 238 | - | |
| 239 | -/***/ }), | |
| 240 | - | |
| 241 | -/***/ "../modules/notes/assets/js/modules/index.js": | |
| 242 | -/*!***************************************************!*\ | |
| 243 | - !*** ../modules/notes/assets/js/modules/index.js ***! | |
| 244 | - \***************************************************/ | |
| 245 | -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { | |
| 246 | - | |
| 247 | -"use strict"; | |
| 248 | - | |
| 249 | - | |
| 250 | -Object.defineProperty(exports, "__esModule", ({ | |
| 251 | - value: true | |
| 252 | -})); | |
| 253 | -Object.defineProperty(exports, "NotesContextMenu", ({ | |
| 254 | - enumerable: true, | |
| 255 | - get: function get() { | |
| 256 | - return _notesContextMenu.NotesContextMenu; | |
| 257 | - } | |
| 258 | -})); | |
| 259 | -var _notesContextMenu = __webpack_require__(/*! ./context-menu/notes-context-menu */ "../modules/notes/assets/js/modules/context-menu/notes-context-menu.js"); | |
| 260 | - | |
| 261 | -/***/ }), | |
| 262 | - | |
| 263 | -/***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js": | |
| 264 | -/*!***********************************************************************!*\ | |
| 265 | - !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! | |
| 266 | - \***********************************************************************/ | |
| 267 | -/***/ ((module) => { | |
| 268 | - | |
| 269 | -function _assertThisInitialized(e) { | |
| 270 | - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); | |
| 271 | - return e; | |
| 272 | -} | |
| 273 | -module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 274 | - | |
| 275 | -/***/ }), | |
| 276 | - | |
| 277 | -/***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": | |
| 278 | -/*!****************************************************************!*\ | |
| 279 | - !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! | |
| 280 | - \****************************************************************/ | |
| 281 | -/***/ ((module) => { | |
| 282 | - | |
| 283 | -function _classCallCheck(a, n) { | |
| 284 | - if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); | |
| 285 | -} | |
| 286 | -module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 287 | - | |
| 288 | -/***/ }), | |
| 289 | - | |
| 290 | -/***/ "../node_modules/@babel/runtime/helpers/createClass.js": | |
| 291 | -/*!*************************************************************!*\ | |
| 292 | - !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! | |
| 293 | - \*************************************************************/ | |
| 294 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 295 | - | |
| 296 | -var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); | |
| 297 | -function _defineProperties(e, r) { | |
| 298 | - for (var t = 0; t < r.length; t++) { | |
| 299 | - var o = r[t]; | |
| 300 | - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); | |
| 301 | - } | |
| 302 | -} | |
| 303 | -function _createClass(e, r, t) { | |
| 304 | - return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { | |
| 305 | - writable: !1 | |
| 306 | - }), e; | |
| 307 | -} | |
| 308 | -module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 309 | - | |
| 310 | -/***/ }), | |
| 311 | - | |
| 312 | -/***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js": | |
| 313 | -/*!****************************************************************!*\ | |
| 314 | - !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! | |
| 315 | - \****************************************************************/ | |
| 316 | -/***/ ((module) => { | |
| 317 | - | |
| 318 | -function _getPrototypeOf(t) { | |
| 319 | - return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { | |
| 320 | - return t.__proto__ || Object.getPrototypeOf(t); | |
| 321 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t); | |
| 322 | -} | |
| 323 | -module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 324 | - | |
| 325 | -/***/ }), | |
| 326 | - | |
| 327 | -/***/ "../node_modules/@babel/runtime/helpers/inherits.js": | |
| 328 | -/*!**********************************************************!*\ | |
| 329 | - !*** ../node_modules/@babel/runtime/helpers/inherits.js ***! | |
| 330 | - \**********************************************************/ | |
| 331 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 332 | - | |
| 333 | -var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); | |
| 334 | -function _inherits(t, e) { | |
| 335 | - if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); | |
| 336 | - t.prototype = Object.create(e && e.prototype, { | |
| 337 | - constructor: { | |
| 338 | - value: t, | |
| 339 | - writable: !0, | |
| 340 | - configurable: !0 | |
| 341 | - } | |
| 342 | - }), Object.defineProperty(t, "prototype", { | |
| 343 | - writable: !1 | |
| 344 | - }), e && setPrototypeOf(t, e); | |
| 345 | -} | |
| 346 | -module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 347 | - | |
| 348 | -/***/ }), | |
| 349 | - | |
| 350 | -/***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": | |
| 351 | -/*!***********************************************************************!*\ | |
| 352 | - !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! | |
| 353 | - \***********************************************************************/ | |
| 354 | -/***/ ((module) => { | |
| 355 | - | |
| 356 | -function _interopRequireDefault(e) { | |
| 357 | - return e && e.__esModule ? e : { | |
| 358 | - "default": e | |
| 359 | - }; | |
| 360 | -} | |
| 361 | -module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 362 | - | |
| 363 | -/***/ }), | |
| 364 | - | |
| 365 | -/***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": | |
| 366 | -/*!***************************************************************************!*\ | |
| 367 | - !*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! | |
| 368 | - \***************************************************************************/ | |
| 369 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 370 | - | |
| 371 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 372 | -var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); | |
| 373 | -function _possibleConstructorReturn(t, e) { | |
| 374 | - if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; | |
| 375 | - if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); | |
| 376 | - return assertThisInitialized(t); | |
| 377 | -} | |
| 378 | -module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 379 | - | |
| 380 | -/***/ }), | |
| 381 | - | |
| 382 | -/***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js": | |
| 383 | -/*!****************************************************************!*\ | |
| 384 | - !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! | |
| 385 | - \****************************************************************/ | |
| 386 | -/***/ ((module) => { | |
| 387 | - | |
| 388 | -function _setPrototypeOf(t, e) { | |
| 389 | - return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { | |
| 390 | - return t.__proto__ = e, t; | |
| 391 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e); | |
| 392 | -} | |
| 393 | -module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 394 | - | |
| 395 | -/***/ }), | |
| 396 | - | |
| 397 | -/***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": | |
| 398 | -/*!*************************************************************!*\ | |
| 399 | - !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! | |
| 400 | - \*************************************************************/ | |
| 401 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 402 | - | |
| 403 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 404 | -function toPrimitive(t, r) { | |
| 405 | - if ("object" != _typeof(t) || !t) return t; | |
| 406 | - var e = t[Symbol.toPrimitive]; | |
| 407 | - if (void 0 !== e) { | |
| 408 | - var i = e.call(t, r || "default"); | |
| 409 | - if ("object" != _typeof(i)) return i; | |
| 410 | - throw new TypeError("@@toPrimitive must return a primitive value."); | |
| 411 | - } | |
| 412 | - return ("string" === r ? String : Number)(t); | |
| 413 | -} | |
| 414 | -module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 415 | - | |
| 416 | -/***/ }), | |
| 417 | - | |
| 418 | -/***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": | |
| 419 | -/*!***************************************************************!*\ | |
| 420 | - !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! | |
| 421 | - \***************************************************************/ | |
| 422 | -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { | |
| 423 | - | |
| 424 | -var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); | |
| 425 | -var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); | |
| 426 | -function toPropertyKey(t) { | |
| 427 | - var i = toPrimitive(t, "string"); | |
| 428 | - return "symbol" == _typeof(i) ? i : i + ""; | |
| 429 | -} | |
| 430 | -module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 431 | - | |
| 432 | -/***/ }), | |
| 433 | - | |
| 434 | -/***/ "../node_modules/@babel/runtime/helpers/typeof.js": | |
| 435 | -/*!********************************************************!*\ | |
| 436 | - !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! | |
| 437 | - \********************************************************/ | |
| 438 | -/***/ ((module) => { | |
| 439 | - | |
| 440 | -function _typeof(o) { | |
| 441 | - "@babel/helpers - typeof"; | |
| 442 | - | |
| 443 | - return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { | |
| 444 | - return typeof o; | |
| 445 | - } : function (o) { | |
| 446 | - return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; | |
| 447 | - }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); | |
| 448 | -} | |
| 449 | -module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; | |
| 450 | - | |
| 451 | -/***/ }), | |
| 452 | - | |
| 453 | -/***/ "@wordpress/i18n": | |
| 454 | -/*!**************************!*\ | |
| 455 | - !*** external "wp.i18n" ***! | |
| 456 | - \**************************/ | |
| 457 | -/***/ ((module) => { | |
| 458 | - | |
| 459 | -"use strict"; | |
| 460 | -module.exports = wp.i18n; | |
| 461 | - | |
| 462 | -/***/ }) | |
| 463 | - | |
| 464 | -/******/ }); | |
| 465 | -/************************************************************************/ | |
| 466 | -/******/ // The module cache | |
| 467 | -/******/ var __webpack_module_cache__ = {}; | |
| 468 | -/******/ | |
| 469 | -/******/ // The require function | |
| 470 | -/******/ function __webpack_require__(moduleId) { | |
| 471 | -/******/ // Check if module is in cache | |
| 472 | -/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
| 473 | -/******/ if (cachedModule !== undefined) { | |
| 474 | -/******/ return cachedModule.exports; | |
| 475 | -/******/ } | |
| 476 | -/******/ // Create a new module (and put it into the cache) | |
| 477 | -/******/ var module = __webpack_module_cache__[moduleId] = { | |
| 478 | -/******/ // no module.id needed | |
| 479 | -/******/ // no module.loaded needed | |
| 480 | -/******/ exports: {} | |
| 481 | -/******/ }; | |
| 482 | -/******/ | |
| 483 | -/******/ // Execute the module function | |
| 484 | -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); | |
| 485 | -/******/ | |
| 486 | -/******/ // Return the exports of the module | |
| 487 | -/******/ return module.exports; | |
| 488 | -/******/ } | |
| 489 | -/******/ | |
| 490 | -/************************************************************************/ | |
| 491 | -var __webpack_exports__ = {}; | |
| 492 | -// This entry needs to be wrapped in an IIFE because it needs to be in strict mode. | |
| 493 | -(() => { | |
| 494 | -"use strict"; | |
| 495 | -/*!*******************************************!*\ | |
| 496 | - !*** ../modules/notes/assets/js/notes.js ***! | |
| 497 | - \*******************************************/ | |
| 498 | - | |
| 499 | - | |
| 500 | -var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); | |
| 501 | -var _eComponent = _interopRequireDefault(__webpack_require__(/*! ./e-component */ "../modules/notes/assets/js/e-component.js")); | |
| 502 | -window.top.$e.components.register(new _eComponent.default()); | |
| 503 | -})(); | |
| 504 | - | |
| 505 | -/******/ })() | |
| 506 | -; | |
| 304 | +//#endregion | |
| 305 | +})(wp.i18n); | |
| 507 | 306 | //# sourceMappingURL=notes.js.map |