Files
HotelRaxa/wp-content/plugins/elementor/assets/js/container-converter.min.js

2 lines
19 KiB
JavaScript
Raw Permalink Normal View History

Hotel Raxa - Advanced Booking System Implementation 🏨 Hotel Booking Enhancements: - Implemented Eagle Booking Advanced Pricing add-on - Added Booking.com-style rate management system - Created professional calendar interface for pricing - Integrated deals and discounts functionality 💰 Advanced Pricing Features: - Dynamic pricing models (per room, per person, per adult) - Base rates, adult rates, and child rates management - Length of stay discounts and early bird deals - Mobile rates and secret deals implementation - Seasonal promotions and flash sales 📅 Availability Management: - Real-time availability tracking - Stop sell and restriction controls - Closed to arrival/departure functionality - Minimum/maximum stay requirements - Automatic sold-out management 💳 Payment Integration: - Maintained Redsys payment gateway integration - Seamless integration with existing Eagle Booking - No modifications to core Eagle Booking plugin 🛠️ Technical Implementation: - Custom database tables for advanced pricing - WordPress hooks and filters integration - AJAX-powered admin interface - Data migration from existing Eagle Booking - Professional calendar view for revenue management 📊 Admin Interface: - Booking.com-style management dashboard - Visual rate and availability calendar - Bulk operations for date ranges - Statistics and analytics dashboard - Modal dialogs for quick editing 🔧 Code Quality: - WordPress coding standards compliance - Secure database operations with prepared statements - Proper input validation and sanitization - Error handling and logging - Responsive admin interface 🤖 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 07:43:22 +02:00
/*! elementor - v3.24.0 - 15-10-2024 */
(()=>{var e={88852:(e,t,r)=>{"use strict";var n=r(38003).__,o=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.ConvertAll=void 0;var u=o(r(9833)),i=o(r(78983)),a=o(r(42081)),l=o(r(58724)),c=o(r(71173)),s=o(r(74910));function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var r,n=(0,s.default)(e);if(t){var o=(0,s.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,c.default)(this,r)}}var f=function(e){(0,l.default)(ConvertAll,e);var t=_createSuper(ConvertAll);function ConvertAll(){return(0,i.default)(this,ConvertAll),t.apply(this,arguments)}return(0,a.default)(ConvertAll,[{key:"getHistory",value:function getHistory(){return{type:n("Converted to Containers","elementor"),title:n("All Content","elementor")}}},{key:"apply",value:function apply(){var e=elementor.getPreviewContainer().children;(0,u.default)(e).forEach((function(e){$e.run("container-converter/convert",{container:e})}))}}]),ConvertAll}($e.modules.editor.document.CommandHistoryBase);t.ConvertAll=f},91354:(e,t,r)=>{"use strict";var n=r(38003).__,o=r(73203);Object.defineProperty(t,"__esModule",{value:!0}),t.Convert=void 0;var u=o(r(78983)),i=o(r(42081)),a=o(r(58724)),l=o(r(71173)),c=o(r(74910)),s=o(r(91341));function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var r,n=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,l.default)(this,r)}}var f=function(e){(0,a.default)(Convert,e);var t=_createSuper(Convert);function Convert(){return(0,u.default)(this,Convert),t.apply(this,arguments)}return(0,i.default)(Convert,[{key:"getHistory",value:function getHistory(){return{type:n("Converted to Container","elementor"),title:n("Section","elementor")}}},{key:"validateArgs",value:function validateArgs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.requireContainer(e)}},{key:"apply",value:function apply(e){this.constructor.convert(e)}}],[{key:"convert",value:function convert(e){var t=e.container,r=e.rootContainer,n=void 0===r?t.parent:r,o=t.view,u=t.type,i=n===t.parent?o._index+1:o._index;if(s.default.canConvertToContainer(u)){var a=t.model.toJSON(),l=s.default.getLegacyControlsMapping(a),c=t.settings.toJSON({remove:"default"});c=s.default.migrate(c,l),c=s.default.normalizeSettings(a,c);var f=$e.run("document/elements/create",{model:{elType:"container",settings:c},container:n,options:{at:i,edit:!1}});t.children.forEach((function(e){$e.run("container-converter/convert",{container:e,rootContainer:f})}))}else $e.run("document/elements/create",{model:{elType:t.model.get("elType"),widgetType:t.model.get("widgetType"),settings:t.settings.toJSON({remove:"default"})},container:n,options:{at:i,edit:!1}})}}]),Convert}($e.modules.editor.document.CommandHistoryBase);t.Convert=f},89470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Convert",{enumerable:!0,get:function get(){return n.Convert}}),Object.defineProperty(t,"ConvertAll",{enumerable:!0,get:function get(){return o.ConvertAll}});var n=r(91354),o=r(88852)},77417:(e,t,r)=>{"use strict";var n=r(38003).__,o=r(73203),u=r(7501);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(78983)),a=o(r(42081)),l=o(r(58724)),c=o(r(71173)),s=o(r(74910)),f=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache(t);if(r&