@sw7d/paper-renderer 0.1.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/README.MD +10 -0
- package/dist/paper-renderer.js +6862 -0
- package/dist/src/components/PaperEditor.vue.d.ts +172 -0
- package/dist/src/components/PaperPreview.vue.d.ts +26 -0
- package/dist/src/composables/paperHelpers.d.ts +35 -0
- package/dist/src/composables/usePageSvgRenderer.d.ts +26 -0
- package/dist/src/composables/usePaperBlockOps.d.ts +74 -0
- package/dist/src/composables/usePaperCore.d.ts +181 -0
- package/dist/src/composables/usePaperCursor.d.ts +45 -0
- package/dist/src/composables/usePaperSelection.d.ts +45 -0
- package/dist/src/composables/useTableRenderer.d.ts +33 -0
- package/dist/src/engine/PaperLayout.d.ts +59 -0
- package/dist/src/engine/SvgRenderer.d.ts +75 -0
- package/dist/src/engine/svg/headerRenderer.d.ts +36 -0
- package/dist/src/engine/svg/optionsRenderer.d.ts +23 -0
- package/dist/src/engine/svg/questionRenderer.d.ts +35 -0
- package/dist/src/index.d.ts +35 -0
- package/dist/src/types/document.d.ts +498 -0
- package/dist/src/types/paper.d.ts +278 -0
- package/dist/src/utils/charWidth.d.ts +46 -0
- package/dist/src/utils/chineseNumber.d.ts +50 -0
- package/dist/src/utils/deserialization/parseDocument.d.ts +19 -0
- package/dist/src/utils/deserialization/parseInlines.d.ts +13 -0
- package/dist/src/utils/deserialization/parseQuestions.d.ts +21 -0
- package/dist/src/utils/documentSerializer.d.ts +33 -0
- package/dist/src/utils/mathjax.d.ts +57 -0
- package/dist/src/utils/paperHtmlBuilder.d.ts +21 -0
- package/dist/src/utils/qrcode.d.ts +7 -0
- package/dist/src/utils/questionHtmlParser.d.ts +40 -0
- package/dist/src/utils/questionJsonParser.d.ts +61 -0
- package/dist/src/utils/serialization/buildBody.d.ts +11 -0
- package/dist/src/utils/serialization/buildPagesExport.d.ts +45 -0
- package/dist/src/utils/serialization/buildQuestions.d.ts +23 -0
- package/dist/src/utils/serialization/shared.d.ts +61 -0
- package/dist/src/utils/textWrap.d.ts +36 -0
- package/dist/style.css +2 -0
- package/dist/vite.config.d.ts +2 -0
- package/package.json +53 -0
|
@@ -0,0 +1,498 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 文档类型定义(兼容格式)
|
|
3
|
+
* 对齐 parsed-data.json 的结构
|
|
4
|
+
* 这是编辑器的 "保存格式" 模型
|
|
5
|
+
*/
|
|
6
|
+
export interface SwDocument {
|
|
7
|
+
info: DocInfo;
|
|
8
|
+
header: HeaderSection;
|
|
9
|
+
body: BodySection;
|
|
10
|
+
footer: FooterSection;
|
|
11
|
+
theme: Theme;
|
|
12
|
+
styles: Styles;
|
|
13
|
+
version: string;
|
|
14
|
+
mode: number;
|
|
15
|
+
lastUpdateTime: number;
|
|
16
|
+
}
|
|
17
|
+
export interface DocInfo {
|
|
18
|
+
author: string;
|
|
19
|
+
created: string;
|
|
20
|
+
modify: string;
|
|
21
|
+
}
|
|
22
|
+
export interface HeaderSection {
|
|
23
|
+
title: HeaderBlock;
|
|
24
|
+
titleEven: HeaderBlock;
|
|
25
|
+
titleOdd: HeaderBlock;
|
|
26
|
+
}
|
|
27
|
+
export interface HeaderBlock {
|
|
28
|
+
type: 'header';
|
|
29
|
+
children: VuePlugNode[];
|
|
30
|
+
}
|
|
31
|
+
export interface BodySection {
|
|
32
|
+
type: 'document';
|
|
33
|
+
props: BodyProps;
|
|
34
|
+
children: ColumnNode[];
|
|
35
|
+
}
|
|
36
|
+
export interface BodyProps {
|
|
37
|
+
paper: PaperConfig;
|
|
38
|
+
page: PageConfig;
|
|
39
|
+
grid: GridConfig;
|
|
40
|
+
background: BackgroundConfig;
|
|
41
|
+
}
|
|
42
|
+
export interface PaperConfig {
|
|
43
|
+
type: string;
|
|
44
|
+
width: number;
|
|
45
|
+
height: number;
|
|
46
|
+
width2mm: number;
|
|
47
|
+
height2mm: number;
|
|
48
|
+
padding: MarginConfig;
|
|
49
|
+
point: CornerPoints;
|
|
50
|
+
headerTop: number;
|
|
51
|
+
footerBottom: number;
|
|
52
|
+
/** 是否显示分数 */
|
|
53
|
+
showScore?: boolean;
|
|
54
|
+
/** 全局字号(px) */
|
|
55
|
+
fontSize?: number;
|
|
56
|
+
/** 全局行距倍数 */
|
|
57
|
+
lineSpacing?: number;
|
|
58
|
+
/** 首页body Y偏移 */
|
|
59
|
+
bodyTopEven?: number;
|
|
60
|
+
/** 其他页body Y偏移 */
|
|
61
|
+
bodyTopOdd?: number;
|
|
62
|
+
}
|
|
63
|
+
export interface MarginConfig {
|
|
64
|
+
top: number;
|
|
65
|
+
right: number;
|
|
66
|
+
bottom: number;
|
|
67
|
+
left: number;
|
|
68
|
+
}
|
|
69
|
+
export interface CornerPoints {
|
|
70
|
+
tl: CornerPoint;
|
|
71
|
+
tr: CornerPoint;
|
|
72
|
+
bl: CornerPoint;
|
|
73
|
+
br: CornerPoint;
|
|
74
|
+
}
|
|
75
|
+
export interface CornerPoint {
|
|
76
|
+
top: number;
|
|
77
|
+
left: number;
|
|
78
|
+
width: number;
|
|
79
|
+
height: number;
|
|
80
|
+
}
|
|
81
|
+
export interface PageConfig {
|
|
82
|
+
width: number;
|
|
83
|
+
height: number;
|
|
84
|
+
padding: MarginConfig;
|
|
85
|
+
}
|
|
86
|
+
export interface GridConfig {
|
|
87
|
+
type: 'line';
|
|
88
|
+
linePitch: number;
|
|
89
|
+
}
|
|
90
|
+
export interface BackgroundConfig {
|
|
91
|
+
solidFill: {
|
|
92
|
+
color: Color;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
export interface Color {
|
|
96
|
+
colorType: string;
|
|
97
|
+
colorValue: string;
|
|
98
|
+
}
|
|
99
|
+
export interface ColumnNode {
|
|
100
|
+
type: 'column';
|
|
101
|
+
props: ColumnProps;
|
|
102
|
+
children: ColumnChild[];
|
|
103
|
+
}
|
|
104
|
+
export interface ColumnProps {
|
|
105
|
+
cols: number;
|
|
106
|
+
colspace: number;
|
|
107
|
+
stroke: string;
|
|
108
|
+
strokeWidth: number;
|
|
109
|
+
strokeDasharray: string;
|
|
110
|
+
}
|
|
111
|
+
export type ColumnChild = VuePlugNode | QuestionNode;
|
|
112
|
+
export interface VuePlugNode {
|
|
113
|
+
type: 'vueplug';
|
|
114
|
+
children: VuePlugTextChild[];
|
|
115
|
+
props: VuePlugProps;
|
|
116
|
+
}
|
|
117
|
+
export interface VuePlugTextChild {
|
|
118
|
+
type: 'text';
|
|
119
|
+
props?: Record<string, any>;
|
|
120
|
+
text: string;
|
|
121
|
+
}
|
|
122
|
+
export interface VuePlugProps {
|
|
123
|
+
id: string;
|
|
124
|
+
name: string;
|
|
125
|
+
topicTitleType?: string;
|
|
126
|
+
keepNext?: boolean;
|
|
127
|
+
rect: {
|
|
128
|
+
height: number;
|
|
129
|
+
};
|
|
130
|
+
bind?: Record<string, any>;
|
|
131
|
+
controllerVisible?: boolean;
|
|
132
|
+
}
|
|
133
|
+
export interface QuestionNode {
|
|
134
|
+
type: 'question';
|
|
135
|
+
props: QuestionProps;
|
|
136
|
+
children: (QuestionStemNode | OptionNode | CorrectionBoxNode | ParagraphNode)[];
|
|
137
|
+
}
|
|
138
|
+
export interface QuestionProps {
|
|
139
|
+
topicId: string;
|
|
140
|
+
topicIndex: string;
|
|
141
|
+
padding: {
|
|
142
|
+
left: number;
|
|
143
|
+
right: number;
|
|
144
|
+
};
|
|
145
|
+
rect: {
|
|
146
|
+
height: number | string;
|
|
147
|
+
};
|
|
148
|
+
paddingBottom: number;
|
|
149
|
+
showScore: boolean;
|
|
150
|
+
choiceMarkingType: number;
|
|
151
|
+
fillBlankMarkingType: number;
|
|
152
|
+
answerQuestionMarkingType: number;
|
|
153
|
+
isLongScoreBar: boolean;
|
|
154
|
+
split: boolean;
|
|
155
|
+
width: number;
|
|
156
|
+
isMaterial: boolean;
|
|
157
|
+
lastModifyTs: number;
|
|
158
|
+
smallTopicType: 'SingleChoice' | 'FillBlank' | 'AnswerQuestion';
|
|
159
|
+
hidden: boolean;
|
|
160
|
+
showTopicLabel: boolean;
|
|
161
|
+
topicLabel: string;
|
|
162
|
+
isAi: boolean;
|
|
163
|
+
smallTopicSplitColumn: number;
|
|
164
|
+
stemOnlyImages?: boolean;
|
|
165
|
+
createBySplit?: boolean;
|
|
166
|
+
showAiTag?: boolean;
|
|
167
|
+
/** 题库唯一ID(从题库导入时保留,用于批改关联) */
|
|
168
|
+
qid?: string;
|
|
169
|
+
/**
|
|
170
|
+
* 以下为扩展字段,确保编辑器内部状态无损序列化/反序列化
|
|
171
|
+
*/
|
|
172
|
+
/** 是否与下一块保持同行/同栏 */
|
|
173
|
+
keepNext?: boolean;
|
|
174
|
+
/** 题目类型(完整保留,非选择题也保存) */
|
|
175
|
+
blockQuestionType?: string;
|
|
176
|
+
/** 完整 metadata JSON 字符串(除已单独保存的字段外) */
|
|
177
|
+
blockMeta?: string;
|
|
178
|
+
/** 题块高度(保留手动拖拽调整后的值) */
|
|
179
|
+
blockHeight?: number;
|
|
180
|
+
}
|
|
181
|
+
export interface QuestionStemNode {
|
|
182
|
+
type: 'question-stem';
|
|
183
|
+
children: (ParagraphNode | AnchorNode)[];
|
|
184
|
+
props: {
|
|
185
|
+
split: boolean;
|
|
186
|
+
anchorOverflow: boolean;
|
|
187
|
+
topicId: string;
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
export interface CorrectionBoxNode {
|
|
191
|
+
type: 'correction-box';
|
|
192
|
+
children: Array<{
|
|
193
|
+
type: 'text';
|
|
194
|
+
text: string;
|
|
195
|
+
props?: Record<string, any>;
|
|
196
|
+
}>;
|
|
197
|
+
props: CorrectionBoxProps;
|
|
198
|
+
}
|
|
199
|
+
export interface OptionNode {
|
|
200
|
+
type: 'option';
|
|
201
|
+
props: {
|
|
202
|
+
autoLayout: boolean;
|
|
203
|
+
topicId: string;
|
|
204
|
+
keepNext: boolean;
|
|
205
|
+
};
|
|
206
|
+
children: OptionItemNode[];
|
|
207
|
+
}
|
|
208
|
+
export interface OptionItemNode {
|
|
209
|
+
type: 'option-item';
|
|
210
|
+
props: {
|
|
211
|
+
labelCoord: {
|
|
212
|
+
val: string;
|
|
213
|
+
};
|
|
214
|
+
label: string;
|
|
215
|
+
oriLabel: string;
|
|
216
|
+
index: number;
|
|
217
|
+
};
|
|
218
|
+
children: (ParagraphNode | AnchorNode)[];
|
|
219
|
+
}
|
|
220
|
+
export interface CorrectionBoxProps {
|
|
221
|
+
rect: {
|
|
222
|
+
height: number;
|
|
223
|
+
width: number;
|
|
224
|
+
};
|
|
225
|
+
transform: {
|
|
226
|
+
top: number;
|
|
227
|
+
left: number;
|
|
228
|
+
};
|
|
229
|
+
score: number;
|
|
230
|
+
keepNext: boolean;
|
|
231
|
+
questionWidth: number;
|
|
232
|
+
correctType: number;
|
|
233
|
+
topicId: string;
|
|
234
|
+
isLongScoreBar: boolean;
|
|
235
|
+
}
|
|
236
|
+
export interface ParagraphNode {
|
|
237
|
+
type: 'paragraph';
|
|
238
|
+
props: ParagraphProps;
|
|
239
|
+
children: InlineNode[];
|
|
240
|
+
}
|
|
241
|
+
export interface ParagraphProps {
|
|
242
|
+
justification?: string;
|
|
243
|
+
split?: boolean;
|
|
244
|
+
spacing: {
|
|
245
|
+
line: number;
|
|
246
|
+
lineRule?: string;
|
|
247
|
+
};
|
|
248
|
+
hidden?: boolean;
|
|
249
|
+
name?: string;
|
|
250
|
+
}
|
|
251
|
+
export type InlineNode = TextNode | LatexNode | MathmlNode | UnderlineNode | QuestionScoreNode | ImageNode | AnchorNode | PageNumberAlignNode | ObjectFillNode | HtabNode;
|
|
252
|
+
export interface TextNode {
|
|
253
|
+
type: 'text';
|
|
254
|
+
text: string;
|
|
255
|
+
props: TextProps;
|
|
256
|
+
}
|
|
257
|
+
export interface TextProps {
|
|
258
|
+
fontSize: number;
|
|
259
|
+
runfonts: {
|
|
260
|
+
ascii?: string;
|
|
261
|
+
eastAsia?: string;
|
|
262
|
+
hint?: string;
|
|
263
|
+
};
|
|
264
|
+
color?: {
|
|
265
|
+
val: string;
|
|
266
|
+
};
|
|
267
|
+
bold?: string;
|
|
268
|
+
italic?: string;
|
|
269
|
+
/** 加点字:文字上方渲染小圆点 */
|
|
270
|
+
dotAbove?: boolean;
|
|
271
|
+
/** 波浪线:文字下方渲染波浪线 */
|
|
272
|
+
wavyLine?: boolean;
|
|
273
|
+
/** 垂直偏移量(正=下移,负=上移),用于上下标 */
|
|
274
|
+
verticalAlign?: number;
|
|
275
|
+
/** 字体名称(CSS font-family 值) */
|
|
276
|
+
fontFamily?: string;
|
|
277
|
+
/** 文本下划线(区别于 UnderlineInline 填空) */
|
|
278
|
+
underline?: boolean;
|
|
279
|
+
/** 文本删除线 */
|
|
280
|
+
strikethrough?: boolean;
|
|
281
|
+
/** 背景色 / 高亮色 */
|
|
282
|
+
backgroundColor?: string;
|
|
283
|
+
}
|
|
284
|
+
export interface LatexNode {
|
|
285
|
+
type: 'latex';
|
|
286
|
+
props: LatexProps;
|
|
287
|
+
value: string;
|
|
288
|
+
children: Array<{
|
|
289
|
+
type: 'text';
|
|
290
|
+
text: string;
|
|
291
|
+
props: Record<string, any>;
|
|
292
|
+
}>;
|
|
293
|
+
}
|
|
294
|
+
export interface LatexProps {
|
|
295
|
+
raw: string;
|
|
296
|
+
fontSize: number;
|
|
297
|
+
}
|
|
298
|
+
export interface MathmlNode {
|
|
299
|
+
type: 'mathml';
|
|
300
|
+
props: MathmlProps;
|
|
301
|
+
value: string;
|
|
302
|
+
children: Array<{
|
|
303
|
+
type: 'text';
|
|
304
|
+
text: string;
|
|
305
|
+
props: Record<string, any>;
|
|
306
|
+
}>;
|
|
307
|
+
}
|
|
308
|
+
export interface MathmlProps {
|
|
309
|
+
raw: string;
|
|
310
|
+
fontSize: number;
|
|
311
|
+
}
|
|
312
|
+
export interface UnderlineNode {
|
|
313
|
+
type: 'underline';
|
|
314
|
+
props: UnderlineProps;
|
|
315
|
+
children: Array<{
|
|
316
|
+
type: 'text';
|
|
317
|
+
text: string;
|
|
318
|
+
props: Record<string, any>;
|
|
319
|
+
}>;
|
|
320
|
+
}
|
|
321
|
+
export interface UnderlineProps {
|
|
322
|
+
fontSize: number;
|
|
323
|
+
topicId: string;
|
|
324
|
+
rect: {
|
|
325
|
+
width: number;
|
|
326
|
+
height: number;
|
|
327
|
+
};
|
|
328
|
+
width: number;
|
|
329
|
+
verticalAlign: number;
|
|
330
|
+
index: number;
|
|
331
|
+
split: boolean;
|
|
332
|
+
minSplitWidth: number;
|
|
333
|
+
minNewLineWidth: number;
|
|
334
|
+
isNoStemMode: boolean;
|
|
335
|
+
showBlankIndex: boolean;
|
|
336
|
+
blankCount: number;
|
|
337
|
+
/** 标准空序号 */
|
|
338
|
+
standardBlankIndex?: number;
|
|
339
|
+
/** 实际序号 */
|
|
340
|
+
realIndex?: number;
|
|
341
|
+
/** 扩展字段:占位文本 */
|
|
342
|
+
placeholder?: string;
|
|
343
|
+
/** 是否为空下划线 */
|
|
344
|
+
isEmpty?: boolean;
|
|
345
|
+
/** 下划线唯一ID(保留选中状态) */
|
|
346
|
+
ulId?: string;
|
|
347
|
+
/** 空白类型:tiankong=填空题, xuanze=选择题, judge=判断题 */
|
|
348
|
+
blankType?: string;
|
|
349
|
+
/** 标准答案 */
|
|
350
|
+
correctAnswer?: string;
|
|
351
|
+
}
|
|
352
|
+
export interface QuestionScoreNode {
|
|
353
|
+
type: 'question-score';
|
|
354
|
+
children: Array<{
|
|
355
|
+
type: 'text';
|
|
356
|
+
text: string;
|
|
357
|
+
props: Record<string, any>;
|
|
358
|
+
}>;
|
|
359
|
+
props: {
|
|
360
|
+
fontSize: number;
|
|
361
|
+
score: number;
|
|
362
|
+
showScore: boolean;
|
|
363
|
+
disableEdit: boolean;
|
|
364
|
+
rect: {
|
|
365
|
+
width: number;
|
|
366
|
+
height: number;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
/** 涂卡区(选择题答题区) */
|
|
371
|
+
export interface ObjectFillNode {
|
|
372
|
+
type: 'object-fill';
|
|
373
|
+
props: {
|
|
374
|
+
rect: {
|
|
375
|
+
width: number;
|
|
376
|
+
height: number;
|
|
377
|
+
};
|
|
378
|
+
answerType?: string;
|
|
379
|
+
index?: number;
|
|
380
|
+
blankCount?: number;
|
|
381
|
+
};
|
|
382
|
+
children?: Array<{
|
|
383
|
+
type: 'text';
|
|
384
|
+
text: string;
|
|
385
|
+
props: Record<string, any>;
|
|
386
|
+
}>;
|
|
387
|
+
}
|
|
388
|
+
/** 水平制表符 */
|
|
389
|
+
export interface HtabNode {
|
|
390
|
+
type: 'htab';
|
|
391
|
+
props: {
|
|
392
|
+
width?: number;
|
|
393
|
+
tabWidth?: number;
|
|
394
|
+
};
|
|
395
|
+
children?: Array<{
|
|
396
|
+
type: 'text';
|
|
397
|
+
text: string;
|
|
398
|
+
props: Record<string, any>;
|
|
399
|
+
}>;
|
|
400
|
+
}
|
|
401
|
+
export interface ImageNode {
|
|
402
|
+
type: 'image';
|
|
403
|
+
props: ImageProps;
|
|
404
|
+
children?: Array<{
|
|
405
|
+
type: 'text';
|
|
406
|
+
text: string;
|
|
407
|
+
props: Record<string, any>;
|
|
408
|
+
}>;
|
|
409
|
+
}
|
|
410
|
+
export interface ImageProps {
|
|
411
|
+
src?: string;
|
|
412
|
+
width?: number;
|
|
413
|
+
height?: number;
|
|
414
|
+
[key: string]: any;
|
|
415
|
+
}
|
|
416
|
+
export interface FooterSection {
|
|
417
|
+
pageIndexRight: FooterBlock;
|
|
418
|
+
pageIndexLeft: FooterBlock;
|
|
419
|
+
}
|
|
420
|
+
export interface FooterBlock {
|
|
421
|
+
type: 'footer';
|
|
422
|
+
children: (AnchorNode | ParagraphNode)[];
|
|
423
|
+
}
|
|
424
|
+
export interface AnchorNode {
|
|
425
|
+
type: 'anchor';
|
|
426
|
+
props: {
|
|
427
|
+
transform: {
|
|
428
|
+
top: number;
|
|
429
|
+
left: number;
|
|
430
|
+
};
|
|
431
|
+
name: string;
|
|
432
|
+
/** 图片环绕模式 */
|
|
433
|
+
wrapMode?: 'none' | 'text-wrap';
|
|
434
|
+
/** 图片水平对齐方向 */
|
|
435
|
+
anchorAlign?: 'left' | 'right';
|
|
436
|
+
};
|
|
437
|
+
children: any[];
|
|
438
|
+
}
|
|
439
|
+
export interface PageNumberAlignNode {
|
|
440
|
+
type: 'pagenumber-align';
|
|
441
|
+
props: {
|
|
442
|
+
justification: string;
|
|
443
|
+
initialPageNum: number;
|
|
444
|
+
isShowTotalNumber: boolean;
|
|
445
|
+
};
|
|
446
|
+
children: Array<{
|
|
447
|
+
type: 'text';
|
|
448
|
+
text: string;
|
|
449
|
+
props: Record<string, any>;
|
|
450
|
+
}>;
|
|
451
|
+
}
|
|
452
|
+
export interface Theme {
|
|
453
|
+
clrScheme: ColorScheme;
|
|
454
|
+
fmtScheme: FormatScheme;
|
|
455
|
+
fontScheme: FontScheme;
|
|
456
|
+
}
|
|
457
|
+
export interface ColorScheme {
|
|
458
|
+
accent1: string;
|
|
459
|
+
accent2: string;
|
|
460
|
+
accent3: string;
|
|
461
|
+
accent4: string;
|
|
462
|
+
accent5: string;
|
|
463
|
+
accent6: string;
|
|
464
|
+
dk1: string;
|
|
465
|
+
dk2: string;
|
|
466
|
+
folHlink: string;
|
|
467
|
+
hlink: string;
|
|
468
|
+
lt1: string;
|
|
469
|
+
lt2: string;
|
|
470
|
+
}
|
|
471
|
+
export interface FormatScheme {
|
|
472
|
+
bgFillStyleList: any[];
|
|
473
|
+
effectStyleList: any[];
|
|
474
|
+
fillStyleList: any[];
|
|
475
|
+
outlineStyleList: any[];
|
|
476
|
+
}
|
|
477
|
+
export interface FontScheme {
|
|
478
|
+
majorFont: FontDef;
|
|
479
|
+
minorFont: FontDef;
|
|
480
|
+
}
|
|
481
|
+
export interface FontDef {
|
|
482
|
+
cs: string;
|
|
483
|
+
ea: string;
|
|
484
|
+
font: Array<{
|
|
485
|
+
script: string;
|
|
486
|
+
typeface: string;
|
|
487
|
+
}>;
|
|
488
|
+
latin: string;
|
|
489
|
+
}
|
|
490
|
+
export interface Styles {
|
|
491
|
+
docDefaults: {
|
|
492
|
+
textPropsDefault: {
|
|
493
|
+
runfonts: {
|
|
494
|
+
hint: string;
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
}
|