@mlightcad/cad-viewer 1.5.4 → 1.5.6

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 (40) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -0
  3. package/dist/app/register.d.ts.map +1 -1
  4. package/dist/app/store.d.ts +0 -1
  5. package/dist/app/store.d.ts.map +1 -1
  6. package/dist/cad-viewer.css +1 -0
  7. package/dist/{index.d.ts → cad-viewer.d.ts} +1 -1
  8. package/dist/{index.js → cad-viewer.js} +9890 -9257
  9. package/dist/component/MlCadViewer.vue.d.ts +23 -1
  10. package/dist/component/MlCadViewer.vue.d.ts.map +1 -1
  11. package/dist/component/common/MlFontFileReader.vue.d.ts +3 -0
  12. package/dist/component/common/MlFontFileReader.vue.d.ts.map +1 -0
  13. package/dist/component/common/index.d.ts +1 -0
  14. package/dist/component/common/index.d.ts.map +1 -1
  15. package/dist/component/dialog/MlReplacementDlg.vue.d.ts.map +1 -1
  16. package/dist/component/layout/MlMainMenu.vue.d.ts.map +1 -1
  17. package/dist/component/layout/MlToolBars.vue.d.ts.map +1 -1
  18. package/dist/component/ribbon/MlRibbonCommands.vue.d.ts.map +1 -1
  19. package/dist/component/ribbon/MlRibbonFileName.vue.d.ts +15 -0
  20. package/dist/component/ribbon/MlRibbonFileName.vue.d.ts.map +1 -0
  21. package/dist/composable/index.d.ts +1 -2
  22. package/dist/composable/index.d.ts.map +1 -1
  23. package/dist/composable/useDocument.d.ts +85 -0
  24. package/dist/composable/useDocument.d.ts.map +1 -0
  25. package/dist/composable/useHover.d.ts +332 -18
  26. package/dist/composable/useHover.d.ts.map +1 -1
  27. package/dist/locale/en/dialog.d.ts +1 -0
  28. package/dist/locale/en/dialog.d.ts.map +1 -1
  29. package/dist/locale/en/main.d.ts +2 -0
  30. package/dist/locale/en/main.d.ts.map +1 -1
  31. package/dist/locale/zh/dialog.d.ts +1 -0
  32. package/dist/locale/zh/dialog.d.ts.map +1 -1
  33. package/dist/locale/zh/main.d.ts +2 -0
  34. package/dist/locale/zh/main.d.ts.map +1 -1
  35. package/package.json +17 -17
  36. package/dist/composable/useDocOpenMode.d.ts +0 -19
  37. package/dist/composable/useDocOpenMode.d.ts.map +0 -1
  38. package/dist/composable/useDocumentOpening.d.ts +0 -9
  39. package/dist/composable/useDocumentOpening.d.ts.map +0 -1
  40. package/dist/index.css +0 -1
@@ -120,7 +120,6 @@ export declare function useHover(): {
120
120
  equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
121
121
  toString: () => string;
122
122
  };
123
- readonly rgbColor: number;
124
123
  lineType: string;
125
124
  lineWeight: import('@mlightcad/data-model').AcGiLineWeight;
126
125
  linetypeScale: number;
@@ -176,6 +175,7 @@ export declare function useHover(): {
176
175
  }[];
177
176
  };
178
177
  subGetGripPoints: () => import('@mlightcad/data-model').AcGePoint3d[];
178
+ subMoveGripPointsAt: (indices: number[], offset: import('@mlightcad/data-model').AcGeVector3dLike) => AcDbEntity;
179
179
  subGetOsnapPoints: (osnapMode: import('@mlightcad/data-model').AcDbOsnapMode, pickPoint: AcGePoint3dLike, lastPoint: AcGePoint3dLike, snapPoints: AcGePoint3dLike[], gsMark?: AcDbObjectId, insertionMat?: import('@mlightcad/data-model').AcGeMatrix3d) => void;
180
180
  transformBy: (matrix: import('@mlightcad/data-model').AcGeMatrix3d) => AcDbEntity;
