@meta2d/core 1.0.64 → 1.0.65
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/package.json +1 -1
- package/src/canvas/canvas.js +16 -6
- package/src/canvas/canvas.js.map +1 -1
- package/src/core.d.ts +3 -2
- package/src/core.js +256 -207
- package/src/core.js.map +1 -1
- package/src/diagrams/video.js +1 -0
- package/src/diagrams/video.js.map +1 -1
- package/src/dialog/dialog.d.ts +9 -3
- package/src/dialog/dialog.js +79 -6
- package/src/dialog/dialog.js.map +1 -1
- package/src/pen/render.js +29 -11
- package/src/pen/render.js.map +1 -1
- package/src/utils/url.d.ts +3 -0
- package/src/utils/url.js +63 -0
- package/src/utils/url.js.map +1 -1
package/src/core.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ export declare class Meta2d {
|
|
|
61
61
|
setDatabyOptions(options?: Options): void;
|
|
62
62
|
private init;
|
|
63
63
|
initEventFns(): void;
|
|
64
|
+
getEventData(list: any, pen: Pen): any;
|
|
64
65
|
message(options: MessageOptions): void;
|
|
65
66
|
closeAll(): void;
|
|
66
67
|
navigatorTo(id: string): Promise<void>;
|
|
@@ -162,8 +163,9 @@ export declare class Meta2d {
|
|
|
162
163
|
* 组合
|
|
163
164
|
* @param pens 组合的画笔们
|
|
164
165
|
* @param showChild 组合后展示第几个孩子
|
|
166
|
+
* @param active 是否激活组合后的画笔
|
|
165
167
|
*/
|
|
166
|
-
combine(pens?: Pen[], showChild?: number): any;
|
|
168
|
+
combine(pens?: Pen[], showChild?: number, active?: boolean): any;
|
|
167
169
|
uncombine(pen?: Pen): void;
|
|
168
170
|
appendChild(pens?: Pen[]): void;
|
|
169
171
|
/***
|
|
@@ -235,7 +237,6 @@ export declare class Meta2d {
|
|
|
235
237
|
stopDataMock(): void;
|
|
236
238
|
penMock(pen: Pen): void;
|
|
237
239
|
penNetwork(pen: Pen): void;
|
|
238
|
-
getCookie(name: string): string;
|
|
239
240
|
getDynamicParam(key: string): any;
|
|
240
241
|
onNetworkConnect(https: Network[]): void;
|
|
241
242
|
requestHttp(_req: Network): Promise<void>;
|