@guodun/antdv 1.7.10 → 1.7.12
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/dist/es/components/pro-contract-template-designer/src/ContractTemplateSingleRenderer.vue.mjs +213 -216
- package/dist/es/components/pro-contract-template-designer/src/constants.mjs +7 -7
- package/dist/es/components/pro-contract-template-designer/src/utils/contract-print-document.mjs +23 -23
- package/dist/es/contract-print-css/index.mjs +376 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateSingleRenderer.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/constants.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/utils/contract-print-document.cjs +4 -4
- package/dist/lib/contract-print-css/index.cjs +369 -0
- package/dist/theme/icon.css +1 -1
- package/dist/theme/index.css +1 -1
- package/dist/types/contract-print-css/index.d.ts +29 -0
- package/package.json +2 -2
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
var e=`"GD Contract Latin", "Songti SC", SimSun, "Noto Serif CJK SC", "Source Han Serif SC", serif`,t=`"GD Contract Latin Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif`,n=8e3,r=`text-spacing-trim: space-all;
|
|
2
|
+
font-kerning: none;
|
|
3
|
+
font-variant-ligatures: none;
|
|
4
|
+
font-variant-east-asian: normal;
|
|
5
|
+
font-synthesis: none;
|
|
6
|
+
font-feature-settings: "palt" 0, "halt" 0;
|
|
7
|
+
font-optical-sizing: none;`;function i(n){let i=c(n.width,`width`),l=c(n.height,`height`),u=n.pages.map(e=>{let t=s(e.pageSize?.width)?e.pageSize.width:i,n=s(e.pageSize?.height)?e.pageSize.height:l;return`.gd-contract-template-page[data-page-id="${o(e.id)}"] { width: ${t}px; min-height: ${n}px; }`}).join(`
|
|
8
|
+
`);return`${a()}
|
|
9
|
+
@page { size: ${i}px ${l}px; margin: 0; }
|
|
10
|
+
* { box-sizing: border-box; }
|
|
11
|
+
html, body { margin: 0; padding: 0; background: #fff; }
|
|
12
|
+
body {
|
|
13
|
+
color: #262a33;
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
font-family: ${e};
|
|
16
|
+
line-height: 1.75;
|
|
17
|
+
-webkit-print-color-adjust: exact;
|
|
18
|
+
print-color-adjust: exact;
|
|
19
|
+
}
|
|
20
|
+
.gd-contract-template-page {
|
|
21
|
+
position: relative;
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
width: ${i}px;
|
|
24
|
+
min-height: ${l}px;
|
|
25
|
+
padding: 54px 64px;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
color: #262a33;
|
|
28
|
+
font-size: 16px;
|
|
29
|
+
font-family: ${e};
|
|
30
|
+
line-height: 1.75;
|
|
31
|
+
${r}
|
|
32
|
+
break-after: page;
|
|
33
|
+
page-break-after: always;
|
|
34
|
+
}
|
|
35
|
+
.gd-contract-template-page *,
|
|
36
|
+
.gd-contract-template-page *::before,
|
|
37
|
+
.gd-contract-template-page *::after { box-sizing: border-box; }
|
|
38
|
+
.gd-contract-template-page.has-contract-header {
|
|
39
|
+
padding-top: var(--gd-contract-header-safe-padding, 80px);
|
|
40
|
+
}
|
|
41
|
+
.gd-contract-template-page.has-contract-footer {
|
|
42
|
+
padding-bottom: var(--gd-contract-footer-safe-padding, 80px);
|
|
43
|
+
}
|
|
44
|
+
.gd-contract-template-page__content { position: relative; z-index: 1; }
|
|
45
|
+
.gd-contract-template-page__header,
|
|
46
|
+
.gd-contract-template-page__footer {
|
|
47
|
+
position: absolute;
|
|
48
|
+
z-index: 2;
|
|
49
|
+
display: grid;
|
|
50
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
51
|
+
align-items: center;
|
|
52
|
+
right: 64px;
|
|
53
|
+
left: 64px;
|
|
54
|
+
gap: 8px;
|
|
55
|
+
min-width: 0;
|
|
56
|
+
padding-block: 4px;
|
|
57
|
+
line-height: 1.5;
|
|
58
|
+
pointer-events: none;
|
|
59
|
+
}
|
|
60
|
+
.gd-contract-template-page__header { top: 24px; }
|
|
61
|
+
.gd-contract-template-page__footer { bottom: 24px; }
|
|
62
|
+
.gd-contract-template-page__decoration-slot {
|
|
63
|
+
min-width: 0;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
text-overflow: ellipsis;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
}
|
|
68
|
+
.gd-contract-template-page__decoration-slot.is-left { text-align: left; }
|
|
69
|
+
.gd-contract-template-page__decoration-slot.is-center { text-align: center; }
|
|
70
|
+
.gd-contract-template-page__decoration-slot.is-right { text-align: right; }
|
|
71
|
+
.gd-contract-template-page__watermark {
|
|
72
|
+
position: absolute;
|
|
73
|
+
z-index: 0;
|
|
74
|
+
display: grid;
|
|
75
|
+
inset: 0;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
letter-spacing: 0;
|
|
78
|
+
pointer-events: none;
|
|
79
|
+
user-select: none;
|
|
80
|
+
}
|
|
81
|
+
.gd-contract-template-page__watermark.is-single { place-items: center; }
|
|
82
|
+
.gd-contract-template-page__watermark.is-tiled {
|
|
83
|
+
grid-template-columns: repeat(var(--gd-watermark-columns), minmax(0, 1fr));
|
|
84
|
+
grid-template-rows: repeat(var(--gd-watermark-rows), minmax(0, 1fr));
|
|
85
|
+
padding: 72px 40px;
|
|
86
|
+
}
|
|
87
|
+
.gd-contract-template-page__watermark-item {
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
min-width: 0;
|
|
92
|
+
max-width: 100%;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
font-weight: 500;
|
|
95
|
+
line-height: 1.5;
|
|
96
|
+
text-overflow: ellipsis;
|
|
97
|
+
white-space: nowrap;
|
|
98
|
+
transform-origin: center;
|
|
99
|
+
}
|
|
100
|
+
${u}
|
|
101
|
+
.gd-contract-template-page:last-child { break-after: auto; page-break-after: auto; }
|
|
102
|
+
.gd-contract-template-page p { margin: 0 0 10px; }
|
|
103
|
+
.gd-contract-template-page table { width: 100%; border-collapse: collapse; }
|
|
104
|
+
.gd-contract-template-page th,
|
|
105
|
+
.gd-contract-template-page td { min-width: 80px; padding: 6px 8px; border: 1px solid #d9dce0; }
|
|
106
|
+
.gd-contract-template-page table[data-signing-layout="dual-party"] {
|
|
107
|
+
margin: 16px 0;
|
|
108
|
+
border: 0;
|
|
109
|
+
}
|
|
110
|
+
.gd-contract-template-page table[data-signing-layout="dual-party"] td {
|
|
111
|
+
width: 50%;
|
|
112
|
+
padding: 8px 20px;
|
|
113
|
+
border: 0;
|
|
114
|
+
vertical-align: top;
|
|
115
|
+
}
|
|
116
|
+
.gd-contract-template-page table[data-signing-layout="dual-party"] td + td { padding-left: 28px; }
|
|
117
|
+
.gd-contract-template-page img {
|
|
118
|
+
display: inline-block;
|
|
119
|
+
max-width: 100%;
|
|
120
|
+
object-fit: contain;
|
|
121
|
+
vertical-align: middle;
|
|
122
|
+
}
|
|
123
|
+
.gd-contract-template-page img[width],
|
|
124
|
+
.gd-contract-template-page img[height] { max-width: none; }
|
|
125
|
+
.gd-contract-template-page img:not([height]) { height: auto; }
|
|
126
|
+
.gd-contract-template-page h1,
|
|
127
|
+
.gd-contract-template-page h2,
|
|
128
|
+
.gd-contract-template-page h3,
|
|
129
|
+
.gd-contract-template-page h4,
|
|
130
|
+
.gd-contract-template-page h5,
|
|
131
|
+
.gd-contract-template-page h6 { display: block; font-weight: bold; }
|
|
132
|
+
.gd-contract-template-page h1 { margin: 0.67em 0; font-size: 2em; }
|
|
133
|
+
.gd-contract-template-page h2 { margin: 0.83em 0; font-size: 1.5em; }
|
|
134
|
+
.gd-contract-template-page h3 { margin: 1em 0; font-size: 1.17em; }
|
|
135
|
+
.gd-contract-template-page h4 { margin: 1.33em 0; font-size: 1em; }
|
|
136
|
+
.gd-contract-template-page h5 { margin: 1.67em 0; font-size: 0.83em; }
|
|
137
|
+
.gd-contract-template-page h6 { margin: 2.33em 0; font-size: 0.67em; }
|
|
138
|
+
.gd-contract-template-page ul,
|
|
139
|
+
.gd-contract-template-page ol {
|
|
140
|
+
display: block;
|
|
141
|
+
margin: 1em 0;
|
|
142
|
+
padding-inline-start: 40px;
|
|
143
|
+
list-style-position: outside;
|
|
144
|
+
}
|
|
145
|
+
.gd-contract-template-page ul ul,
|
|
146
|
+
.gd-contract-template-page ul ol,
|
|
147
|
+
.gd-contract-template-page ol ul,
|
|
148
|
+
.gd-contract-template-page ol ol { margin-block: 0; }
|
|
149
|
+
.gd-contract-template-page ul { list-style-type: disc; }
|
|
150
|
+
.gd-contract-template-page ul ul,
|
|
151
|
+
.gd-contract-template-page ol ul { list-style-type: circle; }
|
|
152
|
+
.gd-contract-template-page ul ul ul,
|
|
153
|
+
.gd-contract-template-page ul ol ul,
|
|
154
|
+
.gd-contract-template-page ol ul ul,
|
|
155
|
+
.gd-contract-template-page ol ol ul { list-style-type: square; }
|
|
156
|
+
.gd-contract-template-page ol { list-style-type: decimal; }
|
|
157
|
+
.gd-contract-template-page li { display: list-item; text-align: match-parent; }
|
|
158
|
+
.gd-contract-template-page blockquote { display: block; margin: 1em 40px; }
|
|
159
|
+
.gd-contract-template-page pre {
|
|
160
|
+
display: block;
|
|
161
|
+
margin: 1em 0;
|
|
162
|
+
font-family: monospace;
|
|
163
|
+
white-space: pre;
|
|
164
|
+
}
|
|
165
|
+
.gd-contract-template-page code,
|
|
166
|
+
.gd-contract-template-page kbd,
|
|
167
|
+
.gd-contract-template-page samp { font-family: ${t}; }
|
|
168
|
+
.gd-contract-template-page hr {
|
|
169
|
+
display: block;
|
|
170
|
+
margin: 0.5em auto;
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
border-width: 1px;
|
|
173
|
+
border-style: inset;
|
|
174
|
+
}
|
|
175
|
+
.gd-contract-template-page b,
|
|
176
|
+
.gd-contract-template-page strong { font-weight: bolder; }
|
|
177
|
+
.gd-contract-template-page i,
|
|
178
|
+
.gd-contract-template-page em,
|
|
179
|
+
.gd-contract-template-page cite,
|
|
180
|
+
.gd-contract-template-page var,
|
|
181
|
+
.gd-contract-template-page dfn,
|
|
182
|
+
.gd-contract-template-page address { font-style: italic; }
|
|
183
|
+
.gd-contract-template-page s,
|
|
184
|
+
.gd-contract-template-page strike,
|
|
185
|
+
.gd-contract-template-page del { text-decoration: line-through; }
|
|
186
|
+
.gd-contract-template-page u,
|
|
187
|
+
.gd-contract-template-page ins { text-decoration: underline; }
|
|
188
|
+
.gd-contract-template-page sup {
|
|
189
|
+
font-size: smaller;
|
|
190
|
+
line-height: normal;
|
|
191
|
+
vertical-align: super;
|
|
192
|
+
}
|
|
193
|
+
.gd-contract-template-page sub {
|
|
194
|
+
font-size: smaller;
|
|
195
|
+
line-height: normal;
|
|
196
|
+
vertical-align: sub;
|
|
197
|
+
}
|
|
198
|
+
.gd-contract-template-page small { font-size: smaller; }
|
|
199
|
+
.gd-contract-template-page .gd-contract-template-variable,
|
|
200
|
+
.gd-contract-template-page [data-template-variable="true"]:not(.gd-contract-template-page__variable) {
|
|
201
|
+
position: relative;
|
|
202
|
+
box-sizing: border-box;
|
|
203
|
+
display: inline-flex;
|
|
204
|
+
align-items: center;
|
|
205
|
+
justify-content: var(--gd-contract-variable-justify-content, flex-start);
|
|
206
|
+
width: var(--gd-contract-variable-width, 160px);
|
|
207
|
+
min-width: 0;
|
|
208
|
+
min-height: var(--gd-contract-variable-height, 32px);
|
|
209
|
+
margin: 0 2px;
|
|
210
|
+
padding: 0 6px;
|
|
211
|
+
border: 1px solid transparent;
|
|
212
|
+
border-radius: 2px;
|
|
213
|
+
background: var(--gd-contract-variable-background, transparent);
|
|
214
|
+
color: var(--gd-contract-variable-color, #1f2937);
|
|
215
|
+
font-size: var(--gd-contract-variable-font-size, 14px);
|
|
216
|
+
font-family: var(--gd-contract-variable-font-family, inherit);
|
|
217
|
+
line-height: 1.5;
|
|
218
|
+
text-align: var(--gd-contract-variable-text-align, left);
|
|
219
|
+
vertical-align: middle;
|
|
220
|
+
white-space: nowrap;
|
|
221
|
+
}
|
|
222
|
+
.gd-contract-template-page .gd-contract-template-variable.has-border,
|
|
223
|
+
.gd-contract-template-page [data-template-variable="true"][data-border="true"]:not(.gd-contract-template-page__variable) {
|
|
224
|
+
border-color: var(--gd-contract-variable-line-color, #565b66);
|
|
225
|
+
border-style: var(--gd-contract-variable-border-style, solid);
|
|
226
|
+
}
|
|
227
|
+
.gd-contract-template-page .gd-contract-template-variable.has-underline,
|
|
228
|
+
.gd-contract-template-page [data-template-variable="true"][data-underline="true"]:not(.gd-contract-template-page__variable) {
|
|
229
|
+
border-color: transparent;
|
|
230
|
+
border-bottom-color: var(--gd-contract-variable-line-color, #565b66);
|
|
231
|
+
border-bottom-style: var(--gd-contract-variable-border-style, solid);
|
|
232
|
+
border-radius: 0;
|
|
233
|
+
}
|
|
234
|
+
.gd-contract-template-page .gd-contract-template-variable.is-multiline,
|
|
235
|
+
.gd-contract-template-page [data-template-variable="true"][data-multiline="true"]:not(.gd-contract-template-page__variable) {
|
|
236
|
+
display: inline-block;
|
|
237
|
+
width: var(--gd-contract-variable-width, 160px);
|
|
238
|
+
height: var(--gd-contract-variable-multiline-height, 84px);
|
|
239
|
+
min-height: var(--gd-contract-variable-multiline-height, 84px);
|
|
240
|
+
overflow: hidden;
|
|
241
|
+
line-height: var(--gd-contract-variable-line-height, 28px);
|
|
242
|
+
vertical-align: top;
|
|
243
|
+
white-space: pre-wrap;
|
|
244
|
+
overflow-wrap: anywhere;
|
|
245
|
+
}
|
|
246
|
+
.gd-contract-template-page textarea.gd-contract-template-variable.is-multiline {
|
|
247
|
+
resize: none;
|
|
248
|
+
}
|
|
249
|
+
.gd-contract-template-page .gd-contract-template-variable.is-multiline.has-underline,
|
|
250
|
+
.gd-contract-template-page [data-template-variable="true"][data-multiline="true"][data-underline="true"]:not(.gd-contract-template-page__variable) {
|
|
251
|
+
border-bottom-color: transparent;
|
|
252
|
+
background-image: linear-gradient(
|
|
253
|
+
to bottom,
|
|
254
|
+
transparent calc(100% - 1px),
|
|
255
|
+
var(--gd-contract-variable-line-color, #565b66) calc(100% - 1px)
|
|
256
|
+
);
|
|
257
|
+
/* 以边框盒固定横线周期;PDF 会对 repeat-y 图块边界插值,padding-box 排除顶部透明边框区的浅线。 */
|
|
258
|
+
background-origin: border-box;
|
|
259
|
+
background-position: 0 0;
|
|
260
|
+
background-clip: padding-box;
|
|
261
|
+
/* 底部 1px 边框等量移为 padding,避免末行线被 clip;总高度、内容高度和文字顶部位置均不变。 */
|
|
262
|
+
border-bottom-width: 0;
|
|
263
|
+
padding-bottom: 1px;
|
|
264
|
+
background-repeat: repeat-y;
|
|
265
|
+
background-size: 100% var(--gd-contract-variable-line-height, 28px);
|
|
266
|
+
}
|
|
267
|
+
.gd-contract-template-page .gd-contract-template-variable.is-image,
|
|
268
|
+
.gd-contract-template-page [data-template-variable="true"][data-variable-type="image"]:not(.gd-contract-template-page__variable) {
|
|
269
|
+
justify-content: var(--gd-contract-variable-justify-content, flex-start);
|
|
270
|
+
min-height: var(--gd-contract-variable-height, 32px);
|
|
271
|
+
border-color: transparent;
|
|
272
|
+
border-style: solid;
|
|
273
|
+
background-image: var(--gd-contract-variable-image, none);
|
|
274
|
+
background-repeat: no-repeat;
|
|
275
|
+
background-position: center;
|
|
276
|
+
background-size: var(--gd-contract-variable-object-fit, contain);
|
|
277
|
+
white-space: nowrap;
|
|
278
|
+
}
|
|
279
|
+
.gd-contract-template-page .gd-contract-template-variable.is-image.has-value,
|
|
280
|
+
.gd-contract-template-page [data-template-variable="true"][data-variable-type="image"]:not(.gd-contract-template-page__variable) {
|
|
281
|
+
color: transparent;
|
|
282
|
+
}
|
|
283
|
+
.gd-contract-template-page .gd-contract-template-variable.is-image.has-value::before { content: none; }
|
|
284
|
+
.gd-contract-template-page .gd-contract-template-variable.is-checkbox {
|
|
285
|
+
gap: 6px;
|
|
286
|
+
width: var(--gd-contract-variable-width, 160px);
|
|
287
|
+
min-width: 0;
|
|
288
|
+
padding: 0 6px;
|
|
289
|
+
}
|
|
290
|
+
.gd-contract-template-page .gd-contract-template-signing-mark,
|
|
291
|
+
.gd-contract-template-page [data-signing-mark="true"] {
|
|
292
|
+
display: inline-flex;
|
|
293
|
+
align-items: center;
|
|
294
|
+
justify-content: center;
|
|
295
|
+
box-sizing: border-box;
|
|
296
|
+
width: var(--gd-contract-sign-mark-width, 142px);
|
|
297
|
+
height: var(--gd-contract-sign-mark-height, 57px);
|
|
298
|
+
margin: 0 2px;
|
|
299
|
+
border: 1px dashed var(--gd-contract-sign-mark-line-color, #565b66);
|
|
300
|
+
border-radius: 2px;
|
|
301
|
+
background: var(--gd-contract-sign-mark-fill, transparent);
|
|
302
|
+
color: var(--gd-contract-sign-mark-color, #565b66);
|
|
303
|
+
font-size: 14px;
|
|
304
|
+
line-height: 1.4;
|
|
305
|
+
vertical-align: middle;
|
|
306
|
+
white-space: pre-wrap;
|
|
307
|
+
text-align: center;
|
|
308
|
+
}
|
|
309
|
+
.gd-contract-template-page .gd-contract-template-signing-mark--seal,
|
|
310
|
+
.gd-contract-template-page [data-signing-mark="true"][data-mark-type="seal"] {
|
|
311
|
+
border-color: color-mix(in srgb, #ee3939 72%, #565b66);
|
|
312
|
+
}
|
|
313
|
+
.gd-contract-template-page .gd-contract-template-signing-mark--line,
|
|
314
|
+
.gd-contract-template-page [data-signing-mark="true"][data-mark-type="line"] {
|
|
315
|
+
border-style: solid;
|
|
316
|
+
border-width: 0 0 1px;
|
|
317
|
+
border-radius: 0;
|
|
318
|
+
background: transparent;
|
|
319
|
+
justify-content: flex-start;
|
|
320
|
+
}
|
|
321
|
+
.gd-contract-template-page .gd-contract-template-signing-mark--area,
|
|
322
|
+
.gd-contract-template-page [data-signing-mark="true"][data-mark-type="area"] {
|
|
323
|
+
border-style: dashed;
|
|
324
|
+
}
|
|
325
|
+
.gd-contract-template-page .gd-contract-template-signing-mark--signature,
|
|
326
|
+
.gd-contract-template-page [data-signing-mark="true"][data-mark-type="signature"],
|
|
327
|
+
.gd-contract-template-page .gd-contract-template-signing-mark--date,
|
|
328
|
+
.gd-contract-template-page [data-signing-mark="true"][data-mark-type="date"] {
|
|
329
|
+
border-style: dashed;
|
|
330
|
+
}
|
|
331
|
+
/* 签署标记仅保留正式签署线或留白尺寸,不向预览、PDF 和签署底图泄漏辅助文案。 */
|
|
332
|
+
.gd-contract-template-page .gd-contract-template-signing-mark:not(.gd-contract-template-signing-mark--line),
|
|
333
|
+
.gd-contract-template-page [data-signing-mark="true"]:not([data-mark-type="line"]) {
|
|
334
|
+
border: 0;
|
|
335
|
+
background: transparent;
|
|
336
|
+
}
|
|
337
|
+
.gd-contract-template-page .gd-contract-template-signing-mark__label,
|
|
338
|
+
.gd-contract-template-page [data-signing-mark="true"] .gd-contract-template-signing-mark__label {
|
|
339
|
+
display: none !important;
|
|
340
|
+
}
|
|
341
|
+
/* 历史模板可能写入仅某个操作系统存在的字体;保留原数据,打印时收敛到合同标准栈。 */
|
|
342
|
+
.gd-contract-template-page [style*="font-family" i],
|
|
343
|
+
.gd-contract-template-page [data-font-family],
|
|
344
|
+
.gd-contract-template-page [face] {
|
|
345
|
+
font-family: ${e} !important;
|
|
346
|
+
}
|
|
347
|
+
.gd-contract-template-page [style*="GD Contract Latin Sans" i],
|
|
348
|
+
.gd-contract-template-page [style*="PingFang SC" i],
|
|
349
|
+
.gd-contract-template-page [style*="Microsoft YaHei" i],
|
|
350
|
+
.gd-contract-template-page [style*="Noto Sans CJK SC" i],
|
|
351
|
+
.gd-contract-template-page [data-font-family*="GD Contract Latin Sans" i],
|
|
352
|
+
.gd-contract-template-page [data-font-family*="PingFang SC" i],
|
|
353
|
+
.gd-contract-template-page [data-font-family*="Microsoft YaHei" i],
|
|
354
|
+
.gd-contract-template-page [data-font-family*="Noto Sans CJK SC" i],
|
|
355
|
+
.gd-contract-template-page [face*="GD Contract Latin Sans" i],
|
|
356
|
+
.gd-contract-template-page [face*="PingFang SC" i],
|
|
357
|
+
.gd-contract-template-page [face*="Microsoft YaHei" i],
|
|
358
|
+
.gd-contract-template-page [face*="Noto Sans CJK SC" i] {
|
|
359
|
+
font-family: ${t} !important;
|
|
360
|
+
}`}function a(){return`@font-face {
|
|
361
|
+
font-family: "GD Contract Latin";
|
|
362
|
+
src: local("Times New Roman"), local("Liberation Serif"), local("Tinos");
|
|
363
|
+
unicode-range: U+0000-024F, U+2000-206F, U+2190-21FF, U+2200-22FF;
|
|
364
|
+
}
|
|
365
|
+
@font-face {
|
|
366
|
+
font-family: "GD Contract Latin Sans";
|
|
367
|
+
src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
|
|
368
|
+
unicode-range: U+0000-024F, U+2000-206F, U+2190-21FF, U+2200-22FF;
|
|
369
|
+
}`}function o(e){return String(e).replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/[\r\n\f]/g,` `)}function s(e){return typeof e==`number`&&Number.isFinite(e)&&e>0}function c(e,t){if(!s(e))throw TypeError(`${t} 必须是有限正数`);return e}exports.CONTRACT_PRINT_FONT_FAMILY=e,exports.CONTRACT_PRINT_FONT_TIMEOUT_MS=n,exports.CONTRACT_PRINT_METRIC_NORMALIZE_CSS=r,exports.CONTRACT_PRINT_SANS_FONT_FAMILY=t,exports.buildContractPrintCss=i;
|
package/dist/theme/icon.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:gd-ant-iconfont;src:url(./fonts/iconfont.woff2?t=
|
|
1
|
+
@font-face{font-family:gd-ant-iconfont;src:url(./fonts/iconfont.woff2?t=18089)format("woff2"),url(./fonts/iconfont.woff?t=96585)format("woff"),url(./fonts/iconfont.ttf?t=33279)format("truetype")}.gd-ant-icon{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;font-style:normal;font-family:gd-ant-iconfont!important}.icon-gd-ant-xinzeng:before{content:""}.icon-gd-ant-guanbi:before{content:""}.icon-gd-ant-sync:before{content:""}.icon-gd-ant-tupianjiazaishibai:before{content:""}.icon-gd-ant-double-left:before{content:""}.icon-gd-ant-double-right:before{content:""}.icon-gd-ant-question-circle:before{content:""}.icon-gd-ant-sound:before{content:""}.icon-gd-ant-code:before{content:""}.icon-gd-ant-desktop:before{content:""}.icon-gd-ant-delete1:before{content:""}.icon-gd-ant-mobile:before{content:""}.icon-gd-ant-qiye:before{content:""}.icon-gd-ant-bumen:before{content:""}.icon-gd-ant-a-jiaoseguanli2:before{content:""}.icon-gd-ant-shanchu:before{content:""}.icon-gd-ant-zuzhijiagou:before{content:""}.icon-gd-ant-search:before{content:""}.icon-gd-ant-calendar:before{content:""}.icon-gd-ant-carry-out:before{content:""}.icon-gd-ant-file-add:before{content:""}.icon-gd-ant-form:before{content:""}.icon-gd-ant-close-circle:before{content:""}.icon-gd-ant-close-circle-o:before{content:""}.icon-gd-ant-vertical-align-bottom:before{content:""}.icon-gd-ant-merge-cells:before{content:""}.icon-gd-ant-split-cells:before{content:""}.icon-gd-ant-down:before{content:""}.icon-gd-ant-left:before{content:""}.icon-gd-ant-right:before{content:""}.icon-gd-ant-up:before{content:""}.icon-gd-ant-plus:before{content:""}.icon-gd-ant-xsl:before{content:""}.icon-gd-ant-word:before{content:""}.icon-gd-ant-eye:before{content:""}.icon-gd-ant-PDF:before{content:""}.icon-gd-ant-delete:before{content:""}.icon-gd-ant-upload-icon:before{content:""}.icon-gd-ant-title-icon:before{content:""}
|