181
181
  readonly geometricExtents: {
@@ -558,6 +558,31 @@ export declare function useHover(): {
558
558
  ownerId: AcDbObjectId;
559
559
  extensionDictionary: AcDbObjectId | undefined;
560
560
  database: {
561
+ readonly transactionManager: {
562
+ strictMode: boolean;
563
+ startTransaction: () => import('@mlightcad/data-model').AcDbDatabaseTransaction;
564
+ currentTransaction: () => import('@mlightcad/data-model').AcDbDatabaseTransaction | undefined;
565
+ hasTransaction: () => boolean;
566
+ isRecording: () => boolean;
567
+ isApplyingUndoRedo: () => boolean;
568
+ commitTransaction: () => void;
569
+ abortTransaction: () => void;
570
+ startUndoMark: (label?: string) => void;
571
+ endUndoMark: () => void;
572
+ cancelUndoMark: () => void;
573
+ undo: () => boolean;
574
+ redo: () => boolean;
575
+ canUndo: () => boolean;
576
+ canRedo: () => boolean;
577
+ clearUndoStack: () => void;
578
+ recordAppend: (container: import('@mlightcad/data-model').AcDbChangeContainer, object: import('@mlightcad/data-model').AcDbObject) => void;
579
+ recordRemove: (container: import('@mlightcad/data-model').AcDbChangeContainer, object: import('@mlightcad/data-model').AcDbObject) => void;
580
+ recordSysvar: (name: string, before: unknown) => void;
581
+ resolveSymbolTableName: (table: {
582
+ objectId: string;
583
+ }) => string;
584
+ runUndoable: <T>(label: string, fn: (tr: import('@mlightcad/data-model').AcDbDatabaseTransaction) => T) => T;
585
+ };
561
586
  readonly events: {
562
587
  dictObjetSet: {
563
588
  addEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbDictObjectEventArgs) => void) => void;
@@ -626,7 +651,7 @@ export declare function useHover(): {
626
651
  getAt: (name: string) => import('@mlightcad/data-model').AcDbRegAppTableRecord | undefined;
627
652
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbRegAppTableRecord | undefined;
628
653
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbRegAppTableRecord | undefined;
629
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbRegAppTableRecord>;
654
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbRegAppTableRecord>;
630
655
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbRegAppTable;
631
656
  readonly attrs: {
632
657
  attributes: {
@@ -681,6 +706,8 @@ export declare function useHover(): {
681
706
  createExtensionDictionary: () => AcDbObjectId | undefined;
682
707
  close: () => void;
683
708
  clone: () => import('@mlightcad/data-model').AcDbRegAppTable;
709
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbRegAppTable;
710
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbRegAppTable) => void;
684
711
  dxfOut: (...args: unknown[]) => unknown;
685
712
  };
686
713
  readonly blockTable: {
@@ -827,6 +854,8 @@ export declare function useHover(): {
827
854
  createExtensionDictionary: () => AcDbObjectId | undefined;
828
855
  close: () => void;
829
856
  clone: () => import('@mlightcad/data-model').AcDbBlockTableRecord;
857
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbBlockTableRecord;
858
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbBlockTableRecord) => void;
830
859
  dxfOut: (...args: unknown[]) => unknown;
831
860
  };
832
861
  getEntityById: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbEntity | undefined;
@@ -841,7 +870,7 @@ export declare function useHover(): {
841
870
  getAt: (name: string) => import('@mlightcad/data-model').AcDbBlockTableRecord | undefined;
842
871
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbBlockTableRecord | undefined;
843
872
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbBlockTableRecord | undefined;
844
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbBlockTableRecord>;
873
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbBlockTableRecord>;
845
874
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTable;
846
875
  readonly attrs: {
847
876
  attributes: {
@@ -896,6 +925,8 @@ export declare function useHover(): {
896
925
  createExtensionDictionary: () => AcDbObjectId | undefined;
897
926
  close: () => void;
898
927
  clone: () => import('@mlightcad/data-model').AcDbBlockTable;
928
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbBlockTable;
929
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbBlockTable) => void;
899
930
  dxfOut: (...args: unknown[]) => unknown;
900
931
  };
901
932
  readonly dimStyleTable: {
@@ -909,7 +940,7 @@ export declare function useHover(): {
909
940
  getAt: (name: string) => import('@mlightcad/data-model').AcDbDimStyleTableRecord | undefined;
910
941
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbDimStyleTableRecord | undefined;
911
942
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbDimStyleTableRecord | undefined;
912
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbDimStyleTableRecord>;
943
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbDimStyleTableRecord>;
913
944
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDimStyleTable;
914
945
  readonly attrs: {
915
946
  attributes: {
@@ -964,6 +995,8 @@ export declare function useHover(): {
964
995
  createExtensionDictionary: () => AcDbObjectId | undefined;
965
996
  close: () => void;
966
997
  clone: () => import('@mlightcad/data-model').AcDbDimStyleTable;
998
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDimStyleTable;
999
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDimStyleTable) => void;
967
1000
  dxfOut: (...args: unknown[]) => unknown;
968
1001
  };
969
1002
  readonly linetypeTable: {
@@ -977,7 +1010,7 @@ export declare function useHover(): {
977
1010
  getAt: (name: string) => import('@mlightcad/data-model').AcDbLinetypeTableRecord | undefined;
978
1011
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLinetypeTableRecord | undefined;
979
1012
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLinetypeTableRecord | undefined;
980
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLinetypeTableRecord>;
1013
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLinetypeTableRecord>;
981
1014
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbLinetypeTable;
982
1015
  readonly attrs: {
983
1016
  attributes: {
@@ -1032,10 +1065,94 @@ export declare function useHover(): {
1032
1065
  createExtensionDictionary: () => AcDbObjectId | undefined;
1033
1066
  close: () => void;
1034
1067
  clone: () => import('@mlightcad/data-model').AcDbLinetypeTable;
1068
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbLinetypeTable;
1069
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbLinetypeTable) => void;
1035
1070
  dxfOut: (...args: unknown[]) => unknown;
1036
1071
  };
1037
1072
  readonly textStyleTable: {
1038
1073
  resolveAt: (name?: string) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
1074
+ readonly shapeFiles: {
1075
+ obliquingAngle: number;
1076
+ priorSize: number;
1077
+ textSize: number;
1078
+ xScale: number;
1079
+ isVertical: boolean;
1080
+ isShapeFile: boolean;
1081
+ fileName: string;
1082
+ bigFontFileName: string;
1083
+ readonly textStyle: {
1084
+ name: string;
1085
+ standardFlag: number;
1086
+ fixedTextHeight: number;
1087
+ widthFactor: number;
1088
+ obliqueAngle: number;
1089
+ textGenerationFlag: number;
1090
+ lastHeight: number;
1091
+ font: string;
1092
+ bigFont: string;
1093
+ extendedFont?: string | undefined;
1094
+ };
1095
+ dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbTextStyleTableRecord;
1096
+ name: string;
1097
+ readonly attrs: {
1098
+ attributes: {
1099
+ [x: string]: any;
1100
+ name?: string | undefined;
1101
+ objectId?: AcDbObjectId | undefined;
1102
+ ownerId?: AcDbObjectId | undefined;
1103
+ extensionDictionary?: AcDbObjectId | undefined;
1104
+ };
1105
+ changed: {
1106
+ [x: string]: any;
1107
+ name?: string | undefined;
1108
+ objectId?: AcDbObjectId | undefined;
1109
+ ownerId?: AcDbObjectId | undefined;
1110
+ extensionDictionary?: AcDbObjectId | undefined;
1111
+ };
1112
+ readonly events: {
1113
+ attrChanged: {
1114
+ addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
1115
+ removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
1116
+ replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
1117
+ dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs> | undefined, ...args: unknown[]) => void;
1118
+ };
1119
+ modelChanged: {
1120
+ addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
1121
+ removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
1122
+ replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
1123
+ dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs> | undefined, ...args: unknown[]) => void;
1124
+ };
1125
+ };
1126
+ get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined;
1127
+ set: {
1128
+ <A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>;
1129
+ (key: Partial<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>;
1130
+ };
1131
+ has: (key: string) => boolean;
1132
+ hasChanged: (key?: string | undefined) => boolean;
1133
+ changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>;
1134
+ previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | null | undefined;
1135
+ previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>;
1136
+ clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>;
1137
+ };
1138
+ getAttr: (attrName: string) => any;
1139
+ getAttrWithoutException: (attrName: string) => any;
1140
+ setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
1141
+ objectId: AcDbObjectId;
1142
+ readonly isTemp: any;
1143
+ ownerId: AcDbObjectId;
1144
+ extensionDictionary: AcDbObjectId | undefined;
1145
+ database: /*elided*/ any;
1146
+ getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
1147
+ setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
1148
+ removeXData: (appId: string) => void;
1149
+ createExtensionDictionary: () => AcDbObjectId | undefined;
1150
+ close: () => void;
1151
+ clone: () => import('@mlightcad/data-model').AcDbTextStyleTableRecord;
1152
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbTextStyleTableRecord;
1153
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbTextStyleTableRecord) => void;
1154
+ dxfOut: (...args: unknown[]) => unknown;
1155
+ }[];
1039
1156
  readonly fonts: string[];
1040
1157
  readonly numEntries: number;
1041
1158
  add: (record: import('@mlightcad/data-model').AcDbTextStyleTableRecord) => void;
@@ -1047,7 +1164,7 @@ export declare function useHover(): {
1047
1164
  getAt: (name: string) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
1048
1165
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
1049
1166
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
1050
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbTextStyleTableRecord>;
1167
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbTextStyleTableRecord>;
1051
1168
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbTextStyleTable;
1052
1169
  readonly attrs: {
1053
1170
  attributes: {
@@ -1102,6 +1219,8 @@ export declare function useHover(): {
1102
1219
  createExtensionDictionary: () => AcDbObjectId | undefined;
1103
1220
  close: () => void;
1104
1221
  clone: () => import('@mlightcad/data-model').AcDbTextStyleTable;
1222
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbTextStyleTable;
1223
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbTextStyleTable) => void;
1105
1224
  dxfOut: (...args: unknown[]) => unknown;
1106
1225
  };
1107
1226
  readonly viewTable: {
@@ -1115,7 +1234,7 @@ export declare function useHover(): {
1115
1234
  getAt: (name: string) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
1116
1235
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
1117
1236
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
1118
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewTableRecord>;
1237
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewTableRecord>;
1119
1238
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbViewTable;
1120
1239
  readonly attrs: {
1121
1240
  attributes: {
@@ -1170,6 +1289,8 @@ export declare function useHover(): {
1170
1289
  createExtensionDictionary: () => AcDbObjectId | undefined;
1171
1290
  close: () => void;
1172
1291
  clone: () => import('@mlightcad/data-model').AcDbViewTable;
1292
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbViewTable;
1293
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbViewTable) => void;
1173
1294
  dxfOut: (...args: unknown[]) => unknown;
1174
1295
  };
1175
1296
  readonly layerTable: {
@@ -1183,7 +1304,7 @@ export declare function useHover(): {
1183
1304
  getAt: (name: string) => import('@mlightcad/data-model').AcDbLayerTableRecord | undefined;
1184
1305
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerTableRecord | undefined;
1185
1306
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerTableRecord | undefined;
1186
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayerTableRecord>;
1307
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayerTableRecord>;
1187
1308
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbLayerTable;
1188
1309
  readonly attrs: {
1189
1310
  attributes: {
@@ -1238,9 +1359,13 @@ export declare function useHover(): {
1238
1359
  createExtensionDictionary: () => AcDbObjectId | undefined;
1239
1360
  close: () => void;
1240
1361
  clone: () => import('@mlightcad/data-model').AcDbLayerTable;
1362
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbLayerTable;
1363
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbLayerTable) => void;
1241
1364
  dxfOut: (...args: unknown[]) => unknown;
1242
1365
  };
1243
1366
  readonly viewportTable: {
1367
+ getActiveVport: () => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
1368
+ getActiveVportBox: (canvasAspectRatio: number, drawingExtents?: import('@mlightcad/data-model').AcGeBox2d) => import('@mlightcad/data-model').AcGeBox2d | undefined;
1244
1369
  readonly numEntries: number;
1245
1370
  add: (record: import('@mlightcad/data-model').AcDbViewportTableRecord) => void;
1246
1371
  remove: (name: string) => boolean;
@@ -1251,7 +1376,7 @@ export declare function useHover(): {
1251
1376
  getAt: (name: string) => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
1252
1377
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
1253
1378
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
1254
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewportTableRecord>;
1379
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewportTableRecord>;
1255
1380
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbViewportTable;
1256
1381
  readonly attrs: {
1257
1382
  attributes: {
@@ -1306,6 +1431,8 @@ export declare function useHover(): {
1306
1431
  createExtensionDictionary: () => AcDbObjectId | undefined;
1307
1432
  close: () => void;
1308
1433
  clone: () => import('@mlightcad/data-model').AcDbViewportTable;
1434
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbViewportTable;
1435
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbViewportTable) => void;
1309
1436
  dxfOut: (...args: unknown[]) => unknown;
1310
1437
  };
1311
1438
  };
@@ -1376,6 +1503,8 @@ export declare function useHover(): {
1376
1503
  createExtensionDictionary: () => AcDbObjectId | undefined;
1377
1504
  close: () => void;
1378
1505
  clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>;
1506
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>;
1507
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>) => void;
1379
1508
  dxfOut: (...args: unknown[]) => unknown;
1380
1509
  };
1381
1510
  readonly imageDefinition: {
@@ -1444,6 +1573,8 @@ export declare function useHover(): {
1444
1573
  createExtensionDictionary: () => AcDbObjectId | undefined;
1445
1574
  close: () => void;
1446
1575
  clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>;
1576
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>;
1577
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>) => void;
1447
1578
  dxfOut: (...args: unknown[]) => unknown;
1448
1579
  };
1449
1580
  readonly layout: {
@@ -1514,6 +1645,8 @@ export declare function useHover(): {
1514
1645
  createExtensionDictionary: () => AcDbObjectId | undefined;
1515
1646
  close: () => void;
1516
1647
  clone: () => import('@mlightcad/data-model').AcDbLayoutDictionary;
1648
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbLayoutDictionary;
1649
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbLayoutDictionary) => void;
1517
1650
  dxfOut: (...args: unknown[]) => unknown;
1518
1651
  };
1519
1652
  readonly mleaderStyle: {
@@ -1582,6 +1715,8 @@ export declare function useHover(): {
1582
1715
  createExtensionDictionary: () => AcDbObjectId | undefined;
1583
1716
  close: () => void;
1584
1717
  clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
1718
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
1719
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>) => void;
1585
1720
  dxfOut: (...args: unknown[]) => unknown;
1586
1721
  };
1587
1722
  readonly mlineStyle: {
@@ -1650,6 +1785,8 @@ export declare function useHover(): {
1650
1785
  createExtensionDictionary: () => AcDbObjectId | undefined;
1651
1786
  close: () => void;
1652
1787
  clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
1788
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
1789
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>) => void;
1653
1790
  dxfOut: (...args: unknown[]) => unknown;
1654
1791
  };
1655
1792
  readonly xrecord: {
@@ -1718,9 +1855,21 @@ export declare function useHover(): {
1718
1855
  createExtensionDictionary: () => AcDbObjectId | undefined;
1719
1856
  close: () => void;
1720
1857
  clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbXrecord>;
1858
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbXrecord>;
1859
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbXrecord>) => void;
1721
1860
  dxfOut: (...args: unknown[]) => unknown;
1722
1861
  };
1723
1862
  };
1863
+ getObjectById: (id: AcDbObjectId, _openErased?: boolean) => import('@mlightcad/data-model').AcDbObject | undefined;
1864
+ getRootDictionaries: () => import('@mlightcad/data-model').AcDbDictionary[];
1865
+ beginEventBatch: () => void;
1866
+ endEventBatch: () => void;
1867
+ isEventBatched: () => boolean;
1868
+ notifyEntityModified: (entity: AcDbEntity) => void;
1869
+ notifyEntityAppended: (entity: AcDbEntity | AcDbEntity[]) => void;
1870
+ notifyEntityErased: (entity: AcDbEntity | AcDbEntity[]) => void;
1871
+ notifyDictObjectSet: (object: import('@mlightcad/data-model').AcDbObject, key: string) => void;
1872
+ notifyDictObjectErased: (object: import('@mlightcad/data-model').AcDbObject, key: string) => void;
1724
1873
  readonly formatter: {
1725
1874
  formatLength: (value: number, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
1726
1875
  formatPoint2d: (point: import('@mlightcad/data-model').AcGePoint2d, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
@@ -1744,6 +1893,10 @@ export declare function useHover(): {
1744
1893
  measurement: number;
1745
1894
  ltscale: number;
1746
1895
  lwdisplay: boolean;
1896
+ readonly drawNoPlotLayers: boolean;
1897
+ readonly dwgname: string;
1898
+ setDwgName: (value: string) => void;
1899
+ isLayerDrawable: (layerName: string) => boolean;
1747
1900
  cecolor: {
1748
1901
  colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
1749
1902
  readonly red: number | undefined;
@@ -2386,6 +2539,8 @@ export declare function useHover(): {
2386
2539
  createExtensionDictionary: () => AcDbObjectId | undefined;
2387
2540
  close: () => void;
2388
2541
  clone: () => import('@mlightcad/data-model').AcDbDatabase;
2542
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDatabase;
2543
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDatabase) => void;
2389
2544
  dxfOutFields: (_filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDatabase;
2390
2545
  };
2391
2546
  getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
@@ -2394,6 +2549,8 @@ export declare function useHover(): {
2394
2549
  createExtensionDictionary: () => AcDbObjectId | undefined;
2395
2550
  close: () => void;
2396
2551
  clone: () => AcDbEntity;
2552
+ clonePreservingIdentity: () => AcDbEntity;
2553
+ restoreFrom: (snapshot: AcDbEntity) => void;
2397
2554
  dxfOut: (...args: unknown[]) => unknown;
2398
2555
  } | null, AcDbEntity | {
2399
2556
  readonly type: string;
@@ -2455,7 +2612,6 @@ export declare function useHover(): {
2455
2612
  equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
2456
2613
  toString: () => string;
2457
2614
  };
2458
- readonly rgbColor: number;
2459
2615
  lineType: string;
2460
2616
  lineWeight: import('@mlightcad/data-model').AcGiLineWeight;
2461
2617
  linetypeScale: number;
@@ -2511,6 +2667,7 @@ export declare function useHover(): {
2511
2667
  }[];
2512
2668
  };
2513
2669
  subGetGripPoints: () => import('@mlightcad/data-model').AcGePoint3d[];
2670
+ subMoveGripPointsAt: (indices: number[], offset: import('@mlightcad/data-model').AcGeVector3dLike) => AcDbEntity;
2514
2671
  subGetOsnapPoints: (osnapMode: import('@mlightcad/data-model').AcDbOsnapMode, pickPoint: AcGePoint3dLike, lastPoint: AcGePoint3dLike, snapPoints: AcGePoint3dLike[], gsMark?: AcDbObjectId, insertionMat?: import('@mlightcad/data-model').AcGeMatrix3d) => void;
2515
2672
  transformBy: (matrix: import('@mlightcad/data-model').AcGeMatrix3d) => AcDbEntity;
2516
2673
  readonly geometricExtents: {
@@ -2893,6 +3050,31 @@ export declare function useHover(): {
2893
3050
  ownerId: AcDbObjectId;
2894
3051
  extensionDictionary: AcDbObjectId | undefined;
2895
3052
  database: {
3053
+ readonly transactionManager: {
3054
+ strictMode: boolean;
3055
+ startTransaction: () => import('@mlightcad/data-model').AcDbDatabaseTransaction;
3056
+ currentTransaction: () => import('@mlightcad/data-model').AcDbDatabaseTransaction | undefined;
3057
+ hasTransaction: () => boolean;
3058
+ isRecording: () => boolean;
3059
+ isApplyingUndoRedo: () => boolean;
3060
+ commitTransaction: () => void;
3061
+ abortTransaction: () => void;
3062
+ startUndoMark: (label?: string) => void;
3063
+ endUndoMark: () => void;
3064
+ cancelUndoMark: () => void;
3065
+ undo: () => boolean;
3066
+ redo: () => boolean;
3067
+ canUndo: () => boolean;
3068
+ canRedo: () => boolean;
3069
+ clearUndoStack: () => void;
3070
+ recordAppend: (container: import('@mlightcad/data-model').AcDbChangeContainer, object: import('@mlightcad/data-model').AcDbObject) => void;
3071
+ recordRemove: (container: import('@mlightcad/data-model').AcDbChangeContainer, object: import('@mlightcad/data-model').AcDbObject) => void;
3072
+ recordSysvar: (name: string, before: unknown) => void;
3073
+ resolveSymbolTableName: (table: {
3074
+ objectId: string;
3075
+ }) => string;
3076
+ runUndoable: <T>(label: string, fn: (tr: import('@mlightcad/data-model').AcDbDatabaseTransaction) => T) => T;
3077
+ };
2896
3078
  readonly events: {
2897
3079
  dictObjetSet: {
2898
3080
  addEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbDictObjectEventArgs) => void) => void;
@@ -2961,7 +3143,7 @@ export declare function useHover(): {
2961
3143
  getAt: (name: string) => import('@mlightcad/data-model').AcDbRegAppTableRecord | undefined;
2962
3144
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbRegAppTableRecord | undefined;
2963
3145
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbRegAppTableRecord | undefined;
2964
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbRegAppTableRecord>;
3146
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbRegAppTableRecord>;
2965
3147
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbRegAppTable;
2966
3148
  readonly attrs: {
2967
3149
  attributes: {
@@ -3016,6 +3198,8 @@ export declare function useHover(): {
3016
3198
  createExtensionDictionary: () => AcDbObjectId | undefined;
3017
3199
  close: () => void;
3018
3200
  clone: () => import('@mlightcad/data-model').AcDbRegAppTable;
3201
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbRegAppTable;
3202
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbRegAppTable) => void;
3019
3203
  dxfOut: (...args: unknown[]) => unknown;
3020
3204
  };
3021
3205
  readonly blockTable: {
@@ -3162,6 +3346,8 @@ export declare function useHover(): {
3162
3346
  createExtensionDictionary: () => AcDbObjectId | undefined;
3163
3347
  close: () => void;
3164
3348
  clone: () => import('@mlightcad/data-model').AcDbBlockTableRecord;
3349
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbBlockTableRecord;
3350
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbBlockTableRecord) => void;
3165
3351
  dxfOut: (...args: unknown[]) => unknown;
3166
3352
  };
3167
3353
  getEntityById: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbEntity | undefined;
@@ -3176,7 +3362,7 @@ export declare function useHover(): {
3176
3362
  getAt: (name: string) => import('@mlightcad/data-model').AcDbBlockTableRecord | undefined;
3177
3363
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbBlockTableRecord | undefined;
3178
3364
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbBlockTableRecord | undefined;
3179
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbBlockTableRecord>;
3365
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbBlockTableRecord>;
3180
3366
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTable;
3181
3367
  readonly attrs: {
3182
3368
  attributes: {
@@ -3231,6 +3417,8 @@ export declare function useHover(): {
3231
3417
  createExtensionDictionary: () => AcDbObjectId | undefined;
3232
3418
  close: () => void;
3233
3419
  clone: () => import('@mlightcad/data-model').AcDbBlockTable;
3420
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbBlockTable;
3421
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbBlockTable) => void;
3234
3422
  dxfOut: (...args: unknown[]) => unknown;
3235
3423
  };
3236
3424
  readonly dimStyleTable: {
@@ -3244,7 +3432,7 @@ export declare function useHover(): {
3244
3432
  getAt: (name: string) => import('@mlightcad/data-model').AcDbDimStyleTableRecord | undefined;
3245
3433
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbDimStyleTableRecord | undefined;
3246
3434
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbDimStyleTableRecord | undefined;
3247
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbDimStyleTableRecord>;
3435
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbDimStyleTableRecord>;
3248
3436
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDimStyleTable;
3249
3437
  readonly attrs: {
3250
3438
  attributes: {
@@ -3299,6 +3487,8 @@ export declare function useHover(): {
3299
3487
  createExtensionDictionary: () => AcDbObjectId | undefined;
3300
3488
  close: () => void;
3301
3489
  clone: () => import('@mlightcad/data-model').AcDbDimStyleTable;
3490
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDimStyleTable;
3491
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDimStyleTable) => void;
3302
3492
  dxfOut: (...args: unknown[]) => unknown;
3303
3493
  };
3304
3494
  readonly linetypeTable: {
@@ -3312,7 +3502,7 @@ export declare function useHover(): {
3312
3502
  getAt: (name: string) => import('@mlightcad/data-model').AcDbLinetypeTableRecord | undefined;
3313
3503
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLinetypeTableRecord | undefined;
3314
3504
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLinetypeTableRecord | undefined;
3315
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLinetypeTableRecord>;
3505
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLinetypeTableRecord>;
3316
3506
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbLinetypeTable;
3317
3507
  readonly attrs: {
3318
3508
  attributes: {
@@ -3367,10 +3557,94 @@ export declare function useHover(): {
3367
3557
  createExtensionDictionary: () => AcDbObjectId | undefined;
3368
3558
  close: () => void;
3369
3559
  clone: () => import('@mlightcad/data-model').AcDbLinetypeTable;
3560
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbLinetypeTable;
3561
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbLinetypeTable) => void;
3370
3562
  dxfOut: (...args: unknown[]) => unknown;
3371
3563
  };
3372
3564
  readonly textStyleTable: {
3373
3565
  resolveAt: (name?: string) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
3566
+ readonly shapeFiles: {
3567
+ obliquingAngle: number;
3568
+ priorSize: number;
3569
+ textSize: number;
3570
+ xScale: number;
3571
+ isVertical: boolean;
3572
+ isShapeFile: boolean;
3573
+ fileName: string;
3574
+ bigFontFileName: string;
3575
+ readonly textStyle: {
3576
+ name: string;
3577
+ standardFlag: number;
3578
+ fixedTextHeight: number;
3579
+ widthFactor: number;
3580
+ obliqueAngle: number;
3581
+ textGenerationFlag: number;
3582
+ lastHeight: number;
3583
+ font: string;
3584
+ bigFont: string;
3585
+ extendedFont?: string | undefined;
3586
+ };
3587
+ dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbTextStyleTableRecord;
3588
+ name: string;
3589
+ readonly attrs: {
3590
+ attributes: {
3591
+ [x: string]: any;
3592
+ name?: string | undefined;
3593
+ objectId?: AcDbObjectId | undefined;
3594
+ ownerId?: AcDbObjectId | undefined;
3595
+ extensionDictionary?: AcDbObjectId | undefined;
3596
+ };
3597
+ changed: {
3598
+ [x: string]: any;
3599
+ name?: string | undefined;
3600
+ objectId?: AcDbObjectId | undefined;
3601
+ ownerId?: AcDbObjectId | undefined;
3602
+ extensionDictionary?: AcDbObjectId | undefined;
3603
+ };
3604
+ readonly events: {
3605
+ attrChanged: {
3606
+ addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
3607
+ removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
3608
+ replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
3609
+ dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs> | undefined, ...args: unknown[]) => void;
3610
+ };
3611
+ modelChanged: {
3612
+ addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
3613
+ removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
3614
+ replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>) => void) => void;
3615
+ dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs> | undefined, ...args: unknown[]) => void;
3616
+ };
3617
+ };
3618
+ get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined;
3619
+ set: {
3620
+ <A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>;
3621
+ (key: Partial<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>;
3622
+ };
3623
+ has: (key: string) => boolean;
3624
+ hasChanged: (key?: string | undefined) => boolean;
3625
+ changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>;
3626
+ previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | null | undefined;
3627
+ previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>;
3628
+ clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs>;
3629
+ };
3630
+ getAttr: (attrName: string) => any;
3631
+ getAttrWithoutException: (attrName: string) => any;
3632
+ setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
3633
+ objectId: AcDbObjectId;
3634
+ readonly isTemp: any;
3635
+ ownerId: AcDbObjectId;
3636
+ extensionDictionary: AcDbObjectId | undefined;
3637
+ database: /*elided*/ any;
3638
+ getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
3639
+ setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
3640
+ removeXData: (appId: string) => void;
3641
+ createExtensionDictionary: () => AcDbObjectId | undefined;
3642
+ close: () => void;
3643
+ clone: () => import('@mlightcad/data-model').AcDbTextStyleTableRecord;
3644
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbTextStyleTableRecord;
3645
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbTextStyleTableRecord) => void;
3646
+ dxfOut: (...args: unknown[]) => unknown;
3647
+ }[];
3374
3648
  readonly fonts: string[];
3375
3649
  readonly numEntries: number;
3376
3650
  add: (record: import('@mlightcad/data-model').AcDbTextStyleTableRecord) => void;
@@ -3382,7 +3656,7 @@ export declare function useHover(): {
3382
3656
  getAt: (name: string) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
3383
3657
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
3384
3658
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
3385
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbTextStyleTableRecord>;
3659
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbTextStyleTableRecord>;
3386
3660
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbTextStyleTable;
3387
3661
  readonly attrs: {
3388
3662
  attributes: {
@@ -3437,6 +3711,8 @@ export declare function useHover(): {
3437
3711
  createExtensionDictionary: () => AcDbObjectId | undefined;
3438
3712
  close: () => void;
3439
3713
  clone: () => import('@mlightcad/data-model').AcDbTextStyleTable;
3714
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbTextStyleTable;
3715
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbTextStyleTable) => void;
3440
3716
  dxfOut: (...args: unknown[]) => unknown;
3441
3717
  };
3442
3718
  readonly viewTable: {
@@ -3450,7 +3726,7 @@ export declare function useHover(): {
3450
3726
  getAt: (name: string) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
3451
3727
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
3452
3728
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
3453
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewTableRecord>;
3729
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewTableRecord>;
3454
3730
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbViewTable;
3455
3731
  readonly attrs: {
3456
3732
  attributes: {
@@ -3505,6 +3781,8 @@ export declare function useHover(): {
3505
3781
  createExtensionDictionary: () => AcDbObjectId | undefined;
3506
3782
  close: () => void;
3507
3783
  clone: () => import('@mlightcad/data-model').AcDbViewTable;
3784
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbViewTable;
3785
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbViewTable) => void;
3508
3786
  dxfOut: (...args: unknown[]) => unknown;
3509
3787
  };
3510
3788
  readonly layerTable: {
@@ -3518,7 +3796,7 @@ export declare function useHover(): {
3518
3796
  getAt: (name: string) => import('@mlightcad/data-model').AcDbLayerTableRecord | undefined;
3519
3797
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerTableRecord | undefined;
3520
3798
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerTableRecord | undefined;
3521
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayerTableRecord>;
3799
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayerTableRecord>;
3522
3800
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbLayerTable;
3523
3801
  readonly attrs: {
3524
3802
  attributes: {
@@ -3573,9 +3851,13 @@ export declare function useHover(): {
3573
3851
  createExtensionDictionary: () => AcDbObjectId | undefined;
3574
3852
  close: () => void;
3575
3853
  clone: () => import('@mlightcad/data-model').AcDbLayerTable;
3854
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbLayerTable;
3855
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbLayerTable) => void;
3576
3856
  dxfOut: (...args: unknown[]) => unknown;
3577
3857
  };
3578
3858
  readonly viewportTable: {
3859
+ getActiveVport: () => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
3860
+ getActiveVportBox: (canvasAspectRatio: number, drawingExtents?: import('@mlightcad/data-model').AcGeBox2d) => import('@mlightcad/data-model').AcGeBox2d | undefined;
3579
3861
  readonly numEntries: number;
3580
3862
  add: (record: import('@mlightcad/data-model').AcDbViewportTableRecord) => void;
3581
3863
  remove: (name: string) => boolean;
@@ -3586,7 +3868,7 @@ export declare function useHover(): {
3586
3868
  getAt: (name: string) => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
3587
3869
  getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
3588
3870
  getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
3589
- newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewportTableRecord>;
3871
+ newIterator: (iterateById?: boolean) => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewportTableRecord>;
3590
3872
  dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbViewportTable;
3591
3873
  readonly attrs: {
3592
3874
  attributes: {
@@ -3641,6 +3923,8 @@ export declare function useHover(): {
3641
3923
  createExtensionDictionary: () => AcDbObjectId | undefined;
3642
3924
  close: () => void;
3643
3925
  clone: () => import('@mlightcad/data-model').AcDbViewportTable;
3926
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbViewportTable;
3927
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbViewportTable) => void;
3644
3928
  dxfOut: (...args: unknown[]) => unknown;
3645
3929
  };
3646
3930
  };
@@ -3711,6 +3995,8 @@ export declare function useHover(): {
3711
3995
  createExtensionDictionary: () => AcDbObjectId | undefined;
3712
3996
  close: () => void;
3713
3997
  clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>;
3998
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>;
3999
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>) => void;
3714
4000
  dxfOut: (...args: unknown[]) => unknown;
3715
4001
  };
3716
4002
  readonly imageDefinition: {
@@ -3779,6 +4065,8 @@ export declare function useHover(): {
3779
4065
  createExtensionDictionary: () => AcDbObjectId | undefined;
3780
4066
  close: () => void;
3781
4067
  clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>;
4068
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>;
4069
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>) => void;
3782
4070
  dxfOut: (...args: unknown[]) => unknown;
3783
4071
  };
3784
4072
  readonly layout: {
@@ -3849,6 +4137,8 @@ export declare function useHover(): {
3849
4137
  createExtensionDictionary: () => AcDbObjectId | undefined;
3850
4138
  close: () => void;
3851
4139
  clone: () => import('@mlightcad/data-model').AcDbLayoutDictionary;
4140
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbLayoutDictionary;
4141
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbLayoutDictionary) => void;
3852
4142
  dxfOut: (...args: unknown[]) => unknown;
3853
4143
  };
3854
4144
  readonly mleaderStyle: {
@@ -3917,6 +4207,8 @@ export declare function useHover(): {
3917
4207
  createExtensionDictionary: () => AcDbObjectId | undefined;
3918
4208
  close: () => void;
3919
4209
  clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
4210
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
4211
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>) => void;
3920
4212
  dxfOut: (...args: unknown[]) => unknown;
3921
4213
  };
3922
4214
  readonly mlineStyle: {
@@ -3985,6 +4277,8 @@ export declare function useHover(): {
3985
4277
  createExtensionDictionary: () => AcDbObjectId | undefined;
3986
4278
  close: () => void;
3987
4279
  clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
4280
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
4281
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>) => void;
3988
4282
  dxfOut: (...args: unknown[]) => unknown;
3989
4283
  };
3990
4284
  readonly xrecord: {
@@ -4053,9 +4347,21 @@ export declare function useHover(): {
4053
4347
  createExtensionDictionary: () => AcDbObjectId | undefined;
4054
4348
  close: () => void;
4055
4349
  clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbXrecord>;
4350
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbXrecord>;
4351
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbXrecord>) => void;
4056
4352
  dxfOut: (...args: unknown[]) => unknown;
4057
4353
  };
4058
4354
  };
4355
+ getObjectById: (id: AcDbObjectId, _openErased?: boolean) => import('@mlightcad/data-model').AcDbObject | undefined;
4356
+ getRootDictionaries: () => import('@mlightcad/data-model').AcDbDictionary[];
4357
+ beginEventBatch: () => void;
4358
+ endEventBatch: () => void;
4359
+ isEventBatched: () => boolean;
4360
+ notifyEntityModified: (entity: AcDbEntity) => void;
4361
+ notifyEntityAppended: (entity: AcDbEntity | AcDbEntity[]) => void;
4362
+ notifyEntityErased: (entity: AcDbEntity | AcDbEntity[]) => void;
4363
+ notifyDictObjectSet: (object: import('@mlightcad/data-model').AcDbObject, key: string) => void;
4364
+ notifyDictObjectErased: (object: import('@mlightcad/data-model').AcDbObject, key: string) => void;
4059
4365
  readonly formatter: {
4060
4366
  formatLength: (value: number, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
4061
4367
  formatPoint2d: (point: import('@mlightcad/data-model').AcGePoint2d, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
@@ -4079,6 +4385,10 @@ export declare function useHover(): {
4079
4385
  measurement: number;
4080
4386
  ltscale: number;
4081
4387
  lwdisplay: boolean;
4388
+ readonly drawNoPlotLayers: boolean;
4389
+ readonly dwgname: string;
4390
+ setDwgName: (value: string) => void;
4391
+ isLayerDrawable: (layerName: string) => boolean;
4082
4392
  cecolor: {
4083
4393
  colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
4084
4394
  readonly red: number | undefined;
@@ -4721,6 +5031,8 @@ export declare function useHover(): {
4721
5031
  createExtensionDictionary: () => AcDbObjectId | undefined;
4722
5032
  close: () => void;
4723
5033
  clone: () => import('@mlightcad/data-model').AcDbDatabase;
5034
+ clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDatabase;
5035
+ restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDatabase) => void;
4724
5036
  dxfOutFields: (_filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDatabase;
4725
5037
  };
4726
5038
  getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
@@ -4729,6 +5041,8 @@ export declare function useHover(): {
4729
5041
  createExtensionDictionary: () => AcDbObjectId | undefined;
4730
5042
  close: () => void;
4731
5043
  clone: () => AcDbEntity;
5044
+ clonePreservingIdentity: () => AcDbEntity;
5045
+ restoreFrom: (snapshot: AcDbEntity) => void;
4732
5046
  dxfOut: (...args: unknown[]) => unknown;
4733
5047
  } | null>;
4734
5048
  id: import('vue').Ref<string | null, string | null>;