simple-boot-front 1.0.116 → 1.0.118
Sign up to get free protection for your applications and to get access to all the features.
- package/SimpleBootFront.d.ts +1 -1
- package/SimpleBootFront.js +6 -1
- package/lifecycle/OnInit.d.ts +1 -1
- package/package.json +3 -3
package/SimpleBootFront.d.ts
CHANGED
@@ -25,7 +25,7 @@ export declare class SimpleBootFront extends SimpleApplication {
|
|
25
25
|
private initRun;
|
26
26
|
initWriteRootRouter(): void;
|
27
27
|
writeRootRouter(): SimAtomic<any>;
|
28
|
-
goRouting(url: string): Promise<RouterModule<SimAtomic<
|
28
|
+
goRouting(url: string): Promise<RouterModule<SimAtomic<object>, any>>;
|
29
29
|
runRouting(otherInstanceSim?: Map<ConstructorType<any>, any>, url?: string): Promise<RouterModule<SimAtomic<Object>, any> | undefined>;
|
30
30
|
run(otherInstanceSim?: Map<ConstructorType<any>, any>, url?: string): SimstanceManager;
|
31
31
|
private afterSetting;
|
package/SimpleBootFront.js
CHANGED
@@ -29,7 +29,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
29
29
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
30
30
|
function step(op) {
|
31
31
|
if (f) throw new TypeError("Generator is already executing.");
|
32
|
-
while (_) try {
|
32
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
33
33
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
34
34
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
35
35
|
switch (op[0]) {
|
@@ -105,6 +105,7 @@ var SimpleBootFront = (function (_super) {
|
|
105
105
|
});
|
106
106
|
}
|
107
107
|
}],
|
108
|
+
eventVariables: {},
|
108
109
|
proxyExcludeTyps: _this.domRendoerExcludeProxy,
|
109
110
|
operatorAround: {
|
110
111
|
drThis: {
|
@@ -152,6 +153,10 @@ var SimpleBootFront = (function (_super) {
|
|
152
153
|
this.initDomRenderScripts();
|
153
154
|
this.initDomRenderTargetElements();
|
154
155
|
this.navigation = this.simstanceManager.getOrNewSim(Navigation_1.Navigation);
|
156
|
+
this.domRenderConfig.eventVariables = {
|
157
|
+
$router: this.navigation,
|
158
|
+
$application: this
|
159
|
+
};
|
155
160
|
this.initWriteRootRouter();
|
156
161
|
this.option.window.addEventListener('intent', function (event) {
|
157
162
|
var cevent = event;
|
package/lifecycle/OnInit.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "simple-boot-front",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.118",
|
4
4
|
"main": "SimpleApplication.js",
|
5
5
|
"license": "MIT",
|
6
6
|
"description": "front end SPA frameworks",
|
@@ -72,7 +72,7 @@
|
|
72
72
|
"typescript": "^4.4.3"
|
73
73
|
},
|
74
74
|
"dependencies": {
|
75
|
-
"dom-render": "^1.0.
|
76
|
-
"simple-boot-core": "^1.0.
|
75
|
+
"dom-render": "^1.0.93",
|
76
|
+
"simple-boot-core": "^1.0.41"
|
77
77
|
}
|
78
78
|
}
|