novo-elements
Version:
Bullhorn's NOVO Element Repository for Angular 2
27 lines • 1.16 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var 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 function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
// APP
var BaseControl_1 = require("../BaseControl");
var FormValidators_1 = require("../../FormValidators");
var AddressControl = (function (_super) {
__extends(AddressControl, _super);
function AddressControl(config) {
var _this = _super.call(this, 'AddressControl', config) || this;
_this.controlType = 'address';
_this.validators.push(FormValidators_1.FormValidators.isValidAddress);
return _this;
}
return AddressControl;
}(BaseControl_1.BaseControl));
exports.AddressControl = AddressControl;
//# sourceMappingURL=AddressControl.js.map