Файловый менеджер - Редактировать - /home/digitalm/invisalign/wp-content/themes/healthy-smiles/assets/js/kits-controls.js
Назад
/*! Healthy Smiles - v1.0.10 - 24-03-2023 */ /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 4); /******/ }) /************************************************************************/ /******/ ({ /***/ 18: /***/ (function(module, exports, __webpack_require__) { var map = { "./custom-repeater": 7, "./custom-repeater-child": 5, "./custom-repeater-child.js": 5, "./custom-repeater.js": 7, "./kits-controls": 4, "./kits-controls.js": 4, "./selectize": 8, "./selectize.js": 8 }; function webpackContext(req) { var id = webpackContextResolve(req); return __webpack_require__(id); } function webpackContextResolve(req) { if(!__webpack_require__.o(map, req)) { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; } return map[req]; } webpackContext.keys = function webpackContextKeys() { return Object.keys(map); }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; webpackContext.id = 18; /***/ }), /***/ 4: /***/ (function(module, exports, __webpack_require__) { "use strict"; /** * CMSMasters custom editor script. * * Constructs main `Editor` script that is responsible for * editor elementor modules scripts. * * @since 1.0.0 * * @augments `Marionette.Application` */ var CmsmastersElementor = Marionette.Application.extend({ /** * Elementor editor custom controls handlers. * * Must be in folder format with lowercase words and `-` * instead of space or underline. * * @since 1.0.0 * @type {Array} * @default */ customControls: ['selectize', 'custom-repeater'], /** * Elementor editor inherited controls handlers. * * Must be in folder format with lowercase words and `-` * instead of space or underline. * * @since 1.0.0 * @type {Object} * @default */ inheritedControls: { choose_text: 'choose' }, /** * Initialized elementor editor custom controls. * * @since 1.0.0 * @type {Object} */ controls: {}, /** * Initialize elementor editor scripts. * * @since 1.0.0 */ onStart: function onStart() { jQuery(window).on('elementor:init', this.onElementorInit.bind(this)); }, /** * Prepare arguments. * * Adds `cmsmasters_` prefix to first argument of * `cmsmastersElementor.ajax` queries. * * @since 1.0.0 */ onElementorInit: function onElementorInit() { this.initControls(); }, /** * CMSMasters elementor controls manager. * * Extends elementor editor with cmsmasters controls. * * @since 1.0.0 */ initControls: function initControls() { var _this = this; _.each(this.customControls, function (controlDir) { var controlName = _this.getControlName(controlDir); _this.controls[controlName] = __webpack_require__(18)("./".concat(controlDir)); }); jQuery.each(this.inheritedControls, function (control, inheritedControlView) { var controlName = _this.getControlName(control); _this.controls[controlName] = elementor.getControlView(inheritedControlView); }); this.addControls(); }, /** * Retrieves valid elementor editor control name. * * @since 1.0.0 * * @param {string} controlName Control name handler. * * @return {string} Valid elementor editor control name. */ getControlName: function getControlName(controlName) { return controlName.replace(/-/g, '_').replace(/^\w/, function (firstSymbol) { return firstSymbol.toUpperCase(); }); }, /** * Adds cmsmasters controls for elementor editor. * * @since 1.0.0 */ addControls: function addControls() { jQuery.each(this.controls, function (handlerName, control) { elementor.addControlView(handlerName, control); }); } }); /** * @name cmsmastersElementor * @global */ window.cmsmastersElementor = new CmsmastersElementor(); /** @fires CmsmastersElementor#onStart */ cmsmastersElementor.start(); /***/ }), /***/ 5: /***/ (function(module, exports, __webpack_require__) { "use strict"; var RepeaterRow = elementor.modules.controls.RepeaterRow; module.exports = RepeaterRow.extend({ id: function id() { return 'elementor-custom-repeater-id-' + this.model.get('_id'); }, initialize: function initialize() { RepeaterRow.prototype.initialize.apply(this, arguments); } }); /***/ }), /***/ 7: /***/ (function(module, exports, __webpack_require__) { "use strict"; var Repeater = elementor.modules.controls.Repeater; module.exports = Repeater.extend({ childView: __webpack_require__(5), initialize: function initialize() { Repeater.prototype.initialize.apply(this, arguments); }, updateActiveRow: function updateActiveRow() {} }); /***/ }), /***/ 8: /***/ (function(module, exports, __webpack_require__) { "use strict"; var Base = elementor.getControlView('baseData'); module.exports = Base.extend({ api: null, onReady: function onReady() { this.api = this.ui.select.selectize(this.getSelectizeOptions())[0].selectize; }, getSelectizeOptions: function getSelectizeOptions() { return jQuery.extend(this.getDefaultSelectizeOptions(), this.model.get('control_options')); }, getDefaultSelectizeOptions: function getDefaultSelectizeOptions() { return { plugins: ['remove_button'] }; }, getOptions: function getOptions() { var options = this.model.get('options'); return Object.keys(options).map(function (key) { return { value: key, text: options[key] }; }); }, getControlValue: function getControlValue() { return Base.prototype.getControlValue.apply(this, arguments); }, onBeforeDestroy: function onBeforeDestroy() { if (this.ui.select.data('selectize')) { this.api.destroy(); } this.$el.remove(); } }); /***/ }) /******/ }); //# sourceMappingURL=kits-controls.js.map
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.03 |
proxy
|
phpinfo
|
Настройка