zimjs 17.3.2 → 17.3.4

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.
@@ -1432,6 +1432,7 @@ declare namespace zim {
1432
1432
  keyOut(color?: string, tolerance?: number, replacement?: color): this
1433
1433
  getColorAt(x: number, y: number, array?: boolean): string | [number]
1434
1434
  drawImageData(x?: number, y?: number, sourceX?: number, srcY?: number, srcWidth?: number, srcHeight?: number): void
1435
+ addBitmapData(): Bitmap
1435
1436
  static fromData(data: any, callback: Function): void
1436
1437
  imageData: { data: [number] }
1437
1438
  svg: SVGElement
@@ -2277,8 +2278,8 @@ declare namespace zim {
2277
2278
  valign: string
2278
2279
  }
2279
2280
  export class Panel extends Container implements zimComponent {
2280
- constructor(config_or_width?: number, height?: number, content?: string | number | {} | DisplayObject, titleBar?: string | Label, titleBarColor?: color, titleBarBackroundColor?: color, titleBarHeight?: number, backgroundColor?: color, borderColor?: color, borderWidth?: number, corner?: number | any[], close?: boolean, closeColor?: color, next?: boolean, nextColor?: color, extraButton?: boolean, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, style?: boolean, group?: string, inherit?: {})
2281
- constructor(config: { width?: number, height?: number, content?: string | number | {} | DisplayObject, titleBar?: string | Label, titleBarColor?: color, titleBarBackroundColor?: color, titleBarHeight?: number, backgroundColor?: color, borderColor?: color, borderWidth?: number, corner?: number | any[], close?: boolean, closeColor?: color, next?: boolean, nextColor?: color, extraButton?: boolean, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, style?: boolean, group?: string, inherit?: {} })
2281
+ constructor(config_or_width?: number, height?: number, content?: string | number | {} | DisplayObject, titleBar?: string | Label | zimVee, titleBarColor?: color | zimVee, titleBarBackroundColor?: color | zimVee, titleBarHeight?: number, backgroundColor?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number, corner?: number | any[], close?: boolean, closeColor?: color, next?: boolean, nextColor?: color, extraButton?: boolean, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, style?: boolean, group?: string, inherit?: {})
2282
+ constructor(config: { width?: number, height?: number, content?: string | number | {} | DisplayObject, titleBar?: string | Label | zimVee, titleBarColor?: color | zimVee, titleBarBackroundColor?: color | zimVee, titleBarHeight?: number, backgroundColor?: color | zimVee, borderColor?: color | zimVee, borderWidth?: number, corner?: number | any[], close?: boolean, closeColor?: color, next?: boolean, nextColor?: color, extraButton?: boolean, collapse?: boolean, collapseColor?: color, collapsed?: boolean, align?: string, shadowColor?: color, shadowBlur?: number, draggable?: boolean, boundary?: Boundary | {}, style?: boolean, group?: string, inherit?: {} })
2282
2283
  // ZIM Component Interface
2283
2284
  // dispose():boolean // now added to Container, etc.
2284
2285
  enabled: boolean