Файловый менеджер - Редактировать - /home/adiggxhn/it-latam.com/wp-content/plugins/uicore-elements/assets/js/components/nested-elements.js
Ðазад
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_toPropertyKey(r.key),r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){e=_toPrimitive(e,"string");return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){if("object"!=_typeof(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}function _callSuper(e,t,n){return t=_getPrototypeOf(t),_possibleConstructorReturn(e,_isNativeReflectConstruct()?Reflect.construct(t,n||[],_getPrototypeOf(e).constructor):t.apply(e,n))}function _possibleConstructorReturn(e,t){if(t&&("object"==_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}elementorCommon.elements.$window.on("elementor/nested-element-type-loaded",function(){var t=function(){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,$e.components.get("nested-elements").exports.NestedView),_createClass(e,[{key:"filter",value:function(e,t){return e.attributes.dataIndex=t+1,!0}},{key:"onAddChild",value:function(e){var t=null==(t=e._parent.$el.find(".e-n-tabs")[0])?void 0:t.dataset.widgetNumber,n=e.model.attributes.dataIndex,r=null==(r=e._parent.$el.find('.e-n-tab-title[data-tab-index="'.concat(n,'"]')))?void 0:r.attr("id");e.$el.attr({id:"ui-e-tab-content-"+t+n,role:"tabpanel","aria-labelledby":r,"data-tab-index":n,style:"--ui-e-tabs-order: "+n+";"}),elementor.previewView.isBuffering&&1===n&&e.$el.addClass("e-active")}}])}(),n=function(){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,$e.components.get("nested-elements").exports.NestedView),_createClass(e,[{key:"onAddChild",value:function(e){e.$el.addClass("ui-e-item")}}])}(),r=function(){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,$e.components.get("nested-elements").exports.NestedView),_createClass(e,[{key:"onAddChild",value:function(e){var t=e._parent.$el.find(".ui-e-table")[0].style.getPropertyValue("--ui-e-cols-qty"),n=e.$el,r=e._index+1,o=Math.floor((r-1)/t)%2!=0?"ui-e-even":"ui-e-odd";e.$el.addClass(o),n.addClass("ui-e-table-cell").addClass("ui-e-item"),(r-1)%t==0?e.$el.addClass("ui-e-first-row-cel"):r%t==0&&e.$el.addClass("ui-e-last-row-cel")}}])}(),e=function(){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,elementor.modules.elements.types.NestedElementBase),_createClass(e,[{key:"getType",value:function(){return"uicore-tabs"}},{key:"getView",value:function(){return t}}])}(),o=function(){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,elementor.modules.elements.types.NestedElementBase),_createClass(e,[{key:"getType",value:function(){return"uicore-custom-carousel"}},{key:"getView",value:function(){return n}}])}(),i=function(){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,elementor.modules.elements.types.NestedElementBase),_createClass(e,[{key:"getType",value:function(){return"uicore-custom-slider"}},{key:"getView",value:function(){return n}}])}(),l=function(){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,elementor.modules.elements.types.NestedElementBase),_createClass(e,[{key:"getType",value:function(){return"uicore-custom-table"}},{key:"getView",value:function(){return r}}])}();elementor.elementsManager.registerElementType(new e),elementor.elementsManager.registerElementType(new o),elementor.elementsManager.registerElementType(new i),elementor.elementsManager.registerElementType(new l)});
| ver. 1.1 | |
.
| PHP 8.4.20 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0.19 |
proxy
|
phpinfo
|
ÐаÑтройка