efront 3.5.6 → 3.5.10
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/apps/pivot/api.yml +1 -0
- package/apps/pivot/menu.yml +1 -0
- package/apps/pivot/wow/edit.html +10 -0
- package/apps/pivot/wow/edit.js +33 -0
- package/apps/pivot/wow/root.html +10 -0
- package/apps/pivot/wow/root.js +100 -0
- package/apps/pivot/wow/root.less +63 -0
- package/coms/basic/parseURL.js +2 -2
- package/coms/basic/parseURL_test.js +7 -0
- package/coms/basic/refilm_decode.js +32 -11
- package/coms/crypt/prime.js +60 -0
- package/coms/crypt/prime_test.js +10 -0
- package/coms/frame/top.html +5 -5
- package/coms/frame/top.less +22 -0
- package/coms/zimoli/action.js +1 -2
- package/coms/zimoli/autodragchildren.js +1 -1
- package/coms/zimoli/button.less +1 -2
- package/coms/zimoli/contextmenu.js +13 -8
- package/coms/zimoli/cross.js +3 -3
- package/coms/zimoli/field.js +1 -1
- package/coms/zimoli/menuList.html +3 -2
- package/coms/zimoli/menuList.less +29 -25
- package/coms/zimoli/model.js +1 -1
- package/coms/zimoli/render.js +4 -4
- package/package.json +1 -1
- package/public/efront.js +1 -1
package/coms/zimoli/render.js
CHANGED
|
@@ -51,7 +51,7 @@ function rebuild(element) {
|
|
|
51
51
|
dispatch(event, element);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
var variableReg = /([^\:\,\+\=\-\!%\^\|\/\&\*\!\;\?\>\<~\{\}\s]|\?\s*\.(?=[^\d])|\s*\.\s*)+/g;
|
|
54
|
+
var variableReg = /([^\:\,\+\=\-\!%\^\|\/\&\*\!\;\?\>\<~\{\}\s\[\]\(\)]|\?\s*\.(?=[^\d])|\s*\.\s*)+/g;
|
|
55
55
|
var createGetter = function (search, isprop = true) {
|
|
56
56
|
var [withContext, searchContext] = search;
|
|
57
57
|
if (!searchContext) return function () { };
|
|
@@ -62,12 +62,12 @@ var createGetter = function (search, isprop = true) {
|
|
|
62
62
|
context.split(/\?\s*\.(?=[^\d])/).forEach(function (search) {
|
|
63
63
|
if (dist) {
|
|
64
64
|
if (/[\=]/.test(dist)) dist = `(${dist})`;
|
|
65
|
-
dist = `${dist}!==void 0&&${dist}!==null?${dist}.${search}:
|
|
65
|
+
dist = `${dist}!==void 0&&${dist}!==null?${dist}.${search}:''`
|
|
66
66
|
} else {
|
|
67
67
|
dist = search;
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
|
-
return
|
|
70
|
+
return dist.length > 1 ? `(${dist})` : context;
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
if (isprop) {
|
|
@@ -723,7 +723,7 @@ function renderStructure(element, scope, parentScopes = []) {
|
|
|
723
723
|
}
|
|
724
724
|
if (!element.renderid) element.renderid = -1;
|
|
725
725
|
else element.renderid = -2;
|
|
726
|
-
|
|
726
|
+
continue;
|
|
727
727
|
}
|
|
728
728
|
if (element.$struct) continue;
|
|
729
729
|
var key = name.replace(/^(ng|v|.*?)\-|^[\:\_\.]|^v\-bind\:/i, "").toLowerCase();
|