71 lines
1.4 KiB
TypeScript
71 lines
1.4 KiB
TypeScript
// Module ID: 6884
|
|
// Function ID: 54636
|
|
// Name: Entry
|
|
// Dependencies: [513, 511, 513]
|
|
|
|
// Module 6884 (Entry)
|
|
import closure_0 from "items";
|
|
import module_511 from "module_511";
|
|
import items from "items";
|
|
|
|
const result = items.fileFinishedImporting("modules/app_database/system/AppDatabaseManager.Entry.tsx");
|
|
|
|
export const Entry = () => {
|
|
class Entry {
|
|
constructor(arg0, arg1) {
|
|
tmp = Entry(this, Entry);
|
|
this.parent = arg0;
|
|
this.module = null;
|
|
this.definition = arg1;
|
|
return;
|
|
}
|
|
}
|
|
let closure_0 = Entry;
|
|
let obj = {
|
|
key: "actions",
|
|
get() {
|
|
return this.definition.actions;
|
|
}
|
|
};
|
|
const items = [obj, , , , ];
|
|
obj = {
|
|
key: "load",
|
|
value() {
|
|
const self = this;
|
|
if (null == this.module) {
|
|
const definition = self.definition;
|
|
self.module = definition.require();
|
|
}
|
|
}
|
|
};
|
|
items[1] = obj;
|
|
obj = {
|
|
key: "reset",
|
|
value() {
|
|
const _module = this.module;
|
|
if (null != _module) {
|
|
_module.resetInMemoryState();
|
|
}
|
|
}
|
|
};
|
|
items[2] = obj;
|
|
items[3] = {
|
|
key: "execute",
|
|
value(arg0, arg1) {
|
|
this.load();
|
|
if (null != this.module) {
|
|
const actions = this.module.actions;
|
|
if (null != actions[arg0.type]) {
|
|
obj.call(actions, arg0, arg1);
|
|
}
|
|
}
|
|
}
|
|
};
|
|
items[4] = {
|
|
key: "validateInDev",
|
|
value() {
|
|
|
|
}
|
|
};
|
|
return callback(Entry, items);
|
|
}();
|