mxcad-app 1.0.38 → 1.0.40
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 +24 -24
- package/dist/index.umd.js.gz +0 -0
- package/dist/mxcad.d.ts +7 -0
- 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
|
@@ -222,15 +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
|
-
|
|
233
|
+
unsetOverline: () => ReturnType;
|
|
234
|
+
toggleOverline: () => ReturnType;
|
|
234
235
|
};
|
|
235
236
|
}
|
|
236
237
|
}
|
|
@@ -238,16 +239,10 @@ declare module '@tiptap/core' {
|
|
|
238
239
|
|
|
239
240
|
declare module '@tiptap/core' {
|
|
240
241
|
interface Commands<ReturnType> {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
setStrike: () => ReturnType;
|
|
246
|
-
/**
|
|
247
|
-
* Unset the font size attribute
|
|
248
|
-
*/
|
|
249
|
-
unsetStrike: () => ReturnType;
|
|
250
|
-
toggleStrike: () => ReturnType;
|
|
242
|
+
Underline: {
|
|
243
|
+
setUnderline: () => ReturnType;
|
|
244
|
+
unsetUnderline: () => ReturnType;
|
|
245
|
+
toggleUnderline: () => ReturnType;
|
|
251
246
|
};
|
|
252
247
|
}
|
|
253
248
|
}
|
|
@@ -265,16 +260,16 @@ declare module "@tiptap/core" {
|
|
|
265
260
|
|
|
266
261
|
declare module '@tiptap/core' {
|
|
267
262
|
interface Commands<ReturnType> {
|
|
268
|
-
|
|
263
|
+
Strike: {
|
|
269
264
|
/**
|
|
270
265
|
* Set the font size attribute
|
|
271
266
|
*/
|
|
272
|
-
|
|
267
|
+
setStrike: () => ReturnType;
|
|
273
268
|
/**
|
|
274
269
|
* Unset the font size attribute
|
|
275
270
|
*/
|
|
276
|
-
|
|
277
|
-
|
|
271
|
+
unsetStrike: () => ReturnType;
|
|
272
|
+
toggleStrike: () => ReturnType;
|
|
278
273
|
};
|
|
279
274
|
}
|
|
280
275
|
}
|
|
@@ -282,15 +277,15 @@ declare module '@tiptap/core' {
|
|
|
282
277
|
|
|
283
278
|
declare module '@tiptap/core' {
|
|
284
279
|
interface Commands<ReturnType> {
|
|
285
|
-
|
|
280
|
+
fontSize: {
|
|
286
281
|
/**
|
|
287
282
|
* Set the font size attribute
|
|
288
283
|
*/
|
|
289
|
-
|
|
284
|
+
setFontSize: (size: string) => ReturnType;
|
|
290
285
|
/**
|
|
291
286
|
* Unset the font size attribute
|
|
292
287
|
*/
|
|
293
|
-
|
|
288
|
+
unsetFontSize: () => ReturnType;
|
|
294
289
|
};
|
|
295
290
|
}
|
|
296
291
|
}
|
|
@@ -298,10 +293,15 @@ declare module '@tiptap/core' {
|
|
|
298
293
|
|
|
299
294
|
declare module '@tiptap/core' {
|
|
300
295
|
interface Commands<ReturnType> {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
296
|
+
TextDecoration: {
|
|
297
|
+
/**
|
|
298
|
+
* Set the font size attribute
|
|
299
|
+
*/
|
|
300
|
+
setTextDecoration: (textDecoration: string) => ReturnType;
|
|
301
|
+
/**
|
|
302
|
+
* Unset the font size attribute
|
|
303
|
+
*/
|
|
304
|
+
unsetTextDecoration: () => ReturnType;
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
307
|
}
|
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/dist/mxcad.d.ts
CHANGED
|
@@ -12305,6 +12305,13 @@ declare module "mxcad" {
|
|
|
12305
12305
|
* ```
|
|
12306
12306
|
*/
|
|
12307
12307
|
deleteLayout(sName: string): boolean;
|
|
12308
|
+
/**
|
|
12309
|
+
* 布局改名
|
|
12310
|
+
* @example
|
|
12311
|
+
* ```ts
|
|
12312
|
+
* ```
|
|
12313
|
+
*/
|
|
12314
|
+
layoutRename(sName: string, sToName: string): boolean;
|
|
12308
12315
|
/**
|
|
12309
12316
|
* 绘制直线
|
|
12310
12317
|
* @param dX1 起点 X 坐标
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|