@mlightcad/cad-viewer 1.5.6 → 1.5.7
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/LICENSE +21 -21
- package/dist/cad-viewer.css +1 -1
- package/dist/cad-viewer.js +9147 -8809
- package/dist/command/AcApHatchRibbonCmd.d.ts.map +1 -1
- package/dist/component/MlCadViewer.vue.d.ts.map +1 -1
- package/dist/component/common/index.d.ts +0 -1
- package/dist/component/common/index.d.ts.map +1 -1
- package/dist/component/dialog/MlReplacementDlg.vue.d.ts.map +1 -1
- package/dist/component/palette/MlLayerList.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonCommands.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonFileName.vue.d.ts.map +1 -1
- package/dist/composable/index.d.ts +1 -0
- package/dist/composable/index.d.ts.map +1 -1
- package/dist/composable/useDocument.d.ts.map +1 -1
- package/dist/composable/useHover.d.ts +422 -68
- package/dist/composable/useHover.d.ts.map +1 -1
- package/dist/composable/useLayers.d.ts +62 -11
- package/dist/composable/useLayers.d.ts.map +1 -1
- package/dist/composable/useUndoRedo.d.ts +19 -0
- package/dist/composable/useUndoRedo.d.ts.map +1 -0
- package/dist/locale/en/main.d.ts +5 -0
- package/dist/locale/en/main.d.ts.map +1 -1
- package/dist/locale/zh/main.d.ts +5 -0
- package/dist/locale/zh/main.d.ts.map +1 -1
- package/package.json +12 -12
- package/dist/component/common/MlFileReader.vue.d.ts +0 -7
- package/dist/component/common/MlFileReader.vue.d.ts.map +0 -1
|
@@ -492,7 +492,6 @@ export declare function useHover(): {
|
|
|
492
492
|
erase: () => boolean;
|
|
493
493
|
subWorldDraw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
|
|
494
494
|
worldDraw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
|
|
495
|
-
triggerModifiedEvent: () => void;
|
|
496
495
|
readonly lineStyle: {
|
|
497
496
|
type: import('@mlightcad/data-model').AcGiStyleType;
|
|
498
497
|
name: string;
|
|
@@ -565,6 +564,7 @@ export declare function useHover(): {
|
|
|
565
564
|
hasTransaction: () => boolean;
|
|
566
565
|
isRecording: () => boolean;
|
|
567
566
|
isApplyingUndoRedo: () => boolean;
|
|
567
|
+
isOpenedForWriteInTransaction: (objectId: string) => boolean;
|
|
568
568
|
commitTransaction: () => void;
|
|
569
569
|
abortTransaction: () => void;
|
|
570
570
|
startUndoMark: (label?: string) => void;
|
|
@@ -582,6 +582,8 @@ export declare function useHover(): {
|
|
|
582
582
|
objectId: string;
|
|
583
583
|
}) => string;
|
|
584
584
|
runUndoable: <T>(label: string, fn: (tr: import('@mlightcad/data-model').AcDbDatabaseTransaction) => T) => T;
|
|
585
|
+
flushPendingLayerModifiedEvents: () => void;
|
|
586
|
+
flushPendingEntityModifiedEvents: () => void;
|
|
585
587
|
};
|
|
586
588
|
readonly events: {
|
|
587
589
|
dictObjetSet: {
|
|
@@ -799,9 +801,86 @@ export declare function useHover(): {
|
|
|
799
801
|
dxfOutBlockEnd: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
800
802
|
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
801
803
|
name: string;
|
|
804
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined) => void;
|
|
802
805
|
readonly attrs: {
|
|
803
806
|
attributes: {
|
|
804
807
|
[x: string]: any;
|
|
808
|
+
origin?: {
|
|
809
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
810
|
+
x: number;
|
|
811
|
+
y: number;
|
|
812
|
+
z: number;
|
|
813
|
+
set: (x: number, y: number, z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
814
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
815
|
+
setX: (x: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
816
|
+
setY: (y: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
817
|
+
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
818
|
+
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
819
|
+
getComponent: (index: number) => number;
|
|
820
|
+
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
821
|
+
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
822
|
+
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
823
|
+
addVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
824
|
+
addScaledVector: (v: import('@mlightcad/data-model').AcGeVector3dLike, s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
825
|
+
sub: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
826
|
+
subScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
827
|
+
subVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
828
|
+
multiply: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
829
|
+
multiplyScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
830
|
+
multiplyVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
831
|
+
applyEuler: (euler: import('@mlightcad/data-model').AcGeEuler) => import('@mlightcad/data-model').AcGePoint3d;
|
|
832
|
+
applyAxisAngle: (axis: import('@mlightcad/data-model').AcGeVector3dLike, angle: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
833
|
+
applyMatrix3: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
834
|
+
applyNormalMatrix: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
835
|
+
applyMatrix4: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
836
|
+
applyQuaternion: (q: import('@mlightcad/data-model').AcGeQuaternion) => import('@mlightcad/data-model').AcGePoint3d;
|
|
837
|
+
transformDirection: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
838
|
+
divide: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
839
|
+
divideScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
840
|
+
min: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
841
|
+
max: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
842
|
+
clamp: (min: import('@mlightcad/data-model').AcGeVector3dLike, max: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
843
|
+
clampScalar: (minVal: number, maxVal: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
844
|
+
clampLength: (min: number, max: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
845
|
+
floor: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
846
|
+
ceil: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
847
|
+
round: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
848
|
+
roundToZero: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
849
|
+
negate: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
850
|
+
dot: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
851
|
+
isParallelTo: (vec: import('@mlightcad/data-model').AcGeVector3d) => boolean;
|
|
852
|
+
lengthSq: () => number;
|
|
853
|
+
length: () => number;
|
|
854
|
+
manhattanLength: () => number;
|
|
855
|
+
normalize: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
856
|
+
setLength: (l: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
857
|
+
lerp: (v: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
858
|
+
lerpVectors: (v1: import('@mlightcad/data-model').AcGeVector3dLike, v2: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
859
|
+
cross: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
860
|
+
crossVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
861
|
+
projectOnVector: (v: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
862
|
+
projectOnPlane: (planeNormal: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
863
|
+
reflect: (normal: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
864
|
+
angleTo: (v: import('@mlightcad/data-model').AcGeVector3d) => number;
|
|
865
|
+
distanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
866
|
+
distanceToSquared: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
867
|
+
manhattanDistanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
868
|
+
setFromMatrixPosition: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
869
|
+
setFromMatrixScale: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
870
|
+
setFromMatrixColumn: (m: import('@mlightcad/data-model').AcGeMatrix3d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
871
|
+
setFromMatrix3Column: (m: import('@mlightcad/data-model').AcGeMatrix2d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
872
|
+
equals: (v: import('@mlightcad/data-model').AcGeVector3dLike) => boolean;
|
|
873
|
+
fromArray: (array: number[], offset?: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
874
|
+
toArray: (array?: number[] | Float32Array, offset?: number) => number[] | Float32Array;
|
|
875
|
+
random: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
876
|
+
randomDirection: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
877
|
+
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
878
|
+
} | undefined;
|
|
879
|
+
layoutId?: string | undefined;
|
|
880
|
+
blockInsertUnits?: import('@mlightcad/data-model').AcDbUnitsValue | undefined;
|
|
881
|
+
explodability?: number | undefined;
|
|
882
|
+
blockScaling?: import('@mlightcad/data-model').AcDbBlockScaling | undefined;
|
|
883
|
+
bmpPreview?: string | undefined;
|
|
805
884
|
name?: string | undefined;
|
|
806
885
|
objectId?: AcDbObjectId | undefined;
|
|
807
886
|
ownerId?: AcDbObjectId | undefined;
|
|
@@ -809,6 +888,82 @@ export declare function useHover(): {
|
|
|
809
888
|
};
|
|
810
889
|
changed: {
|
|
811
890
|
[x: string]: any;
|
|
891
|
+
origin?: {
|
|
892
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
893
|
+
x: number;
|
|
894
|
+
y: number;
|
|
895
|
+
z: number;
|
|
896
|
+
set: (x: number, y: number, z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
897
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
898
|
+
setX: (x: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
899
|
+
setY: (y: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
900
|
+
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
901
|
+
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
902
|
+
getComponent: (index: number) => number;
|
|
903
|
+
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
904
|
+
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
905
|
+
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
906
|
+
addVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
907
|
+
addScaledVector: (v: import('@mlightcad/data-model').AcGeVector3dLike, s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
908
|
+
sub: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
909
|
+
subScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
910
|
+
subVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
911
|
+
multiply: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
912
|
+
multiplyScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
913
|
+
multiplyVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
914
|
+
applyEuler: (euler: import('@mlightcad/data-model').AcGeEuler) => import('@mlightcad/data-model').AcGePoint3d;
|
|
915
|
+
applyAxisAngle: (axis: import('@mlightcad/data-model').AcGeVector3dLike, angle: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
916
|
+
applyMatrix3: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
917
|
+
applyNormalMatrix: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
918
|
+
applyMatrix4: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
919
|
+
applyQuaternion: (q: import('@mlightcad/data-model').AcGeQuaternion) => import('@mlightcad/data-model').AcGePoint3d;
|
|
920
|
+
transformDirection: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
921
|
+
divide: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
922
|
+
divideScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
923
|
+
min: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
924
|
+
max: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
925
|
+
clamp: (min: import('@mlightcad/data-model').AcGeVector3dLike, max: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
926
|
+
clampScalar: (minVal: number, maxVal: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
927
|
+
clampLength: (min: number, max: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
928
|
+
floor: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
929
|
+
ceil: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
930
|
+
round: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
931
|
+
roundToZero: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
932
|
+
negate: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
933
|
+
dot: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
934
|
+
isParallelTo: (vec: import('@mlightcad/data-model').AcGeVector3d) => boolean;
|
|
935
|
+
lengthSq: () => number;
|
|
936
|
+
length: () => number;
|
|
937
|
+
manhattanLength: () => number;
|
|
938
|
+
normalize: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
939
|
+
setLength: (l: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
940
|
+
lerp: (v: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
941
|
+
lerpVectors: (v1: import('@mlightcad/data-model').AcGeVector3dLike, v2: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
942
|
+
cross: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
943
|
+
crossVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
944
|
+
projectOnVector: (v: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
945
|
+
projectOnPlane: (planeNormal: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
946
|
+
reflect: (normal: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
947
|
+
angleTo: (v: import('@mlightcad/data-model').AcGeVector3d) => number;
|
|
948
|
+
distanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
949
|
+
distanceToSquared: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
950
|
+
manhattanDistanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
951
|
+
setFromMatrixPosition: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
952
|
+
setFromMatrixScale: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
953
|
+
setFromMatrixColumn: (m: import('@mlightcad/data-model').AcGeMatrix3d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
954
|
+
setFromMatrix3Column: (m: import('@mlightcad/data-model').AcGeMatrix2d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
955
|
+
equals: (v: import('@mlightcad/data-model').AcGeVector3dLike) => boolean;
|
|
956
|
+
fromArray: (array: number[], offset?: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
957
|
+
toArray: (array?: number[] | Float32Array, offset?: number) => number[] | Float32Array;
|
|
958
|
+
random: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
959
|
+
randomDirection: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
960
|
+
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
961
|
+
} | undefined;
|
|
962
|
+
layoutId?: string | undefined;
|
|
963
|
+
blockInsertUnits?: import('@mlightcad/data-model').AcDbUnitsValue | undefined;
|
|
964
|
+
explodability?: number | undefined;
|
|
965
|
+
blockScaling?: import('@mlightcad/data-model').AcDbBlockScaling | undefined;
|
|
966
|
+
bmpPreview?: string | undefined;
|
|
812
967
|
name?: string | undefined;
|
|
813
968
|
objectId?: AcDbObjectId | undefined;
|
|
814
969
|
ownerId?: AcDbObjectId | undefined;
|
|
@@ -816,33 +971,32 @@ export declare function useHover(): {
|
|
|
816
971
|
};
|
|
817
972
|
readonly events: {
|
|
818
973
|
attrChanged: {
|
|
819
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
820
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
821
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
822
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
974
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
975
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
976
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
977
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
823
978
|
};
|
|
824
979
|
modelChanged: {
|
|
825
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
826
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
827
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
828
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
980
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
981
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
982
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
983
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
829
984
|
};
|
|
830
985
|
};
|
|
831
|
-
get: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
986
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined;
|
|
832
987
|
set: {
|
|
833
|
-
<A extends string>(key: A, val?: import('@mlightcad/data-model').
|
|
834
|
-
(key: Partial<import('@mlightcad/data-model').
|
|
988
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
989
|
+
(key: Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
835
990
|
};
|
|
836
991
|
has: (key: string) => boolean;
|
|
837
992
|
hasChanged: (key?: string | undefined) => boolean;
|
|
838
|
-
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').
|
|
839
|
-
previous: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
840
|
-
previousAttributes: () => Partial<import('@mlightcad/data-model').
|
|
841
|
-
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').
|
|
993
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
994
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | null | undefined;
|
|
995
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
996
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
842
997
|
};
|
|
843
998
|
getAttr: (attrName: string) => any;
|
|
844
999
|
getAttrWithoutException: (attrName: string) => any;
|
|
845
|
-
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
|
|
846
1000
|
objectId: AcDbObjectId;
|
|
847
1001
|
readonly isTemp: any;
|
|
848
1002
|
ownerId: AcDbObjectId;
|
|
@@ -1094,6 +1248,7 @@ export declare function useHover(): {
|
|
|
1094
1248
|
};
|
|
1095
1249
|
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbTextStyleTableRecord;
|
|
1096
1250
|
name: string;
|
|
1251
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined) => void;
|
|
1097
1252
|
readonly attrs: {
|
|
1098
1253
|
attributes: {
|
|
1099
1254
|
[x: string]: any;
|
|
@@ -1101,6 +1256,15 @@ export declare function useHover(): {
|
|
|
1101
1256
|
objectId?: AcDbObjectId | undefined;
|
|
1102
1257
|
ownerId?: AcDbObjectId | undefined;
|
|
1103
1258
|
extensionDictionary?: AcDbObjectId | undefined;
|
|
1259
|
+
font?: string | undefined;
|
|
1260
|
+
obliqueAngle?: number | undefined;
|
|
1261
|
+
widthFactor?: number | undefined;
|
|
1262
|
+
standardFlag?: number | undefined;
|
|
1263
|
+
fixedTextHeight?: number | undefined;
|
|
1264
|
+
textGenerationFlag?: number | undefined;
|
|
1265
|
+
lastHeight?: number | undefined;
|
|
1266
|
+
bigFont?: string | undefined;
|
|
1267
|
+
extendedFont?: string | undefined;
|
|
1104
1268
|
};
|
|
1105
1269
|
changed: {
|
|
1106
1270
|
[x: string]: any;
|
|
@@ -1108,36 +1272,44 @@ export declare function useHover(): {
|
|
|
1108
1272
|
objectId?: AcDbObjectId | undefined;
|
|
1109
1273
|
ownerId?: AcDbObjectId | undefined;
|
|
1110
1274
|
extensionDictionary?: AcDbObjectId | undefined;
|
|
1275
|
+
font?: string | undefined;
|
|
1276
|
+
obliqueAngle?: number | undefined;
|
|
1277
|
+
widthFactor?: number | undefined;
|
|
1278
|
+
standardFlag?: number | undefined;
|
|
1279
|
+
fixedTextHeight?: number | undefined;
|
|
1280
|
+
textGenerationFlag?: number | undefined;
|
|
1281
|
+
lastHeight?: number | undefined;
|
|
1282
|
+
bigFont?: string | undefined;
|
|
1283
|
+
extendedFont?: string | undefined;
|
|
1111
1284
|
};
|
|
1112
1285
|
readonly events: {
|
|
1113
1286
|
attrChanged: {
|
|
1114
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
1115
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
1116
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
1117
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
1287
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1288
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1289
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1290
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
1118
1291
|
};
|
|
1119
1292
|
modelChanged: {
|
|
1120
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
1121
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
1122
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
1123
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
1293
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1294
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1295
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1296
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
1124
1297
|
};
|
|
1125
1298
|
};
|
|
1126
|
-
get: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
1299
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined;
|
|
1127
1300
|
set: {
|
|
1128
|
-
<A extends string>(key: A, val?: import('@mlightcad/data-model').
|
|
1129
|
-
(key: Partial<import('@mlightcad/data-model').
|
|
1301
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
1302
|
+
(key: Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
1130
1303
|
};
|
|
1131
1304
|
has: (key: string) => boolean;
|
|
1132
1305
|
hasChanged: (key?: string | undefined) => boolean;
|
|
1133
|
-
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').
|
|
1134
|
-
previous: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
1135
|
-
previousAttributes: () => Partial<import('@mlightcad/data-model').
|
|
1136
|
-
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').
|
|
1306
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
1307
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | null | undefined;
|
|
1308
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
1309
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
1137
1310
|
};
|
|
1138
1311
|
getAttr: (attrName: string) => any;
|
|
1139
1312
|
getAttrWithoutException: (attrName: string) => any;
|
|
1140
|
-
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
|
|
1141
1313
|
objectId: AcDbObjectId;
|
|
1142
1314
|
readonly isTemp: any;
|
|
1143
1315
|
ownerId: AcDbObjectId;
|
|
@@ -1861,11 +2033,16 @@ export declare function useHover(): {
|
|
|
1861
2033
|
};
|
|
1862
2034
|
};
|
|
1863
2035
|
getObjectById: (id: AcDbObjectId, _openErased?: boolean) => import('@mlightcad/data-model').AcDbObject | undefined;
|
|
2036
|
+
isUndoRecording: () => boolean;
|
|
2037
|
+
openObjectForRead: <T extends import('@mlightcad/data-model').AcDbObject>(objectId: AcDbObjectId) => T | undefined;
|
|
2038
|
+
openObjectForWrite: <T extends import('@mlightcad/data-model').AcDbObject>(objectId: AcDbObjectId) => T | undefined;
|
|
2039
|
+
openEntityForRead: (entityOrId: AcDbObjectId | AcDbEntity) => AcDbEntity | undefined;
|
|
2040
|
+
openEntityForWrite: (entityOrId: AcDbObjectId | AcDbEntity) => AcDbEntity | undefined;
|
|
2041
|
+
runDatabaseEdit: (label: string, fn: () => void) => void;
|
|
1864
2042
|
getRootDictionaries: () => import('@mlightcad/data-model').AcDbDictionary[];
|
|
1865
2043
|
beginEventBatch: () => void;
|
|
1866
2044
|
endEventBatch: () => void;
|
|
1867
2045
|
isEventBatched: () => boolean;
|
|
1868
|
-
notifyEntityModified: (entity: AcDbEntity) => void;
|
|
1869
2046
|
notifyEntityAppended: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
1870
2047
|
notifyEntityErased: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
1871
2048
|
notifyDictObjectSet: (object: import('@mlightcad/data-model').AcDbObject, key: string) => void;
|
|
@@ -2984,7 +3161,6 @@ export declare function useHover(): {
|
|
|
2984
3161
|
erase: () => boolean;
|
|
2985
3162
|
subWorldDraw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
|
|
2986
3163
|
worldDraw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
|
|
2987
|
-
triggerModifiedEvent: () => void;
|
|
2988
3164
|
readonly lineStyle: {
|
|
2989
3165
|
type: import('@mlightcad/data-model').AcGiStyleType;
|
|
2990
3166
|
name: string;
|
|
@@ -3057,6 +3233,7 @@ export declare function useHover(): {
|
|
|
3057
3233
|
hasTransaction: () => boolean;
|
|
3058
3234
|
isRecording: () => boolean;
|
|
3059
3235
|
isApplyingUndoRedo: () => boolean;
|
|
3236
|
+
isOpenedForWriteInTransaction: (objectId: string) => boolean;
|
|
3060
3237
|
commitTransaction: () => void;
|
|
3061
3238
|
abortTransaction: () => void;
|
|
3062
3239
|
startUndoMark: (label?: string) => void;
|
|
@@ -3074,6 +3251,8 @@ export declare function useHover(): {
|
|
|
3074
3251
|
objectId: string;
|
|
3075
3252
|
}) => string;
|
|
3076
3253
|
runUndoable: <T>(label: string, fn: (tr: import('@mlightcad/data-model').AcDbDatabaseTransaction) => T) => T;
|
|
3254
|
+
flushPendingLayerModifiedEvents: () => void;
|
|
3255
|
+
flushPendingEntityModifiedEvents: () => void;
|
|
3077
3256
|
};
|
|
3078
3257
|
readonly events: {
|
|
3079
3258
|
dictObjetSet: {
|
|
@@ -3291,9 +3470,86 @@ export declare function useHover(): {
|
|
|
3291
3470
|
dxfOutBlockEnd: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
3292
3471
|
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
3293
3472
|
name: string;
|
|
3473
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined) => void;
|
|
3294
3474
|
readonly attrs: {
|
|
3295
3475
|
attributes: {
|
|
3296
3476
|
[x: string]: any;
|
|
3477
|
+
origin?: {
|
|
3478
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3479
|
+
x: number;
|
|
3480
|
+
y: number;
|
|
3481
|
+
z: number;
|
|
3482
|
+
set: (x: number, y: number, z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3483
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3484
|
+
setX: (x: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3485
|
+
setY: (y: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3486
|
+
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3487
|
+
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3488
|
+
getComponent: (index: number) => number;
|
|
3489
|
+
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3490
|
+
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3491
|
+
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3492
|
+
addVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3493
|
+
addScaledVector: (v: import('@mlightcad/data-model').AcGeVector3dLike, s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3494
|
+
sub: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3495
|
+
subScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3496
|
+
subVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3497
|
+
multiply: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3498
|
+
multiplyScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3499
|
+
multiplyVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3500
|
+
applyEuler: (euler: import('@mlightcad/data-model').AcGeEuler) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3501
|
+
applyAxisAngle: (axis: import('@mlightcad/data-model').AcGeVector3dLike, angle: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3502
|
+
applyMatrix3: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3503
|
+
applyNormalMatrix: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3504
|
+
applyMatrix4: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3505
|
+
applyQuaternion: (q: import('@mlightcad/data-model').AcGeQuaternion) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3506
|
+
transformDirection: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3507
|
+
divide: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3508
|
+
divideScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3509
|
+
min: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3510
|
+
max: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3511
|
+
clamp: (min: import('@mlightcad/data-model').AcGeVector3dLike, max: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3512
|
+
clampScalar: (minVal: number, maxVal: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3513
|
+
clampLength: (min: number, max: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3514
|
+
floor: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3515
|
+
ceil: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3516
|
+
round: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3517
|
+
roundToZero: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3518
|
+
negate: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3519
|
+
dot: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
3520
|
+
isParallelTo: (vec: import('@mlightcad/data-model').AcGeVector3d) => boolean;
|
|
3521
|
+
lengthSq: () => number;
|
|
3522
|
+
length: () => number;
|
|
3523
|
+
manhattanLength: () => number;
|
|
3524
|
+
normalize: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3525
|
+
setLength: (l: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3526
|
+
lerp: (v: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3527
|
+
lerpVectors: (v1: import('@mlightcad/data-model').AcGeVector3dLike, v2: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3528
|
+
cross: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3529
|
+
crossVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3530
|
+
projectOnVector: (v: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3531
|
+
projectOnPlane: (planeNormal: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3532
|
+
reflect: (normal: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3533
|
+
angleTo: (v: import('@mlightcad/data-model').AcGeVector3d) => number;
|
|
3534
|
+
distanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
3535
|
+
distanceToSquared: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
3536
|
+
manhattanDistanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
3537
|
+
setFromMatrixPosition: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3538
|
+
setFromMatrixScale: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3539
|
+
setFromMatrixColumn: (m: import('@mlightcad/data-model').AcGeMatrix3d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3540
|
+
setFromMatrix3Column: (m: import('@mlightcad/data-model').AcGeMatrix2d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3541
|
+
equals: (v: import('@mlightcad/data-model').AcGeVector3dLike) => boolean;
|
|
3542
|
+
fromArray: (array: number[], offset?: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3543
|
+
toArray: (array?: number[] | Float32Array, offset?: number) => number[] | Float32Array;
|
|
3544
|
+
random: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3545
|
+
randomDirection: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3546
|
+
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
3547
|
+
} | undefined;
|
|
3548
|
+
layoutId?: string | undefined;
|
|
3549
|
+
blockInsertUnits?: import('@mlightcad/data-model').AcDbUnitsValue | undefined;
|
|
3550
|
+
explodability?: number | undefined;
|
|
3551
|
+
blockScaling?: import('@mlightcad/data-model').AcDbBlockScaling | undefined;
|
|
3552
|
+
bmpPreview?: string | undefined;
|
|
3297
3553
|
name?: string | undefined;
|
|
3298
3554
|
objectId?: AcDbObjectId | undefined;
|
|
3299
3555
|
ownerId?: AcDbObjectId | undefined;
|
|
@@ -3301,6 +3557,82 @@ export declare function useHover(): {
|
|
|
3301
3557
|
};
|
|
3302
3558
|
changed: {
|
|
3303
3559
|
[x: string]: any;
|
|
3560
|
+
origin?: {
|
|
3561
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3562
|
+
x: number;
|
|
3563
|
+
y: number;
|
|
3564
|
+
z: number;
|
|
3565
|
+
set: (x: number, y: number, z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3566
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3567
|
+
setX: (x: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3568
|
+
setY: (y: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3569
|
+
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3570
|
+
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3571
|
+
getComponent: (index: number) => number;
|
|
3572
|
+
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3573
|
+
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3574
|
+
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3575
|
+
addVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3576
|
+
addScaledVector: (v: import('@mlightcad/data-model').AcGeVector3dLike, s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3577
|
+
sub: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3578
|
+
subScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3579
|
+
subVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3580
|
+
multiply: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3581
|
+
multiplyScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3582
|
+
multiplyVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3583
|
+
applyEuler: (euler: import('@mlightcad/data-model').AcGeEuler) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3584
|
+
applyAxisAngle: (axis: import('@mlightcad/data-model').AcGeVector3dLike, angle: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3585
|
+
applyMatrix3: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3586
|
+
applyNormalMatrix: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3587
|
+
applyMatrix4: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3588
|
+
applyQuaternion: (q: import('@mlightcad/data-model').AcGeQuaternion) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3589
|
+
transformDirection: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3590
|
+
divide: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3591
|
+
divideScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3592
|
+
min: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3593
|
+
max: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3594
|
+
clamp: (min: import('@mlightcad/data-model').AcGeVector3dLike, max: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3595
|
+
clampScalar: (minVal: number, maxVal: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3596
|
+
clampLength: (min: number, max: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3597
|
+
floor: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3598
|
+
ceil: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3599
|
+
round: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3600
|
+
roundToZero: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3601
|
+
negate: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3602
|
+
dot: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
3603
|
+
isParallelTo: (vec: import('@mlightcad/data-model').AcGeVector3d) => boolean;
|
|
3604
|
+
lengthSq: () => number;
|
|
3605
|
+
length: () => number;
|
|
3606
|
+
manhattanLength: () => number;
|
|
3607
|
+
normalize: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3608
|
+
setLength: (l: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3609
|
+
lerp: (v: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3610
|
+
lerpVectors: (v1: import('@mlightcad/data-model').AcGeVector3dLike, v2: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3611
|
+
cross: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3612
|
+
crossVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3613
|
+
projectOnVector: (v: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3614
|
+
projectOnPlane: (planeNormal: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3615
|
+
reflect: (normal: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3616
|
+
angleTo: (v: import('@mlightcad/data-model').AcGeVector3d) => number;
|
|
3617
|
+
distanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
3618
|
+
distanceToSquared: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
3619
|
+
manhattanDistanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
3620
|
+
setFromMatrixPosition: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3621
|
+
setFromMatrixScale: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3622
|
+
setFromMatrixColumn: (m: import('@mlightcad/data-model').AcGeMatrix3d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3623
|
+
setFromMatrix3Column: (m: import('@mlightcad/data-model').AcGeMatrix2d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3624
|
+
equals: (v: import('@mlightcad/data-model').AcGeVector3dLike) => boolean;
|
|
3625
|
+
fromArray: (array: number[], offset?: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
3626
|
+
toArray: (array?: number[] | Float32Array, offset?: number) => number[] | Float32Array;
|
|
3627
|
+
random: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3628
|
+
randomDirection: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3629
|
+
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
3630
|
+
} | undefined;
|
|
3631
|
+
layoutId?: string | undefined;
|
|
3632
|
+
blockInsertUnits?: import('@mlightcad/data-model').AcDbUnitsValue | undefined;
|
|
3633
|
+
explodability?: number | undefined;
|
|
3634
|
+
blockScaling?: import('@mlightcad/data-model').AcDbBlockScaling | undefined;
|
|
3635
|
+
bmpPreview?: string | undefined;
|
|
3304
3636
|
name?: string | undefined;
|
|
3305
3637
|
objectId?: AcDbObjectId | undefined;
|
|
3306
3638
|
ownerId?: AcDbObjectId | undefined;
|
|
@@ -3308,33 +3640,32 @@ export declare function useHover(): {
|
|
|
3308
3640
|
};
|
|
3309
3641
|
readonly events: {
|
|
3310
3642
|
attrChanged: {
|
|
3311
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3312
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3313
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3314
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3643
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
3644
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
3645
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
3646
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
3315
3647
|
};
|
|
3316
3648
|
modelChanged: {
|
|
3317
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3318
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3319
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3320
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3649
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
3650
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
3651
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
3652
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
3321
3653
|
};
|
|
3322
3654
|
};
|
|
3323
|
-
get: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
3655
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined;
|
|
3324
3656
|
set: {
|
|
3325
|
-
<A extends string>(key: A, val?: import('@mlightcad/data-model').
|
|
3326
|
-
(key: Partial<import('@mlightcad/data-model').
|
|
3657
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
3658
|
+
(key: Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
3327
3659
|
};
|
|
3328
3660
|
has: (key: string) => boolean;
|
|
3329
3661
|
hasChanged: (key?: string | undefined) => boolean;
|
|
3330
|
-
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').
|
|
3331
|
-
previous: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
3332
|
-
previousAttributes: () => Partial<import('@mlightcad/data-model').
|
|
3333
|
-
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').
|
|
3662
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
3663
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | null | undefined;
|
|
3664
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
3665
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
3334
3666
|
};
|
|
3335
3667
|
getAttr: (attrName: string) => any;
|
|
3336
3668
|
getAttrWithoutException: (attrName: string) => any;
|
|
3337
|
-
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
|
|
3338
3669
|
objectId: AcDbObjectId;
|
|
3339
3670
|
readonly isTemp: any;
|
|
3340
3671
|
ownerId: AcDbObjectId;
|
|
@@ -3586,6 +3917,7 @@ export declare function useHover(): {
|
|
|
3586
3917
|
};
|
|
3587
3918
|
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbTextStyleTableRecord;
|
|
3588
3919
|
name: string;
|
|
3920
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined) => void;
|
|
3589
3921
|
readonly attrs: {
|
|
3590
3922
|
attributes: {
|
|
3591
3923
|
[x: string]: any;
|
|
@@ -3593,6 +3925,15 @@ export declare function useHover(): {
|
|
|
3593
3925
|
objectId?: AcDbObjectId | undefined;
|
|
3594
3926
|
ownerId?: AcDbObjectId | undefined;
|
|
3595
3927
|
extensionDictionary?: AcDbObjectId | undefined;
|
|
3928
|
+
font?: string | undefined;
|
|
3929
|
+
obliqueAngle?: number | undefined;
|
|
3930
|
+
widthFactor?: number | undefined;
|
|
3931
|
+
standardFlag?: number | undefined;
|
|
3932
|
+
fixedTextHeight?: number | undefined;
|
|
3933
|
+
textGenerationFlag?: number | undefined;
|
|
3934
|
+
lastHeight?: number | undefined;
|
|
3935
|
+
bigFont?: string | undefined;
|
|
3936
|
+
extendedFont?: string | undefined;
|
|
3596
3937
|
};
|
|
3597
3938
|
changed: {
|
|
3598
3939
|
[x: string]: any;
|
|
@@ -3600,36 +3941,44 @@ export declare function useHover(): {
|
|
|
3600
3941
|
objectId?: AcDbObjectId | undefined;
|
|
3601
3942
|
ownerId?: AcDbObjectId | undefined;
|
|
3602
3943
|
extensionDictionary?: AcDbObjectId | undefined;
|
|
3944
|
+
font?: string | undefined;
|
|
3945
|
+
obliqueAngle?: number | undefined;
|
|
3946
|
+
widthFactor?: number | undefined;
|
|
3947
|
+
standardFlag?: number | undefined;
|
|
3948
|
+
fixedTextHeight?: number | undefined;
|
|
3949
|
+
textGenerationFlag?: number | undefined;
|
|
3950
|
+
lastHeight?: number | undefined;
|
|
3951
|
+
bigFont?: string | undefined;
|
|
3952
|
+
extendedFont?: string | undefined;
|
|
3603
3953
|
};
|
|
3604
3954
|
readonly events: {
|
|
3605
3955
|
attrChanged: {
|
|
3606
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3607
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3608
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3609
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3956
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
3957
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
3958
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
3959
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
3610
3960
|
};
|
|
3611
3961
|
modelChanged: {
|
|
3612
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3613
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3614
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3615
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3962
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
3963
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
3964
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
3965
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
3616
3966
|
};
|
|
3617
3967
|
};
|
|
3618
|
-
get: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
3968
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined;
|
|
3619
3969
|
set: {
|
|
3620
|
-
<A extends string>(key: A, val?: import('@mlightcad/data-model').
|
|
3621
|
-
(key: Partial<import('@mlightcad/data-model').
|
|
3970
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
3971
|
+
(key: Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
3622
3972
|
};
|
|
3623
3973
|
has: (key: string) => boolean;
|
|
3624
3974
|
hasChanged: (key?: string | undefined) => boolean;
|
|
3625
|
-
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').
|
|
3626
|
-
previous: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
3627
|
-
previousAttributes: () => Partial<import('@mlightcad/data-model').
|
|
3628
|
-
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').
|
|
3975
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
3976
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | null | undefined;
|
|
3977
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
3978
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
3629
3979
|
};
|
|
3630
3980
|
getAttr: (attrName: string) => any;
|
|
3631
3981
|
getAttrWithoutException: (attrName: string) => any;
|
|
3632
|
-
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
|
|
3633
3982
|
objectId: AcDbObjectId;
|
|
3634
3983
|
readonly isTemp: any;
|
|
3635
3984
|
ownerId: AcDbObjectId;
|
|
@@ -4353,11 +4702,16 @@ export declare function useHover(): {
|
|
|
4353
4702
|
};
|
|
4354
4703
|
};
|
|
4355
4704
|
getObjectById: (id: AcDbObjectId, _openErased?: boolean) => import('@mlightcad/data-model').AcDbObject | undefined;
|
|
4705
|
+
isUndoRecording: () => boolean;
|
|
4706
|
+
openObjectForRead: <T extends import('@mlightcad/data-model').AcDbObject>(objectId: AcDbObjectId) => T | undefined;
|
|
4707
|
+
openObjectForWrite: <T extends import('@mlightcad/data-model').AcDbObject>(objectId: AcDbObjectId) => T | undefined;
|
|
4708
|
+
openEntityForRead: (entityOrId: AcDbObjectId | AcDbEntity) => AcDbEntity | undefined;
|
|
4709
|
+
openEntityForWrite: (entityOrId: AcDbObjectId | AcDbEntity) => AcDbEntity | undefined;
|
|
4710
|
+
runDatabaseEdit: (label: string, fn: () => void) => void;
|
|
4356
4711
|
getRootDictionaries: () => import('@mlightcad/data-model').AcDbDictionary[];
|
|
4357
4712
|
beginEventBatch: () => void;
|
|
4358
4713
|
endEventBatch: () => void;
|
|
4359
4714
|
isEventBatched: () => boolean;
|
|
4360
|
-
notifyEntityModified: (entity: AcDbEntity) => void;
|
|
4361
4715
|
notifyEntityAppended: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
4362
4716
|
notifyEntityErased: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
4363
4717
|
notifyDictObjectSet: (object: import('@mlightcad/data-model').AcDbObject, key: string) => void;
|