@meta2d/core
Advanced tools
Comparing version 1.0.21 to 1.0.22
{ | ||
"name": "@meta2d/core", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "@meta2d/core: Powerful, Beautiful, Simple, Open - Web-Based 2D At Its Best .", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -78,3 +78,3 @@ import { Pen, IValue } from '../pen'; | ||
pointSize: 8; | ||
pasteOffset: number; | ||
pasteOffset: boolean; | ||
opening: boolean; | ||
@@ -112,2 +112,3 @@ maxZindex: number; | ||
dialog: Dialog; | ||
autoPolylineFlag: boolean; | ||
stopPropagation: (e: MouseEvent) => void; | ||
@@ -114,0 +115,0 @@ constructor(parent: Meta2d, parentElement: HTMLElement, store: Meta2dStore); |
@@ -188,4 +188,4 @@ var __values = (this && this.__values) || function(o) { | ||
var pen = _h.value; | ||
//pen.calculative.imageDrawed 只用于判断是否需要重绘整块画布,不用于判断改图片节点是否绘制过 | ||
if (!pen.calculative.hasImage || | ||
pen.calculative.imageDrawed || | ||
this.store.animates.has(pen) || | ||
@@ -192,0 +192,0 @@ this.store.animates.has(getParent(pen, true))) { |
@@ -79,3 +79,2 @@ import { EventType, Handler, WildcardHandler } from 'mitt'; | ||
open(data?: Meta2dData, render?: boolean): void; | ||
extendedFn(): void; | ||
cacheData(id: string): void; | ||
@@ -82,0 +81,0 @@ loadCacheData(id: string): void; |
@@ -89,4 +89,6 @@ import { Meta2d } from '../core'; | ||
triggers?: Trigger[]; | ||
binds?: Bind; | ||
bind?: Bind; | ||
value?: string; | ||
enableMock?: boolean; | ||
mock?: any; | ||
} |
@@ -366,3 +366,2 @@ import { Point } from '../point'; | ||
imageRadius?: number; | ||
autoPolylineFlag?: boolean; | ||
}; | ||
@@ -369,0 +368,0 @@ prevFrame?: Pen; |
@@ -57,6 +57,8 @@ import { Emitter } from 'mitt'; | ||
name?: string; | ||
enableMock?: boolean; | ||
} | ||
export interface Network { | ||
name?: string; | ||
type: 'mqtt' | 'websocket' | 'http'; | ||
protocol: 'mqtt' | 'websocket' | 'http'; | ||
type?: string; | ||
url?: string; | ||
@@ -71,3 +73,3 @@ protocols?: string; | ||
}; | ||
headers?: HeadersInit; | ||
headers?: any; | ||
method?: string; | ||
@@ -112,3 +114,3 @@ body?: any; | ||
}; | ||
binds: { | ||
bind?: { | ||
[key: string]: { | ||
@@ -115,0 +117,0 @@ id: string; |
@@ -41,3 +41,3 @@ var __assign = (this && this.__assign) || function () { | ||
bindDatas: {}, | ||
binds: {}, | ||
bind: {}, | ||
cacheDatas: [], | ||
@@ -71,3 +71,3 @@ }; | ||
store.bindDatas = {}; | ||
store.binds = {}; | ||
store.bind = {}; | ||
store.active = []; | ||
@@ -74,0 +74,0 @@ store.hover = undefined; |
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 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 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 not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1495915
21599