text: "use strict";
  var __extends = (this && this.__extends) || (function () {
      var extendStatics = function (d, b) {
          extendStatics = Object.setPrototypeOf ||
              ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
              function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
          return extendStatics(d, b);
      };
      return function (d, b) {
          extendStatics(d, b);
          function __() { this.constructor = d; }
          d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
      };
  })();
  var __importDefault = (this && this.__importDefault) || function (mod) {
      return (mod && mod.__esModule) ? mod : { "default": mod };
  };
  Object.defineProperty(exports, "__esModule", { value: true });
  var BaseController_1 = __importDefault(require("/controllers/BaseController"));
  var indexAbstract = /** @class */ (function (_super) {
      __extends(indexAbstract, _super);
      function indexAbstract(args) {
          var _this = _super.call(this) || this;
          _this.args = args;
          _this.__controllerPath = indexAbstract.controllerPath;
          _this.__parentSymbol = args && args['__parentSymbol'] ? args['__parentSymbol'] : null;
          _this.$model = args && args['$model'] ? args['$model'] : null;
          _this.__itemTemplate = args && args['__itemTemplate'] ? args['__itemTemplate'] : null;
          // Generated code that must be executed before all UI and/or
          // controller code. One example is all model and collection
          // declarations from markup.
          // <precode>
          // </precode>
          // Generated UI code
          // <viewCode>
          _this["__alloyId0"] = Ti.UI.createWindow({ title: "Proxy Shorthands", });
          _this["__alloyId2"] = Ti.UI.createButton({ title: "Left", });
          _this["__alloyId2"] && _this.addListener(_this["__alloyId2"], 'click', _this.doLeftClick.bind(_this));
          _this["__alloyId0"].leftNavButton = _this["__alloyId2"];
          _this["__alloyId3"] = Ti.UI.createButton({ title: "Right", });
          _this["__alloyId0"].rightNavButton = _this["__alloyId3"];
          _this["__alloyId3"] && _this.addListener(_this["__alloyId3"], 'click', _this.doRightClick.bind(_this));
          _this["index"] = Ti.UI.createNavigationWindow({ backgroundColor: "#fff", fullscreen: false, exitOnClose: true, window: _this["__alloyId0"], id: "index", });
          _this["index"] && _this.addTopLevelView(_this["index"]);
          // </viewCode>
          // Populating $.__views for backward compatibility
          // <__views>
          _this.__views["__alloyId2"] = _this.__alloyId2;
          _this.__views["__alloyId3"] = _this.__alloyId3;
          _this.__views["__alloyId0"] = _this.__alloyId0;
          _this.__views["index"] = _this.index;
          return _this;
          // </__view>
          // Generated code that must be executed after all UI and
          // controller code. One example deferred event handlers whose
          // functions are not defined until after the controller code
          // is executed.
          // <postCode>
          // </postcode>
      }
      indexAbstract.prototype.destroy = function () {
      };
      indexAbstract.controllerPath = 'index';
      return indexAbstract;
  }(BaseController_1.default));
  exports.indexAbstract = indexAbstract;
  