@mlightcad/cad-viewer 1.4.10 → 1.4.12
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/README.md +392 -381
- package/dist/app/app.d.ts.map +1 -1
- package/dist/app/register.d.ts +1 -0
- package/dist/app/register.d.ts.map +1 -1
- package/dist/component/MlCadViewer.vue.d.ts +1 -1
- package/dist/component/MlCadViewer.vue.d.ts.map +1 -1
- package/dist/component/common/MlBaseDialog.vue.d.ts +6 -6
- package/dist/component/common/MlBaseDrawStyleToolbar.vue.d.ts +5 -5
- package/dist/component/common/MlBaseDrawStyleToolbar.vue.d.ts.map +1 -1
- package/dist/component/common/MlColorPickerDropdown.vue.d.ts +73 -0
- package/dist/component/common/MlColorPickerDropdown.vue.d.ts.map +1 -0
- package/dist/component/common/MlColorPickerTabs.vue.d.ts +41 -0
- package/dist/component/common/MlColorPickerTabs.vue.d.ts.map +1 -0
- package/dist/component/common/MlDialogManager.vue.d.ts +6 -0
- package/dist/component/common/MlDialogManager.vue.d.ts.map +1 -0
- package/dist/component/common/MlFileReader.vue.d.ts.map +1 -1
- package/dist/component/common/MlSysVarToggleButton.vue.d.ts +45 -0
- package/dist/component/common/MlSysVarToggleButton.vue.d.ts.map +1 -0
- package/dist/component/common/MlToggleButton.vue.d.ts +9 -1
- package/dist/component/common/MlToggleButton.vue.d.ts.map +1 -1
- package/dist/component/common/createMlColorIndexPickerToolbarFactory.d.ts +7 -0
- package/dist/component/common/createMlColorIndexPickerToolbarFactory.d.ts.map +1 -0
- package/dist/component/common/index.d.ts +4 -0
- package/dist/component/common/index.d.ts.map +1 -1
- package/dist/component/dialog/MlColorPickerDlg.vue.d.ts +1 -1
- package/dist/component/dialog/MlColorPickerDlg.vue.d.ts.map +1 -1
- package/dist/component/layout/MlEntityDrawStyleToolbar.vue.d.ts +3 -3
- package/dist/component/layout/MlEntityDrawStyleToolbar.vue.d.ts.map +1 -1
- package/dist/component/layout/MlMainMenu.vue.d.ts.map +1 -1
- package/dist/component/layout/MlToolBars.vue.d.ts.map +1 -1
- package/dist/component/palette/MlEntityProperties.vue.d.ts.map +1 -1
- package/dist/component/palette/MlLayerList.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlOsnapButton.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlStatusBar.vue.d.ts.map +1 -1
- package/dist/composable/useDark.d.ts +4 -1
- package/dist/composable/useDark.d.ts.map +1 -1
- package/dist/composable/useDialogManager.d.ts +1 -1
- package/dist/composable/useDialogManager.d.ts.map +1 -1
- package/dist/composable/useEntityDrawStyle.d.ts +2 -2
- package/dist/composable/useEntityDrawStyle.d.ts.map +1 -1
- package/dist/composable/useHover.d.ts +322 -2
- package/dist/composable/useHover.d.ts.map +1 -1
- package/dist/composable/useLayers.d.ts +2 -1
- package/dist/composable/useLayers.d.ts.map +1 -1
- package/dist/composable/useSystemVars.d.ts +15 -0
- package/dist/composable/useSystemVars.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +27310 -3548
- package/dist/locale/en/main.d.ts +33 -0
- package/dist/locale/en/main.d.ts.map +1 -1
- package/dist/locale/zh/main.d.ts +33 -0
- package/dist/locale/zh/main.d.ts.map +1 -1
- package/dist/svg/index.d.ts +8 -0
- package/dist/svg/index.d.ts.map +1 -1
- package/package.json +10 -11
|
@@ -62,6 +62,7 @@ export declare function useHover(): {
|
|
|
62
62
|
hovered: import('vue').Ref<boolean, boolean>;
|
|
63
63
|
entity: import('vue').Ref<{
|
|
64
64
|
readonly type: string;
|
|
65
|
+
readonly dxfTypeName: string;
|
|
65
66
|
layer: string;
|
|
66
67
|
color: {
|
|
67
68
|
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
@@ -75,9 +76,40 @@ export declare function useHover(): {
|
|
|
75
76
|
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
76
77
|
readonly hexColor: string | undefined;
|
|
77
78
|
readonly cssColor: string | undefined;
|
|
79
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
78
80
|
colorIndex: number | undefined;
|
|
79
81
|
readonly isByColor: boolean;
|
|
80
82
|
readonly isByACI: boolean;
|
|
83
|
+
readonly isForeground: boolean;
|
|
84
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
85
|
+
readonly isByLayer: boolean;
|
|
86
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
87
|
+
readonly isByBlock: boolean;
|
|
88
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
89
|
+
colorName: string | undefined;
|
|
90
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
91
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
92
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
93
|
+
toString: () => string;
|
|
94
|
+
};
|
|
95
|
+
readonly resolvedColor: {
|
|
96
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
97
|
+
readonly red: number | undefined;
|
|
98
|
+
readonly green: number | undefined;
|
|
99
|
+
readonly blue: number | undefined;
|
|
100
|
+
readonly RGB: number | undefined;
|
|
101
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
102
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
103
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
104
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
105
|
+
readonly hexColor: string | undefined;
|
|
106
|
+
readonly cssColor: string | undefined;
|
|
107
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
108
|
+
colorIndex: number | undefined;
|
|
109
|
+
readonly isByColor: boolean;
|
|
110
|
+
readonly isByACI: boolean;
|
|
111
|
+
readonly isForeground: boolean;
|
|
112
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
81
113
|
readonly isByLayer: boolean;
|
|
82
114
|
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
83
115
|
readonly isByBlock: boolean;
|
|
@@ -108,6 +140,7 @@ export declare function useHover(): {
|
|
|
108
140
|
equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
|
|
109
141
|
toString: () => string;
|
|
110
142
|
};
|
|
143
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => AcDbEntity;
|
|
111
144
|
resolveEffectiveProperties: () => void;
|
|
112
145
|
readonly properties: {
|
|
113
146
|
type: string;
|
|
@@ -461,7 +494,7 @@ export declare function useHover(): {
|
|
|
461
494
|
worldDraw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
|
|
462
495
|
triggerModifiedEvent: () => void;
|
|
463
496
|
readonly lineStyle: {
|
|
464
|
-
type: AcGiStyleType;
|
|
497
|
+
type: import('@mlightcad/data-model').AcGiStyleType;
|
|
465
498
|
arrows?: {
|
|
466
499
|
firstArrow?: {
|
|
467
500
|
type: import('@mlightcad/data-model').AcGiArrowType;
|
|
@@ -537,6 +570,7 @@ export declare function useHover(): {
|
|
|
537
570
|
getAttrWithoutException: (attrName: string) => any;
|
|
538
571
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
539
572
|
objectId: AcDbObjectId;
|
|
573
|
+
readonly isTemp: any;
|
|
540
574
|
ownerId: AcDbObjectId;
|
|
541
575
|
extensionDictionary: AcDbObjectId | undefined;
|
|
542
576
|
database: {
|
|
@@ -609,6 +643,7 @@ export declare function useHover(): {
|
|
|
609
643
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbRegAppTableRecord | undefined;
|
|
610
644
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbRegAppTableRecord | undefined;
|
|
611
645
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbRegAppTableRecord>;
|
|
646
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbRegAppTable;
|
|
612
647
|
readonly attrs: {
|
|
613
648
|
attributes: {
|
|
614
649
|
[x: string]: any;
|
|
@@ -652,6 +687,7 @@ export declare function useHover(): {
|
|
|
652
687
|
getAttrWithoutException: (attrName: string) => any;
|
|
653
688
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
654
689
|
objectId: AcDbObjectId;
|
|
690
|
+
readonly isTemp: any;
|
|
655
691
|
ownerId: AcDbObjectId;
|
|
656
692
|
extensionDictionary: AcDbObjectId | undefined;
|
|
657
693
|
database: /*elided*/ any;
|
|
@@ -660,6 +696,7 @@ export declare function useHover(): {
|
|
|
660
696
|
removeXData: (appId: string) => void;
|
|
661
697
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
662
698
|
close: () => void;
|
|
699
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
663
700
|
};
|
|
664
701
|
readonly blockTable: {
|
|
665
702
|
readonly modelSpace: {
|
|
@@ -737,10 +774,18 @@ export declare function useHover(): {
|
|
|
737
774
|
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
738
775
|
};
|
|
739
776
|
layoutId: AcDbObjectId;
|
|
777
|
+
blockInsertUnits: import('@mlightcad/data-model').AcDbUnitsValue;
|
|
778
|
+
explodability: number;
|
|
779
|
+
blockScaling: import('@mlightcad/data-model').AcDbBlockScaling;
|
|
780
|
+
bmpPreview: string | undefined;
|
|
740
781
|
appendEntity: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
741
782
|
removeEntity: (objectId: AcDbObjectId | AcDbObjectId[]) => boolean;
|
|
742
783
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<AcDbEntity>;
|
|
743
784
|
getIdAt: (id: AcDbObjectId) => AcDbEntity | undefined;
|
|
785
|
+
dxfOutBlockRecord: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
786
|
+
dxfOutBlockBegin: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
787
|
+
dxfOutBlockEnd: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
788
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
744
789
|
name: string;
|
|
745
790
|
readonly attrs: {
|
|
746
791
|
attributes: {
|
|
@@ -787,6 +832,7 @@ export declare function useHover(): {
|
|
|
787
832
|
getAttrWithoutException: (attrName: string) => any;
|
|
788
833
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
|
|
789
834
|
objectId: AcDbObjectId;
|
|
835
|
+
readonly isTemp: any;
|
|
790
836
|
ownerId: AcDbObjectId;
|
|
791
837
|
extensionDictionary: AcDbObjectId | undefined;
|
|
792
838
|
database: /*elided*/ any;
|
|
@@ -795,6 +841,7 @@ export declare function useHover(): {
|
|
|
795
841
|
removeXData: (appId: string) => void;
|
|
796
842
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
797
843
|
close: () => void;
|
|
844
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
798
845
|
};
|
|
799
846
|
getEntityById: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbEntity | undefined;
|
|
800
847
|
removeEntity: (objectId: AcDbObjectId | AcDbObjectId[]) => boolean;
|
|
@@ -809,6 +856,7 @@ export declare function useHover(): {
|
|
|
809
856
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbBlockTableRecord | undefined;
|
|
810
857
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbBlockTableRecord | undefined;
|
|
811
858
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbBlockTableRecord>;
|
|
859
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTable;
|
|
812
860
|
readonly attrs: {
|
|
813
861
|
attributes: {
|
|
814
862
|
[x: string]: any;
|
|
@@ -852,6 +900,7 @@ export declare function useHover(): {
|
|
|
852
900
|
getAttrWithoutException: (attrName: string) => any;
|
|
853
901
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
854
902
|
objectId: AcDbObjectId;
|
|
903
|
+
readonly isTemp: any;
|
|
855
904
|
ownerId: AcDbObjectId;
|
|
856
905
|
extensionDictionary: AcDbObjectId | undefined;
|
|
857
906
|
database: /*elided*/ any;
|
|
@@ -860,6 +909,7 @@ export declare function useHover(): {
|
|
|
860
909
|
removeXData: (appId: string) => void;
|
|
861
910
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
862
911
|
close: () => void;
|
|
912
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
863
913
|
};
|
|
864
914
|
readonly dimStyleTable: {
|
|
865
915
|
readonly numEntries: number;
|
|
@@ -873,6 +923,7 @@ export declare function useHover(): {
|
|
|
873
923
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbDimStyleTableRecord | undefined;
|
|
874
924
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbDimStyleTableRecord | undefined;
|
|
875
925
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbDimStyleTableRecord>;
|
|
926
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDimStyleTable;
|
|
876
927
|
readonly attrs: {
|
|
877
928
|
attributes: {
|
|
878
929
|
[x: string]: any;
|
|
@@ -916,6 +967,7 @@ export declare function useHover(): {
|
|
|
916
967
|
getAttrWithoutException: (attrName: string) => any;
|
|
917
968
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
918
969
|
objectId: AcDbObjectId;
|
|
970
|
+
readonly isTemp: any;
|
|
919
971
|
ownerId: AcDbObjectId;
|
|
920
972
|
extensionDictionary: AcDbObjectId | undefined;
|
|
921
973
|
database: /*elided*/ any;
|
|
@@ -924,6 +976,7 @@ export declare function useHover(): {
|
|
|
924
976
|
removeXData: (appId: string) => void;
|
|
925
977
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
926
978
|
close: () => void;
|
|
979
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
927
980
|
};
|
|
928
981
|
readonly linetypeTable: {
|
|
929
982
|
readonly numEntries: number;
|
|
@@ -937,6 +990,7 @@ export declare function useHover(): {
|
|
|
937
990
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLinetypeTableRecord | undefined;
|
|
938
991
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLinetypeTableRecord | undefined;
|
|
939
992
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLinetypeTableRecord>;
|
|
993
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbLinetypeTable;
|
|
940
994
|
readonly attrs: {
|
|
941
995
|
attributes: {
|
|
942
996
|
[x: string]: any;
|
|
@@ -980,6 +1034,7 @@ export declare function useHover(): {
|
|
|
980
1034
|
getAttrWithoutException: (attrName: string) => any;
|
|
981
1035
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
982
1036
|
objectId: AcDbObjectId;
|
|
1037
|
+
readonly isTemp: any;
|
|
983
1038
|
ownerId: AcDbObjectId;
|
|
984
1039
|
extensionDictionary: AcDbObjectId | undefined;
|
|
985
1040
|
database: /*elided*/ any;
|
|
@@ -988,6 +1043,7 @@ export declare function useHover(): {
|
|
|
988
1043
|
removeXData: (appId: string) => void;
|
|
989
1044
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
990
1045
|
close: () => void;
|
|
1046
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
991
1047
|
};
|
|
992
1048
|
readonly textStyleTable: {
|
|
993
1049
|
readonly fonts: string[];
|
|
@@ -1002,6 +1058,74 @@ export declare function useHover(): {
|
|
|
1002
1058
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
|
|
1003
1059
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
|
|
1004
1060
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbTextStyleTableRecord>;
|
|
1061
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbTextStyleTable;
|
|
1062
|
+
readonly attrs: {
|
|
1063
|
+
attributes: {
|
|
1064
|
+
[x: string]: any;
|
|
1065
|
+
objectId?: AcDbObjectId | undefined;
|
|
1066
|
+
ownerId?: AcDbObjectId | undefined;
|
|
1067
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
1068
|
+
};
|
|
1069
|
+
changed: {
|
|
1070
|
+
[x: string]: any;
|
|
1071
|
+
objectId?: AcDbObjectId | undefined;
|
|
1072
|
+
ownerId?: AcDbObjectId | undefined;
|
|
1073
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
1074
|
+
};
|
|
1075
|
+
readonly events: {
|
|
1076
|
+
attrChanged: {
|
|
1077
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1078
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1079
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1080
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
1081
|
+
};
|
|
1082
|
+
modelChanged: {
|
|
1083
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1084
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1085
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1086
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
1087
|
+
};
|
|
1088
|
+
};
|
|
1089
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
1090
|
+
set: {
|
|
1091
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1092
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1093
|
+
};
|
|
1094
|
+
has: (key: string) => boolean;
|
|
1095
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
1096
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1097
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
1098
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1099
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1100
|
+
};
|
|
1101
|
+
getAttr: (attrName: string) => any;
|
|
1102
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
1103
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1104
|
+
objectId: AcDbObjectId;
|
|
1105
|
+
readonly isTemp: any;
|
|
1106
|
+
ownerId: AcDbObjectId;
|
|
1107
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
1108
|
+
database: /*elided*/ any;
|
|
1109
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
1110
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
1111
|
+
removeXData: (appId: string) => void;
|
|
1112
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1113
|
+
close: () => void;
|
|
1114
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1115
|
+
};
|
|
1116
|
+
readonly viewTable: {
|
|
1117
|
+
readonly numEntries: number;
|
|
1118
|
+
add: (record: import('@mlightcad/data-model').AcDbViewTableRecord) => void;
|
|
1119
|
+
remove: (name: string) => boolean;
|
|
1120
|
+
removeId: (id: AcDbObjectId) => boolean;
|
|
1121
|
+
removeAll: () => void;
|
|
1122
|
+
has: (name: string) => boolean;
|
|
1123
|
+
hasId: (id: string) => boolean;
|
|
1124
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
|
|
1125
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
|
|
1126
|
+
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
|
|
1127
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewTableRecord>;
|
|
1128
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbViewTable;
|
|
1005
1129
|
readonly attrs: {
|
|
1006
1130
|
attributes: {
|
|
1007
1131
|
[x: string]: any;
|
|
@@ -1045,6 +1169,7 @@ export declare function useHover(): {
|
|
|
1045
1169
|
getAttrWithoutException: (attrName: string) => any;
|
|
1046
1170
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1047
1171
|
objectId: AcDbObjectId;
|
|
1172
|
+
readonly isTemp: any;
|
|
1048
1173
|
ownerId: AcDbObjectId;
|
|
1049
1174
|
extensionDictionary: AcDbObjectId | undefined;
|
|
1050
1175
|
database: /*elided*/ any;
|
|
@@ -1053,6 +1178,7 @@ export declare function useHover(): {
|
|
|
1053
1178
|
removeXData: (appId: string) => void;
|
|
1054
1179
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1055
1180
|
close: () => void;
|
|
1181
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1056
1182
|
};
|
|
1057
1183
|
readonly layerTable: {
|
|
1058
1184
|
add: (record: import('@mlightcad/data-model').AcDbLayerTableRecord) => void;
|
|
@@ -1066,6 +1192,7 @@ export declare function useHover(): {
|
|
|
1066
1192
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerTableRecord | undefined;
|
|
1067
1193
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerTableRecord | undefined;
|
|
1068
1194
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayerTableRecord>;
|
|
1195
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbLayerTable;
|
|
1069
1196
|
readonly attrs: {
|
|
1070
1197
|
attributes: {
|
|
1071
1198
|
[x: string]: any;
|
|
@@ -1109,6 +1236,7 @@ export declare function useHover(): {
|
|
|
1109
1236
|
getAttrWithoutException: (attrName: string) => any;
|
|
1110
1237
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1111
1238
|
objectId: AcDbObjectId;
|
|
1239
|
+
readonly isTemp: any;
|
|
1112
1240
|
ownerId: AcDbObjectId;
|
|
1113
1241
|
extensionDictionary: AcDbObjectId | undefined;
|
|
1114
1242
|
database: /*elided*/ any;
|
|
@@ -1117,6 +1245,7 @@ export declare function useHover(): {
|
|
|
1117
1245
|
removeXData: (appId: string) => void;
|
|
1118
1246
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1119
1247
|
close: () => void;
|
|
1248
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1120
1249
|
};
|
|
1121
1250
|
readonly viewportTable: {
|
|
1122
1251
|
readonly numEntries: number;
|
|
@@ -1130,6 +1259,7 @@ export declare function useHover(): {
|
|
|
1130
1259
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
|
|
1131
1260
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
|
|
1132
1261
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewportTableRecord>;
|
|
1262
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbViewportTable;
|
|
1133
1263
|
readonly attrs: {
|
|
1134
1264
|
attributes: {
|
|
1135
1265
|
[x: string]: any;
|
|
@@ -1173,6 +1303,7 @@ export declare function useHover(): {
|
|
|
1173
1303
|
getAttrWithoutException: (attrName: string) => any;
|
|
1174
1304
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1175
1305
|
objectId: AcDbObjectId;
|
|
1306
|
+
readonly isTemp: any;
|
|
1176
1307
|
ownerId: AcDbObjectId;
|
|
1177
1308
|
extensionDictionary: AcDbObjectId | undefined;
|
|
1178
1309
|
database: /*elided*/ any;
|
|
@@ -1181,6 +1312,7 @@ export declare function useHover(): {
|
|
|
1181
1312
|
removeXData: (appId: string) => void;
|
|
1182
1313
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1183
1314
|
close: () => void;
|
|
1315
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1184
1316
|
};
|
|
1185
1317
|
};
|
|
1186
1318
|
readonly objects: {
|
|
@@ -1195,6 +1327,8 @@ export declare function useHover(): {
|
|
|
1195
1327
|
getAt: (name: string) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>> | undefined;
|
|
1196
1328
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>> | undefined;
|
|
1197
1329
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>;
|
|
1330
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>]>;
|
|
1331
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>;
|
|
1198
1332
|
readonly attrs: {
|
|
1199
1333
|
attributes: {
|
|
1200
1334
|
[x: string]: any;
|
|
@@ -1238,6 +1372,7 @@ export declare function useHover(): {
|
|
|
1238
1372
|
getAttrWithoutException: (attrName: string) => any;
|
|
1239
1373
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1240
1374
|
objectId: AcDbObjectId;
|
|
1375
|
+
readonly isTemp: any;
|
|
1241
1376
|
ownerId: AcDbObjectId;
|
|
1242
1377
|
extensionDictionary: AcDbObjectId | undefined;
|
|
1243
1378
|
database: /*elided*/ any;
|
|
@@ -1246,6 +1381,7 @@ export declare function useHover(): {
|
|
|
1246
1381
|
removeXData: (appId: string) => void;
|
|
1247
1382
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1248
1383
|
close: () => void;
|
|
1384
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1249
1385
|
};
|
|
1250
1386
|
readonly imageDefinition: {
|
|
1251
1387
|
readonly numEntries: number;
|
|
@@ -1258,6 +1394,8 @@ export declare function useHover(): {
|
|
|
1258
1394
|
getAt: (name: string) => import('@mlightcad/data-model').AcDbRasterImageDef | undefined;
|
|
1259
1395
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbRasterImageDef | undefined;
|
|
1260
1396
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbRasterImageDef>;
|
|
1397
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbRasterImageDef]>;
|
|
1398
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>;
|
|
1261
1399
|
readonly attrs: {
|
|
1262
1400
|
attributes: {
|
|
1263
1401
|
[x: string]: any;
|
|
@@ -1301,6 +1439,7 @@ export declare function useHover(): {
|
|
|
1301
1439
|
getAttrWithoutException: (attrName: string) => any;
|
|
1302
1440
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1303
1441
|
objectId: AcDbObjectId;
|
|
1442
|
+
readonly isTemp: any;
|
|
1304
1443
|
ownerId: AcDbObjectId;
|
|
1305
1444
|
extensionDictionary: AcDbObjectId | undefined;
|
|
1306
1445
|
database: /*elided*/ any;
|
|
@@ -1309,6 +1448,7 @@ export declare function useHover(): {
|
|
|
1309
1448
|
removeXData: (appId: string) => void;
|
|
1310
1449
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1311
1450
|
close: () => void;
|
|
1451
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1312
1452
|
};
|
|
1313
1453
|
readonly layout: {
|
|
1314
1454
|
getBtrIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayout | undefined;
|
|
@@ -1323,6 +1463,8 @@ export declare function useHover(): {
|
|
|
1323
1463
|
getAt: (name: string) => import('@mlightcad/data-model').AcDbLayout | undefined;
|
|
1324
1464
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayout | undefined;
|
|
1325
1465
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayout>;
|
|
1466
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbLayout]>;
|
|
1467
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbLayoutDictionary;
|
|
1326
1468
|
readonly attrs: {
|
|
1327
1469
|
attributes: {
|
|
1328
1470
|
[x: string]: any;
|
|
@@ -1366,6 +1508,7 @@ export declare function useHover(): {
|
|
|
1366
1508
|
getAttrWithoutException: (attrName: string) => any;
|
|
1367
1509
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1368
1510
|
objectId: AcDbObjectId;
|
|
1511
|
+
readonly isTemp: any;
|
|
1369
1512
|
ownerId: AcDbObjectId;
|
|
1370
1513
|
extensionDictionary: AcDbObjectId | undefined;
|
|
1371
1514
|
database: /*elided*/ any;
|
|
@@ -1374,6 +1517,7 @@ export declare function useHover(): {
|
|
|
1374
1517
|
removeXData: (appId: string) => void;
|
|
1375
1518
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1376
1519
|
close: () => void;
|
|
1520
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1377
1521
|
};
|
|
1378
1522
|
readonly xrecord: {
|
|
1379
1523
|
readonly numEntries: number;
|
|
@@ -1386,6 +1530,8 @@ export declare function useHover(): {
|
|
|
1386
1530
|
getAt: (name: string) => import('@mlightcad/data-model').AcDbXrecord | undefined;
|
|
1387
1531
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbXrecord | undefined;
|
|
1388
1532
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbXrecord>;
|
|
1533
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbXrecord]>;
|
|
1534
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbXrecord>;
|
|
1389
1535
|
readonly attrs: {
|
|
1390
1536
|
attributes: {
|
|
1391
1537
|
[x: string]: any;
|
|
@@ -1429,6 +1575,7 @@ export declare function useHover(): {
|
|
|
1429
1575
|
getAttrWithoutException: (attrName: string) => any;
|
|
1430
1576
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1431
1577
|
objectId: AcDbObjectId;
|
|
1578
|
+
readonly isTemp: any;
|
|
1432
1579
|
ownerId: AcDbObjectId;
|
|
1433
1580
|
extensionDictionary: AcDbObjectId | undefined;
|
|
1434
1581
|
database: /*elided*/ any;
|
|
@@ -1437,8 +1584,12 @@ export declare function useHover(): {
|
|
|
1437
1584
|
removeXData: (appId: string) => void;
|
|
1438
1585
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1439
1586
|
close: () => void;
|
|
1587
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1440
1588
|
};
|
|
1441
1589
|
};
|
|
1590
|
+
generateHandle: () => AcDbObjectId;
|
|
1591
|
+
updateMaxHandle: (handle: string) => void;
|
|
1592
|
+
commitObjectHandle: (object: import('@mlightcad/data-model').AcDbObject, hasId?: (id: AcDbObjectId) => boolean) => void;
|
|
1442
1593
|
currentSpaceId: AcDbObjectId;
|
|
1443
1594
|
aunits: number;
|
|
1444
1595
|
version: {
|
|
@@ -1460,9 +1611,12 @@ export declare function useHover(): {
|
|
|
1460
1611
|
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1461
1612
|
readonly hexColor: string | undefined;
|
|
1462
1613
|
readonly cssColor: string | undefined;
|
|
1614
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
1463
1615
|
colorIndex: number | undefined;
|
|
1464
1616
|
readonly isByColor: boolean;
|
|
1465
1617
|
readonly isByACI: boolean;
|
|
1618
|
+
readonly isForeground: boolean;
|
|
1619
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
1466
1620
|
readonly isByLayer: boolean;
|
|
1467
1621
|
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1468
1622
|
readonly isByBlock: boolean;
|
|
@@ -1476,6 +1630,7 @@ export declare function useHover(): {
|
|
|
1476
1630
|
celtscale: number;
|
|
1477
1631
|
celweight: import('@mlightcad/data-model').AcGiLineWeight;
|
|
1478
1632
|
clayer: string;
|
|
1633
|
+
textstyle: string;
|
|
1479
1634
|
angBase: number;
|
|
1480
1635
|
angDir: number;
|
|
1481
1636
|
extmax: {
|
|
@@ -1933,8 +2088,10 @@ export declare function useHover(): {
|
|
|
1933
2088
|
};
|
|
1934
2089
|
pdmode: number;
|
|
1935
2090
|
pdsize: number;
|
|
2091
|
+
osmode: number;
|
|
1936
2092
|
read: (data: ArrayBuffer, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions, fileType?: import('@mlightcad/data-model').AcDbConverterType) => Promise<void>;
|
|
1937
2093
|
openUri: (url: string, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions) => Promise<void>;
|
|
2094
|
+
dxfOut: (_fileName?: string, precision?: number, version?: import('@mlightcad/data-model').AcDbDwgVersion | string | number, _saveThumbnailImage?: boolean) => string;
|
|
1938
2095
|
regen: () => Promise<void>;
|
|
1939
2096
|
createDefaultData: (options?: import('@mlightcad/data-model').AcDbCreateDefaultDataOptions) => void;
|
|
1940
2097
|
readonly attrs: {
|
|
@@ -1980,6 +2137,7 @@ export declare function useHover(): {
|
|
|
1980
2137
|
getAttrWithoutException: (attrName: string) => any;
|
|
1981
2138
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1982
2139
|
objectId: AcDbObjectId;
|
|
2140
|
+
readonly isTemp: any;
|
|
1983
2141
|
ownerId: AcDbObjectId;
|
|
1984
2142
|
extensionDictionary: AcDbObjectId | undefined;
|
|
1985
2143
|
database: /*elided*/ any;
|
|
@@ -1988,14 +2146,17 @@ export declare function useHover(): {
|
|
|
1988
2146
|
removeXData: (appId: string) => void;
|
|
1989
2147
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1990
2148
|
close: () => void;
|
|
2149
|
+
dxfOutFields: (_filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDatabase;
|
|
1991
2150
|
};
|
|
1992
2151
|
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
1993
2152
|
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
1994
2153
|
removeXData: (appId: string) => void;
|
|
1995
2154
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1996
2155
|
close: () => void;
|
|
2156
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1997
2157
|
} | null, AcDbEntity | {
|
|
1998
2158
|
readonly type: string;
|
|
2159
|
+
readonly dxfTypeName: string;
|
|
1999
2160
|
layer: string;
|
|
2000
2161
|
color: {
|
|
2001
2162
|
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
@@ -2009,9 +2170,40 @@ export declare function useHover(): {
|
|
|
2009
2170
|
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
2010
2171
|
readonly hexColor: string | undefined;
|
|
2011
2172
|
readonly cssColor: string | undefined;
|
|
2173
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
2012
2174
|
colorIndex: number | undefined;
|
|
2013
2175
|
readonly isByColor: boolean;
|
|
2014
2176
|
readonly isByACI: boolean;
|
|
2177
|
+
readonly isForeground: boolean;
|
|
2178
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
2179
|
+
readonly isByLayer: boolean;
|
|
2180
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
2181
|
+
readonly isByBlock: boolean;
|
|
2182
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
2183
|
+
colorName: string | undefined;
|
|
2184
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
2185
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
2186
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
2187
|
+
toString: () => string;
|
|
2188
|
+
};
|
|
2189
|
+
readonly resolvedColor: {
|
|
2190
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
2191
|
+
readonly red: number | undefined;
|
|
2192
|
+
readonly green: number | undefined;
|
|
2193
|
+
readonly blue: number | undefined;
|
|
2194
|
+
readonly RGB: number | undefined;
|
|
2195
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
2196
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
2197
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
2198
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
2199
|
+
readonly hexColor: string | undefined;
|
|
2200
|
+
readonly cssColor: string | undefined;
|
|
2201
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
2202
|
+
colorIndex: number | undefined;
|
|
2203
|
+
readonly isByColor: boolean;
|
|
2204
|
+
readonly isByACI: boolean;
|
|
2205
|
+
readonly isForeground: boolean;
|
|
2206
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
2015
2207
|
readonly isByLayer: boolean;
|
|
2016
2208
|
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
2017
2209
|
readonly isByBlock: boolean;
|
|
@@ -2042,6 +2234,7 @@ export declare function useHover(): {
|
|
|
2042
2234
|
equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
|
|
2043
2235
|
toString: () => string;
|
|
2044
2236
|
};
|
|
2237
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => AcDbEntity;
|
|
2045
2238
|
resolveEffectiveProperties: () => void;
|
|
2046
2239
|
readonly properties: {
|
|
2047
2240
|
type: string;
|
|
@@ -2395,7 +2588,7 @@ export declare function useHover(): {
|
|
|
2395
2588
|
worldDraw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
|
|
2396
2589
|
triggerModifiedEvent: () => void;
|
|
2397
2590
|
readonly lineStyle: {
|
|
2398
|
-
type: AcGiStyleType;
|
|
2591
|
+
type: import('@mlightcad/data-model').AcGiStyleType;
|
|
2399
2592
|
arrows?: {
|
|
2400
2593
|
firstArrow?: {
|
|
2401
2594
|
type: import('@mlightcad/data-model').AcGiArrowType;
|
|
@@ -2471,6 +2664,7 @@ export declare function useHover(): {
|
|
|
2471
2664
|
getAttrWithoutException: (attrName: string) => any;
|
|
2472
2665
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
2473
2666
|
objectId: AcDbObjectId;
|
|
2667
|
+
readonly isTemp: any;
|
|
2474
2668
|
ownerId: AcDbObjectId;
|
|
2475
2669
|
extensionDictionary: AcDbObjectId | undefined;
|
|
2476
2670
|
database: {
|
|
@@ -2543,6 +2737,7 @@ export declare function useHover(): {
|
|
|
2543
2737
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbRegAppTableRecord | undefined;
|
|
2544
2738
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbRegAppTableRecord | undefined;
|
|
2545
2739
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbRegAppTableRecord>;
|
|
2740
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbRegAppTable;
|
|
2546
2741
|
readonly attrs: {
|
|
2547
2742
|
attributes: {
|
|
2548
2743
|
[x: string]: any;
|
|
@@ -2586,6 +2781,7 @@ export declare function useHover(): {
|
|
|
2586
2781
|
getAttrWithoutException: (attrName: string) => any;
|
|
2587
2782
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
2588
2783
|
objectId: AcDbObjectId;
|
|
2784
|
+
readonly isTemp: any;
|
|
2589
2785
|
ownerId: AcDbObjectId;
|
|
2590
2786
|
extensionDictionary: AcDbObjectId | undefined;
|
|
2591
2787
|
database: /*elided*/ any;
|
|
@@ -2594,6 +2790,7 @@ export declare function useHover(): {
|
|
|
2594
2790
|
removeXData: (appId: string) => void;
|
|
2595
2791
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2596
2792
|
close: () => void;
|
|
2793
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
2597
2794
|
};
|
|
2598
2795
|
readonly blockTable: {
|
|
2599
2796
|
readonly modelSpace: {
|
|
@@ -2671,10 +2868,18 @@ export declare function useHover(): {
|
|
|
2671
2868
|
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
2672
2869
|
};
|
|
2673
2870
|
layoutId: AcDbObjectId;
|
|
2871
|
+
blockInsertUnits: import('@mlightcad/data-model').AcDbUnitsValue;
|
|
2872
|
+
explodability: number;
|
|
2873
|
+
blockScaling: import('@mlightcad/data-model').AcDbBlockScaling;
|
|
2874
|
+
bmpPreview: string | undefined;
|
|
2674
2875
|
appendEntity: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
2675
2876
|
removeEntity: (objectId: AcDbObjectId | AcDbObjectId[]) => boolean;
|
|
2676
2877
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<AcDbEntity>;
|
|
2677
2878
|
getIdAt: (id: AcDbObjectId) => AcDbEntity | undefined;
|
|
2879
|
+
dxfOutBlockRecord: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
2880
|
+
dxfOutBlockBegin: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
2881
|
+
dxfOutBlockEnd: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
2882
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
2678
2883
|
name: string;
|
|
2679
2884
|
readonly attrs: {
|
|
2680
2885
|
attributes: {
|
|
@@ -2721,6 +2926,7 @@ export declare function useHover(): {
|
|
|
2721
2926
|
getAttrWithoutException: (attrName: string) => any;
|
|
2722
2927
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
|
|
2723
2928
|
objectId: AcDbObjectId;
|
|
2929
|
+
readonly isTemp: any;
|
|
2724
2930
|
ownerId: AcDbObjectId;
|
|
2725
2931
|
extensionDictionary: AcDbObjectId | undefined;
|
|
2726
2932
|
database: /*elided*/ any;
|
|
@@ -2729,6 +2935,7 @@ export declare function useHover(): {
|
|
|
2729
2935
|
removeXData: (appId: string) => void;
|
|
2730
2936
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2731
2937
|
close: () => void;
|
|
2938
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
2732
2939
|
};
|
|
2733
2940
|
getEntityById: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbEntity | undefined;
|
|
2734
2941
|
removeEntity: (objectId: AcDbObjectId | AcDbObjectId[]) => boolean;
|
|
@@ -2743,6 +2950,7 @@ export declare function useHover(): {
|
|
|
2743
2950
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbBlockTableRecord | undefined;
|
|
2744
2951
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbBlockTableRecord | undefined;
|
|
2745
2952
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbBlockTableRecord>;
|
|
2953
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTable;
|
|
2746
2954
|
readonly attrs: {
|
|
2747
2955
|
attributes: {
|
|
2748
2956
|
[x: string]: any;
|
|
@@ -2786,6 +2994,7 @@ export declare function useHover(): {
|
|
|
2786
2994
|
getAttrWithoutException: (attrName: string) => any;
|
|
2787
2995
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
2788
2996
|
objectId: AcDbObjectId;
|
|
2997
|
+
readonly isTemp: any;
|
|
2789
2998
|
ownerId: AcDbObjectId;
|
|
2790
2999
|
extensionDictionary: AcDbObjectId | undefined;
|
|
2791
3000
|
database: /*elided*/ any;
|
|
@@ -2794,6 +3003,7 @@ export declare function useHover(): {
|
|
|
2794
3003
|
removeXData: (appId: string) => void;
|
|
2795
3004
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2796
3005
|
close: () => void;
|
|
3006
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
2797
3007
|
};
|
|
2798
3008
|
readonly dimStyleTable: {
|
|
2799
3009
|
readonly numEntries: number;
|
|
@@ -2807,6 +3017,7 @@ export declare function useHover(): {
|
|
|
2807
3017
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbDimStyleTableRecord | undefined;
|
|
2808
3018
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbDimStyleTableRecord | undefined;
|
|
2809
3019
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbDimStyleTableRecord>;
|
|
3020
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDimStyleTable;
|
|
2810
3021
|
readonly attrs: {
|
|
2811
3022
|
attributes: {
|
|
2812
3023
|
[x: string]: any;
|
|
@@ -2850,6 +3061,7 @@ export declare function useHover(): {
|
|
|
2850
3061
|
getAttrWithoutException: (attrName: string) => any;
|
|
2851
3062
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
2852
3063
|
objectId: AcDbObjectId;
|
|
3064
|
+
readonly isTemp: any;
|
|
2853
3065
|
ownerId: AcDbObjectId;
|
|
2854
3066
|
extensionDictionary: AcDbObjectId | undefined;
|
|
2855
3067
|
database: /*elided*/ any;
|
|
@@ -2858,6 +3070,7 @@ export declare function useHover(): {
|
|
|
2858
3070
|
removeXData: (appId: string) => void;
|
|
2859
3071
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2860
3072
|
close: () => void;
|
|
3073
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
2861
3074
|
};
|
|
2862
3075
|
readonly linetypeTable: {
|
|
2863
3076
|
readonly numEntries: number;
|
|
@@ -2871,6 +3084,7 @@ export declare function useHover(): {
|
|
|
2871
3084
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLinetypeTableRecord | undefined;
|
|
2872
3085
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLinetypeTableRecord | undefined;
|
|
2873
3086
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLinetypeTableRecord>;
|
|
3087
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbLinetypeTable;
|
|
2874
3088
|
readonly attrs: {
|
|
2875
3089
|
attributes: {
|
|
2876
3090
|
[x: string]: any;
|
|
@@ -2914,6 +3128,7 @@ export declare function useHover(): {
|
|
|
2914
3128
|
getAttrWithoutException: (attrName: string) => any;
|
|
2915
3129
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
2916
3130
|
objectId: AcDbObjectId;
|
|
3131
|
+
readonly isTemp: any;
|
|
2917
3132
|
ownerId: AcDbObjectId;
|
|
2918
3133
|
extensionDictionary: AcDbObjectId | undefined;
|
|
2919
3134
|
database: /*elided*/ any;
|
|
@@ -2922,6 +3137,7 @@ export declare function useHover(): {
|
|
|
2922
3137
|
removeXData: (appId: string) => void;
|
|
2923
3138
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2924
3139
|
close: () => void;
|
|
3140
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
2925
3141
|
};
|
|
2926
3142
|
readonly textStyleTable: {
|
|
2927
3143
|
readonly fonts: string[];
|
|
@@ -2936,6 +3152,74 @@ export declare function useHover(): {
|
|
|
2936
3152
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
|
|
2937
3153
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
|
|
2938
3154
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbTextStyleTableRecord>;
|
|
3155
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbTextStyleTable;
|
|
3156
|
+
readonly attrs: {
|
|
3157
|
+
attributes: {
|
|
3158
|
+
[x: string]: any;
|
|
3159
|
+
objectId?: AcDbObjectId | undefined;
|
|
3160
|
+
ownerId?: AcDbObjectId | undefined;
|
|
3161
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
3162
|
+
};
|
|
3163
|
+
changed: {
|
|
3164
|
+
[x: string]: any;
|
|
3165
|
+
objectId?: AcDbObjectId | undefined;
|
|
3166
|
+
ownerId?: AcDbObjectId | undefined;
|
|
3167
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
3168
|
+
};
|
|
3169
|
+
readonly events: {
|
|
3170
|
+
attrChanged: {
|
|
3171
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3172
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3173
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3174
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
3175
|
+
};
|
|
3176
|
+
modelChanged: {
|
|
3177
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3178
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3179
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3180
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
3181
|
+
};
|
|
3182
|
+
};
|
|
3183
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
3184
|
+
set: {
|
|
3185
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3186
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3187
|
+
};
|
|
3188
|
+
has: (key: string) => boolean;
|
|
3189
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
3190
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3191
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
3192
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3193
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3194
|
+
};
|
|
3195
|
+
getAttr: (attrName: string) => any;
|
|
3196
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
3197
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3198
|
+
objectId: AcDbObjectId;
|
|
3199
|
+
readonly isTemp: any;
|
|
3200
|
+
ownerId: AcDbObjectId;
|
|
3201
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
3202
|
+
database: /*elided*/ any;
|
|
3203
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
3204
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
3205
|
+
removeXData: (appId: string) => void;
|
|
3206
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3207
|
+
close: () => void;
|
|
3208
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3209
|
+
};
|
|
3210
|
+
readonly viewTable: {
|
|
3211
|
+
readonly numEntries: number;
|
|
3212
|
+
add: (record: import('@mlightcad/data-model').AcDbViewTableRecord) => void;
|
|
3213
|
+
remove: (name: string) => boolean;
|
|
3214
|
+
removeId: (id: AcDbObjectId) => boolean;
|
|
3215
|
+
removeAll: () => void;
|
|
3216
|
+
has: (name: string) => boolean;
|
|
3217
|
+
hasId: (id: string) => boolean;
|
|
3218
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
|
|
3219
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
|
|
3220
|
+
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewTableRecord | undefined;
|
|
3221
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewTableRecord>;
|
|
3222
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbViewTable;
|
|
2939
3223
|
readonly attrs: {
|
|
2940
3224
|
attributes: {
|
|
2941
3225
|
[x: string]: any;
|
|
@@ -2979,6 +3263,7 @@ export declare function useHover(): {
|
|
|
2979
3263
|
getAttrWithoutException: (attrName: string) => any;
|
|
2980
3264
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
2981
3265
|
objectId: AcDbObjectId;
|
|
3266
|
+
readonly isTemp: any;
|
|
2982
3267
|
ownerId: AcDbObjectId;
|
|
2983
3268
|
extensionDictionary: AcDbObjectId | undefined;
|
|
2984
3269
|
database: /*elided*/ any;
|
|
@@ -2987,6 +3272,7 @@ export declare function useHover(): {
|
|
|
2987
3272
|
removeXData: (appId: string) => void;
|
|
2988
3273
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2989
3274
|
close: () => void;
|
|
3275
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
2990
3276
|
};
|
|
2991
3277
|
readonly layerTable: {
|
|
2992
3278
|
add: (record: import('@mlightcad/data-model').AcDbLayerTableRecord) => void;
|
|
@@ -3000,6 +3286,7 @@ export declare function useHover(): {
|
|
|
3000
3286
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerTableRecord | undefined;
|
|
3001
3287
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerTableRecord | undefined;
|
|
3002
3288
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayerTableRecord>;
|
|
3289
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbLayerTable;
|
|
3003
3290
|
readonly attrs: {
|
|
3004
3291
|
attributes: {
|
|
3005
3292
|
[x: string]: any;
|
|
@@ -3043,6 +3330,7 @@ export declare function useHover(): {
|
|
|
3043
3330
|
getAttrWithoutException: (attrName: string) => any;
|
|
3044
3331
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3045
3332
|
objectId: AcDbObjectId;
|
|
3333
|
+
readonly isTemp: any;
|
|
3046
3334
|
ownerId: AcDbObjectId;
|
|
3047
3335
|
extensionDictionary: AcDbObjectId | undefined;
|
|
3048
3336
|
database: /*elided*/ any;
|
|
@@ -3051,6 +3339,7 @@ export declare function useHover(): {
|
|
|
3051
3339
|
removeXData: (appId: string) => void;
|
|
3052
3340
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3053
3341
|
close: () => void;
|
|
3342
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3054
3343
|
};
|
|
3055
3344
|
readonly viewportTable: {
|
|
3056
3345
|
readonly numEntries: number;
|
|
@@ -3064,6 +3353,7 @@ export declare function useHover(): {
|
|
|
3064
3353
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
|
|
3065
3354
|
getOwnerIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbViewportTableRecord | undefined;
|
|
3066
3355
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbViewportTableRecord>;
|
|
3356
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbViewportTable;
|
|
3067
3357
|
readonly attrs: {
|
|
3068
3358
|
attributes: {
|
|
3069
3359
|
[x: string]: any;
|
|
@@ -3107,6 +3397,7 @@ export declare function useHover(): {
|
|
|
3107
3397
|
getAttrWithoutException: (attrName: string) => any;
|
|
3108
3398
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3109
3399
|
objectId: AcDbObjectId;
|
|
3400
|
+
readonly isTemp: any;
|
|
3110
3401
|
ownerId: AcDbObjectId;
|
|
3111
3402
|
extensionDictionary: AcDbObjectId | undefined;
|
|
3112
3403
|
database: /*elided*/ any;
|
|
@@ -3115,6 +3406,7 @@ export declare function useHover(): {
|
|
|
3115
3406
|
removeXData: (appId: string) => void;
|
|
3116
3407
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3117
3408
|
close: () => void;
|
|
3409
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3118
3410
|
};
|
|
3119
3411
|
};
|
|
3120
3412
|
readonly objects: {
|
|
@@ -3129,6 +3421,8 @@ export declare function useHover(): {
|
|
|
3129
3421
|
getAt: (name: string) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>> | undefined;
|
|
3130
3422
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>> | undefined;
|
|
3131
3423
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>;
|
|
3424
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>]>;
|
|
3425
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbObject<import('@mlightcad/data-model').AcDbObjectAttrs>>>;
|
|
3132
3426
|
readonly attrs: {
|
|
3133
3427
|
attributes: {
|
|
3134
3428
|
[x: string]: any;
|
|
@@ -3172,6 +3466,7 @@ export declare function useHover(): {
|
|
|
3172
3466
|
getAttrWithoutException: (attrName: string) => any;
|
|
3173
3467
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3174
3468
|
objectId: AcDbObjectId;
|
|
3469
|
+
readonly isTemp: any;
|
|
3175
3470
|
ownerId: AcDbObjectId;
|
|
3176
3471
|
extensionDictionary: AcDbObjectId | undefined;
|
|
3177
3472
|
database: /*elided*/ any;
|
|
@@ -3180,6 +3475,7 @@ export declare function useHover(): {
|
|
|
3180
3475
|
removeXData: (appId: string) => void;
|
|
3181
3476
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3182
3477
|
close: () => void;
|
|
3478
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3183
3479
|
};
|
|
3184
3480
|
readonly imageDefinition: {
|
|
3185
3481
|
readonly numEntries: number;
|
|
@@ -3192,6 +3488,8 @@ export declare function useHover(): {
|
|
|
3192
3488
|
getAt: (name: string) => import('@mlightcad/data-model').AcDbRasterImageDef | undefined;
|
|
3193
3489
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbRasterImageDef | undefined;
|
|
3194
3490
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbRasterImageDef>;
|
|
3491
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbRasterImageDef]>;
|
|
3492
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>;
|
|
3195
3493
|
readonly attrs: {
|
|
3196
3494
|
attributes: {
|
|
3197
3495
|
[x: string]: any;
|
|
@@ -3235,6 +3533,7 @@ export declare function useHover(): {
|
|
|
3235
3533
|
getAttrWithoutException: (attrName: string) => any;
|
|
3236
3534
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3237
3535
|
objectId: AcDbObjectId;
|
|
3536
|
+
readonly isTemp: any;
|
|
3238
3537
|
ownerId: AcDbObjectId;
|
|
3239
3538
|
extensionDictionary: AcDbObjectId | undefined;
|
|
3240
3539
|
database: /*elided*/ any;
|
|
@@ -3243,6 +3542,7 @@ export declare function useHover(): {
|
|
|
3243
3542
|
removeXData: (appId: string) => void;
|
|
3244
3543
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3245
3544
|
close: () => void;
|
|
3545
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3246
3546
|
};
|
|
3247
3547
|
readonly layout: {
|
|
3248
3548
|
getBtrIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayout | undefined;
|
|
@@ -3257,6 +3557,8 @@ export declare function useHover(): {
|
|
|
3257
3557
|
getAt: (name: string) => import('@mlightcad/data-model').AcDbLayout | undefined;
|
|
3258
3558
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayout | undefined;
|
|
3259
3559
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayout>;
|
|
3560
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbLayout]>;
|
|
3561
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbLayoutDictionary;
|
|
3260
3562
|
readonly attrs: {
|
|
3261
3563
|
attributes: {
|
|
3262
3564
|
[x: string]: any;
|
|
@@ -3300,6 +3602,7 @@ export declare function useHover(): {
|
|
|
3300
3602
|
getAttrWithoutException: (attrName: string) => any;
|
|
3301
3603
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3302
3604
|
objectId: AcDbObjectId;
|
|
3605
|
+
readonly isTemp: any;
|
|
3303
3606
|
ownerId: AcDbObjectId;
|
|
3304
3607
|
extensionDictionary: AcDbObjectId | undefined;
|
|
3305
3608
|
database: /*elided*/ any;
|
|
@@ -3308,6 +3611,7 @@ export declare function useHover(): {
|
|
|
3308
3611
|
removeXData: (appId: string) => void;
|
|
3309
3612
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3310
3613
|
close: () => void;
|
|
3614
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3311
3615
|
};
|
|
3312
3616
|
readonly xrecord: {
|
|
3313
3617
|
readonly numEntries: number;
|
|
@@ -3320,6 +3624,8 @@ export declare function useHover(): {
|
|
|
3320
3624
|
getAt: (name: string) => import('@mlightcad/data-model').AcDbXrecord | undefined;
|
|
3321
3625
|
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbXrecord | undefined;
|
|
3322
3626
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbXrecord>;
|
|
3627
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbXrecord]>;
|
|
3628
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbXrecord>;
|
|
3323
3629
|
readonly attrs: {
|
|
3324
3630
|
attributes: {
|
|
3325
3631
|
[x: string]: any;
|
|
@@ -3363,6 +3669,7 @@ export declare function useHover(): {
|
|
|
3363
3669
|
getAttrWithoutException: (attrName: string) => any;
|
|
3364
3670
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3365
3671
|
objectId: AcDbObjectId;
|
|
3672
|
+
readonly isTemp: any;
|
|
3366
3673
|
ownerId: AcDbObjectId;
|
|
3367
3674
|
extensionDictionary: AcDbObjectId | undefined;
|
|
3368
3675
|
database: /*elided*/ any;
|
|
@@ -3371,8 +3678,12 @@ export declare function useHover(): {
|
|
|
3371
3678
|
removeXData: (appId: string) => void;
|
|
3372
3679
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3373
3680
|
close: () => void;
|
|
3681
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3374
3682
|
};
|
|
3375
3683
|
};
|
|
3684
|
+
generateHandle: () => AcDbObjectId;
|
|
3685
|
+
updateMaxHandle: (handle: string) => void;
|
|
3686
|
+
commitObjectHandle: (object: import('@mlightcad/data-model').AcDbObject, hasId?: (id: AcDbObjectId) => boolean) => void;
|
|
3376
3687
|
currentSpaceId: AcDbObjectId;
|
|
3377
3688
|
aunits: number;
|
|
3378
3689
|
version: {
|
|
@@ -3394,9 +3705,12 @@ export declare function useHover(): {
|
|
|
3394
3705
|
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
3395
3706
|
readonly hexColor: string | undefined;
|
|
3396
3707
|
readonly cssColor: string | undefined;
|
|
3708
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
3397
3709
|
colorIndex: number | undefined;
|
|
3398
3710
|
readonly isByColor: boolean;
|
|
3399
3711
|
readonly isByACI: boolean;
|
|
3712
|
+
readonly isForeground: boolean;
|
|
3713
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
3400
3714
|
readonly isByLayer: boolean;
|
|
3401
3715
|
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
3402
3716
|
readonly isByBlock: boolean;
|
|
@@ -3410,6 +3724,7 @@ export declare function useHover(): {
|
|
|
3410
3724
|
celtscale: number;
|
|
3411
3725
|
celweight: import('@mlightcad/data-model').AcGiLineWeight;
|
|
3412
3726
|
clayer: string;
|
|
3727
|
+
textstyle: string;
|
|
3413
3728
|
angBase: number;
|
|
3414
3729
|
angDir: number;
|
|
3415
3730
|
extmax: {
|
|
@@ -3867,8 +4182,10 @@ export declare function useHover(): {
|
|
|
3867
4182
|
};
|
|
3868
4183
|
pdmode: number;
|
|
3869
4184
|
pdsize: number;
|
|
4185
|
+
osmode: number;
|
|
3870
4186
|
read: (data: ArrayBuffer, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions, fileType?: import('@mlightcad/data-model').AcDbConverterType) => Promise<void>;
|
|
3871
4187
|
openUri: (url: string, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions) => Promise<void>;
|
|
4188
|
+
dxfOut: (_fileName?: string, precision?: number, version?: import('@mlightcad/data-model').AcDbDwgVersion | string | number, _saveThumbnailImage?: boolean) => string;
|
|
3872
4189
|
regen: () => Promise<void>;
|
|
3873
4190
|
createDefaultData: (options?: import('@mlightcad/data-model').AcDbCreateDefaultDataOptions) => void;
|
|
3874
4191
|
readonly attrs: {
|
|
@@ -3914,6 +4231,7 @@ export declare function useHover(): {
|
|
|
3914
4231
|
getAttrWithoutException: (attrName: string) => any;
|
|
3915
4232
|
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3916
4233
|
objectId: AcDbObjectId;
|
|
4234
|
+
readonly isTemp: any;
|
|
3917
4235
|
ownerId: AcDbObjectId;
|
|
3918
4236
|
extensionDictionary: AcDbObjectId | undefined;
|
|
3919
4237
|
database: /*elided*/ any;
|
|
@@ -3922,12 +4240,14 @@ export declare function useHover(): {
|
|
|
3922
4240
|
removeXData: (appId: string) => void;
|
|
3923
4241
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3924
4242
|
close: () => void;
|
|
4243
|
+
dxfOutFields: (_filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDatabase;
|
|
3925
4244
|
};
|
|
3926
4245
|
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
3927
4246
|
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
3928
4247
|
removeXData: (appId: string) => void;
|
|
3929
4248
|
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3930
4249
|
close: () => void;
|
|
4250
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3931
4251
|
} | null>;
|
|
3932
4252
|
id: import('vue').Ref<string | null, string | null>;
|
|
3933
4253
|
mouse: import('vue').Ref<{
|