mxcad-app 1.0.20 → 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.
Binary file
Binary file
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -222,15 +222,15 @@ declare module '@howdyjs/to-drag' {
222
222
 
223
223
  declare module '@tiptap/core' {
224
224
  interface Commands<ReturnType> {
225
- fontSize: {
225
+ TextDecoration: {
226
226
  /**
227
227
  * Set the font size attribute
228
228
  */
229
- setFontSize: (size: string) => ReturnType;
229
+ setTextDecoration: (textDecoration: string) => ReturnType;
230
230
  /**
231
231
  * Unset the font size attribute
232
232
  */
233
- unsetFontSize: () => ReturnType;
233
+ unsetTextDecoration: () => ReturnType;
234
234
  };
235
235
  }
236
236
  }
@@ -248,16 +248,16 @@ declare module "@tiptap/core" {
248
248
 
249
249
  declare module '@tiptap/core' {
250
250
  interface Commands<ReturnType> {
251
- Overline: {
251
+ Strike: {
252
252
  /**
253
253
  * Set the font size attribute
254
254
  */
255
- setOverline: () => ReturnType;
255
+ setStrike: () => ReturnType;
256
256
  /**
257
257
  * Unset the font size attribute
258
258
  */
259
- unsetOverline: () => ReturnType;
260
- toggleOverline: () => ReturnType;
259
+ unsetStrike: () => ReturnType;
260
+ toggleStrike: () => ReturnType;
261
261
  };
262
262
  }
263
263
  }
@@ -265,10 +265,16 @@ declare module '@tiptap/core' {
265
265
 
266
266
  declare module '@tiptap/core' {
267
267
  interface Commands<ReturnType> {
268
- Underline: {
269
- setUnderline: () => ReturnType;
270
- unsetUnderline: () => ReturnType;
271
- toggleUnderline: () => ReturnType;
268
+ Overline: {
269
+ /**
270
+ * Set the font size attribute
271
+ */
272
+ setOverline: () => ReturnType;
273
+ /**
274
+ * Unset the font size attribute
275
+ */
276
+ unsetOverline: () => ReturnType;
277
+ toggleOverline: () => ReturnType;
272
278
  };
273
279
  }
274
280
  }
@@ -276,16 +282,15 @@ declare module '@tiptap/core' {
276
282
 
277
283
  declare module '@tiptap/core' {
278
284
  interface Commands<ReturnType> {
279
- Strike: {
285
+ fontSize: {
280
286
  /**
281
287
  * Set the font size attribute
282
288
  */
283
- setStrike: () => ReturnType;
289
+ setFontSize: (size: string) => ReturnType;
284
290
  /**
285
291
  * Unset the font size attribute
286
292
  */
287
- unsetStrike: () => ReturnType;
288
- toggleStrike: () => ReturnType;
293
+ unsetFontSize: () => ReturnType;
289
294
  };
290
295
  }
291
296
  }
@@ -293,15 +298,10 @@ declare module '@tiptap/core' {
293
298
 
294
299
  declare module '@tiptap/core' {
295
300
  interface Commands<ReturnType> {
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;
301
+ Underline: {
302
+ setUnderline: () => ReturnType;
303
+ unsetUnderline: () => ReturnType;
304
+ toggleUnderline: () => ReturnType;
305
305
  };
306
306
  }
307
307
  }
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
  * 控件对象缺省的绘制顺序
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxcad-app",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "browser": "./dist/index.umd.js",