packages
1 week ago
012778ff5828d0d1739f.bundle.js
2 weeks ago
02ab54a3328c55e115ea.bundle.min.js
2 weeks ago
0352e30f394e8e1dd4dc.bundle.js
2 months ago
06dbd869189450c5db6c.bundle.js
2 weeks ago
0982f37bec0944fbcb10.bundle.js
4 months ago
0bc41c4656ca54cf2aca.bundle.min.js
4 months ago
14bcbc91620c14a7112c.bundle.min.js
2 weeks ago
1564d2bfa4591bf857f3.bundle.min.js
4 months ago
197583acd246fea0e25d.bundle.js
5 months ago
20866d9d9e34bf3cb0a7.bundle.min.js
2 weeks ago
2140afa714e988f1069e.bundle.js
2 months ago
220e9c3d1caa01726b1a.bundle.js
2 weeks ago
29c342e9c10e3f13f498.bundle.js
2 weeks ago
2bac2875cdf51a1f8140.bundle.min.js
2 weeks ago
32f7c5e8db4c8976b254.bundle.js
2 months ago
35423d812dc1d52fdb27.bundle.min.js
4 months ago
397f2d183c19202777d6.bundle.min.js
3 months ago
397f2d183c19202777d6.bundle.min.js.LICENSE.txt
3 months ago
3c838288a9b7ddd2aea4.bundle.min.js
4 months ago
3d410a099008411bb011.bundle.js
5 months ago
3df4dbb5d612dbdab477.bundle.min.js
2 months ago
40d841f4b4ce7b1928f5.bundle.js
4 months ago
435080452e81c388e779.bundle.min.js
2 months ago
4927500be197e062162e.bundle.min.js
2 months ago
4c96eab5a48ee097dcb2.bundle.js
2 weeks ago
59845ab5a628d2b79f57.bundle.js
2 weeks ago
5b575dffd21b0cec15a5.bundle.js
2 weeks ago
6117d083decd13b6ed73.bundle.js
2 months ago
6844b6c0a66040e3ca12.bundle.js
2 months ago
687979ffbcfd58352c29.bundle.min.js
2 weeks ago
6936b079b4e7c28cd901.bundle.min.js
2 weeks ago
6a19e86dd8c1f9165dbe.bundle.js
5 months ago
6caa76d2f6eec6c4e665.bundle.js
3 months ago
6d09ff0398a56a60654b.bundle.min.js
3 months ago
6f779545aaa23e951088.bundle.min.js
2 months ago
73f63f9507c306870586.bundle.min.js
2 weeks ago
7698e0d50a8ad7ecc822.bundle.js
2 weeks ago
77b60be7dc925a32f560.bundle.min.js
2 weeks ago
78dd4dee6173d40eb75a.bundle.min.js
2 months ago
7dae73b622bebe8a5d94.bundle.js
4 months ago
8277989eebcfba278cb0.bundle.min.js
7 months ago
831aea236b1ddda24f0c.bundle.js
2 weeks ago
845418a5488e9937fc99.bundle.min.js
2 weeks ago
8ad22e7ba800b096313c.bundle.min.js
2 weeks ago
8c20eb5e96967d3016b2.bundle.js
2 weeks ago
8e5b42844d27eada9b53.bundle.min.js
2 months ago
8e80438d29fc79b648e5.bundle.js
2 months ago
8e8b47ad5b4e4d038c80.bundle.js
4 months ago
8ecfd8495b7ec419862a.bundle.js
4 months ago
979a9c03fe10da23400d.bundle.js
2 months ago
9b0cc3aa93cf287cd0a2.bundle.min.js
2 weeks ago
9b97a73ee8fdc5fb7dc3.bundle.js
3 months ago
9bd390911e34b349d8cb.bundle.min.js
2 months ago
9dcd9e88237da6496816.bundle.min.js
4 months ago
9e7e356552c03a622b0f.bundle.js
2 months ago
9ffe53753902b9aca176.bundle.js
2 weeks ago
a0f667abb781daab8e48.bundle.js
2 weeks ago
a9c3d5b02d26399aebfb.bundle.js
2 weeks ago
accordion.8b0db5058afeb74622f5.bundle.min.js
7 months ago
accordion.b9a0ab19c7c872c405d7.bundle.js
5 months ago
admin-feedback.js
7 months ago
admin-feedback.min.js
7 months ago
admin-feedback.strings.js
2 weeks ago
admin-modules.js
5 months ago
admin-modules.min.js
5 months ago
admin-modules.min.js.LICENSE.txt
9 months ago
admin-modules.strings.js
1 month ago
admin-notifications.js
7 months ago
admin-notifications.min.js
7 months ago
admin-notifications.strings.js
5 months ago
admin-top-bar.js
2 months ago
admin-top-bar.min.js
2 months ago
admin-top-bar.strings.js
5 months ago
admin.js
2 weeks ago
admin.min.js
2 weeks ago
admin.min.js.LICENSE.txt
9 months ago
admin.strings.js
5 months ago
aee13673e923469c3275.bundle.min.js
4 months ago
af05aac2eb23e7438265.bundle.js
2 weeks ago
ai-admin.js
5 months ago
ai-admin.min.js
5 months ago
ai-admin.min.js.LICENSE.txt
9 months ago
ai-admin.strings.js
5 months ago
ai-gutenberg.js
5 months ago
ai-gutenberg.min.js
5 months ago
ai-gutenberg.min.js.LICENSE.txt
9 months ago
ai-gutenberg.strings.js
5 months ago
ai-layout.js
3 months ago
ai-layout.min.js
3 months ago
ai-layout.min.js.LICENSE.txt
9 months ago
ai-layout.strings.js
1 week ago
ai-media-library.js
5 months ago
ai-media-library.min.js
5 months ago
ai-media-library.min.js.LICENSE.txt
9 months ago
ai-media-library.strings.js
5 months ago
ai-unify-product-images.js
5 months ago
ai-unify-product-images.min.js
5 months ago
ai-unify-product-images.min.js.LICENSE.txt
9 months ago
ai-unify-product-images.strings.js
5 months ago
ai.js
5 months ago
ai.min.js
5 months ago
ai.min.js.LICENSE.txt
9 months ago
ai.strings.js
1 week ago
alert.b4336601ffdb6086d1b5.bundle.min.js
2 weeks ago
alert.fd509aa768e7b35a8e32.bundle.js
5 months ago
announcements-app.js
2 weeks ago
announcements-app.min.js
2 weeks ago
announcements-app.min.js.LICENSE.txt
9 months ago
announcements-app.strings.js
5 months ago
app-loader.js
5 months ago
app-loader.min.js
7 months ago
app-loader.strings.js
1 week ago
app-packages.js
4 months ago
app-packages.min.js
4 months ago
app-packages.min.js.LICENSE.txt
9 months ago
app-packages.strings.js
1 week ago
app.js
2 weeks ago
app.min.js
2 weeks ago
app.min.js.LICENSE.txt
9 months ago
app.strings.js
1 week ago
atomic-widgets-action-link-handler.js
2 weeks ago
atomic-widgets-action-link-handler.min.js
2 weeks ago
atomic-widgets-editor.js
2 weeks ago
atomic-widgets-editor.min.js
2 weeks ago
atomic-widgets-editor.min.js.LICENSE.txt
4 months ago
atomic-widgets-editor.strings.js
2 months ago
atomic-widgets-form-handler.js
1 week ago
atomic-widgets-form-handler.min.js
1 week ago
atomic-widgets-form-handler.min.js.LICENSE.txt
2 weeks ago
b4d39e5186d768f79598.bundle.js
2 weeks ago
b96d70044d0d67c2df19.bundle.min.js
7 months ago
bcb5135af6b817bc9708.bundle.min.js
2 months ago
beta-tester.js
7 months ago
beta-tester.min.js
7 months ago
beta-tester.strings.js
5 months ago
bf2fa9f81b3d78f5858f.bundle.min.js
2 weeks ago
c13d205fa26f8af1ce7c.bundle.js
5 months ago
c73a7d15e48e3305780a.bundle.min.js
2 weeks ago
cf6ec600fcf4e08ba6d3.bundle.js
4 months ago
checklist.js
5 months ago
checklist.min.js
5 months ago
checklist.min.js.LICENSE.txt
9 months ago
checklist.strings.js
5 months ago
cloud-library-screenshot.js
5 months ago
cloud-library-screenshot.min.js
5 months ago
cloud-library-screenshot.min.js.LICENSE.txt
7 months ago
cloud-library-screenshot.strings.js
5 months ago
common-modules.js
2 months ago
common-modules.min.js
2 months ago
common-modules.strings.js
5 months ago
common.js
2 weeks ago
common.min.js
2 weeks ago
common.min.js.LICENSE.txt
9 months ago
common.strings.js
5 months ago
contact-buttons.086261d3e9c4d8037686.bundle.js
5 months ago
contact-buttons.e98d0220ce8c38404e7e.bundle.min.js
7 months ago
container-converter.js
7 months ago
container-converter.min.js
7 months ago
container-converter.strings.js
5 months ago
container-editor-handlers.a2e8e48d28c5544fb183.bundle.min.js
4 months ago
container-editor-handlers.e7e069c4e656425c51f8.bundle.js
4 months ago
counter.12335f45aaa79d244f24.bundle.min.js
7 months ago
counter.7310c276bc7865a3d438.bundle.js
5 months ago
d39cd4cb3d5b09b11c14.bundle.min.js
2 weeks ago
d42de03ef4a0f50e39ca.bundle.min.js
4 months ago
d4c67aa71d8173f6201f.bundle.js
2 months ago
d52aa05c75af56327744.bundle.js
5 months ago
d67ddd6f08b08392c42f.bundle.js
5 months ago
d8a330693f9211e2166e.bundle.min.js
2 weeks ago
daedc6797eaad5c82711.bundle.min.js
7 months ago
de7511b88f9ec0968921.bundle.js
2 weeks ago
design-system-sync.js
1 month ago
design-system-sync.min.js
1 month ago
design-system-sync.strings.js
2 months ago
dev-tools.js
7 months ago
dev-tools.min.js
7 months ago
dev-tools.strings.js
5 months ago
df2f2a2ae20e0181ec2d.bundle.js
2 months ago
df4ff09f2b412abf0cd3.bundle.js
2 weeks ago
dff865a4d52c12bcf996.bundle.min.js
2 weeks ago
e-home-screen.js
2 weeks ago
e-home-screen.min.js
2 weeks ago
e-home-screen.min.js.LICENSE.txt
2 weeks ago
e-home-screen.strings.js
2 weeks ago
e-react-promotions.js
1 month ago
e-react-promotions.min.js
1 month ago
e-react-promotions.min.js.LICENSE.txt
1 month ago
e-react-promotions.strings.js
5 months ago
e-wc-product-editor.js
5 months ago
e-wc-product-editor.min.js
7 months ago
e-wc-product-editor.min.js.LICENSE.txt
1 year ago
e-wc-product-editor.strings.js
5 months ago
e1cb4d726bb59646c677.bundle.min.js
7 months ago
e459c6c89c0c0899c850.bundle.js
5 months ago
e9a764dcd37c06162942.bundle.js
2 weeks ago
eb5018119ee87fd6a7fc.bundle.min.js
2 months ago
ec1ee92b2a471389c7b9.bundle.min.js
2 weeks ago
editor-document.js
5 months ago
editor-document.min.js
7 months ago
editor-document.strings.js
1 week ago
editor-environment-v2.js
7 months ago
editor-environment-v2.min.js
7 months ago
editor-environment-v2.strings.js
5 months ago
editor-interactions.js
2 weeks ago
editor-interactions.min.js
2 weeks ago
editor-interactions.strings.js
5 months ago
editor-loader-v1.js
7 months ago
editor-loader-v1.min.js
7 months ago
editor-loader-v1.strings.js
5 months ago
editor-loader-v2.js
7 months ago
editor-loader-v2.min.js
7 months ago
editor-loader-v2.strings.js
5 months ago
editor-modules.js
2 months ago
editor-modules.min.js
2 months ago
editor-modules.min.js.LICENSE.txt
9 months ago
editor-modules.strings.js
1 week ago
editor-notifications.js
7 months ago
editor-notifications.min.js
7 months ago
editor-notifications.strings.js
5 months ago
editor-one-admin.js
5 months ago
editor-one-admin.min.js
5 months ago
editor-one-admin.strings.js
5 months ago
editor-one-menu.js
4 months ago
editor-one-menu.min.js
4 months ago
editor-one-menu.strings.js
5 months ago
editor-one-sidebar-navigation.js
2 months ago
editor-one-sidebar-navigation.min.js
2 months ago
editor-one-sidebar-navigation.min.js.LICENSE.txt
5 months ago
editor-one-sidebar-navigation.strings.js
5 months ago
editor-one-top-bar.js
2 weeks ago
editor-one-top-bar.min.js
2 weeks ago
editor-one-top-bar.min.js.LICENSE.txt
4 months ago
editor-one-top-bar.strings.js
4 months ago
editor-v4-opt-in-alphachip.js
2 months ago
editor-v4-opt-in-alphachip.min.js
2 months ago
editor-v4-opt-in-alphachip.strings.js
2 months ago
editor-v4-opt-in.js
2 months ago
editor-v4-opt-in.min.js
2 months ago
editor-v4-opt-in.min.js.LICENSE.txt
5 months ago
editor-v4-opt-in.strings.js
2 months ago
editor.js
2 weeks ago
editor.min.js
2 weeks ago
editor.min.js.LICENSE.txt
5 months ago
editor.strings.js
2 weeks ago
ef2100ac3eda1a957819.bundle.min.js
7 months ago
ef35c83e4628f0a5c328.bundle.js
4 months ago
element-manager-admin.js
2 months ago
element-manager-admin.min.js
2 months ago
element-manager-admin.min.js.LICENSE.txt
9 months ago
element-manager-admin.strings.js
2 months ago
elementor-admin-bar.js
7 months ago
elementor-admin-bar.min.js
7 months ago
elementor-admin-bar.strings.js
5 months ago
f3b4453f66034a6655a7.bundle.min.js
2 weeks ago
f56b0d1257a5346afe64.bundle.min.js
2 months ago
fdda4547e887fbda71b3.bundle.js
2 months ago
fdf69f4e1f300fb27472.bundle.min.js
2 months ago
floating-bars.740d06d17cea5cebdb61.bundle.min.js
7 months ago
floating-bars.a6e6a043444b62f64f82.bundle.js
5 months ago
floating-elements-modal.js
2 months ago
floating-elements-modal.min.js
2 months ago
floating-elements-modal.strings.js
5 months ago
frontend-modules.js
2 months ago
frontend-modules.min.js
2 months ago
frontend.js
2 weeks ago
frontend.min.js
2 weeks ago
gutenberg.js
7 months ago
gutenberg.min.js
7 months ago
gutenberg.strings.js
2 months ago
image-carousel.6167d20b95b33386757b.bundle.min.js
7 months ago
image-carousel.8b25f3674c29b829a867.bundle.js
5 months ago
import-export-admin.js
5 months ago
import-export-admin.min.js
5 months ago
import-export-admin.strings.js
1 week ago
import-export-customization-admin.js
2 weeks ago
import-export-customization-admin.min.js
2 weeks ago
import-export-customization-admin.min.js.LICENSE.txt
7 months ago
import-export-customization-admin.strings.js
1 week ago
interactions-shared-utils.js
2 weeks ago
interactions-shared-utils.min.js
2 weeks ago
interactions-shared-utils.strings.js
2 months ago
interactions.js
2 weeks ago
interactions.min.js
2 weeks ago
interactions.strings.js
5 months ago
kit-elements-defaults-editor.js
5 months ago
kit-elements-defaults-editor.min.js
5 months ago
kit-elements-defaults-editor.min.js.LICENSE.txt
9 months ago
kit-elements-defaults-editor.strings.js
5 months ago
kit-library.a394510096bc447f636d.bundle.min.js
2 months ago
kit-library.b768952e1d4177aa68d8.bundle.js
2 months ago
lightbox.570c05c5a283cfb6b223.bundle.min.js
3 months ago
lightbox.d9ea72d232a14f514ee2.bundle.js
3 months ago
media-hints.js
7 months ago
media-hints.min.js
7 months ago
media-hints.strings.js
5 months ago
nested-accordion.294d40984397351fd0f5.bundle.min.js
4 months ago
nested-accordion.4340b64226322f36bcc0.bundle.js
4 months ago
nested-accordion.js
5 months ago
nested-accordion.min.js
5 months ago
nested-accordion.min.js.LICENSE.txt
9 months ago
nested-accordion.strings.js
5 months ago
nested-elements.js
3 months ago
nested-elements.min.js
3 months ago
nested-elements.strings.js
5 months ago
nested-tabs.7a338e6d7e060c473993.bundle.js
5 months ago
nested-tabs.a2401356d329f179475e.bundle.min.js
5 months ago
nested-tabs.js
5 months ago
nested-tabs.min.js
5 months ago
nested-tabs.min.js.LICENSE.txt
9 months ago
nested-tabs.strings.js
5 months ago
nested-title-keyboard-handler.0c2b498e3e0695a1dc19.bundle.js
5 months ago
nested-title-keyboard-handler.2a67d3cc630e11815acc.bundle.min.js
5 months ago
new-template.js
4 months ago
new-template.min.js
4 months ago
new-template.strings.js
5 months ago
notes.js
7 months ago
notes.min.js
7 months ago
notes.strings.js
5 months ago
pro-free-trial-popup.js
7 months ago
pro-free-trial-popup.min.js
7 months ago
pro-free-trial-popup.strings.js
5 months ago
pro-install-events.js
7 months ago
pro-install-events.min.js
7 months ago
pro-install-events.strings.js
5 months ago
progress.0ea083b809812c0e3aa1.bundle.min.js
7 months ago
progress.b1057ba870016558bce1.bundle.js
5 months ago
responsive-bar.js
7 months ago
responsive-bar.min.js
7 months ago
responsive-bar.strings.js
5 months ago
section-editor-handlers.53ffedef32043348b99b.bundle.min.js
7 months ago
section-editor-handlers.d65899d232b5339510d7.bundle.js
5 months ago
section-frontend-handlers.c3950c6b190ca134bc8d.bundle.js
5 months ago
section-frontend-handlers.d85ab872da118940910d.bundle.min.js
7 months ago
shared-editor-handlers.3023894100138e442ab0.bundle.js
4 months ago
shared-editor-handlers.cacdcbed391abf4b48b0.bundle.min.js
4 months ago
shared-frontend-handlers.03caa53373b56d3bab67.bundle.min.js
7 months ago
shared-frontend-handlers.3b079824c37a5fe2bdaa.bundle.js
5 months ago
styleguide-app-initiator.js
5 months ago
styleguide-app-initiator.min.js
5 months ago
styleguide-app-initiator.min.js.LICENSE.txt
9 months ago
styleguide-app-initiator.strings.js
5 months ago
styleguide-app.04340244193733d78622.bundle.min.js
7 months ago
styleguide-app.36ecabae74d9b87fc5a8.bundle.js
5 months ago
styleguide.js
7 months ago
styleguide.min.js
7 months ago
styleguide.strings.js
3 months ago
tabs-handler.js
2 weeks ago
tabs-handler.min.js
2 weeks ago
tabs-preview-handler.js
2 weeks ago
tabs-preview-handler.min.js
2 weeks ago
tabs.18344b05d8d1ea0702bc.bundle.min.js
7 months ago
tabs.40498fa771d612162c53.bundle.js
5 months ago
text-editor.0c9960167105139d27c9.bundle.js
5 months ago
text-editor.45609661e409413f1cef.bundle.min.js
7 months ago
text-path.6db73cc0a10a70f128eb.bundle.js
3 months ago
text-path.a67c1f3a78d208bc7e1b.bundle.min.js
3 months ago
toggle.2a177a3ef4785d3dfbc5.bundle.min.js
7 months ago
toggle.b75e66d2aca6f6ee742e.bundle.js
5 months ago
video.6e96510afa701d1f2ebc.bundle.js
5 months ago
video.86d44e46e43d0807e708.bundle.min.js
7 months ago
web-cli.js
5 months ago
web-cli.min.js
5 months ago
web-cli.min.js.LICENSE.txt
9 months ago
web-cli.strings.js
5 months ago
webpack.runtime.js
2 weeks ago
webpack.runtime.min.js
2 weeks ago
wp-audio.0ba9114964acf4c37ca2.bundle.js
5 months ago
wp-audio.c9624cb6e5dc9de86abd.bundle.min.js
7 months ago
youtube-handler.js
5 months ago
youtube-handler.min.js
5 months ago
floating-elements-modal.js
788 lines
| 1 | /******/ (() => { // webpackBootstrap |
| 2 | /******/ var __webpack_modules__ = ({ |
| 3 | |
| 4 | /***/ "../assets/dev/js/admin/floating-elements/layout.js": |
| 5 | /*!**********************************************************!*\ |
| 6 | !*** ../assets/dev/js/admin/floating-elements/layout.js ***! |
| 7 | \**********************************************************/ |
| 8 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 9 | |
| 10 | "use strict"; |
| 11 | /* provided dependency */ var __ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n")["__"]; |
| 12 | |
| 13 | |
| 14 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.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 _get2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/get */ "../node_modules/@babel/runtime/helpers/get.js")); |
| 24 | var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); |
| 25 | var _view = _interopRequireDefault(__webpack_require__(/*! elementor-admin/floating-elements/view */ "../assets/dev/js/admin/floating-elements/view.js")); |
| 26 | var _layout = _interopRequireDefault(__webpack_require__(/*! elementor-common/views/modal/layout */ "../core/common/assets/js/views/modal/layout.js")); |
| 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 | function _superPropGet(t, o, e, r) { var p = (0, _get2.default)((0, _getPrototypeOf2.default)(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; } |
| 30 | var _default = exports["default"] = /*#__PURE__*/function (_ModalLayout) { |
| 31 | function _default() { |
| 32 | (0, _classCallCheck2.default)(this, _default); |
| 33 | return _callSuper(this, _default, arguments); |
| 34 | } |
| 35 | (0, _inherits2.default)(_default, _ModalLayout); |
| 36 | return (0, _createClass2.default)(_default, [{ |
| 37 | key: "getModalOptions", |
| 38 | value: function getModalOptions() { |
| 39 | return { |
| 40 | id: 'elementor-new-floating-elements-modal' |
| 41 | }; |
| 42 | } |
| 43 | }, { |
| 44 | key: "getLogoOptions", |
| 45 | value: function getLogoOptions() { |
| 46 | return { |
| 47 | title: __('New Floating Elements', 'elementor') |
| 48 | }; |
| 49 | } |
| 50 | }, { |
| 51 | key: "initialize", |
| 52 | value: function initialize() { |
| 53 | _superPropGet(_default, "initialize", this, 3)([]); |
| 54 | this.showLogo(); |
| 55 | this.showContentView(); |
| 56 | } |
| 57 | }, { |
| 58 | key: "showContentView", |
| 59 | value: function showContentView() { |
| 60 | this.modalContent.show(new _view.default()); |
| 61 | } |
| 62 | }]); |
| 63 | }(_layout.default); |
| 64 | |
| 65 | /***/ }), |
| 66 | |
| 67 | /***/ "../assets/dev/js/admin/floating-elements/view.js": |
| 68 | /*!********************************************************!*\ |
| 69 | !*** ../assets/dev/js/admin/floating-elements/view.js ***! |
| 70 | \********************************************************/ |
| 71 | /***/ ((__unused_webpack_module, exports) => { |
| 72 | |
| 73 | "use strict"; |
| 74 | |
| 75 | |
| 76 | Object.defineProperty(exports, "__esModule", ({ |
| 77 | value: true |
| 78 | })); |
| 79 | exports["default"] = void 0; |
| 80 | var _default = exports["default"] = Marionette.ItemView.extend({ |
| 81 | id: 'elementor-new-floating-elements-dialog-content', |
| 82 | template: '#tmpl-elementor-new-floating-elements', |
| 83 | ui: {}, |
| 84 | events: {}, |
| 85 | onRender: function onRender() {} |
| 86 | }); |
| 87 | |
| 88 | /***/ }), |
| 89 | |
| 90 | /***/ "../core/common/assets/js/views/modal/header.js": |
| 91 | /*!******************************************************!*\ |
| 92 | !*** ../core/common/assets/js/views/modal/header.js ***! |
| 93 | \******************************************************/ |
| 94 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 95 | |
| 96 | "use strict"; |
| 97 | |
| 98 | |
| 99 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 100 | Object.defineProperty(exports, "__esModule", ({ |
| 101 | value: true |
| 102 | })); |
| 103 | exports["default"] = void 0; |
| 104 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 105 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 106 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 107 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 108 | var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); |
| 109 | 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)); } |
| 110 | function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } |
| 111 | var _default = exports["default"] = /*#__PURE__*/function (_Marionette$LayoutVie) { |
| 112 | function _default() { |
| 113 | (0, _classCallCheck2.default)(this, _default); |
| 114 | return _callSuper(this, _default, arguments); |
| 115 | } |
| 116 | (0, _inherits2.default)(_default, _Marionette$LayoutVie); |
| 117 | return (0, _createClass2.default)(_default, [{ |
| 118 | key: "tagName", |
| 119 | value: function tagName() { |
| 120 | return 'header'; |
| 121 | } |
| 122 | }, { |
| 123 | key: "className", |
| 124 | value: function className() { |
| 125 | return 'elementor-templates-modal__header'; |
| 126 | } |
| 127 | }, { |
| 128 | key: "getTemplate", |
| 129 | value: function getTemplate() { |
| 130 | return '#tmpl-elementor-templates-modal__header'; |
| 131 | } |
| 132 | }, { |
| 133 | key: "regions", |
| 134 | value: function regions() { |
| 135 | return { |
| 136 | logoArea: '.elementor-templates-modal__header__logo-area', |
| 137 | tools: '#elementor-template-library-header-tools', |
| 138 | menuArea: '.elementor-templates-modal__header__menu-area' |
| 139 | }; |
| 140 | } |
| 141 | }, { |
| 142 | key: "ui", |
| 143 | value: function ui() { |
| 144 | return { |
| 145 | closeModal: '.elementor-templates-modal__header__close' |
| 146 | }; |
| 147 | } |
| 148 | }, { |
| 149 | key: "events", |
| 150 | value: function events() { |
| 151 | return { |
| 152 | 'click @ui.closeModal': 'onCloseModalClick' |
| 153 | }; |
| 154 | } |
| 155 | }, { |
| 156 | key: "onRender", |
| 157 | value: function onRender() { |
| 158 | this.bindEscapeKey(); |
| 159 | } |
| 160 | }, { |
| 161 | key: "bindEscapeKey", |
| 162 | value: function bindEscapeKey() { |
| 163 | var _this = this; |
| 164 | this.onDocumentKeyDown = function (event) { |
| 165 | if ('Escape' === event.key) { |
| 166 | _this.onCloseModalClick(); |
| 167 | } |
| 168 | }; |
| 169 | document.addEventListener('keydown', this.onDocumentKeyDown); |
| 170 | } |
| 171 | }, { |
| 172 | key: "onDestroy", |
| 173 | value: function onDestroy() { |
| 174 | if (this.onDocumentKeyDown) { |
| 175 | document.removeEventListener('keydown', this.onDocumentKeyDown); |
| 176 | } |
| 177 | } |
| 178 | }, { |
| 179 | key: "templateHelpers", |
| 180 | value: function templateHelpers() { |
| 181 | return { |
| 182 | closeType: this.getOption('closeType') |
| 183 | }; |
| 184 | } |
| 185 | }, { |
| 186 | key: "onCloseModalClick", |
| 187 | value: function onCloseModalClick() { |
| 188 | this._parent._parent._parent.hideModal(); |
| 189 | var documentType = this.getDocumentType(); |
| 190 | var customEvent = new CustomEvent("core/modal/close/".concat(documentType)); |
| 191 | window.dispatchEvent(customEvent); |
| 192 | if (this.isFloatingButtonLibraryClose()) { |
| 193 | $e.internal('document/save/set-is-modified', { |
| 194 | status: false |
| 195 | }); |
| 196 | window.location.href = elementor.config.admin_floating_button_admin_url; |
| 197 | } |
| 198 | } |
| 199 | }, { |
| 200 | key: "getDocumentType", |
| 201 | value: function getDocumentType() { |
| 202 | var _elementor$config$doc, _elementor; |
| 203 | var DEFAULT_TYPE = 'default'; |
| 204 | if ('undefined' === typeof window.elementor) { |
| 205 | return DEFAULT_TYPE; |
| 206 | } |
| 207 | return (_elementor$config$doc = (_elementor = elementor) === null || _elementor === void 0 || (_elementor = _elementor.config) === null || _elementor === void 0 || (_elementor = _elementor.document) === null || _elementor === void 0 ? void 0 : _elementor.type) !== null && _elementor$config$doc !== void 0 ? _elementor$config$doc : DEFAULT_TYPE; |
| 208 | } |
| 209 | }, { |
| 210 | key: "isFloatingButtonLibraryClose", |
| 211 | value: function isFloatingButtonLibraryClose() { |
| 212 | var _elementor$config, _elementor$config2; |
| 213 | return window.elementor && ((_elementor$config = elementor.config) === null || _elementor$config === void 0 ? void 0 : _elementor$config.admin_floating_button_admin_url) && 'floating-buttons' === ((_elementor$config2 = elementor.config) === null || _elementor$config2 === void 0 || (_elementor$config2 = _elementor$config2.document) === null || _elementor$config2 === void 0 ? void 0 : _elementor$config2.type) && (this.$el.closest('.dialog-lightbox-widget-content').find('.elementor-template-library-template-floating_button').length || this.$el.closest('.dialog-lightbox-widget-content').find('#elementor-template-library-preview').length || this.$el.closest('.dialog-lightbox-widget-content').find('#elementor-template-library-templates-empty').length); |
| 214 | } |
| 215 | }]); |
| 216 | }(Marionette.LayoutView); |
| 217 | |
| 218 | /***/ }), |
| 219 | |
| 220 | /***/ "../core/common/assets/js/views/modal/layout.js": |
| 221 | /*!******************************************************!*\ |
| 222 | !*** ../core/common/assets/js/views/modal/layout.js ***! |
| 223 | \******************************************************/ |
| 224 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 225 | |
| 226 | "use strict"; |
| 227 | |
| 228 | |
| 229 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 230 | Object.defineProperty(exports, "__esModule", ({ |
| 231 | value: true |
| 232 | })); |
| 233 | exports["default"] = void 0; |
| 234 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 235 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 236 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 237 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 238 | var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); |
| 239 | var _header = _interopRequireDefault(__webpack_require__(/*! ./header */ "../core/common/assets/js/views/modal/header.js")); |
| 240 | var _logo = _interopRequireDefault(__webpack_require__(/*! ./logo */ "../core/common/assets/js/views/modal/logo.js")); |
| 241 | var _loading = _interopRequireDefault(__webpack_require__(/*! ./loading */ "../core/common/assets/js/views/modal/loading.js")); |
| 242 | 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)); } |
| 243 | function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } |
| 244 | var _default = exports["default"] = /*#__PURE__*/function (_Marionette$LayoutVie) { |
| 245 | function _default() { |
| 246 | (0, _classCallCheck2.default)(this, _default); |
| 247 | return _callSuper(this, _default, arguments); |
| 248 | } |
| 249 | (0, _inherits2.default)(_default, _Marionette$LayoutVie); |
| 250 | return (0, _createClass2.default)(_default, [{ |
| 251 | key: "el", |
| 252 | value: function el() { |
| 253 | return this.getModal().getElements('widget'); |
| 254 | } |
| 255 | }, { |
| 256 | key: "regions", |
| 257 | value: function regions() { |
| 258 | return { |
| 259 | modalHeader: '.dialog-header', |
| 260 | modalContent: '.dialog-lightbox-content', |
| 261 | modalLoading: '.dialog-lightbox-loading' |
| 262 | }; |
| 263 | } |
| 264 | }, { |
| 265 | key: "initialize", |
| 266 | value: function initialize() { |
| 267 | this.modalHeader.show(new _header.default(this.getHeaderOptions())); |
| 268 | } |
| 269 | }, { |
| 270 | key: "getModal", |
| 271 | value: function getModal() { |
| 272 | if (!this.modal) { |
| 273 | this.initModal(); |
| 274 | } |
| 275 | return this.modal; |
| 276 | } |
| 277 | }, { |
| 278 | key: "initModal", |
| 279 | value: function initModal() { |
| 280 | var modalOptions = { |
| 281 | className: 'elementor-templates-modal', |
| 282 | closeButton: false, |
| 283 | draggable: false, |
| 284 | hide: { |
| 285 | onOutsideClick: false, |
| 286 | onEscKeyPress: false |
| 287 | } |
| 288 | }; |
| 289 | jQuery.extend(true, modalOptions, this.getModalOptions()); |
| 290 | this.modal = elementorCommon.dialogsManager.createWidget('lightbox', modalOptions); |
| 291 | this.modal.getElements('message').append(this.modal.addElement('content'), this.modal.addElement('loading')); |
| 292 | if (modalOptions.draggable) { |
| 293 | this.draggableModal(); |
| 294 | } |
| 295 | } |
| 296 | }, { |
| 297 | key: "showModal", |
| 298 | value: function showModal() { |
| 299 | this.getModal().show(); |
| 300 | } |
| 301 | }, { |
| 302 | key: "hideModal", |
| 303 | value: function hideModal() { |
| 304 | this.getModal().hide(); |
| 305 | } |
| 306 | }, { |
| 307 | key: "draggableModal", |
| 308 | value: function draggableModal() { |
| 309 | var $modalWidgetContent = this.getModal().getElements('widgetContent'); |
| 310 | $modalWidgetContent.draggable({ |
| 311 | containment: 'parent', |
| 312 | stop: function stop() { |
| 313 | $modalWidgetContent.height(''); |
| 314 | } |
| 315 | }); |
| 316 | $modalWidgetContent.css('position', 'absolute'); |
| 317 | } |
| 318 | }, { |
| 319 | key: "getModalOptions", |
| 320 | value: function getModalOptions() { |
| 321 | return {}; |
| 322 | } |
| 323 | }, { |
| 324 | key: "getLogoOptions", |
| 325 | value: function getLogoOptions() { |
| 326 | return {}; |
| 327 | } |
| 328 | }, { |
| 329 | key: "getHeaderOptions", |
| 330 | value: function getHeaderOptions() { |
| 331 | return { |
| 332 | closeType: 'normal' |
| 333 | }; |
| 334 | } |
| 335 | }, { |
| 336 | key: "getHeaderView", |
| 337 | value: function getHeaderView() { |
| 338 | return this.modalHeader.currentView; |
| 339 | } |
| 340 | }, { |
| 341 | key: "showLoadingView", |
| 342 | value: function showLoadingView() { |
| 343 | this.modalLoading.show(new _loading.default()); |
| 344 | this.modalLoading.$el.show(); |
| 345 | this.modalContent.$el.hide(); |
| 346 | } |
| 347 | }, { |
| 348 | key: "hideLoadingView", |
| 349 | value: function hideLoadingView() { |
| 350 | this.modalContent.$el.show(); |
| 351 | this.modalLoading.$el.hide(); |
| 352 | } |
| 353 | }, { |
| 354 | key: "showLogo", |
| 355 | value: function showLogo() { |
| 356 | this.getHeaderView().logoArea.show(new _logo.default(this.getLogoOptions())); |
| 357 | } |
| 358 | }]); |
| 359 | }(Marionette.LayoutView); |
| 360 | |
| 361 | /***/ }), |
| 362 | |
| 363 | /***/ "../core/common/assets/js/views/modal/loading.js": |
| 364 | /*!*******************************************************!*\ |
| 365 | !*** ../core/common/assets/js/views/modal/loading.js ***! |
| 366 | \*******************************************************/ |
| 367 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 368 | |
| 369 | "use strict"; |
| 370 | |
| 371 | |
| 372 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 373 | Object.defineProperty(exports, "__esModule", ({ |
| 374 | value: true |
| 375 | })); |
| 376 | exports["default"] = void 0; |
| 377 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 378 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 379 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 380 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 381 | var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); |
| 382 | 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)); } |
| 383 | function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } |
| 384 | var _default = exports["default"] = /*#__PURE__*/function (_Marionette$ItemView) { |
| 385 | function _default() { |
| 386 | (0, _classCallCheck2.default)(this, _default); |
| 387 | return _callSuper(this, _default, arguments); |
| 388 | } |
| 389 | (0, _inherits2.default)(_default, _Marionette$ItemView); |
| 390 | return (0, _createClass2.default)(_default, [{ |
| 391 | key: "id", |
| 392 | value: function id() { |
| 393 | return 'elementor-template-library-loading'; |
| 394 | } |
| 395 | }, { |
| 396 | key: "getTemplate", |
| 397 | value: function getTemplate() { |
| 398 | return '#tmpl-elementor-template-library-loading'; |
| 399 | } |
| 400 | }]); |
| 401 | }(Marionette.ItemView); |
| 402 | |
| 403 | /***/ }), |
| 404 | |
| 405 | /***/ "../core/common/assets/js/views/modal/logo.js": |
| 406 | /*!****************************************************!*\ |
| 407 | !*** ../core/common/assets/js/views/modal/logo.js ***! |
| 408 | \****************************************************/ |
| 409 | /***/ ((__unused_webpack_module, exports, __webpack_require__) => { |
| 410 | |
| 411 | "use strict"; |
| 412 | |
| 413 | |
| 414 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 415 | Object.defineProperty(exports, "__esModule", ({ |
| 416 | value: true |
| 417 | })); |
| 418 | exports["default"] = void 0; |
| 419 | var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "../node_modules/@babel/runtime/helpers/classCallCheck.js")); |
| 420 | var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ "../node_modules/@babel/runtime/helpers/createClass.js")); |
| 421 | var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js")); |
| 422 | var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js")); |
| 423 | var _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ "../node_modules/@babel/runtime/helpers/inherits.js")); |
| 424 | 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)); } |
| 425 | function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } |
| 426 | var _default = exports["default"] = /*#__PURE__*/function (_Marionette$ItemView) { |
| 427 | function _default() { |
| 428 | (0, _classCallCheck2.default)(this, _default); |
| 429 | return _callSuper(this, _default, arguments); |
| 430 | } |
| 431 | (0, _inherits2.default)(_default, _Marionette$ItemView); |
| 432 | return (0, _createClass2.default)(_default, [{ |
| 433 | key: "getTemplate", |
| 434 | value: function getTemplate() { |
| 435 | return '#tmpl-elementor-templates-modal__header__logo'; |
| 436 | } |
| 437 | }, { |
| 438 | key: "className", |
| 439 | value: function className() { |
| 440 | return 'elementor-templates-modal__header__logo'; |
| 441 | } |
| 442 | }, { |
| 443 | key: "events", |
| 444 | value: function events() { |
| 445 | return { |
| 446 | click: 'onClick' |
| 447 | }; |
| 448 | } |
| 449 | }, { |
| 450 | key: "templateHelpers", |
| 451 | value: function templateHelpers() { |
| 452 | return { |
| 453 | title: this.getOption('title') |
| 454 | }; |
| 455 | } |
| 456 | }, { |
| 457 | key: "onClick", |
| 458 | value: function onClick() { |
| 459 | var clickCallback = this.getOption('click'); |
| 460 | if (clickCallback) { |
| 461 | clickCallback(); |
| 462 | } |
| 463 | } |
| 464 | }]); |
| 465 | }(Marionette.ItemView); |
| 466 | |
| 467 | /***/ }), |
| 468 | |
| 469 | /***/ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js": |
| 470 | /*!***********************************************************************!*\ |
| 471 | !*** ../node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! |
| 472 | \***********************************************************************/ |
| 473 | /***/ ((module) => { |
| 474 | |
| 475 | function _assertThisInitialized(e) { |
| 476 | if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); |
| 477 | return e; |
| 478 | } |
| 479 | module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 480 | |
| 481 | /***/ }), |
| 482 | |
| 483 | /***/ "../node_modules/@babel/runtime/helpers/classCallCheck.js": |
| 484 | /*!****************************************************************!*\ |
| 485 | !*** ../node_modules/@babel/runtime/helpers/classCallCheck.js ***! |
| 486 | \****************************************************************/ |
| 487 | /***/ ((module) => { |
| 488 | |
| 489 | function _classCallCheck(a, n) { |
| 490 | if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); |
| 491 | } |
| 492 | module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 493 | |
| 494 | /***/ }), |
| 495 | |
| 496 | /***/ "../node_modules/@babel/runtime/helpers/createClass.js": |
| 497 | /*!*************************************************************!*\ |
| 498 | !*** ../node_modules/@babel/runtime/helpers/createClass.js ***! |
| 499 | \*************************************************************/ |
| 500 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 501 | |
| 502 | var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); |
| 503 | function _defineProperties(e, r) { |
| 504 | for (var t = 0; t < r.length; t++) { |
| 505 | var o = r[t]; |
| 506 | o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o); |
| 507 | } |
| 508 | } |
| 509 | function _createClass(e, r, t) { |
| 510 | return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { |
| 511 | writable: !1 |
| 512 | }), e; |
| 513 | } |
| 514 | module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 515 | |
| 516 | /***/ }), |
| 517 | |
| 518 | /***/ "../node_modules/@babel/runtime/helpers/get.js": |
| 519 | /*!*****************************************************!*\ |
| 520 | !*** ../node_modules/@babel/runtime/helpers/get.js ***! |
| 521 | \*****************************************************/ |
| 522 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 523 | |
| 524 | var superPropBase = __webpack_require__(/*! ./superPropBase.js */ "../node_modules/@babel/runtime/helpers/superPropBase.js"); |
| 525 | function _get() { |
| 526 | return module.exports = _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) { |
| 527 | var p = superPropBase(e, t); |
| 528 | if (p) { |
| 529 | var n = Object.getOwnPropertyDescriptor(p, t); |
| 530 | return n.get ? n.get.call(arguments.length < 3 ? e : r) : n.value; |
| 531 | } |
| 532 | }, module.exports.__esModule = true, module.exports["default"] = module.exports, _get.apply(null, arguments); |
| 533 | } |
| 534 | module.exports = _get, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 535 | |
| 536 | /***/ }), |
| 537 | |
| 538 | /***/ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js": |
| 539 | /*!****************************************************************!*\ |
| 540 | !*** ../node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! |
| 541 | \****************************************************************/ |
| 542 | /***/ ((module) => { |
| 543 | |
| 544 | function _getPrototypeOf(t) { |
| 545 | return module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { |
| 546 | return t.__proto__ || Object.getPrototypeOf(t); |
| 547 | }, module.exports.__esModule = true, module.exports["default"] = module.exports, _getPrototypeOf(t); |
| 548 | } |
| 549 | module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 550 | |
| 551 | /***/ }), |
| 552 | |
| 553 | /***/ "../node_modules/@babel/runtime/helpers/inherits.js": |
| 554 | /*!**********************************************************!*\ |
| 555 | !*** ../node_modules/@babel/runtime/helpers/inherits.js ***! |
| 556 | \**********************************************************/ |
| 557 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 558 | |
| 559 | var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js"); |
| 560 | function _inherits(t, e) { |
| 561 | if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); |
| 562 | t.prototype = Object.create(e && e.prototype, { |
| 563 | constructor: { |
| 564 | value: t, |
| 565 | writable: !0, |
| 566 | configurable: !0 |
| 567 | } |
| 568 | }), Object.defineProperty(t, "prototype", { |
| 569 | writable: !1 |
| 570 | }), e && setPrototypeOf(t, e); |
| 571 | } |
| 572 | module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 573 | |
| 574 | /***/ }), |
| 575 | |
| 576 | /***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": |
| 577 | /*!***********************************************************************!*\ |
| 578 | !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! |
| 579 | \***********************************************************************/ |
| 580 | /***/ ((module) => { |
| 581 | |
| 582 | function _interopRequireDefault(e) { |
| 583 | return e && e.__esModule ? e : { |
| 584 | "default": e |
| 585 | }; |
| 586 | } |
| 587 | module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 588 | |
| 589 | /***/ }), |
| 590 | |
| 591 | /***/ "../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": |
| 592 | /*!***************************************************************************!*\ |
| 593 | !*** ../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! |
| 594 | \***************************************************************************/ |
| 595 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 596 | |
| 597 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 598 | var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized.js */ "../node_modules/@babel/runtime/helpers/assertThisInitialized.js"); |
| 599 | function _possibleConstructorReturn(t, e) { |
| 600 | if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; |
| 601 | if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); |
| 602 | return assertThisInitialized(t); |
| 603 | } |
| 604 | module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 605 | |
| 606 | /***/ }), |
| 607 | |
| 608 | /***/ "../node_modules/@babel/runtime/helpers/setPrototypeOf.js": |
| 609 | /*!****************************************************************!*\ |
| 610 | !*** ../node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! |
| 611 | \****************************************************************/ |
| 612 | /***/ ((module) => { |
| 613 | |
| 614 | function _setPrototypeOf(t, e) { |
| 615 | return module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { |
| 616 | return t.__proto__ = e, t; |
| 617 | }, module.exports.__esModule = true, module.exports["default"] = module.exports, _setPrototypeOf(t, e); |
| 618 | } |
| 619 | module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 620 | |
| 621 | /***/ }), |
| 622 | |
| 623 | /***/ "../node_modules/@babel/runtime/helpers/superPropBase.js": |
| 624 | /*!***************************************************************!*\ |
| 625 | !*** ../node_modules/@babel/runtime/helpers/superPropBase.js ***! |
| 626 | \***************************************************************/ |
| 627 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 628 | |
| 629 | var getPrototypeOf = __webpack_require__(/*! ./getPrototypeOf.js */ "../node_modules/@babel/runtime/helpers/getPrototypeOf.js"); |
| 630 | function _superPropBase(t, o) { |
| 631 | for (; !{}.hasOwnProperty.call(t, o) && null !== (t = getPrototypeOf(t));); |
| 632 | return t; |
| 633 | } |
| 634 | module.exports = _superPropBase, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 635 | |
| 636 | /***/ }), |
| 637 | |
| 638 | /***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": |
| 639 | /*!*************************************************************!*\ |
| 640 | !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! |
| 641 | \*************************************************************/ |
| 642 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 643 | |
| 644 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 645 | function toPrimitive(t, r) { |
| 646 | if ("object" != _typeof(t) || !t) return t; |
| 647 | var e = t[Symbol.toPrimitive]; |
| 648 | if (void 0 !== e) { |
| 649 | var i = e.call(t, r || "default"); |
| 650 | if ("object" != _typeof(i)) return i; |
| 651 | throw new TypeError("@@toPrimitive must return a primitive value."); |
| 652 | } |
| 653 | return ("string" === r ? String : Number)(t); |
| 654 | } |
| 655 | module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 656 | |
| 657 | /***/ }), |
| 658 | |
| 659 | /***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": |
| 660 | /*!***************************************************************!*\ |
| 661 | !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! |
| 662 | \***************************************************************/ |
| 663 | /***/ ((module, __unused_webpack_exports, __webpack_require__) => { |
| 664 | |
| 665 | var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); |
| 666 | var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); |
| 667 | function toPropertyKey(t) { |
| 668 | var i = toPrimitive(t, "string"); |
| 669 | return "symbol" == _typeof(i) ? i : i + ""; |
| 670 | } |
| 671 | module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 672 | |
| 673 | /***/ }), |
| 674 | |
| 675 | /***/ "../node_modules/@babel/runtime/helpers/typeof.js": |
| 676 | /*!********************************************************!*\ |
| 677 | !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! |
| 678 | \********************************************************/ |
| 679 | /***/ ((module) => { |
| 680 | |
| 681 | function _typeof(o) { |
| 682 | "@babel/helpers - typeof"; |
| 683 | |
| 684 | return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { |
| 685 | return typeof o; |
| 686 | } : function (o) { |
| 687 | return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; |
| 688 | }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); |
| 689 | } |
| 690 | module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; |
| 691 | |
| 692 | /***/ }), |
| 693 | |
| 694 | /***/ "@wordpress/i18n": |
| 695 | /*!**************************!*\ |
| 696 | !*** external "wp.i18n" ***! |
| 697 | \**************************/ |
| 698 | /***/ ((module) => { |
| 699 | |
| 700 | "use strict"; |
| 701 | module.exports = wp.i18n; |
| 702 | |
| 703 | /***/ }) |
| 704 | |
| 705 | /******/ }); |
| 706 | /************************************************************************/ |
| 707 | /******/ // The module cache |
| 708 | /******/ var __webpack_module_cache__ = {}; |
| 709 | /******/ |
| 710 | /******/ // The require function |
| 711 | /******/ function __webpack_require__(moduleId) { |
| 712 | /******/ // Check if module is in cache |
| 713 | /******/ var cachedModule = __webpack_module_cache__[moduleId]; |
| 714 | /******/ if (cachedModule !== undefined) { |
| 715 | /******/ return cachedModule.exports; |
| 716 | /******/ } |
| 717 | /******/ // Create a new module (and put it into the cache) |
| 718 | /******/ var module = __webpack_module_cache__[moduleId] = { |
| 719 | /******/ // no module.id needed |
| 720 | /******/ // no module.loaded needed |
| 721 | /******/ exports: {} |
| 722 | /******/ }; |
| 723 | /******/ |
| 724 | /******/ // Execute the module function |
| 725 | /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); |
| 726 | /******/ |
| 727 | /******/ // Return the exports of the module |
| 728 | /******/ return module.exports; |
| 729 | /******/ } |
| 730 | /******/ |
| 731 | /************************************************************************/ |
| 732 | var __webpack_exports__ = {}; |
| 733 | // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. |
| 734 | (() => { |
| 735 | "use strict"; |
| 736 | /*!*************************************************************************!*\ |
| 737 | !*** ../assets/dev/js/admin/floating-elements/new-floating-elements.js ***! |
| 738 | \*************************************************************************/ |
| 739 | |
| 740 | |
| 741 | var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); |
| 742 | var _layout = _interopRequireDefault(__webpack_require__(/*! elementor-admin/floating-elements/layout */ "../assets/dev/js/admin/floating-elements/layout.js")); |
| 743 | var NewFloatingElementsModule = elementorModules.ViewModule.extend({ |
| 744 | getDefaultSettings: function getDefaultSettings() { |
| 745 | return { |
| 746 | selectors: { |
| 747 | addButtonTopBar: 'a.page-title-action[href*="e-floating-buttons"]', |
| 748 | addButtonAdminBar: '#wp-admin-bar-new-e-floating-buttons a', |
| 749 | addButtonEmptyTemplate: '#elementor-template-library-add-new' |
| 750 | } |
| 751 | }; |
| 752 | }, |
| 753 | getDefaultElements: function getDefaultElements() { |
| 754 | var selectors = this.getSettings('selectors'); |
| 755 | return { |
| 756 | addButtonTopBar: document.querySelector(selectors.addButtonTopBar), |
| 757 | addButtonAdminBar: document.querySelector(selectors.addButtonAdminBar), |
| 758 | addButtonEmptyTemplate: document.querySelector(selectors.addButtonEmptyTemplate) |
| 759 | }; |
| 760 | }, |
| 761 | bindEvents: function bindEvents() { |
| 762 | if (this.elements.addButtonTopBar !== null) { |
| 763 | this.elements.addButtonTopBar.addEventListener('click', this.onAddButtonClick); |
| 764 | } |
| 765 | if (this.elements.addButtonAdminBar !== null) { |
| 766 | this.elements.addButtonAdminBar.addEventListener('click', this.onAddButtonClick); |
| 767 | } |
| 768 | if (this.elements.addButtonEmptyTemplate !== null) { |
| 769 | this.elements.addButtonEmptyTemplate.addEventListener('click', this.onAddButtonClick); |
| 770 | } |
| 771 | }, |
| 772 | onInit: function onInit() { |
| 773 | elementorModules.ViewModule.prototype.onInit.apply(this, arguments); |
| 774 | this.layout = new _layout.default(); |
| 775 | }, |
| 776 | onAddButtonClick: function onAddButtonClick(event) { |
| 777 | event.preventDefault(); |
| 778 | this.layout.showModal(); |
| 779 | } |
| 780 | }); |
| 781 | document.addEventListener('DOMContentLoaded', function () { |
| 782 | window.elementorNewFloatingElements = new NewFloatingElementsModule(); |
| 783 | }); |
| 784 | })(); |
| 785 | |
| 786 | /******/ })() |
| 787 | ; |
| 788 | //# sourceMappingURL=floating-elements-modal.js.map |