@micro-zoe/micro-app
Advanced tools
Comparing version 1.0.0-rc.4 to 1.0.0-rc.5
@@ -162,2 +162,3 @@ /// <reference path="../typings/global.d.ts" /> | ||
export function isProxyDocument(target: unknown): target is Document; | ||
export function isTargetExtension(path: string, suffix: string): boolean; | ||
export function includes(target: unknown[], searchElement: unknown, fromIndex?: number): boolean; | ||
@@ -210,3 +211,5 @@ /** | ||
/** | ||
* Get valid address, such as https://xxx/xx/xx.html to https://xxx/xx/ | ||
* Get valid address, such as | ||
* 1. https://domain/xx/xx.html to https://domain/xx/ | ||
* 2. https://domain/xx to https://domain/xx/ | ||
* @param url app.url | ||
@@ -331,2 +334,3 @@ */ | ||
export function getBaseHTMLElement(): BaseHTMLElementType; | ||
export function formatEventType(type: string, appName: string): string; | ||
export {}; | ||
@@ -333,0 +337,0 @@ } |
{ | ||
"name": "@micro-zoe/micro-app", | ||
"version": "1.0.0-rc.4", | ||
"version": "1.0.0-rc.5", | ||
"description": "A lightweight, efficient and powerful micro front-end framework", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -267,10 +267,10 @@ declare module '@micro-app/types' { | ||
interface lifeCyclesType { | ||
created?(e: CustomEvent): void | ||
beforemount?(e: CustomEvent): void | ||
mounted?(e: CustomEvent): void | ||
unmount?(e: CustomEvent): void | ||
error?(e: CustomEvent): void | ||
beforeshow?(e: CustomEvent): void | ||
aftershow?(e: CustomEvent): void | ||
afterhidden?(e: CustomEvent): void | ||
created?(e: CustomEvent, appName: string): void | ||
beforemount?(e: CustomEvent, appName: string): void | ||
mounted?(e: CustomEvent, appName: string): void | ||
unmount?(e: CustomEvent, appName: string): void | ||
error?(e: CustomEvent, appName: string): void | ||
beforeshow?(e: CustomEvent, appName: string): void | ||
aftershow?(e: CustomEvent, appName: string): void | ||
afterhidden?(e: CustomEvent, appName: string): void | ||
} | ||
@@ -277,0 +277,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2233168
10526