efront 4.22.12 → 4.22.14
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/#/345/233/275/351/231/205/345/214/226.yml +3 -0
- package/apps/_index.html +4 -0
- package/coms/basic/Comb.js +68 -0
- package/coms/basic/Speed.js +13 -2
- package/coms/basic/combgen.js +6 -16
- package/coms/basic/combine.js +6 -16
- package/coms/zimoli/appendChild.js +1 -0
- package/coms/zimoli/autodragchildren.js +2 -1
- package/coms/zimoli/getGenerator.js +4 -2
- package/coms/zimoli/list.js +35 -14
- package/coms/zimoli/list.less +4 -0
- package/coms/zimoli/model.js +2 -2
- package/coms/zimoli/render.js +58 -55
- package/coms/zimoli/tree.js +2 -2
- package/coms/zimoli/vbox.js +7 -2
- package/coms/zimoli/view.less +1 -1
- package/coms//350/214/250/350/217/260//346/240/207/347/255/276/345/214/226.js +5 -3
- package/docs//347/273/204/344/273/266.xht +0 -1
- package/package.json +1 -1
- package/public/efront.js +1 -1
package/coms/zimoli/vbox.js
CHANGED
|
@@ -30,6 +30,7 @@ function ybox(generator) {
|
|
|
30
30
|
if (_box.$Height !== _box_Height) _box.$Height = _box_Height;
|
|
31
31
|
if (_box.$height !== _box_height) _box.$height = _box_height;
|
|
32
32
|
if (_box.$Top !== _box_Top) _box.$Top = _box_Top;
|
|
33
|
+
_box.parked = true;
|
|
33
34
|
_box.$scrollY = function (deltay, useIncrease = _box.useIncrease !== false) {
|
|
34
35
|
var _Top = _box.$Top();
|
|
35
36
|
var top = _Top + deltay;
|
|
@@ -89,14 +90,17 @@ function ybox(generator) {
|
|
|
89
90
|
remove(increaser);
|
|
90
91
|
return 0;
|
|
91
92
|
};
|
|
93
|
+
scrollY.park = function () {
|
|
94
|
+
_box.parked = true;
|
|
95
|
+
};
|
|
92
96
|
var stop = _box.$stopY || _box.stopY;
|
|
93
97
|
var stop2 = lazy(function () {
|
|
94
|
-
scrollY.smooth(stop
|
|
98
|
+
scrollY.smooth(stop);
|
|
95
99
|
}, 40);
|
|
96
100
|
var decrease = function (t) {
|
|
97
101
|
var res = _decrease(increaser_t, t) + _decrease(increaser_b, t);
|
|
98
102
|
if (!res) {
|
|
99
|
-
scrollY.smooth(stop
|
|
103
|
+
scrollY.smooth(stop);
|
|
100
104
|
}
|
|
101
105
|
return true;
|
|
102
106
|
};
|
|
@@ -170,6 +174,7 @@ function ybox(generator) {
|
|
|
170
174
|
bindtouch(_box, {
|
|
171
175
|
start() {
|
|
172
176
|
scrollY.reset();
|
|
177
|
+
_box.parked = false;
|
|
173
178
|
},
|
|
174
179
|
move(scrolled) {
|
|
175
180
|
var y = -_box.$Top();
|
package/coms/zimoli/view.less
CHANGED
|
@@ -68,9 +68,11 @@ var codecolor = function (c, encode) {
|
|
|
68
68
|
}
|
|
69
69
|
else endi++;
|
|
70
70
|
var [name] = keys;
|
|
71
|
-
if (
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
if (name && endi > 0) {
|
|
72
|
+
if (!o.isprop && o.text !== name && isConstValue(name)) name = wrap(name, "strap");
|
|
73
|
+
else name = wrap(name, label);
|
|
74
|
+
keys[0] = name;
|
|
75
|
+
}
|
|
74
76
|
for (var cx = 1, dx = endi; cx < dx; cx++) {
|
|
75
77
|
var k = keys[cx];
|
|
76
78
|
keys[cx] = /^[\?]/.test(k) || !k ? k : wrap(k, 'express');
|