mxcad-app 1.0.21 → 1.0.22
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 +30 -30
- package/dist/index.umd.js.gz +0 -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/dist/mxdraw.d.ts +3 -1
- 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,25 @@ declare module '@howdyjs/to-drag' {
|
|
|
222
222
|
|
|
223
223
|
declare module '@tiptap/core' {
|
|
224
224
|
interface Commands<ReturnType> {
|
|
225
|
-
|
|
225
|
+
TextDecoration: {
|
|
226
226
|
/**
|
|
227
227
|
* Set the font size attribute
|
|
228
228
|
*/
|
|
229
|
-
|
|
229
|
+
setTextDecoration: (textDecoration: string) => ReturnType;
|
|
230
230
|
/**
|
|
231
231
|
* Unset the font size attribute
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
unsetTextDecoration: () => ReturnType;
|
|
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;
|
|
234
244
|
};
|
|
235
245
|
}
|
|
236
246
|
}
|
|
@@ -238,15 +248,16 @@ declare module '@tiptap/core' {
|
|
|
238
248
|
|
|
239
249
|
declare module '@tiptap/core' {
|
|
240
250
|
interface Commands<ReturnType> {
|
|
241
|
-
|
|
251
|
+
Strike: {
|
|
242
252
|
/**
|
|
243
253
|
* Set the font size attribute
|
|
244
254
|
*/
|
|
245
|
-
|
|
255
|
+
setStrike: () => ReturnType;
|
|
246
256
|
/**
|
|
247
257
|
* Unset the font size attribute
|
|
248
258
|
*/
|
|
249
|
-
|
|
259
|
+
unsetStrike: () => ReturnType;
|
|
260
|
+
toggleStrike: () => ReturnType;
|
|
250
261
|
};
|
|
251
262
|
}
|
|
252
263
|
}
|
|
@@ -271,20 +282,15 @@ declare module '@tiptap/core' {
|
|
|
271
282
|
|
|
272
283
|
declare module '@tiptap/core' {
|
|
273
284
|
interface Commands<ReturnType> {
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
declare module "@tiptap/core" {
|
|
284
|
-
interface Commands<ReturnType> {
|
|
285
|
-
selectedText: {
|
|
286
|
-
setSelectedText: (from: number, to: number) => ReturnType;
|
|
287
|
-
unsetSelectedText: (from: number, to: number) => ReturnType;
|
|
285
|
+
fontSize: {
|
|
286
|
+
/**
|
|
287
|
+
* Set the font size attribute
|
|
288
|
+
*/
|
|
289
|
+
setFontSize: (size: string) => ReturnType;
|
|
290
|
+
/**
|
|
291
|
+
* Unset the font size attribute
|
|
292
|
+
*/
|
|
293
|
+
unsetFontSize: () => ReturnType;
|
|
288
294
|
};
|
|
289
295
|
}
|
|
290
296
|
}
|
|
@@ -292,16 +298,10 @@ declare module "@tiptap/core" {
|
|
|
292
298
|
|
|
293
299
|
declare module '@tiptap/core' {
|
|
294
300
|
interface Commands<ReturnType> {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
setStrike: () => ReturnType;
|
|
300
|
-
/**
|
|
301
|
-
* Unset the font size attribute
|
|
302
|
-
*/
|
|
303
|
-
unsetStrike: () => ReturnType;
|
|
304
|
-
toggleStrike: () => ReturnType;
|
|
301
|
+
Underline: {
|
|
302
|
+
setUnderline: () => ReturnType;
|
|
303
|
+
unsetUnderline: () => ReturnType;
|
|
304
|
+
toggleUnderline: () => ReturnType;
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
307
|
}
|
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/mxdraw.d.ts
CHANGED
|
@@ -176,7 +176,9 @@ declare module "mxdraw" {
|
|
|
176
176
|
MCRX_CMD_NOPRV = 4,
|
|
177
177
|
MCRX_CMD_NO_RECORD_PRVCMD = 8,
|
|
178
178
|
MCRX_CMD_NO_CLEAR_SELECT = 16,
|
|
179
|
-
MCRX_CMD_NO_CLEAR_SELECT_GRIP_POINT = 32
|
|
179
|
+
MCRX_CMD_NO_CLEAR_SELECT_GRIP_POINT = 32,
|
|
180
|
+
MCRX_JIG_CMD_END_NO_CLEAR_SELECT = 64,
|
|
181
|
+
MCRX_DISABLE_OVERWRITING = 128
|
|
180
182
|
}
|
|
181
183
|
/**
|
|
182
184
|
* 控件对象缺省的绘制顺序
|