simple-boot-front 1.0.115 → 1.0.116

Sign up to get free protection for your applications and to get access to all the features.
package/README.MD CHANGED
@@ -52,7 +52,7 @@ npm start
52
52
  <summary>pages/home.ts<strong>🔻(click)</strong></summary>
53
53
 
54
54
  ```typescript
55
- @Sim()
55
+ @Sim
56
56
  @Component({
57
57
  template: '<div>home</div>'
58
58
  })
@@ -65,7 +65,7 @@ export class Home {
65
65
  <summary>pages/user.ts<strong>🔻(click)</strong></summary>
66
66
 
67
67
  ```typescript
68
- @Sim()
68
+ @Sim
69
69
  @Component({
70
70
  template: '<div>user</div>'
71
71
  })
@@ -92,7 +92,7 @@ export class User {
92
92
 
93
93
  </header>
94
94
  <main>
95
- <router component="this.child"></router>
95
+ <router dr-this="this.child" dr-this:type="outlet" dr-strip="false"></router>
96
96
  </main>
97
97
  <footer>
98
98
  footer
@@ -116,7 +116,7 @@ index.ts ▼
116
116
  ```typescript
117
117
  import template from './index.html'
118
118
  import style from './index.css'
119
- @Sim()
119
+ @Sim
120
120
  @Router({
121
121
  path: '',
122
122
  route: {
@@ -165,7 +165,7 @@ Objects managed by the SimpleBootFront framework
165
165
  ```typescript
166
166
  import template from './index.html'
167
167
  import style from './index.css'
168
- @Sim()
168
+ @Sim
169
169
  @Component({
170
170
  selector: 'index', // default class name LowerCase
171
171
  template,
@@ -199,7 +199,7 @@ constructor(index: Index){...}
199
199
  ```typescript
200
200
  import template from './index.html'
201
201
  import style from './index.css'
202
- @Sim()
202
+ @Sim
203
203
  @Router({
204
204
  path: '',
205
205
  route: {
@@ -4,7 +4,6 @@ export interface ComponentConfig {
4
4
  selector?: string;
5
5
  template?: string;
6
6
  styles?: (string)[];
7
- using?: (ConstructorType<any>)[];
8
7
  }
9
8
  export declare const ComponentMetadataKey: unique symbol;
10
9
  export declare function Component(target: ConstructorType<any>): void;
@@ -3,7 +3,6 @@ import { ScriptRunnable } from 'script/ScriptRunnable';
3
3
  export declare const scripts: Map<string, ConstructorType<ScriptRunnable>>;
4
4
  export interface ScriptConfig {
5
5
  name?: string;
6
- using?: (ConstructorType<any>)[];
7
6
  }
8
7
  export declare const ScriptMetadataKey: unique symbol;
9
8
  export declare const Script: (config?: ScriptConfig) => GenericClassDecorator<ConstructorType<ScriptRunnable>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simple-boot-front",
3
- "version": "1.0.115",
3
+ "version": "1.0.116",
4
4
  "main": "SimpleApplication.js",
5
5
  "license": "MIT",
6
6
  "description": "front end SPA frameworks",
@@ -73,6 +73,6 @@
73
73
  },
74
74
  "dependencies": {
75
75
  "dom-render": "^1.0.92",
76
- "simple-boot-core": "^1.0.38"
76
+ "simple-boot-core": "^1.0.40"
77
77
  }
78
78
  }