Repository navigation
Expand file tree
/
Copy pathindex.ts
More file actions
128 lines (127 loc) · 2.57 KB
/
Copy pathindex.ts
File metadata and controls
128 lines (127 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
export * from './designs';
export { getItemProps, getThemeColors } from './designs/utils';
export {
BatchCommand,
UpdateElementCommand,
UpdateOptionsCommand,
UpdateTextCommand,
} from './editor/commands';
export {
BrushSelect,
ClickSelect,
DblClickEditText,
DragCanvas,
DragElement,
HotkeyHistory,
Interaction,
SelectHighlight,
ZoomWheel,
} from './editor/interactions';
export { EditBar, Plugin, ResetViewBox, ResizeElement } from './editor/plugins';
export { exportToSVG } from './exporter';
export {
Defs,
Ellipse,
Fragment,
Group,
Path,
Polygon,
Rect,
Text,
cloneElement,
createFragment,
createLayout,
getCombinedBounds,
getElementBounds,
getElementsBounds,
jsx,
jsxDEV,
jsxs,
renderSVG,
} from './jsx';
export {
getFont,
getFonts,
getPalette,
getPaletteColor,
getPalettes,
registerFont,
registerPalette,
registerPattern,
setDefaultFont,
} from './renderer';
export { loadSVGResource, registerResourceLoader } from './resource';
export { Infographic } from './runtime';
export { parseSyntax } from './syntax';
export { getTemplate, getTemplates, registerTemplate } from './templates';
export { getTheme, getThemes, registerTheme } from './themes';
export { parseSVG, setFontExtendFactor } from './utils';
export { VERSION } from './version';
export type {
EditBarOptions,
ICommand,
ICommandManager,
IEditor,
IInteraction,
IInteractionManager,
IPlugin,
IPluginManager,
IStateManager,
ISyncRegistry,
InteractionInitOptions,
KeyCode,
PluginInitOptions,
SelectMode,
Selection,
SyncHandler,
} from './editor';
export type {
ExportOptions,
PNGExportOptions,
SVGExportOptions,
} from './exporter';
export type {
Bounds,
ComponentType,
DefsProps,
EllipseProps,
FragmentProps,
GroupProps,
JSXElement,
JSXElementConstructor,
JSXNode,
PathProps,
Point,
PolygonProps,
RectProps,
RenderableNode,
SVGAttributes,
SVGProps,
TextProps,
WithChildren,
} from './jsx';
export type { InfographicOptions, ParsedInfographicOptions } from './options';
export type {
GradientConfig,
IRenderer,
LinearGradient,
Palette,
PatternConfig,
PatternGenerator,
PatternStyle,
RadialGradient,
RoughConfig,
StylizeConfig,
} from './renderer';
export type { SyntaxError, SyntaxParseResult } from './syntax';
export type { ParsedTemplateOptions, TemplateOptions } from './templates';
export type { ThemeColors, ThemeConfig, ThemeSeed } from './themes';
export type {
Data,
Font,
FontWeightName,
ImageResource,
ItemDatum,
TextHorizontalAlign,
TextVerticalAlign,
} from './types';