@duet3d/objectmodel 3.7.0-beta.4 → 3.7.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -7
- package/dist/ModelCollection.js +4 -5
- package/dist/ModelObject.js +3 -3
- package/dist/documentation.json +206 -940
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -10
- package/dist/sensors/FilamentMonitors/FilamentMonitorBase.d.ts +1 -0
- package/dist/sensors/FilamentMonitors/FilamentMonitorBase.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -25,13 +25,3 @@ export * from "./ObjectModel";
|
|
|
25
25
|
// Expose ObjectModel as default export
|
|
26
26
|
import ObjectModel from "./ObjectModel";
|
|
27
27
|
export default ObjectModel;
|
|
28
|
-
// Unfortunately we need to define a way to update arrays to remain compatible with Vue 2 (due to IE11).
|
|
29
|
-
// This will become obsolete as soon as DWC is upgraded to Vue 3, but that isn't going to happen anytime soon.
|
|
30
|
-
// Until then a Vue 2 user would have to call something like this on initialization to work around this limitation:
|
|
31
|
-
// globalThis._duetModelSetArray = (array, index, value) => Vue.set(array, index, value);
|
|
32
|
-
// or in TypeScript
|
|
33
|
-
// (globalThis as any)._duetModelSetArray = (array: object, index: string | number, value: any) => Vue.set(array, index, value);
|
|
34
|
-
globalThis._duetModelSetArray = (array, index, value) => array[index] = value;
|
|
35
|
-
export function setArrayItem(array, index, value) {
|
|
36
|
-
globalThis._duetModelSetArray(array, index, value);
|
|
37
|
-
}
|
|
@@ -26,6 +26,7 @@ export declare class FilamentMonitorBase extends ModelObject {
|
|
|
26
26
|
*/
|
|
27
27
|
enabled: boolean;
|
|
28
28
|
enableMode: FilamentMonitorEnableMode;
|
|
29
|
+
filamentPresent: boolean | null;
|
|
29
30
|
status: FilamentMonitorStatus;
|
|
30
31
|
type: FilamentMonitorType;
|
|
31
32
|
constructor(type?: FilamentMonitorType);
|