From 51728f96f7b53a8c78fe5225c03a6079ccf4328c Mon Sep 17 00:00:00 2001 From: Doxa Maps Date: Mon, 28 Sep 2026 05:57:06 +0000 Subject: [PATCH] Update from source f7dbac373 --- internal/check-poster-action-print.mjs | 7 +- .../components/legends/SemanticTreeLegend.vue | 4 +- library/components/poster/PosterDialog.vue | 20 +- library/i18n/locales/ar/legend.json | 3 +- library/i18n/locales/de/legend.json | 3 +- library/i18n/locales/en/legend.json | 3 +- library/i18n/locales/es/legend.json | 3 +- library/i18n/locales/fr/legend.json | 3 +- library/i18n/locales/hi/legend.json | 3 +- library/i18n/locales/it/legend.json | 3 +- library/i18n/locales/pt/legend.json | 3 +- library/i18n/locales/ro/legend.json | 3 +- library/i18n/locales/ru/legend.json | 3 +- library/i18n/locales/zh/legend.json | 3 +- library/maps/localize-labels.js | 26 +- .../doxa-research-map/research-map.vue | 105 ++++-- .../my-upg-100-list/upg-100-list.vue | 32 +- .../plugin-studio/plugin-studio.vue | 7 +- .../all-people-groups/all-people-groups.js | 2 +- .../all-people-groups/index.html | 2 +- .../cities-internet/cities-internet.js | 30 +- .../connectivity-list/index.html | 2 +- .../connectivity-map/index.html | 2 +- .../cities-internet/data-tables/index.html | 2 +- .../country-posters/countries-map/index.html | 2 +- .../country-poster-wall/index.html | 2 +- .../country-posters-mfe/index.html | 2 +- .../country-posters/country-posters.js | 260 ++++++------- .../dashboard-plus-grid.js | 4 +- .../dashboard-plus-grid/default/index.html | 2 +- .../dashboard-plus-grid/index.html | 2 +- public/dx-maps/demo-map/demo-map.js | 2 +- public/dx-maps/demo-map/demo-map/index.html | 2 +- .../demo-map/demo-map/maplibre/index.html | 2 +- public/dx-maps/doxa-maps-spa/manifest.json | 88 ++--- .../doxa-research-map/doxa-research-map.js | 352 +++++++++++++++--- .../doxa-research-map/research-map/index.html | 2 +- .../research-map/maplibre/index.html | 2 +- .../doxa-simple-map/doxa-simple-map.js | 32 +- .../doxa-simple-map/adoption/index.html | 2 +- .../doxa-simple-map/engagement/index.html | 2 +- .../doxa-simple-map/index.html | 2 +- .../doxa-simple-map/prayer/index.html | 2 +- .../gospel-internet/board/board/index.html | 2 +- .../dx-maps/gospel-internet/board/index.html | 2 +- .../board/india-china/index.html | 2 +- .../board/language-tree/index.html | 2 +- .../board/platforms/index.html | 2 +- .../board/project-700/index.html | 2 +- .../gospel-internet/board/zero/index.html | 2 +- .../gospel-internet/gospel-internet.js | 4 +- .../gospel-resources/charts/index.html | 2 +- .../gospel-resources/data-tables/index.html | 2 +- .../gospel-dashboard/index.html | 2 +- .../gospel-resources/gospel-resources.js | 2 +- .../resources-list/index.html | 2 +- .../gospel-resources/resources-map/index.html | 2 +- public/dx-maps/index.html | 2 +- public/dx-maps/manifest.json | 88 ++--- .../my-upg-100-list/my-upg-100-list.js | 222 +++++------ .../my-upg-100-list/poster-wall/index.html | 2 +- .../my-upg-100-list/upg-100-list/index.html | 2 +- .../my-upg-100-list/upg-100-mfe/index.html | 2 +- public/dx-maps/plugin-studio/plugin-studio.js | 14 +- .../plugin-studio/plugin-studio/index.html | 2 +- .../plugin-studio/studio/index.html | 2 +- .../dx-maps/pplr-data-maps/pplr-data-maps.js | 32 +- .../pplr-data-maps/pplr-data-maps/index.html | 2 +- .../prayer-walk-planner.js | 2 +- .../prayer-walk-planner/index.html | 2 +- .../region-dashboards/index.html | 2 +- .../regions-dashboard/regions-dashboard.js | 2 +- .../regions-dashboard/regions-list/index.html | 2 +- .../regions-dashboard/regions-mfe/index.html | 2 +- .../research-dashboard/research-dashboard.js | 4 +- .../research-dashboard/index.html | 2 +- .../template-bundle/template-bundle.js | 2 +- public/dx-maps/upg-neighbor/upg-neighbor.js | 2 +- .../upg-neighbor/bloom-cockpit/index.html | 2 +- .../upg-neighbor/flower-mesh/index.html | 2 +- .../upg-neighbor/upg-neighbor/index.html | 2 +- .../upg-neighbor/lang-cluster/index.html | 2 +- .../upg-neighbor/send-map/index.html | 2 +- .../upg-neighbor/upg-neighbors/index.html | 2 +- vite.config.js | 7 +- 85 files changed, 923 insertions(+), 556 deletions(-) diff --git a/internal/check-poster-action-print.mjs b/internal/check-poster-action-print.mjs index 36ca3363..070ded01 100644 --- a/internal/check-poster-action-print.mjs +++ b/internal/check-poster-action-print.mjs @@ -18,6 +18,9 @@ const fail = (m) => { bad++; console.log(' FAIL ' + m) } const wall = readFileSync(join(ROOT, 'library/components/poster/PosterWall.vue'), 'utf8') if (!/posterAction:\s*\{\s*type:\s*String,\s*default:\s*'print'\s*\}/.test(wall)) fail("PosterWall's posterAction default is not 'print'") +// PosterDialog too (gospel's audit, card 7): its Render button only ever downloaded. +const dialog = readFileSync(join(ROOT, 'library/components/poster/PosterDialog.vue'), 'utf8') +if (!/action:\s*\{\s*type:\s*String,\s*default:\s*'print'\s*\}/.test(dialog)) fail("PosterDialog's action default is not 'print'") const walk = (d, out = []) => { for (const n of readdirSync(d)) { @@ -28,10 +31,10 @@ const walk = (d, out = []) => { } return out } -const USE = /posterAction\s*[=:]\s*["']download["']|:poster-action\s*=\s*["']'download'["']|poster-action\s*=\s*["']download["']/ +const USE = /(?:posterAction|]*\baction)\s*[=:]\s*["']download["']|:poster-action\s*=\s*["']'download'["']|poster-action\s*=\s*["']download["']/ let optIns = 0 for (const f of [...walk(join(ROOT, 'plugin-designs')), ...walk(join(ROOT, 'library'))]) { - if (f.endsWith('PosterWall.vue')) continue + if (f.endsWith('PosterWall.vue') || f.endsWith('PosterDialog.vue')) continue const lines = readFileSync(f, 'utf8').split('\n') lines.forEach((l, i) => { if (!USE.test(l)) return diff --git a/library/components/legends/SemanticTreeLegend.vue b/library/components/legends/SemanticTreeLegend.vue index 8d8f1df5..823d617b 100644 --- a/library/components/legends/SemanticTreeLegend.vue +++ b/library/components/legends/SemanticTreeLegend.vue @@ -1188,8 +1188,8 @@ useShadowStyles(` family/group. Keyboard-focusable button with aria-label; Enter/ Space activate natively. -->