@micro-zoe/micro-app 0.6.2 → 0.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micro-zoe/micro-app",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "A lightweight, efficient and powerful micro front-end framework",
5
5
  "private": false,
6
6
  "main": "lib/index.min.js",
@@ -3,11 +3,11 @@ declare module '@micro-app/types' {
3
3
 
4
4
  type Func = (...rest: any[]) => void
5
5
 
6
- type microWindowType = Window & any
6
+ type microAppWindowType = Window & any
7
7
 
8
8
  interface SandBoxInterface {
9
9
  proxyWindow: WindowProxy
10
- microWindow: Window // Proxy target
10
+ microAppWindow: Window // Proxy target
11
11
  start (baseroute: string): void
12
12
  stop (): void
13
13
  // record umd snapshot before the first execution of umdHookMount
@@ -49,7 +49,6 @@ declare module '@micro-app/types' {
49
49
  inline: boolean // whether js runs in inline script mode, default is false
50
50
  scopecss: boolean // whether use css scoped, default is true
51
51
  useSandbox: boolean // whether use js sandbox, default is true
52
- macro: boolean // used to solve the async render problem of vue3, default is false
53
52
  baseroute: string // route prefix, default is ''
54
53
  source: sourceType // sources of css, js, html
55
54
  sandBox: SandBoxInterface | null // sanxbox
@@ -83,7 +82,7 @@ declare module '@micro-app/types' {
83
82
  getKeepAliveState(): string | null
84
83
 
85
84
  // actions for completely destroy
86
- actionsForCompletelyDestory (): void
85
+ actionsForCompletelyDestroy (): void
87
86
 
88
87
  // hidden app when disconnectedCallback with keep-alive
89
88
  hiddenKeepAliveApp (): void
@@ -111,7 +110,6 @@ declare module '@micro-app/types' {
111
110
  url: string,
112
111
  disableScopecss?: boolean
113
112
  disableSandbox?: boolean
114
- macro?: boolean
115
113
  shadowDOM?: boolean
116
114
  }
117
115
 
@@ -169,7 +167,6 @@ declare module '@micro-app/types' {
169
167
  inline?: boolean
170
168
  disableScopecss?: boolean
171
169
  disableSandbox?: boolean
172
- macro?: boolean
173
170
  ssr?: boolean
174
171
  lifeCycles?: lifeCyclesType
175
172
  preFetchApps?: prefetchParamList
@@ -186,7 +183,6 @@ declare module '@micro-app/types' {
186
183
  inline?: boolean
187
184
  disableScopecss?: boolean
188
185
  disableSandbox?: boolean
189
- macro?: boolean
190
186
  ssr?: boolean
191
187
  lifeCycles?: lifeCyclesType
192
188
  plugins?: plugins