Bless India C5b: register indiaState type + poster-section element (prep)

Wires the 36-state section's dependencies (the shared indiaState library type
+ <dxm-poster-section>) so the bundle can host the section. View embed is the
next prep step. Source-only; parked.
This commit is contained in:
Doxa Maps 2026-10-03 06:14:53 +00:00
parent c39a6b88ee
commit 508fc752d4

View file

@ -10,8 +10,15 @@ import { defineCustomElement } from 'vue'
import BlessIndiaPosters from './bless-india-posters.vue'
import { registerPosterType } from '@map/components/poster/posterTypes.js'
import blessIndiaType from './src/blessIndiaPosterType.js'
import indiaStateType from '@map/components/poster/types/indiaStatePosterType.js'
import { registerPosterSectionElement } from '@map/elements/posterSectionElement.js'
registerPosterType('blessIndia', blessIndiaType)
// The 36-state section under the big poster embeds <dxm-poster-section type="indiaState"> — the SHARED
// library type (country-posters owns it; the whole-India card is NOT in it, it stays withheld). Register
// the type + define the section element here so this bundle can host the section on its own leaf too.
registerPosterType('indiaState', indiaStateType)
registerPosterSectionElement()
const BlessIndiaPostersElement = defineCustomElement(BlessIndiaPosters)