@duet3d/objectmodel 3.7.0-alpha.8 → 3.7.0-alpha.9

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.
@@ -1,4 +1,4 @@
1
- import { IModelObject } from "./ModelObject";
1
+ import type { IModelObject } from "./ModelObject";
2
2
  /**
3
3
  * Class for storing model object items in an array
4
4
  */
@@ -1,4 +1,4 @@
1
- import { IModelObject } from "./ModelObject";
1
+ import type { IModelObject } from "./ModelObject";
2
2
  /**
3
3
  * Dictionary class to map object model data
4
4
  */
@@ -1,4 +1,4 @@
1
- import { IModelObject } from "../../ModelObject";
1
+ import type { IModelObject } from "../../ModelObject";
2
2
  import DirectDisplayScreenBase from "./DirectDisplayScreenBase";
3
3
  export declare class DirectDisplayScreen extends DirectDisplayScreenBase {
4
4
  update(jsonElement: any): IModelObject | null;
@@ -1,4 +1,5 @@
1
1
  import ModelObject from "../../ModelObject";
2
+ import { DirectDisplayController } from ".";
2
3
  export class DirectDisplayScreenBase extends ModelObject {
3
4
  constructor(type) {
4
5
  super();
@@ -1,4 +1,4 @@
1
- import { IModelObject } from "../../ModelObject";
1
+ import type { IModelObject } from "../../ModelObject";
2
2
  import DirectDisplayScreenBase from "./DirectDisplayScreen";
3
3
  export declare class DirectDisplayScreenST7567 extends DirectDisplayScreenBase {
4
4
  constructor();
@@ -1,4 +1,5 @@
1
1
  import ModelObject from "../../ModelObject";
2
+ import DirectDisplayScreenBase from "./DirectDisplayScreenBase";
2
3
  import DirectDisplayScreen from "./DirectDisplayScreen";
3
4
  import { DirectDisplayScreenST7567 } from "./DirectDisplayScreenST7567";
4
5
  export var DirectDisplayController;
@@ -1,3 +1,4 @@
1
+ import ModelCollection from "../ModelCollection";
1
2
  import ModelObject from "../ModelObject";
2
3
  import DirectDisplay from "./directDisplay";
3
4
  import Driver from "./Driver";
@@ -1,4 +1,5 @@
1
- import ModelObject, { IModelObject } from "../ModelObject";
1
+ import ModelObject from "../ModelObject";
2
+ import type { IModelObject } from "../ModelObject";
2
3
  export declare function isDriverId(value: any): value is DriverId;
3
4
  export declare class DriverId extends ModelObject {
4
5
  board: number | null;
@@ -7,7 +7,7 @@ import KeepoutZone from "./KeepoutZone";
7
7
  import MotionSystem from "./MotionSystem";
8
8
  import MoveCalibration from "./MoveCalibration";
9
9
  import MoveCompensation from "./MoveCompensation";
10
- import { CoreKinematics, KinematicsName } from "./kinematics";
10
+ import Kinematics, { CoreKinematics, KinematicsName } from "./kinematics";
11
11
  export class CurrentMove extends ModelObject {
12
12
  constructor() {
13
13
  super(...arguments);
@@ -1,4 +1,4 @@
1
- import { IModelObject } from "../../ModelObject";
1
+ import type { IModelObject } from "../../ModelObject";
2
2
  import { KinematicsName, ZLeadscrewKinematics } from "./KinematicsBase";
3
3
  export declare class CoreKinematics extends ZLeadscrewKinematics {
4
4
  constructor(name: KinematicsName);
@@ -1,4 +1,4 @@
1
- import { ZLeadscrewKinematics } from "./KinematicsBase";
1
+ import { KinematicsName, ZLeadscrewKinematics } from "./KinematicsBase";
2
2
  import { getKinematics } from "./index";
3
3
  export class CoreKinematics extends ZLeadscrewKinematics {
4
4
  constructor(name) {
@@ -1,5 +1,6 @@
1
1
  import ModelCollection from "../../ModelCollection";
2
- import ModelObject, { IModelObject } from "../../ModelObject";
2
+ import ModelObject from "../../ModelObject";
3
+ import type { IModelObject } from "../../ModelObject";
3
4
  import KinematicsBase from "./KinematicsBase";
4
5
  export declare class DeltaTower extends ModelObject {
5
6
  angleCorrection: number;
@@ -1,4 +1,4 @@
1
- import { initCollection } from "../../ModelCollection";
1
+ import ModelCollection, { initCollection } from "../../ModelCollection";
2
2
  import ModelObject from "../../ModelObject";
3
3
  import KinematicsBase from "./KinematicsBase";
4
4
  import { getKinematics } from "./index";
@@ -1,4 +1,4 @@
1
- import { IModelObject } from "../../ModelObject";
1
+ import type { IModelObject } from "../../ModelObject";
2
2
  import KinematicsBase from "./KinematicsBase";
3
3
  export declare class HangprinterKinematics extends KinematicsBase {
4
4
  anchors: Array<Array<number>>;
@@ -1,4 +1,4 @@
1
- import { IModelObject } from "../../ModelObject";
1
+ import type { IModelObject } from "../../ModelObject";
2
2
  import KinematicsBase from "./KinematicsBase";
3
3
  export declare class PolarKinematics extends KinematicsBase {
4
4
  constructor();
@@ -1,4 +1,4 @@
1
- import { IModelObject } from "../../ModelObject";
1
+ import type { IModelObject } from "../../ModelObject";
2
2
  import { ZLeadscrewKinematics } from "./KinematicsBase";
3
3
  export declare class ScaraKinematics extends ZLeadscrewKinematics {
4
4
  crosstalk: number[];
@@ -1,4 +1,4 @@
1
- import { IModelObject } from "../../ModelObject";
1
+ import type { IModelObject } from "../../ModelObject";
2
2
  import KinematicsBase, { KinematicsName } from "./KinematicsBase";
3
3
  export declare class Kinematics extends KinematicsBase {
4
4
  constructor(name?: KinematicsName);
@@ -1,4 +1,5 @@
1
- import ModelObject, { IModelObject } from "../ModelObject";
1
+ import ModelObject from "../ModelObject";
2
+ import type { IModelObject } from "../ModelObject";
2
3
  import ModelSet from "../ModelSet";
3
4
  export declare enum SbcPermission {
4
5
  none = "none",
@@ -1,4 +1,5 @@
1
- import ModelObject, { IModelObject } from "../../ModelObject";
1
+ import ModelObject from "../../ModelObject";
2
+ import type { IModelObject } from "../../ModelObject";
2
3
  import { Duet3DFilamentMonitor } from "./Duet3DFilamentMonitor";
3
4
  export declare class LaserFilamentMonitorCalibrated extends ModelObject {
4
5
  percentMax: number;
@@ -1,4 +1,5 @@
1
- import ModelObject, { IModelObject } from "../../ModelObject";
1
+ import ModelObject from "../../ModelObject";
2
+ import type { IModelObject } from "../../ModelObject";
2
3
  import FilamentMonitorBase from "./FilamentMonitorBase";
3
4
  export declare class PulsedFilamentMonitorCalibrated extends ModelObject {
4
5
  mmPerPulse: number;
@@ -1,4 +1,5 @@
1
- import ModelObject, { IModelObject } from "../../ModelObject";
1
+ import ModelObject from "../../ModelObject";
2
+ import type { IModelObject } from "../../ModelObject";
2
3
  import { Duet3DFilamentMonitor } from "./Duet3DFilamentMonitor";
3
4
  export declare class RotatingMagnetFilamentMonitorCalibrated extends ModelObject {
4
5
  mmPerPulse: number;
@@ -1,4 +1,4 @@
1
- import { IModelObject } from "../../ModelObject";
1
+ import type { IModelObject } from "../../ModelObject";
2
2
  import FilamentMonitorBase, { FilamentMonitorType } from "./FilamentMonitorBase";
3
3
  export declare class FilamentMonitor extends FilamentMonitorBase {
4
4
  update(jsonElement: any): IModelObject | null;
@@ -1,4 +1,5 @@
1
- import ModelObject, { IModelObject } from "../ModelObject";
1
+ import ModelObject from "../ModelObject";
2
+ import type { IModelObject } from "../ModelObject";
2
3
  export declare enum MessageBoxMode {
3
4
  noButtons = 0,
4
5
  closeOnly = 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/objectmodel",
3
- "version": "3.7.0-alpha.8",
3
+ "version": "3.7.0-alpha.9",
4
4
  "description": "TypeScript implementation of the Duet3D Object Model",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",