mxcad-app 1.0.28 → 1.0.29
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 +22 -22
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +1 -1
- package/dist/mxcadAppAssets/plugins/pluginCodeEdit/index.js +111 -111
- package/dist/mxcadAppAssets/wasm/2d/mxdrawassembly_min.wasm.gz +0 -0
- package/dist/mxcadAppAssets/wasm/2d-st/mxdrawassembly_minst.wasm.gz +0 -0
- package/dist/mxdraw.d.ts +2 -2
- 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
|
@@ -222,25 +222,16 @@ declare module '@howdyjs/to-drag' {
|
|
|
222
222
|
|
|
223
223
|
declare module '@tiptap/core' {
|
|
224
224
|
interface Commands<ReturnType> {
|
|
225
|
-
|
|
225
|
+
Overline: {
|
|
226
226
|
/**
|
|
227
227
|
* Set the font size attribute
|
|
228
228
|
*/
|
|
229
|
-
|
|
229
|
+
setOverline: () => ReturnType;
|
|
230
230
|
/**
|
|
231
231
|
* Unset the font size attribute
|
|
232
232
|
*/
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
declare module "@tiptap/core" {
|
|
240
|
-
interface Commands<ReturnType> {
|
|
241
|
-
selectedText: {
|
|
242
|
-
setSelectedText: (from: number, to: number) => ReturnType;
|
|
243
|
-
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
233
|
+
unsetOverline: () => ReturnType;
|
|
234
|
+
toggleOverline: () => ReturnType;
|
|
244
235
|
};
|
|
245
236
|
}
|
|
246
237
|
}
|
|
@@ -248,27 +239,25 @@ declare module "@tiptap/core" {
|
|
|
248
239
|
|
|
249
240
|
declare module '@tiptap/core' {
|
|
250
241
|
interface Commands<ReturnType> {
|
|
251
|
-
|
|
242
|
+
fontSize: {
|
|
252
243
|
/**
|
|
253
244
|
* Set the font size attribute
|
|
254
245
|
*/
|
|
255
|
-
|
|
246
|
+
setFontSize: (size: string) => ReturnType;
|
|
256
247
|
/**
|
|
257
248
|
* Unset the font size attribute
|
|
258
249
|
*/
|
|
259
|
-
|
|
260
|
-
toggleOverline: () => ReturnType;
|
|
250
|
+
unsetFontSize: () => ReturnType;
|
|
261
251
|
};
|
|
262
252
|
}
|
|
263
253
|
}
|
|
264
254
|
|
|
265
255
|
|
|
266
|
-
declare module
|
|
256
|
+
declare module "@tiptap/core" {
|
|
267
257
|
interface Commands<ReturnType> {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
toggleUnderline: () => ReturnType;
|
|
258
|
+
selectedText: {
|
|
259
|
+
setSelectedText: (from: number, to: number) => ReturnType;
|
|
260
|
+
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
272
261
|
};
|
|
273
262
|
}
|
|
274
263
|
}
|
|
@@ -305,3 +294,14 @@ declare module '@tiptap/core' {
|
|
|
305
294
|
};
|
|
306
295
|
}
|
|
307
296
|
}
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
declare module '@tiptap/core' {
|
|
300
|
+
interface Commands<ReturnType> {
|
|
301
|
+
Underline: {
|
|
302
|
+
setUnderline: () => ReturnType;
|
|
303
|
+
unsetUnderline: () => ReturnType;
|
|
304
|
+
toggleUnderline: () => ReturnType;
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
}
|
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/mxcad.d.ts
CHANGED
|
@@ -2710,7 +2710,7 @@ declare module "mxcad" {
|
|
|
2710
2710
|
console.log(objIds);
|
|
2711
2711
|
* ```
|
|
2712
2712
|
*/
|
|
2713
|
-
getCurrentSelect(filter?: MxCADResbuf | null, returnMxCADObject?: boolean, returnMxDrawObject?: boolean): McObjectId[];
|
|
2713
|
+
getCurrentSelect(filter?: MxCADResbuf | null, returnMxCADObject?: boolean, returnMxDrawObject?: boolean, whenEmptyReturnPrvSelect?: boolean): McObjectId[];
|
|
2714
2714
|
/** 用户选择
|
|
2715
2715
|
* @param strPrompt 字符串提示
|
|
2716
2716
|
* @param filter 过滤对象
|