UNPKG

896 BJavaScriptView Raw
1var __extends = (this && this.__extends) || (function () {
2 var extendStatics = Object.setPrototypeOf ||
3 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4 function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5 return function (d, b) {
6 extendStatics(d, b);
7 function __() { this.constructor = d; }
8 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9 };
10})();
11import { FieldBase } from './field-base';
12var TextboxField = (function (_super) {
13 __extends(TextboxField, _super);
14 function TextboxField(options) {
15 var _this = _super.call(this, options) || this;
16 _this.controlType = 'textbox';
17 _this.textboxType = options.textboxType || 'text';
18 return _this;
19 }
20 return TextboxField;
21}(FieldBase));
22export { TextboxField };