![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/vendor/magento/module-page-builder/view/adminhtml/web/js/panel/ |
/*eslint-disable */ /* jscs:disable */ define(["knockout"], function (_knockout) { /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ var Menu = /*#__PURE__*/function () { "use strict"; /** * Menu constructor * * @param id * @param menu * @param contentTypes * @param stageId */ function Menu(id, menu, contentTypes, stageId) { if (contentTypes === void 0) { contentTypes = []; } this.hidden = _knockout.observable(false); this.id = _knockout.observable(); this.code = _knockout.observable(""); this.label = _knockout.observable(""); this.icon = _knockout.observable(""); this.sort = _knockout.observable(); this.contentTypes = _knockout.observableArray([]); this.active = _knockout.observable(false); this.id(id); this.code(menu.code); this.label(menu.label); this.icon(menu.icon); this.sort(menu.sort); this.contentTypes(contentTypes); this.stageId = stageId; } /** * Toggle the menu */ var _proto = Menu.prototype; _proto.toggle = function toggle() { this.active(!this.active()); }; return Menu; }(); return { Menu: Menu }; }); //# sourceMappingURL=menu.js.map