dxf-json 0.0.8 → 0.0.10
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/.github/workflows/npm-publish.yml +1 -1
- package/dist/bundle.js +2 -0
- package/dist/bundle.js.LICENSE.txt +5 -0
- package/dist/consts/block.d.ts +10 -0
- package/dist/consts/block.js +22 -0
- package/dist/consts/block.js.map +1 -0
- package/dist/consts/color.d.ts +5 -0
- package/dist/consts/color.js +10 -0
- package/dist/consts/color.js.map +1 -0
- package/dist/consts/config.d.ts +2 -0
- package/dist/consts/config.js +6 -0
- package/dist/consts/config.js.map +1 -0
- package/dist/consts/dimension.d.ts +61 -0
- package/dist/consts/dimension.js +74 -0
- package/dist/consts/dimension.js.map +1 -0
- package/dist/consts/hatch.d.ts +44 -0
- package/dist/consts/hatch.js +57 -0
- package/dist/consts/hatch.js.map +1 -0
- package/dist/consts/header.d.ts +9 -0
- package/dist/consts/header.js +13 -0
- package/dist/consts/header.js.map +1 -0
- package/dist/consts/index.d.ts +9 -0
- package/dist/consts/index.js +26 -0
- package/dist/consts/index.js.map +1 -0
- package/dist/consts/lineweight.d.ts +5 -0
- package/dist/consts/lineweight.js +10 -0
- package/dist/consts/lineweight.js.map +1 -0
- package/dist/consts/measurement.d.ts +4 -0
- package/dist/consts/measurement.js +9 -0
- package/dist/consts/measurement.js.map +1 -0
- package/dist/consts/obscuredLineTypes.d.ts +21 -0
- package/dist/consts/obscuredLineTypes.js +26 -0
- package/dist/consts/obscuredLineTypes.js.map +1 -0
- package/dist/consts/scene.d.ts +2 -0
- package/dist/consts/scene.js +6 -0
- package/dist/consts/scene.js.map +1 -0
- package/dist/consts/viewport.d.ts +56 -0
- package/dist/consts/viewport.js +67 -0
- package/dist/consts/viewport.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/parser/AutoCadColorIndex.d.ts +8 -0
- package/dist/parser/AutoCadColorIndex.js +267 -0
- package/dist/parser/AutoCadColorIndex.js.map +1 -0
- package/dist/parser/DxfArrayScanner.d.ts +38 -0
- package/dist/parser/DxfArrayScanner.js +159 -0
- package/dist/parser/DxfArrayScanner.js.map +1 -0
- package/dist/parser/DxfParser.d.ts +11 -0
- package/dist/parser/DxfParser.js +108 -0
- package/dist/parser/DxfParser.js.map +1 -0
- package/dist/parser/ParseHelpers.d.ts +21 -0
- package/dist/parser/ParseHelpers.js +129 -0
- package/dist/parser/ParseHelpers.js.map +1 -0
- package/dist/parser/blocks/blocks.test.d.ts +1 -0
- package/dist/parser/blocks/blocks.test.js +86 -0
- package/dist/parser/blocks/blocks.test.js.map +1 -0
- package/dist/parser/blocks/index.d.ts +4 -0
- package/dist/parser/blocks/index.js +83 -0
- package/dist/parser/blocks/index.js.map +1 -0
- package/dist/parser/blocks/types.d.ts +14 -0
- package/dist/parser/blocks/types.js +3 -0
- package/dist/parser/blocks/types.js.map +1 -0
- package/dist/parser/entities/3dface.js +106 -0
- package/dist/parser/entities/3dface.js.map +1 -0
- package/dist/parser/entities/arc/index.d.ts +2 -0
- package/dist/parser/entities/arc/index.js +19 -0
- package/dist/parser/entities/arc/index.js.map +1 -0
- package/dist/parser/entities/arc/parser.d.ts +7 -0
- package/dist/parser/entities/arc/parser.js +63 -0
- package/dist/parser/entities/arc/parser.js.map +1 -0
- package/dist/parser/entities/arc/types.d.ts +12 -0
- package/dist/parser/entities/arc/types.js +3 -0
- package/dist/parser/entities/arc/types.js.map +1 -0
- package/dist/parser/entities/attdef/consts.d.ts +11 -0
- package/dist/parser/entities/attdef/consts.js +17 -0
- package/dist/parser/entities/attdef/consts.js.map +1 -0
- package/dist/parser/entities/attdef/index.d.ts +3 -0
- package/dist/parser/entities/attdef/index.js +20 -0
- package/dist/parser/entities/attdef/index.js.map +1 -0
- package/dist/parser/entities/attdef/parser.d.ts +8 -0
- package/dist/parser/entities/attdef/parser.js +108 -0
- package/dist/parser/entities/attdef/parser.js.map +1 -0
- package/dist/parser/entities/attdef/types.d.ts +17 -0
- package/dist/parser/entities/attdef/types.js +3 -0
- package/dist/parser/entities/attdef/types.js.map +1 -0
- package/dist/parser/entities/attribute/consts.d.ts +6 -0
- package/dist/parser/entities/attribute/consts.js +11 -0
- package/dist/parser/entities/attribute/consts.js.map +1 -0
- package/dist/parser/entities/attribute/index.d.ts +3 -0
- package/dist/parser/entities/attribute/index.js +20 -0
- package/dist/parser/entities/attribute/index.js.map +1 -0
- package/dist/parser/entities/attribute/parser.d.ts +8 -0
- package/dist/parser/entities/attribute/parser.js +185 -0
- package/dist/parser/entities/attribute/parser.js.map +1 -0
- package/dist/parser/entities/attribute/types.d.ts +30 -0
- package/dist/parser/entities/attribute/types.js +3 -0
- package/dist/parser/entities/attribute/types.js.map +1 -0
- package/dist/parser/entities/circle/index.d.ts +2 -0
- package/dist/parser/entities/circle/index.js +19 -0
- package/dist/parser/entities/circle/index.js.map +1 -0
- package/dist/parser/entities/circle/parser.d.ts +8 -0
- package/dist/parser/entities/circle/parser.js +50 -0
- package/dist/parser/entities/circle/parser.js.map +1 -0
- package/dist/parser/entities/circle/types.d.ts +10 -0
- package/dist/parser/entities/circle/types.js +3 -0
- package/dist/parser/entities/circle/types.js.map +1 -0
- package/dist/parser/entities/dimension/common.d.ts +6 -0
- package/dist/parser/entities/dimension/common.js +122 -0
- package/dist/parser/entities/dimension/common.js.map +1 -0
- package/dist/parser/entities/dimension/index.d.ts +6 -0
- package/dist/parser/entities/dimension/index.js +21 -0
- package/dist/parser/entities/dimension/index.js.map +1 -0
- package/dist/parser/entities/dimension/types.d.ts +48 -0
- package/dist/parser/entities/dimension/types.js +3 -0
- package/dist/parser/entities/dimension/types.js.map +1 -0
- package/dist/parser/entities/ellipse/index.d.ts +2 -0
- package/dist/parser/entities/ellipse/index.js +19 -0
- package/dist/parser/entities/ellipse/index.js.map +1 -0
- package/dist/parser/entities/ellipse/parser.d.ts +7 -0
- package/dist/parser/entities/ellipse/parser.js +59 -0
- package/dist/parser/entities/ellipse/parser.js.map +1 -0
- package/dist/parser/entities/ellipse/types.d.ts +12 -0
- package/dist/parser/entities/ellipse/types.js +3 -0
- package/dist/parser/entities/ellipse/types.js.map +1 -0
- package/dist/parser/entities/entities.test.d.ts +1 -0
- package/dist/parser/entities/entities.test.js +81 -0
- package/dist/parser/entities/entities.test.js.map +1 -0
- package/dist/parser/entities/hatch/boundaryPathData/edge.d.ts +6 -0
- package/dist/parser/entities/hatch/boundaryPathData/edge.js +178 -0
- package/dist/parser/entities/hatch/boundaryPathData/edge.js.map +1 -0
- package/dist/parser/entities/hatch/boundaryPathData/index.d.ts +5 -0
- package/dist/parser/entities/hatch/boundaryPathData/index.js +23 -0
- package/dist/parser/entities/hatch/boundaryPathData/index.js.map +1 -0
- package/dist/parser/entities/hatch/boundaryPathData/polyline.d.ts +2 -0
- package/dist/parser/entities/hatch/boundaryPathData/polyline.js +41 -0
- package/dist/parser/entities/hatch/boundaryPathData/polyline.js.map +1 -0
- package/dist/parser/entities/hatch/boundaryPathData/shared.d.ts +2 -0
- package/dist/parser/entities/hatch/boundaryPathData/shared.js +19 -0
- package/dist/parser/entities/hatch/boundaryPathData/shared.js.map +1 -0
- package/dist/parser/entities/hatch/index.d.ts +8 -0
- package/dist/parser/entities/hatch/index.js +183 -0
- package/dist/parser/entities/hatch/index.js.map +1 -0
- package/dist/parser/entities/hatch/patternData.d.ts +3 -0
- package/dist/parser/entities/hatch/patternData.js +54 -0
- package/dist/parser/entities/hatch/patternData.js.map +1 -0
- package/dist/parser/entities/hatch/types/boundaryPath.d.ts +59 -0
- package/dist/parser/entities/hatch/types/boundaryPath.js +3 -0
- package/dist/parser/entities/hatch/types/boundaryPath.js.map +1 -0
- package/dist/parser/entities/hatch/types/definitionLine.d.ts +8 -0
- package/dist/parser/entities/hatch/types/definitionLine.js +3 -0
- package/dist/parser/entities/hatch/types/definitionLine.js.map +1 -0
- package/dist/parser/entities/hatch/types/hatch.d.ts +38 -0
- package/dist/parser/entities/hatch/types/hatch.js +3 -0
- package/dist/parser/entities/hatch/types/hatch.js.map +1 -0
- package/dist/parser/entities/hatch/types/index.d.ts +3 -0
- package/dist/parser/entities/hatch/types/index.js +20 -0
- package/dist/parser/entities/hatch/types/index.js.map +1 -0
- package/dist/parser/entities/index.d.ts +8 -0
- package/dist/parser/entities/index.js +81 -0
- package/dist/parser/entities/index.js.map +1 -0
- package/dist/parser/entities/insert/index.d.ts +2 -0
- package/dist/parser/entities/insert/index.js +19 -0
- package/dist/parser/entities/insert/index.js.map +1 -0
- package/dist/parser/entities/insert/parser.d.ts +8 -0
- package/dist/parser/entities/insert/parser.js +97 -0
- package/dist/parser/entities/insert/parser.js.map +1 -0
- package/dist/parser/entities/insert/types.d.ts +18 -0
- package/dist/parser/entities/insert/types.js +3 -0
- package/dist/parser/entities/insert/types.js.map +1 -0
- package/dist/parser/entities/leader/consts.d.ts +6 -0
- package/dist/parser/entities/leader/consts.js +11 -0
- package/dist/parser/entities/leader/consts.js.map +1 -0
- package/dist/parser/entities/leader/index.d.ts +3 -0
- package/dist/parser/entities/leader/index.js +20 -0
- package/dist/parser/entities/leader/index.js.map +1 -0
- package/dist/parser/entities/leader/parser.d.ts +8 -0
- package/dist/parser/entities/leader/parser.js +110 -0
- package/dist/parser/entities/leader/parser.js.map +1 -0
- package/dist/parser/entities/leader/types.d.ts +23 -0
- package/dist/parser/entities/leader/types.js +3 -0
- package/dist/parser/entities/leader/types.js.map +1 -0
- package/dist/parser/entities/line/index.d.ts +2 -0
- package/dist/parser/entities/line/index.js +19 -0
- package/dist/parser/entities/line/index.js.map +1 -0
- package/dist/parser/entities/line/parser.d.ts +8 -0
- package/dist/parser/entities/line/parser.js +50 -0
- package/dist/parser/entities/line/parser.js.map +1 -0
- package/dist/parser/entities/line/types.d.ts +10 -0
- package/dist/parser/entities/line/types.js +3 -0
- package/dist/parser/entities/line/types.js.map +1 -0
- package/dist/parser/entities/lwpolyline/consts.d.ts +4 -0
- package/dist/parser/entities/lwpolyline/consts.js +9 -0
- package/dist/parser/entities/lwpolyline/consts.js.map +1 -0
- package/dist/parser/entities/lwpolyline/index.d.ts +3 -0
- package/dist/parser/entities/lwpolyline/index.js +20 -0
- package/dist/parser/entities/lwpolyline/index.js.map +1 -0
- package/dist/parser/entities/lwpolyline/parser.d.ts +7 -0
- package/dist/parser/entities/lwpolyline/parser.js +105 -0
- package/dist/parser/entities/lwpolyline/parser.js.map +1 -0
- package/dist/parser/entities/lwpolyline/types.d.ts +19 -0
- package/dist/parser/entities/lwpolyline/types.js +3 -0
- package/dist/parser/entities/lwpolyline/types.js.map +1 -0
- package/dist/parser/entities/mtext/consts.d.ts +5 -0
- package/dist/parser/entities/mtext/consts.js +10 -0
- package/dist/parser/entities/mtext/consts.js.map +1 -0
- package/dist/parser/entities/mtext/index.d.ts +3 -0
- package/dist/parser/entities/mtext/index.js +20 -0
- package/dist/parser/entities/mtext/index.js.map +1 -0
- package/dist/parser/entities/mtext/parser.d.ts +10 -0
- package/dist/parser/entities/mtext/parser.js +188 -0
- package/dist/parser/entities/mtext/parser.js.map +1 -0
- package/dist/parser/entities/mtext/types.d.ts +33 -0
- package/dist/parser/entities/mtext/types.js +3 -0
- package/dist/parser/entities/mtext/types.js.map +1 -0
- package/dist/parser/entities/point/index.d.ts +2 -0
- package/dist/parser/entities/point/index.js +19 -0
- package/dist/parser/entities/point/index.js.map +1 -0
- package/dist/parser/entities/point/parser.d.ts +6 -0
- package/dist/parser/entities/point/parser.js +54 -0
- package/dist/parser/entities/point/parser.js.map +1 -0
- package/dist/parser/entities/point/types.d.ts +9 -0
- package/dist/parser/entities/point/types.js +3 -0
- package/dist/parser/entities/point/types.js.map +1 -0
- package/dist/parser/entities/polyline/consts.d.ts +16 -0
- package/dist/parser/entities/polyline/consts.js +22 -0
- package/dist/parser/entities/polyline/consts.js.map +1 -0
- package/dist/parser/entities/polyline/index.d.ts +3 -0
- package/dist/parser/entities/polyline/index.js +20 -0
- package/dist/parser/entities/polyline/index.js.map +1 -0
- package/dist/parser/entities/polyline/parser.d.ts +7 -0
- package/dist/parser/entities/polyline/parser.js +118 -0
- package/dist/parser/entities/polyline/parser.js.map +1 -0
- package/dist/parser/entities/polyline/types.d.ts +19 -0
- package/dist/parser/entities/polyline/types.js +3 -0
- package/dist/parser/entities/polyline/types.js.map +1 -0
- package/dist/parser/entities/section/index.d.ts +2 -0
- package/dist/parser/entities/section/index.js +19 -0
- package/dist/parser/entities/section/index.js.map +1 -0
- package/dist/parser/entities/section/parser.d.ts +7 -0
- package/dist/parser/entities/section/parser.js +97 -0
- package/dist/parser/entities/section/parser.js.map +1 -0
- package/dist/parser/entities/section/types.d.ts +19 -0
- package/dist/parser/entities/section/types.js +3 -0
- package/dist/parser/entities/section/types.js.map +1 -0
- package/dist/parser/entities/shared.d.ts +35 -0
- package/dist/parser/entities/shared.js +136 -0
- package/dist/parser/entities/shared.js.map +1 -0
- package/dist/parser/entities/solid/index.d.ts +2 -0
- package/dist/parser/entities/solid/index.js +19 -0
- package/dist/parser/entities/solid/index.js.map +1 -0
- package/dist/parser/entities/solid/parser.d.ts +8 -0
- package/dist/parser/entities/solid/parser.js +48 -0
- package/dist/parser/entities/solid/parser.js.map +1 -0
- package/dist/parser/entities/solid/types.d.ts +9 -0
- package/dist/parser/entities/solid/types.js +3 -0
- package/dist/parser/entities/solid/types.js.map +1 -0
- package/dist/parser/entities/spline/consts.d.ts +8 -0
- package/dist/parser/entities/spline/consts.js +13 -0
- package/dist/parser/entities/spline/consts.js.map +1 -0
- package/dist/parser/entities/spline/index.d.ts +3 -0
- package/dist/parser/entities/spline/index.js +20 -0
- package/dist/parser/entities/spline/index.js.map +1 -0
- package/dist/parser/entities/spline/parser.d.ts +8 -0
- package/dist/parser/entities/spline/parser.js +113 -0
- package/dist/parser/entities/spline/parser.js.map +1 -0
- package/dist/parser/entities/spline/types.d.ts +21 -0
- package/dist/parser/entities/spline/types.js +3 -0
- package/dist/parser/entities/spline/types.js.map +1 -0
- package/dist/parser/entities/text/consts.d.ts +19 -0
- package/dist/parser/entities/text/consts.js +26 -0
- package/dist/parser/entities/text/consts.js.map +1 -0
- package/dist/parser/entities/text/index.d.ts +3 -0
- package/dist/parser/entities/text/index.js +20 -0
- package/dist/parser/entities/text/index.js.map +1 -0
- package/dist/parser/entities/text/parser.d.ts +26 -0
- package/dist/parser/entities/text/parser.js +112 -0
- package/dist/parser/entities/text/parser.js.map +1 -0
- package/dist/parser/entities/text/types.d.ts +20 -0
- package/dist/parser/entities/text/types.js +3 -0
- package/dist/parser/entities/text/types.js.map +1 -0
- package/dist/parser/entities/vertex/consts.d.ts +10 -0
- package/dist/parser/entities/vertex/consts.js +15 -0
- package/dist/parser/entities/vertex/consts.js.map +1 -0
- package/dist/parser/entities/vertex/index.d.ts +3 -0
- package/dist/parser/entities/vertex/index.js +20 -0
- package/dist/parser/entities/vertex/index.js.map +1 -0
- package/dist/parser/entities/vertex/parser.d.ts +8 -0
- package/dist/parser/entities/vertex/parser.js +86 -0
- package/dist/parser/entities/vertex/parser.js.map +1 -0
- package/dist/parser/entities/vertex/types.d.ts +16 -0
- package/dist/parser/entities/vertex/types.js +3 -0
- package/dist/parser/entities/vertex/types.js.map +1 -0
- package/dist/parser/entities/viewport/index.d.ts +5 -0
- package/dist/parser/entities/viewport/index.js +195 -0
- package/dist/parser/entities/viewport/index.js.map +1 -0
- package/dist/parser/entities/viewport/types.d.ts +51 -0
- package/dist/parser/entities/viewport/types.js +3 -0
- package/dist/parser/entities/viewport/types.js.map +1 -0
- package/dist/parser/filterDummyBlocks.d.ts +2 -0
- package/dist/parser/filterDummyBlocks.js +37 -0
- package/dist/parser/filterDummyBlocks.js.map +1 -0
- package/dist/parser/header/index.d.ts +3 -0
- package/dist/parser/header/index.js +32 -0
- package/dist/parser/header/index.js.map +1 -0
- package/dist/parser/objects/common.d.ts +8 -0
- package/dist/parser/objects/common.js +51 -0
- package/dist/parser/objects/common.js.map +1 -0
- package/dist/parser/objects/dictionary.d.ts +20 -0
- package/dist/parser/objects/dictionary.js +50 -0
- package/dist/parser/objects/dictionary.js.map +1 -0
- package/dist/parser/objects/index.d.ts +6 -0
- package/dist/parser/objects/index.js +43 -0
- package/dist/parser/objects/index.js.map +1 -0
- package/dist/parser/objects/layout.d.ts +30 -0
- package/dist/parser/objects/layout.js +110 -0
- package/dist/parser/objects/layout.js.map +1 -0
- package/dist/parser/objects/plotSettings.d.ts +64 -0
- package/dist/parser/objects/plotSettings.js +198 -0
- package/dist/parser/objects/plotSettings.js.map +1 -0
- package/dist/parser/objects/treefy.d.ts +2 -0
- package/dist/parser/objects/treefy.js +37 -0
- package/dist/parser/objects/treefy.js.map +1 -0
- package/dist/parser/objects/types.d.ts +15 -0
- package/dist/parser/objects/types.js +3 -0
- package/dist/parser/objects/types.js.map +1 -0
- package/dist/parser/shared/index.d.ts +7 -0
- package/dist/parser/shared/index.js +22 -0
- package/dist/parser/shared/index.js.map +1 -0
- package/dist/parser/shared/parsePoint.d.ts +7 -0
- package/dist/parser/shared/parsePoint.js +33 -0
- package/dist/parser/shared/parsePoint.js.map +1 -0
- package/dist/parser/shared/parserGenerator.d.ts +15 -0
- package/dist/parser/shared/parserGenerator.js +114 -0
- package/dist/parser/shared/parserGenerator.js.map +1 -0
- package/dist/parser/shared/parserGenerator.test.d.ts +1 -0
- package/dist/parser/shared/parserGenerator.test.js +153 -0
- package/dist/parser/shared/parserGenerator.test.js.map +1 -0
- package/dist/parser/shared/xdata/index.d.ts +3 -0
- package/dist/parser/shared/xdata/index.js +20 -0
- package/dist/parser/shared/xdata/index.js.map +1 -0
- package/dist/parser/shared/xdata/interpreter.d.ts +20 -0
- package/dist/parser/shared/xdata/interpreter.js +43 -0
- package/dist/parser/shared/xdata/interpreter.js.map +1 -0
- package/dist/parser/shared/xdata/interpreter.test.d.ts +1 -0
- package/dist/parser/shared/xdata/interpreter.test.js +83 -0
- package/dist/parser/shared/xdata/interpreter.test.js.map +1 -0
- package/dist/parser/shared/xdata/parser.d.ts +6 -0
- package/dist/parser/shared/xdata/parser.js +133 -0
- package/dist/parser/shared/xdata/parser.js.map +1 -0
- package/dist/parser/shared/xdata/parser.test.d.ts +1 -0
- package/dist/parser/shared/xdata/parser.test.js +64 -0
- package/dist/parser/shared/xdata/parser.test.js.map +1 -0
- package/dist/parser/shared/xdata/types.d.ts +9 -0
- package/dist/parser/shared/xdata/types.js +3 -0
- package/dist/parser/shared/xdata/types.js.map +1 -0
- package/dist/parser/tables/blockRecord/index.d.ts +2 -0
- package/dist/parser/tables/blockRecord/index.js +19 -0
- package/dist/parser/tables/blockRecord/index.js.map +1 -0
- package/dist/parser/tables/blockRecord/parser.d.ts +1 -0
- package/dist/parser/tables/blockRecord/parser.js +45 -0
- package/dist/parser/tables/blockRecord/parser.js.map +1 -0
- package/dist/parser/tables/blockRecord/types.d.ts +10 -0
- package/dist/parser/tables/blockRecord/types.js +3 -0
- package/dist/parser/tables/blockRecord/types.js.map +1 -0
- package/dist/parser/tables/dimStyle/consts.d.ts +2 -0
- package/dist/parser/tables/dimStyle/consts.js +424 -0
- package/dist/parser/tables/dimStyle/consts.js.map +1 -0
- package/dist/parser/tables/dimStyle/index.d.ts +3 -0
- package/dist/parser/tables/dimStyle/index.js +20 -0
- package/dist/parser/tables/dimStyle/index.js.map +1 -0
- package/dist/parser/tables/dimStyle/parser.d.ts +1 -0
- package/dist/parser/tables/dimStyle/parser.js +35 -0
- package/dist/parser/tables/dimStyle/parser.js.map +1 -0
- package/dist/parser/tables/dimStyle/types.d.ts +83 -0
- package/dist/parser/tables/dimStyle/types.js +3 -0
- package/dist/parser/tables/dimStyle/types.js.map +1 -0
- package/dist/parser/tables/index.d.ts +2 -0
- package/dist/parser/tables/index.js +19 -0
- package/dist/parser/tables/index.js.map +1 -0
- package/dist/parser/tables/layer/index.d.ts +2 -0
- package/dist/parser/tables/layer/index.js +19 -0
- package/dist/parser/tables/layer/index.js.map +1 -0
- package/dist/parser/tables/layer/parser.d.ts +1 -0
- package/dist/parser/tables/layer/parser.js +55 -0
- package/dist/parser/tables/layer/parser.js.map +1 -0
- package/dist/parser/tables/layer/types.d.ts +13 -0
- package/dist/parser/tables/layer/types.js +3 -0
- package/dist/parser/tables/layer/types.js.map +1 -0
- package/dist/parser/tables/ltype/consts.d.ts +6 -0
- package/dist/parser/tables/ltype/consts.js +11 -0
- package/dist/parser/tables/ltype/consts.js.map +1 -0
- package/dist/parser/tables/ltype/index.d.ts +3 -0
- package/dist/parser/tables/ltype/index.js +20 -0
- package/dist/parser/tables/ltype/index.js.map +1 -0
- package/dist/parser/tables/ltype/parser.d.ts +1 -0
- package/dist/parser/tables/ltype/parser.js +105 -0
- package/dist/parser/tables/ltype/parser.js.map +1 -0
- package/dist/parser/tables/ltype/types.d.ts +21 -0
- package/dist/parser/tables/ltype/types.js +3 -0
- package/dist/parser/tables/ltype/types.js.map +1 -0
- package/dist/parser/tables/parser.d.ts +2 -0
- package/dist/parser/tables/parser.js +90 -0
- package/dist/parser/tables/parser.js.map +1 -0
- package/dist/parser/tables/shared.d.ts +2 -0
- package/dist/parser/tables/shared.js +32 -0
- package/dist/parser/tables/shared.js.map +1 -0
- package/dist/parser/tables/style/index.d.ts +2 -0
- package/dist/parser/tables/style/index.js +19 -0
- package/dist/parser/tables/style/index.js.map +1 -0
- package/dist/parser/tables/style/parser.d.ts +1 -0
- package/dist/parser/tables/style/parser.js +68 -0
- package/dist/parser/tables/style/parser.js.map +1 -0
- package/dist/parser/tables/style/types.d.ts +14 -0
- package/dist/parser/tables/style/types.js +3 -0
- package/dist/parser/tables/style/types.js.map +1 -0
- package/dist/parser/tables/types.d.ts +14 -0
- package/dist/parser/tables/types.js +3 -0
- package/dist/parser/tables/types.js.map +1 -0
- package/dist/parser/tables/vport/index.d.ts +2 -0
- package/dist/parser/tables/vport/index.js +19 -0
- package/dist/parser/tables/vport/index.js.map +1 -0
- package/dist/parser/tables/vport/parser.d.ts +1 -0
- package/dist/parser/tables/vport/parser.js +201 -0
- package/dist/parser/tables/vport/parser.js.map +1 -0
- package/dist/parser/tables/vport/types.d.ts +43 -0
- package/dist/parser/tables/vport/types.js +3 -0
- package/dist/parser/tables/vport/types.js.map +1 -0
- package/dist/parser/types.d.ts +29 -0
- package/dist/parser/types.js +3 -0
- package/dist/parser/types.js.map +1 -0
- package/dist/types/color.d.ts +3 -0
- package/dist/types/color.js +3 -0
- package/dist/types/color.js.map +1 -0
- package/dist/types/dxfHeader.d.ts +16 -0
- package/dist/types/dxfHeader.js +3 -0
- package/dist/types/dxfHeader.js.map +1 -0
- package/dist/types/entity.d.ts +6 -0
- package/dist/types/entity.js +3 -0
- package/dist/types/entity.js.map +1 -0
- package/dist/types/index.d.ts +24 -0
- package/dist/types/index.js +20 -0
- package/dist/types/index.js.map +1 -0
- package/dist/utils/binarySearch.d.ts +1 -0
- package/dist/utils/binarySearch.js +23 -0
- package/dist/utils/binarySearch.js.map +1 -0
- package/dist/utils/disjointSet.d.ts +6 -0
- package/dist/utils/disjointSet.js +52 -0
- package/dist/utils/disjointSet.js.map +1 -0
- package/dist/utils/flooding.d.ts +8 -0
- package/dist/utils/flooding.js +26 -0
- package/dist/utils/flooding.js.map +1 -0
- package/dist/utils/functional.d.ts +17 -0
- package/dist/utils/functional.js +111 -0
- package/dist/utils/functional.js.map +1 -0
- package/dist/utils/graph.d.ts +19 -0
- package/dist/utils/graph.js +47 -0
- package/dist/utils/graph.js.map +1 -0
- package/dist/utils/index.d.ts +30 -0
- package/dist/utils/index.js +106 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/queue.d.ts +19 -0
- package/dist/utils/queue.js +71 -0
- package/dist/utils/queue.js.map +1 -0
- package/dist/utils/triangle.d.ts +2 -0
- package/dist/utils/triangle.js +19 -0
- package/dist/utils/triangle.js.map +1 -0
- package/package.json +2 -2
- package/src/parser/DxfParser.ts +2 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./parser"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/parser/tables/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./parser"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/parser/tables/layer/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const parseLayerTable: import("../../shared/parserGenerator").DXFParser;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseLayerTable = void 0;
|
|
4
|
+
const parserGenerator_1 = require("../../shared/parserGenerator");
|
|
5
|
+
const shared_1 = require("../shared");
|
|
6
|
+
const LayerTableParserSnippets = [
|
|
7
|
+
{
|
|
8
|
+
code: 347,
|
|
9
|
+
name: 'materialObjectId',
|
|
10
|
+
parser: parserGenerator_1.Identity,
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
code: 390,
|
|
14
|
+
name: 'plotStyleNameObjectId',
|
|
15
|
+
parser: parserGenerator_1.Identity,
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
code: 370,
|
|
19
|
+
name: 'lineweight',
|
|
20
|
+
parser: parserGenerator_1.Identity,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
code: 290,
|
|
24
|
+
name: 'isPlotting',
|
|
25
|
+
parser: parserGenerator_1.ToBoolean,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
code: 6,
|
|
29
|
+
name: 'lineType',
|
|
30
|
+
parser: parserGenerator_1.Identity,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
code: 62,
|
|
34
|
+
name: 'colorIndex',
|
|
35
|
+
parser: parserGenerator_1.Identity,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
code: 70,
|
|
39
|
+
name: 'standardFlag',
|
|
40
|
+
parser: parserGenerator_1.Identity,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
code: 2,
|
|
44
|
+
name: 'name',
|
|
45
|
+
parser: parserGenerator_1.Identity,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
code: 100,
|
|
49
|
+
name: 'subclassMarker',
|
|
50
|
+
parser: parserGenerator_1.Identity,
|
|
51
|
+
},
|
|
52
|
+
...shared_1.CommonTableEntryParserSnippets,
|
|
53
|
+
];
|
|
54
|
+
exports.parseLayerTable = (0, parserGenerator_1.createParser)(LayerTableParserSnippets);
|
|
55
|
+
//# sourceMappingURL=parser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/parser/tables/layer/parser.ts"],"names":[],"mappings":";;;AAAA,kEAKsC;AACtC,sCAA2D;AAE3D,MAAM,wBAAwB,GAAuB;IACjD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,kBAAkB;QACxB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,uBAAuB;QAC7B,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,2BAAS;KACpB;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD,GAAG,uCAA8B;CACpC,CAAC;AAEW,QAAA,eAAe,GAAG,IAAA,8BAAY,EAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ColorIndex } from '../../../types';
|
|
2
|
+
import type { CommonDxfTableEntry } from '../types';
|
|
3
|
+
export interface LayerTableEntry extends CommonDxfTableEntry {
|
|
4
|
+
subclassMarker: 'AcDbLayerTableRecord';
|
|
5
|
+
name: string;
|
|
6
|
+
standardFlag: number;
|
|
7
|
+
colorIndex: ColorIndex;
|
|
8
|
+
lineType: string;
|
|
9
|
+
isPlotting: boolean;
|
|
10
|
+
lineweight: number;
|
|
11
|
+
plotStyleNameObjectId?: string;
|
|
12
|
+
materialObjectId?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/parser/tables/layer/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LineTypeElementType = void 0;
|
|
4
|
+
var LineTypeElementType;
|
|
5
|
+
(function (LineTypeElementType) {
|
|
6
|
+
LineTypeElementType[LineTypeElementType["NONE"] = 0] = "NONE";
|
|
7
|
+
LineTypeElementType[LineTypeElementType["AbsoluteRotation"] = 1] = "AbsoluteRotation";
|
|
8
|
+
LineTypeElementType[LineTypeElementType["TextEmbedded"] = 2] = "TextEmbedded";
|
|
9
|
+
LineTypeElementType[LineTypeElementType["ShapeEmbedded"] = 4] = "ShapeEmbedded";
|
|
10
|
+
})(LineTypeElementType || (exports.LineTypeElementType = LineTypeElementType = {}));
|
|
11
|
+
//# sourceMappingURL=consts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/parser/tables/ltype/consts.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC3B,6DAAU,CAAA;IACV,qFAAsB,CAAA;IACtB,6EAAkB,CAAA;IAClB,+EAAmB,CAAA;AACvB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./consts"), exports);
|
|
19
|
+
__exportStar(require("./parser"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/parser/tables/ltype/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const parseLTypeTable: import("../../shared/parserGenerator").DXFParser;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseLTypeTable = void 0;
|
|
4
|
+
const parserGenerator_1 = require("../../shared/parserGenerator");
|
|
5
|
+
const shared_1 = require("../shared");
|
|
6
|
+
const LTypeElementParserSnippets = [
|
|
7
|
+
{
|
|
8
|
+
code: 9,
|
|
9
|
+
name: 'text',
|
|
10
|
+
parser: parserGenerator_1.Identity,
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
code: 45,
|
|
14
|
+
name: 'offsetY',
|
|
15
|
+
parser: parserGenerator_1.Identity,
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
code: 44,
|
|
19
|
+
name: 'offsetX',
|
|
20
|
+
parser: parserGenerator_1.Identity,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
code: 50,
|
|
24
|
+
name: 'rotation',
|
|
25
|
+
parser: parserGenerator_1.Identity,
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
code: 46,
|
|
29
|
+
name: 'scale',
|
|
30
|
+
parser: parserGenerator_1.Identity,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
code: 340,
|
|
34
|
+
name: 'styleObjectId',
|
|
35
|
+
parser: parserGenerator_1.Identity,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
code: 75,
|
|
39
|
+
name: 'shapeNumber',
|
|
40
|
+
parser: parserGenerator_1.Identity,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
code: 74,
|
|
44
|
+
name: 'elementTypeFlag',
|
|
45
|
+
parser: parserGenerator_1.Identity,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
code: 49,
|
|
49
|
+
name: 'elementLength',
|
|
50
|
+
parser: parserGenerator_1.Identity,
|
|
51
|
+
},
|
|
52
|
+
];
|
|
53
|
+
const parseLTypeElement = (0, parserGenerator_1.createParser)(LTypeElementParserSnippets, {
|
|
54
|
+
elementTypeFlag: 0,
|
|
55
|
+
elementLength: 0,
|
|
56
|
+
});
|
|
57
|
+
const LTypeTableParserSnippets = [
|
|
58
|
+
{
|
|
59
|
+
code: 49,
|
|
60
|
+
name: 'pattern',
|
|
61
|
+
parser(curr, scanner) {
|
|
62
|
+
const entity = {};
|
|
63
|
+
parseLTypeElement(curr, scanner, entity);
|
|
64
|
+
return entity;
|
|
65
|
+
},
|
|
66
|
+
isMultiple: true,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
code: 40,
|
|
70
|
+
name: 'totalPatternLength',
|
|
71
|
+
parser: parserGenerator_1.Identity,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
code: 73,
|
|
75
|
+
name: 'numberOfLineTypes',
|
|
76
|
+
parser: parserGenerator_1.Identity,
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
code: 72,
|
|
80
|
+
parser: parserGenerator_1.Identity, // 항상 의미없는 값(A)이라 버림
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
code: 3,
|
|
84
|
+
name: 'description',
|
|
85
|
+
parser: parserGenerator_1.Identity,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
code: 70,
|
|
89
|
+
name: 'standardFlag',
|
|
90
|
+
parser: parserGenerator_1.Identity,
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
code: 2,
|
|
94
|
+
name: 'name',
|
|
95
|
+
parser: parserGenerator_1.Identity,
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
code: 100,
|
|
99
|
+
name: 'subclassMarker',
|
|
100
|
+
parser: parserGenerator_1.Identity,
|
|
101
|
+
},
|
|
102
|
+
...shared_1.CommonTableEntryParserSnippets,
|
|
103
|
+
];
|
|
104
|
+
exports.parseLTypeTable = (0, parserGenerator_1.createParser)(LTypeTableParserSnippets);
|
|
105
|
+
//# sourceMappingURL=parser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/parser/tables/ltype/parser.ts"],"names":[],"mappings":";;;AAAA,kEAIsC;AACtC,sCAA2D;AAG3D,MAAM,0BAA0B,GAAuB;IACnD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,iBAAiB;QACvB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,0BAAQ;KACnB;CACJ,CAAC;AAEF,MAAM,iBAAiB,GAAG,IAAA,8BAAY,EAAC,0BAA0B,EAAE;IAC/D,eAAe,EAAE,CAAC;IAClB,aAAa,EAAE,CAAC;CACnB,CAAC,CAAC;AAEH,MAAM,wBAAwB,GAAuB;IACjD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,SAAS;QACf,MAAM,CAAC,IAAI,EAAE,OAAO;YAChB,MAAM,MAAM,GAAG,EAAqB,CAAC;YACrC,iBAAiB,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;YACzC,OAAO,MAAM,CAAC;QAClB,CAAC;QACD,UAAU,EAAE,IAAI;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,oBAAoB;QAC1B,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,mBAAmB;QACzB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,MAAM,EAAE,0BAAQ,EAAE,oBAAoB;KACzC;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD,GAAG,uCAA8B;CACpC,CAAC;AAEW,QAAA,eAAe,GAAG,IAAA,8BAAY,EAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { CommonDxfTableEntry } from '../types';
|
|
2
|
+
export interface LTypeTableEntry extends CommonDxfTableEntry {
|
|
3
|
+
subclassMarker: 'AcDbLinetypeTableRecord';
|
|
4
|
+
name: string;
|
|
5
|
+
standardFlag: number;
|
|
6
|
+
description: string;
|
|
7
|
+
numberOfLineTypes: number;
|
|
8
|
+
totalPatternLength: number;
|
|
9
|
+
pattern?: LineTypeElement[];
|
|
10
|
+
}
|
|
11
|
+
export interface LineTypeElement {
|
|
12
|
+
elementLength: number;
|
|
13
|
+
elementTypeFlag: number;
|
|
14
|
+
shapeNumber?: number;
|
|
15
|
+
styleObjectId?: string;
|
|
16
|
+
scale?: number;
|
|
17
|
+
rotation?: number;
|
|
18
|
+
offsetX?: number;
|
|
19
|
+
offsetY?: number;
|
|
20
|
+
text?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/parser/tables/ltype/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseTables = void 0;
|
|
4
|
+
const parserGenerator_1 = require("../shared/parserGenerator");
|
|
5
|
+
const shared_1 = require("../shared");
|
|
6
|
+
const blockRecord_1 = require("./blockRecord");
|
|
7
|
+
const dimStyle_1 = require("./dimStyle");
|
|
8
|
+
const layer_1 = require("./layer");
|
|
9
|
+
const parser_1 = require("./ltype/parser");
|
|
10
|
+
const style_1 = require("./style");
|
|
11
|
+
const vport_1 = require("./vport");
|
|
12
|
+
const TableParsers = {
|
|
13
|
+
BLOCK_RECORD: blockRecord_1.parseBlockRecordTable,
|
|
14
|
+
DIMSTYLE: dimStyle_1.parseDimStyle,
|
|
15
|
+
LAYER: layer_1.parseLayerTable,
|
|
16
|
+
LTYPE: parser_1.parseLTypeTable,
|
|
17
|
+
STYLE: style_1.parseStyleTable,
|
|
18
|
+
VPORT: vport_1.parseVPortTable,
|
|
19
|
+
};
|
|
20
|
+
const CommonTableParserSnippets = [
|
|
21
|
+
{
|
|
22
|
+
code: 70,
|
|
23
|
+
name: 'maxNumberOfEntries',
|
|
24
|
+
parser: parserGenerator_1.Identity,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
code: 100,
|
|
28
|
+
name: 'subclassMarker',
|
|
29
|
+
parser: parserGenerator_1.Identity,
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
code: 330,
|
|
33
|
+
name: 'ownerObjectId',
|
|
34
|
+
parser: parserGenerator_1.Identity,
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
// ACAD_XDICTIONARY, ignore
|
|
38
|
+
code: 102,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
code: 360,
|
|
42
|
+
isMultiple: true,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
code: 102,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
code: 5,
|
|
49
|
+
name: 'handle',
|
|
50
|
+
parser: parserGenerator_1.Identity,
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
code: 2,
|
|
54
|
+
name: 'name',
|
|
55
|
+
parser: parserGenerator_1.Identity,
|
|
56
|
+
},
|
|
57
|
+
];
|
|
58
|
+
const parseCommonTable = (0, parserGenerator_1.createParser)(CommonTableParserSnippets);
|
|
59
|
+
function parseTables(curr, scanner) {
|
|
60
|
+
var _a;
|
|
61
|
+
const tables = {};
|
|
62
|
+
while (!(0, shared_1.isMatched)(curr, 0, 'EOF')) {
|
|
63
|
+
if ((0, shared_1.isMatched)(curr, 0, 'ENDSEC'))
|
|
64
|
+
break;
|
|
65
|
+
if ((0, shared_1.isMatched)(curr, 0, 'TABLE')) {
|
|
66
|
+
curr = scanner.next();
|
|
67
|
+
const table = { entries: [] };
|
|
68
|
+
parseCommonTable(curr, scanner, table);
|
|
69
|
+
tables[table.name] = table;
|
|
70
|
+
}
|
|
71
|
+
if ((0, shared_1.isMatched)(curr, 0) && !(0, shared_1.isMatched)(curr, 0, 'ENDTAB')) {
|
|
72
|
+
const name = curr.value;
|
|
73
|
+
curr = scanner.next();
|
|
74
|
+
// @ts-ignore
|
|
75
|
+
const parseTable = TableParsers[name];
|
|
76
|
+
if (!parseTable) {
|
|
77
|
+
console.warn(`parseTable: Invalid table name '${name}'`);
|
|
78
|
+
curr = scanner.next();
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
const record = {};
|
|
82
|
+
parseTable(curr, scanner, record);
|
|
83
|
+
(_a = tables[name]) === null || _a === void 0 ? void 0 : _a.entries.push(record);
|
|
84
|
+
}
|
|
85
|
+
curr = scanner.next();
|
|
86
|
+
}
|
|
87
|
+
return tables;
|
|
88
|
+
}
|
|
89
|
+
exports.parseTables = parseTables;
|
|
90
|
+
//# sourceMappingURL=parser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../src/parser/tables/parser.ts"],"names":[],"mappings":";;;AAAA,+DAImC;AAEnC,sCAAsC;AAEtC,+CAAsD;AACtD,yCAA2C;AAC3C,mCAA0C;AAC1C,2CAAiD;AACjD,mCAA0C;AAC1C,mCAA0C;AAE1C,MAAM,YAAY,GAAG;IACjB,YAAY,EAAE,mCAAqB;IACnC,QAAQ,EAAE,wBAAa;IACvB,KAAK,EAAE,uBAAe;IACtB,KAAK,EAAE,wBAAe;IACtB,KAAK,EAAE,uBAAe;IACtB,KAAK,EAAE,uBAAe;CACzB,CAAC;AAEF,MAAM,yBAAyB,GAAuB;IAClD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,oBAAoB;QAC1B,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,2BAA2B;QAC3B,IAAI,EAAE,GAAG;KACZ;IACD;QACI,IAAI,EAAE,GAAG;QACT,UAAU,EAAE,IAAI;KACnB;IACD;QACI,IAAI,EAAE,GAAG;KACZ;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,0BAAQ;KACnB;CACJ,CAAC;AAEF,MAAM,gBAAgB,GAAG,IAAA,8BAAY,EAAC,yBAAyB,CAAC,CAAC;AAEjE,SAAgB,WAAW,CAAC,IAAkB,EAAE,OAAwB;;IACpE,MAAM,MAAM,GAAG,EAAS,CAAC;IAEzB,OAAO,CAAC,IAAA,kBAAS,EAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;QAChC,IAAI,IAAA,kBAAS,EAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,CAAC;YAAE,MAAM;QAExC,IAAI,IAAA,kBAAS,EAAC,IAAI,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,CAAC;YAC9B,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;YAEtB,MAAM,KAAK,GAAG,EAAE,OAAO,EAAE,EAAW,EAAmB,CAAC;YACxD,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;YACvC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;QAC/B,CAAC;QAED,IAAI,IAAA,kBAAS,EAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,IAAA,kBAAS,EAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,CAAC,EAAE,CAAC;YACtD,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;YACxB,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;YAEtB,aAAa;YACb,MAAM,UAAU,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;YACtC,IAAI,CAAC,UAAU,EAAE,CAAC;gBACd,OAAO,CAAC,IAAI,CAAC,mCAAmC,IAAI,GAAG,CAAC,CAAC;gBACzD,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;gBACtB,SAAS;YACb,CAAC;YAED,MAAM,MAAM,GAAG,EAAS,CAAC;YACzB,UAAU,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;YAClC,MAAA,MAAM,CAAC,IAAI,CAAC,0CAAE,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACvC,CAAC;QACD,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;IAC1B,CAAC;IAED,OAAO,MAAM,CAAC;AAClB,CAAC;AAlCD,kCAkCC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CommonTableEntryParserSnippets = void 0;
|
|
4
|
+
const parserGenerator_1 = require("../shared/parserGenerator");
|
|
5
|
+
const shared_1 = require("../shared");
|
|
6
|
+
exports.CommonTableEntryParserSnippets = [
|
|
7
|
+
{
|
|
8
|
+
code: 100,
|
|
9
|
+
name: 'subclassMarker',
|
|
10
|
+
parser: parserGenerator_1.Identity,
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
code: 330,
|
|
14
|
+
name: 'ownerObjectId',
|
|
15
|
+
parser: parserGenerator_1.Identity,
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
code: 102,
|
|
19
|
+
parser(curr, scanner) {
|
|
20
|
+
while (!(0, shared_1.isMatched)(curr, 0, 'EOF') && !(0, shared_1.isMatched)(curr, 102, '}')) {
|
|
21
|
+
curr = scanner.next();
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
// DIMSTYLE만 예외적으로 미적용
|
|
27
|
+
code: 5,
|
|
28
|
+
name: 'handle',
|
|
29
|
+
parser: parserGenerator_1.Identity,
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/parser/tables/shared.ts"],"names":[],"mappings":";;;AAAA,+DAGmC;AACnC,sCAAsC;AAEzB,QAAA,8BAA8B,GAAuB;IAC9D;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,eAAe;QACrB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,MAAM,CAAC,IAAI,EAAE,OAAO;YAChB,OAAO,CAAC,IAAA,kBAAS,EAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,IAAA,kBAAS,EAAC,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;gBAC9D,IAAI,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC;YAC1B,CAAC;QACL,CAAC;KACJ;IACD;QACI,sBAAsB;QACtB,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,0BAAQ;KACnB;CACJ,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./parser"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/parser/tables/style/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const parseStyleTable: import("../../shared/parserGenerator").DXFParser;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseStyleTable = void 0;
|
|
4
|
+
const parserGenerator_1 = require("../../shared/parserGenerator");
|
|
5
|
+
const shared_1 = require("../shared");
|
|
6
|
+
const StyleTableParserSnippets = [
|
|
7
|
+
{
|
|
8
|
+
code: 1000,
|
|
9
|
+
name: 'extendedFont',
|
|
10
|
+
parser: parserGenerator_1.Identity,
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
code: 1001, // ACAD signature, skip
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
code: 4,
|
|
17
|
+
name: 'bigFont',
|
|
18
|
+
parser: parserGenerator_1.Identity,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
code: 3,
|
|
22
|
+
name: 'font',
|
|
23
|
+
parser: parserGenerator_1.Identity,
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
code: 42,
|
|
27
|
+
name: 'lastHeight',
|
|
28
|
+
parser: parserGenerator_1.Identity,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
code: 71,
|
|
32
|
+
name: 'textGenerationFlag',
|
|
33
|
+
parser: parserGenerator_1.Identity,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
code: 50,
|
|
37
|
+
name: 'obliqueAngle',
|
|
38
|
+
parser: parserGenerator_1.Identity,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
code: 41,
|
|
42
|
+
name: 'widthFactor',
|
|
43
|
+
parser: parserGenerator_1.Identity,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
code: 40,
|
|
47
|
+
name: 'fixedTextHeight',
|
|
48
|
+
parser: parserGenerator_1.Identity,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
code: 70,
|
|
52
|
+
name: 'standardFlag',
|
|
53
|
+
parser: parserGenerator_1.Identity,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
code: 2,
|
|
57
|
+
name: 'name',
|
|
58
|
+
parser: parserGenerator_1.Identity,
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
code: 100,
|
|
62
|
+
name: 'subclassMarker',
|
|
63
|
+
parser: parserGenerator_1.Identity,
|
|
64
|
+
},
|
|
65
|
+
...shared_1.CommonTableEntryParserSnippets,
|
|
66
|
+
];
|
|
67
|
+
exports.parseStyleTable = (0, parserGenerator_1.createParser)(StyleTableParserSnippets);
|
|
68
|
+
//# sourceMappingURL=parser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/parser/tables/style/parser.ts"],"names":[],"mappings":";;;AAAA,kEAIsC;AACtC,sCAA2D;AAE3D,MAAM,wBAAwB,GAAuB;IACjD;QACI,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,IAAI,EAAE,uBAAuB;KACtC;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,oBAAoB;QAC1B,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,iBAAiB;QACvB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,CAAC;QACP,IAAI,EAAE,MAAM;QACZ,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD,GAAG,uCAA8B;CACpC,CAAC;AAEW,QAAA,eAAe,GAAG,IAAA,8BAAY,EAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CommonDxfTableEntry } from '../types';
|
|
2
|
+
export interface StyleTableEntry extends CommonDxfTableEntry {
|
|
3
|
+
subclassMarker: 'AcDbTextStyleTableRecord';
|
|
4
|
+
name: string;
|
|
5
|
+
standardFlag: number;
|
|
6
|
+
fixedTextHeight: number;
|
|
7
|
+
widthFactor: number;
|
|
8
|
+
obliqueAngle: number;
|
|
9
|
+
textGenerationFlag: number;
|
|
10
|
+
lastHeight: number;
|
|
11
|
+
font: string;
|
|
12
|
+
bigFont: string;
|
|
13
|
+
extendedFont?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/parser/tables/style/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface DxfTable<T extends CommonDxfTableEntry> {
|
|
2
|
+
subclassMarker: 'AcDbSymbolTable';
|
|
3
|
+
name: string;
|
|
4
|
+
handle: string;
|
|
5
|
+
ownerDictionaryIds?: string[];
|
|
6
|
+
ownerObjectId: string;
|
|
7
|
+
maxNumberOfEntries: number;
|
|
8
|
+
entries: T[];
|
|
9
|
+
}
|
|
10
|
+
export interface CommonDxfTableEntry {
|
|
11
|
+
name: string;
|
|
12
|
+
handle: string;
|
|
13
|
+
ownerObjectId: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/parser/tables/types.ts"],"names":[],"mappings":""}
|