@xuda.io/xuda-worker-bundle-min 1.3.1038 → 1.3.1040
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 +25 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1508,6 +1508,30 @@ glb.lifecycle = {
|
|
|
1508
1508
|
}
|
|
1509
1509
|
},
|
|
1510
1510
|
};
|
|
1511
|
+
|
|
1512
|
+
glb.run_xu_before = [
|
|
1513
|
+
"xu-cdn",
|
|
1514
|
+
"xu-style",
|
|
1515
|
+
"xu-render",
|
|
1516
|
+
"xu-for-key",
|
|
1517
|
+
"xu-for-val",
|
|
1518
|
+
"xu-ui-plugin",
|
|
1519
|
+
// "programParameters",
|
|
1520
|
+
];
|
|
1521
|
+
glb.run_xu_after = ["xu-class", "xu-script"];
|
|
1522
|
+
glb.attr_abbreviations_arr = [
|
|
1523
|
+
"xu-click",
|
|
1524
|
+
"xu-dblclick",
|
|
1525
|
+
"xu-contextmenu",
|
|
1526
|
+
"xu-focus",
|
|
1527
|
+
"xu-dragout",
|
|
1528
|
+
"xu-dragin",
|
|
1529
|
+
"xu-dragdrop",
|
|
1530
|
+
"xu-keyup",
|
|
1531
|
+
"xu-change",
|
|
1532
|
+
"xu-blur",
|
|
1533
|
+
"xu-init",
|
|
1534
|
+
];
|
|
1511
1535
|
func.datasource = {};
|
|
1512
1536
|
func.datasource.create = async function (
|
|
1513
1537
|
SESSION_ID,
|
|
@@ -4175,7 +4199,7 @@ func.datasource.get_viewFields_for_update_function = function (
|
|
|
4175
4199
|
}
|
|
4176
4200
|
try {
|
|
4177
4201
|
// parse json
|
|
4178
|
-
var json =
|
|
4202
|
+
var json = JSON5.parse(exp.replace(/\n/gi, ""));
|
|
4179
4203
|
for (const [key, val] of Object.entries(json)) {
|
|
4180
4204
|
let id = key.substr(1, key.length - 1);
|
|
4181
4205
|
if (!id) continue;
|