mxcad-app 1.0.23 → 1.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.
- package/dist/chunks/mxcad.js.gz +0 -0
- package/dist/chunks/mxdraw.js.gz +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +25 -25
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +2 -1
- package/dist/mxcadAppAssets/plugins/pluginIdentifyPattern/index.js +70 -70
- package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.js.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.wasm.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_min.js.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_minst.wasm.gz +0 -0
- package/package.json +1 -1
package/dist/chunks/mxcad.js.gz
CHANGED
|
Binary file
|
package/dist/chunks/mxdraw.js.gz
CHANGED
|
Binary file
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -220,17 +220,11 @@ declare module '@howdyjs/to-drag' {
|
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
declare module
|
|
223
|
+
declare module "@tiptap/core" {
|
|
224
224
|
interface Commands<ReturnType> {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
*/
|
|
229
|
-
setTextDecoration: (textDecoration: string) => ReturnType;
|
|
230
|
-
/**
|
|
231
|
-
* Unset the font size attribute
|
|
232
|
-
*/
|
|
233
|
-
unsetTextDecoration: () => ReturnType;
|
|
225
|
+
selectedText: {
|
|
226
|
+
setSelectedText: (from: number, to: number) => ReturnType;
|
|
227
|
+
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
234
228
|
};
|
|
235
229
|
}
|
|
236
230
|
}
|
|
@@ -249,16 +243,15 @@ declare module '@tiptap/core' {
|
|
|
249
243
|
|
|
250
244
|
declare module '@tiptap/core' {
|
|
251
245
|
interface Commands<ReturnType> {
|
|
252
|
-
|
|
246
|
+
fontSize: {
|
|
253
247
|
/**
|
|
254
248
|
* Set the font size attribute
|
|
255
249
|
*/
|
|
256
|
-
|
|
250
|
+
setFontSize: (size: string) => ReturnType;
|
|
257
251
|
/**
|
|
258
252
|
* Unset the font size attribute
|
|
259
253
|
*/
|
|
260
|
-
|
|
261
|
-
toggleOverline: () => ReturnType;
|
|
254
|
+
unsetFontSize: () => ReturnType;
|
|
262
255
|
};
|
|
263
256
|
}
|
|
264
257
|
}
|
|
@@ -266,15 +259,15 @@ declare module '@tiptap/core' {
|
|
|
266
259
|
|
|
267
260
|
declare module '@tiptap/core' {
|
|
268
261
|
interface Commands<ReturnType> {
|
|
269
|
-
|
|
262
|
+
TextDecoration: {
|
|
270
263
|
/**
|
|
271
264
|
* Set the font size attribute
|
|
272
265
|
*/
|
|
273
|
-
|
|
266
|
+
setTextDecoration: (textDecoration: string) => ReturnType;
|
|
274
267
|
/**
|
|
275
268
|
* Unset the font size attribute
|
|
276
269
|
*/
|
|
277
|
-
|
|
270
|
+
unsetTextDecoration: () => ReturnType;
|
|
278
271
|
};
|
|
279
272
|
}
|
|
280
273
|
}
|
|
@@ -282,26 +275,33 @@ declare module '@tiptap/core' {
|
|
|
282
275
|
|
|
283
276
|
declare module '@tiptap/core' {
|
|
284
277
|
interface Commands<ReturnType> {
|
|
285
|
-
|
|
278
|
+
Overline: {
|
|
286
279
|
/**
|
|
287
280
|
* Set the font size attribute
|
|
288
281
|
*/
|
|
289
|
-
|
|
282
|
+
setOverline: () => ReturnType;
|
|
290
283
|
/**
|
|
291
284
|
* Unset the font size attribute
|
|
292
285
|
*/
|
|
293
|
-
|
|
294
|
-
|
|
286
|
+
unsetOverline: () => ReturnType;
|
|
287
|
+
toggleOverline: () => ReturnType;
|
|
295
288
|
};
|
|
296
289
|
}
|
|
297
290
|
}
|
|
298
291
|
|
|
299
292
|
|
|
300
|
-
declare module
|
|
293
|
+
declare module '@tiptap/core' {
|
|
301
294
|
interface Commands<ReturnType> {
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
295
|
+
Strike: {
|
|
296
|
+
/**
|
|
297
|
+
* Set the font size attribute
|
|
298
|
+
*/
|
|
299
|
+
setStrike: () => ReturnType;
|
|
300
|
+
/**
|
|
301
|
+
* Unset the font size attribute
|
|
302
|
+
*/
|
|
303
|
+
unsetStrike: () => ReturnType;
|
|
304
|
+
toggleStrike: () => ReturnType;
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
307
|
}
|
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/mxcad.d.ts
CHANGED
|
@@ -13486,8 +13486,9 @@ declare module "mxcad" {
|
|
|
13486
13486
|
* 把修改的对象,用粉色显示
|
|
13487
13487
|
* 增加的对象,用绿色显示
|
|
13488
13488
|
* 删除的对象,用红色显示
|
|
13489
|
+
* strColor: '{"add_color":0xFF0000,"erase_color":0x00FF00,"modify_color":0x0000FF,"not_modify_color":0x505050}'
|
|
13489
13490
|
*/
|
|
13490
|
-
regenDisplay(): boolean;
|
|
13491
|
+
regenDisplay(strColor?: string): boolean;
|
|
13491
13492
|
}
|
|
13492
13493
|
/**
|
|
13493
13494
|
* MxModifyColor 批量修改图上对象颜色
|