@das-fed/mframe 0.0.23 → 0.0.25

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.
Files changed (4) hide show
  1. package/es5.js +1416 -1413
  2. package/index.d.ts +2 -2
  3. package/index.js +1301 -1299
  4. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -447,8 +447,8 @@ declare type MicroAppItem = {
447
447
  /** 子应用来源(协议、主机、端口) */
448
448
  origin: string
449
449
 
450
- /** 子应用路由激活的规则,唯一规则(注意不要和其他应用存在包含关系)。支持如 glob 语法,使用 picomatch 来匹配 */
451
- activeRule: string
450
+ /** 子应用路由激活的规则,唯一规则(注意不要和其他应用存在包含关系)。支持如 glob 语法,使用 picomatch 来匹配。支持字符串或字符串数组 */
451
+ activeRule: string | string[]
452
452
 
453
453
  /** 作为子应用时,是否自动清除html、body、挂载点的背景颜色。默认清除,防止子应用的背景颜色覆盖主应用,但是会自动继到可用的布局容器中 */
454
454
  autoClearBackground?: Boolean