@mlightcad/cad-viewer 1.4.13 → 1.5.1
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/dist/app/register.d.ts.map +1 -1
- package/dist/app/store.d.ts +1 -0
- package/dist/app/store.d.ts.map +1 -1
- package/dist/command/AcApDrawingUnitsCmd.d.ts +5 -0
- package/dist/command/AcApDrawingUnitsCmd.d.ts.map +1 -0
- package/dist/command/AcApHatchRibbonCmd.d.ts +74 -0
- package/dist/command/AcApHatchRibbonCmd.d.ts.map +1 -0
- package/dist/command/AcApLayerStateCmd.d.ts.map +1 -1
- package/dist/command/AcApPropertiesCmd.d.ts +5 -0
- package/dist/command/AcApPropertiesCmd.d.ts.map +1 -0
- package/dist/command/index.d.ts +3 -0
- package/dist/command/index.d.ts.map +1 -1
- package/dist/component/MlCadViewer.vue.d.ts +10 -1
- package/dist/component/MlCadViewer.vue.d.ts.map +1 -1
- package/dist/component/common/MlBaseDialog.vue.d.ts.map +1 -1
- package/dist/component/common/MlBaseDrawStyleToolbar.vue.d.ts +1 -1
- package/dist/component/common/MlBaseDrawStyleToolbar.vue.d.ts.map +1 -1
- package/dist/component/common/MlColorDropdown.vue.d.ts +4 -0
- package/dist/component/common/MlColorDropdown.vue.d.ts.map +1 -1
- package/dist/component/common/MlColorPickerDropdown.vue.d.ts +2 -2
- package/dist/component/common/MlFieldsetGroup.vue.d.ts +50 -0
- package/dist/component/common/MlFieldsetGroup.vue.d.ts.map +1 -0
- package/dist/component/common/MlHatchPatternDropdown.vue.d.ts +65 -0
- package/dist/component/common/MlHatchPatternDropdown.vue.d.ts.map +1 -0
- package/dist/component/common/MlHatchPatternPanel.vue.d.ts +55 -0
- package/dist/component/common/MlHatchPatternPanel.vue.d.ts.map +1 -0
- package/dist/component/common/MlLayerSelect.vue.d.ts +46 -0
- package/dist/component/common/MlLayerSelect.vue.d.ts.map +1 -0
- package/dist/component/common/MlLineTypeSelect.vue.d.ts +35 -0
- package/dist/component/common/MlLineTypeSelect.vue.d.ts.map +1 -0
- package/dist/component/common/MlLineWeightSelect.vue.d.ts +13 -5
- 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.map +1 -1
- package/dist/component/common/hatchPatternPreview.d.ts +36 -0
- package/dist/component/common/hatchPatternPreview.d.ts.map +1 -0
- package/dist/component/common/index.d.ts +5 -0
- package/dist/component/common/index.d.ts.map +1 -1
- package/dist/component/common/lineTypeOptions.d.ts +41 -0
- package/dist/component/common/lineTypeOptions.d.ts.map +1 -0
- package/dist/component/dialog/MlCharacterMapDialog.vue.d.ts +84 -0
- package/dist/component/dialog/MlCharacterMapDialog.vue.d.ts.map +1 -0
- package/dist/component/dialog/MlDrawingUnitsDlg.vue.d.ts +19 -0
- package/dist/component/dialog/MlDrawingUnitsDlg.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/MlReplacementDlg.vue.d.ts.map +1 -1
- package/dist/component/dialog/charMapTtfCodepoints.d.ts +25 -0
- package/dist/component/dialog/charMapTtfCodepoints.d.ts.map +1 -0
- package/dist/component/dialog/index.d.ts +1 -0
- package/dist/component/dialog/index.d.ts.map +1 -1
- package/dist/component/index.d.ts +1 -0
- package/dist/component/index.d.ts.map +1 -1
- package/dist/component/layout/MlEntityInfo.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/palette/MlEntityProperties.vue.d.ts.map +1 -1
- package/dist/component/palette/MlLayerList.vue.d.ts.map +1 -1
- package/dist/component/palette/MlPaletteManager.vue.d.ts +1 -1
- package/dist/component/palette/MlPaletteManager.vue.d.ts.map +1 -1
- package/dist/component/ribbon/MlRibbonCommands.vue.d.ts +30 -0
- package/dist/component/ribbon/MlRibbonCommands.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonFontSelect.vue.d.ts +54 -0
- package/dist/component/ribbon/MlRibbonFontSelect.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonHatchColorRow2.vue.d.ts +19 -0
- package/dist/component/ribbon/MlRibbonHatchColorRow2.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonHatchColorRow3.vue.d.ts +20 -0
- package/dist/component/ribbon/MlRibbonHatchColorRow3.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonHatchPatternButton.vue.d.ts +76 -0
- package/dist/component/ribbon/MlRibbonHatchPatternButton.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonLanguageSelector.vue.d.ts +34 -0
- package/dist/component/ribbon/MlRibbonLanguageSelector.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonMTextHeightSelect.vue.d.ts +49 -0
- package/dist/component/ribbon/MlRibbonMTextHeightSelect.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonPropertyColorDropdown.vue.d.ts +32 -0
- package/dist/component/ribbon/MlRibbonPropertyColorDropdown.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonPropertyField.vue.d.ts +45 -0
- package/dist/component/ribbon/MlRibbonPropertyField.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonPropertyLineTypeSelect.vue.d.ts +30 -0
- package/dist/component/ribbon/MlRibbonPropertyLineTypeSelect.vue.d.ts.map +1 -0
- package/dist/component/ribbon/MlRibbonPropertyLineWeightSelect.vue.d.ts +28 -0
- package/dist/component/ribbon/MlRibbonPropertyLineWeightSelect.vue.d.ts.map +1 -0
- package/dist/component/ribbon/index.d.ts +9 -0
- package/dist/component/ribbon/index.d.ts.map +1 -0
- package/dist/component/ribbon/useHatchContextualRibbon.d.ts +45 -0
- package/dist/component/ribbon/useHatchContextualRibbon.d.ts.map +1 -0
- package/dist/component/ribbon/useMTextContextualRibbon.d.ts +46 -0
- package/dist/component/ribbon/useMTextContextualRibbon.d.ts.map +1 -0
- 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/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 +3 -0
- package/dist/composable/index.d.ts.map +1 -1
- package/dist/composable/markComponentConfigRaw.d.ts +2 -0
- package/dist/composable/markComponentConfigRaw.d.ts.map +1 -0
- package/dist/composable/useCommands.d.ts +3 -0
- package/dist/composable/useCommands.d.ts.map +1 -1
- package/dist/composable/useCurrentPos.d.ts.map +1 -1
- package/dist/composable/useDocOpenMode.d.ts +16 -0
- package/dist/composable/useDocOpenMode.d.ts.map +1 -1
- package/dist/composable/useDocumentOpening.d.ts +9 -0
- package/dist/composable/useDocumentOpening.d.ts.map +1 -0
- package/dist/composable/useHover.d.ts +488 -38
- package/dist/composable/useHover.d.ts.map +1 -1
- package/dist/composable/useLayers.d.ts +21 -4
- package/dist/composable/useLayers.d.ts.map +1 -1
- package/dist/composable/useLocale.d.ts +8 -0
- package/dist/composable/useLocale.d.ts.map +1 -1
- package/dist/composable/useRibbonContextualTab.d.ts +19 -0
- package/dist/composable/useRibbonContextualTab.d.ts.map +1 -0
- package/dist/composable/useViewerRect.d.ts +72 -0
- package/dist/composable/useViewerRect.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +21008 -16276
- package/dist/locale/en/command.d.ts +10 -1
- package/dist/locale/en/command.d.ts.map +1 -1
- package/dist/locale/en/dialog.d.ts +54 -0
- package/dist/locale/en/dialog.d.ts.map +1 -1
- package/dist/locale/en/entity.d.ts +48 -0
- package/dist/locale/en/entity.d.ts.map +1 -1
- package/dist/locale/en/main.d.ts +367 -0
- package/dist/locale/en/main.d.ts.map +1 -1
- package/dist/locale/zh/command.d.ts +10 -1
- package/dist/locale/zh/command.d.ts.map +1 -1
- package/dist/locale/zh/dialog.d.ts +54 -0
- package/dist/locale/zh/dialog.d.ts.map +1 -1
- package/dist/locale/zh/entity.d.ts +48 -0
- package/dist/locale/zh/entity.d.ts.map +1 -1
- package/dist/locale/zh/main.d.ts +367 -0
- package/dist/locale/zh/main.d.ts.map +1 -1
- package/dist/svg/arc/index.d.ts +11 -0
- package/dist/svg/arc/index.d.ts.map +1 -0
- package/dist/svg/circle/index.d.ts +7 -0
- package/dist/svg/circle/index.d.ts.map +1 -0
- package/dist/svg/ellipse/index.d.ts +3 -0
- package/dist/svg/ellipse/index.d.ts.map +1 -0
- package/dist/svg/hatch/index.d.ts +3 -0
- package/dist/svg/hatch/index.d.ts.map +1 -0
- package/dist/svg/index.d.ts +23 -6
- package/dist/svg/index.d.ts.map +1 -1
- package/dist/svg/layer/index.d.ts +14 -0
- package/dist/svg/layer/index.d.ts.map +1 -0
- package/dist/svg/measure/index.d.ts +7 -0
- package/dist/svg/measure/index.d.ts.map +1 -0
- package/dist/svg/mtext/index.d.ts +5 -0
- package/dist/svg/mtext/index.d.ts.map +1 -0
- package/dist/svg/spline/index.d.ts +2 -0
- package/dist/svg/spline/index.d.ts.map +1 -0
- package/package.json +19 -11
|
@@ -176,7 +176,7 @@ export declare function useHover(): {
|
|
|
176
176
|
}[];
|
|
177
177
|
};
|
|
178
178
|
subGetGripPoints: () => import('@mlightcad/data-model').AcGePoint3d[];
|
|
179
|
-
subGetOsnapPoints: (osnapMode: import('@mlightcad/data-model').AcDbOsnapMode, pickPoint: AcGePoint3dLike, lastPoint: AcGePoint3dLike, snapPoints: AcGePoint3dLike[], gsMark?: AcDbObjectId) => void;
|
|
179
|
+
subGetOsnapPoints: (osnapMode: import('@mlightcad/data-model').AcDbOsnapMode, pickPoint: AcGePoint3dLike, lastPoint: AcGePoint3dLike, snapPoints: AcGePoint3dLike[], gsMark?: AcDbObjectId, insertionMat?: import('@mlightcad/data-model').AcGeMatrix3d) => void;
|
|
180
180
|
transformBy: (matrix: import('@mlightcad/data-model').AcGeMatrix3d) => AcDbEntity;
|
|
181
181
|
readonly geometricExtents: {
|
|
182
182
|
min: {
|
|
@@ -495,22 +495,6 @@ export declare function useHover(): {
|
|
|
495
495
|
triggerModifiedEvent: () => void;
|
|
496
496
|
readonly lineStyle: {
|
|
497
497
|
type: import('@mlightcad/data-model').AcGiStyleType;
|
|
498
|
-
arrows?: {
|
|
499
|
-
firstArrow?: {
|
|
500
|
-
type: import('@mlightcad/data-model').AcGiArrowType;
|
|
501
|
-
inversed?: boolean | undefined;
|
|
502
|
-
appended?: boolean | undefined;
|
|
503
|
-
scale?: number | undefined;
|
|
504
|
-
visible: boolean;
|
|
505
|
-
} | undefined;
|
|
506
|
-
secondArrow?: {
|
|
507
|
-
type: import('@mlightcad/data-model').AcGiArrowType;
|
|
508
|
-
inversed?: boolean | undefined;
|
|
509
|
-
appended?: boolean | undefined;
|
|
510
|
-
scale?: number | undefined;
|
|
511
|
-
visible: boolean;
|
|
512
|
-
} | undefined;
|
|
513
|
-
} | undefined;
|
|
514
498
|
name: string;
|
|
515
499
|
standardFlag: number;
|
|
516
500
|
description: string;
|
|
@@ -1051,6 +1035,7 @@ export declare function useHover(): {
|
|
|
1051
1035
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1052
1036
|
};
|
|
1053
1037
|
readonly textStyleTable: {
|
|
1038
|
+
resolveAt: (name?: string) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
|
|
1054
1039
|
readonly fonts: string[];
|
|
1055
1040
|
readonly numEntries: number;
|
|
1056
1041
|
add: (record: import('@mlightcad/data-model').AcDbTextStyleTableRecord) => void;
|
|
@@ -1531,6 +1516,142 @@ export declare function useHover(): {
|
|
|
1531
1516
|
clone: () => import('@mlightcad/data-model').AcDbLayoutDictionary;
|
|
1532
1517
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1533
1518
|
};
|
|
1519
|
+
readonly mleaderStyle: {
|
|
1520
|
+
readonly numEntries: number;
|
|
1521
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbMLeaderStyle) => void;
|
|
1522
|
+
remove: (name: string) => boolean;
|
|
1523
|
+
removeId: (id: string) => boolean;
|
|
1524
|
+
removeAll: () => void;
|
|
1525
|
+
has: (name: string) => boolean;
|
|
1526
|
+
hasId: (id: string) => boolean;
|
|
1527
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbMLeaderStyle | undefined;
|
|
1528
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbMLeaderStyle | undefined;
|
|
1529
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
1530
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbMLeaderStyle]>;
|
|
1531
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
1532
|
+
readonly attrs: {
|
|
1533
|
+
attributes: {
|
|
1534
|
+
[x: string]: any;
|
|
1535
|
+
objectId?: AcDbObjectId | undefined;
|
|
1536
|
+
ownerId?: AcDbObjectId | undefined;
|
|
1537
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
1538
|
+
};
|
|
1539
|
+
changed: {
|
|
1540
|
+
[x: string]: any;
|
|
1541
|
+
objectId?: AcDbObjectId | undefined;
|
|
1542
|
+
ownerId?: AcDbObjectId | undefined;
|
|
1543
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
1544
|
+
};
|
|
1545
|
+
readonly events: {
|
|
1546
|
+
attrChanged: {
|
|
1547
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1548
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1549
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1550
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
1551
|
+
};
|
|
1552
|
+
modelChanged: {
|
|
1553
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1554
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1555
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1556
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
1560
|
+
set: {
|
|
1561
|
+
<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>;
|
|
1562
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1563
|
+
};
|
|
1564
|
+
has: (key: string) => boolean;
|
|
1565
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
1566
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1567
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
1568
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1569
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1570
|
+
};
|
|
1571
|
+
getAttr: (attrName: string) => any;
|
|
1572
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
1573
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1574
|
+
objectId: AcDbObjectId;
|
|
1575
|
+
readonly isTemp: any;
|
|
1576
|
+
ownerId: AcDbObjectId;
|
|
1577
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
1578
|
+
database: /*elided*/ any;
|
|
1579
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
1580
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
1581
|
+
removeXData: (appId: string) => void;
|
|
1582
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1583
|
+
close: () => void;
|
|
1584
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
1585
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1586
|
+
};
|
|
1587
|
+
readonly mlineStyle: {
|
|
1588
|
+
readonly numEntries: number;
|
|
1589
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbMlineStyle) => void;
|
|
1590
|
+
remove: (name: string) => boolean;
|
|
1591
|
+
removeId: (id: string) => boolean;
|
|
1592
|
+
removeAll: () => void;
|
|
1593
|
+
has: (name: string) => boolean;
|
|
1594
|
+
hasId: (id: string) => boolean;
|
|
1595
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbMlineStyle | undefined;
|
|
1596
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbMlineStyle | undefined;
|
|
1597
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
1598
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbMlineStyle]>;
|
|
1599
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
1600
|
+
readonly attrs: {
|
|
1601
|
+
attributes: {
|
|
1602
|
+
[x: string]: any;
|
|
1603
|
+
objectId?: AcDbObjectId | undefined;
|
|
1604
|
+
ownerId?: AcDbObjectId | undefined;
|
|
1605
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
1606
|
+
};
|
|
1607
|
+
changed: {
|
|
1608
|
+
[x: string]: any;
|
|
1609
|
+
objectId?: AcDbObjectId | undefined;
|
|
1610
|
+
ownerId?: AcDbObjectId | undefined;
|
|
1611
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
1612
|
+
};
|
|
1613
|
+
readonly events: {
|
|
1614
|
+
attrChanged: {
|
|
1615
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1616
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1617
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1618
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
1619
|
+
};
|
|
1620
|
+
modelChanged: {
|
|
1621
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1622
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1623
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
1624
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
1625
|
+
};
|
|
1626
|
+
};
|
|
1627
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
1628
|
+
set: {
|
|
1629
|
+
<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>;
|
|
1630
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1631
|
+
};
|
|
1632
|
+
has: (key: string) => boolean;
|
|
1633
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
1634
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1635
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
1636
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1637
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
1638
|
+
};
|
|
1639
|
+
getAttr: (attrName: string) => any;
|
|
1640
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
1641
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
1642
|
+
objectId: AcDbObjectId;
|
|
1643
|
+
readonly isTemp: any;
|
|
1644
|
+
ownerId: AcDbObjectId;
|
|
1645
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
1646
|
+
database: /*elided*/ any;
|
|
1647
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
1648
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
1649
|
+
removeXData: (appId: string) => void;
|
|
1650
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
1651
|
+
close: () => void;
|
|
1652
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
1653
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
1654
|
+
};
|
|
1534
1655
|
readonly xrecord: {
|
|
1535
1656
|
readonly numEntries: number;
|
|
1536
1657
|
setAt: (key: string, value: import('@mlightcad/data-model').AcDbXrecord) => void;
|
|
@@ -1600,16 +1721,27 @@ export declare function useHover(): {
|
|
|
1600
1721
|
dxfOut: (...args: unknown[]) => unknown;
|
|
1601
1722
|
};
|
|
1602
1723
|
};
|
|
1724
|
+
readonly formatter: {
|
|
1725
|
+
formatLength: (value: number, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
|
|
1726
|
+
formatPoint2d: (point: import('@mlightcad/data-model').AcGePoint2d, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
|
|
1727
|
+
formatPoint3d: (point: import('@mlightcad/data-model').AcGePoint3d, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
|
|
1728
|
+
formatAngle: (radians: number, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
|
|
1729
|
+
};
|
|
1603
1730
|
generateHandle: () => AcDbObjectId;
|
|
1604
1731
|
updateMaxHandle: (handle: string) => void;
|
|
1605
1732
|
commitObjectHandle: (object: import('@mlightcad/data-model').AcDbObject, hasId?: (id: AcDbObjectId) => boolean) => void;
|
|
1606
1733
|
currentSpaceId: AcDbObjectId;
|
|
1607
1734
|
aunits: number;
|
|
1735
|
+
auprec: number;
|
|
1736
|
+
lunits: number;
|
|
1737
|
+
luprec: number;
|
|
1608
1738
|
version: {
|
|
1609
1739
|
name: string;
|
|
1610
1740
|
value: number;
|
|
1611
1741
|
};
|
|
1612
1742
|
insunits: number;
|
|
1743
|
+
unitmode: number;
|
|
1744
|
+
measurement: number;
|
|
1613
1745
|
ltscale: number;
|
|
1614
1746
|
lwdisplay: boolean;
|
|
1615
1747
|
cecolor: {
|
|
@@ -1641,11 +1773,102 @@ export declare function useHover(): {
|
|
|
1641
1773
|
toString: () => string;
|
|
1642
1774
|
};
|
|
1643
1775
|
celtscale: number;
|
|
1776
|
+
celtype: string;
|
|
1644
1777
|
celweight: import('@mlightcad/data-model').AcGiLineWeight;
|
|
1778
|
+
cetransparency: {
|
|
1779
|
+
method: import('@mlightcad/data-model').AcCmTransparencyMethod;
|
|
1780
|
+
alpha: number;
|
|
1781
|
+
percentage: number | undefined;
|
|
1782
|
+
readonly isByAlpha: boolean;
|
|
1783
|
+
readonly isByBlock: boolean;
|
|
1784
|
+
readonly isByLayer: boolean;
|
|
1785
|
+
readonly isClear: boolean;
|
|
1786
|
+
readonly isSolid: boolean;
|
|
1787
|
+
readonly isInvalid: boolean;
|
|
1788
|
+
serialize: () => number;
|
|
1789
|
+
clone: () => import('@mlightcad/data-model').AcCmTransparency;
|
|
1790
|
+
equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
|
|
1791
|
+
toString: () => string;
|
|
1792
|
+
};
|
|
1645
1793
|
clayer: string;
|
|
1794
|
+
cmlstyle: string;
|
|
1795
|
+
cmlscale: number;
|
|
1796
|
+
cmleaderstyle: string;
|
|
1797
|
+
hpbackgroundcolor: {
|
|
1798
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
1799
|
+
readonly red: number | undefined;
|
|
1800
|
+
readonly green: number | undefined;
|
|
1801
|
+
readonly blue: number | undefined;
|
|
1802
|
+
readonly RGB: number | undefined;
|
|
1803
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1804
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
1805
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
1806
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1807
|
+
readonly hexColor: string | undefined;
|
|
1808
|
+
readonly cssColor: string | undefined;
|
|
1809
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
1810
|
+
colorIndex: number | undefined;
|
|
1811
|
+
readonly isByColor: boolean;
|
|
1812
|
+
readonly isByACI: boolean;
|
|
1813
|
+
readonly isForeground: boolean;
|
|
1814
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
1815
|
+
readonly isByLayer: boolean;
|
|
1816
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1817
|
+
readonly isByBlock: boolean;
|
|
1818
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1819
|
+
colorName: string | undefined;
|
|
1820
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
1821
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
1822
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
1823
|
+
toString: () => string;
|
|
1824
|
+
};
|
|
1825
|
+
hpcolor: {
|
|
1826
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
1827
|
+
readonly red: number | undefined;
|
|
1828
|
+
readonly green: number | undefined;
|
|
1829
|
+
readonly blue: number | undefined;
|
|
1830
|
+
readonly RGB: number | undefined;
|
|
1831
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1832
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
1833
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
1834
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1835
|
+
readonly hexColor: string | undefined;
|
|
1836
|
+
readonly cssColor: string | undefined;
|
|
1837
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
1838
|
+
colorIndex: number | undefined;
|
|
1839
|
+
readonly isByColor: boolean;
|
|
1840
|
+
readonly isByACI: boolean;
|
|
1841
|
+
readonly isForeground: boolean;
|
|
1842
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
1843
|
+
readonly isByLayer: boolean;
|
|
1844
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1845
|
+
readonly isByBlock: boolean;
|
|
1846
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
1847
|
+
colorName: string | undefined;
|
|
1848
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
1849
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
1850
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
1851
|
+
toString: () => string;
|
|
1852
|
+
};
|
|
1853
|
+
hplayer: string;
|
|
1854
|
+
hptransparency: {
|
|
1855
|
+
method: import('@mlightcad/data-model').AcCmTransparencyMethod;
|
|
1856
|
+
alpha: number;
|
|
1857
|
+
percentage: number | undefined;
|
|
1858
|
+
readonly isByAlpha: boolean;
|
|
1859
|
+
readonly isByBlock: boolean;
|
|
1860
|
+
readonly isByLayer: boolean;
|
|
1861
|
+
readonly isClear: boolean;
|
|
1862
|
+
readonly isSolid: boolean;
|
|
1863
|
+
readonly isInvalid: boolean;
|
|
1864
|
+
serialize: () => number;
|
|
1865
|
+
clone: () => import('@mlightcad/data-model').AcCmTransparency;
|
|
1866
|
+
equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
|
|
1867
|
+
toString: () => string;
|
|
1868
|
+
};
|
|
1646
1869
|
textstyle: string;
|
|
1647
|
-
|
|
1648
|
-
|
|
1870
|
+
angbase: number;
|
|
1871
|
+
angdir: number;
|
|
1649
1872
|
extmax: {
|
|
1650
1873
|
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
1651
1874
|
x: number;
|
|
@@ -2107,6 +2330,8 @@ export declare function useHover(): {
|
|
|
2107
2330
|
dxfOut: (_fileName?: string, precision?: number, version?: import('@mlightcad/data-model').AcDbDwgVersion | string | number, _saveThumbnailImage?: boolean) => string;
|
|
2108
2331
|
regen: () => Promise<void>;
|
|
2109
2332
|
createDefaultData: (options?: import('@mlightcad/data-model').AcDbCreateDefaultDataOptions) => void;
|
|
2333
|
+
ensureEntityStyleDefaults: (entity: AcDbEntity) => void;
|
|
2334
|
+
ensureTextStyleDefaults: () => void;
|
|
2110
2335
|
readonly attrs: {
|
|
2111
2336
|
attributes: {
|
|
2112
2337
|
[x: string]: any;
|
|
@@ -2285,7 +2510,7 @@ export declare function useHover(): {
|
|
|
2285
2510
|
}[];
|
|
2286
2511
|
};
|
|
2287
2512
|
subGetGripPoints: () => import('@mlightcad/data-model').AcGePoint3d[];
|
|
2288
|
-
subGetOsnapPoints: (osnapMode: import('@mlightcad/data-model').AcDbOsnapMode, pickPoint: AcGePoint3dLike, lastPoint: AcGePoint3dLike, snapPoints: AcGePoint3dLike[], gsMark?: AcDbObjectId) => void;
|
|
2513
|
+
subGetOsnapPoints: (osnapMode: import('@mlightcad/data-model').AcDbOsnapMode, pickPoint: AcGePoint3dLike, lastPoint: AcGePoint3dLike, snapPoints: AcGePoint3dLike[], gsMark?: AcDbObjectId, insertionMat?: import('@mlightcad/data-model').AcGeMatrix3d) => void;
|
|
2289
2514
|
transformBy: (matrix: import('@mlightcad/data-model').AcGeMatrix3d) => AcDbEntity;
|
|
2290
2515
|
readonly geometricExtents: {
|
|
2291
2516
|
min: {
|
|
@@ -2604,22 +2829,6 @@ export declare function useHover(): {
|
|
|
2604
2829
|
triggerModifiedEvent: () => void;
|
|
2605
2830
|
readonly lineStyle: {
|
|
2606
2831
|
type: import('@mlightcad/data-model').AcGiStyleType;
|
|
2607
|
-
arrows?: {
|
|
2608
|
-
firstArrow?: {
|
|
2609
|
-
type: import('@mlightcad/data-model').AcGiArrowType;
|
|
2610
|
-
inversed?: boolean | undefined;
|
|
2611
|
-
appended?: boolean | undefined;
|
|
2612
|
-
scale?: number | undefined;
|
|
2613
|
-
visible: boolean;
|
|
2614
|
-
} | undefined;
|
|
2615
|
-
secondArrow?: {
|
|
2616
|
-
type: import('@mlightcad/data-model').AcGiArrowType;
|
|
2617
|
-
inversed?: boolean | undefined;
|
|
2618
|
-
appended?: boolean | undefined;
|
|
2619
|
-
scale?: number | undefined;
|
|
2620
|
-
visible: boolean;
|
|
2621
|
-
} | undefined;
|
|
2622
|
-
} | undefined;
|
|
2623
2832
|
name: string;
|
|
2624
2833
|
standardFlag: number;
|
|
2625
2834
|
description: string;
|
|
@@ -3160,6 +3369,7 @@ export declare function useHover(): {
|
|
|
3160
3369
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3161
3370
|
};
|
|
3162
3371
|
readonly textStyleTable: {
|
|
3372
|
+
resolveAt: (name?: string) => import('@mlightcad/data-model').AcDbTextStyleTableRecord | undefined;
|
|
3163
3373
|
readonly fonts: string[];
|
|
3164
3374
|
readonly numEntries: number;
|
|
3165
3375
|
add: (record: import('@mlightcad/data-model').AcDbTextStyleTableRecord) => void;
|
|
@@ -3640,6 +3850,142 @@ export declare function useHover(): {
|
|
|
3640
3850
|
clone: () => import('@mlightcad/data-model').AcDbLayoutDictionary;
|
|
3641
3851
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3642
3852
|
};
|
|
3853
|
+
readonly mleaderStyle: {
|
|
3854
|
+
readonly numEntries: number;
|
|
3855
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbMLeaderStyle) => void;
|
|
3856
|
+
remove: (name: string) => boolean;
|
|
3857
|
+
removeId: (id: string) => boolean;
|
|
3858
|
+
removeAll: () => void;
|
|
3859
|
+
has: (name: string) => boolean;
|
|
3860
|
+
hasId: (id: string) => boolean;
|
|
3861
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbMLeaderStyle | undefined;
|
|
3862
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbMLeaderStyle | undefined;
|
|
3863
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
3864
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbMLeaderStyle]>;
|
|
3865
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
3866
|
+
readonly attrs: {
|
|
3867
|
+
attributes: {
|
|
3868
|
+
[x: string]: any;
|
|
3869
|
+
objectId?: AcDbObjectId | undefined;
|
|
3870
|
+
ownerId?: AcDbObjectId | undefined;
|
|
3871
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
3872
|
+
};
|
|
3873
|
+
changed: {
|
|
3874
|
+
[x: string]: any;
|
|
3875
|
+
objectId?: AcDbObjectId | undefined;
|
|
3876
|
+
ownerId?: AcDbObjectId | undefined;
|
|
3877
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
3878
|
+
};
|
|
3879
|
+
readonly events: {
|
|
3880
|
+
attrChanged: {
|
|
3881
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3882
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3883
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3884
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
3885
|
+
};
|
|
3886
|
+
modelChanged: {
|
|
3887
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3888
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3889
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3890
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
3891
|
+
};
|
|
3892
|
+
};
|
|
3893
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
3894
|
+
set: {
|
|
3895
|
+
<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>;
|
|
3896
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3897
|
+
};
|
|
3898
|
+
has: (key: string) => boolean;
|
|
3899
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
3900
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3901
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
3902
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3903
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3904
|
+
};
|
|
3905
|
+
getAttr: (attrName: string) => any;
|
|
3906
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
3907
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3908
|
+
objectId: AcDbObjectId;
|
|
3909
|
+
readonly isTemp: any;
|
|
3910
|
+
ownerId: AcDbObjectId;
|
|
3911
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
3912
|
+
database: /*elided*/ any;
|
|
3913
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
3914
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
3915
|
+
removeXData: (appId: string) => void;
|
|
3916
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3917
|
+
close: () => void;
|
|
3918
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMLeaderStyle>;
|
|
3919
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3920
|
+
};
|
|
3921
|
+
readonly mlineStyle: {
|
|
3922
|
+
readonly numEntries: number;
|
|
3923
|
+
setAt: (key: string, value: import('@mlightcad/data-model').AcDbMlineStyle) => void;
|
|
3924
|
+
remove: (name: string) => boolean;
|
|
3925
|
+
removeId: (id: string) => boolean;
|
|
3926
|
+
removeAll: () => void;
|
|
3927
|
+
has: (name: string) => boolean;
|
|
3928
|
+
hasId: (id: string) => boolean;
|
|
3929
|
+
getAt: (name: string) => import('@mlightcad/data-model').AcDbMlineStyle | undefined;
|
|
3930
|
+
getIdAt: (id: AcDbObjectId) => import('@mlightcad/data-model').AcDbMlineStyle | undefined;
|
|
3931
|
+
newIterator: () => import('@mlightcad/data-model').AcDbObjectIterator<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
3932
|
+
entries: () => IterableIterator<[string, import('@mlightcad/data-model').AcDbMlineStyle]>;
|
|
3933
|
+
dxfOutFields: (filer: import('@mlightcad/data-model').AcDbDxfFiler) => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
3934
|
+
readonly attrs: {
|
|
3935
|
+
attributes: {
|
|
3936
|
+
[x: string]: any;
|
|
3937
|
+
objectId?: AcDbObjectId | undefined;
|
|
3938
|
+
ownerId?: AcDbObjectId | undefined;
|
|
3939
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
3940
|
+
};
|
|
3941
|
+
changed: {
|
|
3942
|
+
[x: string]: any;
|
|
3943
|
+
objectId?: AcDbObjectId | undefined;
|
|
3944
|
+
ownerId?: AcDbObjectId | undefined;
|
|
3945
|
+
extensionDictionary?: AcDbObjectId | undefined;
|
|
3946
|
+
};
|
|
3947
|
+
readonly events: {
|
|
3948
|
+
attrChanged: {
|
|
3949
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3950
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3951
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3952
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectAttributeChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
3953
|
+
};
|
|
3954
|
+
modelChanged: {
|
|
3955
|
+
addEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3956
|
+
removeEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3957
|
+
replaceEventListener: (listener: (payload: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs>) => void) => void;
|
|
3958
|
+
dispatch: (payload?: import('@mlightcad/data-model').AcCmObjectChangedEventArgs<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined, ...args: unknown[]) => void;
|
|
3959
|
+
};
|
|
3960
|
+
};
|
|
3961
|
+
get: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined;
|
|
3962
|
+
set: {
|
|
3963
|
+
<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>;
|
|
3964
|
+
(key: Partial<import('@mlightcad/data-model').AcDbObjectAttrs>, options?: import('@mlightcad/data-model').AcCmObjectOptions): import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3965
|
+
};
|
|
3966
|
+
has: (key: string) => boolean;
|
|
3967
|
+
hasChanged: (key?: string | undefined) => boolean;
|
|
3968
|
+
changedAttributes: (diff?: Partial<import('@mlightcad/data-model').AcDbObjectAttrs> | undefined) => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3969
|
+
previous: <A extends string>(key: A) => import('@mlightcad/data-model').AcDbObjectAttrs[A] | null | undefined;
|
|
3970
|
+
previousAttributes: () => Partial<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3971
|
+
clone: () => import('@mlightcad/data-model').AcCmObject<import('@mlightcad/data-model').AcDbObjectAttrs>;
|
|
3972
|
+
};
|
|
3973
|
+
getAttr: (attrName: string) => any;
|
|
3974
|
+
getAttrWithoutException: (attrName: string) => any;
|
|
3975
|
+
setAttr: <A extends string>(attrName: A, val?: import('@mlightcad/data-model').AcDbObjectAttrs[A] | undefined) => void;
|
|
3976
|
+
objectId: AcDbObjectId;
|
|
3977
|
+
readonly isTemp: any;
|
|
3978
|
+
ownerId: AcDbObjectId;
|
|
3979
|
+
extensionDictionary: AcDbObjectId | undefined;
|
|
3980
|
+
database: /*elided*/ any;
|
|
3981
|
+
getXData: (appId: string) => import('@mlightcad/data-model').AcDbResultBuffer | undefined;
|
|
3982
|
+
setXData: (resbuf: import('@mlightcad/data-model').AcDbResultBuffer) => void;
|
|
3983
|
+
removeXData: (appId: string) => void;
|
|
3984
|
+
createExtensionDictionary: () => AcDbObjectId | undefined;
|
|
3985
|
+
close: () => void;
|
|
3986
|
+
clone: () => import('@mlightcad/data-model').AcDbDictionary<import('@mlightcad/data-model').AcDbMlineStyle>;
|
|
3987
|
+
dxfOut: (...args: unknown[]) => unknown;
|
|
3988
|
+
};
|
|
3643
3989
|
readonly xrecord: {
|
|
3644
3990
|
readonly numEntries: number;
|
|
3645
3991
|
setAt: (key: string, value: import('@mlightcad/data-model').AcDbXrecord) => void;
|
|
@@ -3709,16 +4055,27 @@ export declare function useHover(): {
|
|
|
3709
4055
|
dxfOut: (...args: unknown[]) => unknown;
|
|
3710
4056
|
};
|
|
3711
4057
|
};
|
|
4058
|
+
readonly formatter: {
|
|
4059
|
+
formatLength: (value: number, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
|
|
4060
|
+
formatPoint2d: (point: import('@mlightcad/data-model').AcGePoint2d, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
|
|
4061
|
+
formatPoint3d: (point: import('@mlightcad/data-model').AcGePoint3d, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
|
|
4062
|
+
formatAngle: (radians: number, options?: import('@mlightcad/data-model').AcDbFormatterOptions) => string;
|
|
4063
|
+
};
|
|
3712
4064
|
generateHandle: () => AcDbObjectId;
|
|
3713
4065
|
updateMaxHandle: (handle: string) => void;
|
|
3714
4066
|
commitObjectHandle: (object: import('@mlightcad/data-model').AcDbObject, hasId?: (id: AcDbObjectId) => boolean) => void;
|
|
3715
4067
|
currentSpaceId: AcDbObjectId;
|
|
3716
4068
|
aunits: number;
|
|
4069
|
+
auprec: number;
|
|
4070
|
+
lunits: number;
|
|
4071
|
+
luprec: number;
|
|
3717
4072
|
version: {
|
|
3718
4073
|
name: string;
|
|
3719
4074
|
value: number;
|
|
3720
4075
|
};
|
|
3721
4076
|
insunits: number;
|
|
4077
|
+
unitmode: number;
|
|
4078
|
+
measurement: number;
|
|
3722
4079
|
ltscale: number;
|
|
3723
4080
|
lwdisplay: boolean;
|
|
3724
4081
|
cecolor: {
|
|
@@ -3750,11 +4107,102 @@ export declare function useHover(): {
|
|
|
3750
4107
|
toString: () => string;
|
|
3751
4108
|
};
|
|
3752
4109
|
celtscale: number;
|
|
4110
|
+
celtype: string;
|
|
3753
4111
|
celweight: import('@mlightcad/data-model').AcGiLineWeight;
|
|
4112
|
+
cetransparency: {
|
|
4113
|
+
method: import('@mlightcad/data-model').AcCmTransparencyMethod;
|
|
4114
|
+
alpha: number;
|
|
4115
|
+
percentage: number | undefined;
|
|
4116
|
+
readonly isByAlpha: boolean;
|
|
4117
|
+
readonly isByBlock: boolean;
|
|
4118
|
+
readonly isByLayer: boolean;
|
|
4119
|
+
readonly isClear: boolean;
|
|
4120
|
+
readonly isSolid: boolean;
|
|
4121
|
+
readonly isInvalid: boolean;
|
|
4122
|
+
serialize: () => number;
|
|
4123
|
+
clone: () => import('@mlightcad/data-model').AcCmTransparency;
|
|
4124
|
+
equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
|
|
4125
|
+
toString: () => string;
|
|
4126
|
+
};
|
|
3754
4127
|
clayer: string;
|
|
4128
|
+
cmlstyle: string;
|
|
4129
|
+
cmlscale: number;
|
|
4130
|
+
cmleaderstyle: string;
|
|
4131
|
+
hpbackgroundcolor: {
|
|
4132
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
4133
|
+
readonly red: number | undefined;
|
|
4134
|
+
readonly green: number | undefined;
|
|
4135
|
+
readonly blue: number | undefined;
|
|
4136
|
+
readonly RGB: number | undefined;
|
|
4137
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4138
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
4139
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
4140
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4141
|
+
readonly hexColor: string | undefined;
|
|
4142
|
+
readonly cssColor: string | undefined;
|
|
4143
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
4144
|
+
colorIndex: number | undefined;
|
|
4145
|
+
readonly isByColor: boolean;
|
|
4146
|
+
readonly isByACI: boolean;
|
|
4147
|
+
readonly isForeground: boolean;
|
|
4148
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
4149
|
+
readonly isByLayer: boolean;
|
|
4150
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4151
|
+
readonly isByBlock: boolean;
|
|
4152
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4153
|
+
colorName: string | undefined;
|
|
4154
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
4155
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
4156
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
4157
|
+
toString: () => string;
|
|
4158
|
+
};
|
|
4159
|
+
hpcolor: {
|
|
4160
|
+
colorMethod: import('@mlightcad/data-model').AcCmColorMethod;
|
|
4161
|
+
readonly red: number | undefined;
|
|
4162
|
+
readonly green: number | undefined;
|
|
4163
|
+
readonly blue: number | undefined;
|
|
4164
|
+
readonly RGB: number | undefined;
|
|
4165
|
+
setRGB: (r: number, g: number, b: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4166
|
+
setRGBValue: (value: number | undefined | null) => import('@mlightcad/data-model').AcCmColor;
|
|
4167
|
+
setRGBFromCss: (cssString: string) => import('@mlightcad/data-model').AcCmColor;
|
|
4168
|
+
setScalar: (scalar: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4169
|
+
readonly hexColor: string | undefined;
|
|
4170
|
+
readonly cssColor: string | undefined;
|
|
4171
|
+
cssColorAlpha: (alpha: number) => string | undefined;
|
|
4172
|
+
colorIndex: number | undefined;
|
|
4173
|
+
readonly isByColor: boolean;
|
|
4174
|
+
readonly isByACI: boolean;
|
|
4175
|
+
readonly isForeground: boolean;
|
|
4176
|
+
setForeground: () => import('@mlightcad/data-model').AcCmColor;
|
|
4177
|
+
readonly isByLayer: boolean;
|
|
4178
|
+
setByLayer: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4179
|
+
readonly isByBlock: boolean;
|
|
4180
|
+
setByBlock: (value?: number) => import('@mlightcad/data-model').AcCmColor;
|
|
4181
|
+
colorName: string | undefined;
|
|
4182
|
+
clone: () => import('@mlightcad/data-model').AcCmColor;
|
|
4183
|
+
copy: (other: import('@mlightcad/data-model').AcCmColor) => import('@mlightcad/data-model').AcCmColor;
|
|
4184
|
+
equals: (other: import('@mlightcad/data-model').AcCmColor) => boolean;
|
|
4185
|
+
toString: () => string;
|
|
4186
|
+
};
|
|
4187
|
+
hplayer: string;
|
|
4188
|
+
hptransparency: {
|
|
4189
|
+
method: import('@mlightcad/data-model').AcCmTransparencyMethod;
|
|
4190
|
+
alpha: number;
|
|
4191
|
+
percentage: number | undefined;
|
|
4192
|
+
readonly isByAlpha: boolean;
|
|
4193
|
+
readonly isByBlock: boolean;
|
|
4194
|
+
readonly isByLayer: boolean;
|
|
4195
|
+
readonly isClear: boolean;
|
|
4196
|
+
readonly isSolid: boolean;
|
|
4197
|
+
readonly isInvalid: boolean;
|
|
4198
|
+
serialize: () => number;
|
|
4199
|
+
clone: () => import('@mlightcad/data-model').AcCmTransparency;
|
|
4200
|
+
equals: (other: import('@mlightcad/data-model').AcCmTransparency) => boolean;
|
|
4201
|
+
toString: () => string;
|
|
4202
|
+
};
|
|
3755
4203
|
textstyle: string;
|
|
3756
|
-
|
|
3757
|
-
|
|
4204
|
+
angbase: number;
|
|
4205
|
+
angdir: number;
|
|
3758
4206
|
extmax: {
|
|
3759
4207
|
clone: () => import('@mlightcad/data-model').AcGePoint3d;
|
|
3760
4208
|
x: number;
|
|
@@ -4216,6 +4664,8 @@ export declare function useHover(): {
|
|
|
4216
4664
|
dxfOut: (_fileName?: string, precision?: number, version?: import('@mlightcad/data-model').AcDbDwgVersion | string | number, _saveThumbnailImage?: boolean) => string;
|
|
4217
4665
|
regen: () => Promise<void>;
|
|
4218
4666
|
createDefaultData: (options?: import('@mlightcad/data-model').AcDbCreateDefaultDataOptions) => void;
|
|
4667
|
+
ensureEntityStyleDefaults: (entity: AcDbEntity) => void;
|
|
4668
|
+
ensureTextStyleDefaults: () => void;
|
|
4219
4669
|
readonly attrs: {
|
|
4220
4670
|
attributes: {
|
|
4221
4671
|
[x: string]: any;
|