Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
52 lines
1.2 KiB
TypeScript
52 lines
1.2 KiB
TypeScript
// Module ID: 7718
|
|
// Function ID: 7719
|
|
// Name: actions
|
|
// Dependencies: [2]
|
|
|
|
// Module 7718 (actions)
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/app_database/system/AppDatabaseManager.Entry.tsx");
|
|
class Entry {
|
|
constructor(arg0, arg1) {
|
|
obj = Object.create(new.target.prototype);
|
|
obj.parent = global;
|
|
obj.module = null;
|
|
obj.definition = require;
|
|
return obj;
|
|
}
|
|
}
|
|
const prototype = Entry.prototype;
|
|
Object.defineProperty(prototype, "actions", {
|
|
get: function actions() {
|
|
return this.definition.actions;
|
|
},
|
|
set: undefined
|
|
});
|
|
prototype["load"] = function load() {
|
|
const self = this;
|
|
if (null == this.module) {
|
|
const definition = self.definition;
|
|
self.module = definition.require();
|
|
}
|
|
};
|
|
prototype["reset"] = function reset() {
|
|
const _module = this.module;
|
|
if (_module != null) {
|
|
_module.resetInMemoryState();
|
|
}
|
|
};
|
|
prototype["execute"] = function execute(arg0, arg1) {
|
|
this.load();
|
|
if (null != this.module) {
|
|
const actions = this.module.actions;
|
|
if (actions[arg0.type] != null) {
|
|
tmp3(arg0, arg1);
|
|
}
|
|
}
|
|
};
|
|
prototype["validateInDev"] = function validateInDev() {
|
|
|
|
};
|
|
|
|
export { Entry };
|