"use strict";
var __reflect = (this && this.__reflect) || function (p, c, t) {
    p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t;
};
var __extends = this && this.__extends || function __extends(t, e) { 
 function r() { 
 this.constructor = t;
}
for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
r.prototype = e.prototype, t.prototype = new r();
};
Object.defineProperty(exports, "__esModule", { value: true });
var Panel_1 = require("../views/Panel");
var Alert = (function (_super) {
    __extends(Alert, _super);
    function Alert() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    Object.defineProperty(Alert.prototype, "message", {
        set: function (val) {
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(Alert.prototype, "btnTxt", {
        set: function (val) {
        },
        enumerable: true,
        configurable: true
    });
    Alert.prototype.start = function (data) {
        var message = data.message, btnTxt = data.btnTxt;
        this.data.message = message;
        this.data.btnTxt = btnTxt || '确定';
    };
    Object.defineProperty(Alert.prototype, "skinKey", {
        get: function () { return 'Alert'; },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(Alert.prototype, "closeBtns", {
        get: function () {
            return [this['closeBtn'], this['confirmBtn']];
        },
        enumerable: true,
        configurable: true
    });
    return Alert;
}(Panel_1.default));
exports.default = Alert;
__reflect(Alert.prototype, "\"/Users/chiwang/Desktop/\u5151\u5427\u5DE5\u4F5C/newGame/saolei19.03.06/db-game-template/egret/src/alert/Alert\".Alert");
//# sourceMappingURL=Alert.js.map