simple-boot-core
Advanced tools
Comparing version 1.0.15 to 1.0.16
export interface LifeCycle { | ||
onInit(): void; | ||
onChangedRender(): void; | ||
onInitedChild(): void; | ||
onFinish(): void; | ||
onCreate(): void; | ||
} |
@@ -11,8 +11,5 @@ import { LifeCycle } from "./LifeCycle"; | ||
_refModule: Map<string, Map<Module, RefModuleItem[]>>; | ||
onChangedRender(): void; | ||
onFinish(): void; | ||
onInit(): void; | ||
onInitedChild(): void; | ||
onCreate(): void; | ||
publish(intent: Intent): void; | ||
subscribe(intent: Intent): void; | ||
} |
@@ -9,10 +9,4 @@ "use strict"; | ||
} | ||
Module.prototype.onChangedRender = function () { | ||
Module.prototype.onCreate = function () { | ||
}; | ||
Module.prototype.onFinish = function () { | ||
}; | ||
Module.prototype.onInit = function () { | ||
}; | ||
Module.prototype.onInitedChild = function () { | ||
}; | ||
Module.prototype.publish = function (intent) { | ||
@@ -19,0 +13,0 @@ var _a; |
{ | ||
"name": "simple-boot-core", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"main": "SimpleApplication.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -6,3 +6,4 @@ import { Module } from "../module/Module"; | ||
import { RouterModule } from "./RouterModule"; | ||
export declare class Router implements IntentEvent { | ||
import { LifeCycle } from '../module/LifeCycle'; | ||
export declare class Router implements IntentEvent, LifeCycle { | ||
_path: string; | ||
@@ -13,2 +14,3 @@ _childs: ConstructorType<Router>[]; | ||
constructor(_path?: string, _childs?: ConstructorType<Router>[]); | ||
onCreate(): void; | ||
publish(intent: Intent): void; | ||
@@ -15,0 +17,0 @@ subscribe(intent: Intent): void; |
@@ -51,2 +51,4 @@ "use strict"; | ||
} | ||
Router.prototype.onCreate = function () { | ||
}; | ||
Router.prototype.publish = function (intent) { | ||
@@ -53,0 +55,0 @@ var _a; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82548
1865