efront 4.30.3 → 4.31.0
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/coms/compile/Html.js +45 -16
- package/coms/compile/Javascript.js +3 -2
- package/coms/compile/Node.js +59 -0
- package/coms/compile/Program.js +18 -16
- package/coms/compile/cloneNode.js +6 -5
- package/coms/compile/common.js +2 -2
- package/coms/compile/powermap.js +1 -1
- package/coms/compile/unstruct_test.js +1 -0
- package/coms/zimoli/field.js +2 -1
- package/coms/zimoli/field.less +7 -2
- package/coms/zimoli/prompt.js +16 -1
- package/coms/zimoli/selectDate.js +1 -1
- package/coms/zimoli/selectDate.less +61 -60
- package/coms/zimoli/view.less +1 -1
- package/docs//345/267/245/345/205/267//345/233/275/351/231/205/345/214/226.xht +1 -1
- package/package.json +1 -1
- package/public/efront.js +1 -1
- package/public//346/226/207/344/273/266/347/263/273/347/273/237//344/270/273/351/241/265.jsp +2 -2
- /package/coms/compile/{const.js → const.mjs} +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
@title-height: 32px;
|
|
2
|
-
@height
|
|
3
|
-
@width
|
|
2
|
+
@height : 240px;
|
|
3
|
+
@width : 280px;
|
|
4
4
|
|
|
5
5
|
& {
|
|
6
|
-
display
|
|
7
|
-
position
|
|
8
|
-
width
|
|
9
|
-
max-width
|
|
10
|
-
height
|
|
6
|
+
display: block;
|
|
7
|
+
position: relative;
|
|
8
|
+
width: @width;
|
|
9
|
+
max-width: 100%;
|
|
10
|
+
height: @height;
|
|
11
11
|
background-color: #fff;
|
|
12
|
+
border: 1px solid #0092cc;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
&.date-4 {
|
|
@@ -25,86 +26,86 @@
|
|
|
25
26
|
|
|
26
27
|
.cbody {
|
|
27
28
|
position: absolute;
|
|
28
|
-
height
|
|
29
|
-
top
|
|
30
|
-
left
|
|
31
|
-
width
|
|
29
|
+
height: @height - @title-height;
|
|
30
|
+
top: @title-height;
|
|
31
|
+
left: 0;
|
|
32
|
+
width: 100%;
|
|
32
33
|
overflow: hidden;
|
|
33
34
|
|
|
34
35
|
>div {
|
|
35
|
-
text-align
|
|
36
|
-
display
|
|
37
|
-
float
|
|
36
|
+
text-align: center;
|
|
37
|
+
display: block;
|
|
38
|
+
float: left;
|
|
38
39
|
border-radius: 50%;
|
|
39
|
-
transition
|
|
40
|
-
position
|
|
41
|
-
cursor
|
|
40
|
+
transition: border-radius .1s, background-color .1s;
|
|
41
|
+
position: relative;
|
|
42
|
+
cursor: pointer;
|
|
42
43
|
|
|
43
44
|
>span {
|
|
44
|
-
position
|
|
45
|
-
top
|
|
46
|
-
height
|
|
47
|
-
margin-top
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 50%;
|
|
47
|
+
height: 16px;
|
|
48
|
+
margin-top: -8px;
|
|
48
49
|
line-height: 16px;
|
|
49
|
-
right
|
|
50
|
-
left
|
|
50
|
+
right: 0;
|
|
51
|
+
left: 0;
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
>div:hover {
|
|
55
56
|
background-color: #ddd;
|
|
56
|
-
border-radius
|
|
57
|
+
border-radius: 3px;
|
|
57
58
|
|
|
58
59
|
&:active {
|
|
59
|
-
color
|
|
60
|
+
color: #fff;
|
|
60
61
|
background-color: #0092cc;
|
|
61
|
-
box-shadow
|
|
62
|
-
border-radius
|
|
62
|
+
box-shadow: 0 0 4px rgba(0, 0, 0, 0.3) inset;
|
|
63
|
+
border-radius: 3px;
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
>div.iing {
|
|
67
68
|
background-color: #00aaef;
|
|
68
|
-
color
|
|
69
|
+
color: #fff;
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
>div.last,
|
|
72
73
|
>div.next {
|
|
73
|
-
opacity
|
|
74
|
+
opacity: 0.5;
|
|
74
75
|
background-color: transparent;
|
|
75
|
-
color
|
|
76
|
+
color: inherit;
|
|
76
77
|
}
|
|
77
78
|
|
|
78
79
|
>div.title {
|
|
79
|
-
border-bottom
|
|
80
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
80
81
|
background-color: transparent;
|
|
81
|
-
color
|
|
82
|
+
color: inherit;
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
.chead {
|
|
86
|
-
@color
|
|
87
|
-
@hover-color
|
|
88
|
-
@active-color
|
|
89
|
-
@height
|
|
90
|
-
height
|
|
91
|
-
line-height
|
|
87
|
+
@color :~"#ffffffcc";
|
|
88
|
+
@hover-color :~"#ffffffee";
|
|
89
|
+
@active-color :~"#ffffff99";
|
|
90
|
+
@height : @title-height;
|
|
91
|
+
height: @height;
|
|
92
|
+
line-height: @height;
|
|
92
93
|
background-color: #0092cc;
|
|
93
|
-
font-size
|
|
94
|
-
color
|
|
95
|
-
position
|
|
96
|
-
top
|
|
97
|
-
width
|
|
98
|
-
left
|
|
99
|
-
text-align
|
|
94
|
+
font-size: 20px;
|
|
95
|
+
color: @color;
|
|
96
|
+
position: absolute;
|
|
97
|
+
top: 0px;
|
|
98
|
+
width: 100%;
|
|
99
|
+
left: 0;
|
|
100
|
+
text-align: center;
|
|
100
101
|
|
|
101
102
|
>i {
|
|
102
103
|
box-sizing: border-box;
|
|
103
|
-
width
|
|
104
|
-
height
|
|
105
|
-
top
|
|
106
|
-
position
|
|
107
|
-
cursor
|
|
104
|
+
width: @height;
|
|
105
|
+
height: @height;
|
|
106
|
+
top: 0;
|
|
107
|
+
position: absolute;
|
|
108
|
+
cursor: pointer;
|
|
108
109
|
|
|
109
110
|
&:nth-child(1) {
|
|
110
111
|
left: 0;
|
|
@@ -128,16 +129,16 @@
|
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
&:after {
|
|
131
|
-
content
|
|
132
|
-
display
|
|
133
|
-
width
|
|
134
|
-
height
|
|
135
|
-
top
|
|
136
|
-
left
|
|
137
|
-
margin-top
|
|
132
|
+
content: '';
|
|
133
|
+
display: block;
|
|
134
|
+
width: 0;
|
|
135
|
+
height: 0;
|
|
136
|
+
top: 50%;
|
|
137
|
+
left: 50%;
|
|
138
|
+
margin-top: -8px;
|
|
138
139
|
margin-left: -8px;
|
|
139
|
-
border
|
|
140
|
-
position
|
|
140
|
+
border: 8px solid transparent;
|
|
141
|
+
position: absolute;
|
|
141
142
|
}
|
|
142
143
|
|
|
143
144
|
&:nth-last-child(1) {
|
|
@@ -176,7 +177,7 @@
|
|
|
176
177
|
}
|
|
177
178
|
|
|
178
179
|
&.ing {
|
|
179
|
-
color
|
|
180
|
+
color: @hover-color;
|
|
180
181
|
background-color: #00aaef;
|
|
181
182
|
}
|
|
182
183
|
}
|
package/coms/zimoli/view.less
CHANGED
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
if (!detailWindow) {
|
|
481
481
|
detailWindow = view();
|
|
482
482
|
on('submit')(detailWindow, e => e.preventDefault());
|
|
483
|
-
detailWindow.innerHTML = `<div head><span -if=!item? >${i18n`翻译工具`} </span><template -else>${i18n`翻译: `}"<span -bind="item?.text"></span>"</template><drop @click="close()"></drop></div><lattice itemwidth=260 -src="s in supports" body><field style="display:inline-block;padding:0 0
|
|
483
|
+
detailWindow.innerHTML = `<div head><span -if=!item? >${i18n`翻译工具`} </span><template -else>${i18n`翻译: `}"<span -bind="item?.text"></span>"</template><drop @click="close()"></drop></div><lattice itemwidth=260 -src="s in supports" body><field style="display:inline-block;padding:6px 0 0 0;position:relative" ><label style="padding-left:2px;display:block;background:#fff;background-clip:padding-box;border:1px solid transparent;box-sizing:border-box;" head><span -bind="s.name"></span>(<span -bind="s.lang"></span>)</label><textarea -model="fanyi[s.id]" class='body' style="resize:none"></textarea></field></lattice><div foot><a style="float:left" @click="baidu">${i18n`一键百度`}</a></div>`;
|
|
484
484
|
drag.on(detailWindow, detailWindow.firstElementChild);
|
|
485
485
|
resize.on(detailWindow);
|
|
486
486
|
css(detailWindow, `position:absolute;left:0;top:0;bottom:0;width:260px;`);
|