@azrico/webobject 1.3.21 → 1.3.23

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,5 +1,7 @@
1
1
  import { MapableObject } from "./MapableObject";
2
2
  import ObjectManager from "./ObjectManager";
3
+ import WebObject from "../WebObjects/WebObject";
4
+ import WebObjectManager from "../WebObjects/WebObjectManager";
3
5
  export type saveResultType = "normal" | "nothing" | "error" | "canceled";
4
6
  export type saveType = "normal" | "quick";
5
7
  export type sendChangesType = boolean | "auto";
@@ -137,9 +139,8 @@ export declare class SimpleObject extends MapableObject {
137
139
  get isSaved(): boolean;
138
140
  get isNew(): boolean;
139
141
  get lastChanged(): string;
140
- get manager(): ObjectManager<any> | null;
141
- get_managerClass: () => ObjectManager<any> | null;
142
- set_managerClass(mng: ObjectManager<any> | any): void;
142
+ get manager(): (this extends WebObject ? WebObjectManager<any> : ObjectManager<any>) | undefined;
143
+ set_managerClass(mng: (this extends WebObject ? WebObjectManager<any> : ObjectManager<any>) | any): void;
143
144
  static isDeleted<T extends SimpleObject>(obj: T): boolean;
144
145
  getIndexOrID(): number | string;
145
146
  getIndex(): number;