@xuda.io/xuda-worker-bundle-min 1.3.710 → 1.3.711
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 +40 -40
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -168,46 +168,46 @@ glb.API_OUTPUT_ARR = ["json", "html", "xml", "text", "css"];
|
|
|
168
168
|
|
|
169
169
|
const PROTECTED_NAMES_ARR = ["THIS", "ROWID"]; //tbd
|
|
170
170
|
|
|
171
|
-
func.common.get_custom_icon = async function (
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
) {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
};
|
|
171
|
+
// func.common.get_custom_icon = async function (
|
|
172
|
+
// SESSION_ID,
|
|
173
|
+
// menuIdP,
|
|
174
|
+
// fromTreeP,
|
|
175
|
+
// get_image_onlyP
|
|
176
|
+
// ) {
|
|
177
|
+
// var ret = "";
|
|
178
|
+
// var iconItemId;
|
|
179
|
+
// let tree_ret = await func.utils.TREE_OBJ.get(SESSION_ID, menuIdP);
|
|
180
|
+
// if (tree_ret) {
|
|
181
|
+
// if (tree_ret.menuType === "icon") {
|
|
182
|
+
// iconItemId = menuIdP;
|
|
183
|
+
// } else {
|
|
184
|
+
// if (tree_ret.rICN) iconItemId = tree_ret.rICN;
|
|
185
|
+
// }
|
|
186
|
+
// if (iconItemId) {
|
|
187
|
+
// let tree_ret2 = await func.utils.TREE_OBJ.get(SESSION_ID, iconItemId);
|
|
188
|
+
// if (tree_ret2) {
|
|
189
|
+
// if (get_image_onlyP) {
|
|
190
|
+
// return tree_ret2.rPTH;
|
|
191
|
+
// } else {
|
|
192
|
+
// const app_obj = APP_OBJ[SESSION_OBJ[SESSION_ID].app_id];
|
|
193
|
+
// const url = func.common.get_url(
|
|
194
|
+
// SESSION_ID,
|
|
195
|
+
// "studio-drive",
|
|
196
|
+
// `${app_obj.app_replicate ? app_obj.app_replicate : app_obj._id}/${
|
|
197
|
+
// tree_ret2.rPTH
|
|
198
|
+
// }`
|
|
199
|
+
// );
|
|
200
|
+
// return url;
|
|
201
|
+
// }
|
|
202
|
+
// // }
|
|
203
|
+
// } else {
|
|
204
|
+
// return ret;
|
|
205
|
+
// }
|
|
206
|
+
// } else {
|
|
207
|
+
// return ret;
|
|
208
|
+
// }
|
|
209
|
+
// } else return ret;
|
|
210
|
+
// };
|
|
211
211
|
|
|
212
212
|
func.common.db = async function (
|
|
213
213
|
SESSION_ID,
|