@mlightcad/libredwg-web 0.7.3 → 0.7.5

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.
Files changed (43) hide show
  1. package/dist/libredwg-web.js +1347 -5023
  2. package/dist/libredwg-web.umd.cjs +1347 -5026
  3. package/lib/converter/converter.d.ts +2 -0
  4. package/lib/converter/converter.js +272 -348
  5. package/lib/converter/dwgColorToMLeaderRawColor.d.ts +10 -0
  6. package/lib/converter/dwgColorToMLeaderRawColor.js +55 -0
  7. package/lib/converter/entityConverter.d.ts +3 -1
  8. package/lib/converter/entityConverter.js +679 -562
  9. package/lib/converter/index.d.ts +1 -0
  10. package/lib/converter/index.js +1 -0
  11. package/lib/database/database.d.ts +2 -1
  12. package/lib/database/entities/index.d.ts +2 -0
  13. package/lib/database/entities/index.js +2 -0
  14. package/lib/database/entities/multileader.d.ts +190 -0
  15. package/lib/database/entities/multileader.js +2 -0
  16. package/lib/database/entities/shape.d.ts +50 -0
  17. package/lib/database/entities/shape.js +2 -0
  18. package/lib/database/objects/index.d.ts +1 -0
  19. package/lib/database/objects/index.js +1 -0
  20. package/lib/database/objects/mleaderStyle.d.ts +101 -0
  21. package/lib/database/objects/mleaderStyle.js +2 -0
  22. package/lib/libredwg.d.ts +61 -0
  23. package/lib/libredwg.js +127 -21
  24. package/lib/types/enums.d.ts +17 -0
  25. package/lib/types/enums.js +18 -0
  26. package/package.json +11 -4
  27. package/wasm/libredwg-web.d.ts +24 -0
  28. package/wasm/libredwg-web.js +1 -1
  29. package/wasm/libredwg-web.wasm +0 -0
  30. package/lib/converter/stringConverter.d.ts +0 -3
  31. package/lib/converter/stringConverter.js +0 -7
  32. package/lib/database/entities/unknown.d.ts +0 -7
  33. package/lib/database/entities/unknown.js +0 -2
  34. package/lib/database/objects/unknown.d.ts +0 -7
  35. package/lib/database/objects/unknown.js +0 -2
  36. package/lib/debug.d.ts +0 -13
  37. package/lib/debug.js +0 -48
  38. package/lib/libredwg-web.d.ts +0 -3
  39. package/lib/libredwg-web.js +0 -2313
  40. package/lib/utils/common.d.ts +0 -4
  41. package/lib/utils/common.js +0 -12
  42. package/lib/utils/index.d.ts +0 -2
  43. package/lib/utils/index.js +0 -2
@@ -1,4 +0,0 @@
1
- export declare const isModelSpace: (name: string) => boolean | "";
2
- export declare const isPaperSpace: (name: string) => boolean | "";
3
- export declare const idToString: (id: number | bigint) => string;
4
- //# sourceMappingURL=common.d.ts.map
@@ -1,12 +0,0 @@
1
- const MODEL_SPACE = '*MODEL_SPACE';
2
- const MODEL_SPACE_PREFIX = '*PAPER_SPACE';
3
- export const isModelSpace = (name) => {
4
- return name && name.toUpperCase() == MODEL_SPACE;
5
- };
6
- export const isPaperSpace = (name) => {
7
- return name && name.toUpperCase().startsWith(MODEL_SPACE_PREFIX);
8
- };
9
- export const idToString = (id) => {
10
- return id.toString(16).toUpperCase();
11
- };
12
- //# sourceMappingURL=common.js.map
@@ -1,2 +0,0 @@
1
- export * from './common';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,2 +0,0 @@
1
- export * from './common';
2
- //# sourceMappingURL=index.js.map