@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.
Files changed (173) hide show
  1. package/.eslintrc.json +5 -5
  2. package/LICENSE +201 -201
  3. package/README.md +1 -1
  4. package/dist/cm/basic/Color.d.ts +16 -16
  5. package/dist/cm/basic/Color.js +18 -18
  6. package/dist/cm/basic/ColorF.d.ts +9 -9
  7. package/dist/cm/basic/ColorF.js +10 -10
  8. package/dist/cm/basic/boolean.d.ts +2 -2
  9. package/dist/cm/basic/boolean.js +11 -11
  10. package/dist/cm/basic/number.d.ts +3 -3
  11. package/dist/cm/basic/number.js +18 -18
  12. package/dist/cm/basic/string.d.ts +2 -2
  13. package/dist/cm/basic/string.js +11 -11
  14. package/dist/cm/core3D/ATriMeshF.d.ts +96 -96
  15. package/dist/cm/core3D/ATriMeshF.js +197 -197
  16. package/dist/cm/core3D/GMaterial3D.d.ts +62 -62
  17. package/dist/cm/core3D/GMaterial3D.js +112 -112
  18. package/dist/cm/core3D/GMaterialClassic.d.ts +55 -55
  19. package/dist/cm/core3D/GMaterialClassic.js +171 -171
  20. package/dist/cm/core3D/GMaterialPBR.d.ts +73 -73
  21. package/dist/cm/core3D/GMaterialPBR.js +314 -314
  22. package/dist/cm/core3D/MultiGMaterial3D.d.ts +8 -8
  23. package/dist/cm/core3D/MultiGMaterial3D.js +17 -17
  24. package/dist/cm/core3D/uvmapper/UVMapEnv.d.ts +19 -19
  25. package/dist/cm/core3D/uvmapper/UVMapEnv.js +47 -47
  26. package/dist/cm/core3D/uvmapper/UVMapper.d.ts +41 -41
  27. package/dist/cm/core3D/uvmapper/UVMapper.js +94 -94
  28. package/dist/cm/core3D/uvmapper/UVMapperBox.d.ts +4 -4
  29. package/dist/cm/core3D/uvmapper/UVMapperBox.js +181 -181
  30. package/dist/cm/core3D/uvmapper/UVMapperCylinder.d.ts +9 -9
  31. package/dist/cm/core3D/uvmapper/UVMapperCylinder.js +96 -96
  32. package/dist/cm/core3D/uvmapper/UVMapperPlane.d.ts +3 -3
  33. package/dist/cm/core3D/uvmapper/UVMapperPlane.js +84 -84
  34. package/dist/cm/core3D/uvmapper/UVTransformer.d.ts +5 -5
  35. package/dist/cm/core3D/uvmapper/UVTransformer.js +5 -5
  36. package/dist/cm/core3D/uvmapper/instantiateUVMapper.d.ts +3 -3
  37. package/dist/cm/core3D/uvmapper/instantiateUVMapper.js +4 -4
  38. package/dist/cm/format/cmsym/InvalidationEnv.d.ts +9 -9
  39. package/dist/cm/format/cmsym/InvalidationEnv.js +13 -13
  40. package/dist/cm/format/cmsym/SymImportEnv.d.ts +9 -9
  41. package/dist/cm/format/cmsym/SymImportEnv.js +9 -9
  42. package/dist/cm/format/cmsym/SymInv.d.ts +8 -8
  43. package/dist/cm/format/cmsym/SymInv.js +17 -17
  44. package/dist/cm/format/cmsym/SymNode.d.ts +94 -94
  45. package/dist/cm/format/cmsym/SymNode.js +652 -652
  46. package/dist/cm/format/cmsym/components/SymBox.d.ts +15 -15
  47. package/dist/cm/format/cmsym/components/SymBox.js +39 -39
  48. package/dist/cm/format/cmsym/components/SymComponent.d.ts +29 -29
  49. package/dist/cm/format/cmsym/components/SymComponent.js +56 -56
  50. package/dist/cm/format/cmsym/components/SymConnector.d.ts +5 -5
  51. package/dist/cm/format/cmsym/components/SymConnector.js +10 -10
  52. package/dist/cm/format/cmsym/components/SymDexObj.d.ts +11 -11
  53. package/dist/cm/format/cmsym/components/SymDexObj.js +10 -10
  54. package/dist/cm/format/cmsym/components/SymGFX.d.ts +11 -11
  55. package/dist/cm/format/cmsym/components/SymGFX.js +20 -20
  56. package/dist/cm/format/cmsym/components/SymGMaterial.d.ts +19 -19
  57. package/dist/cm/format/cmsym/components/SymGMaterial.js +88 -88
  58. package/dist/cm/format/cmsym/components/SymGMaterialSelector.d.ts +17 -17
  59. package/dist/cm/format/cmsym/components/SymGMaterialSelector.js +22 -22
  60. package/dist/cm/format/cmsym/components/SymGetMeshEnv.d.ts +9 -9
  61. package/dist/cm/format/cmsym/components/SymGetMeshEnv.js +9 -9
  62. package/dist/cm/format/cmsym/components/SymLODGroup.d.ts +9 -9
  63. package/dist/cm/format/cmsym/components/SymLODGroup.js +13 -13
  64. package/dist/cm/format/cmsym/components/SymLight.d.ts +8 -8
  65. package/dist/cm/format/cmsym/components/SymLight.js +10 -10
  66. package/dist/cm/format/cmsym/components/SymLines2D.d.ts +5 -5
  67. package/dist/cm/format/cmsym/components/SymLines2D.js +7 -7
  68. package/dist/cm/format/cmsym/components/SymMeasure.d.ts +33 -33
  69. package/dist/cm/format/cmsym/components/SymMeasure.js +149 -149
  70. package/dist/cm/format/cmsym/components/SymMesh.d.ts +29 -29
  71. package/dist/cm/format/cmsym/components/SymMesh.js +130 -130
  72. package/dist/cm/format/cmsym/components/SymMeshLight.d.ts +8 -8
  73. package/dist/cm/format/cmsym/components/SymMeshLight.js +10 -10
  74. package/dist/cm/format/cmsym/components/SymMultiSelector.d.ts +13 -13
  75. package/dist/cm/format/cmsym/components/SymMultiSelector.js +48 -48
  76. package/dist/cm/format/cmsym/components/SymParams.d.ts +16 -16
  77. package/dist/cm/format/cmsym/components/SymParams.js +58 -58
  78. package/dist/cm/format/cmsym/components/SymPlane.d.ts +15 -15
  79. package/dist/cm/format/cmsym/components/SymPlane.js +30 -30
  80. package/dist/cm/format/cmsym/components/SymPlaneDivider.d.ts +4 -4
  81. package/dist/cm/format/cmsym/components/SymPlaneDivider.js +7 -7
  82. package/dist/cm/format/cmsym/components/SymPrimitive2D.d.ts +3 -3
  83. package/dist/cm/format/cmsym/components/SymPrimitive2D.js +3 -3
  84. package/dist/cm/format/cmsym/components/SymProgs.d.ts +32 -32
  85. package/dist/cm/format/cmsym/components/SymProgs.js +120 -120
  86. package/dist/cm/format/cmsym/components/SymProps.d.ts +54 -54
  87. package/dist/cm/format/cmsym/components/SymProps.js +171 -171
  88. package/dist/cm/format/cmsym/components/SymRep.d.ts +13 -13
  89. package/dist/cm/format/cmsym/components/SymRep.js +28 -28
  90. package/dist/cm/format/cmsym/components/SymReps.d.ts +36 -36
  91. package/dist/cm/format/cmsym/components/SymReps.js +230 -230
  92. package/dist/cm/format/cmsym/components/SymShape.d.ts +10 -10
  93. package/dist/cm/format/cmsym/components/SymShape.js +17 -17
  94. package/dist/cm/format/cmsym/components/SymSphere.d.ts +18 -18
  95. package/dist/cm/format/cmsym/components/SymSphere.js +33 -33
  96. package/dist/cm/format/cmsym/components/SymSpotlight.d.ts +8 -8
  97. package/dist/cm/format/cmsym/components/SymSpotlight.js +10 -10
  98. package/dist/cm/format/cmsym/components/SymTags.d.ts +11 -11
  99. package/dist/cm/format/cmsym/components/SymTags.js +20 -20
  100. package/dist/cm/format/cmsym/components/SymText2D.d.ts +5 -5
  101. package/dist/cm/format/cmsym/components/SymText2D.js +8 -8
  102. package/dist/cm/format/cmsym/components/SymText3D.d.ts +5 -5
  103. package/dist/cm/format/cmsym/components/SymText3D.js +8 -8
  104. package/dist/cm/format/cmsym/components/SymTransform.d.ts +23 -23
  105. package/dist/cm/format/cmsym/components/SymTransform.js +101 -101
  106. package/dist/cm/format/cmsym/components/SymUVMapper.d.ts +13 -13
  107. package/dist/cm/format/cmsym/components/SymUVMapper.js +50 -50
  108. package/dist/cm/format/cmsym/components/instantiate.d.ts +2 -2
  109. package/dist/cm/format/cmsym/components/instantiate.js +121 -121
  110. package/dist/cm/format/cmsym/components/legacy.d.ts +7 -7
  111. package/dist/cm/format/cmsym/components/legacy.js +27 -27
  112. package/dist/cm/format/cmsym/components/mesh.d.ts +8 -8
  113. package/dist/cm/format/cmsym/components/mesh.js +28 -28
  114. package/dist/cm/format/cmsym/invalidation.d.ts +4 -4
  115. package/dist/cm/format/cmsym/invalidation.js +72 -72
  116. package/dist/cm/format/dex/DexIRef.d.ts +9 -9
  117. package/dist/cm/format/dex/DexIRef.js +18 -18
  118. package/dist/cm/format/dex/DexInt.d.ts +11 -11
  119. package/dist/cm/format/dex/DexInt.js +18 -18
  120. package/dist/cm/format/dex/DexInternalizedXRef.d.ts +19 -19
  121. package/dist/cm/format/dex/DexInternalizedXRef.js +65 -65
  122. package/dist/cm/format/dex/DexLoader.d.ts +8 -8
  123. package/dist/cm/format/dex/DexLoader.js +12 -12
  124. package/dist/cm/format/dex/DexManager.d.ts +20 -20
  125. package/dist/cm/format/dex/DexManager.js +78 -78
  126. package/dist/cm/format/dex/DexObj.d.ts +15 -15
  127. package/dist/cm/format/dex/DexObj.js +86 -86
  128. package/dist/cm/format/dex/DexReader.d.ts +90 -90
  129. package/dist/cm/format/dex/DexReader.js +532 -532
  130. package/dist/cm/format/dex/DexRef.d.ts +6 -6
  131. package/dist/cm/format/dex/DexRef.js +8 -8
  132. package/dist/cm/format/dex/DexReplacedXRefs.d.ts +9 -9
  133. package/dist/cm/format/dex/DexReplacedXRefs.js +22 -22
  134. package/dist/cm/format/dex/DexURL.d.ts +4 -4
  135. package/dist/cm/format/dex/DexURL.js +5 -5
  136. package/dist/cm/format/dex/DexVersion.d.ts +15 -15
  137. package/dist/cm/format/dex/DexVersion.js +53 -53
  138. package/dist/cm/format/dex/DexXRef.d.ts +18 -18
  139. package/dist/cm/format/dex/DexXRef.js +51 -51
  140. package/dist/cm/format/dex/DexXRefTargetFilter.d.ts +4 -4
  141. package/dist/cm/format/dex/DexXRefTargetFilter.js +5 -5
  142. package/dist/cm/geometry/Angle.d.ts +9 -9
  143. package/dist/cm/geometry/Angle.js +18 -18
  144. package/dist/cm/geometry/AngleF.d.ts +5 -5
  145. package/dist/cm/geometry/AngleF.js +8 -8
  146. package/dist/cm/geometry/Box.d.ts +7 -7
  147. package/dist/cm/geometry/Box.js +9 -9
  148. package/dist/cm/geometry/DetailMask.d.ts +37 -37
  149. package/dist/cm/geometry/DetailMask.js +114 -114
  150. package/dist/cm/geometry/LayerExpr.d.ts +2 -2
  151. package/dist/cm/geometry/LayerExpr.js +2 -2
  152. package/dist/cm/geometry/Matrix22.d.ts +7 -7
  153. package/dist/cm/geometry/Matrix22.js +9 -9
  154. package/dist/cm/geometry/Matrix33.d.ts +42 -42
  155. package/dist/cm/geometry/Matrix33.js +124 -124
  156. package/dist/cm/geometry/Orientation.d.ts +7 -7
  157. package/dist/cm/geometry/Orientation.js +7 -7
  158. package/dist/cm/geometry/Plane.d.ts +8 -8
  159. package/dist/cm/geometry/Plane.js +14 -14
  160. package/dist/cm/geometry/Point.d.ts +21 -21
  161. package/dist/cm/geometry/Point.js +65 -65
  162. package/dist/cm/geometry/Point2D.d.ts +9 -9
  163. package/dist/cm/geometry/Point2D.js +23 -23
  164. package/dist/cm/geometry/PointF.d.ts +11 -11
  165. package/dist/cm/geometry/PointF.js +27 -27
  166. package/dist/cm/geometry/Transform.d.ts +11 -11
  167. package/dist/cm/geometry/Transform.js +61 -61
  168. package/dist/cm/geometry/Transform2D.d.ts +7 -7
  169. package/dist/cm/geometry/Transform2D.js +6 -6
  170. package/dist/cm/io/Semver.d.ts +18 -18
  171. package/dist/cm/io/Semver.js +61 -61
  172. package/dist/index.js +1 -1
  173. 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