mxcad-app 1.0.37 → 1.0.39

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
@@ -1,4 +1,4 @@
1
- import { bR as e } from "./lib.js";
1
+ import { bV as e } from "./lib.js";
2
2
  var i = function() {
3
3
  return {
4
4
  dialog: e
@@ -1,4 +1,4 @@
1
- import { bS as e } from "./lib.js";
1
+ import { bW as e } from "./lib.js";
2
2
  var r = function() {
3
3
  return {
4
4
  dialog: e
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- import { bQ as n, _ as c, j as t } from "./lib.js";
1
+ import { bU as n, _ as c, j as t } from "./lib.js";
2
2
  var l = function(o) {
3
3
  return new Promise(/* @__PURE__ */ function() {
4
4
  var u = c(/* @__PURE__ */ t.mark(function r(a) {
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -222,26 +222,33 @@ declare module '@howdyjs/to-drag' {
222
222
 
223
223
  declare module '@tiptap/core' {
224
224
  interface Commands<ReturnType> {
225
- Overline: {
225
+ Strike: {
226
226
  /**
227
227
  * Set the font size attribute
228
228
  */
229
- setOverline: () => ReturnType;
229
+ setStrike: () => ReturnType;
230
230
  /**
231
231
  * Unset the font size attribute
232
232
  */
233
- unsetOverline: () => ReturnType;
234
- toggleOverline: () => ReturnType;
233
+ unsetStrike: () => ReturnType;
234
+ toggleStrike: () => ReturnType;
235
235
  };
236
236
  }
237
237
  }
238
238
 
239
239
 
240
- declare module "@tiptap/core" {
240
+ declare module '@tiptap/core' {
241
241
  interface Commands<ReturnType> {
242
- selectedText: {
243
- setSelectedText: (from: number, to: number) => ReturnType;
244
- unsetSelectedText: (from: number, to: number) => ReturnType;
242
+ Overline: {
243
+ /**
244
+ * Set the font size attribute
245
+ */
246
+ setOverline: () => ReturnType;
247
+ /**
248
+ * Unset the font size attribute
249
+ */
250
+ unsetOverline: () => ReturnType;
251
+ toggleOverline: () => ReturnType;
245
252
  };
246
253
  }
247
254
  }
@@ -249,15 +256,15 @@ declare module "@tiptap/core" {
249
256
 
250
257
  declare module '@tiptap/core' {
251
258
  interface Commands<ReturnType> {
252
- TextDecoration: {
259
+ fontSize: {
253
260
  /**
254
261
  * Set the font size attribute
255
262
  */
256
- setTextDecoration: (textDecoration: string) => ReturnType;
263
+ setFontSize: (size: string) => ReturnType;
257
264
  /**
258
265
  * Unset the font size attribute
259
266
  */
260
- unsetTextDecoration: () => ReturnType;
267
+ unsetFontSize: () => ReturnType;
261
268
  };
262
269
  }
263
270
  }
@@ -265,27 +272,25 @@ declare module '@tiptap/core' {
265
272
 
266
273
  declare module '@tiptap/core' {
267
274
  interface Commands<ReturnType> {
268
- Strike: {
275
+ TextDecoration: {
269
276
  /**
270
277
  * Set the font size attribute
271
278
  */
272
- setStrike: () => ReturnType;
279
+ setTextDecoration: (textDecoration: string) => ReturnType;
273
280
  /**
274
281
  * Unset the font size attribute
275
282
  */
276
- unsetStrike: () => ReturnType;
277
- toggleStrike: () => ReturnType;
283
+ unsetTextDecoration: () => ReturnType;
278
284
  };
279
285
  }
280
286
  }
281
287
 
282
288
 
283
- declare module '@tiptap/core' {
289
+ declare module "@tiptap/core" {
284
290
  interface Commands<ReturnType> {
285
- Underline: {
286
- setUnderline: () => ReturnType;
287
- unsetUnderline: () => ReturnType;
288
- toggleUnderline: () => ReturnType;
291
+ selectedText: {
292
+ setSelectedText: (from: number, to: number) => ReturnType;
293
+ unsetSelectedText: (from: number, to: number) => 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
- fontSize: {
297
- /**
298
- * Set the font size attribute
299
- */
300
- setFontSize: (size: string) => ReturnType;
301
- /**
302
- * Unset the font size attribute
303
- */
304
- unsetFontSize: () => ReturnType;
301
+ Underline: {
302
+ setUnderline: () => ReturnType;
303
+ unsetUnderline: () => ReturnType;
304
+ toggleUnderline: () => ReturnType;
305
305
  };
306
306
  }
307
307
  }
Binary file
package/dist/mxcad.d.ts CHANGED
@@ -10275,7 +10275,7 @@ declare module "mxcad" {
10275
10275
  * ```ts
10276
10276
  * ```
10277
10277
  */
10278
- wblock(database: McDbDatabase, aryId: McObjectId[], ptBase?: McGePoint3d): boolean;
10278
+ wblock(database: McDbDatabase, aryId: McObjectId[], ptBase?: McGePoint3d, param?: object): boolean;
10279
10279
  /**
10280
10280
  * 插入图块
10281
10281
  * @example
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mxcad-app",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "main": "./dist/index.cjs",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,5 +0,0 @@
1
- Array.prototype.findLast || (Array.prototype.findLast = function(r, n) {
2
- for (var t = this.length - 1; t >= 0; t--)
3
- if (r.call(n, this[t], t, this))
4
- return this[t];
5
- });