@micro-zoe/micro-app 0.3.3 → 0.4.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/README.md +1 -3
- package/README.zh-cn.md +5 -7
- package/lib/index.d.ts +9 -20
- package/lib/index.esm.js +514 -382
- 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 +1 -1
- package/typings/global.d.ts +3 -0
package/package.json
CHANGED
package/typings/global.d.ts
CHANGED
|
@@ -78,6 +78,7 @@ declare module '@micro-app/types' {
|
|
|
78
78
|
appUrl: AttrType // app url
|
|
79
79
|
isWating: boolean // combine action of set attribute name, url
|
|
80
80
|
cacheData: Record<PropertyKey, unknown> | null // Cache data
|
|
81
|
+
hasConnected: boolean // element has run connectedCallback
|
|
81
82
|
connectedCallback(): void // Hooks for element append to documents
|
|
82
83
|
disconnectedCallback(): void // Hooks for element delete from documents
|
|
83
84
|
attributeChangedCallback(a: 'name' | 'url', o: string, n: string): void // Hooks for element attributes change
|
|
@@ -185,3 +186,5 @@ declare namespace JSX {
|
|
|
185
186
|
'micro-app': any
|
|
186
187
|
}
|
|
187
188
|
}
|
|
189
|
+
|
|
190
|
+
declare module '@micro-zoe/micro-app/polyfill/jsx-custom-event'
|