"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 DataManager_1 = require("./../../manager/DataManager");
var Model_1 = require("../Model");
var RuleModel = (function (_super) {
    __extends(RuleModel, _super);
    function RuleModel() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    Object.defineProperty(RuleModel.prototype, "ruleTxt", {
        /**
         * 规则文案
         */
        get: function () {
            return DataManager_1.DataManager.ins.getRuleData ? DataManager_1.DataManager.ins.getRuleData.ruleText :
                (DataManager_1.DataManager.ins.ajaxElementData ? DataManager_1.DataManager.ins.ajaxElementData.rule :
                    (window['ruleCFG'] ? window['ruleCFG'] : "规则"));
        },
        enumerable: true,
        configurable: true
    });
    return RuleModel;
}(Model_1.Model));
exports.RuleModel = RuleModel;
__reflect(RuleModel.prototype, "\"/Users/haiyoucuv/Documents/Web/\u5DE5\u884C\u5361\u4E2D\u5FC3--\u6B22\u8DA3\u5E84\u56ED\u6D3B\u52A8/JoyousManor/egret/libs/tw/model/common/RuleModel\".RuleModel");
//# sourceMappingURL=RuleModel.js.map