1 line
5.5 KiB
JavaScript
1 line
5.5 KiB
JavaScript
|
"use strict";(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["BaseWindowController"],{1807:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"BaseWindowController\": () => (/* binding */ BaseWindowController)\n/* harmony export */ });\n/* harmony import */ var _views_TTBackboneView__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6739);\n/* provided dependency */ var _ = __webpack_require__(9050);\n/* provided dependency */ var $ = __webpack_require__(9755);\n\n\nclass BaseWindowController extends _views_TTBackboneView__WEBPACK_IMPORTED_MODULE_0__.TTBackboneView {\n\tconstructor( options = {} ) {\n\t\t_.defaults( options, {} );\n\n\t\tsuper( options );\n\t}\n\n\tinitialize( options ) {\n\t\tsuper.initialize( options );\n\n\t\tthis.content_div = $( this.el ).find( '.content' );\n\t\tthis.stepsWidgetDic = {};\n\t\tthis.stepsDataDic = {};\n\n\t\tthis.default_data = BaseWizardController.default_data;\n\t\tthis.call_back = BaseWizardController.call_back;\n\n\t\tBaseWizardController.default_data = null;\n\t\tBaseWizardController.call_back = null;\n\n\t\tif ( typeof this.init == 'function' ) {\n\t\t\t//FIXME: pull this out when all wizards are refactored to the new way #1187\n\t\t\tif ( typeof this.setDefaultDataToSteps == 'function' ) {\n\t\t\t\tthis.setDefaultDataToSteps();\n\t\t\t}\n\t\t\tthis.init( options );\n\t\t\tTTPromise.resolve( 'BaseViewController', 'initialize' );\n\t\t}\n\t}\n\n\trender() {\n\t}\n\n\t// filterRequiredFiles() {\n\t// \tvar retval = [];\n\t// \tvar required_files;\n\t//\n\t// \tif ( typeof this._required_files == 'object' ) {\n\t// \t\trequired_files = this._required_files;\n\t// \t} else {\n\t// \t\trequired_files = this.getRequiredFiles();\n\t// \t}\n\t//\n\t// \tif ( required_files && required_files[0] ) {\n\t// \t\tretval = required_files;\n\t// \t} else {\n\t// \t\tfor ( var edition_id in required_files ) {\n\t// \t\t\tif ( Global.getProductEdition() >= edition_id ) {\n\t// \t\t\t\tretval = retval.concat( required_files[edition_id] );\n\t// \t\t\t}\n\t// \t\t}\n\t// \t}\n\t//\n\t// \tDebug.Arr( retval, 'RETVAL', 'BaseWindowController.js', 'BaseWindowController', 'filterRequiredFiles', 10 );\n\t// \treturn retval;\n\t// }\n\n\tpreInit() {\n\t\t//override in child class\n\t}\n\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTgwNy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQXdEOztBQUVqRCxtQ0FBbUMsaUVBQWM7QUFDeEQsMkJBQTJCO0FBQzNCLEVBQUUsQ0FBQyx1QkFBdUI7O0FBRTFCO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQSxxQkFBcUIsQ0FBQztBQUN0QjtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxPQUFPO0FBQ1A7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLE9BQU87QUFDUDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7O0FBRUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9pbnRlcmZhY2UvaHRtbDUvdmlld3MvQmFzZVdpbmRvd0NvbnRyb2xsZXIuanM/MzBiOSJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUVEJhY2tib25lVmlldyB9IGZyb20gJ0Avdmlld3MvVFRCYWNrYm9uZVZpZXcnO1xuXG5le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