@mlightcad/libredwg-web 0.6.6 → 0.6.9

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 (123) hide show
  1. package/dist/libredwg-web.js +24 -3
  2. package/dist/libredwg-web.umd.cjs +24 -3
  3. package/lib/converter/converter.js +17 -1
  4. package/lib/converter/entityConverter.js +1 -3
  5. package/lib/enums.d.ts +340 -0
  6. package/lib/enums.js +351 -0
  7. package/lib/libredwg-web.js +33 -32
  8. package/lib/svg/ToSVG.d.ts +16 -0
  9. package/lib/svg/ToSVG.js +235 -0
  10. package/lib/svg/svgConverter.js +1 -1
  11. package/lib/svg/util/boundingBox.d.ts +9 -0
  12. package/lib/svg/util/boundingBox.js +19 -0
  13. package/lib/svg/util/box2d.d.ts +9 -0
  14. package/lib/svg/util/box2d.js +19 -0
  15. package/lib/svg/util/denormalise.d.ts +19 -0
  16. package/lib/svg/util/denormalise.js +24 -0
  17. package/lib/svg/util/entityToPolyline.d.ts +2 -0
  18. package/lib/svg/util/entityToPolyline.js +5 -0
  19. package/lib/svg/util/getRGBForEntity.d.ts +3 -0
  20. package/lib/svg/util/getRGBForEntity.js +9 -0
  21. package/lib/svg/util/rgbToColorAttribute.d.ts +6 -0
  22. package/lib/svg/util/rgbToColorAttribute.js +4 -0
  23. package/lib/svg/util/rotate.d.ts +6 -0
  24. package/lib/svg/util/rotate.js +9 -0
  25. package/lib/svg/util/toPiecewiseBezier.d.ts +9 -0
  26. package/lib/svg/util/toPiecewiseBezier.js +24 -0
  27. package/lib/svg/util/transformBoundingBoxAndElement.d.ts +19 -0
  28. package/lib/svg/util/transformBoundingBoxAndElement.js +20 -0
  29. package/lib/types/common.d.ts +2 -1
  30. package/lib/types/database.d.ts +17 -0
  31. package/lib/types/database.js +2 -0
  32. package/lib/types/entities/arc.d.ts +12 -0
  33. package/lib/types/entities/arc.js +2 -0
  34. package/lib/types/entities/circle.d.ts +10 -0
  35. package/lib/types/entities/circle.js +2 -0
  36. package/lib/types/entities/dimension.d.ts +108 -0
  37. package/lib/types/entities/dimension.js +2 -0
  38. package/lib/types/entities/ellipse.d.ts +12 -0
  39. package/lib/types/entities/ellipse.js +2 -0
  40. package/lib/types/entities/entity.d.ts +25 -0
  41. package/lib/types/entities/entity.js +2 -0
  42. package/lib/types/entities/hatch.d.ts +142 -0
  43. package/lib/types/entities/hatch.js +2 -0
  44. package/lib/types/entities/image.d.ts +36 -0
  45. package/lib/types/entities/image.js +2 -0
  46. package/lib/types/entities/index.d.ts +24 -0
  47. package/lib/types/entities/index.js +24 -0
  48. package/lib/types/entities/insert.d.ts +18 -0
  49. package/lib/types/entities/insert.js +2 -0
  50. package/lib/types/entities/leader.d.ts +28 -0
  51. package/lib/types/entities/leader.js +2 -0
  52. package/lib/types/entities/line.d.ts +10 -0
  53. package/lib/types/entities/line.js +2 -0
  54. package/lib/types/entities/lwpolyline.d.ts +19 -0
  55. package/lib/types/entities/lwpolyline.js +2 -0
  56. package/lib/types/entities/mtext.d.ts +37 -0
  57. package/lib/types/entities/mtext.js +2 -0
  58. package/lib/types/entities/point.d.ts +10 -0
  59. package/lib/types/entities/point.js +2 -0
  60. package/lib/types/entities/polyline.d.ts +34 -0
  61. package/lib/types/entities/polyline.js +2 -0
  62. package/lib/types/entities/ray.d.ts +8 -0
  63. package/lib/types/entities/ray.js +2 -0
  64. package/lib/types/entities/section.d.ts +19 -0
  65. package/lib/types/entities/section.js +2 -0
  66. package/lib/types/entities/solid.d.ts +9 -0
  67. package/lib/types/entities/solid.js +2 -0
  68. package/lib/types/entities/spline.d.ts +21 -0
  69. package/lib/types/entities/spline.js +2 -0
  70. package/lib/types/entities/table.d.ts +52 -0
  71. package/lib/types/entities/table.js +2 -0
  72. package/lib/types/entities/text.d.ts +38 -0
  73. package/lib/types/entities/text.js +2 -0
  74. package/lib/types/entities/vertex.d.ts +25 -0
  75. package/lib/types/entities/vertex.js +2 -0
  76. package/lib/types/entities/viewport.d.ts +105 -0
  77. package/lib/types/entities/viewport.js +2 -0
  78. package/lib/types/entities/xline.d.ts +8 -0
  79. package/lib/types/entities/xline.js +2 -0
  80. package/lib/types/enums.d.ts +8 -0
  81. package/lib/types/enums.js +9 -0
  82. package/lib/types/objects/common.d.ts +5 -0
  83. package/lib/types/objects/common.js +2 -0
  84. package/lib/types/objects/imageDef.d.ts +10 -0
  85. package/lib/types/objects/imageDef.js +2 -0
  86. package/lib/types/objects/index.d.ts +5 -0
  87. package/lib/types/objects/index.js +5 -0
  88. package/lib/types/objects/layout.d.ts +23 -0
  89. package/lib/types/objects/layout.js +2 -0
  90. package/lib/types/objects/plotSetting.d.ts +35 -0
  91. package/lib/types/objects/plotSetting.js +2 -0
  92. package/lib/types/shared/xdata.d.ts +10 -0
  93. package/lib/types/shared/xdata.js +2 -0
  94. package/lib/types/tables/blockRecord.d.ts +12 -0
  95. package/lib/types/tables/blockRecord.js +2 -0
  96. package/lib/types/tables/dimStyle.d.ts +84 -0
  97. package/lib/types/tables/dimStyle.js +2 -0
  98. package/lib/types/tables/index.d.ts +8 -0
  99. package/lib/types/tables/index.js +8 -0
  100. package/lib/types/tables/layer.d.ts +16 -0
  101. package/lib/types/tables/layer.js +2 -0
  102. package/lib/types/tables/ltype.d.ts +21 -0
  103. package/lib/types/tables/ltype.js +2 -0
  104. package/lib/types/tables/style.d.ts +13 -0
  105. package/lib/types/tables/style.js +2 -0
  106. package/lib/types/tables/table.d.ts +9 -0
  107. package/lib/types/tables/table.js +2 -0
  108. package/lib/types/tables/vport.d.ts +42 -0
  109. package/lib/types/tables/vport.js +2 -0
  110. package/package.json +1 -1
  111. package/wasm/libredwg-web.d.ts +529 -529
  112. package/wasm/libredwg-web.js +15 -15
  113. package/wasm/libredwg-web.wasm +0 -0
  114. package/lib/converter/stringConverter.d.ts +0 -3
  115. package/lib/converter/stringConverter.js +0 -7
  116. package/lib/database/entities/unknown.d.ts +0 -7
  117. package/lib/database/entities/unknown.js +0 -2
  118. package/lib/database/objects/unknown.d.ts +0 -7
  119. package/lib/database/objects/unknown.js +0 -2
  120. package/lib/utils/common.d.ts +0 -4
  121. package/lib/utils/common.js +0 -12
  122. package/lib/utils/index.d.ts +0 -2
  123. package/lib/utils/index.js +0 -2

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.