@linkiez/dxf-renew 5.3.1
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/.eslintignore +17 -0
- package/.eslintrc.json +61 -0
- package/.gitattributes +4 -0
- package/.github/instructions/project-en_US.instructions.md +352 -0
- package/.github/workflows/release.yml +110 -0
- package/.husky/commit-msg +4 -0
- package/.husky/pre-commit +1 -0
- package/.prettierignore +1 -0
- package/.prettierrc.json +6 -0
- package/.releaserc.json +76 -0
- package/.travis.yml +6 -0
- package/.yarn/install-state.gz +0 -0
- package/.yarnrc.yml +1 -0
- package/CHANGELOG.md +134 -0
- package/CONTRIBUTING.md +271 -0
- package/LICENSE +21 -0
- package/PLAN.md +517 -0
- package/README.md +306 -0
- package/build.mjs +66 -0
- package/commitlint.config.js +25 -0
- package/dist/dxf.js +7234 -0
- package/docs/CODE_PATTERNS.md +182 -0
- package/docs/DIMENSION_SUMMARY.md +248 -0
- package/docs/DIMENSION_SUMMARY.pt-BR.md +248 -0
- package/docs/IMPLEMENTED-2D-ENTITIES.md +54 -0
- package/docs/IMPLEMENTED-2D-ENTITIES.pt-BR.md +54 -0
- package/docs/TEXT-MTEXT-DIMENSION-SUPPORT.md +241 -0
- package/docs/TEXT-MTEXT-DIMENSION-SUPPORT.pt-BR.md +169 -0
- package/docs/autocad_2012_pdf_dxf-reference_enu.md +8272 -0
- package/examples/dxf.html +36 -0
- package/examples/example.es5.js +30 -0
- package/examples/example.es6.js +30 -0
- package/examples/text-dimension-viewer.html +133 -0
- package/lib/Helper.cjs +89 -0
- package/lib/Helper.cjs.map +7 -0
- package/lib/Helper.js +59 -0
- package/lib/Helper.js.map +7 -0
- package/lib/applyTransforms.cjs +59 -0
- package/lib/applyTransforms.cjs.map +7 -0
- package/lib/applyTransforms.js +39 -0
- package/lib/applyTransforms.js.map +7 -0
- package/lib/cli.cjs +53 -0
- package/lib/cli.cjs.map +7 -0
- package/lib/cli.js +29 -0
- package/lib/cli.js.map +7 -0
- package/lib/config.cjs +30 -0
- package/lib/config.cjs.map +7 -0
- package/lib/config.js +10 -0
- package/lib/config.js.map +7 -0
- package/lib/constants.cjs +39 -0
- package/lib/constants.cjs.map +7 -0
- package/lib/constants.js +15 -0
- package/lib/constants.js.map +7 -0
- package/lib/denormalise.cjs +148 -0
- package/lib/denormalise.cjs.map +7 -0
- package/lib/denormalise.js +118 -0
- package/lib/denormalise.js.map +7 -0
- package/lib/dimensionToSVG.cjs +307 -0
- package/lib/dimensionToSVG.cjs.map +7 -0
- package/lib/dimensionToSVG.js +273 -0
- package/lib/dimensionToSVG.js.map +7 -0
- package/lib/entityToPolyline.cjs +248 -0
- package/lib/entityToPolyline.cjs.map +7 -0
- package/lib/entityToPolyline.js +213 -0
- package/lib/entityToPolyline.js.map +7 -0
- package/lib/getRGBForEntity.cjs +53 -0
- package/lib/getRGBForEntity.cjs.map +7 -0
- package/lib/getRGBForEntity.js +23 -0
- package/lib/getRGBForEntity.js.map +7 -0
- package/lib/groupEntitiesByLayer.cjs +34 -0
- package/lib/groupEntitiesByLayer.cjs.map +7 -0
- package/lib/groupEntitiesByLayer.js +14 -0
- package/lib/groupEntitiesByLayer.js.map +7 -0
- package/lib/handlers/blocks.cjs +93 -0
- package/lib/handlers/blocks.cjs.map +7 -0
- package/lib/handlers/blocks.js +63 -0
- package/lib/handlers/blocks.js.map +7 -0
- package/lib/handlers/entities.cjs +118 -0
- package/lib/handlers/entities.cjs.map +7 -0
- package/lib/handlers/entities.js +88 -0
- package/lib/handlers/entities.js.map +7 -0
- package/lib/handlers/entity/arc.cjs +82 -0
- package/lib/handlers/entity/arc.cjs.map +7 -0
- package/lib/handlers/entity/arc.js +47 -0
- package/lib/handlers/entity/arc.js.map +7 -0
- package/lib/handlers/entity/attdef.cjs +318 -0
- package/lib/handlers/entity/attdef.cjs.map +7 -0
- package/lib/handlers/entity/attdef.js +282 -0
- package/lib/handlers/entity/attdef.js.map +7 -0
- package/lib/handlers/entity/attrib.cjs +52 -0
- package/lib/handlers/entity/attrib.cjs.map +7 -0
- package/lib/handlers/entity/attrib.js +27 -0
- package/lib/handlers/entity/attrib.js.map +7 -0
- package/lib/handlers/entity/circle.cjs +73 -0
- package/lib/handlers/entity/circle.cjs.map +7 -0
- package/lib/handlers/entity/circle.js +38 -0
- package/lib/handlers/entity/circle.js.map +7 -0
- package/lib/handlers/entity/common.cjs +83 -0
- package/lib/handlers/entity/common.cjs.map +7 -0
- package/lib/handlers/entity/common.js +63 -0
- package/lib/handlers/entity/common.js.map +7 -0
- package/lib/handlers/entity/dimension.cjs +203 -0
- package/lib/handlers/entity/dimension.cjs.map +7 -0
- package/lib/handlers/entity/dimension.js +168 -0
- package/lib/handlers/entity/dimension.js.map +7 -0
- package/lib/handlers/entity/ellipse.cjs +88 -0
- package/lib/handlers/entity/ellipse.cjs.map +7 -0
- package/lib/handlers/entity/ellipse.js +53 -0
- package/lib/handlers/entity/ellipse.js.map +7 -0
- package/lib/handlers/entity/hatch.cjs +470 -0
- package/lib/handlers/entity/hatch.cjs.map +7 -0
- package/lib/handlers/entity/hatch.js +435 -0
- package/lib/handlers/entity/hatch.js.map +7 -0
- package/lib/handlers/entity/insert.cjs +106 -0
- package/lib/handlers/entity/insert.cjs.map +7 -0
- package/lib/handlers/entity/insert.js +71 -0
- package/lib/handlers/entity/insert.js.map +7 -0
- package/lib/handlers/entity/line.cjs +84 -0
- package/lib/handlers/entity/line.cjs.map +7 -0
- package/lib/handlers/entity/line.js +49 -0
- package/lib/handlers/entity/line.js.map +7 -0
- package/lib/handlers/entity/lwpolyline.cjs +82 -0
- package/lib/handlers/entity/lwpolyline.cjs.map +7 -0
- package/lib/handlers/entity/lwpolyline.js +47 -0
- package/lib/handlers/entity/lwpolyline.js.map +7 -0
- package/lib/handlers/entity/mtext.cjs +121 -0
- package/lib/handlers/entity/mtext.cjs.map +7 -0
- package/lib/handlers/entity/mtext.js +85 -0
- package/lib/handlers/entity/mtext.js.map +7 -0
- package/lib/handlers/entity/ole2Frame.cjs +98 -0
- package/lib/handlers/entity/ole2Frame.cjs.map +7 -0
- package/lib/handlers/entity/ole2Frame.js +63 -0
- package/lib/handlers/entity/ole2Frame.js.map +7 -0
- package/lib/handlers/entity/point.cjs +73 -0
- package/lib/handlers/entity/point.cjs.map +7 -0
- package/lib/handlers/entity/point.js +38 -0
- package/lib/handlers/entity/point.js.map +7 -0
- package/lib/handlers/entity/polyline.cjs +70 -0
- package/lib/handlers/entity/polyline.cjs.map +7 -0
- package/lib/handlers/entity/polyline.js +35 -0
- package/lib/handlers/entity/polyline.js.map +7 -0
- package/lib/handlers/entity/solid.cjs +101 -0
- package/lib/handlers/entity/solid.cjs.map +7 -0
- package/lib/handlers/entity/solid.js +66 -0
- package/lib/handlers/entity/solid.js.map +7 -0
- package/lib/handlers/entity/spline.cjs +109 -0
- package/lib/handlers/entity/spline.cjs.map +7 -0
- package/lib/handlers/entity/spline.js +74 -0
- package/lib/handlers/entity/spline.js.map +7 -0
- package/lib/handlers/entity/text.cjs +85 -0
- package/lib/handlers/entity/text.cjs.map +7 -0
- package/lib/handlers/entity/text.js +49 -0
- package/lib/handlers/entity/text.js.map +7 -0
- package/lib/handlers/entity/threeDFace.cjs +98 -0
- package/lib/handlers/entity/threeDFace.cjs.map +7 -0
- package/lib/handlers/entity/threeDFace.js +63 -0
- package/lib/handlers/entity/threeDFace.js.map +7 -0
- package/lib/handlers/entity/vertex.cjs +78 -0
- package/lib/handlers/entity/vertex.cjs.map +7 -0
- package/lib/handlers/entity/vertex.js +53 -0
- package/lib/handlers/entity/vertex.js.map +7 -0
- package/lib/handlers/entity/viewport.cjs +153 -0
- package/lib/handlers/entity/viewport.cjs.map +7 -0
- package/lib/handlers/entity/viewport.js +118 -0
- package/lib/handlers/entity/viewport.js.map +7 -0
- package/lib/handlers/header.cjs +92 -0
- package/lib/handlers/header.cjs.map +7 -0
- package/lib/handlers/header.js +72 -0
- package/lib/handlers/header.js.map +7 -0
- package/lib/handlers/objects.cjs +170 -0
- package/lib/handlers/objects.cjs.map +7 -0
- package/lib/handlers/objects.js +150 -0
- package/lib/handlers/objects.js.map +7 -0
- package/lib/handlers/tables.cjs +587 -0
- package/lib/handlers/tables.cjs.map +7 -0
- package/lib/handlers/tables.js +557 -0
- package/lib/handlers/tables.js.map +7 -0
- package/lib/index.cjs +60 -0
- package/lib/index.cjs.map +7 -0
- package/lib/index.js +19 -0
- package/lib/index.js.map +7 -0
- package/lib/parseString.cjs +118 -0
- package/lib/parseString.cjs.map +7 -0
- package/lib/parseString.js +88 -0
- package/lib/parseString.js.map +7 -0
- package/lib/toPolylines.cjs +69 -0
- package/lib/toPolylines.cjs.map +7 -0
- package/lib/toPolylines.js +39 -0
- package/lib/toPolylines.js.map +7 -0
- package/lib/toSVG.cjs +395 -0
- package/lib/toSVG.cjs.map +7 -0
- package/lib/toSVG.js +361 -0
- package/lib/toSVG.js.map +7 -0
- package/lib/types/arc-entity.cjs +17 -0
- package/lib/types/arc-entity.cjs.map +7 -0
- package/lib/types/arc-entity.js +1 -0
- package/lib/types/arc-entity.js.map +7 -0
- package/lib/types/base-entity.cjs +17 -0
- package/lib/types/base-entity.cjs.map +7 -0
- package/lib/types/base-entity.js +1 -0
- package/lib/types/base-entity.js.map +7 -0
- package/lib/types/circle-entity.cjs +17 -0
- package/lib/types/circle-entity.cjs.map +7 -0
- package/lib/types/circle-entity.js +1 -0
- package/lib/types/circle-entity.js.map +7 -0
- package/lib/types/common.cjs +17 -0
- package/lib/types/common.cjs.map +7 -0
- package/lib/types/common.js +1 -0
- package/lib/types/common.js.map +7 -0
- package/lib/types/dimension-entity.cjs +17 -0
- package/lib/types/dimension-entity.cjs.map +7 -0
- package/lib/types/dimension-entity.js +1 -0
- package/lib/types/dimension-entity.js.map +7 -0
- package/lib/types/dxf.cjs +17 -0
- package/lib/types/dxf.cjs.map +7 -0
- package/lib/types/dxf.js +1 -0
- package/lib/types/dxf.js.map +7 -0
- package/lib/types/ellipse-entity.cjs +17 -0
- package/lib/types/ellipse-entity.cjs.map +7 -0
- package/lib/types/ellipse-entity.js +1 -0
- package/lib/types/ellipse-entity.js.map +7 -0
- package/lib/types/entity.cjs +17 -0
- package/lib/types/entity.cjs.map +7 -0
- package/lib/types/entity.js +1 -0
- package/lib/types/entity.js.map +7 -0
- package/lib/types/handler-internal.cjs +17 -0
- package/lib/types/handler-internal.cjs.map +7 -0
- package/lib/types/handler-internal.js +1 -0
- package/lib/types/handler-internal.js.map +7 -0
- package/lib/types/handler.cjs +17 -0
- package/lib/types/handler.cjs.map +7 -0
- package/lib/types/handler.js +1 -0
- package/lib/types/handler.js.map +7 -0
- package/lib/types/hatch-entity.cjs +17 -0
- package/lib/types/hatch-entity.cjs.map +7 -0
- package/lib/types/hatch-entity.js +1 -0
- package/lib/types/hatch-entity.js.map +7 -0
- package/lib/types/helper.cjs +17 -0
- package/lib/types/helper.cjs.map +7 -0
- package/lib/types/helper.js +1 -0
- package/lib/types/helper.js.map +7 -0
- package/lib/types/index.cjs +77 -0
- package/lib/types/index.cjs.map +7 -0
- package/lib/types/index.js +29 -0
- package/lib/types/index.js.map +7 -0
- package/lib/types/insert-entity.cjs +17 -0
- package/lib/types/insert-entity.cjs.map +7 -0
- package/lib/types/insert-entity.js +1 -0
- package/lib/types/insert-entity.js.map +7 -0
- package/lib/types/layer-groups.cjs +17 -0
- package/lib/types/layer-groups.cjs.map +7 -0
- package/lib/types/layer-groups.js +1 -0
- package/lib/types/layer-groups.js.map +7 -0
- package/lib/types/line-entity.cjs +17 -0
- package/lib/types/line-entity.cjs.map +7 -0
- package/lib/types/line-entity.js +1 -0
- package/lib/types/line-entity.js.map +7 -0
- package/lib/types/mtext-entity.cjs +17 -0
- package/lib/types/mtext-entity.cjs.map +7 -0
- package/lib/types/mtext-entity.js +1 -0
- package/lib/types/mtext-entity.js.map +7 -0
- package/lib/types/ole2frame-entity.cjs +17 -0
- package/lib/types/ole2frame-entity.cjs.map +7 -0
- package/lib/types/ole2frame-entity.js +1 -0
- package/lib/types/ole2frame-entity.js.map +7 -0
- package/lib/types/options.cjs +17 -0
- package/lib/types/options.cjs.map +7 -0
- package/lib/types/options.js +1 -0
- package/lib/types/options.js.map +7 -0
- package/lib/types/point-entity.cjs +17 -0
- package/lib/types/point-entity.cjs.map +7 -0
- package/lib/types/point-entity.js +1 -0
- package/lib/types/point-entity.js.map +7 -0
- package/lib/types/polyline-entity.cjs +17 -0
- package/lib/types/polyline-entity.cjs.map +7 -0
- package/lib/types/polyline-entity.js +1 -0
- package/lib/types/polyline-entity.js.map +7 -0
- package/lib/types/polylines.cjs +17 -0
- package/lib/types/polylines.cjs.map +7 -0
- package/lib/types/polylines.js +1 -0
- package/lib/types/polylines.js.map +7 -0
- package/lib/types/solid-entity.cjs +17 -0
- package/lib/types/solid-entity.cjs.map +7 -0
- package/lib/types/solid-entity.js +1 -0
- package/lib/types/solid-entity.js.map +7 -0
- package/lib/types/spline-entity.cjs +17 -0
- package/lib/types/spline-entity.cjs.map +7 -0
- package/lib/types/spline-entity.js +1 -0
- package/lib/types/spline-entity.js.map +7 -0
- package/lib/types/svg.cjs +17 -0
- package/lib/types/svg.cjs.map +7 -0
- package/lib/types/svg.js +1 -0
- package/lib/types/svg.js.map +7 -0
- package/lib/types/tables.cjs +17 -0
- package/lib/types/tables.cjs.map +7 -0
- package/lib/types/tables.js +1 -0
- package/lib/types/tables.js.map +7 -0
- package/lib/types/text-entity.cjs +17 -0
- package/lib/types/text-entity.cjs.map +7 -0
- package/lib/types/text-entity.js +1 -0
- package/lib/types/text-entity.js.map +7 -0
- package/lib/types/util-types.cjs +17 -0
- package/lib/types/util-types.cjs.map +7 -0
- package/lib/types/util-types.js +1 -0
- package/lib/types/util-types.js.map +7 -0
- package/lib/types/vecks.d.cjs +2 -0
- package/lib/types/vecks.d.cjs.map +7 -0
- package/lib/types/vecks.d.js +1 -0
- package/lib/types/vecks.d.js.map +7 -0
- package/lib/types/viewport-entity.cjs +17 -0
- package/lib/types/viewport-entity.cjs.map +7 -0
- package/lib/types/viewport-entity.js +1 -0
- package/lib/types/viewport-entity.js.map +7 -0
- package/lib/types.cjs +23 -0
- package/lib/types.cjs.map +7 -0
- package/lib/types.js +2 -0
- package/lib/types.js.map +7 -0
- package/lib/util/bSpline.cjs +95 -0
- package/lib/util/bSpline.cjs.map +7 -0
- package/lib/util/bSpline.js +65 -0
- package/lib/util/bSpline.js.map +7 -0
- package/lib/util/colors.cjs +283 -0
- package/lib/util/colors.cjs.map +7 -0
- package/lib/util/colors.js +263 -0
- package/lib/util/colors.js.map +7 -0
- package/lib/util/createArcForLWPolyline.cjs +84 -0
- package/lib/util/createArcForLWPolyline.cjs.map +7 -0
- package/lib/util/createArcForLWPolyline.js +64 -0
- package/lib/util/createArcForLWPolyline.js.map +7 -0
- package/lib/util/dxfColorToRGB.cjs +115 -0
- package/lib/util/dxfColorToRGB.cjs.map +7 -0
- package/lib/util/dxfColorToRGB.js +90 -0
- package/lib/util/dxfColorToRGB.js.map +7 -0
- package/lib/util/insertKnot.cjs +77 -0
- package/lib/util/insertKnot.cjs.map +7 -0
- package/lib/util/insertKnot.js +57 -0
- package/lib/util/insertKnot.js.map +7 -0
- package/lib/util/logger.cjs +53 -0
- package/lib/util/logger.cjs.map +7 -0
- package/lib/util/logger.js +23 -0
- package/lib/util/logger.js.map +7 -0
- package/lib/util/rgbToColorAttribute.cjs +32 -0
- package/lib/util/rgbToColorAttribute.cjs.map +7 -0
- package/lib/util/rgbToColorAttribute.js +12 -0
- package/lib/util/rgbToColorAttribute.js.map +7 -0
- package/lib/util/rotate.cjs +30 -0
- package/lib/util/rotate.cjs.map +7 -0
- package/lib/util/rotate.js +10 -0
- package/lib/util/rotate.js.map +7 -0
- package/lib/util/round10.cjs +38 -0
- package/lib/util/round10.cjs.map +7 -0
- package/lib/util/round10.js +18 -0
- package/lib/util/round10.js.map +7 -0
- package/lib/util/toPiecewiseBezier.cjs +90 -0
- package/lib/util/toPiecewiseBezier.cjs.map +7 -0
- package/lib/util/toPiecewiseBezier.js +54 -0
- package/lib/util/toPiecewiseBezier.js.map +7 -0
- package/lib/util/transformBoundingBoxAndElement.cjs +80 -0
- package/lib/util/transformBoundingBoxAndElement.cjs.map +7 -0
- package/lib/util/transformBoundingBoxAndElement.js +60 -0
- package/lib/util/transformBoundingBoxAndElement.js.map +7 -0
- package/package.json +127 -0
- package/src/Helper.ts +71 -0
- package/src/applyTransforms.ts +54 -0
- package/src/cli.ts +41 -0
- package/src/config.ts +10 -0
- package/src/constants.ts +14 -0
- package/src/denormalise.ts +153 -0
- package/src/dimensionToSVG.ts +427 -0
- package/src/entityToPolyline.ts +338 -0
- package/src/getRGBForEntity.ts +28 -0
- package/src/groupEntitiesByLayer.ts +14 -0
- package/src/handlers/blocks.ts +65 -0
- package/src/handlers/entities.ts +111 -0
- package/src/handlers/entity/arc.ts +61 -0
- package/src/handlers/entity/attdef.ts +284 -0
- package/src/handlers/entity/attrib.ts +29 -0
- package/src/handlers/entity/circle.ts +47 -0
- package/src/handlers/entity/common.ts +79 -0
- package/src/handlers/entity/dimension.ts +217 -0
- package/src/handlers/entity/ellipse.ts +55 -0
- package/src/handlers/entity/hatch.ts +471 -0
- package/src/handlers/entity/insert.ts +73 -0
- package/src/handlers/entity/line.ts +56 -0
- package/src/handlers/entity/lwpolyline.ts +54 -0
- package/src/handlers/entity/mtext.ts +150 -0
- package/src/handlers/entity/ole2Frame.ts +64 -0
- package/src/handlers/entity/point.ts +47 -0
- package/src/handlers/entity/polyline.ts +49 -0
- package/src/handlers/entity/solid.ts +73 -0
- package/src/handlers/entity/spline.ts +103 -0
- package/src/handlers/entity/text.ts +83 -0
- package/src/handlers/entity/threeDFace.ts +69 -0
- package/src/handlers/entity/vertex.ts +55 -0
- package/src/handlers/entity/viewport.ts +119 -0
- package/src/handlers/header.ts +73 -0
- package/src/handlers/objects.ts +152 -0
- package/src/handlers/tables.ts +581 -0
- package/src/index.ts +19 -0
- package/src/parseString.ts +97 -0
- package/src/toPolylines.ts +47 -0
- package/src/toSVG.ts +518 -0
- package/src/types/README.md +91 -0
- package/src/types/arc-entity.ts +10 -0
- package/src/types/base-entity.ts +25 -0
- package/src/types/circle-entity.ts +8 -0
- package/src/types/common.ts +37 -0
- package/src/types/dimension-entity.ts +23 -0
- package/src/types/dxf.ts +64 -0
- package/src/types/ellipse-entity.ts +13 -0
- package/src/types/entity.ts +32 -0
- package/src/types/handler-internal.ts +51 -0
- package/src/types/handler.ts +10 -0
- package/src/types/hatch-entity.ts +127 -0
- package/src/types/helper.ts +12 -0
- package/src/types/index.ts +53 -0
- package/src/types/insert-entity.ts +19 -0
- package/src/types/layer-groups.ts +8 -0
- package/src/types/line-entity.ts +10 -0
- package/src/types/mtext-entity.ts +35 -0
- package/src/types/ole2frame-entity.ts +35 -0
- package/src/types/options.ts +17 -0
- package/src/types/point-entity.ts +7 -0
- package/src/types/polyline-entity.ts +20 -0
- package/src/types/polylines.ts +22 -0
- package/src/types/solid-entity.ts +9 -0
- package/src/types/spline-entity.ts +12 -0
- package/src/types/svg.ts +31 -0
- package/src/types/tables.ts +414 -0
- package/src/types/text-entity.ts +23 -0
- package/src/types/util-types.ts +27 -0
- package/src/types/vecks.d.ts +29 -0
- package/src/types/viewport-entity.ts +81 -0
- package/src/types.ts +5 -0
- package/src/util/bSpline.ts +97 -0
- package/src/util/colors.ts +266 -0
- package/src/util/createArcForLWPolyline.ts +93 -0
- package/src/util/diagram.png +0 -0
- package/src/util/dxfColorToRGB.ts +106 -0
- package/src/util/insertKnot.ts +69 -0
- package/src/util/logger.ts +23 -0
- package/src/util/rgbToColorAttribute.ts +14 -0
- package/src/util/rotate.ts +14 -0
- package/src/util/round10.ts +24 -0
- package/src/util/toPiecewiseBezier.ts +70 -0
- package/src/util/transformBoundingBoxAndElement.ts +74 -0
- package/tsconfig.json +34 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var point_entity_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(point_entity_exports);
|
|
17
|
+
//# sourceMappingURL=point-entity.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/types/point-entity.ts"],
|
|
4
|
+
"sourcesContent": ["// POINT entity type\n\nimport type { PositionalEntity } from './base-entity'\n\nexport interface PointEntity extends PositionalEntity {\n type: 'POINT'\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=point-entity.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var polyline_entity_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(polyline_entity_exports);
|
|
17
|
+
//# sourceMappingURL=polyline-entity.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/types/polyline-entity.ts"],
|
|
4
|
+
"sourcesContent": ["// POLYLINE and LWPOLYLINE entity types\n\nimport type { BaseEntity } from './base-entity'\nimport type { Point2D } from './common'\n\n/** Vertex extends Point2D with optional z and additional properties */\nexport interface Vertex extends Partial<Point2D> {\n z?: number\n bulge?: number\n faces?: number[]\n}\n\nexport interface PolylineEntity extends BaseEntity {\n type: 'POLYLINE' | 'LWPOLYLINE'\n vertices: Vertex[]\n closed?: boolean\n polygonMesh?: boolean\n polyfaceMesh?: boolean\n thickness?: number\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=polyline-entity.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var polylines_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(polylines_exports);
|
|
17
|
+
//# sourceMappingURL=polylines.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/types/polylines.ts"],
|
|
4
|
+
"sourcesContent": ["// Polyline conversion types\n\nimport type { Box2 } from 'vecks'\nimport type { ColorRGB, PointTuple } from './common'\n\n/** Polyline with color information */\nexport interface Polyline {\n vertices: PointTuple[]\n rgb?: ColorRGB\n color?: number\n}\n\n/** Result of toPolylines conversion */\nexport interface PolylineResult {\n bbox: Box2\n polylines: Polyline[]\n}\n\n/** Options for entityToPolyline conversion */\nexport interface EntityToPolylineOptions {\n interpolationsPerSplineSegment?: number\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=polylines.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var solid_entity_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(solid_entity_exports);
|
|
17
|
+
//# sourceMappingURL=solid-entity.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/types/solid-entity.ts"],
|
|
4
|
+
"sourcesContent": ["// SOLID and 3DFACE entity types\n\nimport type { BaseEntity } from './base-entity'\nimport type { Point3D } from './common'\n\nexport interface SolidEntity extends BaseEntity {\n type: 'SOLID' | '3DFACE'\n points: Point3D[]\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=solid-entity.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var spline_entity_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(spline_entity_exports);
|
|
17
|
+
//# sourceMappingURL=spline-entity.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/types/spline-entity.ts"],
|
|
4
|
+
"sourcesContent": ["// SPLINE entity type\n\nimport type { BaseEntity } from './base-entity'\nimport type { Point3D } from './common'\n\nexport interface SplineEntity extends BaseEntity {\n type: 'SPLINE'\n controlPoints: Point3D[]\n knots: number[]\n degree: number\n weights?: number[]\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=spline-entity.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var svg_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(svg_exports);
|
|
17
|
+
//# sourceMappingURL=svg.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/types/svg.ts"],
|
|
4
|
+
"sourcesContent": ["// SVG-specific types\n\nimport type { Box2 } from 'vecks'\n\n/** Bounding box with SVG element */\nexport interface BoundsAndElement {\n bbox: Box2\n element: string\n x?: number\n y?: number\n x2?: number\n y2?: number\n}\n\n/** Ellipse parameters for SVG */\nexport interface EllipseParams {\n cx: number\n cy: number\n rx: number\n ry: number\n rotation: number\n}\n\n/** Layer information */\nexport interface Layer {\n name: string\n colorNumber?: number\n color?: number\n frozen?: boolean\n [key: string]: unknown\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/lib/types/svg.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=svg.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var tables_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(tables_exports);
|
|
17
|
+
//# sourceMappingURL=tables.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/types/tables.ts"],
|
|
4
|
+
"sourcesContent": ["// DXF Tables parsing types\n\nimport type { Point2D, Point3D } from './common'\n\n/**\n * Partial point for parsing (all coordinates optional)\n */\nexport type PartialPoint2D = Partial<Point2D>\n\n/**\n * Partial 3D point for parsing (all coordinates optional)\n */\nexport type PartialPoint3D = Partial<Point3D>\n\n/**\n * DXF Header section result\n */\nexport interface ParsedHeader {\n /** Minimum drawing extents */\n extMin?: PartialPoint3D\n /** Maximum drawing extents */\n extMax?: PartialPoint3D\n /** Drawing units for measurement (0=English, 1=Metric) */\n measurement?: string | number\n /** Default drawing units for AutoCAD DesignCenter blocks */\n insUnits?: string | number\n /** Dimension arrow size */\n dimArrowSize?: string | number | Record<string, unknown>\n}\n\n/**\n * Block table entry\n * Internal representation during DXF parsing\n */\nexport interface BlockInternal {\n /** Block name */\n name?: string | number\n /** Base point X coordinate */\n x?: string | number\n /** Base point Y coordinate */\n y?: string | number\n /** Base point Z coordinate */\n z?: string | number\n /** External reference path */\n xref?: string | number\n /** Paper space flag */\n paperSpace?: string | number\n /** Layout name reference */\n layout?: string | number\n /** Entities within this block */\n entities?: any[]\n}\n\n/**\n * Line type element definition\n * Represents a single element in a complex line type pattern\n */\nexport interface LTypeElement {\n /** Length of the element */\n length?: string | number\n /** Scale factors for the element */\n scales?: Array<string | number>\n /** Offset positions for the element */\n offset?: Array<{ x: string | number; y: string | number }>\n /** Shape definition code */\n shape?: string | number\n /** Shape number reference */\n shapeNumber?: string | number\n /** Style handle reference */\n styleHandle?: string | number\n /** Rotation angle */\n rotation?: string | number\n /** Text content for text elements */\n text?: string | number\n}\n\n/**\n * Line Type (LTYPE) table entry\n * Internal representation during DXF parsing\n */\nexport interface LTypeInternal {\n type: string\n /** Pattern elements that define the line type */\n pattern: LTypeElement[]\n /** Line type name */\n name?: string | number\n /** Line type description */\n description?: string | number\n /** Standard flag values (bit-coded) */\n flag?: string | number\n /** Alignment code (ASCII code for 'A' = 65) */\n alignment?: string | number\n /** Number of elements in the pattern */\n elementCount?: number\n /** Total pattern length */\n patternLength?: string | number\n}\n\n/**\n * Layer table entry\n * Internal representation during DXF parsing\n */\nexport interface LayerInternal {\n type: string\n /** Layer name */\n name?: string | number\n /** Line type name for this layer */\n lineTypeName?: string | number\n /** ACI color number */\n colorNumber?: string | number\n /** Standard flags (bit-coded) */\n flags?: string | number\n /** Plot flag */\n plot?: boolean\n /** Line weight enumeration */\n lineWeightEnum?: string | number\n}\n\n/**\n * Text Style (STYLE) table entry\n * Internal representation during DXF parsing\n */\nexport interface StyleInternal {\n type: string\n /** Style name */\n name?: string | number\n /** Line type name */\n lineTypeName?: string | number\n /** Fixed text height (0 if variable) */\n fixedTextHeight?: string | number\n /** Width factor */\n widthFactor?: string | number\n /** Oblique angle */\n obliqueAngle?: string | number\n /** Standard flags (bit-coded) */\n flags?: string | number\n /** Last height used */\n lastHeightUsed?: string | number\n /** Primary font file name */\n primaryFontFileName?: string | number\n /** Big font file name */\n bigFontFileName?: string | number\n}\n\n/**\n * Viewport (VPORT) table entry\n * Internal representation during DXF parsing\n */\nexport interface VPortInternal {\n type: string\n /** Viewport name */\n name?: string | number\n /** Handle reference */\n handle?: string | number\n /** Standard flags (bit-coded) */\n flags?: string | number\n /** Lower-left corner coordinates */\n lowerLeft: { x?: number; y?: number }\n /** Upper-right corner coordinates */\n upperRight: { x?: number; y?: number }\n /** Center point coordinates */\n center: { x?: number; y?: number }\n /** Snap settings */\n snap?: Record<string, unknown>\n /** Snap spacing */\n snapSpacing: { x?: number; y?: number }\n /** Grid spacing */\n gridSpacing: { x?: number; y?: number }\n /** View direction from target */\n direction: { x?: number; y?: number; z?: number }\n /** View target point */\n target: { x?: number; y?: number; z?: number }\n /** View height */\n height?: number\n /** Snap rotation angle */\n snapAngle?: number\n /** View twist angle */\n angle?: number\n /** UCS origin X coordinate */\n x?: number\n /** UCS origin Y coordinate */\n y?: number\n /** UCS origin Z coordinate */\n z?: number\n /** UCS X-axis X component */\n xAxisX?: number\n /** UCS X-axis Y component */\n xAxisY?: number\n /** UCS X-axis Z component */\n xAxisZ?: number\n /** View elevation */\n elevation?: number\n}\n\n/**\n * Layout object entry\n * Internal representation during DXF parsing\n */\nexport interface LayoutInternal {\n /** Layout name */\n name?: string | number\n /** Handle reference */\n handle?: string | number\n /** Minimum limits X coordinate */\n minLimitX?: number\n /** Minimum limits Y coordinate */\n minLimitY?: number\n /** Maximum limits X coordinate */\n maxLimitX?: number\n /** Maximum limits Y coordinate */\n maxLimitY?: number\n /** Base point X coordinate */\n x?: number\n /** Base point Y coordinate */\n y?: number\n /** Base point Z coordinate */\n z?: number\n /** Minimum extents X coordinate */\n minX?: number\n /** Minimum extents Y coordinate */\n minY?: number\n /** Minimum extents Z coordinate */\n minZ?: number\n /** Maximum extents X coordinate */\n maxX?: number\n /** Maximum extents Y coordinate */\n maxY?: number\n /** Maximum extents Z coordinate */\n maxZ?: number\n /** Layout flag (PSLTSCALE or LIMCHECK) */\n flag?: 'PSLTSCALE' | 'LIMCHECK'\n /** Tab order */\n tabOrder?: string | number\n /** Elevation */\n elevation?: number\n /** UCS origin X coordinate */\n ucsX?: number\n /** UCS origin Y coordinate */\n ucsY?: number\n /** UCS origin Z coordinate */\n ucsZ?: number\n /** UCS X-axis X component */\n ucsXaxisX?: number\n /** UCS X-axis Y component */\n ucsXaxisY?: number\n /** UCS X-axis Z component */\n ucsXaxisZ?: number\n /** UCS Y-axis X component */\n ucsYaxisX?: number\n /** UCS Y-axis Y component */\n ucsYaxisY?: number\n /** UCS Y-axis Z component */\n ucsYaxisZ?: number\n /** UCS orthographic type */\n ucsType?: 'NOT ORTHOGRAPHIC' | 'TOP' | 'BOTTOM' | 'FRONT' | 'BACK' | 'LEFT' | 'RIGHT'\n /** Associated table record handle */\n tableRecord?: string | number\n /** Last active viewport handle */\n lastActiveViewport?: string | number\n /** Shade plot mode */\n shadePlot?: string | number\n}\n\n/**\n * Dimension Style (DIMSTYLE) table entry\n * Internal representation during DXF parsing\n */\nexport interface DimStyleInternal {\n type: string\n /** Dimension style name */\n name?: string | number\n /** Standard flags (bit-coded) */\n flags?: string | number\n /** DIMPOST - General dimensioning suffix */\n dimPost?: string | number\n /** DIMAPOST - Alternate dimensioning suffix */\n dimAPost?: string | number\n /** DIMSCALE - Overall dimensioning scale factor */\n dimScale?: number\n /** DIMASZ - Dimensioning arrow size */\n dimAsz?: number\n /** DIMEXO - Extension line offset */\n dimExo?: number\n /** DIMDLI - Dimension line increment */\n dimDli?: number\n /** DIMEXE - Extension line extension */\n dimExe?: number\n /** DIMRND - Rounding value for dimension distances */\n dimRnd?: number\n /** DIMDLE - Dimension line extension */\n dimDle?: number\n /** DIMTP - Plus tolerance */\n dimTp?: number\n /** DIMTM - Minus tolerance */\n dimTm?: number\n /** DIMTXT - Dimensioning text height */\n dimTxt?: number\n /** DIMCEN - Size of center mark/lines */\n dimCen?: number\n /** DIMTSZ - Dimensioning tick size */\n dimTsz?: number\n /** DIMALTF - Alternate unit scale factor */\n dimAltf?: number\n /** DIMLFAC - Linear measurements scale factor */\n dimLfac?: number\n /** DIMTVP - Text vertical position */\n dimTvp?: number\n /** DIMTFAC - Dimension tolerance display scale factor */\n dimTfac?: number\n /** DIMGAP - Dimension line gap */\n dimGap?: number\n /** DIMALTRND - Determines rounding of alternate units */\n dimAltRnd?: number\n /** DIMTOL - Dimension tolerances generated if nonzero */\n dimTol?: number\n /** DIMLIM - Dimension limits generated if nonzero */\n dimLim?: number\n /** DIMTIH - Text inside horizontal if nonzero */\n dimTih?: number\n /** DIMTOH - Text outside horizontal if nonzero */\n dimToh?: number\n /** DIMSE1 - First extension line suppressed if nonzero */\n dimSe1?: number\n /** DIMSE2 - Second extension line suppressed if nonzero */\n dimSe2?: number\n /** DIMTAD - Text above dimension line if nonzero */\n dimTad?: number\n /** DIMZIN - Controls suppression of zeros for primary unit values */\n dimZin?: number\n /** DIMAZIN - Controls suppression of zeros for angular dimensions */\n dimAzin?: number\n /** DIMALT - Alternate unit dimensioning performed if nonzero */\n dimAlt?: number\n /** DIMALTD - Alternate unit decimal places */\n dimAltd?: number\n /** DIMTOFL - Force text inside extensions if nonzero */\n dimTofl?: number\n /** DIMSAH - Use separate arrow blocks if nonzero */\n dimSah?: number\n /** DIMTIX - Force text inside extensions if nonzero */\n dimTix?: number\n /** DIMSOXD - Suppress outside-extensions dimension lines if nonzero */\n dimSoxd?: number\n /** DIMCLRD - Dimension line color */\n dimClrd?: number\n /** DIMCLRE - Dimension extension line color */\n dimClre?: number\n /** DIMCLRT - Dimension text color */\n dimClrt?: number\n /** DIMADEC - Number of precision places for angular dimensions */\n dimAdec?: number\n /** DIMUNIT - Units format (obsolete, now use DIMLUNIT AND DIMFRAC) */\n dimUnit?: number\n /** DIMDEC - Number of decimal places for tolerance values */\n dimDec?: number\n /** DIMTDEC - Number of decimal places for tolerance values */\n dimTdec?: number\n /** DIMALTU - Units format for alternate units */\n dimAltu?: number\n /** DIMALTTD - Number of decimal places for alternate tolerance values */\n dimAlttd?: number\n /** DIMAUNIT - Angle format for angular dimensions */\n dimAunit?: number\n /** DIMFRAC - Fraction format */\n dimFrac?: number\n /** DIMLUNIT - Linear unit format */\n dimLunit?: number\n /** DIMDSEP - Decimal separator character */\n dimDsep?: number\n /** DIMTMOVE - Dimension text movement rules */\n dimTmove?: number\n /** DIMJUST - Horizontal dimension text position */\n dimJust?: number\n /** DIMSD1 - Suppression of first extension line */\n dimSd1?: number\n /** DIMSD2 - Suppression of second extension line */\n dimSd2?: number\n /** DIMTOLJ - Vertical justification for tolerance values */\n dimTolj?: number\n /** DIMTZIN - Controls suppression of zeros for tolerance values */\n dimTzin?: number\n /** DIMALTZ - Controls suppression of zeros for alternate unit values */\n dimAltz?: number\n /** DIMALTTZ - Controls suppression of zeros for alternate tolerance values */\n dimAlttz?: number\n /** DIMFIT - Fit options (obsolete, now use DIMATFIT and DIMTMOVE) */\n dimFit?: number\n /** DIMUPT - Cursor functionality for user-positioned text */\n dimUpt?: number\n /** DIMATFIT - Controls dimension text and arrow placement */\n dimAtfit?: number\n /** DIMTXSTY - Dimension text style (handle reference) */\n dimTxsty?: string | number\n /** DIMLDRBLK - Leader arrow block (handle reference) */\n dimLdrblk?: string | number\n /** DIMBLK - Arrow block (handle reference) */\n dimBlk?: string | number\n /** DIMBLK1 - First arrow block (handle reference) */\n dimBlk1?: string | number\n /** DIMBLK2 - Second arrow block (handle reference) */\n dimBlk2?: string | number\n /** DIMLWD - Dimension line lineweight */\n dimLwd?: number\n /** DIMLWE - Extension line lineweight */\n dimLwe?: number\n}\n\n/**\n * DXF Objects section result\n */\nexport interface ParsedObjects {\n /** Layout objects */\n layouts: LayoutInternal[]\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=tables.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var text_entity_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(text_entity_exports);
|
|
17
|
+
//# sourceMappingURL=text-entity.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/types/text-entity.ts"],
|
|
4
|
+
"sourcesContent": ["// TEXT entity type\n\nimport type { BaseEntity } from './base-entity'\n\nexport interface TextEntity extends BaseEntity {\n type: 'TEXT'\n string: string\n x?: number\n y?: number\n z?: number\n x2?: number\n y2?: number\n z2?: number\n thickness?: number\n textHeight?: number\n relScaleX?: number\n rotation?: number\n obliqueAngle?: number\n styleName?: string\n mirror?: number\n hAlign?: number\n vAlign?: number\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=text-entity.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var util_types_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(util_types_exports);
|
|
17
|
+
//# sourceMappingURL=util-types.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/types/util-types.ts"],
|
|
4
|
+
"sourcesContent": ["// Utility-specific types\n\nimport type { Box2 } from 'vecks'\nimport type { Point2D } from './common'\n\n/** Point for utility functions - extends Point2D with optional z */\nexport interface UtilPoint extends Point2D {\n z?: number\n}\n\n/** Result of knot insertion operation */\nexport interface InsertKnotResult {\n knots: number[]\n controlPoints: UtilPoint[]\n}\n\n/** Result of bezier conversion */\nexport interface BezierResult {\n controlPoints: UtilPoint[]\n knots: number[]\n}\n\n/** Transform result with bounding box */\nexport interface TransformResult {\n element: string\n bbox: Box2\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=util-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=vecks.d.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var viewport_entity_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(viewport_entity_exports);
|
|
17
|
+
//# sourceMappingURL=viewport-entity.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/types/viewport-entity.ts"],
|
|
4
|
+
"sourcesContent": ["// Viewport entity type\n\nimport type { BaseEntity } from './base-entity'\n\n/**\n * Viewport entity\n * Represents a viewport in model space or paper space\n */\nexport interface ViewportEntity extends BaseEntity {\n type: 'VIEWPORT'\n /** Layout reference */\n layout?: number\n /** Viewport width */\n width?: number\n /** Viewport height */\n height?: number\n /** Snap rotation angle */\n snapAngle?: number\n /** View twist angle */\n angle?: number\n /** Viewport status field */\n status?: string | number\n /** Viewport ID */\n id?: string | number\n /** Viewport flags */\n flags?: string | number\n /** UCS origin X coordinate */\n x?: number\n /** UCS origin Y coordinate */\n y?: number\n /** UCS origin Z coordinate */\n z?: number\n /** UCS X-axis X component */\n xAxisX?: number\n /** UCS X-axis Y component */\n xAxisY?: number\n /** UCS X-axis Z component */\n xAxisZ?: number\n /** View elevation */\n elevation?: number\n /** Render mode */\n render?: string | number\n /** Center point in WCS */\n center?: {\n x?: number\n y?: number\n z?: number\n }\n /** Center point in DCS */\n centerDCS?: {\n x?: number\n y?: number\n }\n /** Snap base point */\n snap?: {\n x?: number\n y?: number\n }\n /** Snap spacing */\n snapSpacing?: {\n x?: number\n y?: number\n }\n /** Grid spacing */\n gridSpacing?: {\n x?: number\n y?: number\n }\n /** View direction from target */\n direction?: {\n x?: number\n y?: number\n z?: number\n }\n /** View target point */\n target?: {\n x?: number\n y?: number\n z?: number\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=viewport-entity.js.map
|
package/lib/types.cjs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var types_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(types_exports);
|
|
18
|
+
__reExport(types_exports, require("./types/index"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./types/index")
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=types.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/types.ts"],
|
|
4
|
+
"sourcesContent": ["// Legacy types.ts - re-exports from types/ directory for backward compatibility\n// All types are now organized in separate files under src/types/\n\nexport * from './types/index';\n\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAGA,0BAAc,0BAHd;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/lib/types.js
ADDED
package/lib/types.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/types.ts"],
|
|
4
|
+
"sourcesContent": ["// Legacy types.ts - re-exports from types/ directory for backward compatibility\n// All types are now organized in separate files under src/types/\n\nexport * from './types/index';\n\n"],
|
|
5
|
+
"mappings": "AAGA,cAAc;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var bSpline_exports = {};
|
|
30
|
+
__export(bSpline_exports, {
|
|
31
|
+
default: () => bSpline
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(bSpline_exports);
|
|
34
|
+
var import_round10 = __toESM(require("./round10"), 1);
|
|
35
|
+
function bSpline(t, degree, points, knots, weights) {
|
|
36
|
+
const n = points.length;
|
|
37
|
+
const d = points[0].length;
|
|
38
|
+
if (t < 0 || t > 1) {
|
|
39
|
+
throw new Error("t out of bounds [0,1]: " + t);
|
|
40
|
+
}
|
|
41
|
+
if (degree < 1) throw new Error("degree must be at least 1 (linear)");
|
|
42
|
+
if (degree > n - 1)
|
|
43
|
+
throw new Error("degree must be less than or equal to point count - 1");
|
|
44
|
+
let actualWeights = weights;
|
|
45
|
+
if (!actualWeights) {
|
|
46
|
+
actualWeights = [];
|
|
47
|
+
for (let i = 0; i < n; i++) {
|
|
48
|
+
actualWeights[i] = 1;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
let actualKnots = knots;
|
|
52
|
+
if (actualKnots === null || actualKnots === void 0) {
|
|
53
|
+
actualKnots = [];
|
|
54
|
+
for (let i = 0; i < n + degree + 1; i++) {
|
|
55
|
+
actualKnots[i] = i;
|
|
56
|
+
}
|
|
57
|
+
} else if (actualKnots.length !== n + degree + 1) {
|
|
58
|
+
throw new Error("bad knot vector length");
|
|
59
|
+
}
|
|
60
|
+
const domain = [degree, actualKnots.length - 1 - degree];
|
|
61
|
+
const low = actualKnots[domain[0]];
|
|
62
|
+
const high = actualKnots[domain[1]];
|
|
63
|
+
let tMapped = t * (high - low) + low;
|
|
64
|
+
tMapped = Math.max(tMapped, low);
|
|
65
|
+
tMapped = Math.min(tMapped, high);
|
|
66
|
+
let s;
|
|
67
|
+
for (s = domain[0]; s < domain[1]; s++) {
|
|
68
|
+
if (tMapped >= actualKnots[s] && tMapped <= actualKnots[s + 1]) {
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
const v = [];
|
|
73
|
+
for (let i = 0; i < n; i++) {
|
|
74
|
+
v[i] = [];
|
|
75
|
+
for (let j = 0; j < d; j++) {
|
|
76
|
+
v[i][j] = points[i][j] * actualWeights[i];
|
|
77
|
+
}
|
|
78
|
+
v[i][d] = actualWeights[i];
|
|
79
|
+
}
|
|
80
|
+
let alpha;
|
|
81
|
+
for (let l = 1; l <= degree + 1; l++) {
|
|
82
|
+
for (let i = s; i > s - degree - 1 + l; i--) {
|
|
83
|
+
alpha = (tMapped - actualKnots[i]) / (actualKnots[i + degree + 1 - l] - actualKnots[i]);
|
|
84
|
+
for (let j = 0; j < d + 1; j++) {
|
|
85
|
+
v[i][j] = (1 - alpha) * v[i - 1][j] + alpha * v[i][j];
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
const result = [];
|
|
90
|
+
for (let i = 0; i < d; i++) {
|
|
91
|
+
result[i] = (0, import_round10.default)(v[s][i] / v[s][d], -9);
|
|
92
|
+
}
|
|
93
|
+
return result;
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=bSpline.cjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/util/bSpline.ts"],
|
|
4
|
+
"sourcesContent": ["import round10 from './round10'\n\n/**\n * Copied and ported to code standard as the b-spline library is not maintained any longer.\n * Source:\n * https://github.com/thibauts/b-spline\n * Copyright (c) 2015 Thibaut S\u00E9guy <thibaut.seguy@gmail.com>\n */\nexport default function bSpline(\n t: number,\n degree: number,\n points: number[][],\n knots?: number[],\n weights?: number[]\n): number[] {\n const n = points.length // points count\n const d = points[0].length // point dimensionality\n\n if (t < 0 || t > 1) {\n throw new Error('t out of bounds [0,1]: ' + t)\n }\n if (degree < 1) throw new Error('degree must be at least 1 (linear)')\n if (degree > n - 1)\n throw new Error('degree must be less than or equal to point count - 1')\n\n let actualWeights = weights\n if (!actualWeights) {\n // build weight vector of length [n]\n actualWeights = []\n for (let i = 0; i < n; i++) {\n actualWeights[i] = 1\n }\n }\n\n let actualKnots = knots\n if (actualKnots === null || actualKnots === undefined) {\n // build knot vector of length [n + degree + 1]\n actualKnots = []\n for (let i = 0; i < n + degree + 1; i++) {\n actualKnots[i] = i\n }\n } else if (actualKnots.length !== n + degree + 1) {\n throw new Error('bad knot vector length')\n }\n\n const domain = [degree, actualKnots.length - 1 - degree]\n\n // remap t to the domain where the spline is defined\n const low = actualKnots[domain[0]]\n const high = actualKnots[domain[1]]\n let tMapped = t * (high - low) + low\n\n // Clamp to the upper & lower bounds instead of\n // throwing an error like in the original lib\n // https://github.com/bjnortier/dxf/issues/28\n tMapped = Math.max(tMapped, low)\n tMapped = Math.min(tMapped, high)\n\n // find s (the spline segment) for the [t] value provided\n let s\n for (s = domain[0]; s < domain[1]; s++) {\n if (tMapped >= actualKnots[s] && tMapped <= actualKnots[s + 1]) {\n break\n }\n }\n\n // convert points to homogeneous coordinates\n const v: number[][] = []\n for (let i = 0; i < n; i++) {\n v[i] = []\n for (let j = 0; j < d; j++) {\n v[i][j] = points[i][j] * actualWeights[i]\n }\n v[i][d] = actualWeights[i]\n }\n\n // l (level) goes from 1 to the curve degree + 1\n let alpha: number\n for (let l = 1; l <= degree + 1; l++) {\n // build level l of the pyramid\n for (let i = s; i > s - degree - 1 + l; i--) {\n alpha = (tMapped - actualKnots[i]) / (actualKnots[i + degree + 1 - l] - actualKnots[i])\n\n // interpolate each component\n for (let j = 0; j < d + 1; j++) {\n v[i][j] = (1 - alpha) * v[i - 1][j] + alpha * v[i][j]\n }\n }\n }\n\n // convert back to cartesian and return\n const result: number[] = []\n for (let i = 0; i < d; i++) {\n result[i] = round10(v[s][i] / v[s][d], -9)\n }\n return result\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAoB;AAQL,SAAR,QACL,GACA,QACA,QACA,OACA,SACU;AACV,QAAM,IAAI,OAAO;AACjB,QAAM,IAAI,OAAO,CAAC,EAAE;AAEpB,MAAI,IAAI,KAAK,IAAI,GAAG;AAClB,UAAM,IAAI,MAAM,4BAA4B,CAAC;AAAA,EAC/C;AACA,MAAI,SAAS,EAAG,OAAM,IAAI,MAAM,oCAAoC;AACpE,MAAI,SAAS,IAAI;AACf,UAAM,IAAI,MAAM,sDAAsD;AAExE,MAAI,gBAAgB;AACpB,MAAI,CAAC,eAAe;AAElB,oBAAgB,CAAC;AACjB,aAAS,IAAI,GAAG,IAAI,GAAG,KAAK;AAC1B,oBAAc,CAAC,IAAI;AAAA,IACrB;AAAA,EACF;AAEA,MAAI,cAAc;AAClB,MAAI,gBAAgB,QAAQ,gBAAgB,QAAW;AAErD,kBAAc,CAAC;AACf,aAAS,IAAI,GAAG,IAAI,IAAI,SAAS,GAAG,KAAK;AACvC,kBAAY,CAAC,IAAI;AAAA,IACnB;AAAA,EACF,WAAW,YAAY,WAAW,IAAI,SAAS,GAAG;AAChD,UAAM,IAAI,MAAM,wBAAwB;AAAA,EAC1C;AAEA,QAAM,SAAS,CAAC,QAAQ,YAAY,SAAS,IAAI,MAAM;AAGvD,QAAM,MAAM,YAAY,OAAO,CAAC,CAAC;AACjC,QAAM,OAAO,YAAY,OAAO,CAAC,CAAC;AAClC,MAAI,UAAU,KAAK,OAAO,OAAO;AAKjC,YAAU,KAAK,IAAI,SAAS,GAAG;AAC/B,YAAU,KAAK,IAAI,SAAS,IAAI;AAGhC,MAAI;AACJ,OAAK,IAAI,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,KAAK;AACtC,QAAI,WAAW,YAAY,CAAC,KAAK,WAAW,YAAY,IAAI,CAAC,GAAG;AAC9D;AAAA,IACF;AAAA,EACF;AAGA,QAAM,IAAgB,CAAC;AACvB,WAAS,IAAI,GAAG,IAAI,GAAG,KAAK;AAC1B,MAAE,CAAC,IAAI,CAAC;AACR,aAAS,IAAI,GAAG,IAAI,GAAG,KAAK;AAC1B,QAAE,CAAC,EAAE,CAAC,IAAI,OAAO,CAAC,EAAE,CAAC,IAAI,cAAc,CAAC;AAAA,IAC1C;AACA,MAAE,CAAC,EAAE,CAAC,IAAI,cAAc,CAAC;AAAA,EAC3B;AAGA,MAAI;AACJ,WAAS,IAAI,GAAG,KAAK,SAAS,GAAG,KAAK;AAEpC,aAAS,IAAI,GAAG,IAAI,IAAI,SAAS,IAAI,GAAG,KAAK;AAC3C,eAAS,UAAU,YAAY,CAAC,MAAM,YAAY,IAAI,SAAS,IAAI,CAAC,IAAI,YAAY,CAAC;AAGrF,eAAS,IAAI,GAAG,IAAI,IAAI,GAAG,KAAK;AAC9B,UAAE,CAAC,EAAE,CAAC,KAAK,IAAI,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,QAAQ,EAAE,CAAC,EAAE,CAAC;AAAA,MACtD;AAAA,IACF;AAAA,EACF;AAGA,QAAM,SAAmB,CAAC;AAC1B,WAAS,IAAI,GAAG,IAAI,GAAG,KAAK;AAC1B,WAAO,CAAC,QAAI,eAAAA,SAAQ,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE;AAAA,EAC3C;AACA,SAAO;AACT;",
|
|
6
|
+
"names": ["round10"]
|
|
7
|
+
}
|