simple-boot-front 1.0.110 → 1.0.111

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ export declare class SimpleBootFront extends SimpleApplication {
15
15
  rootRouter: ConstructorType<any>;
16
16
  option: SimFrontOption;
17
17
  navigation: Navigation;
18
- domRendoerExcludeProxy: (typeof SimFrontOption | typeof SimstanceManager | typeof IntentManager | typeof RouterManager | typeof SimpleApplication | typeof Navigation | typeof HttpService)[];
18
+ domRendoerExcludeProxy: (typeof SimFrontOption | typeof SimstanceManager | typeof IntentManager | typeof RouterManager | typeof Navigation | typeof HttpService)[];
19
19
  domRenderTargetElements: TargetElement[];
20
20
  domRenderTargetAttrs: TargetAttr[];
21
21
  domRenderConfig: Config;
@@ -210,6 +210,7 @@ var SimpleBootFront = (function (_super) {
210
210
  if (target && routerAtomic.value) {
211
211
  var id = 'root-router';
212
212
  var startEndPoint = RawSet_1.RawSet.createStartEndPoint(id, RawSetType_1.RawSetType.TARGET_ELEMENT, this.domRenderConfig);
213
+ target.innerHTML = '';
213
214
  target.appendChild(startEndPoint.start);
214
215
  target.insertAdjacentHTML('beforeend', this.getComponentInnerHtml(this.rootRouter, id));
215
216
  target.appendChild(startEndPoint.end);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simple-boot-front",
3
- "version": "1.0.110",
3
+ "version": "1.0.111",
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.88",
75
+ "dom-render": "^1.0.89",
76
76
  "simple-boot-core": "^1.0.32"
77
77
  }
78
78
  }
@@ -46,7 +46,7 @@ var CookieService = (function () {
46
46
  this.option.window.document.cookie = name + '=; expires=Thu, 01 Jan 1999 00:00:10 GMT;' + " path=".concat(path);
47
47
  };
48
48
  CookieService = __decorate([
49
- (0, SimDecorator_1.Sim)(),
49
+ SimDecorator_1.Sim,
50
50
  __metadata("design:paramtypes", [SimFrontOption_1.SimFrontOption])
51
51
  ], CookieService);
52
52
  return CookieService;
@@ -15,7 +15,7 @@ var HttpService = (function () {
15
15
  function HttpService() {
16
16
  }
17
17
  HttpService = __decorate([
18
- (0, SimDecorator_1.Sim)(),
18
+ SimDecorator_1.Sim,
19
19
  __metadata("design:paramtypes", [])
20
20
  ], HttpService);
21
21
  return HttpService;
@@ -44,7 +44,7 @@ var MetaTagService = (function () {
44
44
  return meta;
45
45
  };
46
46
  MetaTagService = __decorate([
47
- (0, SimDecorator_1.Sim)(),
47
+ SimDecorator_1.Sim,
48
48
  __metadata("design:paramtypes", [SimFrontOption_1.SimFrontOption])
49
49
  ], MetaTagService);
50
50
  return MetaTagService;
@@ -109,7 +109,7 @@ var Navigation = (function () {
109
109
  return this.option.window.history.state;
110
110
  };
111
111
  Navigation = __decorate([
112
- (0, SimDecorator_1.Sim)(),
112
+ SimDecorator_1.Sim,
113
113
  __metadata("design:paramtypes", [SimFrontOption_1.SimFrontOption])
114
114
  ], Navigation);
115
115
  return Navigation;
@@ -31,7 +31,7 @@ var ScriptService = (function () {
31
31
  return obj;
32
32
  };
33
33
  ScriptService = __decorate([
34
- (0, SimDecorator_1.Sim)(),
34
+ SimDecorator_1.Sim,
35
35
  __metadata("design:paramtypes", [SimstanceManager_1.SimstanceManager])
36
36
  ], ScriptService);
37
37
  return ScriptService;
@@ -59,7 +59,7 @@ var StorageService = (function () {
59
59
  window.localStorage.clear();
60
60
  };
61
61
  StorageService = __decorate([
62
- (0, SimDecorator_1.Sim)(),
62
+ SimDecorator_1.Sim,
63
63
  __metadata("design:paramtypes", [SimFrontOption_1.SimFrontOption])
64
64
  ], StorageService);
65
65
  return StorageService;
@@ -38,7 +38,7 @@ var ViewService = (function () {
38
38
  return (_a = this.e(".".concat(selector))) !== null && _a !== void 0 ? _a : undefined;
39
39
  };
40
40
  ViewService = __decorate([
41
- (0, SimDecorator_1.Sim)(),
41
+ SimDecorator_1.Sim,
42
42
  __metadata("design:paramtypes", [])
43
43
  ], ViewService);
44
44
  return ViewService;