@azrico/webobject 1.3.20 → 1.3.22
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 +52 -52
- package/dist/index.js +1 -16
- package/dist/src/WebObjects/ParentWebObject.js +20 -51
- package/dist/src/WebObjects/WebObject.js +269 -657
- package/dist/src/WebObjects/WebObjectManager.d.ts +6 -0
- package/dist/src/WebObjects/WebObjectManager.js +132 -364
- package/dist/src/index.js +9 -104
- package/dist/src/structs/DummyObject.js +8 -35
- package/dist/src/structs/MapableObject.js +74 -113
- package/dist/src/structs/MetaObject.js +35 -125
- package/dist/src/structs/ObjectArray.js +43 -72
- package/dist/src/structs/ObjectManager.js +210 -532
- package/dist/src/structs/SimpleObject.d.ts +0 -5
- package/dist/src/structs/SimpleObject.js +670 -1058
- package/package.json +1 -1
|
@@ -138,7 +138,6 @@ export declare class SimpleObject extends MapableObject {
|
|
|
138
138
|
get isNew(): boolean;
|
|
139
139
|
get lastChanged(): string;
|
|
140
140
|
get manager(): ObjectManager<any> | null;
|
|
141
|
-
get_managerClass: () => ObjectManager<any> | null;
|
|
142
141
|
set_managerClass(mng: ObjectManager<any> | any): void;
|
|
143
142
|
static isDeleted<T extends SimpleObject>(obj: T): boolean;
|
|
144
143
|
getIndexOrID(): number | string;
|
|
@@ -147,10 +146,6 @@ export declare class SimpleObject extends MapableObject {
|
|
|
147
146
|
static getIndexOrID(o: any): number;
|
|
148
147
|
static getIndex(o: any): number;
|
|
149
148
|
static getID(o: any): string;
|
|
150
|
-
event_run(eventName: string, ...params: any): Promise<any[] | undefined>;
|
|
151
|
-
event_use(name: string, runEvent: (...inputdata: any) => any, onlyOn?: any, runOnce?: boolean): any;
|
|
152
|
-
event_remove(name: string, uname: string): boolean | undefined;
|
|
153
|
-
event_add(name: string, uname: string, runEvent: (...inputdata: any) => any, onlyOn?: any, runOnce?: boolean): Promise<void>;
|
|
154
149
|
getOriginal(): this | undefined;
|
|
155
150
|
setOriginal(toObj?: null | 0 | any): this | undefined;
|
|
156
151
|
static setOriginal<T>(obj: T, toObj?: null | 0 | any): T | undefined;
|