41 lines
1.9 KiB
JavaScript
41 lines
1.9 KiB
JavaScript
/**
|
|
* @map — public surface re-exports.
|
|
*
|
|
* Convention: bundles import from this barrel for the most-used pieces, OR
|
|
* subpath-import from '@map/components/X.vue' / '/composables/Y.js'
|
|
* etc. for surgical imports that tree-shake more cleanly.
|
|
*
|
|
* Add re-exports as `map-core` grows during migration. Keep this file thin —
|
|
* a fat barrel kills tree-shaking. Subpath imports are preferred.
|
|
*/
|
|
|
|
// Components — populated during migration-001+
|
|
// export { default as SemanticTreeLegend } from './components/legends/SemanticTreeLegend.vue'
|
|
// export { default as PeopleGroupDetail } from './components/PeopleGroupDetail.vue'
|
|
|
|
// Composables — populated during migration-001+
|
|
// export { useMapData } from './composables/useMapData.js'
|
|
// export { useMapLayers } from './composables/useMapLayers.js'
|
|
// export { useEntitySearch } from './composables/useSearch.js'
|
|
|
|
// Colors — the old monolith shims (colorStrategies.js / colors.js /
|
|
// prayerColors.js) are retired (removed from the library). Import the
|
|
// real modules directly: './colors/_registry.js' (COLOR_MODES,
|
|
// getColorStrategy, buildColorExpression), './colors/language-family.js',
|
|
// './colors/engagement.js', './colors/adoption.js', './colors/prayer-progress.js'.
|
|
// export * from './colors/_registry.js'
|
|
|
|
// Utils — populated during migration-001+
|
|
// export { default as DataSourceManager } from './utils/DataSourceManager.js'
|
|
|
|
// Stores — Pinia stores live at './stores/<name>.js' and are intentionally NOT
|
|
// re-exported here. Bundle entries should subpath-import them as
|
|
// `@map/stores/dataStore.js` (or mapStore / uiStore) for tree-shaking
|
|
// reasons. Keeping this barrel thin avoids pulling pinia into bundles that
|
|
// don't need it.
|
|
|
|
// Data lookup tables — JSON in './data/' (e.g. langFamilyByLanguage.json) —
|
|
// subpath-import as `@map/data/langFamilyByLanguage.json`. Not
|
|
// re-exported (would force JSON into the barrel chunk).
|
|
|
|
export const MAP_CORE_VERSION = '0.1.0'
|