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.
@@ -1,353 +1,282 @@
1
+
1
2
  @media print {
2
- body {
3
- margin: 0px;
4
- padding: 0px;
5
- }
3
+ body {
4
+ margin: 0px;
5
+ padding: 0px;
6
+ }
6
7
  }
7
8
 
8
9
  @page {
9
- margin: 0;
10
+ margin: 0;
10
11
  }
11
12
 
12
13
  .hiprint-printPaper * {
13
- box-sizing: border-box;
14
- -moz-box-sizing: border-box; /* Firefox */
15
- -webkit-box-sizing: border-box; /* Safari */
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
- outline: -webkit-focus-ring-color auto 0px;
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-printPaper .hiprint-printPaper-content {
34
- position: relative;
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
- margin-top: 20px;
42
- top: -20px
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
- overflow: visible;
42
+ overflow: visible;
48
43
  }
49
44
 
50
45
 
46
+
51
47
  .hiprint-printTemplate .hiprint-printPanel {
52
- page-break-after: always;
48
+ page-break-after: always;
53
49
  }
54
50
 
55
51
  .hiprint-printPaper, hiprint-printPanel {
56
- box-sizing: border-box;
57
- border: 0px;
52
+ box-sizing: border-box;
53
+ border: 0px;
58
54
  }
59
55
 
60
56
  .hiprint-printPanel .hiprint-printPaper:last-child {
61
- page-break-after: avoid;
57
+ page-break-after: avoid;
62
58
  }
63
59
 
64
60
  .hiprint-printTemplate .hiprint-printPanel:last-child {
65
- page-break-after: avoid;
61
+ page-break-after: avoid;
66
62
  }
67
63
 
68
64
  .hiprint-printPaper .hideheaderLinetarget {
69
- border-top: 0px dashed rgb(201, 190, 190) !important;
65
+ border-top: 0px dashed rgb(201, 190, 190) !important;
70
66
  }
71
67
 
72
68
  .hiprint-printPaper .hidefooterLinetarget {
73
- border-top: 0px dashed rgb(201, 190, 190) !important;
69
+ border-top: 0px dashed rgb(201, 190, 190) !important;
74
70
  }
75
71
 
76
72
  .hiprint-printPaper.design {
77
- border: 1px dashed rgba(170, 170, 170, 0.7);
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
- overflow: hidden;
82
- box-sizing: border-box;
77
+ overflow: hidden;
78
+ box-sizing: border-box;
83
79
  }
84
80
 
85
81
  .design .resize-panel {
86
- box-sizing: border-box;
87
- border: 1px dotted;
82
+ box-sizing: border-box;
83
+ border: 1px dotted;
88
84
  }
89
85
 
90
86
  .hiprint-printElement-text {
91
- background-color: transparent;
92
- background-repeat: repeat;
93
- padding: 0 0 0 0;
94
- border: 0.75pt none rgb(0, 0, 0);
95
- direction: ltr;
96
- font-family: 'SimSun';
97
- font-size: 9pt;
98
- font-style: normal;
99
- font-weight: normal;
100
- padding-bottom: 0pt;
101
- padding-left: 0pt;
102
- padding-right: 0pt;
103
- padding-top: 0pt;
104
- text-align: left;
105
- text-decoration: none;
106
- line-height: 9.75pt;
107
- box-sizing: border-box;
108
- word-wrap: break-word;
109
- word-break: break-all;
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
- border: 1px dashed rgb(206, 188, 188);
114
- box-sizing: border-box;
109
+ border: 1px dashed rgb(206, 188, 188);
110
+ box-sizing: border-box;
115
111
  }
116
112
 
117
113
  .hiprint-printElement-longText {
118
- background-color: transparent;
119
- background-repeat: repeat;
120
- border: 0.75pt none rgb(0, 0, 0);
121
- direction: ltr;
122
- font-family: 'SimSun';
123
- font-size: 9pt;
124
- font-style: normal;
125
- font-weight: normal;
126
- padding-bottom: 0pt;
127
- padding-left: 0pt;
128
- padding-right: 0pt;
129
- padding-top: 0pt;
130
- text-align: left;
131
- text-decoration: none;
132
- line-height: 9.75pt;
133
- box-sizing: border-box;
134
- word-wrap: break-word;
135
- word-break: break-all;
136
- /*white-space: pre-wrap*/
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
- background-color: transparent;
142
- background-repeat: repeat;
143
- color: rgb(0, 0, 0);
144
- border-color: rgb(0, 0, 0);
145
- border-style: none;
146
- direction: ltr;
147
- font-family: 'SimSun';
148
- font-size: 9pt;
149
- font-style: normal;
150
- font-weight: normal;
151
- padding-bottom: 0pt;
152
- padding-left: 0pt;
153
- padding-right: 0pt;
154
- padding-top: 0pt;
155
- text-align: left;
156
- text-decoration: none;
157
- padding: 0 0 0 0;
158
- box-sizing: border-box;
159
- line-height: 9.75pt;
160
- }
161
-
162
- .hiprint-printElement-table thead {
163
- background: #e8e8e8;
164
- font-weight: 700;
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
- border-color: rgb(0, 0, 0);
173
- /*border-style: none;*/
174
- /*border: 1px solid rgb(0, 0, 0);*/
175
- font-weight: normal;
176
- direction: ltr;
177
- padding-bottom: 0pt;
178
- padding-left: 4pt;
179
- padding-right: 4pt;
180
- padding-top: 0pt;
181
- text-decoration: none;
182
- vertical-align: middle;
183
- box-sizing: border-box;
184
- word-wrap: break-word;
185
- word-break: break-all;
186
- /*line-height: 9.75pt;
187
- font-size: 9pt;*/
188
- }
189
-
190
- .hiprint-printElement-tableTarget-border-all {
191
- border: 1px solid;
192
- }
193
- .hiprint-printElement-tableTarget-border-none {
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
- font-size: 9pt;
189
+ font-size: 9pt;
241
190
  }
242
191
 
243
192
  .design .hiprint-printElement-table-handle {
244
- position: absolute;
245
- height: 21pt;
246
- width: 21pt;
247
- background: red;
248
- z-index: 1;
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
- float: right !important;
253
- right: 0 !important;
254
- color: gainsboro !important;
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
- border: 0px none rgb(0, 0, 0);
207
+ border: 0px none rgb(0,0,0);
259
208
 
260
209
  }
261
-
262
210
  .hiprint-printElement-vline {
263
- border-left: 0.75pt solid #000;
264
- border-right: 0px none rgb(0, 0, 0) !important;
265
- border-bottom: 0px none rgb(0, 0, 0) !important;
266
- border-top: 0px none rgb(0, 0, 0) !important;
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
- border-top: 0.75pt solid #000;
271
- border-right: 0px none rgb(0, 0, 0) !important;
272
- border-bottom: 0px none rgb(0, 0, 0) !important;
273
- border-left: 0px none rgb(0, 0, 0) !important;
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
- border: 0.75pt solid #000;
225
+ border: 0.75pt solid #000;
278
226
  }
279
227
 
280
228
  .hiprint-text-content-middle {
229
+ display:table;
281
230
  }
282
-
283
- .hiprint-text-content-middle > div {
284
- display: grid;
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
- display: grid;
293
- align-items: flex-end;
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
- position: relative;
318
- height: auto;
319
- margin-right: 0;
320
- margin-left: 0;
321
- zoom: 1;
322
- display: block;
323
- box-sizing: border-box;
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
- display: table;
328
- content: '';
329
- box-sizing: border-box;
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
- display: block;
334
- box-sizing: border-box;
335
- position: relative;
336
- float: left;
337
- flex: 0 0 auto;
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
- margin-left: -0pt;
342
- margin-right: -0pt;
271
+ margin-left: -0pt;
272
+ margin-right: -0pt;
343
273
  }
344
274
 
345
275
  .tableGridColumnsGutterRow {
346
- padding-left: 0pt;
347
- padding-right: 0pt;
276
+ padding-left: 0pt;
277
+ padding-right: 0pt;
348
278
  }
349
-
350
279
  .hiprint-gridColumnsFooter {
351
- text-align: left;
352
- clear: both;
353
- }
280
+ text-align: left;
281
+ clear: both;
282
+ }