Commit 23da194b authored by wangzhujun's avatar wangzhujun

1232

parent e1f849cc
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var NetManager_1 = require("../../../libs/tw/manager/NetManager");
var DataManager_1 = require("../../../libs/tw/manager/DataManager");
/**
* 开始游戏
* @param callback
* @param isAgain
* @param credits
* @param customizedType
*/
var doStart = function (callback, isAgain, credits, customizedType) {
if (isAgain === void 0) { isAgain = false; }
if (window['requirelogin'] && window['config_notrequirelogin'] === undefined) {
window['requirelogin']();
return;
}
NetManager_1.NetManager.ins.doStart(function (success) {
if (success) {
getStartOrderStatus(callback, customizedType);
}
else {
callback(success);
}
}, isAgain, credits, customizedType);
};
/**
* 查询订单结果
* @param callback
* @param ticketId
* @param customizedType
*/
var getStartOrderStatus = function (callback, customizedType) {
NetManager_1.NetManager.ins.getStartStatus(callback, DataManager_1.DataManager.ins.doStartData.ticketId, function () { return DataManager_1.DataManager.ins.getStartStatusData.code != 1; }, 5, customizedType);
};
exports.default = doStart;
//# sourceMappingURL=doStart.js.map
\ No newline at end of file
{"version":3,"file":"doStart.js","sourceRoot":"","sources":["../../../../libs/new_tw/ctrls/doStart.ts"],"names":[],"mappings":";;AAAA,kEAAiE;AACjE,oEAAmE;AAEnE;;;;;;GAMG;AACH,IAAM,OAAO,GAAG,UAAC,QAAkB,EAAE,OAAe,EAAE,OAAgB,EAAE,cAAuB;IAA1D,wBAAA,EAAA,eAAe;IAChD,EAAE,CAAC,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,MAAM,CAAC,wBAAwB,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC;QAC3E,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC;QACzB,MAAM,CAAC;IACX,CAAC;IACD,uBAAU,CAAC,GAAG,CAAC,OAAO,CAAC,UAAC,OAAgB;QACpC,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACV,mBAAmB,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;QAClD,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,QAAQ,CAAC,OAAO,CAAC,CAAC;QACtB,CAAC;IACL,CAAC,EACG,OAAO,EACP,OAAO,EACP,cAAc,CAAC,CAAC;AACxB,CAAC,CAAA;AAED;;;;;GAKG;AACH,IAAM,mBAAmB,GAAG,UAAC,QAAkB,EAAE,cAAuB;IACpE,uBAAU,CAAC,GAAG,CAAC,cAAc,CACzB,QAAQ,EACR,yBAAW,CAAC,GAAG,CAAC,WAAW,CAAC,QAAQ,EACpC,cAAQ,MAAM,CAAC,yBAAW,CAAC,GAAG,CAAC,kBAAkB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,EAC9D,CAAC,EACD,cAAc,CAAC,CAAC;AACxB,CAAC,CAAA;AACD,kBAAe,OAAO,CAAC"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
*Created by cuiliqiang on 2018/3/1
* 组件基类
*/
var ABModule = (function () {
function ABModule(data) {
this._data = data;
var viewClass;
if (typeof this.data.viewClass === 'string') {
viewClass = eval(this.data.viewClass);
}
else {
viewClass = this.data.viewClass;
}
this._view = new viewClass();
}
Object.defineProperty(ABModule.prototype, "data", {
/**
* 模块数据
* @returns {IModuleData}
*/
get: function () {
return this._data;
},
enumerable: true,
configurable: true
});
Object.defineProperty(ABModule.prototype, "view", {
/**
* 视图
* @returns {any}
*/
get: function () {
return this._view;
},
enumerable: true,
configurable: true
});
return ABModule;
}());
exports.ABModule = ABModule;
__reflect(ABModule.prototype, "\"e:/zqty/egret/libs/tc/component/ABModule\".ABModule", ["\"e:/zqty/egret/libs/tc/interface/IDestroy\".IDestroy"]);
//# sourceMappingURL=ABModule.js.map
\ No newline at end of file
{"version":3,"file":"ABModule.js","sourceRoot":"","sources":["../../../../libs/tc/component/ABModule.ts"],"names":[],"mappings":";;;;;AAGA;;;GAGG;AACH;IAWI,kBAAY,IAAiB;QACzB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAElB,IAAI,SAAc,CAAC;QACnB,EAAE,CAAC,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC;YAC1C,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC1C,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;QACpC,CAAC;QACD,IAAI,CAAC,KAAK,GAAG,IAAI,SAAS,EAAE,CAAC;IACjC,CAAC;IA2DD,sBAAW,0BAAI;QAJf;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IAMD,sBAAc,0BAAI;QAJlB;;;WAGG;aACH;YACI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;QACtB,CAAC;;;OAAA;IACL,eAAC;AAAD,CAAC,AA3FD,IA2FC;AA3FqB,4BAAQ;AAAR,UAAA,QAAQ,+HA2F7B,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
*Created by cuiliqiang on 2018/3/13
* 布局枚举
*/
var LayoutType;
(function (LayoutType) {
LayoutType[LayoutType["TOP"] = 0] = "TOP";
LayoutType[LayoutType["BOTTOM"] = 1] = "BOTTOM";
LayoutType[LayoutType["LEFT"] = 2] = "LEFT";
LayoutType[LayoutType["RIGHT"] = 3] = "RIGHT";
LayoutType[LayoutType["HORIZONTAL"] = 4] = "HORIZONTAL";
LayoutType[LayoutType["VERTICAL"] = 5] = "VERTICAL";
})(LayoutType = exports.LayoutType || (exports.LayoutType = {}));
//# sourceMappingURL=LayoutType.js.map
\ No newline at end of file
{"version":3,"file":"LayoutType.js","sourceRoot":"","sources":["../../../../libs/tc/enum/LayoutType.ts"],"names":[],"mappings":";;AAAA;;;GAGG;AACH,IAAY,UAOX;AAPD,WAAY,UAAU;IAClB,yCAAO,CAAA;IACP,+CAAM,CAAA;IACN,2CAAI,CAAA;IACJ,6CAAK,CAAA;IACL,uDAAU,CAAA;IACV,mDAAQ,CAAA;AACZ,CAAC,EAPW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAOrB"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.a = 1;
//# sourceMappingURL=index.js.map
\ No newline at end of file
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../libs/tc/index.ts"],"names":[],"mappings":";;AACa,QAAA,CAAC,GAAE,CAAC,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IData.js.map
\ No newline at end of file
{"version":3,"file":"IData.js","sourceRoot":"","sources":["../../../../libs/tc/interface/IData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IDestroy.js.map
\ No newline at end of file
{"version":3,"file":"IDestroy.js","sourceRoot":"","sources":["../../../../libs/tc/interface/IDestroy.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IModuleData.js.map
\ No newline at end of file
{"version":3,"file":"IModuleData.js","sourceRoot":"","sources":["../../../../libs/tc/interface/IModuleData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=INetData.js.map
\ No newline at end of file
{"version":3,"file":"INetData.js","sourceRoot":"","sources":["../../../../libs/tc/interface/INetData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* 动画管理器
*/
var ABAnimationManager = (function () {
function ABAnimationManager() {
}
return ABAnimationManager;
}());
exports.ABAnimationManager = ABAnimationManager;
__reflect(ABAnimationManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABAnimationManager\".ABAnimationManager");
//# sourceMappingURL=ABAnimationManager.js.map
\ No newline at end of file
{"version":3,"file":"ABAnimationManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABAnimationManager.ts"],"names":[],"mappings":";;;;;AAAA;;GAEG;AACH;IAAA;IAMA,CAAC;IAAD,yBAAC;AAAD,CAAC,AAND,IAMC;AANqB,gDAAkB;AAAlB,UAAA,kBAAkB,sFAMvC,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var ABAudioManager = (function () {
function ABAudioManager() {
}
return ABAudioManager;
}());
exports.ABAudioManager = ABAudioManager;
__reflect(ABAudioManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABAudioManager\".ABAudioManager");
//# sourceMappingURL=ABAudioManager.js.map
\ No newline at end of file
{"version":3,"file":"ABAudioManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABAudioManager.ts"],"names":[],"mappings":";;;;;AAAA;IACI;IAEA,CAAC;IA+DL,qBAAC;AAAD,CAAC,AAlED,IAkEC;AAlEqB,wCAAc;AAAd,UAAA,cAAc,8EAkEnC,CAAA"}
\ No newline at end of file
"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 });
/**
*Created by cuiliqiang on 2018/3/8
* 数据管理
*/
var ABDataManager = (function (_super) {
__extends(ABDataManager, _super);
function ABDataManager() {
return _super !== null && _super.apply(this, arguments) || this;
}
return ABDataManager;
}(egret.EventDispatcher));
exports.ABDataManager = ABDataManager;
__reflect(ABDataManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABDataManager\".ABDataManager");
//# sourceMappingURL=ABDataManager.js.map
\ No newline at end of file
{"version":3,"file":"ABDataManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABDataManager.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH;IAA4C,iCAAqB;IAAjE;;IAQA,CAAC;IAAD,oBAAC;AAAD,CAAC,AARD,CAA4C,KAAK,CAAC,eAAe,GAQhE;AARqB,sCAAa;AAAb,UAAA,aAAa,4EAQlC,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* 模块管理器
*/
var ABModuleManager = (function () {
function ABModuleManager() {
}
return ABModuleManager;
}());
exports.ABModuleManager = ABModuleManager;
__reflect(ABModuleManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABModuleManager\".ABModuleManager");
//# sourceMappingURL=ABModuleManager.js.map
\ No newline at end of file
{"version":3,"file":"ABModuleManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABModuleManager.ts"],"names":[],"mappings":";;;;;AAEA;;GAEG;AACH;IAAA;IA2BA,CAAC;IAAD,sBAAC;AAAD,CAAC,AA3BD,IA2BC;AA3BqB,0CAAe;AAAf,UAAA,eAAe,gFA2BpC,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GTime_1 = require("../util/GTime");
var ABNetManager = (function () {
function ABNetManager() {
/**
* 调用接口对象池
*/
this.callbackPool = {};
}
/**
* 发送请求
* @param net
*/
ABNetManager.prototype.send = function (net) {
var scope = this;
var gTime = '?_=' + GTime_1.GTime.getTimestamp();
var realUrl = net.uri;
if (realUrl.indexOf('?') != -1) {
gTime = '&_=' + GTime_1.GTime.getTimestamp();
}
//url加参数等特殊需求(例如再玩一次需要在dostart接口的url上加埋点)
if (net.addUrl) {
realUrl += net.addUrl;
}
// console.log(`[send][${net.uri}]${JSON.stringify(net.param)}`)
window['$'].ajax({
type: net.type,
// url: realUrl + gTime,
url: realUrl,
dataType: net.dataType,
data: net.param,
async: true,
success: function (result) {
// console.log(`[success][${net.uri}]${JSON.stringify(result)}`)
scope.onResponse(net, result);
},
error: function (message) {
scope.onError(net);
},
beforeSend: function (xhr) {
if (net.beforeSend) {
net.beforeSend(xhr);
}
}
});
};
/**
* 客集集发送表单请求
* @param net
*/
ABNetManager.prototype.sendInfo = function (net) {
var scope = this;
var gTime = '?_=' + GTime_1.GTime.getTimestamp();
var realUrl = net.uri;
if (realUrl.indexOf('?') != -1) {
gTime = '&_=' + GTime_1.GTime.getTimestamp();
}
//url加参数等特殊需求(例如再玩一次需要在dostart接口的url上加埋点)
if (net.addUrl) {
realUrl += net.addUrl;
}
// console.log(`[send][${net.uri}]${JSON.stringify(net.param)}`)
window['$'].ajax({
type: net.type,
// url: realUrl + gTime,
url: realUrl,
dataType: net.dataType,
data: JSON.stringify(net.param),
contentType: 'application/json',
async: true,
success: function (result) {
// console.log(`[success][${net.uri}]${JSON.stringify(result)}`)
scope.onResponse(net, result);
},
error: function (message) {
scope.onError(net);
},
beforeSend: function (xhr) {
if (net.beforeSend) {
net.beforeSend(xhr);
}
}
});
};
/**
* 接口底层错误
*/
ABNetManager.ERROR = 'Error';
return ABNetManager;
}());
exports.ABNetManager = ABNetManager;
__reflect(ABNetManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABNetManager\".ABNetManager");
//# sourceMappingURL=ABNetManager.js.map
\ No newline at end of file
{"version":3,"file":"ABNetManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABNetManager.ts"],"names":[],"mappings":";;;;;AACA,uCAAsC;AAGtC;IAWI;QALA;;WAEG;QACK,iBAAY,GAAQ,EAAE,CAAC;IAG/B,CAAC;IAED;;;OAGG;IACI,2BAAI,GAAX,UAAY,GAAa;QACrB,IAAI,KAAK,GAAG,IAAI,CAAC;QACjB,IAAI,KAAK,GAAW,KAAK,GAAG,aAAK,CAAC,YAAY,EAAE,CAAC;QACjD,IAAI,OAAO,GAAW,GAAG,CAAC,GAAG,CAAC;QAC9B,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;YAC7B,KAAK,GAAG,KAAK,GAAG,aAAK,CAAC,YAAY,EAAE,CAAC;QACzC,CAAC;QAED,yCAAyC;QACzC,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;YACb,OAAO,IAAI,GAAG,CAAC,MAAM,CAAC;QAC1B,CAAC;QACD,gEAAgE;QAChE,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,wBAAwB;YACxB,GAAG,EAAE,OAAO;YACZ,QAAQ,EAAE,GAAG,CAAC,QAAQ;YACtB,IAAI,EAAE,GAAG,CAAC,KAAK;YACf,KAAK,EAAE,IAAI;YACX,OAAO,EAAE,UAAU,MAAM;gBACrB,gEAAgE;gBAChE,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;YAClC,CAAC;YACD,KAAK,EAAE,UAAU,OAAO;gBACpB,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;YACvB,CAAC;YACD,UAAU,EAAE,UAAU,GAAG;gBACrB,EAAE,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC;oBACjB,G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B,CAAC;YACL,CAAC;SACJ,CAAC,CAAC;IACP,CAAC;IA1FD;;OAEG;IACW,kBAAK,GAAG,OAAO,CAAC;IAsGlC,mBAAC;CAAA,AA1GD,IA0GC;AA1GqB,oCAAY;AAAZ,UAAA,YAAY,0EA0GjC,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* 面板管理
*/
var ABPanelManager = (function () {
function ABPanelManager() {
}
return ABPanelManager;
}());
exports.ABPanelManager = ABPanelManager;
__reflect(ABPanelManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABPanelManager\".ABPanelManager");
//# sourceMappingURL=ABPanelManager.js.map
\ No newline at end of file
{"version":3,"file":"ABPanelManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABPanelManager.ts"],"names":[],"mappings":";;;;;AAEA;;GAEG;AACH;IAEI;IACA,CAAC;IA6BL,qBAAC;AAAD,CAAC,AAhCD,IAgCC;AAhCqB,wCAAc;AAAd,UAAA,cAAc,8EAgCnC,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var ABResManager = (function () {
function ABResManager() {
}
return ABResManager;
}());
exports.ABResManager = ABResManager;
__reflect(ABResManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABResManager\".ABResManager");
//# sourceMappingURL=ABResManager.js.map
\ No newline at end of file
{"version":3,"file":"ABResManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABResManager.ts"],"names":[],"mappings":";;;;;AAEA;IAAA;IAmBA,CAAC;IAAD,mBAAC;AAAD,CAAC,AAnBD,IAmBC;AAnBqB,oCAAY;AAAZ,UAAA,YAAY,0EAmBjC,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* 场景管理器
*/
var ABSceneManager = (function () {
function ABSceneManager() {
}
return ABSceneManager;
}());
exports.ABSceneManager = ABSceneManager;
__reflect(ABSceneManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABSceneManager\".ABSceneManager");
//# sourceMappingURL=ABSceneManager.js.map
\ No newline at end of file
{"version":3,"file":"ABSceneManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABSceneManager.ts"],"names":[],"mappings":";;;;;AACA;;GAEG;AACH;IACI;IACA,CAAC;IAqBL,qBAAC;AAAD,CAAC,AAvBD,IAuBC;AAvBqB,wCAAc;AAAd,UAAA,cAAc,8EAuBnC,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var ABStageManager = (function () {
function ABStageManager() {
}
return ABStageManager;
}());
exports.ABStageManager = ABStageManager;
__reflect(ABStageManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABStageManager\".ABStageManager");
//# sourceMappingURL=ABStageManager.js.map
\ No newline at end of file
{"version":3,"file":"ABStageManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABStageManager.ts"],"names":[],"mappings":";;;;;AAEA;IAAA;IAsBA,CAAC;IAAD,qBAAC;AAAD,CAAC,AAtBD,IAsBC;AAtBqB,wCAAc;AAAd,UAAA,cAAc,8EAsBnC,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var ABVideoManager = (function () {
function ABVideoManager() {
}
return ABVideoManager;
}());
exports.ABVideoManager = ABVideoManager;
__reflect(ABVideoManager.prototype, "\"e:/zqty/egret/libs/tc/manager/ABVideoManager\".ABVideoManager");
//# sourceMappingURL=ABVideoManager.js.map
\ No newline at end of file
{"version":3,"file":"ABVideoManager.js","sourceRoot":"","sources":["../../../../libs/tc/manager/ABVideoManager.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAmCA,CAAC;IAAD,qBAAC;AAAD,CAAC,AAnCD,IAmCC;AAnCqB,wCAAc;AAAd,UAAA,cAAc,8EAmCnC,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GFun_1 = require("./GFun");
var GConsole_1 = require("./GConsole");
var GCache = (function () {
function GCache() {
}
/**
* 初始化
* @param keys
*/
GCache.init = function (keys) {
var i = 0;
var len = keys.length;
this.gKey = '';
for (i; i < len; i++) {
this.gKey += '_' + keys[i];
}
};
/**
* 写入缓存
* @param key
* @param value
* @param type type 缓存类型 localStorage永久缓存 sessionStorage浏览器生命周期结束前'
*/
GCache.writeCache = function (key, value, type) {
if (type === void 0) { type = 'localStorage'; }
if (!window[type]) {
GConsole_1.GConsole.log(GFun_1.GFun.replace('webview不支持{0}', [type]));
return;
}
window[type].setItem(key + this.gKey, value);
};
/**
* 读取缓存
* @param key
* @param type type 缓存类型 localStorage永久缓存 sessionStorage浏览器生命周期结束前'
* @return
*/
GCache.readCache = function (key, type) {
if (type === void 0) { type = 'localStorage'; }
if (!window[type]) {
GConsole_1.GConsole.log(GFun_1.GFun.replace('webview不支持{0}', [type]));
return;
}
return window[type].getItem(key + this.gKey);
};
/**
* 删除缓存
* @param key
* @param type 缓存类型 localStorage永久缓存 sessionStorage浏览器生命周期结束前
*/
GCache.removeCache = function (key, type) {
if (type === void 0) { type = 'localStorage'; }
if (!window[type]) {
GConsole_1.GConsole.log(GFun_1.GFun.replace('webview不支持{0}', [type]));
return;
}
window[type].removeItem(key + this.gKey);
};
return GCache;
}());
exports.GCache = GCache;
__reflect(GCache.prototype, "\"e:/zqty/egret/libs/tc/util/GCache\".GCache");
//# sourceMappingURL=GCache.js.map
\ No newline at end of file
{"version":3,"file":"GCache.js","sourceRoot":"","sources":["../../../../libs/tc/util/GCache.ts"],"names":[],"mappings":";;;;;AAAA,+BAA8B;AAC9B,uCAAsC;AAEtC;IAAA;IAwDA,CAAC;IArDG;;;OAGG;IACW,WAAI,GAAlB,UAAmB,IAAc;QAC7B,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,IAAM,GAAG,GAAW,IAAI,CAAC,MAAM,CAAC;QAChC,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;QACf,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YACnB,IAAI,CAAC,IAAI,IAAI,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QAC/B,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACW,iBAAU,GAAxB,UAAyB,GAAW,EAAE,KAAU,EAAE,IAAqB;QAArB,qBAAA,EAAA,qBAAqB;QACnE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAChB,mBAAQ,CAAC,GAAG,CAAC,WAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACpD,MAAM,CAAC;QACX,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACjD,CAAC;IAED;;;;;OAKG;IACW,gBAAS,GAAvB,UAAwB,GAAW,EAAE,IAAqB;QAArB,qBAAA,EAAA,qBAAqB;QACtD,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAChB,mBAAQ,CAAC,GAAG,CAAC,WAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACpD,MAAM,CAAC;QACX,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IAED;;;;OAIG;IACW,kBAAW,GAAzB,UAA0B,GAAW,EAAE,IAAqB;QAArB,qBAAA,EAAA,qBAAqB;QACxD,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAChB,mBAAQ,CAAC,GAAG,CAAC,WAAI,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACpD,MAAM,CAAC;QACX,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IACL,aAAC;AAAD,CAAC,AAxDD,IAwDC;AAxDY,wBAAM;AAAN,UAAA,MAAM,2DAwDlB,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GConsole = (function () {
function GConsole() {
}
/**
* 日志打印
* @param args
*/
GConsole.log = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
if (!this.switch) {
return;
}
var i = 0;
var len = args.length;
for (i; i < len; i++) {
console.log(args[i]);
}
};
GConsole.switch = window['debug'] || true;
return GConsole;
}());
exports.GConsole = GConsole;
__reflect(GConsole.prototype, "\"e:/zqty/egret/libs/tc/util/GConsole\".GConsole");
//# sourceMappingURL=GConsole.js.map
\ No newline at end of file
{"version":3,"file":"GConsole.js","sourceRoot":"","sources":["../../../../libs/tc/util/GConsole.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAgBA,CAAC;IAdG;;;OAGG;IACW,YAAG,GAAjB;QAAkB,cAAO;aAAP,UAAO,EAAP,qBAAO,EAAP,IAAO;YAAP,yBAAO;;QACrB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YACf,MAAM,CAAC;QACX,CAAC;QACD,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,IAAM,GAAG,GAAW,IAAI,CAAC,MAAM,CAAC;QAChC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YACnB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QACzB,CAAC;IACL,CAAC;IAdc,eAAM,GAAY,MAAM,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC;IAe7D,eAAC;CAAA,AAhBD,IAgBC;AAhBY,4BAAQ;AAAR,UAAA,QAAQ,+DAgBpB,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GDispatcher = (function () {
function GDispatcher() {
}
/**
*
* @param name 事件名
* @param callback 回调
* @param thisObj 作用域
*/
GDispatcher.addEvent = function (name, callback, thisObj) {
if (!this.callbackPool[name]) {
this.callbackPool[name] = [];
this.thisObjPool[name] = [];
}
var index = this.callbackPool[name].indexOf(callback);
if (index != -1) {
this.callbackPool[name][index] = callback;
this.thisObjPool[name][index] = thisObj;
}
else {
this.callbackPool[name].push(callback);
this.thisObjPool[name].push(thisObj);
}
};
/**
*
* @param name 事件名
* @param callback 回调
* @param thisObj 作用域
*/
GDispatcher.removeEvent = function (name, callback, thisObj) {
if (this.callbackPool[name]) {
var index = this.callbackPool[name].indexOf(callback);
if (index != -1) {
this.callbackPool[name].splice(index, 1);
this.thisObjPool[name].splice(index, 1);
}
}
};
/**
* 派发事件
* @param name 事件名
* @param args 任意参数
*/
GDispatcher.dispatchEvent = function (name) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
var callbacks = this.callbackPool[name];
var thisObjs = this.thisObjPool[name];
if (callbacks) {
var i = 0;
var len = callbacks.length;
for (i; i < len; i++) {
callbacks[i].apply(thisObjs[i], args);
}
}
};
/**
* 事件回调池
*/
GDispatcher.callbackPool = {};
/**
* 事件作用域池
*/
GDispatcher.thisObjPool = {};
return GDispatcher;
}());
exports.GDispatcher = GDispatcher;
__reflect(GDispatcher.prototype, "\"e:/zqty/egret/libs/tc/util/GDispatcher\".GDispatcher");
//# sourceMappingURL=GDispatcher.js.map
\ No newline at end of file
{"version":3,"file":"GDispatcher.js","sourceRoot":"","sources":["../../../../libs/tc/util/GDispatcher.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAiEA,CAAC;IAtDG;;;;;OAKG;IACW,oBAAQ,GAAtB,UAAuB,IAAY,EAAE,QAAQ,EAAE,OAAY;QACvD,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAC3B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YAC7B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QAChC,CAAC;QAED,IAAM,KAAK,GAAW,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAChE,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;YACd,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAA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GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;gBACnB,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;YAC1C,CAAC;QACL,CAAC;IACL,CAAC;IA/DD;;OAEG;IACY,wBAAY,GAAQ,EAAE,CAAC;IAEtC;;OAEG;IACY,uBAAW,GAAQ,EAAE,CAAC;IAwDzC,kBAAC;CAAA,AAjED,IAiEC;AAjEY,kCAAW;AAAX,UAAA,WAAW,qEAiEvB,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GFun = (function () {
function GFun() {
}
/**
* 加载 html Image
* @param url
* @param callback
*/
GFun.loadImage = function (url, callback) {
//取出跟url匹配的Image
var bitmapData = new Image();
bitmapData.onload = function (e) {
if (callback) {
callback(bitmapData);
}
};
bitmapData.src = url;
};
/**
* 替换字符串中元素
* @param str
* @param replaceList
*/
GFun.replace = function (str, replaceList) {
var len = replaceList.length;
for (var i = 0; i < len; i++) {
str = str.replace("{" + i + "}", replaceList[i].toString());
}
return str;
};
/**
* 是否在app内运行
* @param strs 匹配字符串
*/
GFun.checkInApp = function (strs) {
var ua = navigator.userAgent.toLocaleLowerCase();
var i;
var len = strs.length;
for (i = 0; i < len; i++) {
if (ua.indexOf(strs[i]) != -1) {
return true;
}
}
return false;
};
Object.defineProperty(GFun, "isIOS", {
/**
* 判断操作系统
* @returns {Array|{index: number, input: string}}
*/
get: function () {
return navigator.userAgent.match(/iphone|ipod|ipad/gi) != null;
},
enumerable: true,
configurable: true
});
/**
* 获取url参数
*/
GFun.getQueryString = function (name) {
var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
var r = window.location.search.substr(1).match(reg);
if (r != null) {
return unescape(r[2]);
}
return null;
};
return GFun;
}());
exports.GFun = GFun;
__reflect(GFun.prototype, "\"e:/zqty/egret/libs/tc/util/GFun\".GFun");
exports.check_webp_feature = function () {
var _support_webp_ = localStorage.getItem('_support_webp_');
if (_support_webp_ !== null) {
return _support_webp_ === '1';
}
var img = new Image();
img.onload = function () {
var result = (img.width > 0) && (img.height > 0);
localStorage.setItem('_support_webp_', result ? '1' : '0');
};
img.onerror = function () {
localStorage.setItem('_support_webp_', '0');
};
img.src = "data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA";
return false;
};
// export const getImgURL = (url: string): any => {
// const isSupport = check_webp_feature();
// if (isSupport)
// return url + '?x-oss-process=image/format,webp';
// return url;
// }
//# sourceMappingURL=GFun.js.map
\ No newline at end of file
{"version":3,"file":"GFun.js","sourceRoot":"","sources":["../../../../libs/tc/util/GFun.ts"],"names":[],"mappings":";;;;;AAIA;IAAA;IAiEA,CAAC;IAhEG;;;;OAIG;IACW,cAAS,GAAvB,UAAwB,GAAW,EAAE,QAAkB;QACnD,gBAAgB;QAChB,IAAM,UAAU,GAAQ,IAAI,KAAK,EAAE,CAAC;QACpC,UAAU,CAAC,MAAM,GAAG,UAAC,CAAC;YAClB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;gBACX,QAAQ,CAAC,UAAU,CAAC,CAAC;YACzB,CAAC;QACL,CAAC,CAAC;QACF,UAAU,CAAC,GAAG,GAAG,GAAG,CAAC;IACzB,CAAC;IAED;;;;OAIG;IACW,YAAO,GAArB,UAAsB,GAAW,EAAE,WAAmC;QAClE,IAAM,GAAG,GAAG,WAAW,CAAC,MAAM,CAAC;QAC/B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YAC3B,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,GAA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D,CAAC,AAjED,IAiEC;AAjEY,oBAAI;AAAJ,UAAA,IAAI,uDAiEhB,CAAA;AAEY,QAAA,kBAAkB,GAAG;IAC9B,IAAM,cAAc,GAAG,YAAY,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC9D,EAAE,CAAC,CAAC,cAAc,KAAK,IAAI,CAAC,CAAC,CAAC;QAC1B,MAAM,CAAC,cAAc,KAAK,GAAG,CAAC;IAClC,CAAC;IACD,IAAM,GAAG,GAAG,IAAI,KAAK,EAAE,CAAC;IACxB,GAAG,CAAC,MAAM,GAAG;QACT,IAAM,MAAM,GAAG,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACnD,YAAY,CAAC,OAAO,CAAC,gBAAgB,EAAE,MAAM,GAAG,GAAG,GAAG,GAAG,CAAC,CAAA;IAC9D,CAAC,CAAC;IACF,GAAG,CAAC,OAAO,GAAG;QACV,YAAY,CAAC,OAAO,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAA;IAC/C,CAAC,CAAC;IACF,GAAG,CAAC,GAAG,GAAG,iFAAiF,CAAC;IAC5F,MAAM,CAAC,KAAK,CAAC;AACjB,CAAC,CAAA;AAED,mDAAmD;AACnD,8CAA8C;AAC9C,qBAAqB;AACrB,2DAA2D;AAC3D,kBAAkB;AAClB,IAAI"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GLang = (function () {
function GLang() {
}
GLang.lang_001 = "pre资源加载完成";
GLang.lang_002 = "nomarl资源加载完成";
GLang.lang_003 = "delay资源加载完成";
return GLang;
}());
exports.GLang = GLang;
__reflect(GLang.prototype, "\"e:/zqty/egret/libs/tc/util/GLang\".GLang");
//# sourceMappingURL=GLang.js.map
\ No newline at end of file
{"version":3,"file":"GLang.js","sourceRoot":"","sources":["../../../../libs/tc/util/GLang.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAIA,CAAC;IAHiB,cAAQ,GAAG,WAAW,CAAC;IACvB,cAAQ,GAAG,cAAc,CAAC;IAC1B,cAAQ,GAAG,aAAa,CAAC;IAC3C,YAAC;CAAA,AAJD,IAIC;AAJY,sBAAK;AAAL,UAAA,KAAK,yDAIjB,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var GMath = (function () {
function GMath() {
}
/**
* 向下取整
* @param n
* @returns {number}
*/
GMath.int = function (n) {
return n >> 0;
};
/**
* 给数组随机排序
* @param arr
*/
GMath.randomArr = function (arr) {
var len = arr.length;
for (var i = 0; i < len; i++) {
var n = this.random(0, arr.length, true);
var temp = arr[n];
arr[n] = arr[i];
arr[i] = temp;
}
return arr;
};
/**
* 范围随机数
* @param n1 范围起始
* @param n2 范围结束
* @param int 结果是否返回整数
* @return {*}
*/
GMath.random = function (n1, n2, int) {
var n;
var min;
var max;
if ((typeof n1) != 'undefined' && (typeof n2) != 'undefined') {
min = Math.min(n1, n2);
max = Math.max(n1, n2);
n = Math.random() * (max - min) + min;
}
else {
n = Math.random();
}
if (int) {
n = this.int(n);
}
return n;
};
return GMath;
}());
exports.GMath = GMath;
__reflect(GMath.prototype, "\"e:/zqty/egret/libs/tc/util/GMath\".GMath");
//# sourceMappingURL=GMath.js.map
\ No newline at end of file
{"version":3,"file":"GMath.js","sourceRoot":"","sources":["../../../../libs/tc/util/GMath.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAgDA,CAAC;IA/CG;;;;OAIG;IACW,SAAG,GAAjB,UAAkB,CAAM;QACpB,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IAED;;;OAGG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,MAAM,CAAC,CAAC,CAAC;IACb,CAAC;IACL,YAAC;AAAD,CAAC,AAhDD,IAgDC;AAhDY,sBAAK;AAAL,UAAA,KAAK,yDAgDjB,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
* 对象池
*/
var GPool = (function () {
function GPool() {
}
/**
* 根据类型设置缓存最大个数
* @param className
* @param count
*/
GPool.setMaxCountByType = function (className, count) {
this.maxCount[className] = count;
};
/**
* 取出
* @param className 资源名
* @param 类名
*/
GPool.takeOut = function (className, classObj, isCreate) {
if (!className || className == '') {
return;
}
var obj;
if (this.pool[className] && this.pool[className].length) {
obj = this.pool[className].shift();
}
else if (isCreate) {
if (!classObj) {
classObj = eval(className);
}
obj = new classObj();
}
return obj;
};
/**
* 回收
* @param className 资源Class
* @param obj 资源
*/
GPool.recover = function (className, obj) {
if (!obj || !className) {
return;
}
if (!this.pool[className]) {
this.pool[className] = [];
}
if (!this.maxCount[className]) {
this.maxCount[className] = 100;
}
if (this.pool[className].length > this.maxCount[className]) {
return;
}
this.pool[className].push(obj);
if (obj['dispose']) {
obj.dispose();
}
};
GPool.pool = {};
GPool.maxCount = {};
return GPool;
}());
exports.GPool = GPool;
__reflect(GPool.prototype, "\"e:/zqty/egret/libs/tc/util/GPool\".GPool");
//# sourceMappingURL=GPool.js.map
\ No newline at end of file
{"version":3,"file":"GPool.js","sourceRoot":"","sources":["../../../../libs/tc/util/GPool.ts"],"names":[],"mappings":";;;;;AAAA;;GAEG;AACH;IAAA;IA4DA,CAAC;IAxDG;;;;OAIG;IACW,uBAAiB,GAA/B,UAAgC,SAAc,EAAE,KAAK;QACjD,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC;IACrC,CAAC;IAED;;;;OAIG;IACW,aAAO,GAArB,UAAsB,S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CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACzD,MAAM,CAAC;QACX,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC/B,EAAE,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACjB,GAAG,CAAC,OAAO,EAAE,CAAC;QAClB,CAAC;IACL,CAAC;IA1Dc,UAAI,GAAQ,EAAE,CAAC;IACf,cAAQ,GAAG,EAAE,CAAC;IA0DjC,YAAC;CAAA,AA5DD,IA4DC;AA5DY,sBAAK;AAAL,UAAA,KAAK,yDA4DjB,CAAA"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var TimeFormat_1 = require("../enum/TimeFormat");
var GTime = (function () {
function GTime() {
}
/**
* 获取当前时间戳
* @returns {number}
*/
GTime.getTimestamp = function () {
return new Date().getTime();
};
/**
* 传入秒数返回带格式的时间
* @param time 单位秒
* @param type 枚举类型CountDownType
* @param dibit 是否双位
*/
GTime.formatTime = function (time, type, dibit, suffixs) {
if (type === void 0) { type = TimeFormat_1.TimeFormat.HMS; }
if (dibit === void 0) { dibit = false; }
if (suffixs === void 0) { suffixs = ['d', 'h', 'm', 's']; }
var countdown = this.getCountDown(time, type, dibit);
countdown = countdown.map(function (val, index) { return "" + (val < 10 ? '0' + val : val) + suffixs[index]; });
return countdown.join('');
};
/**
* 倒计时
* @param time 单位秒
* @param type 枚举类型CountDownType
* @param dibit 是否双位
*/
GTime.getCountDown = function (time, type, dibit) {
if (type === void 0) { type = TimeFormat_1.TimeFormat.HMS; }
if (dibit === void 0) { dibit = false; }
var result = [];
if (type.indexOf('s') !== -1) {
result.push(time % 60);
}
if (type.indexOf('m') !== -1) {
result.unshift(Math.floor((time % 3600) / 60));
}
if (type.indexOf('h') >= 0) {
if (type == TimeFormat_1.TimeFormat.HMS) {
result.unshift(Math.floor(time / 3600));
}
else {
result.unshift(Math.floor((time % 86400) / 3600));
}
}
if (type.indexOf('d') >= 0) {
result.unshift(Math.floor(time / 86400));
}
if (dibit)
result = result.map(function (ele) {
return ele < 10 ? "0" + ele : ele;
});
return result;
};
return GTime;
}());
exports.GTime = GTime;
__reflect(GTime.prototype, "\"e:/zqty/egret/libs/tc/util/GTime\".GTime");
//# sourceMappingURL=GTime.js.map
\ No newline at end of file
{"version":3,"file":"GTime.js","sourceRoot":"","sources":["../../../../libs/tc/util/GTime.ts"],"names":[],"mappings":";;;;;AAAA,iDAAgD;AAChD;IAAA;IAwDA,CAAC;IAvDG;;;OAGG;IACW,kBAAY,GAA1B;QACI,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;IAChC,CAAC;IAED;;;;;OAKG;IACW,gBAAU,GAAxB,UAAyB,IAAY,EAAE,IAA6B,EAAE,KAAa,EAAE,OAA8B;QAA5E,qBAAA,EAAA,OAAe,uBAAU,CAAC,GAAG;QAAE,sBAAA,EAAA,aAAa;QAAE,wBAAA,EAAA,WAAW,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;QAC/G,IAAI,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QACrD,SAAS,GAAG,SAAS,CAAC,GAAG,CAAC,UAAC,GAAG,EAAE,KAAK,IAAK,OAAA,MAAG,GAAG,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAG,OAAO,CAAC,KAAK,CAAG,EAAhD,CAAgD,CAAC,CAAC;QAC5F,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC9B,CAAC;IAED;;;;;OAKG;IACW,kBAAY,GAA1B,UAA2B,IAAY,EAAE,IAA6B,EAAE,KAAa;QAA5C,qBA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E,GAAG,MAAI,GAAK,GAAG,GAAG,CAAC;YACtC,CAAC,CAAC,CAAA;QACN,MAAM,CAAC,MAAM,CAAC;IAClB,CAAC;IACL,YAAC;AAAD,CAAC,AAxDD,IAwDC;AAxDY,sBAAK;AAAL,UAAA,KAAK,yDAwDjB,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isIPhoneX() {
var u = navigator.userAgent;
var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
return isIOS && screen.height == 812 && screen.width == 375;
}
exports.default = isIPhoneX;
//# sourceMappingURL=isIPhoneX.js.map
\ No newline at end of file
{"version":3,"file":"isIPhoneX.js","sourceRoot":"","sources":["../../../../libs/tc/utils/isIPhoneX.ts"],"names":[],"mappings":";;AAAA;IACI,IAAI,CAAC,GAAG,SAAS,CAAC,SAAS,CAAC;IAC5B,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC,CAAC,OAAO;IAC/D,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,MAAM,CAAC,KAAK,IAAI,GAAG,CAAA;AAC/D,CAAC;AAJD,4BAIC"}
\ No newline at end of file
"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;
};
Object.defineProperty(exports, "__esModule", { value: true });
var AssetAdapter = (function () {
function AssetAdapter() {
}
/**
* @language zh_CN
* 解析素材
* @param source 待解析的新素材标识符
* @param compFunc 解析完成回调函数,示例:callBack(content:any,source:string):void;
* @param thisObject callBack的 this 引用
*/
AssetAdapter.prototype.getAsset = function (source, compFunc, thisObject) {
function onGetRes(data) {
compFunc.call(thisObject, data, source);
}
if (RES.hasRes(source)) {
var data = RES.getRes(source);
if (data) {
onGetRes(data);
}
else {
RES.getResAsync(source, onGetRes, this);
}
}
else {
RES.getResByUrl(source, onGetRes, this, RES.ResourceItem.TYPE_IMAGE);
}
};
return AssetAdapter;
}());
exports.default = AssetAdapter;
__reflect(AssetAdapter.prototype, "\"e:/zqty/egret/libs/tl/adapter/AssetAdapter\".AssetAdapter", ["eui.IAssetAdapter"]);
//# sourceMappingURL=AssetAdapter.js.map
\ No newline at end of file
{"version":3,"file":"AssetAdapter.js","sourceRoot":"","sources":["../../../../libs/tl/adapter/AssetAdapter.ts"],"names":[],"mappings":";;;;;AAAA;IAAA;IAyBA,CAAC;IAxBG;;;;;;OAMG;IACI,+BAAQ,GAAf,UAAgB,MAAc,EAAE,QAAiB,EAAE,UAAe;QAC9D,kBAAkB,IAAS;YACvB,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QAC5C,CAAC;QACD,EAAE,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YACrB,IAAI,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YAC9B,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;gBACP,QAAQ,CAAC,IAAI,CAAC,CAAC;YACnB,CAAC;YACD,IAAI,CAAC,CAAC;gBACF,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;YAC5C,CAAC;QACL,CAAC;QACD,IAAI,CAAC,CAAC;YACF,GAAG,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;QACzE,CAAC;IACL,CAAC;IACL,mBAAC;AAAD,CAAC,AAzBD,IAyBC;;AAzBoB,UAAA,YAAY,iGAyBhC,CAAA"}
\ No newline at end of file
"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 Data_1 = require("./../Data");
var GetRecordData = (function (_super) {
__extends(GetRecordData, _super);
function GetRecordData() {
return _super !== null && _super.apply(this, arguments) || this;
}
GetRecordData.prototype.update = function (data) {
if (!data) {
return;
}
_super.prototype.update.call(this, data);
this.invalidPage = data.invalidPage;
this.nextPage = data.nextPage;
this.records = data.records;
};
return GetRecordData;
}(Data_1.Data));
exports.GetRecordData = GetRecordData;
__reflect(GetRecordData.prototype, "\"e:/zqty/egret/libs/tw/data/common/GetRecordData\".GetRecordData");
//# sourceMappingURL=GetRecordData.js.map
\ No newline at end of file
{"version":3,"file":"GetRecordData.js","sourceRoot":"","sources":["../../../../../libs/tw/data/common/GetRecordData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kCAAiC;AAEjC;IAAmC,iCAAI;IAAvC;;IAcA,CAAC;IATU,8BAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAA,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACP,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;IAChC,CAAC;IACL,oBAAC;AAAD,CAAC,AAdD,CAAmC,WAAI,GActC;AAdY,sCAAa;AAAb,UAAA,aAAa,gFAczB,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IExposureData.js.map
\ No newline at end of file
{"version":3,"file":"IExposureData.js","sourceRoot":"","sources":["../../../../../libs/tw/data/common/IExposureData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IShareData.js.map
\ No newline at end of file
{"version":3,"file":"IShareData.js","sourceRoot":"","sources":["../../../../../libs/tw/data/common/IShareData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"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 });
/**
*Created by cuiliqiang on 2018/3/7
* 添加游戏次数
*/
var Data_1 = require("../../Data");
var AddTimesForActivityData = (function (_super) {
__extends(AddTimesForActivityData, _super);
function AddTimesForActivityData() {
return _super !== null && _super.apply(this, arguments) || this;
}
AddTimesForActivityData.prototype.update = function (data) {
if (!data) {
return;
}
_super.prototype.update.call(this, data);
this.addedTimes = data.addedTimes;
this.shareCount = data.shareCount;
};
return AddTimesForActivityData;
}(Data_1.Data));
exports.AddTimesForActivityData = AddTimesForActivityData;
__reflect(AddTimesForActivityData.prototype, "\"e:/zqty/egret/libs/tw/data/common/addTimesForActivity/AddTimesForActivityData\".AddTimesForActivityData");
//# sourceMappingURL=AddTimesForActivityData.js.map
\ No newline at end of file
{"version":3,"file":"AddTimesForActivityData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/common/addTimesForActivity/AddTimesForActivityData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH,mCAAkC;AAElC;IAA6C,2CAAI;IAAjD;;IAmBA,CAAC;IARU,wCAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACR,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QAClC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;IACtC,CAAC;IACL,8BAAC;AAAD,CAAC,AAnBD,CAA6C,WAAI,GAmBhD;AAnBY,0DAAuB;AAAvB,UAAA,uBAAuB,wHAmBnC,CAAA"}
\ No newline at end of file
"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 });
/**
*Created by cuiliqiang on 2018/3/12
* 用户剩余积分数据
*/
var Data_1 = require("../../Data");
var GetCreditsData = (function (_super) {
__extends(GetCreditsData, _super);
function GetCreditsData() {
return _super !== null && _super.apply(this, arguments) || this;
}
GetCreditsData.prototype.update = function (result) {
if (!result) {
return;
}
_super.prototype.update.call(this, result);
this.unitName = result.data.unitName;
this.credits = result.data.credits;
this.consumerCredits = result.data.consumerCredits;
};
return GetCreditsData;
}(Data_1.Data));
exports.GetCreditsData = GetCreditsData;
__reflect(GetCreditsData.prototype, "\"e:/zqty/egret/libs/tw/data/common/getCredits/GetCreditsData\".GetCreditsData");
//# sourceMappingURL=GetCreditsData.js.map
\ No newline at end of file
{"version":3,"file":"GetCreditsData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/common/getCredits/GetCreditsData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH,mCAAkC;AAElC;IAAoC,kCAAI;IAAxC;;IAyBA,CAAC;IATU,+BAAM,GAAb,UAAc,MAAW;QACrB,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACV,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,MAAM,CAAC,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QACnC,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC;IACvD,CAAC;IACL,qBAAC;AAAD,CAAC,AAzBD,CAAoC,WAAI,GAyBvC;AAzBY,wCAAc;AAAd,UAAA,cAAc,6FAyB1B,CAAA"}
\ No newline at end of file
"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 });
/**
*Created by cuiliqiang on 2018/3/12
* 获取用户角色信息
*/
var Data_1 = require("../../Data");
var GetRoleData = (function (_super) {
__extends(GetRoleData, _super);
function GetRoleData() {
return _super !== null && _super.apply(this, arguments) || this;
}
GetRoleData.prototype.update = function (data) {
if (!data) {
return;
}
_super.prototype.update.call(this, data);
this.role = data.data.role;
};
return GetRoleData;
}(Data_1.Data));
exports.GetRoleData = GetRoleData;
__reflect(GetRoleData.prototype, "\"e:/zqty/egret/libs/tw/data/common/getRole/GetRoleData\".GetRoleData");
//# sourceMappingURL=GetRoleData.js.map
\ No newline at end of file
{"version":3,"file":"GetRoleData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/common/getRole/GetRoleData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH,mCAAkC;AAElC;IAAiC,+BAAI;IAArC;;IAaA,CAAC;IAPU,4BAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACR,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;IAC/B,CAAC;IACL,kBAAC;AAAD,CAAC,AAbD,CAAiC,WAAI,GAapC;AAbY,kCAAW;AAAX,UAAA,WAAW,oFAavB,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IWinnerData.js.map
\ No newline at end of file
{"version":3,"file":"IWinnerData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/common/winners/IWinnerData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"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 });
/**
*Created by cuiliqiang on 2018/3/12
* 自定义活动配置信息
*/
var Data_1 = require("../../Data");
var AjaxElementData = (function (_super) {
__extends(AjaxElementData, _super);
function AjaxElementData() {
return _super !== null && _super.apply(this, arguments) || this;
}
AjaxElementData.prototype.update = function (result) {
if (!result) {
return;
}
_super.prototype.update.call(this, result);
this.throughCurrent = result.throughCurrent;
this.throughMode = result.throughMode;
this.throughNum = result.throughNum;
this.throughCurrentStep = result.throughCurrentStep;
this.jsTest = result.jsTest;
this.cssTest = result.cssTest;
this.rule = result.rule;
this.type = result.type;
this.options = result.options;
this.element = result.element;
};
return AjaxElementData;
}(Data_1.Data));
exports.AjaxElementData = AjaxElementData;
__reflect(AjaxElementData.prototype, "\"e:/zqty/egret/libs/tw/data/custom/ajaxElement/AjaxElementData\".AjaxElementData");
//# sourceMappingURL=AjaxElementData.js.map
\ No newline at end of file
{"version":3,"file":"AjaxElementData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/custom/ajaxElement/AjaxElementData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH,mCAAkC;AAIlC;IAAqC,mCAAI;IAAzC;;IAmEA,CAAC;IAhBU,gCAAM,GAAb,UAAc,MAAW;QACrB,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;YACV,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,MAAM,CAAC,CAAC;QACrB,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;QAC5C,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QACpC,IAAI,CAAC,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;IAClC,CAAC;IACL,sBAAC;AAAD,CAAC,AAnED,CAAqC,WAAI,GAmExC;AAnEY,0CAAe;AAAf,UAAA,eAAe,gGAmE3B,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ICustomOptionData.js.map
\ No newline at end of file
{"version":3,"file":"ICustomOptionData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/custom/ajaxElement/ICustomOptionData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
/**
*Created by cuiliqiang on 2018/3/12
* 活动工具页面展示数据
*/
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IElementData.js.map
\ No newline at end of file
{"version":3,"file":"IElementData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/custom/ajaxElement/IElementData.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
\ No newline at end of file
"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 });
/**
*Created by cuiliqiang on 2018/3/12
* 闯关游戏配置数据
*/
var Data_1 = require("../../Data");
var AjaxThroughInfoData = (function (_super) {
__extends(AjaxThroughInfoData, _super);
function AjaxThroughInfoData() {
return _super !== null && _super.apply(this, arguments) || this;
}
AjaxThroughInfoData.prototype.update = function (data) {
if (!data) {
return;
}
_super.prototype.update.call(this, data);
this.throughCurrent = data.throughCurrent;
this.throughMode = data.throughMode;
this.throughNum = data.throughNum;
this.throughCurrentStep = data.throughCurrentStep;
this.throughInfoList = data.throughInfo;
};
return AjaxThroughInfoData;
}(Data_1.Data));
exports.AjaxThroughInfoData = AjaxThroughInfoData;
__reflect(AjaxThroughInfoData.prototype, "\"e:/zqty/egret/libs/tw/data/custom/ajaxThroughInfo/AjaxThroughInfoData\".AjaxThroughInfoData");
//# sourceMappingURL=AjaxThroughInfoData.js.map
\ No newline at end of file
{"version":3,"file":"AjaxThroughInfoData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/custom/ajaxThroughInfo/AjaxThroughInfoData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH,mCAAkC;AAGlC;IAAyC,uCAAI;IAA7C;;IAqCA,CAAC;IAXU,oCAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACR,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;QAC1C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACpC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QAClC,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,CAAC;QAClD,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,WAAW,CAAC;IAC5C,CAAC;IACL,0BAAC;AAAD,CAAC,AArCD,CAAyC,WAAI,GAqC5C;AArCY,kDAAmB;AAAnB,UAAA,mBAAmB,4GAqC/B,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IThroughInfoData.js.map
\ No newline at end of file
{"version":3,"file":"IThroughInfoData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/custom/ajaxThroughInfo/IThroughInfoData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"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 });
/**
*Created by cuiliqiang on 2018/3/12
* 前置开奖提交数据
*/
var Data_1 = require("../../Data");
var BeforSubmitData = (function (_super) {
__extends(BeforSubmitData, _super);
function BeforSubmitData() {
return _super !== null && _super.apply(this, arguments) || this;
}
BeforSubmitData.prototype.update = function (data) {
if (!data) {
return;
}
this.result = data.result;
this.type = data.type;
this.facePrice = data.facePrice;
this.orderId = data.orderId;
this.title = data.title;
};
return BeforSubmitData;
}(Data_1.Data));
exports.BeforSubmitData = BeforSubmitData;
__reflect(BeforSubmitData.prototype, "\"e:/zqty/egret/libs/tw/data/custom/beforSubmit/BeforSubmitData\".BeforSubmitData");
//# sourceMappingURL=BeforSubmitData.js.map
\ No newline at end of file
{"version":3,"file":"BeforSubmitData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/custom/beforSubmit/BeforSubmitData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH,mCAAkC;AAElC;IAAqC,mCAAI;IAAzC;;IAoCA,CAAC;IAVU,gCAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACR,MAAM,CAAC;QACX,CAAC;QACD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACtB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC5B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;IAC5B,CAAC;IACL,sBAAC;AAAD,CAAC,AApCD,CAAqC,WAAI,GAoCxC;AApCY,0CAAe;AAAf,UAAA,eAAe,gGAoC3B,CAAA"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ICustomCfgData.js.map
\ No newline at end of file
{"version":3,"file":"ICustomCfgData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/custom/cfg/ICustomCfgData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"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 });
/**
*Created by cuiliqiang on 2018/3/12
* 活动工具抽奖数据
*/
var Data_1 = require("../../Data");
var DoJoinData = (function (_super) {
__extends(DoJoinData, _super);
function DoJoinData() {
return _super !== null && _super.apply(this, arguments) || this;
}
DoJoinData.prototype.update = function (data) {
if (!data) {
return;
}
_super.prototype.update.call(this, data);
this.needCredits = data.needCredits;
this.orderId = data.orderId;
};
return DoJoinData;
}(Data_1.Data));
exports.DoJoinData = DoJoinData;
__reflect(DoJoinData.prototype, "\"e:/zqty/egret/libs/tw/data/custom/doJoin/DoJoinData\".DoJoinData");
//# sourceMappingURL=DoJoinData.js.map
\ No newline at end of file
{"version":3,"file":"DoJoinData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/custom/doJoin/DoJoinData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH,mCAAkC;AAElC;IAAgC,8BAAI;IAApC;;IAmBA,CAAC;IARU,2BAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACR,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QACpC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;IAChC,CAAC;IACL,iBAAC;AAAD,CAAC,AAnBD,CAAgC,WAAI,GAmBnC;AAnBY,gCAAU;AAAV,UAAA,UAAU,iFAmBtB,CAAA"}
\ No newline at end of file
"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 GPool_1 = require("../../../../tc/util/GPool");
var LotteryData_1 = require("../../common/lottery/LotteryData");
var Data_1 = require("../../Data");
/**
*Created by cuiliqiang on 2018/3/12
* 订单状态
*/
var GetCustomOrderStatusData = (function (_super) {
__extends(GetCustomOrderStatusData, _super);
function GetCustomOrderStatusData() {
return _super !== null && _super.apply(this, arguments) || this;
}
GetCustomOrderStatusData.prototype.update = function (data) {
if (!data) {
return;
}
_super.prototype.update.call(this, data);
this.result = data.result;
if (data.exposure) {
this.exposure = data.exposure;
}
else if (this.exposure) {
this.exposure = null;
}
if (data.lottery && data.lottery.type != 'thanks') {
this.lottery = GPool_1.GPool.takeOut('LotteryData', LotteryData_1.LotteryData);
if (!this.lottery) {
this.lottery = new LotteryData_1.LotteryData();
}
this.lottery.update(data.lottery);
}
else {
GPool_1.GPool.recover('LotteryData', this.lottery);
this.lottery = null;
}
};
return GetCustomOrderStatusData;
}(Data_1.Data));
exports.GetCustomOrderStatusData = GetCustomOrderStatusData;
__reflect(GetCustomOrderStatusData.prototype, "\"e:/zqty/egret/libs/tw/data/custom/doJoin/GetCustomOrderStatusData\".GetCustomOrderStatusData");
//# sourceMappingURL=GetCustomOrderStatusData.js.map
\ No newline at end of file
{"version":3,"file":"GetCustomOrderStatusData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/custom/doJoin/GetCustomOrderStatusData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mDAAkD;AAClD,gEAA+D;AAC/D,mCAAkC;AAElC;;;GAGG;AAEH;IAA8C,4CAAI;IAAlD;;IAwCA,CAAC;IAxBU,yCAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACR,MAAM,CAAC;QACX,CAAC;QACD,iBAAM,MAAM,YAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAE1B,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YAChB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAClC,CAAC;QAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;YACvB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACzB,CAAC;QAED,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,QAAQ,CAAC,CAAC,CAAC;YAChD,IAAI,CAAC,OAAO,GAAG,aAAK,CAAC,OAAO,CAAC,aAAa,EAAE,yBAAW,CAAC,CAAC;YACzD,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;gBAChB,IAAI,CAAC,OAAO,GAAG,IAAI,yBAAW,EAAE,CAAC;YACrC,CAAC;YACD,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtC,CAAC;QAAC,IAAI,CAAC,CAAC;YACJ,aAAK,CAAC,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;YAC3C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACxB,CAAC;IACL,CAAC;IACL,+BAAC;AAAD,CAAC,AAxCD,CAA8C,WAAI,GAwCjD;AAxCY,4DAAwB;AAAxB,UAAA,wBAAwB,6GAwCpC,CAAA"}
\ No newline at end of file
"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 });
/**
*Created by cuiliqiang on 2018/3/13
* 中奖前置数据
*/
var Data_1 = require("../../Data");
var GetOrderInfoData = (function (_super) {
__extends(GetOrderInfoData, _super);
function GetOrderInfoData() {
return _super !== null && _super.apply(this, arguments) || this;
}
GetOrderInfoData.prototype.update = function (data) {
if (!data) {
return;
}
this.result = data.result;
this.type = data.type;
this.facePrice = data.facePrice;
this.cacheInfo = data.cacheInfo;
this.orderId = data.orderId;
this.title = data.title;
};
return GetOrderInfoData;
}(Data_1.Data));
exports.GetOrderInfoData = GetOrderInfoData;
__reflect(GetOrderInfoData.prototype, "\"e:/zqty/egret/libs/tw/data/custom/getOrderInfo/GetOrderInfoData\".GetOrderInfoData");
//# sourceMappingURL=GetOrderInfoData.js.map
\ No newline at end of file
{"version":3,"file":"GetOrderInfoData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/custom/getOrderInfo/GetOrderInfoData.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;GAGG;AACH,mCAAkC;AAElC;IAAsC,oCAAI;IAA1C;;IA0CA,CAAC;IAXU,iCAAM,GAAb,UAAc,IAAS;QACnB,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;YACR,MAAM,CAAC;QACX,CAAC;QACD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACtB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAChC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAC5B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;IAC5B,CAAC;IACL,uBAAC;AAAD,CAAC,AA1CD,CAAsC,WAAI,GA0CzC;AA1CY,4CAAgB;AAAhB,UAAA,gBAAgB,mGA0C5B,CAAA"}
\ No newline at end of file
"use strict";
/**
*Created by cuiliqiang on 2018/3/1
*/
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IAppData.js.map
\ No newline at end of file
{"version":3,"file":"IAppData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/game/cfg/IAppData.ts"],"names":[],"mappings":";AAAA;;GAEG"}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IDefenseStrategyData.js.map
\ No newline at end of file
{"version":3,"file":"IDefenseStrategyData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/game/cfg/IDefenseStrategyData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IExtraCfgData.js.map
\ No newline at end of file
{"version":3,"file":"IExtraCfgData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/game/cfg/IExtraCfgData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IGameCfgData.js.map
\ No newline at end of file
{"version":3,"file":"IGameCfgData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/game/cfg/IGameCfgData.ts"],"names":[],"mappings":""}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IGameData.js.map
\ No newline at end of file
{"version":3,"file":"IGameData.js","sourceRoot":"","sources":["../../../../../../libs/tw/data/game/cfg/IGameData.ts"],"names":[],"mappings":""}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment