@gudhub/core 1.1.133 → 1.1.135
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.
|
@@ -330,6 +330,15 @@ export default async function createAngularModuleInstance(gudhub, module_id, mod
|
|
|
330
330
|
resolve(null);
|
|
331
331
|
})
|
|
332
332
|
},
|
|
333
|
+
|
|
334
|
+
//*************** GET DICTIONARY ****************//
|
|
335
|
+
|
|
336
|
+
getDictionary: function () {
|
|
337
|
+
if (importedClass.getDictionary) {
|
|
338
|
+
return importedClass.getDictionary();
|
|
339
|
+
}
|
|
340
|
+
return [];
|
|
341
|
+
},
|
|
333
342
|
}
|
|
334
343
|
|
|
335
344
|
// We need these methods in browser environment only
|
|
@@ -222,6 +222,15 @@ export default async function createClassInstance(gudhub, module_id, js_url, css
|
|
|
222
222
|
getWindowHTML(scope) {
|
|
223
223
|
return importedClass.getWindowHTML(scope);
|
|
224
224
|
},
|
|
225
|
+
|
|
226
|
+
//*************** GET DICTIONARY ****************//
|
|
227
|
+
|
|
228
|
+
getDictionary() {
|
|
229
|
+
if (importedClass.getDictionary) {
|
|
230
|
+
return importedClass.getDictionary();
|
|
231
|
+
}
|
|
232
|
+
return [];
|
|
233
|
+
},
|
|
225
234
|
};
|
|
226
235
|
|
|
227
236
|
return result;
|
|
@@ -1003,6 +1003,24 @@ export default function generateModulesList(async_modules_path, file_server_url,
|
|
|
1003
1003
|
type: 'gh_element',
|
|
1004
1004
|
technology: 'angular'
|
|
1005
1005
|
},
|
|
1006
|
+
{
|
|
1007
|
+
data_type: "agent_constructor",
|
|
1008
|
+
private: true,
|
|
1009
|
+
name: 'Agent Constructor',
|
|
1010
|
+
icon: 'app_constructor',
|
|
1011
|
+
url: file_server_url + '/' + async_modules_path + "agent_constructor_action.js",
|
|
1012
|
+
type: 'gh_element',
|
|
1013
|
+
technology: 'angular'
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
data_type: "invitation",
|
|
1017
|
+
private: true,
|
|
1018
|
+
name: 'Invitation',
|
|
1019
|
+
icon: 'app_constructor',
|
|
1020
|
+
url: file_server_url + '/' + async_modules_path + "invitation_action.js",
|
|
1021
|
+
type: 'gh_element',
|
|
1022
|
+
technology: 'angular'
|
|
1023
|
+
},
|
|
1006
1024
|
// {
|
|
1007
1025
|
// data_type: "visualizer_with_control_panel",
|
|
1008
1026
|
// name: "Visualizer With Control Panel",
|