@configura/web-core 2.1.0-alpha.2 → 2.1.0-alpha.3
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/.eslintrc.json +5 -5
- package/LICENSE +201 -201
- package/README.md +1 -1
- package/dist/cm/basic/Color.d.ts +16 -16
- package/dist/cm/basic/Color.js +18 -18
- package/dist/cm/basic/ColorF.d.ts +9 -9
- package/dist/cm/basic/ColorF.js +10 -10
- package/dist/cm/basic/boolean.d.ts +2 -2
- package/dist/cm/basic/boolean.js +11 -11
- package/dist/cm/basic/number.d.ts +3 -3
- package/dist/cm/basic/number.js +18 -18
- package/dist/cm/basic/string.d.ts +2 -2
- package/dist/cm/basic/string.js +11 -11
- package/dist/cm/core3D/ATriMeshF.d.ts +96 -96
- package/dist/cm/core3D/ATriMeshF.js +197 -197
- package/dist/cm/core3D/GMaterial3D.d.ts +62 -62
- package/dist/cm/core3D/GMaterial3D.js +112 -112
- package/dist/cm/core3D/GMaterialClassic.d.ts +55 -55
- package/dist/cm/core3D/GMaterialClassic.js +171 -171
- package/dist/cm/core3D/GMaterialPBR.d.ts +73 -73
- package/dist/cm/core3D/GMaterialPBR.js +314 -314
- package/dist/cm/core3D/MultiGMaterial3D.d.ts +8 -8
- package/dist/cm/core3D/MultiGMaterial3D.js +17 -17
- package/dist/cm/core3D/uvmapper/UVMapEnv.d.ts +19 -19
- package/dist/cm/core3D/uvmapper/UVMapEnv.js +47 -47
- package/dist/cm/core3D/uvmapper/UVMapper.d.ts +41 -41
- package/dist/cm/core3D/uvmapper/UVMapper.js +94 -94
- package/dist/cm/core3D/uvmapper/UVMapperBox.d.ts +4 -4
- package/dist/cm/core3D/uvmapper/UVMapperBox.js +181 -181
- package/dist/cm/core3D/uvmapper/UVMapperCylinder.d.ts +9 -9
- package/dist/cm/core3D/uvmapper/UVMapperCylinder.js +96 -96
- package/dist/cm/core3D/uvmapper/UVMapperPlane.d.ts +3 -3
- package/dist/cm/core3D/uvmapper/UVMapperPlane.js +84 -84
- package/dist/cm/core3D/uvmapper/UVTransformer.d.ts +5 -5
- package/dist/cm/core3D/uvmapper/UVTransformer.js +5 -5
- package/dist/cm/core3D/uvmapper/instantiateUVMapper.d.ts +3 -3
- package/dist/cm/core3D/uvmapper/instantiateUVMapper.js +4 -4
- package/dist/cm/format/cmsym/InvalidationEnv.d.ts +9 -9
- package/dist/cm/format/cmsym/InvalidationEnv.js +13 -13
- package/dist/cm/format/cmsym/SymImportEnv.d.ts +9 -9
- package/dist/cm/format/cmsym/SymImportEnv.js +9 -9
- package/dist/cm/format/cmsym/SymInv.d.ts +8 -8
- package/dist/cm/format/cmsym/SymInv.js +17 -17
- package/dist/cm/format/cmsym/SymNode.d.ts +94 -94
- package/dist/cm/format/cmsym/SymNode.js +652 -652
- package/dist/cm/format/cmsym/components/SymBox.d.ts +15 -15
- package/dist/cm/format/cmsym/components/SymBox.js +39 -39
- package/dist/cm/format/cmsym/components/SymComponent.d.ts +29 -29
- package/dist/cm/format/cmsym/components/SymComponent.js +56 -56
- package/dist/cm/format/cmsym/components/SymConnector.d.ts +5 -5
- package/dist/cm/format/cmsym/components/SymConnector.js +10 -10
- package/dist/cm/format/cmsym/components/SymDexObj.d.ts +11 -11
- package/dist/cm/format/cmsym/components/SymDexObj.js +10 -10
- package/dist/cm/format/cmsym/components/SymGFX.d.ts +11 -11
- package/dist/cm/format/cmsym/components/SymGFX.js +20 -20
- package/dist/cm/format/cmsym/components/SymGMaterial.d.ts +19 -19
- package/dist/cm/format/cmsym/components/SymGMaterial.js +88 -88
- package/dist/cm/format/cmsym/components/SymGMaterialSelector.d.ts +17 -17
- package/dist/cm/format/cmsym/components/SymGMaterialSelector.js +22 -22
- package/dist/cm/format/cmsym/components/SymGetMeshEnv.d.ts +9 -9
- package/dist/cm/format/cmsym/components/SymGetMeshEnv.js +9 -9
- package/dist/cm/format/cmsym/components/SymLODGroup.d.ts +9 -9
- package/dist/cm/format/cmsym/components/SymLODGroup.js +13 -13
- package/dist/cm/format/cmsym/components/SymLight.d.ts +8 -8
- package/dist/cm/format/cmsym/components/SymLight.js +10 -10
- package/dist/cm/format/cmsym/components/SymLines2D.d.ts +5 -5
- package/dist/cm/format/cmsym/components/SymLines2D.js +7 -7
- package/dist/cm/format/cmsym/components/SymMeasure.d.ts +33 -33
- package/dist/cm/format/cmsym/components/SymMeasure.js +149 -149
- package/dist/cm/format/cmsym/components/SymMesh.d.ts +29 -29
- package/dist/cm/format/cmsym/components/SymMesh.js +130 -130
- package/dist/cm/format/cmsym/components/SymMeshLight.d.ts +8 -8
- package/dist/cm/format/cmsym/components/SymMeshLight.js +10 -10
- package/dist/cm/format/cmsym/components/SymMultiSelector.d.ts +13 -13
- package/dist/cm/format/cmsym/components/SymMultiSelector.js +48 -48
- package/dist/cm/format/cmsym/components/SymParams.d.ts +16 -16
- package/dist/cm/format/cmsym/components/SymParams.js +58 -58
- package/dist/cm/format/cmsym/components/SymPlane.d.ts +15 -15
- package/dist/cm/format/cmsym/components/SymPlane.js +30 -30
- package/dist/cm/format/cmsym/components/SymPlaneDivider.d.ts +4 -4
- package/dist/cm/format/cmsym/components/SymPlaneDivider.js +7 -7
- package/dist/cm/format/cmsym/components/SymPrimitive2D.d.ts +3 -3
- package/dist/cm/format/cmsym/components/SymPrimitive2D.js +3 -3
- package/dist/cm/format/cmsym/components/SymProgs.d.ts +32 -32
- package/dist/cm/format/cmsym/components/SymProgs.js +120 -120
- package/dist/cm/format/cmsym/components/SymProps.d.ts +54 -54
- package/dist/cm/format/cmsym/components/SymProps.js +171 -171
- package/dist/cm/format/cmsym/components/SymRep.d.ts +13 -13
- package/dist/cm/format/cmsym/components/SymRep.js +28 -28
- package/dist/cm/format/cmsym/components/SymReps.d.ts +36 -36
- package/dist/cm/format/cmsym/components/SymReps.js +230 -230
- package/dist/cm/format/cmsym/components/SymShape.d.ts +10 -10
- package/dist/cm/format/cmsym/components/SymShape.js +17 -17
- package/dist/cm/format/cmsym/components/SymSphere.d.ts +18 -18
- package/dist/cm/format/cmsym/components/SymSphere.js +33 -33
- package/dist/cm/format/cmsym/components/SymSpotlight.d.ts +8 -8
- package/dist/cm/format/cmsym/components/SymSpotlight.js +10 -10
- package/dist/cm/format/cmsym/components/SymTags.d.ts +11 -11
- package/dist/cm/format/cmsym/components/SymTags.js +20 -20
- package/dist/cm/format/cmsym/components/SymText2D.d.ts +5 -5
- package/dist/cm/format/cmsym/components/SymText2D.js +8 -8
- package/dist/cm/format/cmsym/components/SymText3D.d.ts +5 -5
- package/dist/cm/format/cmsym/components/SymText3D.js +8 -8
- package/dist/cm/format/cmsym/components/SymTransform.d.ts +23 -23
- package/dist/cm/format/cmsym/components/SymTransform.js +101 -101
- package/dist/cm/format/cmsym/components/SymUVMapper.d.ts +13 -13
- package/dist/cm/format/cmsym/components/SymUVMapper.js +50 -50
- package/dist/cm/format/cmsym/components/instantiate.d.ts +2 -2
- package/dist/cm/format/cmsym/components/instantiate.js +121 -121
- package/dist/cm/format/cmsym/components/legacy.d.ts +7 -7
- package/dist/cm/format/cmsym/components/legacy.js +27 -27
- package/dist/cm/format/cmsym/components/mesh.d.ts +8 -8
- package/dist/cm/format/cmsym/components/mesh.js +28 -28
- package/dist/cm/format/cmsym/invalidation.d.ts +4 -4
- package/dist/cm/format/cmsym/invalidation.js +72 -72
- package/dist/cm/format/dex/DexIRef.d.ts +9 -9
- package/dist/cm/format/dex/DexIRef.js +18 -18
- package/dist/cm/format/dex/DexInt.d.ts +11 -11
- package/dist/cm/format/dex/DexInt.js +18 -18
- package/dist/cm/format/dex/DexInternalizedXRef.d.ts +19 -19
- package/dist/cm/format/dex/DexInternalizedXRef.js +65 -65
- package/dist/cm/format/dex/DexLoader.d.ts +8 -8
- package/dist/cm/format/dex/DexLoader.js +12 -12
- package/dist/cm/format/dex/DexManager.d.ts +20 -20
- package/dist/cm/format/dex/DexManager.js +78 -78
- package/dist/cm/format/dex/DexObj.d.ts +15 -15
- package/dist/cm/format/dex/DexObj.js +86 -86
- package/dist/cm/format/dex/DexReader.d.ts +90 -90
- package/dist/cm/format/dex/DexReader.js +532 -532
- package/dist/cm/format/dex/DexRef.d.ts +6 -6
- package/dist/cm/format/dex/DexRef.js +8 -8
- package/dist/cm/format/dex/DexReplacedXRefs.d.ts +9 -9
- package/dist/cm/format/dex/DexReplacedXRefs.js +22 -22
- package/dist/cm/format/dex/DexURL.d.ts +4 -4
- package/dist/cm/format/dex/DexURL.js +5 -5
- package/dist/cm/format/dex/DexVersion.d.ts +15 -15
- package/dist/cm/format/dex/DexVersion.js +53 -53
- package/dist/cm/format/dex/DexXRef.d.ts +18 -18
- package/dist/cm/format/dex/DexXRef.js +51 -51
- package/dist/cm/format/dex/DexXRefTargetFilter.d.ts +4 -4
- package/dist/cm/format/dex/DexXRefTargetFilter.js +5 -5
- package/dist/cm/geometry/Angle.d.ts +9 -9
- package/dist/cm/geometry/Angle.js +18 -18
- package/dist/cm/geometry/AngleF.d.ts +5 -5
- package/dist/cm/geometry/AngleF.js +8 -8
- package/dist/cm/geometry/Box.d.ts +7 -7
- package/dist/cm/geometry/Box.js +9 -9
- package/dist/cm/geometry/DetailMask.d.ts +37 -37
- package/dist/cm/geometry/DetailMask.js +114 -114
- package/dist/cm/geometry/LayerExpr.d.ts +2 -2
- package/dist/cm/geometry/LayerExpr.js +2 -2
- package/dist/cm/geometry/Matrix22.d.ts +7 -7
- package/dist/cm/geometry/Matrix22.js +9 -9
- package/dist/cm/geometry/Matrix33.d.ts +42 -42
- package/dist/cm/geometry/Matrix33.js +124 -124
- package/dist/cm/geometry/Orientation.d.ts +7 -7
- package/dist/cm/geometry/Orientation.js +7 -7
- package/dist/cm/geometry/Plane.d.ts +8 -8
- package/dist/cm/geometry/Plane.js +14 -14
- package/dist/cm/geometry/Point.d.ts +21 -21
- package/dist/cm/geometry/Point.js +65 -65
- package/dist/cm/geometry/Point2D.d.ts +9 -9
- package/dist/cm/geometry/Point2D.js +23 -23
- package/dist/cm/geometry/PointF.d.ts +11 -11
- package/dist/cm/geometry/PointF.js +27 -27
- package/dist/cm/geometry/Transform.d.ts +11 -11
- package/dist/cm/geometry/Transform.js +61 -61
- package/dist/cm/geometry/Transform2D.d.ts +7 -7
- package/dist/cm/geometry/Transform2D.js +6 -6
- package/dist/cm/io/Semver.d.ts +18 -18
- package/dist/cm/io/Semver.js +61 -61
- package/dist/index.js +1 -1
- package/package.json +4 -4
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
import { Color } from "../../basic/Color.js";
|
|
2
|
-
import { ColorF } from "../../basic/ColorF.js";
|
|
3
|
-
import { Angle } from "../../geometry/Angle.js";
|
|
4
|
-
import { AngleF } from "../../geometry/AngleF.js";
|
|
5
|
-
import { Box } from "../../geometry/Box.js";
|
|
6
|
-
import { Orientation } from "../../geometry/Orientation.js";
|
|
7
|
-
import { Plane } from "../../geometry/Plane.js";
|
|
8
|
-
import { Point } from "../../geometry/Point.js";
|
|
9
|
-
import { Point2D } from "../../geometry/Point2D.js";
|
|
10
|
-
import { Transform } from "../../geometry/Transform.js";
|
|
11
|
-
import { DexInt, DexInt64 } from "./DexInt.js";
|
|
12
|
-
import { DexInternalizedXRef } from "./DexInternalizedXRef.js";
|
|
13
|
-
import { DexIRef } from "./DexIRef.js";
|
|
14
|
-
import { DexManager } from "./DexManager.js";
|
|
15
|
-
import { DexObj } from "./DexObj.js";
|
|
16
|
-
import { DexURL } from "./DexURL.js";
|
|
17
|
-
import { DexVersion } from "./DexVersion.js";
|
|
18
|
-
import { DexXRef } from "./DexXRef.js";
|
|
19
|
-
export declare type DexEntity = Angle | AngleF | Box | Color | ColorF | DexIRef | DexInt | DexInt64 | DexObj | DexObj[] | DexURL | DexVersion | DexXRef | Orientation | Plane | Point | Point2D | Transform;
|
|
20
|
-
export declare type DexSerializable = DexEntity | Map<string, string> | Map<string, number> | Set<string> | Uint8Array | boolean | number | string | undefined;
|
|
21
|
-
export declare function isStringToNumberMap(mp: Map<unknown, unknown>): mp is Map<string, number>;
|
|
22
|
-
export declare function isStringToStringMap(mp: Map<unknown, unknown>): mp is Map<string, string>;
|
|
23
|
-
export declare class DexReader {
|
|
24
|
-
private _bytes;
|
|
25
|
-
manager: DexManager;
|
|
26
|
-
url: string;
|
|
27
|
-
isOpen: boolean;
|
|
28
|
-
private thumbnailOffset?;
|
|
29
|
-
private positionsOffset?;
|
|
30
|
-
private writeVersion?;
|
|
31
|
-
private version_1_2_0;
|
|
32
|
-
private version_1_1_0;
|
|
33
|
-
private version_0_0_1;
|
|
34
|
-
private accessed;
|
|
35
|
-
private beginPos;
|
|
36
|
-
private openedTimeStamp;
|
|
37
|
-
private positions;
|
|
38
|
-
private strs;
|
|
39
|
-
private objs;
|
|
40
|
-
private objsPos;
|
|
41
|
-
private root?;
|
|
42
|
-
private internalizedXRefs;
|
|
43
|
-
private replacedXRefs;
|
|
44
|
-
private stream;
|
|
45
|
-
constructor(_bytes: Uint8Array, manager: DexManager, url: string);
|
|
46
|
-
begin(): boolean;
|
|
47
|
-
end(): void;
|
|
48
|
-
read(): DexObj | undefined;
|
|
49
|
-
readAngle(): Angle;
|
|
50
|
-
readAngleF(): AngleF;
|
|
51
|
-
readBox(): Box;
|
|
52
|
-
readPlane(): Plane;
|
|
53
|
-
readByteArray(): Uint8Array;
|
|
54
|
-
readBytes(start: number, length: number): Uint8Array;
|
|
55
|
-
readColor(): Color;
|
|
56
|
-
readColorF(): ColorF;
|
|
57
|
-
readDexObj(): DexObj;
|
|
58
|
-
readDexObjArray(): DexObj[];
|
|
59
|
-
readDexObjInto(obj: DexObj): void;
|
|
60
|
-
readOrientation(): Orientation;
|
|
61
|
-
readPoint(): Point;
|
|
62
|
-
readPoint2D(): Point2D;
|
|
63
|
-
readTransform(): Transform;
|
|
64
|
-
readDexVersion(): DexVersion;
|
|
65
|
-
readDexXRef(): DexXRef;
|
|
66
|
-
readHeader(): void;
|
|
67
|
-
readLayerExpression(): string | undefined;
|
|
68
|
-
readRef(): DexSerializable;
|
|
69
|
-
readRoot(): DexObj | undefined;
|
|
70
|
-
readURL(): DexURL;
|
|
71
|
-
readURL_0_0_1(): DexURL;
|
|
72
|
-
loadDexObj(obj: DexSerializable, key?: string): DexObj;
|
|
73
|
-
readShortcuts(): void;
|
|
74
|
-
takeShortcut(shortcut: string): void;
|
|
75
|
-
readTables(): void;
|
|
76
|
-
readStrs(): void;
|
|
77
|
-
readSetStr(): Set<string>;
|
|
78
|
-
readStr(): string | undefined;
|
|
79
|
-
readMapStrInt(): Map<string, number>;
|
|
80
|
-
readInternalizedXRefs(): void;
|
|
81
|
-
readInternalizedXRef(i: number, xrefCount: number): void;
|
|
82
|
-
readInternalizedXRefFile(pos: number, length: number): Uint8Array;
|
|
83
|
-
internalizedXRef(url: string): DexInternalizedXRef | undefined;
|
|
84
|
-
expandRelativeUrl(url: string): string;
|
|
85
|
-
putReplaceXRef(obj: DexSerializable, k: string, xref: DexXRef): void;
|
|
86
|
-
readObject(): DexSerializable;
|
|
87
|
-
readObjectFromPos(pos: number): DexSerializable;
|
|
88
|
-
toString(): string;
|
|
89
|
-
bytes(): Uint8Array;
|
|
90
|
-
}
|
|
1
|
+
import { Color } from "../../basic/Color.js";
|
|
2
|
+
import { ColorF } from "../../basic/ColorF.js";
|
|
3
|
+
import { Angle } from "../../geometry/Angle.js";
|
|
4
|
+
import { AngleF } from "../../geometry/AngleF.js";
|
|
5
|
+
import { Box } from "../../geometry/Box.js";
|
|
6
|
+
import { Orientation } from "../../geometry/Orientation.js";
|
|
7
|
+
import { Plane } from "../../geometry/Plane.js";
|
|
8
|
+
import { Point } from "../../geometry/Point.js";
|
|
9
|
+
import { Point2D } from "../../geometry/Point2D.js";
|
|
10
|
+
import { Transform } from "../../geometry/Transform.js";
|
|
11
|
+
import { DexInt, DexInt64 } from "./DexInt.js";
|
|
12
|
+
import { DexInternalizedXRef } from "./DexInternalizedXRef.js";
|
|
13
|
+
import { DexIRef } from "./DexIRef.js";
|
|
14
|
+
import { DexManager } from "./DexManager.js";
|
|
15
|
+
import { DexObj } from "./DexObj.js";
|
|
16
|
+
import { DexURL } from "./DexURL.js";
|
|
17
|
+
import { DexVersion } from "./DexVersion.js";
|
|
18
|
+
import { DexXRef } from "./DexXRef.js";
|
|
19
|
+
export declare type DexEntity = Angle | AngleF | Box | Color | ColorF | DexIRef | DexInt | DexInt64 | DexObj | DexObj[] | DexURL | DexVersion | DexXRef | Orientation | Plane | Point | Point2D | Transform;
|
|
20
|
+
export declare type DexSerializable = DexEntity | Map<string, string> | Map<string, number> | Set<string> | Uint8Array | boolean | number | string | undefined;
|
|
21
|
+
export declare function isStringToNumberMap(mp: Map<unknown, unknown>): mp is Map<string, number>;
|
|
22
|
+
export declare function isStringToStringMap(mp: Map<unknown, unknown>): mp is Map<string, string>;
|
|
23
|
+
export declare class DexReader {
|
|
24
|
+
private _bytes;
|
|
25
|
+
manager: DexManager;
|
|
26
|
+
url: string;
|
|
27
|
+
isOpen: boolean;
|
|
28
|
+
private thumbnailOffset?;
|
|
29
|
+
private positionsOffset?;
|
|
30
|
+
private writeVersion?;
|
|
31
|
+
private version_1_2_0;
|
|
32
|
+
private version_1_1_0;
|
|
33
|
+
private version_0_0_1;
|
|
34
|
+
private accessed;
|
|
35
|
+
private beginPos;
|
|
36
|
+
private openedTimeStamp;
|
|
37
|
+
private positions;
|
|
38
|
+
private strs;
|
|
39
|
+
private objs;
|
|
40
|
+
private objsPos;
|
|
41
|
+
private root?;
|
|
42
|
+
private internalizedXRefs;
|
|
43
|
+
private replacedXRefs;
|
|
44
|
+
private stream;
|
|
45
|
+
constructor(_bytes: Uint8Array, manager: DexManager, url: string);
|
|
46
|
+
begin(): boolean;
|
|
47
|
+
end(): void;
|
|
48
|
+
read(): DexObj | undefined;
|
|
49
|
+
readAngle(): Angle;
|
|
50
|
+
readAngleF(): AngleF;
|
|
51
|
+
readBox(): Box;
|
|
52
|
+
readPlane(): Plane;
|
|
53
|
+
readByteArray(): Uint8Array;
|
|
54
|
+
readBytes(start: number, length: number): Uint8Array;
|
|
55
|
+
readColor(): Color;
|
|
56
|
+
readColorF(): ColorF;
|
|
57
|
+
readDexObj(): DexObj;
|
|
58
|
+
readDexObjArray(): DexObj[];
|
|
59
|
+
readDexObjInto(obj: DexObj): void;
|
|
60
|
+
readOrientation(): Orientation;
|
|
61
|
+
readPoint(): Point;
|
|
62
|
+
readPoint2D(): Point2D;
|
|
63
|
+
readTransform(): Transform;
|
|
64
|
+
readDexVersion(): DexVersion;
|
|
65
|
+
readDexXRef(): DexXRef;
|
|
66
|
+
readHeader(): void;
|
|
67
|
+
readLayerExpression(): string | undefined;
|
|
68
|
+
readRef(): DexSerializable;
|
|
69
|
+
readRoot(): DexObj | undefined;
|
|
70
|
+
readURL(): DexURL;
|
|
71
|
+
readURL_0_0_1(): DexURL;
|
|
72
|
+
loadDexObj(obj: DexSerializable, key?: string): DexObj;
|
|
73
|
+
readShortcuts(): void;
|
|
74
|
+
takeShortcut(shortcut: string): void;
|
|
75
|
+
readTables(): void;
|
|
76
|
+
readStrs(): void;
|
|
77
|
+
readSetStr(): Set<string>;
|
|
78
|
+
readStr(): string | undefined;
|
|
79
|
+
readMapStrInt(): Map<string, number>;
|
|
80
|
+
readInternalizedXRefs(): void;
|
|
81
|
+
readInternalizedXRef(i: number, xrefCount: number): void;
|
|
82
|
+
readInternalizedXRefFile(pos: number, length: number): Uint8Array;
|
|
83
|
+
internalizedXRef(url: string): DexInternalizedXRef | undefined;
|
|
84
|
+
expandRelativeUrl(url: string): string;
|
|
85
|
+
putReplaceXRef(obj: DexSerializable, k: string, xref: DexXRef): void;
|
|
86
|
+
readObject(): DexSerializable;
|
|
87
|
+
readObjectFromPos(pos: number): DexSerializable;
|
|
88
|
+
toString(): string;
|
|
89
|
+
bytes(): Uint8Array;
|
|
90
|
+
}
|
|
91
91
|
//# sourceMappingURL=DexReader.d.ts.map
|