@xuda.io/xuda-worker-bundle-min 1.3.2198 → 1.3.2199
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/index.js +4 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -55,8 +55,8 @@ func.common.input_mask = async function (actionP, valP, typeP, maskP, elemP, gri
|
|
|
55
55
|
module.input_mask(actionP, valP, typeP, maskP, elemP, grid_objP, grid_row_idP, grid_col_idP, dsSessionP);
|
|
56
56
|
};
|
|
57
57
|
|
|
58
|
-
glb.
|
|
59
|
-
glb.
|
|
58
|
+
glb.FUNCTION_NODES_ARR = ['batch', 'get_data', 'set_data', 'alert', 'javascript', 'api'];
|
|
59
|
+
glb.ALL_MENU_TYPE = ['globals', 'component', ...glb.FUNCTION_NODES_ARR];
|
|
60
60
|
glb.emailRegex = /^[\w\.-]+@[a-zA-Z\d\.-]+\.[a-zA-Z]{2,}$/;
|
|
61
61
|
|
|
62
62
|
const FIREBASE_AUTH_PROPERTIES_ARR = ['provider', 'token', 'first_name', 'last_name', 'email', 'user_id', 'picture', 'verified_email', 'locale', 'error_code', 'error_msg'];
|
|
@@ -4280,7 +4280,8 @@ func.utils.get_screen_obj = async function (SESSION_ID, id) {
|
|
|
4280
4280
|
const prog_obj = await func.utils.VIEWS_OBJ.get(SESSION_ID, id);
|
|
4281
4281
|
if (!prog_obj) return console.error('prog not found: ' + id);
|
|
4282
4282
|
|
|
4283
|
-
if (prog_obj.properties.menuType === 'screen' || prog_obj.properties.menuType === 'api' || glb.FUNCTION_NODES_ARR.includes(prog_obj.properties.menuType) || glb.MOBILE_ARR.includes(prog_obj.properties.menuType)) {
|
|
4283
|
+
// if (prog_obj.properties.menuType === 'screen' || prog_obj.properties.menuType === 'api' || glb.FUNCTION_NODES_ARR.includes(prog_obj.properties.menuType) || glb.MOBILE_ARR.includes(prog_obj.properties.menuType)) {
|
|
4284
|
+
if (['component', ...glb.FUNCTION_NODES_ARR].includes(prog_obj.properties.menuType)) {
|
|
4284
4285
|
return prog_obj;
|
|
4285
4286
|
}
|
|
4286
4287
|
return;
|