A public preview plugin for the whole-India poster: every India people group on one printable sheet, generated live from the current data (nothing stored) and shown as its printable sheets with the glue strips. Each poster carries the blessing — header "Bless India in Jesus' name" and the Aaronic blessing (Numbers 6:24-26), switchable. Generates with the plugin's own copy of the renderer; shows the sheets via the shared PanelSheets and prints as a document at true size. Public and experimental; a phone sees the preview but Print is blocked (desktop only) until a design is proven phone-safe. Registers the blessIndia poster type for the catalogue; label translated in 11 locales. Replaces the earlier India Posters review draft (not landed). Element <bless-india-posters>.
22 lines
1 KiB
JavaScript
22 lines
1 KiB
JavaScript
/**
|
|
* bless-india-posters / index.js — registers <bless-india-posters> (public, experimental).
|
|
*
|
|
* Shows our whole-India poster attempts, generated live (no stored rasters). The attempts ship in the
|
|
* PUBLIC build for this plugin (the whole-country poster on Country Posters stays withheld; India
|
|
* tab is not shipped). Also registers the 'blessIndia' poster type so the standard poster section and the
|
|
* Poster Design catalogue can list + offer the same designs.
|
|
*/
|
|
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'
|
|
|
|
registerPosterType('blessIndia', blessIndiaType)
|
|
|
|
const BlessIndiaPostersElement = defineCustomElement(BlessIndiaPosters)
|
|
|
|
if (typeof customElements !== 'undefined' && !customElements.get('bless-india-posters')) {
|
|
customElements.define('bless-india-posters', BlessIndiaPostersElement)
|
|
}
|
|
|
|
export default BlessIndiaPostersElement
|