@micro-zoe/micro-app 1.0.0-alpha.2 → 1.0.0-alpha.5
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/lib/index.d.ts +8 -3
- package/lib/index.esm.js +490 -221
- package/lib/index.esm.js.map +1 -1
- package/lib/index.min.js +1 -1
- package/lib/index.min.js.map +1 -1
- package/lib/index.umd.js +1 -1
- package/lib/index.umd.js.map +1 -1
- package/package.json +3 -1
- package/typings/global.d.ts +49 -11
package/lib/index.d.ts
CHANGED
|
@@ -38,9 +38,13 @@ declare module '@micro-zoe/micro-app/micro_app' {
|
|
|
38
38
|
shadowDOM?: boolean;
|
|
39
39
|
destroy?: boolean;
|
|
40
40
|
inline?: boolean;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
'disable-scopecss'?: boolean;
|
|
42
|
+
'disable-sandbox'?: boolean;
|
|
43
|
+
'disable-memory-router'?: boolean;
|
|
44
|
+
'disable-patch-request'?: boolean;
|
|
45
|
+
'keep-router-state'?: boolean;
|
|
46
|
+
'hidden-router'?: boolean;
|
|
47
|
+
esmodule?: boolean;
|
|
44
48
|
ssr?: boolean;
|
|
45
49
|
lifeCycles?: lifeCyclesType;
|
|
46
50
|
plugins?: plugins;
|
|
@@ -108,6 +112,7 @@ declare module '@micro-zoe/micro-app/libs/utils' {
|
|
|
108
112
|
export function isConstructor(target: unknown): boolean;
|
|
109
113
|
export function isShadowRoot(target: unknown): target is ShadowRoot;
|
|
110
114
|
export function isURL(target: unknown): target is URL;
|
|
115
|
+
export function isProxyDocument(target: unknown): target is Document;
|
|
111
116
|
/**
|
|
112
117
|
* format error log
|
|
113
118
|
* @param msg message
|