vg-print 1.0.13 → 1.0.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/README.md +1 -399
- package/dist/css/print-lock.css +181 -252
- package/dist/{vg-print.cjs.js → static/js/index-Brm9wb-r.js} +179 -179
- package/dist/{vg-print.es.js → static/js/index-DbWGr7Bv.js} +5002 -5190
- package/dist/{vg-print.umd.js → static/js/index-mEQdYWWs.js} +175 -175
- package/dist/style.css +1 -1
- package/package.json +9 -10
- package/dist/css/hiprint.css +0 -997
- /package/dist/{purify.es-CKk_t3XZ.js → static/js/purify.es-CKk_t3XZ.js} +0 -0
- /package/dist/{purify.es-CYVvLED6.cjs → static/js/purify.es-CYVvLED6.js} +0 -0
package/dist/css/print-lock.css
CHANGED
|
@@ -1,353 +1,282 @@
|
|
|
1
|
+
|
|
1
2
|
@media print {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
body {
|
|
4
|
+
margin: 0px;
|
|
5
|
+
padding: 0px;
|
|
6
|
+
}
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
@page {
|
|
9
|
-
|
|
10
|
+
margin: 0;
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
.hiprint-printPaper * {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
-moz-box-sizing: border-box; /* Firefox */
|
|
16
|
+
-webkit-box-sizing: border-box; /* Safari */
|
|
17
|
+
image-rendering: -webkit-optimize-contrast; /* 让图片/标尺稍微清楚一点 */
|
|
16
18
|
}
|
|
17
19
|
|
|
18
|
-
.hiprint-printPaper *:focus {
|
|
19
|
-
|
|
20
|
-
}
|
|
20
|
+
.hiprint-printPaper *:focus {
|
|
21
|
+
outline: -webkit-focus-ring-color auto 0px;
|
|
22
|
+
}
|
|
21
23
|
|
|
22
|
-
.hiprint-printPaper {
|
|
23
|
-
position: relative;
|
|
24
|
-
padding: 0 0 0 0;
|
|
25
|
-
page-break-after: always;
|
|
26
|
-
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
27
|
-
-moz-user-select: none; /* Firefox */
|
|
28
|
-
user-select: none;
|
|
29
|
-
overflow-x: hidden;
|
|
30
|
-
overflow: hidden;
|
|
31
|
-
}
|
|
32
24
|
|
|
33
|
-
.hiprint-
|
|
34
|
-
|
|
25
|
+
.hiprint-page-break-avoid {
|
|
26
|
+
page-break-after: avoid;
|
|
35
27
|
}
|
|
36
|
-
|
|
37
|
-
/* 火狐浏览器打印 第一页过后 重叠问题 */
|
|
38
|
-
@-moz-document url-prefix() {
|
|
39
|
-
.hiprint-printPaper .hiprint-printPaper-content {
|
|
28
|
+
.hiprint-printPaper {
|
|
40
29
|
position: relative;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
30
|
+
padding: 0 0 0 0;
|
|
31
|
+
page-break-after: always;
|
|
32
|
+
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
33
|
+
-moz-user-select: none; /* Firefox */
|
|
34
|
+
user-select: none;
|
|
35
|
+
overflow-x: hidden;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
}
|
|
38
|
+
.hiprint-printPaper .hiprint-printPaper-content {
|
|
39
|
+
position: relative;
|
|
40
|
+
}
|
|
46
41
|
.hiprint-printPaper.design {
|
|
47
|
-
|
|
42
|
+
overflow: visible;
|
|
48
43
|
}
|
|
49
44
|
|
|
50
45
|
|
|
46
|
+
|
|
51
47
|
.hiprint-printTemplate .hiprint-printPanel {
|
|
52
|
-
|
|
48
|
+
page-break-after: always;
|
|
53
49
|
}
|
|
54
50
|
|
|
55
51
|
.hiprint-printPaper, hiprint-printPanel {
|
|
56
|
-
|
|
57
|
-
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
border: 0px;
|
|
58
54
|
}
|
|
59
55
|
|
|
60
56
|
.hiprint-printPanel .hiprint-printPaper:last-child {
|
|
61
|
-
|
|
57
|
+
page-break-after: avoid;
|
|
62
58
|
}
|
|
63
59
|
|
|
64
60
|
.hiprint-printTemplate .hiprint-printPanel:last-child {
|
|
65
|
-
|
|
61
|
+
page-break-after: avoid;
|
|
66
62
|
}
|
|
67
63
|
|
|
68
64
|
.hiprint-printPaper .hideheaderLinetarget {
|
|
69
|
-
|
|
65
|
+
border-top: 0px dashed rgb(201, 190, 190) !important;
|
|
70
66
|
}
|
|
71
67
|
|
|
72
68
|
.hiprint-printPaper .hidefooterLinetarget {
|
|
73
|
-
|
|
69
|
+
border-top: 0px dashed rgb(201, 190, 190) !important;
|
|
74
70
|
}
|
|
75
71
|
|
|
76
72
|
.hiprint-printPaper.design {
|
|
77
|
-
|
|
73
|
+
border: 1px dashed rgba(170,170,170,0.7);
|
|
78
74
|
}
|
|
79
75
|
|
|
80
76
|
.design .hiprint-printElement-table-content, .design .hiprint-printElement-longText-content {
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
overflow: hidden;
|
|
78
|
+
box-sizing: border-box;
|
|
83
79
|
}
|
|
84
80
|
|
|
85
81
|
.design .resize-panel {
|
|
86
|
-
|
|
87
|
-
|
|
82
|
+
box-sizing: border-box;
|
|
83
|
+
border: 1px dotted;
|
|
88
84
|
}
|
|
89
85
|
|
|
90
86
|
.hiprint-printElement-text {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
87
|
+
background-color: transparent;
|
|
88
|
+
background-repeat: repeat;
|
|
89
|
+
padding: 0 0 0 0;
|
|
90
|
+
border: 0.75pt none rgb(0,0,0);
|
|
91
|
+
direction: ltr;
|
|
92
|
+
font-family: 'SimSun';
|
|
93
|
+
font-size: 9pt;
|
|
94
|
+
font-style: normal;
|
|
95
|
+
font-weight: normal;
|
|
96
|
+
padding-bottom: 0pt;
|
|
97
|
+
padding-left: 0pt;
|
|
98
|
+
padding-right: 0pt;
|
|
99
|
+
padding-top: 0pt;
|
|
100
|
+
text-align: left;
|
|
101
|
+
text-decoration: none;
|
|
102
|
+
line-height: 9.75pt;
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
word-wrap: break-word;
|
|
105
|
+
word-break: break-all;
|
|
110
106
|
}
|
|
111
107
|
|
|
112
108
|
.design .hiprint-printElement-text-content {
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
border: 1px dashed rgb(206, 188, 188);
|
|
110
|
+
box-sizing: border-box;
|
|
115
111
|
}
|
|
116
112
|
|
|
117
113
|
.hiprint-printElement-longText {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
114
|
+
background-color: transparent;
|
|
115
|
+
background-repeat: repeat;
|
|
116
|
+
border: 0.75pt none rgb(0,0,0);
|
|
117
|
+
direction: ltr;
|
|
118
|
+
font-family: 'SimSun';
|
|
119
|
+
font-size: 9pt;
|
|
120
|
+
font-style: normal;
|
|
121
|
+
font-weight: normal;
|
|
122
|
+
padding-bottom: 0pt;
|
|
123
|
+
padding-left: 0pt;
|
|
124
|
+
padding-right: 0pt;
|
|
125
|
+
padding-top: 0pt;
|
|
126
|
+
text-align: left;
|
|
127
|
+
text-decoration: none;
|
|
128
|
+
line-height: 9.75pt;
|
|
129
|
+
box-sizing: border-box;
|
|
130
|
+
word-wrap: break-word;
|
|
131
|
+
word-break: break-all;
|
|
132
|
+
/*white-space: pre-wrap*/
|
|
137
133
|
}
|
|
138
134
|
|
|
139
135
|
|
|
136
|
+
|
|
140
137
|
.hiprint-printElement-table {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.hiprint-printElement-table thead {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
table.hiprint-printElement-tableTarget {
|
|
168
|
-
width: 100%;
|
|
169
|
-
}
|
|
138
|
+
background-color: transparent;
|
|
139
|
+
background-repeat: repeat;
|
|
140
|
+
color: rgb(0,0,0);
|
|
141
|
+
border-color: rgb(0,0,0);
|
|
142
|
+
border-style: none;
|
|
143
|
+
direction: ltr;
|
|
144
|
+
font-family: 'SimSun';
|
|
145
|
+
font-size: 9pt;
|
|
146
|
+
font-style: normal;
|
|
147
|
+
font-weight: normal;
|
|
148
|
+
padding-bottom: 0pt;
|
|
149
|
+
padding-left: 0pt;
|
|
150
|
+
padding-right: 0pt;
|
|
151
|
+
padding-top: 0pt;
|
|
152
|
+
text-align: left;
|
|
153
|
+
text-decoration: none;
|
|
154
|
+
padding: 0 0 0 0;
|
|
155
|
+
box-sizing: border-box;
|
|
156
|
+
line-height: 9.75pt;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.hiprint-printElement-table thead {
|
|
160
|
+
background: #e8e8e8;
|
|
161
|
+
font-weight: 700;
|
|
162
|
+
}
|
|
170
163
|
|
|
171
164
|
.hiprint-printElement-tableTarget, .hiprint-printElement-tableTarget tr, .hiprint-printElement-tableTarget td {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
border: 0px solid;
|
|
195
|
-
}
|
|
196
|
-
.hiprint-printElement-tableTarget-border-lr {
|
|
197
|
-
border-left: 1px solid;
|
|
198
|
-
border-right: 1px solid;
|
|
199
|
-
}
|
|
200
|
-
.hiprint-printElement-tableTarget-border-left {
|
|
201
|
-
border-left: 1px solid;
|
|
202
|
-
}
|
|
203
|
-
.hiprint-printElement-tableTarget-border-right {
|
|
204
|
-
border-right: 1px solid;
|
|
205
|
-
}
|
|
206
|
-
.hiprint-printElement-tableTarget-border-tb {
|
|
207
|
-
border-top: 1px solid;
|
|
208
|
-
border-bottom: 1px solid;
|
|
209
|
-
}
|
|
210
|
-
.hiprint-printElement-tableTarget-border-top {
|
|
211
|
-
border-top: 1px solid;
|
|
212
|
-
}
|
|
213
|
-
.hiprint-printElement-tableTarget-border-bottom {
|
|
214
|
-
border-bottom: 1px solid;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
.hiprint-printElement-tableTarget-border-td-none td {
|
|
218
|
-
border: 0px solid;
|
|
219
|
-
}
|
|
220
|
-
.hiprint-printElement-tableTarget-border-td-all td:not(:nth-last-child(-n+2)) {
|
|
221
|
-
border-right: 1px solid;
|
|
222
|
-
}
|
|
223
|
-
/*.hiprint-printElement-tableTarget-border-td-all td:last-child {
|
|
224
|
-
border-left: 1px solid;
|
|
225
|
-
}*/
|
|
226
|
-
/*修改合并单元格后左侧边框没有了问题*/
|
|
227
|
-
.hiprint-printElement-tableTarget-border-td-all td {
|
|
228
|
-
border-left: 1px solid;
|
|
229
|
-
}
|
|
230
|
-
.hiprint-printElement-tableTarget-border-td-all td:last-child:first-child {
|
|
231
|
-
border-left: none;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/*.hiprint-printElement-tableTarget tr,*/
|
|
235
|
-
.hiprint-printElement-tableTarget td {
|
|
236
|
-
height: 18pt;
|
|
237
|
-
}
|
|
165
|
+
border-color: rgb(0,0,0);
|
|
166
|
+
border-style: none;
|
|
167
|
+
/*border: 1px solid rgb(0,0,0);*/
|
|
168
|
+
font-weight: normal;
|
|
169
|
+
direction: ltr;
|
|
170
|
+
padding-bottom: 0pt;
|
|
171
|
+
padding-left: 4pt;
|
|
172
|
+
padding-right: 4pt;
|
|
173
|
+
padding-top: 0pt;
|
|
174
|
+
text-decoration: none;
|
|
175
|
+
vertical-align: middle;
|
|
176
|
+
box-sizing: border-box;
|
|
177
|
+
word-wrap: break-word;
|
|
178
|
+
word-break: break-all;
|
|
179
|
+
/*line-height: 9.75pt;
|
|
180
|
+
font-size: 9pt;*/
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/*.hiprint-printElement-tableTarget tr,*/
|
|
184
|
+
.hiprint-printElement-tableTarget td {
|
|
185
|
+
height: 18pt;
|
|
186
|
+
}
|
|
238
187
|
|
|
239
188
|
.hiprint-printPaper .hiprint-paperNumber {
|
|
240
|
-
|
|
189
|
+
font-size: 9pt;
|
|
241
190
|
}
|
|
242
191
|
|
|
243
192
|
.design .hiprint-printElement-table-handle {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
193
|
+
position: absolute;
|
|
194
|
+
height: 12pt;
|
|
195
|
+
width: 12pt;
|
|
196
|
+
background: red;
|
|
197
|
+
z-index:1;
|
|
249
198
|
}
|
|
250
199
|
|
|
251
200
|
.hiprint-printPaper .hiprint-paperNumber-disabled {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
201
|
+
float: right !important;
|
|
202
|
+
right: 0 !important;
|
|
203
|
+
color: gainsboro !important;
|
|
255
204
|
}
|
|
256
205
|
|
|
257
206
|
.hiprint-printElement-vline, .hiprint-printElement-hline {
|
|
258
|
-
|
|
207
|
+
border: 0px none rgb(0,0,0);
|
|
259
208
|
|
|
260
209
|
}
|
|
261
|
-
|
|
262
210
|
.hiprint-printElement-vline {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
211
|
+
border-left: 0.75pt solid #000;
|
|
212
|
+
border-right: 0px none rgb(0,0,0) !important;
|
|
213
|
+
border-bottom: 0px none rgb(0,0,0) !important;
|
|
214
|
+
border-top: 0px none rgb(0,0,0) !important;
|
|
267
215
|
}
|
|
268
216
|
|
|
269
217
|
.hiprint-printElement-hline {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
218
|
+
border-top: 0.75pt solid #000;
|
|
219
|
+
border-right: 0px none rgb(0,0,0) !important;
|
|
220
|
+
border-bottom: 0px none rgb(0,0,0) !important;
|
|
221
|
+
border-left: 0px none rgb(0,0,0) !important;
|
|
274
222
|
}
|
|
275
223
|
|
|
276
224
|
.hiprint-printElement-oval, .hiprint-printElement-rect {
|
|
277
|
-
|
|
225
|
+
border: 0.75pt solid #000;
|
|
278
226
|
}
|
|
279
227
|
|
|
280
228
|
.hiprint-text-content-middle {
|
|
229
|
+
display:table;
|
|
281
230
|
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
align-items: center;
|
|
231
|
+
.hiprint-text-content-middle>div {
|
|
232
|
+
display: table-cell;
|
|
233
|
+
vertical-align:middle
|
|
286
234
|
}
|
|
287
235
|
|
|
288
236
|
.hiprint-text-content-bottom {
|
|
237
|
+
display: table;
|
|
289
238
|
}
|
|
290
239
|
|
|
291
|
-
.hiprint-text-content-bottom > div {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.hiprint-text-content-wrap {
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.hiprint-text-content-wrap .hiprint-text-content-wrap-nowrap {
|
|
300
|
-
white-space: nowrap;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.hiprint-text-content-wrap .hiprint-text-content-wrap-clip {
|
|
304
|
-
white-space: nowrap;
|
|
305
|
-
overflow: hidden;
|
|
306
|
-
text-overflow: clip;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.hiprint-text-content-wrap .hiprint-text-content-wrap-ellipsis {
|
|
310
|
-
white-space: nowrap;
|
|
311
|
-
overflow: hidden;
|
|
312
|
-
text-overflow: ellipsis;
|
|
313
|
-
}
|
|
240
|
+
.hiprint-text-content-bottom > div {
|
|
241
|
+
display: table-cell;
|
|
242
|
+
vertical-align: bottom
|
|
243
|
+
}
|
|
314
244
|
|
|
315
245
|
/*hi-grid-row */
|
|
316
246
|
.hi-grid-row {
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
247
|
+
position: relative;
|
|
248
|
+
height: auto;
|
|
249
|
+
margin-right: 0;
|
|
250
|
+
margin-left: 0;
|
|
251
|
+
zoom: 1;
|
|
252
|
+
display: block;
|
|
253
|
+
box-sizing: border-box;
|
|
324
254
|
}
|
|
325
255
|
|
|
326
|
-
.hi-grid-row::after, .hi-grid-row::before {
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
}
|
|
256
|
+
.hi-grid-row::after, .hi-grid-row::before {
|
|
257
|
+
display: table;
|
|
258
|
+
content: '';
|
|
259
|
+
box-sizing: border-box;
|
|
260
|
+
}
|
|
331
261
|
|
|
332
262
|
.hi-grid-col {
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
263
|
+
display: block;
|
|
264
|
+
box-sizing: border-box;
|
|
265
|
+
position: relative;
|
|
266
|
+
float: left;
|
|
267
|
+
flex: 0 0 auto;
|
|
338
268
|
}
|
|
339
269
|
|
|
340
270
|
.table-grid-row {
|
|
341
|
-
|
|
342
|
-
|
|
271
|
+
margin-left: -0pt;
|
|
272
|
+
margin-right: -0pt;
|
|
343
273
|
}
|
|
344
274
|
|
|
345
275
|
.tableGridColumnsGutterRow {
|
|
346
|
-
|
|
347
|
-
|
|
276
|
+
padding-left: 0pt;
|
|
277
|
+
padding-right: 0pt;
|
|
348
278
|
}
|
|
349
|
-
|
|
350
279
|
.hiprint-gridColumnsFooter {
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
}
|
|
280
|
+
text-align: left;
|
|
281
|
+
clear: both;
|
|
282
|
+
}
|