@flashist/appframework 0.0.38 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/debug/DebugModule.d.ts +1 -0
- package/debug/DebugModule.js +9 -6
- package/debug/DebugModule.js.map +1 -1
- package/debug/data/DefaultDebugModuleConfigVO.d.ts +5 -0
- package/debug/data/DefaultDebugModuleConfigVO.js +12 -0
- package/debug/data/DefaultDebugModuleConfigVO.js.map +1 -0
- package/debug/data/IDebugModuleConfigVO.d.ts +4 -0
- package/debug/data/IDebugModuleConfigVO.js +2 -0
- package/debug/data/IDebugModuleConfigVO.js.map +1 -0
- package/package.json +1 -1
package/debug/DebugModule.d.ts
CHANGED
package/debug/DebugModule.js
CHANGED
|
@@ -14,21 +14,24 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
14
14
|
};
|
|
15
15
|
})();
|
|
16
16
|
import { ConsoleCustomLoggerItem, Logger } from "@flashist/fcore";
|
|
17
|
-
import { FApp } from "@flashist/flibs";
|
|
17
|
+
import { FApp, getInstance, serviceLocatorAdd } from "@flashist/flibs";
|
|
18
18
|
import { FC } from "@flashist/fconsole";
|
|
19
19
|
import { BaseAppModule } from "../base/modules/BaseAppModule";
|
|
20
|
+
import { DefaultDebugModuleConfigVO } from "./data/DefaultDebugModuleConfigVO";
|
|
20
21
|
var DebugModule = /** @class */ (function (_super) {
|
|
21
22
|
__extends(DebugModule, _super);
|
|
22
23
|
function DebugModule() {
|
|
23
24
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
24
25
|
}
|
|
26
|
+
DebugModule.prototype.init = function () {
|
|
27
|
+
_super.prototype.init.call(this);
|
|
28
|
+
// Modules
|
|
29
|
+
serviceLocatorAdd(DefaultDebugModuleConfigVO, { isSingleton: true });
|
|
30
|
+
};
|
|
25
31
|
DebugModule.prototype.activateCompleteHook = function () {
|
|
26
32
|
_super.prototype.activateCompleteHook.call(this);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
defaultVisible: true
|
|
30
|
-
}
|
|
31
|
-
});
|
|
33
|
+
var fConsoleConfig = getInstance(DefaultDebugModuleConfigVO);
|
|
34
|
+
FC.startInit(FApp.instance.stage, fConsoleConfig.fconsoleConfig);
|
|
32
35
|
Logger.addLoggerItem(new ConsoleCustomLoggerItem());
|
|
33
36
|
};
|
|
34
37
|
return DebugModule;
|
package/debug/DebugModule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugModule.js","sourceRoot":"","sources":["../../src/debug/DebugModule.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DebugModule.js","sourceRoot":"","sources":["../../src/debug/DebugModule.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAG/E;IAAiC,+BAAa;IAA9C;;IAoBA,CAAC;IAlBG,0BAAI,GAAJ;QACI,iBAAM,IAAI,WAAE,CAAC;QAEb,UAAU;QACV,iBAAiB,CAAC,0BAA0B,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,0CAAoB,GAApB;QACI,iBAAM,oBAAoB,WAAE,CAAC;QAE7B,IAAM,cAAc,GAAyB,WAAW,CAAC,0BAA0B,CAAC,CAAC;QACrF,EAAE,CAAC,SAAS,CACR,IAAI,CAAC,QAAQ,CAAC,KAAK,EACnB,cAAc,CAAC,cAAc,CAChC,CAAC;QAEF,MAAM,CAAC,aAAa,CAAC,IAAI,uBAAuB,EAAE,CAAC,CAAC;IACxD,CAAC;IACL,kBAAC;AAAD,CAAC,AApBD,CAAiC,aAAa,GAoB7C"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IFConsoleConfigVO } from "@flashist/fconsole/console/config/IFConsoleConfigVO";
|
|
2
|
+
import { IDebugModuleConfigVO } from "./IDebugModuleConfigVO";
|
|
3
|
+
export declare class DefaultDebugModuleConfigVO implements IDebugModuleConfigVO {
|
|
4
|
+
fconsoleConfig: Partial<IFConsoleConfigVO>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var DefaultDebugModuleConfigVO = /** @class */ (function () {
|
|
2
|
+
function DefaultDebugModuleConfigVO() {
|
|
3
|
+
this.fconsoleConfig = {
|
|
4
|
+
console: {
|
|
5
|
+
defaultVisible: true
|
|
6
|
+
}
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
return DefaultDebugModuleConfigVO;
|
|
10
|
+
}());
|
|
11
|
+
export { DefaultDebugModuleConfigVO };
|
|
12
|
+
//# sourceMappingURL=DefaultDebugModuleConfigVO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultDebugModuleConfigVO.js","sourceRoot":"","sources":["../../../src/debug/data/DefaultDebugModuleConfigVO.ts"],"names":[],"mappings":"AAGA;IAAA;QACI,mBAAc,GAA+B;YACzC,OAAO,EAAE;gBACL,cAAc,EAAE,IAAI;aACvB;SACG,CAAC;IACb,CAAC;IAAD,iCAAC;AAAD,CAAC,AAND,IAMC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDebugModuleConfigVO.js","sourceRoot":"","sources":["../../../src/debug/data/IDebugModuleConfigVO.ts"],"names":[],"mappings":""}
|