@mlightcad/cad-viewer 1.5.6 → 1.5.8
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 +0 -1
- package/dist/app/register.d.ts +2 -2
- package/dist/app/register.d.ts.map +1 -1
- package/dist/app/store.d.ts +5 -0
- package/dist/app/store.d.ts.map +1 -1
- package/dist/cad-viewer.css +1 -1
- package/dist/cad-viewer.js +40835 -32646
- package/dist/command/AcApAttEditCmd.d.ts +14 -0
- package/dist/command/AcApAttEditCmd.d.ts.map +1 -0
- package/dist/command/AcApCountListCmd.d.ts +12 -0
- package/dist/command/AcApCountListCmd.d.ts.map +1 -0
- package/dist/command/AcApExportHtmlDlgCmd.d.ts +11 -0
- package/dist/command/AcApExportHtmlDlgCmd.d.ts.map +1 -0
- package/dist/command/AcApHatchRibbonCmd.d.ts.map +1 -1
- package/dist/command/AcApInsertPaletteCmd.d.ts +13 -0
- package/dist/command/AcApInsertPaletteCmd.d.ts.map +1 -0
- package/dist/command/AcApMemCmd.d.ts +11 -0
- package/dist/command/AcApMemCmd.d.ts.map +1 -0
- package/dist/command/AcApMissedDataCmd.d.ts +3 -0
- package/dist/command/AcApMissedDataCmd.d.ts.map +1 -1
- package/dist/command/AcApXrefCmd.d.ts +8 -0
- package/dist/command/AcApXrefCmd.d.ts.map +1 -0
- package/dist/command/index.d.ts +6 -0
- package/dist/command/index.d.ts.map +1 -1
- package/dist/component/MlCadViewer.vue.d.ts +6 -1
- package/dist/component/MlCadViewer.vue.d.ts.map +1 -1
- package/dist/component/common/MlBaseDialog.vue.d.ts +31 -12
- package/dist/component/common/MlBaseDialog.vue.d.ts.map +1 -1
- package/dist/component/common/MlBaseDrawStyleToolbar.vue.d.ts +5 -10
- package/dist/component/common/MlBaseDrawStyleToolbar.vue.d.ts.map +1 -1
- package/dist/component/common/MlBaseInputNumber.vue.d.ts.map +1 -1
- package/dist/component/common/MlBlockInsertGallery.vue.d.ts +37 -0
- package/dist/component/common/MlBlockInsertGallery.vue.d.ts.map +1 -0
- package/dist/component/common/MlColorDropdown.vue.d.ts.map +1 -1
- package/dist/component/common/MlColorIndexPicker.vue.d.ts.map +1 -1
- package/dist/component/common/MlColorPickerDropdown.vue.d.ts +7 -12
- package/dist/component/common/MlColorPickerDropdown.vue.d.ts.map +1 -1
- package/dist/component/common/MlColorPickerTabs.vue.d.ts +2 -2
- package/dist/component/common/MlColorPickerTabs.vue.d.ts.map +1 -1
- package/dist/component/common/MlDialogManager.vue.d.ts.map +1 -1
- package/dist/component/common/MlFieldsetGroup.vue.d.ts +5 -10
- package/dist/component/common/MlFieldsetGroup.vue.d.ts.map +1 -1
- package/dist/component/common/MlFontFileReader.vue.d.ts.map +1 -1
- package/dist/component/common/MlHatchPatternDropdown.vue.d.ts +1 -1
- package/dist/component/common/MlHatchPatternDropdown.vue.d.ts.map +1 -1
- package/dist/component/common/MlHatchPatternPanel.vue.d.ts.map +1 -1
- package/dist/component/common/MlLayerSelect.vue.d.ts +1 -1
- package/dist/component/common/MlLayerSelect.vue.d.ts.map +1 -1
- package/dist/component/common/MlLayerTable.d.ts +7 -0
- package/dist/component/common/MlLayerTable.d.ts.map +1 -0
- package/dist/component/common/MlLayerTable.vue.d.ts +89 -0
- package/dist/component/common/MlLayerTable.vue.d.ts.map +1 -0
- package/dist/component/common/MlLineTypeSelect.vue.d.ts +1 -1
- package/dist/component/common/MlLineTypeSelect.vue.d.ts.map +1 -1
- package/dist/component/common/MlLineWeightSelect.vue.d.ts +1 -1
- package/dist/component/common/MlLineWeightSelect.vue.d.ts.map +1 -1
- package/dist/component/common/MlSysVarToggleButton.vue.d.ts.map +1 -1
- package/dist/component/common/MlToggleButton.vue.d.ts +3 -3
- package/dist/component/common/MlToggleButton.vue.d.ts.map +1 -1
- package/dist/component/common/index.d.ts +3 -1
- package/dist/component/common/index.d.ts.map +1 -1
- package/dist/component/dialog/MlAttEditDlg.vue.d.ts +19 -0
- package/dist/component/dialog/MlAttEditDlg.vue.d.ts.map +1 -0
- package/dist/component/dialog/MlCharacterMapDialog.vue.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/dialog/MlDrawingUnitsDlg.vue.d.ts.map +1 -1
- package/dist/component/dialog/MlExportHtmlDlg.vue.d.ts +57 -0
- package/dist/component/dialog/MlExportHtmlDlg.vue.d.ts.map +1 -0
- package/dist/component/dialog/MlPointStyleDlg.vue.d.ts.map +1 -1
- package/dist/component/dialog/MlQuickSelectDlg.vue.d.ts.map +1 -1
- package/dist/component/dialog/MlTextStyleDlg.vue.d.ts.map +1 -1
- package/dist/component/dialog/index.d.ts +2 -1
- package/dist/component/dialog/index.d.ts.map +1 -1
- package/dist/component/layout/MlEntityDrawStyleToolbar.vue.d.ts.map +1 -1
- package/dist/component/layout/MlLanguageSelector.vue.d.ts.map +1 -1
- package/dist/component/layout/MlLayerDrawStyleToolbar.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/notification/MlNotificationCenter.vue.d.ts.map +1 -1
- package/dist/component/notification/MlNotificationItem.vue.d.ts.map +1 -1
- package/dist/component/{dialog/MlReplacementDlg.vue.d.ts → palette/MlBlocksPalette.vue.d.ts} +1 -1
- package/dist/component/palette/MlBlocksPalette.vue.d.ts.map +1 -0
- package/dist/component/palette/MlCountList.vue.d.ts +3 -0
- package/dist/component/palette/MlCountList.vue.d.ts.map +1 -0
- package/dist/component/palette/MlEntityProperties.vue.d.ts.map +1 -1
- package/dist/component/palette/MlExternalReferences.vue.d.ts +3 -0
- package/dist/component/palette/MlExternalReferences.vue.d.ts.map +1 -0
- package/dist/component/palette/MlLayerList.vue.d.ts.map +1 -1
- package/dist/component/palette/MlMemoryProfile.vue.d.ts +3 -0
- package/dist/component/palette/MlMemoryProfile.vue.d.ts.map +1 -0
- package/dist/component/palette/MlMissingResources.vue.d.ts +3 -0
- package/dist/component/palette/MlMissingResources.vue.d.ts.map +1 -0
- package/dist/component/palette/MlPaletteManager.vue.d.ts.map +1 -1
- package/dist/component/palette/index.d.ts +5 -0
- package/dist/component/palette/index.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonCommands.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonFileName.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonFontSelect.vue.d.ts +1 -1
- package/dist/component/ribbon/MlRibbonFontSelect.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonHatchColorRow2.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonHatchColorRow3.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonHatchPatternButton.vue.d.ts +1 -1
- package/dist/component/ribbon/MlRibbonHatchPatternButton.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonLanguageSelector.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonMTextHeightSelect.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonPropertyColorDropdown.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonPropertyField.vue.d.ts +5 -10
- package/dist/component/ribbon/MlRibbonPropertyField.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonPropertyLineTypeSelect.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonPropertyLineWeightSelect.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlFullScreenButton.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlNotificationButton.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlOsnapButton.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlPointStyleButton.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlPolarTrackingButton.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlProgress.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlSettingButton.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlStatusBar.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlThemeButton.vue.d.ts.map +1 -1
- package/dist/component/statusBar/MlWarningButton.vue.d.ts.map +1 -1
- package/dist/composable/index.d.ts +7 -0
- package/dist/composable/index.d.ts.map +1 -1
- package/dist/composable/openMissingResourcesPalette.d.ts +11 -0
- package/dist/composable/openMissingResourcesPalette.d.ts.map +1 -0
- package/dist/composable/useAttEdit.d.ts +37 -0
- package/dist/composable/useAttEdit.d.ts.map +1 -0
- package/dist/composable/useCountList.d.ts +50 -0
- package/dist/composable/useCountList.d.ts.map +1 -0
- package/dist/composable/useDocument.d.ts +10 -2
- package/dist/composable/useDocument.d.ts.map +1 -1
- package/dist/composable/useHover.d.ts +1316 -72
- package/dist/composable/useHover.d.ts.map +1 -1
- package/dist/composable/useInsertableBlocks.d.ts +43 -0
- package/dist/composable/useInsertableBlocks.d.ts.map +1 -0
- package/dist/composable/useIsMobile.d.ts.map +1 -1
- package/dist/composable/useLayerFilters.d.ts +45 -0
- package/dist/composable/useLayerFilters.d.ts.map +1 -0
- package/dist/composable/useLayers.d.ts +73 -12
- package/dist/composable/useLayers.d.ts.map +1 -1
- package/dist/composable/useLocale.d.ts +3 -0
- package/dist/composable/useLocale.d.ts.map +1 -1
- package/dist/composable/useMemoryProfile.d.ts +586 -0
- package/dist/composable/useMemoryProfile.d.ts.map +1 -0
- package/dist/composable/useMissedData.d.ts +29 -45
- package/dist/composable/useMissedData.d.ts.map +1 -1
- package/dist/composable/useUndoRedo.d.ts +19 -0
- package/dist/composable/useUndoRedo.d.ts.map +1 -0
- package/dist/locale/en/command.d.ts +12 -0
- package/dist/locale/en/command.d.ts.map +1 -1
- package/dist/locale/en/dialog.d.ts +67 -12
- package/dist/locale/en/dialog.d.ts.map +1 -1
- package/dist/locale/en/main.d.ts +227 -0
- package/dist/locale/en/main.d.ts.map +1 -1
- package/dist/locale/i18n.d.ts.map +1 -1
- package/dist/locale/tr/command.d.ts +43 -0
- package/dist/locale/tr/command.d.ts.map +1 -0
- package/dist/locale/tr/dialog.d.ts +199 -0
- package/dist/locale/tr/dialog.d.ts.map +1 -0
- package/dist/locale/tr/entity.d.ts +333 -0
- package/dist/locale/tr/entity.d.ts.map +1 -0
- package/dist/locale/tr/main.d.ts +816 -0
- package/dist/locale/tr/main.d.ts.map +1 -0
- package/dist/locale/zh/command.d.ts +12 -0
- package/dist/locale/zh/command.d.ts.map +1 -1
- package/dist/locale/zh/dialog.d.ts +67 -12
- package/dist/locale/zh/dialog.d.ts.map +1 -1
- package/dist/locale/zh/main.d.ts +227 -0
- package/dist/locale/zh/main.d.ts.map +1 -1
- package/dist/svg/index.d.ts +5 -0
- package/dist/svg/index.d.ts.map +1 -1
- package/dist/svg/layer/index.d.ts +7 -0
- package/dist/svg/layer/index.d.ts.map +1 -1
- package/dist/util/openFileErrorMessage.d.ts +14 -0
- package/dist/util/openFileErrorMessage.d.ts.map +1 -0
- package/package.json +22 -17
- package/dist/component/common/MlFileReader.vue.d.ts +0 -7
- package/dist/component/common/MlFileReader.vue.d.ts.map +0 -1
- package/dist/component/dialog/MlReplacementDlg.vue.d.ts.map +0 -1
|
@@ -492,7 +492,6 @@ export declare function useHover(): {
|
|
|
492
492
|
erase: () => boolean;
|
|
493
493
|
subWorldDraw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
|
|
494
494
|
worldDraw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
|
|
495
|
-
triggerModifiedEvent: () => void;
|
|
496
495
|
readonly lineStyle: {
|
|
497
496
|
type: import('@mlightcad/data-model').AcGiStyleType;
|
|
498
497
|
name: string;
|
|
@@ -565,6 +564,7 @@ export declare function useHover(): {
|
|
|
565
564
|
hasTransaction: () => boolean;
|
|
566
565
|
isRecording: () => boolean;
|
|
567
566
|
isApplyingUndoRedo: () => boolean;
|
|
567
|
+
isOpenedForWriteInTransaction: (objectId: string) => boolean;
|
|
568
568
|
commitTransaction: () => void;
|
|
569
569
|
abortTransaction: () => void;
|
|
570
570
|
startUndoMark: (label?: string) => void;
|
|
@@ -582,6 +582,8 @@ export declare function useHover(): {
|
|
|
582
582
|
objectId: string;
|
|
583
583
|
}) => string;
|
|
584
584
|
runUndoable: <T>(label: string, fn: (tr: import('@mlightcad/data-model').AcDbDatabaseTransaction) => T) => T;
|
|
585
|
+
flushPendingLayerModifiedEvents: () => void;
|
|
586
|
+
flushPendingEntityModifiedEvents: () => void;
|
|
585
587
|
};
|
|
586
588
|
readonly events: {
|
|
587
589
|
dictObjetSet: {
|
|
@@ -638,6 +640,12 @@ export declare function useHover(): {
|
|
|
638
640
|
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbProgressdEventArgs) => void) => void;
|
|
639
641
|
dispatch: (payload?: import('@mlightcad/data-model').AcDbProgressdEventArgs | undefined, ...args: unknown[]) => void;
|
|
640
642
|
};
|
|
643
|
+
openFailed: {
|
|
644
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbOpenFailedEventArgs) => void) => void;
|
|
645
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbOpenFailedEventArgs) => void) => void;
|
|
646
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbOpenFailedEventArgs) => void) => void;
|
|
647
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcDbOpenFailedEventArgs | undefined, ...args: unknown[]) => void;
|
|
648
|
+
};
|
|
641
649
|
};
|
|
642
650
|
readonly tables: {
|
|
643
651
|
readonly appIdTable: {
|
|
@@ -786,22 +794,251 @@ export declare function useHover(): {
|
|
|
786
794
|
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
787
795
|
};
|
|
788
796
|
layoutId: AcDbObjectId;
|
|
797
|
+
flags: number;
|
|
798
|
+
pathName: string;
|
|
799
|
+
readonly isXref: boolean;
|
|
800
|
+
readonly isOverlayReference: boolean;
|
|
801
|
+
readonly isUnresolvedXref: boolean;
|
|
789
802
|
blockInsertUnits: import('@mlightcad/data-model').AcDbUnitsValue;
|
|
790
803
|
explodability: number;
|
|
791
804
|
blockScaling: import('@mlightcad/data-model').AcDbBlockScaling;
|
|
792
|
-
|
|
805
|
+
previewIcon: {
|
|
806
|
+
[x: number]: number;
|
|
807
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
808
|
+
readonly buffer: {
|
|
809
|
+
readonly byteLength: number;
|
|
810
|
+
slice: (begin?: number, end?: number) => ArrayBuffer;
|
|
811
|
+
readonly maxByteLength: number;
|
|
812
|
+
readonly resizable: boolean;
|
|
813
|
+
resize: (newByteLength?: number) => void;
|
|
814
|
+
readonly detached: boolean;
|
|
815
|
+
transfer: (newByteLength?: number) => ArrayBuffer;
|
|
816
|
+
transferToFixedLength: (newByteLength?: number) => ArrayBuffer;
|
|
817
|
+
readonly [Symbol.toStringTag]: "ArrayBuffer";
|
|
818
|
+
} | {
|
|
819
|
+
readonly byteLength: number;
|
|
820
|
+
slice: (begin?: number, end?: number) => SharedArrayBuffer;
|
|
821
|
+
readonly growable: boolean;
|
|
822
|
+
readonly maxByteLength: number;
|
|
823
|
+
grow: (newByteLength?: number) => void;
|
|
824
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
825
|
+
};
|
|
826
|
+
readonly byteLength: number;
|
|
827
|
+
readonly byteOffset: number;
|
|
828
|
+
copyWithin: (target: number, start: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
829
|
+
every: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
830
|
+
fill: (value: number, start?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
831
|
+
filter: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => any, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
832
|
+
find: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number | undefined;
|
|
833
|
+
findIndex: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number;
|
|
834
|
+
forEach: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => void, thisArg?: any) => void;
|
|
835
|
+
indexOf: (searchElement: number, fromIndex?: number) => number;
|
|
836
|
+
join: (separator?: string) => string;
|
|
837
|
+
lastIndexOf: (searchElement: number, fromIndex?: number) => number;
|
|
838
|
+
readonly length: number;
|
|
839
|
+
map: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => number, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
840
|
+
reduce: {
|
|
841
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
842
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
843
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
844
|
+
};
|
|
845
|
+
reduceRight: {
|
|
846
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
847
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
848
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
849
|
+
};
|
|
850
|
+
reverse: () => Uint8Array<ArrayBufferLike>;
|
|
851
|
+
set: (array: ArrayLike<number>, offset?: number) => void;
|
|
852
|
+
slice: (start?: number, end?: number) => Uint8Array<ArrayBuffer>;
|
|
853
|
+
some: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
854
|
+
sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBufferLike>;
|
|
855
|
+
subarray: (begin?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
856
|
+
toLocaleString: {
|
|
857
|
+
(): string;
|
|
858
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
859
|
+
};
|
|
860
|
+
toString: () => string;
|
|
861
|
+
valueOf: () => Uint8Array<ArrayBufferLike>;
|
|
862
|
+
entries: () => ArrayIterator<[number, number]>;
|
|
863
|
+
keys: () => ArrayIterator<number>;
|
|
864
|
+
values: () => ArrayIterator<number>;
|
|
865
|
+
includes: (searchElement: number, fromIndex?: number) => boolean;
|
|
866
|
+
at: (index: number) => number | undefined;
|
|
867
|
+
findLast: {
|
|
868
|
+
<S extends number>(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => value is S, thisArg?: any): S | undefined;
|
|
869
|
+
(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any): number | undefined;
|
|
870
|
+
};
|
|
871
|
+
findLastIndex: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => number;
|
|
872
|
+
toReversed: () => Uint8Array<ArrayBuffer>;
|
|
873
|
+
toSorted: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBuffer>;
|
|
874
|
+
with: (index: number, value: number) => Uint8Array<ArrayBuffer>;
|
|
875
|
+
[Symbol.iterator]: () => ArrayIterator<number>;
|
|
876
|
+
readonly [Symbol.toStringTag]: "Uint8Array";
|
|
877
|
+
} | undefined;
|
|
793
878
|
appendEntity: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
794
879
|
removeEntity: (objectId: AcDbObjectId | AcDbObjectId[]) => boolean;
|
|
795
880
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<AcDbEntity>;
|
|
796
881
|
getIdAt: (id: AcDbObjectId) => AcDbEntity | undefined;
|
|
882
|
+
hasEntityId: (id: AcDbObjectId) => boolean;
|
|
797
883
|
dxfOutBlockRecord: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
798
884
|
dxfOutBlockBegin: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
799
885
|
dxfOutBlockEnd: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
800
886
|
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
801
887
|
name: string;
|
|
888
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined) => void;
|
|
802
889
|
readonly attrs: {
|
|
803
890
|
attributes: {
|
|
804
891
|
[x: string]: any;
|
|
892
|
+
origin?: {
|
|
893
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
894
|
+
x: number;
|
|
895
|
+
y: number;
|
|
896
|
+
z: number;
|
|
897
|
+
set: (x: number, y: number, z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
898
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
899
|
+
setX: (x: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
900
|
+
setY: (y: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
901
|
+
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
902
|
+
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
903
|
+
getComponent: (index: number) => number;
|
|
904
|
+
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
905
|
+
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
906
|
+
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
907
|
+
addVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
908
|
+
addScaledVector: (v: import('@mlightcad/data-model').AcGeVector3dLike, s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
909
|
+
sub: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
910
|
+
subScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
911
|
+
subVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
912
|
+
multiply: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
913
|
+
multiplyScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
914
|
+
multiplyVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
915
|
+
applyEuler: (euler: import('@mlightcad/data-model').AcGeEuler) => import('@mlightcad/data-model').AcGePoint3d;
|
|
916
|
+
applyAxisAngle: (axis: import('@mlightcad/data-model').AcGeVector3dLike, angle: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
917
|
+
applyMatrix3: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
918
|
+
applyNormalMatrix: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
919
|
+
applyMatrix4: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
920
|
+
applyQuaternion: (q: import('@mlightcad/data-model').AcGeQuaternion) => import('@mlightcad/data-model').AcGePoint3d;
|
|
921
|
+
transformDirection: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
922
|
+
divide: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
923
|
+
divideScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
924
|
+
min: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
925
|
+
max: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
926
|
+
clamp: (min: import('@mlightcad/data-model').AcGeVector3dLike, max: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
927
|
+
clampScalar: (minVal: number, maxVal: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
928
|
+
clampLength: (min: number, max: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
929
|
+
floor: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
930
|
+
ceil: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
931
|
+
round: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
932
|
+
roundToZero: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
933
|
+
negate: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
934
|
+
dot: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
935
|
+
isParallelTo: (vec: import('@mlightcad/data-model').AcGeVector3d) => boolean;
|
|
936
|
+
lengthSq: () => number;
|
|
937
|
+
length: () => number;
|
|
938
|
+
manhattanLength: () => number;
|
|
939
|
+
normalize: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
940
|
+
setLength: (l: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
941
|
+
lerp: (v: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
942
|
+
lerpVectors: (v1: import('@mlightcad/data-model').AcGeVector3dLike, v2: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
943
|
+
cross: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
944
|
+
crossVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
945
|
+
projectOnVector: (v: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
946
|
+
projectOnPlane: (planeNormal: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
947
|
+
reflect: (normal: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
948
|
+
angleTo: (v: import('@mlightcad/data-model').AcGeVector3d) => number;
|
|
949
|
+
distanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
950
|
+
distanceToSquared: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
951
|
+
manhattanDistanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
952
|
+
setFromMatrixPosition: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
953
|
+
setFromMatrixScale: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
954
|
+
setFromMatrixColumn: (m: import('@mlightcad/data-model').AcGeMatrix3d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
955
|
+
setFromMatrix3Column: (m: import('@mlightcad/data-model').AcGeMatrix2d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
956
|
+
equals: (v: import('@mlightcad/data-model').AcGeVector3dLike) => boolean;
|
|
957
|
+
fromArray: (array: number[], offset?: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
958
|
+
toArray: (array?: number[] | Float32Array, offset?: number) => number[] | Float32Array;
|
|
959
|
+
random: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
960
|
+
randomDirection: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
961
|
+
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
962
|
+
} | undefined;
|
|
963
|
+
layoutId?: string | undefined;
|
|
964
|
+
blockInsertUnits?: import('@mlightcad/data-model').AcDbUnitsValue | undefined;
|
|
965
|
+
explodability?: number | undefined;
|
|
966
|
+
blockScaling?: import('@mlightcad/data-model').AcDbBlockScaling | undefined;
|
|
967
|
+
flags?: number | undefined;
|
|
968
|
+
pathName?: string | undefined;
|
|
969
|
+
previewIcon?: {
|
|
970
|
+
[x: number]: number;
|
|
971
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
972
|
+
readonly buffer: {
|
|
973
|
+
readonly byteLength: number;
|
|
974
|
+
slice: (begin?: number, end?: number) => ArrayBuffer;
|
|
975
|
+
readonly maxByteLength: number;
|
|
976
|
+
readonly resizable: boolean;
|
|
977
|
+
resize: (newByteLength?: number) => void;
|
|
978
|
+
readonly detached: boolean;
|
|
979
|
+
transfer: (newByteLength?: number) => ArrayBuffer;
|
|
980
|
+
transferToFixedLength: (newByteLength?: number) => ArrayBuffer;
|
|
981
|
+
readonly [Symbol.toStringTag]: "ArrayBuffer";
|
|
982
|
+
} | {
|
|
983
|
+
readonly byteLength: number;
|
|
984
|
+
slice: (begin?: number, end?: number) => SharedArrayBuffer;
|
|
985
|
+
readonly growable: boolean;
|
|
986
|
+
readonly maxByteLength: number;
|
|
987
|
+
grow: (newByteLength?: number) => void;
|
|
988
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
989
|
+
};
|
|
990
|
+
readonly byteLength: number;
|
|
991
|
+
readonly byteOffset: number;
|
|
992
|
+
copyWithin: (target: number, start: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
993
|
+
every: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
994
|
+
fill: (value: number, start?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
995
|
+
filter: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => any, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
996
|
+
find: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number | undefined;
|
|
997
|
+
findIndex: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number;
|
|
998
|
+
forEach: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => void, thisArg?: any) => void;
|
|
999
|
+
indexOf: (searchElement: number, fromIndex?: number) => number;
|
|
1000
|
+
join: (separator?: string) => string;
|
|
1001
|
+
lastIndexOf: (searchElement: number, fromIndex?: number) => number;
|
|
1002
|
+
readonly length: number;
|
|
1003
|
+
map: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => number, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
1004
|
+
reduce: {
|
|
1005
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
1006
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
1007
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
1008
|
+
};
|
|
1009
|
+
reduceRight: {
|
|
1010
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
1011
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
1012
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
1013
|
+
};
|
|
1014
|
+
reverse: () => Uint8Array<ArrayBufferLike>;
|
|
1015
|
+
set: (array: ArrayLike<number>, offset?: number) => void;
|
|
1016
|
+
slice: (start?: number, end?: number) => Uint8Array<ArrayBuffer>;
|
|
1017
|
+
some: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
1018
|
+
sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBufferLike>;
|
|
1019
|
+
subarray: (begin?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
1020
|
+
toLocaleString: {
|
|
1021
|
+
(): string;
|
|
1022
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
1023
|
+
};
|
|
1024
|
+
toString: () => string;
|
|
1025
|
+
valueOf: () => Uint8Array<ArrayBufferLike>;
|
|
1026
|
+
entries: () => ArrayIterator<[number, number]>;
|
|
1027
|
+
keys: () => ArrayIterator<number>;
|
|
1028
|
+
values: () => ArrayIterator<number>;
|
|
1029
|
+
includes: (searchElement: number, fromIndex?: number) => boolean;
|
|
1030
|
+
at: (index: number) => number | undefined;
|
|
1031
|
+
findLast: {
|
|
1032
|
+
<S extends number>(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => value is S, thisArg?: any): S | undefined;
|
|
1033
|
+
(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any): number | undefined;
|
|
1034
|
+
};
|
|
1035
|
+
findLastIndex: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => number;
|
|
1036
|
+
toReversed: () => Uint8Array<ArrayBuffer>;
|
|
1037
|
+
toSorted: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBuffer>;
|
|
1038
|
+
with: (index: number, value: number) => Uint8Array<ArrayBuffer>;
|
|
1039
|
+
[Symbol.iterator]: () => ArrayIterator<number>;
|
|
1040
|
+
readonly [Symbol.toStringTag]: "Uint8Array";
|
|
1041
|
+
} | undefined;
|
|
805
1042
|
name?: string | undefined;
|
|
806
1043
|
objectId?: AcDbObjectId | undefined;
|
|
807
1044
|
ownerId?: AcDbObjectId | undefined;
|
|
@@ -809,6 +1046,156 @@ export declare function useHover(): {
|
|
|
809
1046
|
};
|
|
810
1047
|
changed: {
|
|
811
1048
|
[x: string]: any;
|
|
1049
|
+
origin?: {
|
|
1050
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1051
|
+
x: number;
|
|
1052
|
+
y: number;
|
|
1053
|
+
z: number;
|
|
1054
|
+
set: (x: number, y: number, z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1055
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1056
|
+
setX: (x: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1057
|
+
setY: (y: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1058
|
+
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1059
|
+
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1060
|
+
getComponent: (index: number) => number;
|
|
1061
|
+
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1062
|
+
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1063
|
+
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1064
|
+
addVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1065
|
+
addScaledVector: (v: import('@mlightcad/data-model').AcGeVector3dLike, s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1066
|
+
sub: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1067
|
+
subScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1068
|
+
subVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1069
|
+
multiply: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1070
|
+
multiplyScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1071
|
+
multiplyVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1072
|
+
applyEuler: (euler: import('@mlightcad/data-model').AcGeEuler) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1073
|
+
applyAxisAngle: (axis: import('@mlightcad/data-model').AcGeVector3dLike, angle: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1074
|
+
applyMatrix3: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1075
|
+
applyNormalMatrix: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1076
|
+
applyMatrix4: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1077
|
+
applyQuaternion: (q: import('@mlightcad/data-model').AcGeQuaternion) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1078
|
+
transformDirection: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1079
|
+
divide: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1080
|
+
divideScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1081
|
+
min: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1082
|
+
max: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1083
|
+
clamp: (min: import('@mlightcad/data-model').AcGeVector3dLike, max: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1084
|
+
clampScalar: (minVal: number, maxVal: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1085
|
+
clampLength: (min: number, max: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1086
|
+
floor: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1087
|
+
ceil: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1088
|
+
round: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1089
|
+
roundToZero: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1090
|
+
negate: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1091
|
+
dot: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
1092
|
+
isParallelTo: (vec: import('@mlightcad/data-model').AcGeVector3d) => boolean;
|
|
1093
|
+
lengthSq: () => number;
|
|
1094
|
+
length: () => number;
|
|
1095
|
+
manhattanLength: () => number;
|
|
1096
|
+
normalize: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1097
|
+
setLength: (l: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1098
|
+
lerp: (v: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1099
|
+
lerpVectors: (v1: import('@mlightcad/data-model').AcGeVector3dLike, v2: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1100
|
+
cross: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1101
|
+
crossVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1102
|
+
projectOnVector: (v: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1103
|
+
projectOnPlane: (planeNormal: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1104
|
+
reflect: (normal: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1105
|
+
angleTo: (v: import('@mlightcad/data-model').AcGeVector3d) => number;
|
|
1106
|
+
distanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
1107
|
+
distanceToSquared: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
1108
|
+
manhattanDistanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
1109
|
+
setFromMatrixPosition: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1110
|
+
setFromMatrixScale: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1111
|
+
setFromMatrixColumn: (m: import('@mlightcad/data-model').AcGeMatrix3d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1112
|
+
setFromMatrix3Column: (m: import('@mlightcad/data-model').AcGeMatrix2d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1113
|
+
equals: (v: import('@mlightcad/data-model').AcGeVector3dLike) => boolean;
|
|
1114
|
+
fromArray: (array: number[], offset?: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
1115
|
+
toArray: (array?: number[] | Float32Array, offset?: number) => number[] | Float32Array;
|
|
1116
|
+
random: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1117
|
+
randomDirection: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1118
|
+
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
1119
|
+
} | undefined;
|
|
1120
|
+
layoutId?: string | undefined;
|
|
1121
|
+
blockInsertUnits?: import('@mlightcad/data-model').AcDbUnitsValue | undefined;
|
|
1122
|
+
explodability?: number | undefined;
|
|
1123
|
+
blockScaling?: import('@mlightcad/data-model').AcDbBlockScaling | undefined;
|
|
1124
|
+
flags?: number | undefined;
|
|
1125
|
+
pathName?: string | undefined;
|
|
1126
|
+
previewIcon?: {
|
|
1127
|
+
[x: number]: number;
|
|
1128
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
1129
|
+
readonly buffer: {
|
|
1130
|
+
readonly byteLength: number;
|
|
1131
|
+
slice: (begin?: number, end?: number) => ArrayBuffer;
|
|
1132
|
+
readonly maxByteLength: number;
|
|
1133
|
+
readonly resizable: boolean;
|
|
1134
|
+
resize: (newByteLength?: number) => void;
|
|
1135
|
+
readonly detached: boolean;
|
|
1136
|
+
transfer: (newByteLength?: number) => ArrayBuffer;
|
|
1137
|
+
transferToFixedLength: (newByteLength?: number) => ArrayBuffer;
|
|
1138
|
+
readonly [Symbol.toStringTag]: "ArrayBuffer";
|
|
1139
|
+
} | {
|
|
1140
|
+
readonly byteLength: number;
|
|
1141
|
+
slice: (begin?: number, end?: number) => SharedArrayBuffer;
|
|
1142
|
+
readonly growable: boolean;
|
|
1143
|
+
readonly maxByteLength: number;
|
|
1144
|
+
grow: (newByteLength?: number) => void;
|
|
1145
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
1146
|
+
};
|
|
1147
|
+
readonly byteLength: number;
|
|
1148
|
+
readonly byteOffset: number;
|
|
1149
|
+
copyWithin: (target: number, start: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
1150
|
+
every: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
1151
|
+
fill: (value: number, start?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
1152
|
+
filter: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => any, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
1153
|
+
find: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number | undefined;
|
|
1154
|
+
findIndex: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number;
|
|
1155
|
+
forEach: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => void, thisArg?: any) => void;
|
|
1156
|
+
indexOf: (searchElement: number, fromIndex?: number) => number;
|
|
1157
|
+
join: (separator?: string) => string;
|
|
1158
|
+
lastIndexOf: (searchElement: number, fromIndex?: number) => number;
|
|
1159
|
+
readonly length: number;
|
|
1160
|
+
map: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => number, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
1161
|
+
reduce: {
|
|
1162
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
1163
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
1164
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
1165
|
+
};
|
|
1166
|
+
reduceRight: {
|
|
1167
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
1168
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
1169
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
1170
|
+
};
|
|
1171
|
+
reverse: () => Uint8Array<ArrayBufferLike>;
|
|
1172
|
+
set: (array: ArrayLike<number>, offset?: number) => void;
|
|
1173
|
+
slice: (start?: number, end?: number) => Uint8Array<ArrayBuffer>;
|
|
1174
|
+
some: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
1175
|
+
sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBufferLike>;
|
|
1176
|
+
subarray: (begin?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
1177
|
+
toLocaleString: {
|
|
1178
|
+
(): string;
|
|
1179
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
1180
|
+
};
|
|
1181
|
+
toString: () => string;
|
|
1182
|
+
valueOf: () => Uint8Array<ArrayBufferLike>;
|
|
1183
|
+
entries: () => ArrayIterator<[number, number]>;
|
|
1184
|
+
keys: () => ArrayIterator<number>;
|
|
1185
|
+
values: () => ArrayIterator<number>;
|
|
1186
|
+
includes: (searchElement: number, fromIndex?: number) => boolean;
|
|
1187
|
+
at: (index: number) => number | undefined;
|
|
1188
|
+
findLast: {
|
|
1189
|
+
<S extends number>(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => value is S, thisArg?: any): S | undefined;
|
|
1190
|
+
(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any): number | undefined;
|
|
1191
|
+
};
|
|
1192
|
+
findLastIndex: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => number;
|
|
1193
|
+
toReversed: () => Uint8Array<ArrayBuffer>;
|
|
1194
|
+
toSorted: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBuffer>;
|
|
1195
|
+
with: (index: number, value: number) => Uint8Array<ArrayBuffer>;
|
|
1196
|
+
[Symbol.iterator]: () => ArrayIterator<number>;
|
|
1197
|
+
readonly [Symbol.toStringTag]: "Uint8Array";
|
|
1198
|
+
} | undefined;
|
|
812
1199
|
name?: string | undefined;
|
|
813
1200
|
objectId?: AcDbObjectId | undefined;
|
|
814
1201
|
ownerId?: AcDbObjectId | undefined;
|
|
@@ -816,33 +1203,32 @@ export declare function useHover(): {
|
|
|
816
1203
|
};
|
|
817
1204
|
readonly events: {
|
|
818
1205
|
attrChanged: {
|
|
819
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
820
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
821
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
822
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
1206
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
1207
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
1208
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
1209
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
823
1210
|
};
|
|
824
1211
|
modelChanged: {
|
|
825
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
826
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
827
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
828
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
1212
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
1213
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
1214
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
1215
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
829
1216
|
};
|
|
830
1217
|
};
|
|
831
|
-
get: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
1218
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined;
|
|
832
1219
|
set: {
|
|
833
|
-
<A extends string>(key: A, val?: import('@mlightcad/data-model').
|
|
834
|
-
(key: Partial<import('@mlightcad/data-model').
|
|
1220
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
1221
|
+
(key: Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
835
1222
|
};
|
|
836
1223
|
has: (key: string) => boolean;
|
|
837
1224
|
hasChanged: (key?: string | undefined) => boolean;
|
|
838
|
-
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').
|
|
839
|
-
previous: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
840
|
-
previousAttributes: () => Partial<import('@mlightcad/data-model').
|
|
841
|
-
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').
|
|
1225
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
1226
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | null | undefined;
|
|
1227
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
1228
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
842
1229
|
};
|
|
843
1230
|
getAttr: (attrName: string) => any;
|
|
844
1231
|
getAttrWithoutException: (attrName: string) => any;
|
|
845
|
-
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
|
|
846
1232
|
objectId: AcDbObjectId;
|
|
847
1233
|
readonly isTemp: any;
|
|
848
1234
|
ownerId: AcDbObjectId;
|
|
@@ -858,8 +1244,10 @@ export declare function useHover(): {
|
|
|
858
1244
|
restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbBlockTableRecord) => void;
|
|
859
1245
|
dxfOut: (...args: unknown[]) => unknown;
|
|
860
1246
|
};
|
|
861
|
-
getEntityById: (id: AcDbObjectId) =>
|
|
1247
|
+
getEntityById: (id: AcDbObjectId) => AcDbEntity | undefined;
|
|
862
1248
|
removeEntity: (objectId: AcDbObjectId | AcDbObjectId[]) => boolean;
|
|
1249
|
+
getXrefs: () => import('@mlightcad/data-model').AcDbBlockTableRecord[];
|
|
1250
|
+
getUnresolvedXrefs: () => import('@mlightcad/data-model').AcDbBlockTableRecord[];
|
|
863
1251
|
readonly numEntries: number;
|
|
864
1252
|
add: (record: import('@mlightcad/data-model').AcDbBlockTableRecord) => void;
|
|
865
1253
|
remove: (name: string) => boolean;
|
|
@@ -1094,6 +1482,7 @@ export declare function useHover(): {
|
|
|
1094
1482
|
};
|
|
1095
1483
|
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbTextStyleTableRecord;
|
|
1096
1484
|
name: string;
|
|
1485
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined) => void;
|
|
1097
1486
|
readonly attrs: {
|
|
1098
1487
|
attributes: {
|
|
1099
1488
|
[x: string]: any;
|
|
@@ -1101,6 +1490,15 @@ export declare function useHover(): {
|
|
|
1101
1490
|
objectId?: AcDbObjectId | undefined;
|
|
1102
1491
|
ownerId?: AcDbObjectId | undefined;
|
|
1103
1492
|
extensionDictionary?: AcDbObjectId | undefined;
|
|
1493
|
+
font?: string | undefined;
|
|
1494
|
+
obliqueAngle?: number | undefined;
|
|
1495
|
+
widthFactor?: number | undefined;
|
|
1496
|
+
standardFlag?: number | undefined;
|
|
1497
|
+
fixedTextHeight?: number | undefined;
|
|
1498
|
+
textGenerationFlag?: number | undefined;
|
|
1499
|
+
lastHeight?: number | undefined;
|
|
1500
|
+
bigFont?: string | undefined;
|
|
1501
|
+
extendedFont?: string | undefined;
|
|
1104
1502
|
};
|
|
1105
1503
|
changed: {
|
|
1106
1504
|
[x: string]: any;
|
|
@@ -1108,36 +1506,44 @@ export declare function useHover(): {
|
|
|
1108
1506
|
objectId?: AcDbObjectId | undefined;
|
|
1109
1507
|
ownerId?: AcDbObjectId | undefined;
|
|
1110
1508
|
extensionDictionary?: AcDbObjectId | undefined;
|
|
1509
|
+
font?: string | undefined;
|
|
1510
|
+
obliqueAngle?: number | undefined;
|
|
1511
|
+
widthFactor?: number | undefined;
|
|
1512
|
+
standardFlag?: number | undefined;
|
|
1513
|
+
fixedTextHeight?: number | undefined;
|
|
1514
|
+
textGenerationFlag?: number | undefined;
|
|
1515
|
+
lastHeight?: number | undefined;
|
|
1516
|
+
bigFont?: string | undefined;
|
|
1517
|
+
extendedFont?: string | undefined;
|
|
1111
1518
|
};
|
|
1112
1519
|
readonly events: {
|
|
1113
1520
|
attrChanged: {
|
|
1114
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
1115
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
1116
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
1117
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
1521
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1522
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1523
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1524
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
1118
1525
|
};
|
|
1119
1526
|
modelChanged: {
|
|
1120
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
1121
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
1122
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
1123
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
1527
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1528
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1529
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
1530
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
1124
1531
|
};
|
|
1125
1532
|
};
|
|
1126
|
-
get: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
1533
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined;
|
|
1127
1534
|
set: {
|
|
1128
|
-
<A extends string>(key: A, val?: import('@mlightcad/data-model').
|
|
1129
|
-
(key: Partial<import('@mlightcad/data-model').
|
|
1535
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
1536
|
+
(key: Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
1130
1537
|
};
|
|
1131
1538
|
has: (key: string) => boolean;
|
|
1132
1539
|
hasChanged: (key?: string | undefined) => boolean;
|
|
1133
|
-
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').
|
|
1134
|
-
previous: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
1135
|
-
previousAttributes: () => Partial<import('@mlightcad/data-model').
|
|
1136
|
-
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').
|
|
1540
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
1541
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | null | undefined;
|
|
1542
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
1543
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
1137
1544
|
};
|
|
1138
1545
|
getAttr: (attrName: string) => any;
|
|
1139
1546
|
getAttrWithoutException: (attrName: string) => any;
|
|
1140
|
-
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
|
|
1141
1547
|
objectId: AcDbObjectId;
|
|
1142
1548
|
readonly isTemp: any;
|
|
1143
1549
|
ownerId: AcDbObjectId;
|
|
@@ -1436,6 +1842,15 @@ export declare function useHover(): {
|
|
|
1436
1842
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1437
1843
|
};
|
|
1438
1844
|
};
|
|
1845
|
+
classes: readonly {
|
|
1846
|
+
name: string;
|
|
1847
|
+
cppClassName: string;
|
|
1848
|
+
appName: string;
|
|
1849
|
+
proxyFlag: number;
|
|
1850
|
+
instanceCount: number;
|
|
1851
|
+
wasProxy: boolean;
|
|
1852
|
+
isEntity: boolean;
|
|
1853
|
+
}[];
|
|
1439
1854
|
readonly objects: {
|
|
1440
1855
|
readonly dictionary: {
|
|
1441
1856
|
readonly numEntries: number;
|
|
@@ -1577,6 +1992,146 @@ export declare function useHover(): {
|
|
|
1577
1992
|
restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>) => void;
|
|
1578
1993
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1579
1994
|
};
|
|
1995
|
+
readonly layerFilter: {
|
|
1996
|
+
readonly numEntries: number;
|
|
1997
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbLayerFilter) => void;
|
|
1998
|
+
remove: (name: string) => boolean;
|
|
1999
|
+
removeId: (id: string) => boolean;
|
|
2000
|
+
removeAll: () => void;
|
|
2001
|
+
has: (name: string) => boolean;
|
|
2002
|
+
hasId: (id: string) => boolean;
|
|
2003
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbLayerFilter | undefined;
|
|
2004
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerFilter | undefined;
|
|
2005
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayerFilter>;
|
|
2006
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbLayerFilter]>;
|
|
2007
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerFilter>;
|
|
2008
|
+
readonly attrs: {
|
|
2009
|
+
attributes: {
|
|
2010
|
+
[x: string]: any;
|
|
2011
|
+
objectId?: AcDbObjectId | undefined;
|
|
2012
|
+
ownerId?: AcDbObjectId | undefined;
|
|
2013
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
2014
|
+
};
|
|
2015
|
+
changed: {
|
|
2016
|
+
[x: string]: any;
|
|
2017
|
+
objectId?: AcDbObjectId | undefined;
|
|
2018
|
+
ownerId?: AcDbObjectId | undefined;
|
|
2019
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
2020
|
+
};
|
|
2021
|
+
readonly events: {
|
|
2022
|
+
attrChanged: {
|
|
2023
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2024
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2025
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2026
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
2027
|
+
};
|
|
2028
|
+
modelChanged: {
|
|
2029
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2030
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2031
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2032
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
2035
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
2036
|
+
set: {
|
|
2037
|
+
<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>;
|
|
2038
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
2039
|
+
};
|
|
2040
|
+
has: (key: string) => boolean;
|
|
2041
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
2042
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
2043
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
2044
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
2045
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
2046
|
+
};
|
|
2047
|
+
getAttr: (attrName: string) => any;
|
|
2048
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
2049
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
2050
|
+
objectId: AcDbObjectId;
|
|
2051
|
+
readonly isTemp: any;
|
|
2052
|
+
ownerId: AcDbObjectId;
|
|
2053
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
2054
|
+
database: /*elided*/ any;
|
|
2055
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
2056
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
2057
|
+
removeXData: (appId: string) => void;
|
|
2058
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2059
|
+
close: () => void;
|
|
2060
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerFilter>;
|
|
2061
|
+
clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerFilter>;
|
|
2062
|
+
restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerFilter>) => void;
|
|
2063
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
2064
|
+
};
|
|
2065
|
+
readonly layerIndex: {
|
|
2066
|
+
readonly numEntries: number;
|
|
2067
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbLayerIndex) => void;
|
|
2068
|
+
remove: (name: string) => boolean;
|
|
2069
|
+
removeId: (id: string) => boolean;
|
|
2070
|
+
removeAll: () => void;
|
|
2071
|
+
has: (name: string) => boolean;
|
|
2072
|
+
hasId: (id: string) => boolean;
|
|
2073
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbLayerIndex | undefined;
|
|
2074
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerIndex | undefined;
|
|
2075
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayerIndex>;
|
|
2076
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbLayerIndex]>;
|
|
2077
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerIndex>;
|
|
2078
|
+
readonly attrs: {
|
|
2079
|
+
attributes: {
|
|
2080
|
+
[x: string]: any;
|
|
2081
|
+
objectId?: AcDbObjectId | undefined;
|
|
2082
|
+
ownerId?: AcDbObjectId | undefined;
|
|
2083
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
2084
|
+
};
|
|
2085
|
+
changed: {
|
|
2086
|
+
[x: string]: any;
|
|
2087
|
+
objectId?: AcDbObjectId | undefined;
|
|
2088
|
+
ownerId?: AcDbObjectId | undefined;
|
|
2089
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
2090
|
+
};
|
|
2091
|
+
readonly events: {
|
|
2092
|
+
attrChanged: {
|
|
2093
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2094
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2095
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2096
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
2097
|
+
};
|
|
2098
|
+
modelChanged: {
|
|
2099
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2100
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2101
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
2102
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
2103
|
+
};
|
|
2104
|
+
};
|
|
2105
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
2106
|
+
set: {
|
|
2107
|
+
<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>;
|
|
2108
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
2109
|
+
};
|
|
2110
|
+
has: (key: string) => boolean;
|
|
2111
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
2112
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
2113
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
2114
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
2115
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
2116
|
+
};
|
|
2117
|
+
getAttr: (attrName: string) => any;
|
|
2118
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
2119
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
2120
|
+
objectId: AcDbObjectId;
|
|
2121
|
+
readonly isTemp: any;
|
|
2122
|
+
ownerId: AcDbObjectId;
|
|
2123
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
2124
|
+
database: /*elided*/ any;
|
|
2125
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
2126
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
2127
|
+
removeXData: (appId: string) => void;
|
|
2128
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
2129
|
+
close: () => void;
|
|
2130
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerIndex>;
|
|
2131
|
+
clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerIndex>;
|
|
2132
|
+
restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerIndex>) => void;
|
|
2133
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
2134
|
+
};
|
|
1580
2135
|
readonly layout: {
|
|
1581
2136
|
getBtrIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayout | undefined;
|
|
1582
2137
|
readonly maxTabOrder: number;
|
|
@@ -1860,12 +2415,72 @@ export declare function useHover(): {
|
|
|
1860
2415
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1861
2416
|
};
|
|
1862
2417
|
};
|
|
2418
|
+
layerFilters: {
|
|
2419
|
+
readonly root: {
|
|
2420
|
+
name: string;
|
|
2421
|
+
setName: (value: string) => boolean;
|
|
2422
|
+
filterExpression: string;
|
|
2423
|
+
setFilterExpression: (expression: string) => boolean;
|
|
2424
|
+
filterExpressionTree: () => import('@mlightcad/data-model').AcLyBoolExpr | null;
|
|
2425
|
+
getNestedFilters: () => readonly import('@mlightcad/data-model').AcLyLayerFilter[];
|
|
2426
|
+
readonly nestedFilters: readonly /*elided*/ any[];
|
|
2427
|
+
parent: () => import('@mlightcad/data-model').AcLyLayerFilter | null;
|
|
2428
|
+
isIdFilter: () => boolean;
|
|
2429
|
+
allowNested: () => boolean;
|
|
2430
|
+
allowDelete: () => boolean;
|
|
2431
|
+
setAllowDelete: (value: boolean) => void;
|
|
2432
|
+
allowRename: () => boolean;
|
|
2433
|
+
setAllowRename: (value: boolean) => void;
|
|
2434
|
+
dynamicallyGenerated: () => boolean;
|
|
2435
|
+
setDynamicallyGenerated: (value: boolean) => void;
|
|
2436
|
+
isProxy: () => boolean;
|
|
2437
|
+
setIsProxy: (value: boolean) => void;
|
|
2438
|
+
addNested: (filter: import('@mlightcad/data-model').AcLyLayerFilter) => boolean;
|
|
2439
|
+
removeNested: (filter: import('@mlightcad/data-model').AcLyLayerFilter) => boolean;
|
|
2440
|
+
generateNested: () => boolean;
|
|
2441
|
+
compareTo: (other: import('@mlightcad/data-model').AcLyLayerFilter | null | undefined) => boolean;
|
|
2442
|
+
filter: (layer: import('@mlightcad/data-model').AcDbLayerTableRecord) => boolean;
|
|
2443
|
+
showEditor: () => import('@mlightcad/data-model').AcLyLayerFilterDialogResult;
|
|
2444
|
+
};
|
|
2445
|
+
current: {
|
|
2446
|
+
name: string;
|
|
2447
|
+
setName: (value: string) => boolean;
|
|
2448
|
+
filterExpression: string;
|
|
2449
|
+
setFilterExpression: (expression: string) => boolean;
|
|
2450
|
+
filterExpressionTree: () => import('@mlightcad/data-model').AcLyBoolExpr | null;
|
|
2451
|
+
getNestedFilters: () => readonly import('@mlightcad/data-model').AcLyLayerFilter[];
|
|
2452
|
+
readonly nestedFilters: readonly /*elided*/ any[];
|
|
2453
|
+
parent: () => import('@mlightcad/data-model').AcLyLayerFilter | null;
|
|
2454
|
+
isIdFilter: () => boolean;
|
|
2455
|
+
allowNested: () => boolean;
|
|
2456
|
+
allowDelete: () => boolean;
|
|
2457
|
+
setAllowDelete: (value: boolean) => void;
|
|
2458
|
+
allowRename: () => boolean;
|
|
2459
|
+
setAllowRename: (value: boolean) => void;
|
|
2460
|
+
dynamicallyGenerated: () => boolean;
|
|
2461
|
+
setDynamicallyGenerated: (value: boolean) => void;
|
|
2462
|
+
isProxy: () => boolean;
|
|
2463
|
+
setIsProxy: (value: boolean) => void;
|
|
2464
|
+
addNested: (filter: import('@mlightcad/data-model').AcLyLayerFilter) => boolean;
|
|
2465
|
+
removeNested: (filter: import('@mlightcad/data-model').AcLyLayerFilter) => boolean;
|
|
2466
|
+
generateNested: () => boolean;
|
|
2467
|
+
compareTo: (other: import('@mlightcad/data-model').AcLyLayerFilter | null | undefined) => boolean;
|
|
2468
|
+
filter: (layer: import('@mlightcad/data-model').AcDbLayerTableRecord) => boolean;
|
|
2469
|
+
showEditor: () => import('@mlightcad/data-model').AcLyLayerFilterDialogResult;
|
|
2470
|
+
} | null;
|
|
2471
|
+
clone: () => import('@mlightcad/data-model').AcLyLayerFilterTree;
|
|
2472
|
+
};
|
|
1863
2473
|
getObjectById: (id: AcDbObjectId, _openErased?: boolean) => import('@mlightcad/data-model').AcDbObject | undefined;
|
|
2474
|
+
isUndoRecording: () => boolean;
|
|
2475
|
+
openObjectForRead: <T extends import('@mlightcad/data-model').AcDbObject>(objectId: AcDbObjectId) => T | undefined;
|
|
2476
|
+
openObjectForWrite: <T extends import('@mlightcad/data-model').AcDbObject>(objectId: AcDbObjectId) => T | undefined;
|
|
2477
|
+
openEntityForRead: (entityOrId: AcDbObjectId | AcDbEntity) => AcDbEntity | undefined;
|
|
2478
|
+
openEntityForWrite: (entityOrId: AcDbObjectId | AcDbEntity) => AcDbEntity | undefined;
|
|
2479
|
+
runDatabaseEdit: (label: string, fn: () => void) => void;
|
|
1864
2480
|
getRootDictionaries: () => import('@mlightcad/data-model').AcDbDictionary[];
|
|
1865
2481
|
beginEventBatch: () => void;
|
|
1866
2482
|
endEventBatch: () => void;
|
|
1867
2483
|
isEventBatched: () => boolean;
|
|
1868
|
-
notifyEntityModified: (entity: AcDbEntity) => void;
|
|
1869
2484
|
notifyEntityAppended: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
1870
2485
|
notifyEntityErased: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
1871
2486
|
notifyDictObjectSet: (object: import('@mlightcad/data-model').AcDbObject, key: string) => void;
|
|
@@ -1877,6 +2492,12 @@ export declare function useHover(): {
|
|
|
1877
2492
|
formatAngle: (radians: number, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
|
|
1878
2493
|
};
|
|
1879
2494
|
generateHandle: () => AcDbObjectId;
|
|
2495
|
+
generateUniqueHandle: () => AcDbObjectId;
|
|
2496
|
+
initializeHandleSeed: (seed: string) => void;
|
|
2497
|
+
adoptExternalHandle: (object: import('@mlightcad/data-model').AcDbObject, preferredId: AcDbObjectId) => AcDbObjectId;
|
|
2498
|
+
registerObjectHandle: (object: import('@mlightcad/data-model').AcDbObject) => void;
|
|
2499
|
+
releaseObjectHandle: (object: import('@mlightcad/data-model').AcDbObject) => void;
|
|
2500
|
+
isHandleTaken: (objectId: AcDbObjectId, except?: import('@mlightcad/data-model').AcDbObject) => boolean;
|
|
1880
2501
|
updateMaxHandle: (handle: string) => void;
|
|
1881
2502
|
commitObjectHandle: (object: import('@mlightcad/data-model').AcDbObject, hasId?: (id: AcDbObjectId) => boolean) => void;
|
|
1882
2503
|
currentSpaceId: AcDbObjectId;
|
|
@@ -2479,6 +3100,7 @@ export declare function useHover(): {
|
|
|
2479
3100
|
pdsize: number;
|
|
2480
3101
|
osmode: number;
|
|
2481
3102
|
orthomode: number;
|
|
3103
|
+
readonly lastOpenError: import('@mlightcad/data-model').AcDbOpenDatabaseError | null;
|
|
2482
3104
|
read: (data: ArrayBuffer, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions, fileType?: import('@mlightcad/data-model').AcDbConverterType) => Promise<void>;
|
|
2483
3105
|
openUri: (url: string, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions) => Promise<void>;
|
|
2484
3106
|
dxfOut: (_fileName?: string, precision?: number, version?: import('@mlightcad/data-model').AcDbDwgVersion | string | number, _saveThumbnailImage?: boolean) => string;
|
|
@@ -2984,7 +3606,6 @@ export declare function useHover(): {
|
|
|
2984
3606
|
erase: () => boolean;
|
|
2985
3607
|
subWorldDraw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
|
|
2986
3608
|
worldDraw: (renderer: import('@mlightcad/data-model').AcGiRenderer, delay?: boolean) => import('@mlightcad/data-model').AcGiEntity | undefined;
|
|
2987
|
-
triggerModifiedEvent: () => void;
|
|
2988
3609
|
readonly lineStyle: {
|
|
2989
3610
|
type: import('@mlightcad/data-model').AcGiStyleType;
|
|
2990
3611
|
name: string;
|
|
@@ -3057,6 +3678,7 @@ export declare function useHover(): {
|
|
|
3057
3678
|
hasTransaction: () => boolean;
|
|
3058
3679
|
isRecording: () => boolean;
|
|
3059
3680
|
isApplyingUndoRedo: () => boolean;
|
|
3681
|
+
isOpenedForWriteInTransaction: (objectId: string) => boolean;
|
|
3060
3682
|
commitTransaction: () => void;
|
|
3061
3683
|
abortTransaction: () => void;
|
|
3062
3684
|
startUndoMark: (label?: string) => void;
|
|
@@ -3074,6 +3696,8 @@ export declare function useHover(): {
|
|
|
3074
3696
|
objectId: string;
|
|
3075
3697
|
}) => string;
|
|
3076
3698
|
runUndoable: <T>(label: string, fn: (tr: import('@mlightcad/data-model').AcDbDatabaseTransaction) => T) => T;
|
|
3699
|
+
flushPendingLayerModifiedEvents: () => void;
|
|
3700
|
+
flushPendingEntityModifiedEvents: () => void;
|
|
3077
3701
|
};
|
|
3078
3702
|
readonly events: {
|
|
3079
3703
|
dictObjetSet: {
|
|
@@ -3130,6 +3754,12 @@ export declare function useHover(): {
|
|
|
3130
3754
|
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbProgressdEventArgs) => void) => void;
|
|
3131
3755
|
dispatch: (payload?: import('@mlightcad/data-model').AcDbProgressdEventArgs | undefined, ...args: unknown[]) => void;
|
|
3132
3756
|
};
|
|
3757
|
+
openFailed: {
|
|
3758
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbOpenFailedEventArgs) => void) => void;
|
|
3759
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbOpenFailedEventArgs) => void) => void;
|
|
3760
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcDbOpenFailedEventArgs) => void) => void;
|
|
3761
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcDbOpenFailedEventArgs | undefined, ...args: unknown[]) => void;
|
|
3762
|
+
};
|
|
3133
3763
|
};
|
|
3134
3764
|
readonly tables: {
|
|
3135
3765
|
readonly appIdTable: {
|
|
@@ -3278,22 +3908,251 @@ export declare function useHover(): {
|
|
|
3278
3908
|
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
3279
3909
|
};
|
|
3280
3910
|
layoutId: AcDbObjectId;
|
|
3911
|
+
flags: number;
|
|
3912
|
+
pathName: string;
|
|
3913
|
+
readonly isXref: boolean;
|
|
3914
|
+
readonly isOverlayReference: boolean;
|
|
3915
|
+
readonly isUnresolvedXref: boolean;
|
|
3281
3916
|
blockInsertUnits: import('@mlightcad/data-model').AcDbUnitsValue;
|
|
3282
3917
|
explodability: number;
|
|
3283
3918
|
blockScaling: import('@mlightcad/data-model').AcDbBlockScaling;
|
|
3284
|
-
|
|
3919
|
+
previewIcon: {
|
|
3920
|
+
[x: number]: number;
|
|
3921
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
3922
|
+
readonly buffer: {
|
|
3923
|
+
readonly byteLength: number;
|
|
3924
|
+
slice: (begin?: number, end?: number) => ArrayBuffer;
|
|
3925
|
+
readonly maxByteLength: number;
|
|
3926
|
+
readonly resizable: boolean;
|
|
3927
|
+
resize: (newByteLength?: number) => void;
|
|
3928
|
+
readonly detached: boolean;
|
|
3929
|
+
transfer: (newByteLength?: number) => ArrayBuffer;
|
|
3930
|
+
transferToFixedLength: (newByteLength?: number) => ArrayBuffer;
|
|
3931
|
+
readonly [Symbol.toStringTag]: "ArrayBuffer";
|
|
3932
|
+
} | {
|
|
3933
|
+
readonly byteLength: number;
|
|
3934
|
+
slice: (begin?: number, end?: number) => SharedArrayBuffer;
|
|
3935
|
+
readonly growable: boolean;
|
|
3936
|
+
readonly maxByteLength: number;
|
|
3937
|
+
grow: (newByteLength?: number) => void;
|
|
3938
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
3939
|
+
};
|
|
3940
|
+
readonly byteLength: number;
|
|
3941
|
+
readonly byteOffset: number;
|
|
3942
|
+
copyWithin: (target: number, start: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
3943
|
+
every: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
3944
|
+
fill: (value: number, start?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
3945
|
+
filter: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => any, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
3946
|
+
find: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number | undefined;
|
|
3947
|
+
findIndex: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number;
|
|
3948
|
+
forEach: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => void, thisArg?: any) => void;
|
|
3949
|
+
indexOf: (searchElement: number, fromIndex?: number) => number;
|
|
3950
|
+
join: (separator?: string) => string;
|
|
3951
|
+
lastIndexOf: (searchElement: number, fromIndex?: number) => number;
|
|
3952
|
+
readonly length: number;
|
|
3953
|
+
map: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => number, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
3954
|
+
reduce: {
|
|
3955
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
3956
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
3957
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
3958
|
+
};
|
|
3959
|
+
reduceRight: {
|
|
3960
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
3961
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
3962
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
3963
|
+
};
|
|
3964
|
+
reverse: () => Uint8Array<ArrayBufferLike>;
|
|
3965
|
+
set: (array: ArrayLike<number>, offset?: number) => void;
|
|
3966
|
+
slice: (start?: number, end?: number) => Uint8Array<ArrayBuffer>;
|
|
3967
|
+
some: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
3968
|
+
sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBufferLike>;
|
|
3969
|
+
subarray: (begin?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
3970
|
+
toLocaleString: {
|
|
3971
|
+
(): string;
|
|
3972
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
3973
|
+
};
|
|
3974
|
+
toString: () => string;
|
|
3975
|
+
valueOf: () => Uint8Array<ArrayBufferLike>;
|
|
3976
|
+
entries: () => ArrayIterator<[number, number]>;
|
|
3977
|
+
keys: () => ArrayIterator<number>;
|
|
3978
|
+
values: () => ArrayIterator<number>;
|
|
3979
|
+
includes: (searchElement: number, fromIndex?: number) => boolean;
|
|
3980
|
+
at: (index: number) => number | undefined;
|
|
3981
|
+
findLast: {
|
|
3982
|
+
<S extends number>(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => value is S, thisArg?: any): S | undefined;
|
|
3983
|
+
(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any): number | undefined;
|
|
3984
|
+
};
|
|
3985
|
+
findLastIndex: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => number;
|
|
3986
|
+
toReversed: () => Uint8Array<ArrayBuffer>;
|
|
3987
|
+
toSorted: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBuffer>;
|
|
3988
|
+
with: (index: number, value: number) => Uint8Array<ArrayBuffer>;
|
|
3989
|
+
[Symbol.iterator]: () => ArrayIterator<number>;
|
|
3990
|
+
readonly [Symbol.toStringTag]: "Uint8Array";
|
|
3991
|
+
} | undefined;
|
|
3285
3992
|
appendEntity: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
3286
3993
|
removeEntity: (objectId: AcDbObjectId | AcDbObjectId[]) => boolean;
|
|
3287
3994
|
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<AcDbEntity>;
|
|
3288
3995
|
getIdAt: (id: AcDbObjectId) => AcDbEntity | undefined;
|
|
3996
|
+
hasEntityId: (id: AcDbObjectId) => boolean;
|
|
3289
3997
|
dxfOutBlockRecord: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
3290
3998
|
dxfOutBlockBegin: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
3291
3999
|
dxfOutBlockEnd: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
3292
4000
|
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbBlockTableRecord;
|
|
3293
4001
|
name: string;
|
|
4002
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined) => void;
|
|
3294
4003
|
readonly attrs: {
|
|
3295
4004
|
attributes: {
|
|
3296
4005
|
[x: string]: any;
|
|
4006
|
+
origin?: {
|
|
4007
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4008
|
+
x: number;
|
|
4009
|
+
y: number;
|
|
4010
|
+
z: number;
|
|
4011
|
+
set: (x: number, y: number, z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4012
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4013
|
+
setX: (x: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4014
|
+
setY: (y: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4015
|
+
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4016
|
+
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4017
|
+
getComponent: (index: number) => number;
|
|
4018
|
+
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4019
|
+
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4020
|
+
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4021
|
+
addVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4022
|
+
addScaledVector: (v: import('@mlightcad/data-model').AcGeVector3dLike, s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4023
|
+
sub: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4024
|
+
subScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4025
|
+
subVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4026
|
+
multiply: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4027
|
+
multiplyScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4028
|
+
multiplyVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4029
|
+
applyEuler: (euler: import('@mlightcad/data-model').AcGeEuler) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4030
|
+
applyAxisAngle: (axis: import('@mlightcad/data-model').AcGeVector3dLike, angle: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4031
|
+
applyMatrix3: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4032
|
+
applyNormalMatrix: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4033
|
+
applyMatrix4: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4034
|
+
applyQuaternion: (q: import('@mlightcad/data-model').AcGeQuaternion) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4035
|
+
transformDirection: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4036
|
+
divide: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4037
|
+
divideScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4038
|
+
min: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4039
|
+
max: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4040
|
+
clamp: (min: import('@mlightcad/data-model').AcGeVector3dLike, max: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4041
|
+
clampScalar: (minVal: number, maxVal: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4042
|
+
clampLength: (min: number, max: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4043
|
+
floor: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4044
|
+
ceil: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4045
|
+
round: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4046
|
+
roundToZero: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4047
|
+
negate: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4048
|
+
dot: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
4049
|
+
isParallelTo: (vec: import('@mlightcad/data-model').AcGeVector3d) => boolean;
|
|
4050
|
+
lengthSq: () => number;
|
|
4051
|
+
length: () => number;
|
|
4052
|
+
manhattanLength: () => number;
|
|
4053
|
+
normalize: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4054
|
+
setLength: (l: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4055
|
+
lerp: (v: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4056
|
+
lerpVectors: (v1: import('@mlightcad/data-model').AcGeVector3dLike, v2: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4057
|
+
cross: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4058
|
+
crossVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4059
|
+
projectOnVector: (v: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4060
|
+
projectOnPlane: (planeNormal: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4061
|
+
reflect: (normal: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4062
|
+
angleTo: (v: import('@mlightcad/data-model').AcGeVector3d) => number;
|
|
4063
|
+
distanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
4064
|
+
distanceToSquared: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
4065
|
+
manhattanDistanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
4066
|
+
setFromMatrixPosition: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4067
|
+
setFromMatrixScale: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4068
|
+
setFromMatrixColumn: (m: import('@mlightcad/data-model').AcGeMatrix3d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4069
|
+
setFromMatrix3Column: (m: import('@mlightcad/data-model').AcGeMatrix2d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4070
|
+
equals: (v: import('@mlightcad/data-model').AcGeVector3dLike) => boolean;
|
|
4071
|
+
fromArray: (array: number[], offset?: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4072
|
+
toArray: (array?: number[] | Float32Array, offset?: number) => number[] | Float32Array;
|
|
4073
|
+
random: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4074
|
+
randomDirection: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4075
|
+
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
4076
|
+
} | undefined;
|
|
4077
|
+
layoutId?: string | undefined;
|
|
4078
|
+
blockInsertUnits?: import('@mlightcad/data-model').AcDbUnitsValue | undefined;
|
|
4079
|
+
explodability?: number | undefined;
|
|
4080
|
+
blockScaling?: import('@mlightcad/data-model').AcDbBlockScaling | undefined;
|
|
4081
|
+
flags?: number | undefined;
|
|
4082
|
+
pathName?: string | undefined;
|
|
4083
|
+
previewIcon?: {
|
|
4084
|
+
[x: number]: number;
|
|
4085
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
4086
|
+
readonly buffer: {
|
|
4087
|
+
readonly byteLength: number;
|
|
4088
|
+
slice: (begin?: number, end?: number) => ArrayBuffer;
|
|
4089
|
+
readonly maxByteLength: number;
|
|
4090
|
+
readonly resizable: boolean;
|
|
4091
|
+
resize: (newByteLength?: number) => void;
|
|
4092
|
+
readonly detached: boolean;
|
|
4093
|
+
transfer: (newByteLength?: number) => ArrayBuffer;
|
|
4094
|
+
transferToFixedLength: (newByteLength?: number) => ArrayBuffer;
|
|
4095
|
+
readonly [Symbol.toStringTag]: "ArrayBuffer";
|
|
4096
|
+
} | {
|
|
4097
|
+
readonly byteLength: number;
|
|
4098
|
+
slice: (begin?: number, end?: number) => SharedArrayBuffer;
|
|
4099
|
+
readonly growable: boolean;
|
|
4100
|
+
readonly maxByteLength: number;
|
|
4101
|
+
grow: (newByteLength?: number) => void;
|
|
4102
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
4103
|
+
};
|
|
4104
|
+
readonly byteLength: number;
|
|
4105
|
+
readonly byteOffset: number;
|
|
4106
|
+
copyWithin: (target: number, start: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
4107
|
+
every: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
4108
|
+
fill: (value: number, start?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
4109
|
+
filter: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => any, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
4110
|
+
find: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number | undefined;
|
|
4111
|
+
findIndex: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number;
|
|
4112
|
+
forEach: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => void, thisArg?: any) => void;
|
|
4113
|
+
indexOf: (searchElement: number, fromIndex?: number) => number;
|
|
4114
|
+
join: (separator?: string) => string;
|
|
4115
|
+
lastIndexOf: (searchElement: number, fromIndex?: number) => number;
|
|
4116
|
+
readonly length: number;
|
|
4117
|
+
map: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => number, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
4118
|
+
reduce: {
|
|
4119
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
4120
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
4121
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
4122
|
+
};
|
|
4123
|
+
reduceRight: {
|
|
4124
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
4125
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
4126
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
4127
|
+
};
|
|
4128
|
+
reverse: () => Uint8Array<ArrayBufferLike>;
|
|
4129
|
+
set: (array: ArrayLike<number>, offset?: number) => void;
|
|
4130
|
+
slice: (start?: number, end?: number) => Uint8Array<ArrayBuffer>;
|
|
4131
|
+
some: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
4132
|
+
sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBufferLike>;
|
|
4133
|
+
subarray: (begin?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
4134
|
+
toLocaleString: {
|
|
4135
|
+
(): string;
|
|
4136
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
4137
|
+
};
|
|
4138
|
+
toString: () => string;
|
|
4139
|
+
valueOf: () => Uint8Array<ArrayBufferLike>;
|
|
4140
|
+
entries: () => ArrayIterator<[number, number]>;
|
|
4141
|
+
keys: () => ArrayIterator<number>;
|
|
4142
|
+
values: () => ArrayIterator<number>;
|
|
4143
|
+
includes: (searchElement: number, fromIndex?: number) => boolean;
|
|
4144
|
+
at: (index: number) => number | undefined;
|
|
4145
|
+
findLast: {
|
|
4146
|
+
<S extends number>(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => value is S, thisArg?: any): S | undefined;
|
|
4147
|
+
(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any): number | undefined;
|
|
4148
|
+
};
|
|
4149
|
+
findLastIndex: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => number;
|
|
4150
|
+
toReversed: () => Uint8Array<ArrayBuffer>;
|
|
4151
|
+
toSorted: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBuffer>;
|
|
4152
|
+
with: (index: number, value: number) => Uint8Array<ArrayBuffer>;
|
|
4153
|
+
[Symbol.iterator]: () => ArrayIterator<number>;
|
|
4154
|
+
readonly [Symbol.toStringTag]: "Uint8Array";
|
|
4155
|
+
} | undefined;
|
|
3297
4156
|
name?: string | undefined;
|
|
3298
4157
|
objectId?: AcDbObjectId | undefined;
|
|
3299
4158
|
ownerId?: AcDbObjectId | undefined;
|
|
@@ -3301,6 +4160,156 @@ export declare function useHover(): {
|
|
|
3301
4160
|
};
|
|
3302
4161
|
changed: {
|
|
3303
4162
|
[x: string]: any;
|
|
4163
|
+
origin?: {
|
|
4164
|
+
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4165
|
+
x: number;
|
|
4166
|
+
y: number;
|
|
4167
|
+
z: number;
|
|
4168
|
+
set: (x: number, y: number, z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4169
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4170
|
+
setX: (x: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4171
|
+
setY: (y: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4172
|
+
setZ: (z: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4173
|
+
setComponent: (index: number, value: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4174
|
+
getComponent: (index: number) => number;
|
|
4175
|
+
copy: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4176
|
+
add: (v: import('@mlightcad/data-model').AcGeVectorLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4177
|
+
addScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4178
|
+
addVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4179
|
+
addScaledVector: (v: import('@mlightcad/data-model').AcGeVector3dLike, s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4180
|
+
sub: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4181
|
+
subScalar: (s: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4182
|
+
subVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4183
|
+
multiply: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4184
|
+
multiplyScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4185
|
+
multiplyVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4186
|
+
applyEuler: (euler: import('@mlightcad/data-model').AcGeEuler) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4187
|
+
applyAxisAngle: (axis: import('@mlightcad/data-model').AcGeVector3dLike, angle: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4188
|
+
applyMatrix3: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4189
|
+
applyNormalMatrix: (m: import('@mlightcad/data-model').AcGeMatrix2d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4190
|
+
applyMatrix4: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4191
|
+
applyQuaternion: (q: import('@mlightcad/data-model').AcGeQuaternion) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4192
|
+
transformDirection: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4193
|
+
divide: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4194
|
+
divideScalar: (scalar: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4195
|
+
min: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4196
|
+
max: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4197
|
+
clamp: (min: import('@mlightcad/data-model').AcGeVector3dLike, max: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4198
|
+
clampScalar: (minVal: number, maxVal: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4199
|
+
clampLength: (min: number, max: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4200
|
+
floor: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4201
|
+
ceil: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4202
|
+
round: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4203
|
+
roundToZero: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4204
|
+
negate: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4205
|
+
dot: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
4206
|
+
isParallelTo: (vec: import('@mlightcad/data-model').AcGeVector3d) => boolean;
|
|
4207
|
+
lengthSq: () => number;
|
|
4208
|
+
length: () => number;
|
|
4209
|
+
manhattanLength: () => number;
|
|
4210
|
+
normalize: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4211
|
+
setLength: (l: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4212
|
+
lerp: (v: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4213
|
+
lerpVectors: (v1: import('@mlightcad/data-model').AcGeVector3dLike, v2: import('@mlightcad/data-model').AcGeVector3dLike, alpha: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4214
|
+
cross: (v: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4215
|
+
crossVectors: (a: import('@mlightcad/data-model').AcGeVector3dLike, b: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4216
|
+
projectOnVector: (v: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4217
|
+
projectOnPlane: (planeNormal: import('@mlightcad/data-model').AcGeVector3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4218
|
+
reflect: (normal: import('@mlightcad/data-model').AcGeVector3dLike) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4219
|
+
angleTo: (v: import('@mlightcad/data-model').AcGeVector3d) => number;
|
|
4220
|
+
distanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
4221
|
+
distanceToSquared: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
4222
|
+
manhattanDistanceTo: (v: import('@mlightcad/data-model').AcGeVector3dLike) => number;
|
|
4223
|
+
setFromMatrixPosition: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4224
|
+
setFromMatrixScale: (m: import('@mlightcad/data-model').AcGeMatrix3d) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4225
|
+
setFromMatrixColumn: (m: import('@mlightcad/data-model').AcGeMatrix3d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4226
|
+
setFromMatrix3Column: (m: import('@mlightcad/data-model').AcGeMatrix2d, index: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4227
|
+
equals: (v: import('@mlightcad/data-model').AcGeVector3dLike) => boolean;
|
|
4228
|
+
fromArray: (array: number[], offset?: number) => import('@mlightcad/data-model').AcGePoint3d;
|
|
4229
|
+
toArray: (array?: number[] | Float32Array, offset?: number) => number[] | Float32Array;
|
|
4230
|
+
random: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4231
|
+
randomDirection: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
4232
|
+
[Symbol.iterator]: () => Generator<number, void, unknown>;
|
|
4233
|
+
} | undefined;
|
|
4234
|
+
layoutId?: string | undefined;
|
|
4235
|
+
blockInsertUnits?: import('@mlightcad/data-model').AcDbUnitsValue | undefined;
|
|
4236
|
+
explodability?: number | undefined;
|
|
4237
|
+
blockScaling?: import('@mlightcad/data-model').AcDbBlockScaling | undefined;
|
|
4238
|
+
flags?: number | undefined;
|
|
4239
|
+
pathName?: string | undefined;
|
|
4240
|
+
previewIcon?: {
|
|
4241
|
+
[x: number]: number;
|
|
4242
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
4243
|
+
readonly buffer: {
|
|
4244
|
+
readonly byteLength: number;
|
|
4245
|
+
slice: (begin?: number, end?: number) => ArrayBuffer;
|
|
4246
|
+
readonly maxByteLength: number;
|
|
4247
|
+
readonly resizable: boolean;
|
|
4248
|
+
resize: (newByteLength?: number) => void;
|
|
4249
|
+
readonly detached: boolean;
|
|
4250
|
+
transfer: (newByteLength?: number) => ArrayBuffer;
|
|
4251
|
+
transferToFixedLength: (newByteLength?: number) => ArrayBuffer;
|
|
4252
|
+
readonly [Symbol.toStringTag]: "ArrayBuffer";
|
|
4253
|
+
} | {
|
|
4254
|
+
readonly byteLength: number;
|
|
4255
|
+
slice: (begin?: number, end?: number) => SharedArrayBuffer;
|
|
4256
|
+
readonly growable: boolean;
|
|
4257
|
+
readonly maxByteLength: number;
|
|
4258
|
+
grow: (newByteLength?: number) => void;
|
|
4259
|
+
readonly [Symbol.toStringTag]: "SharedArrayBuffer";
|
|
4260
|
+
};
|
|
4261
|
+
readonly byteLength: number;
|
|
4262
|
+
readonly byteOffset: number;
|
|
4263
|
+
copyWithin: (target: number, start: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
4264
|
+
every: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
4265
|
+
fill: (value: number, start?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
4266
|
+
filter: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => any, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
4267
|
+
find: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number | undefined;
|
|
4268
|
+
findIndex: (predicate: (value: number, index: number, obj: Uint8Array<ArrayBufferLike>) => boolean, thisArg?: any) => number;
|
|
4269
|
+
forEach: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => void, thisArg?: any) => void;
|
|
4270
|
+
indexOf: (searchElement: number, fromIndex?: number) => number;
|
|
4271
|
+
join: (separator?: string) => string;
|
|
4272
|
+
lastIndexOf: (searchElement: number, fromIndex?: number) => number;
|
|
4273
|
+
readonly length: number;
|
|
4274
|
+
map: (callbackfn: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => number, thisArg?: any) => Uint8Array<ArrayBuffer>;
|
|
4275
|
+
reduce: {
|
|
4276
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
4277
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
4278
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
4279
|
+
};
|
|
4280
|
+
reduceRight: {
|
|
4281
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number): number;
|
|
4282
|
+
(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => number, initialValue: number): number;
|
|
4283
|
+
<U>(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array<ArrayBufferLike>) => U, initialValue: U): U;
|
|
4284
|
+
};
|
|
4285
|
+
reverse: () => Uint8Array<ArrayBufferLike>;
|
|
4286
|
+
set: (array: ArrayLike<number>, offset?: number) => void;
|
|
4287
|
+
slice: (start?: number, end?: number) => Uint8Array<ArrayBuffer>;
|
|
4288
|
+
some: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => boolean;
|
|
4289
|
+
sort: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBufferLike>;
|
|
4290
|
+
subarray: (begin?: number, end?: number) => Uint8Array<ArrayBufferLike>;
|
|
4291
|
+
toLocaleString: {
|
|
4292
|
+
(): string;
|
|
4293
|
+
(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
4294
|
+
};
|
|
4295
|
+
toString: () => string;
|
|
4296
|
+
valueOf: () => Uint8Array<ArrayBufferLike>;
|
|
4297
|
+
entries: () => ArrayIterator<[number, number]>;
|
|
4298
|
+
keys: () => ArrayIterator<number>;
|
|
4299
|
+
values: () => ArrayIterator<number>;
|
|
4300
|
+
includes: (searchElement: number, fromIndex?: number) => boolean;
|
|
4301
|
+
at: (index: number) => number | undefined;
|
|
4302
|
+
findLast: {
|
|
4303
|
+
<S extends number>(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => value is S, thisArg?: any): S | undefined;
|
|
4304
|
+
(predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any): number | undefined;
|
|
4305
|
+
};
|
|
4306
|
+
findLastIndex: (predicate: (value: number, index: number, array: Uint8Array<ArrayBufferLike>) => unknown, thisArg?: any) => number;
|
|
4307
|
+
toReversed: () => Uint8Array<ArrayBuffer>;
|
|
4308
|
+
toSorted: (compareFn?: ((a: number, b: number) => number) | undefined) => Uint8Array<ArrayBuffer>;
|
|
4309
|
+
with: (index: number, value: number) => Uint8Array<ArrayBuffer>;
|
|
4310
|
+
[Symbol.iterator]: () => ArrayIterator<number>;
|
|
4311
|
+
readonly [Symbol.toStringTag]: "Uint8Array";
|
|
4312
|
+
} | undefined;
|
|
3304
4313
|
name?: string | undefined;
|
|
3305
4314
|
objectId?: AcDbObjectId | undefined;
|
|
3306
4315
|
ownerId?: AcDbObjectId | undefined;
|
|
@@ -3308,33 +4317,32 @@ export declare function useHover(): {
|
|
|
3308
4317
|
};
|
|
3309
4318
|
readonly events: {
|
|
3310
4319
|
attrChanged: {
|
|
3311
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3312
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3313
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3314
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
4320
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
4321
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
4322
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
4323
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
3315
4324
|
};
|
|
3316
4325
|
modelChanged: {
|
|
3317
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3318
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3319
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3320
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
4326
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
4327
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
4328
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>) => void) => void;
|
|
4329
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
3321
4330
|
};
|
|
3322
4331
|
};
|
|
3323
|
-
get: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
4332
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined;
|
|
3324
4333
|
set: {
|
|
3325
|
-
<A extends string>(key: A, val?: import('@mlightcad/data-model').
|
|
3326
|
-
(key: Partial<import('@mlightcad/data-model').
|
|
4334
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
4335
|
+
(key: Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
3327
4336
|
};
|
|
3328
4337
|
has: (key: string) => boolean;
|
|
3329
4338
|
hasChanged: (key?: string | undefined) => boolean;
|
|
3330
|
-
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').
|
|
3331
|
-
previous: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
3332
|
-
previousAttributes: () => Partial<import('@mlightcad/data-model').
|
|
3333
|
-
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').
|
|
4339
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
4340
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbBlockTableRecordAttrs[A] | null | undefined;
|
|
4341
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
4342
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbBlockTableRecordAttrs>;
|
|
3334
4343
|
};
|
|
3335
4344
|
getAttr: (attrName: string) => any;
|
|
3336
4345
|
getAttrWithoutException: (attrName: string) => any;
|
|
3337
|
-
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
|
|
3338
4346
|
objectId: AcDbObjectId;
|
|
3339
4347
|
readonly isTemp: any;
|
|
3340
4348
|
ownerId: AcDbObjectId;
|
|
@@ -3350,8 +4358,10 @@ export declare function useHover(): {
|
|
|
3350
4358
|
restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbBlockTableRecord) => void;
|
|
3351
4359
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3352
4360
|
};
|
|
3353
|
-
getEntityById: (id: AcDbObjectId) =>
|
|
4361
|
+
getEntityById: (id: AcDbObjectId) => AcDbEntity | undefined;
|
|
3354
4362
|
removeEntity: (objectId: AcDbObjectId | AcDbObjectId[]) => boolean;
|
|
4363
|
+
getXrefs: () => import('@mlightcad/data-model').AcDbBlockTableRecord[];
|
|
4364
|
+
getUnresolvedXrefs: () => import('@mlightcad/data-model').AcDbBlockTableRecord[];
|
|
3355
4365
|
readonly numEntries: number;
|
|
3356
4366
|
add: (record: import('@mlightcad/data-model').AcDbBlockTableRecord) => void;
|
|
3357
4367
|
remove: (name: string) => boolean;
|
|
@@ -3586,6 +4596,7 @@ export declare function useHover(): {
|
|
|
3586
4596
|
};
|
|
3587
4597
|
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbTextStyleTableRecord;
|
|
3588
4598
|
name: string;
|
|
4599
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined) => void;
|
|
3589
4600
|
readonly attrs: {
|
|
3590
4601
|
attributes: {
|
|
3591
4602
|
[x: string]: any;
|
|
@@ -3593,6 +4604,15 @@ export declare function useHover(): {
|
|
|
3593
4604
|
objectId?: AcDbObjectId | undefined;
|
|
3594
4605
|
ownerId?: AcDbObjectId | undefined;
|
|
3595
4606
|
extensionDictionary?: AcDbObjectId | undefined;
|
|
4607
|
+
font?: string | undefined;
|
|
4608
|
+
obliqueAngle?: number | undefined;
|
|
4609
|
+
widthFactor?: number | undefined;
|
|
4610
|
+
standardFlag?: number | undefined;
|
|
4611
|
+
fixedTextHeight?: number | undefined;
|
|
4612
|
+
textGenerationFlag?: number | undefined;
|
|
4613
|
+
lastHeight?: number | undefined;
|
|
4614
|
+
bigFont?: string | undefined;
|
|
4615
|
+
extendedFont?: string | undefined;
|
|
3596
4616
|
};
|
|
3597
4617
|
changed: {
|
|
3598
4618
|
[x: string]: any;
|
|
@@ -3600,36 +4620,44 @@ export declare function useHover(): {
|
|
|
3600
4620
|
objectId?: AcDbObjectId | undefined;
|
|
3601
4621
|
ownerId?: AcDbObjectId | undefined;
|
|
3602
4622
|
extensionDictionary?: AcDbObjectId | undefined;
|
|
4623
|
+
font?: string | undefined;
|
|
4624
|
+
obliqueAngle?: number | undefined;
|
|
4625
|
+
widthFactor?: number | undefined;
|
|
4626
|
+
standardFlag?: number | undefined;
|
|
4627
|
+
fixedTextHeight?: number | undefined;
|
|
4628
|
+
textGenerationFlag?: number | undefined;
|
|
4629
|
+
lastHeight?: number | undefined;
|
|
4630
|
+
bigFont?: string | undefined;
|
|
4631
|
+
extendedFont?: string | undefined;
|
|
3603
4632
|
};
|
|
3604
4633
|
readonly events: {
|
|
3605
4634
|
attrChanged: {
|
|
3606
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3607
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3608
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
3609
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').
|
|
4635
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
4636
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
4637
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
4638
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
3610
4639
|
};
|
|
3611
4640
|
modelChanged: {
|
|
3612
|
-
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3613
|
-
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3614
|
-
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
3615
|
-
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').
|
|
4641
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
4642
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
4643
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>) => void) => void;
|
|
4644
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined, ...args: unknown[]) => void;
|
|
3616
4645
|
};
|
|
3617
4646
|
};
|
|
3618
|
-
get: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
4647
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined;
|
|
3619
4648
|
set: {
|
|
3620
|
-
<A extends string>(key: A, val?: import('@mlightcad/data-model').
|
|
3621
|
-
(key: Partial<import('@mlightcad/data-model').
|
|
4649
|
+
<A extends string>(key: A, val?: import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | undefined, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
4650
|
+
(key: Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
3622
4651
|
};
|
|
3623
4652
|
has: (key: string) => boolean;
|
|
3624
4653
|
hasChanged: (key?: string | undefined) => boolean;
|
|
3625
|
-
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').
|
|
3626
|
-
previous: <A extends string>(key: A) => import('@mlightcad/data-model').
|
|
3627
|
-
previousAttributes: () => Partial<import('@mlightcad/data-model').
|
|
3628
|
-
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').
|
|
4654
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
4655
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs[A] | null | undefined;
|
|
4656
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
4657
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbTextStyleTableRecordAttrs>;
|
|
3629
4658
|
};
|
|
3630
4659
|
getAttr: (attrName: string) => any;
|
|
3631
4660
|
getAttrWithoutException: (attrName: string) => any;
|
|
3632
|
-
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbSymbolTableRecordAttrs[A] | undefined) => void;
|
|
3633
4661
|
objectId: AcDbObjectId;
|
|
3634
4662
|
readonly isTemp: any;
|
|
3635
4663
|
ownerId: AcDbObjectId;
|
|
@@ -3928,6 +4956,15 @@ export declare function useHover(): {
|
|
|
3928
4956
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3929
4957
|
};
|
|
3930
4958
|
};
|
|
4959
|
+
classes: readonly {
|
|
4960
|
+
name: string;
|
|
4961
|
+
cppClassName: string;
|
|
4962
|
+
appName: string;
|
|
4963
|
+
proxyFlag: number;
|
|
4964
|
+
instanceCount: number;
|
|
4965
|
+
wasProxy: boolean;
|
|
4966
|
+
isEntity: boolean;
|
|
4967
|
+
}[];
|
|
3931
4968
|
readonly objects: {
|
|
3932
4969
|
readonly dictionary: {
|
|
3933
4970
|
readonly numEntries: number;
|
|
@@ -4069,6 +5106,146 @@ export declare function useHover(): {
|
|
|
4069
5106
|
restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbRasterImageDef>) => void;
|
|
4070
5107
|
dxfOut: (...args: unknown[]) => unknown;
|
|
4071
5108
|
};
|
|
5109
|
+
readonly layerFilter: {
|
|
5110
|
+
readonly numEntries: number;
|
|
5111
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbLayerFilter) => void;
|
|
5112
|
+
remove: (name: string) => boolean;
|
|
5113
|
+
removeId: (id: string) => boolean;
|
|
5114
|
+
removeAll: () => void;
|
|
5115
|
+
has: (name: string) => boolean;
|
|
5116
|
+
hasId: (id: string) => boolean;
|
|
5117
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbLayerFilter | undefined;
|
|
5118
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerFilter | undefined;
|
|
5119
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayerFilter>;
|
|
5120
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbLayerFilter]>;
|
|
5121
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerFilter>;
|
|
5122
|
+
readonly attrs: {
|
|
5123
|
+
attributes: {
|
|
5124
|
+
[x: string]: any;
|
|
5125
|
+
objectId?: AcDbObjectId | undefined;
|
|
5126
|
+
ownerId?: AcDbObjectId | undefined;
|
|
5127
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
5128
|
+
};
|
|
5129
|
+
changed: {
|
|
5130
|
+
[x: string]: any;
|
|
5131
|
+
objectId?: AcDbObjectId | undefined;
|
|
5132
|
+
ownerId?: AcDbObjectId | undefined;
|
|
5133
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
5134
|
+
};
|
|
5135
|
+
readonly events: {
|
|
5136
|
+
attrChanged: {
|
|
5137
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5138
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5139
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5140
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
5141
|
+
};
|
|
5142
|
+
modelChanged: {
|
|
5143
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5144
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5145
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5146
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
5147
|
+
};
|
|
5148
|
+
};
|
|
5149
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
5150
|
+
set: {
|
|
5151
|
+
<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>;
|
|
5152
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
5153
|
+
};
|
|
5154
|
+
has: (key: string) => boolean;
|
|
5155
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
5156
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
5157
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
5158
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
5159
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
5160
|
+
};
|
|
5161
|
+
getAttr: (attrName: string) => any;
|
|
5162
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
5163
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
5164
|
+
objectId: AcDbObjectId;
|
|
5165
|
+
readonly isTemp: any;
|
|
5166
|
+
ownerId: AcDbObjectId;
|
|
5167
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
5168
|
+
database: /*elided*/ any;
|
|
5169
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
5170
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
5171
|
+
removeXData: (appId: string) => void;
|
|
5172
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
5173
|
+
close: () => void;
|
|
5174
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerFilter>;
|
|
5175
|
+
clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerFilter>;
|
|
5176
|
+
restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerFilter>) => void;
|
|
5177
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
5178
|
+
};
|
|
5179
|
+
readonly layerIndex: {
|
|
5180
|
+
readonly numEntries: number;
|
|
5181
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbLayerIndex) => void;
|
|
5182
|
+
remove: (name: string) => boolean;
|
|
5183
|
+
removeId: (id: string) => boolean;
|
|
5184
|
+
removeAll: () => void;
|
|
5185
|
+
has: (name: string) => boolean;
|
|
5186
|
+
hasId: (id: string) => boolean;
|
|
5187
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbLayerIndex | undefined;
|
|
5188
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayerIndex | undefined;
|
|
5189
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbLayerIndex>;
|
|
5190
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbLayerIndex]>;
|
|
5191
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerIndex>;
|
|
5192
|
+
readonly attrs: {
|
|
5193
|
+
attributes: {
|
|
5194
|
+
[x: string]: any;
|
|
5195
|
+
objectId?: AcDbObjectId | undefined;
|
|
5196
|
+
ownerId?: AcDbObjectId | undefined;
|
|
5197
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
5198
|
+
};
|
|
5199
|
+
changed: {
|
|
5200
|
+
[x: string]: any;
|
|
5201
|
+
objectId?: AcDbObjectId | undefined;
|
|
5202
|
+
ownerId?: AcDbObjectId | undefined;
|
|
5203
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
5204
|
+
};
|
|
5205
|
+
readonly events: {
|
|
5206
|
+
attrChanged: {
|
|
5207
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5208
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5209
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5210
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
5211
|
+
};
|
|
5212
|
+
modelChanged: {
|
|
5213
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5214
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5215
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
5216
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
5217
|
+
};
|
|
5218
|
+
};
|
|
5219
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
5220
|
+
set: {
|
|
5221
|
+
<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>;
|
|
5222
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
5223
|
+
};
|
|
5224
|
+
has: (key: string) => boolean;
|
|
5225
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
5226
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
5227
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
5228
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
5229
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
5230
|
+
};
|
|
5231
|
+
getAttr: (attrName: string) => any;
|
|
5232
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
5233
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
5234
|
+
objectId: AcDbObjectId;
|
|
5235
|
+
readonly isTemp: any;
|
|
5236
|
+
ownerId: AcDbObjectId;
|
|
5237
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
5238
|
+
database: /*elided*/ any;
|
|
5239
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
5240
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
5241
|
+
removeXData: (appId: string) => void;
|
|
5242
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
5243
|
+
close: () => void;
|
|
5244
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerIndex>;
|
|
5245
|
+
clonePreservingIdentity: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerIndex>;
|
|
5246
|
+
restoreFrom: (snapshot: import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbLayerIndex>) => void;
|
|
5247
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
5248
|
+
};
|
|
4072
5249
|
readonly layout: {
|
|
4073
5250
|
getBtrIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbLayout | undefined;
|
|
4074
5251
|
readonly maxTabOrder: number;
|
|
@@ -4352,12 +5529,72 @@ export declare function useHover(): {
|
|
|
4352
5529
|
dxfOut: (...args: unknown[]) => unknown;
|
|
4353
5530
|
};
|
|
4354
5531
|
};
|
|
5532
|
+
layerFilters: {
|
|
5533
|
+
readonly root: {
|
|
5534
|
+
name: string;
|
|
5535
|
+
setName: (value: string) => boolean;
|
|
5536
|
+
filterExpression: string;
|
|
5537
|
+
setFilterExpression: (expression: string) => boolean;
|
|
5538
|
+
filterExpressionTree: () => import('@mlightcad/data-model').AcLyBoolExpr | null;
|
|
5539
|
+
getNestedFilters: () => readonly import('@mlightcad/data-model').AcLyLayerFilter[];
|
|
5540
|
+
readonly nestedFilters: readonly /*elided*/ any[];
|
|
5541
|
+
parent: () => import('@mlightcad/data-model').AcLyLayerFilter | null;
|
|
5542
|
+
isIdFilter: () => boolean;
|
|
5543
|
+
allowNested: () => boolean;
|
|
5544
|
+
allowDelete: () => boolean;
|
|
5545
|
+
setAllowDelete: (value: boolean) => void;
|
|
5546
|
+
allowRename: () => boolean;
|
|
5547
|
+
setAllowRename: (value: boolean) => void;
|
|
5548
|
+
dynamicallyGenerated: () => boolean;
|
|
5549
|
+
setDynamicallyGenerated: (value: boolean) => void;
|
|
5550
|
+
isProxy: () => boolean;
|
|
5551
|
+
setIsProxy: (value: boolean) => void;
|
|
5552
|
+
addNested: (filter: import('@mlightcad/data-model').AcLyLayerFilter) => boolean;
|
|
5553
|
+
removeNested: (filter: import('@mlightcad/data-model').AcLyLayerFilter) => boolean;
|
|
5554
|
+
generateNested: () => boolean;
|
|
5555
|
+
compareTo: (other: import('@mlightcad/data-model').AcLyLayerFilter | null | undefined) => boolean;
|
|
5556
|
+
filter: (layer: import('@mlightcad/data-model').AcDbLayerTableRecord) => boolean;
|
|
5557
|
+
showEditor: () => import('@mlightcad/data-model').AcLyLayerFilterDialogResult;
|
|
5558
|
+
};
|
|
5559
|
+
current: {
|
|
5560
|
+
name: string;
|
|
5561
|
+
setName: (value: string) => boolean;
|
|
5562
|
+
filterExpression: string;
|
|
5563
|
+
setFilterExpression: (expression: string) => boolean;
|
|
5564
|
+
filterExpressionTree: () => import('@mlightcad/data-model').AcLyBoolExpr | null;
|
|
5565
|
+
getNestedFilters: () => readonly import('@mlightcad/data-model').AcLyLayerFilter[];
|
|
5566
|
+
readonly nestedFilters: readonly /*elided*/ any[];
|
|
5567
|
+
parent: () => import('@mlightcad/data-model').AcLyLayerFilter | null;
|
|
5568
|
+
isIdFilter: () => boolean;
|
|
5569
|
+
allowNested: () => boolean;
|
|
5570
|
+
allowDelete: () => boolean;
|
|
5571
|
+
setAllowDelete: (value: boolean) => void;
|
|
5572
|
+
allowRename: () => boolean;
|
|
5573
|
+
setAllowRename: (value: boolean) => void;
|
|
5574
|
+
dynamicallyGenerated: () => boolean;
|
|
5575
|
+
setDynamicallyGenerated: (value: boolean) => void;
|
|
5576
|
+
isProxy: () => boolean;
|
|
5577
|
+
setIsProxy: (value: boolean) => void;
|
|
5578
|
+
addNested: (filter: import('@mlightcad/data-model').AcLyLayerFilter) => boolean;
|
|
5579
|
+
removeNested: (filter: import('@mlightcad/data-model').AcLyLayerFilter) => boolean;
|
|
5580
|
+
generateNested: () => boolean;
|
|
5581
|
+
compareTo: (other: import('@mlightcad/data-model').AcLyLayerFilter | null | undefined) => boolean;
|
|
5582
|
+
filter: (layer: import('@mlightcad/data-model').AcDbLayerTableRecord) => boolean;
|
|
5583
|
+
showEditor: () => import('@mlightcad/data-model').AcLyLayerFilterDialogResult;
|
|
5584
|
+
} | null;
|
|
5585
|
+
clone: () => import('@mlightcad/data-model').AcLyLayerFilterTree;
|
|
5586
|
+
};
|
|
4355
5587
|
getObjectById: (id: AcDbObjectId, _openErased?: boolean) => import('@mlightcad/data-model').AcDbObject | undefined;
|
|
5588
|
+
isUndoRecording: () => boolean;
|
|
5589
|
+
openObjectForRead: <T extends import('@mlightcad/data-model').AcDbObject>(objectId: AcDbObjectId) => T | undefined;
|
|
5590
|
+
openObjectForWrite: <T extends import('@mlightcad/data-model').AcDbObject>(objectId: AcDbObjectId) => T | undefined;
|
|
5591
|
+
openEntityForRead: (entityOrId: AcDbObjectId | AcDbEntity) => AcDbEntity | undefined;
|
|
5592
|
+
openEntityForWrite: (entityOrId: AcDbObjectId | AcDbEntity) => AcDbEntity | undefined;
|
|
5593
|
+
runDatabaseEdit: (label: string, fn: () => void) => void;
|
|
4356
5594
|
getRootDictionaries: () => import('@mlightcad/data-model').AcDbDictionary[];
|
|
4357
5595
|
beginEventBatch: () => void;
|
|
4358
5596
|
endEventBatch: () => void;
|
|
4359
5597
|
isEventBatched: () => boolean;
|
|
4360
|
-
notifyEntityModified: (entity: AcDbEntity) => void;
|
|
4361
5598
|
notifyEntityAppended: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
4362
5599
|
notifyEntityErased: (entity: AcDbEntity | AcDbEntity[]) => void;
|
|
4363
5600
|
notifyDictObjectSet: (object: import('@mlightcad/data-model').AcDbObject, key: string) => void;
|
|
@@ -4369,6 +5606,12 @@ export declare function useHover(): {
|
|
|
4369
5606
|
formatAngle: (radians: number, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
|
|
4370
5607
|
};
|
|
4371
5608
|
generateHandle: () => AcDbObjectId;
|
|
5609
|
+
generateUniqueHandle: () => AcDbObjectId;
|
|
5610
|
+
initializeHandleSeed: (seed: string) => void;
|
|
5611
|
+
adoptExternalHandle: (object: import('@mlightcad/data-model').AcDbObject, preferredId: AcDbObjectId) => AcDbObjectId;
|
|
5612
|
+
registerObjectHandle: (object: import('@mlightcad/data-model').AcDbObject) => void;
|
|
5613
|
+
releaseObjectHandle: (object: import('@mlightcad/data-model').AcDbObject) => void;
|
|
5614
|
+
isHandleTaken: (objectId: AcDbObjectId, except?: import('@mlightcad/data-model').AcDbObject) => boolean;
|
|
4372
5615
|
updateMaxHandle: (handle: string) => void;
|
|
4373
5616
|
commitObjectHandle: (object: import('@mlightcad/data-model').AcDbObject, hasId?: (id: AcDbObjectId) => boolean) => void;
|
|
4374
5617
|
currentSpaceId: AcDbObjectId;
|
|
@@ -4971,6 +6214,7 @@ export declare function useHover(): {
|
|
|
4971
6214
|
pdsize: number;
|
|
4972
6215
|
osmode: number;
|
|
4973
6216
|
orthomode: number;
|
|
6217
|
+
readonly lastOpenError: import('@mlightcad/data-model').AcDbOpenDatabaseError | null;
|
|
4974
6218
|
read: (data: ArrayBuffer, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions, fileType?: import('@mlightcad/data-model').AcDbConverterType) => Promise<void>;
|
|
4975
6219
|
openUri: (url: string, options: import('@mlightcad/data-model').AcDbOpenDatabaseOptions) => Promise<void>;
|
|
4976
6220
|
dxfOut: (_fileName?: string, precision?: number, version?: import('@mlightcad/data-model').AcDbDwgVersion | string | number, _saveThumbnailImage?: boolean) => string;
|