update at 2026-01-22 18:43:01
This commit is contained in:
21
src/index.ts
21
src/index.ts
@@ -5,6 +5,17 @@
|
||||
// 类型导出
|
||||
export type {
|
||||
Example,
|
||||
LuopanConfig,
|
||||
ThemeConfig,
|
||||
CenterIconConfig,
|
||||
DegreeRingConfig,
|
||||
DegreeRingData,
|
||||
DegreeLabel,
|
||||
CenterIconData,
|
||||
LayerConfig,
|
||||
SectorConfig,
|
||||
TextUnit,
|
||||
TickMark,
|
||||
Sector,
|
||||
PolarPoint,
|
||||
AnnularSectorParams,
|
||||
@@ -32,3 +43,13 @@ export type { UseLuopanReturn } from './composables/useLuopan';
|
||||
|
||||
// 常量导出
|
||||
export { EXAMPLES, DEFAULT_SIZE, SECTOR_INSET_DISTANCE } from './constants';
|
||||
|
||||
// 配置解析导出
|
||||
export { parseConfig, stripJsonComments } from './configParser';
|
||||
|
||||
// 解析工具导出
|
||||
export { ColorResolver, applyPatternColoring } from './colorResolver';
|
||||
export { splitMultiTextUnits } from './multiTextParser';
|
||||
export { SectorBuilder } from './sectorBuilder';
|
||||
export { buildDegreeRing } from './degreeRing';
|
||||
export { loadCenterIcon } from './centerIcon';
|
||||
|
||||
Reference in New Issue
Block a user