@brandlab-digital/site-core 3.5.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +96 -0
- package/dist/area-map-data.json +1 -0
- package/dist/area-map-encode.d.ts +94 -0
- package/dist/area-map-encode.d.ts.map +1 -0
- package/dist/area-map-encode.js +428 -0
- package/dist/area-map-encode.js.map +1 -0
- package/dist/area-map.d.ts +282 -0
- package/dist/area-map.d.ts.map +1 -0
- package/dist/area-map.js +1074 -0
- package/dist/area-map.js.map +1 -0
- package/dist/google-business-reviews.d.ts +38 -2
- package/dist/google-business-reviews.d.ts.map +1 -1
- package/dist/google-business-reviews.js +85 -4
- package/dist/google-business-reviews.js.map +1 -1
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +3 -0
- package/dist/project.js.map +1 -1
- package/package.json +11 -1
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service-area maps (Brandlab 3.6.0): shared boundary data and the map engine.
|
|
3
|
+
* Behaviour only, never appearance: this module turns the registry's NSW suburb
|
|
4
|
+
* boundaries (and a site's own towns) into plain, serialisable map models of SVG
|
|
5
|
+
* path strings, a viewBox, label points, link targets and a state per shape. Each
|
|
6
|
+
* site draws the models in its own style.
|
|
7
|
+
*
|
|
8
|
+
* Three models, one per page type:
|
|
9
|
+
*
|
|
10
|
+
* - `overviewMap`: the home page's "where we work" and the locations hub. Served
|
|
11
|
+
* regions highlighted, others muted, the base marked, region label points.
|
|
12
|
+
* - `regionMap`: one region's suburbs. Indexed suburbs are linked, served suburbs
|
|
13
|
+
* without an indexable page are served but unlinked, the rest muted; job points.
|
|
14
|
+
* - `suburbLocator`: a suburb or town, its distance-ranked nearest neighbours and
|
|
15
|
+
* nearby jobs. Undefined when there are no neighbours or jobs to show.
|
|
16
|
+
*
|
|
17
|
+
* Every model splits into a static base layer (land, the focus area, served
|
|
18
|
+
* shapes and outlines), which a site serves once as a cached SVG file
|
|
19
|
+
* (`renderAreaMapBaseSvg`) and references with `<use>`, and a small inline
|
|
20
|
+
* overlay of linked shapes, labels and markers. Only indexable pages are ever
|
|
21
|
+
* linked: link state comes from the site's estate and indexing decisions.
|
|
22
|
+
*
|
|
23
|
+
* Server data: like `site-core/geography`, this entry refuses browser bundles.
|
|
24
|
+
* Build the models on the server and pass plain values to components.
|
|
25
|
+
*/
|
|
26
|
+
import { type AreaMapBoundaryDocument, type AreaMapRings } from './area-map-encode.js';
|
|
27
|
+
import type { BrandlabLocationEstate, BrandlabLocationRouteDecision, GeographyRegistry, SuburbCentre } from './locations.js';
|
|
28
|
+
export type { AreaMapArcRing, AreaMapBoundaryDocument, AreaMapLonLat, AreaMapRings } from './area-map-encode.js';
|
|
29
|
+
/**
|
|
30
|
+
* The registry boundary document: NSW Spatial Services suburb boundaries for the
|
|
31
|
+
* Sydney and Central Coast registries, simplified, with regions, sub-regions,
|
|
32
|
+
* councils and land (standards/registry/nsw-area-map-boundaries.json).
|
|
33
|
+
*/
|
|
34
|
+
export declare const areaMapBoundaries: AreaMapBoundaryDocument;
|
|
35
|
+
/** The credit every map drawn from the shared boundaries shows, in its caption (CC BY 4.0 requires it). */
|
|
36
|
+
export declare const AREA_MAP_ATTRIBUTION: string;
|
|
37
|
+
/** A registry suburb's or locality's boundary (legacy slugs resolve), as longitude, latitude rings. */
|
|
38
|
+
export declare function suburbOutline(slug: string): AreaMapRings | undefined;
|
|
39
|
+
/** A registry region's or sub-region's outline: its localities dissolved into one shape. */
|
|
40
|
+
export declare function regionOutline(slug: string): AreaMapRings | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* A council's outline as the registry assigns localities to it (each locality's
|
|
43
|
+
* primary council), dissolved. Only the localities in the registries count, so a
|
|
44
|
+
* council that extends beyond Sydney and the Central Coast is drawn in part.
|
|
45
|
+
*/
|
|
46
|
+
export declare function councilOutline(slug: string): AreaMapRings | undefined;
|
|
47
|
+
/** All land the shared boundaries cover: the registries and the land around them. Water is everything else. */
|
|
48
|
+
export declare function landOutline(): AreaMapRings;
|
|
49
|
+
/** A site-owned place's boundary from the site's document (`brandlab-area-map places`). */
|
|
50
|
+
export declare function placeOutline(document: AreaMapBoundaryDocument, slug: string): AreaMapRings | undefined;
|
|
51
|
+
/** Why a boundary document cannot be read: its kind, transform, arcs, shapes and credit. Empty when it is sound. */
|
|
52
|
+
export declare function areaMapBoundaryProblems(document: AreaMapBoundaryDocument): string[];
|
|
53
|
+
/** A longitude, latitude box in GDA2020 degrees. */
|
|
54
|
+
export interface AreaMapBounds {
|
|
55
|
+
west: number;
|
|
56
|
+
south: number;
|
|
57
|
+
east: number;
|
|
58
|
+
north: number;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A map's frame in map units and its projection: latitude-corrected
|
|
62
|
+
* equirectangular, x = (longitude - west) × cos × scale, y = (north - latitude) × scale.
|
|
63
|
+
*/
|
|
64
|
+
export interface AreaMapFrame {
|
|
65
|
+
width: number;
|
|
66
|
+
height: number;
|
|
67
|
+
west: number;
|
|
68
|
+
north: number;
|
|
69
|
+
cos: number;
|
|
70
|
+
scale: number;
|
|
71
|
+
}
|
|
72
|
+
/** The box around rings and centres; undefined when there is nothing to measure. */
|
|
73
|
+
export declare function areaMapBounds(items: readonly (AreaMapRings | SuburbCentre)[]): AreaMapBounds | undefined;
|
|
74
|
+
export interface FitAreaMapFrameOptions {
|
|
75
|
+
/** Map units across (default 1000). */
|
|
76
|
+
width?: number;
|
|
77
|
+
/** Margin on every side as a share of the larger span (default 0.08). */
|
|
78
|
+
padding?: number;
|
|
79
|
+
/** Height over width; the frame grows in one direction to match it. */
|
|
80
|
+
aspect?: number;
|
|
81
|
+
/** The smallest span either way, in kilometres (default none), so a small suburb is not drawn edge to edge. */
|
|
82
|
+
minSpanKm?: number;
|
|
83
|
+
}
|
|
84
|
+
/** The frame that fits a box: centred, padded, optionally at a set aspect, with a whole-number width and height. */
|
|
85
|
+
export declare function fitAreaMapFrame(bounds: AreaMapBounds, options?: FitAreaMapFrameOptions): AreaMapFrame;
|
|
86
|
+
/** A point's position in a frame, in map units (one decimal place). */
|
|
87
|
+
export declare function projectAreaMapPoint(frame: AreaMapFrame, centre: SuburbCentre): {
|
|
88
|
+
x: number;
|
|
89
|
+
y: number;
|
|
90
|
+
};
|
|
91
|
+
/** How finely paths are drawn: Douglas-Peucker tolerance and decimal places, in map units. */
|
|
92
|
+
export interface AreaMapPathOptions {
|
|
93
|
+
/** Default 0.6 map units. */
|
|
94
|
+
tolerance?: number;
|
|
95
|
+
/** Default 0 (whole numbers). */
|
|
96
|
+
precision?: number;
|
|
97
|
+
}
|
|
98
|
+
/** Draws longitude, latitude rings in a frame as one SVG path (even-odd fill), simplified and clipped to it. */
|
|
99
|
+
export declare function areaMapPath(frame: AreaMapFrame, rings: AreaMapRings, options?: AreaMapPathOptions): string;
|
|
100
|
+
/** A label position inside a shape: x, y in map units and `room`, its distance to the nearest edge. */
|
|
101
|
+
export interface AreaMapLabelPoint {
|
|
102
|
+
x: number;
|
|
103
|
+
y: number;
|
|
104
|
+
room: number;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* The pole of inaccessibility of even-odd rings: the inside point farthest from
|
|
108
|
+
* every edge (a grid search refined to `precision` map units), so a label sits
|
|
109
|
+
* inside even a crescent or a coastal shape, where a centroid can fall outside.
|
|
110
|
+
*/
|
|
111
|
+
export declare function areaMapLabelPoint(rings: readonly (readonly (readonly [number, number])[])[], precision?: number): AreaMapLabelPoint | undefined;
|
|
112
|
+
/** A town the site owns outside the registry: its slug, name and a point inside it (src/data/locations/siteOwnedPlaces.ts). */
|
|
113
|
+
export interface AreaMapSiteOwnedPlace {
|
|
114
|
+
slug: string;
|
|
115
|
+
name: string;
|
|
116
|
+
centre: SuburbCentre;
|
|
117
|
+
}
|
|
118
|
+
export interface AreaMapSiteInput {
|
|
119
|
+
/** The registry the estate is declared over (sydneyGeography or centralCoastGeography). */
|
|
120
|
+
registry: GeographyRegistry;
|
|
121
|
+
/** The published places (defineLocationEstate). */
|
|
122
|
+
estate: BrandlabLocationEstate;
|
|
123
|
+
/** Each published page's indexing decision: only `index` pages are ever linked. */
|
|
124
|
+
decisions: Readonly<Record<string, Pick<BrandlabLocationRouteDecision, 'indexing'>>>;
|
|
125
|
+
/** A place's page path. */
|
|
126
|
+
href: (slug: string) => string;
|
|
127
|
+
/** Towns outside the registry, published or with jobs only. */
|
|
128
|
+
siteOwnedPlaces?: readonly AreaMapSiteOwnedPlace[];
|
|
129
|
+
/** Their boundaries, written by `brandlab-area-map places` (needed for every published town). */
|
|
130
|
+
siteOwnedBoundaries?: AreaMapBoundaryDocument;
|
|
131
|
+
}
|
|
132
|
+
export type AreaMapPlaceKind = 'region' | 'subRegion' | 'suburb' | 'town';
|
|
133
|
+
/** How a shape is drawn: `linked` (an indexable page), `served` (served, no indexable page), `muted` (not served), `focus` (this page). */
|
|
134
|
+
export type AreaMapShapeState = 'linked' | 'served' | 'muted' | 'focus';
|
|
135
|
+
interface ShapeRef {
|
|
136
|
+
document: AreaMapBoundaryDocument;
|
|
137
|
+
key: string;
|
|
138
|
+
}
|
|
139
|
+
interface ResolvedPlace {
|
|
140
|
+
slug: string;
|
|
141
|
+
name: string;
|
|
142
|
+
kind: AreaMapPlaceKind;
|
|
143
|
+
shape?: ShapeRef;
|
|
144
|
+
centre?: SuburbCentre;
|
|
145
|
+
}
|
|
146
|
+
/** A site's places and their states, ready for the three map models. Build it once with `defineAreaMapSite`. */
|
|
147
|
+
export interface AreaMapSite {
|
|
148
|
+
readonly input: AreaMapSiteInput;
|
|
149
|
+
/** A place by its published or registry slug (also unpublished registry localities and site-owned towns). */
|
|
150
|
+
place(slug: string): ResolvedPlace | undefined;
|
|
151
|
+
/** `linked` only for a published page whose decision is `index`; `served` for any other published page; else `muted`. */
|
|
152
|
+
stateOf(slug: string): 'linked' | 'served' | 'muted';
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Binds a site's estate, indexing decisions, paths and site-owned towns for the
|
|
156
|
+
* map models. Throws when a published place has no boundary (a site-owned town
|
|
157
|
+
* needs `brandlab-area-map places`), so a missing shape never ships silently.
|
|
158
|
+
*/
|
|
159
|
+
export declare function defineAreaMapSite(input: AreaMapSiteInput): AreaMapSite;
|
|
160
|
+
/** An inline overlay shape: a linked place, its page and its path. */
|
|
161
|
+
export interface AreaMapShape {
|
|
162
|
+
key: string;
|
|
163
|
+
slug: string;
|
|
164
|
+
name: string;
|
|
165
|
+
kind: AreaMapPlaceKind;
|
|
166
|
+
state: 'linked';
|
|
167
|
+
href: string;
|
|
168
|
+
d: string;
|
|
169
|
+
}
|
|
170
|
+
/** A label point for a shape on the map, with its state; the site decides which names to draw. */
|
|
171
|
+
export interface AreaMapLabel extends AreaMapLabelPoint {
|
|
172
|
+
key: string;
|
|
173
|
+
slug: string;
|
|
174
|
+
name: string;
|
|
175
|
+
kind: AreaMapPlaceKind;
|
|
176
|
+
state: AreaMapShapeState;
|
|
177
|
+
}
|
|
178
|
+
/** A point on the map: the base, or the places of real jobs (one marker per place, with its job count). */
|
|
179
|
+
export interface AreaMapMarker {
|
|
180
|
+
kind: 'base' | 'job';
|
|
181
|
+
slug: string;
|
|
182
|
+
name: string;
|
|
183
|
+
x: number;
|
|
184
|
+
y: number;
|
|
185
|
+
count: number;
|
|
186
|
+
}
|
|
187
|
+
/** A sub-rectangle of the frame, in map units: the phone crop. */
|
|
188
|
+
export interface AreaMapCrop {
|
|
189
|
+
x: number;
|
|
190
|
+
y: number;
|
|
191
|
+
width: number;
|
|
192
|
+
height: number;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* The static base layer as shape keys; `renderAreaMapBaseSvg` draws it. Land is
|
|
196
|
+
* always drawn; `focus` is this page's area, `served` the served shapes without
|
|
197
|
+
* an indexable page, `outline` the shapes whose borders are drawn.
|
|
198
|
+
*/
|
|
199
|
+
export interface AreaMapLayers {
|
|
200
|
+
focus: readonly string[];
|
|
201
|
+
served: readonly string[];
|
|
202
|
+
outline: readonly string[];
|
|
203
|
+
}
|
|
204
|
+
export interface AreaMapModel {
|
|
205
|
+
kind: 'overview' | 'region' | 'suburb';
|
|
206
|
+
/** The base layer file's name: `overview`, `region-<slug>` or `suburb-<slug>`. */
|
|
207
|
+
id: string;
|
|
208
|
+
width: number;
|
|
209
|
+
height: number;
|
|
210
|
+
viewBox: string;
|
|
211
|
+
frame: AreaMapFrame;
|
|
212
|
+
/** The inline overlay: linked shapes only, in the order given (a locator's nearest first). */
|
|
213
|
+
shapes: readonly AreaMapShape[];
|
|
214
|
+
labels: readonly AreaMapLabel[];
|
|
215
|
+
markers: readonly AreaMapMarker[];
|
|
216
|
+
/** A tighter crop around the served area for narrow screens. */
|
|
217
|
+
crop: AreaMapCrop;
|
|
218
|
+
layers: AreaMapLayers;
|
|
219
|
+
attribution: string;
|
|
220
|
+
}
|
|
221
|
+
export interface AreaMapOptions {
|
|
222
|
+
/** Map units across (default 1000; a locator 800). */
|
|
223
|
+
width?: number;
|
|
224
|
+
/** Margin around the fitted shapes as a share of the larger span. */
|
|
225
|
+
padding?: number;
|
|
226
|
+
/** The phone crop's height over width (default 1.15). */
|
|
227
|
+
phoneAspect?: number;
|
|
228
|
+
/** The base's place slug, marked when it falls inside the frame. */
|
|
229
|
+
base?: string;
|
|
230
|
+
/** Places of real jobs (repeat a place for each job), marked when they fall inside the frame. */
|
|
231
|
+
jobs?: readonly string[];
|
|
232
|
+
/** Path drawing options. */
|
|
233
|
+
path?: AreaMapPathOptions;
|
|
234
|
+
}
|
|
235
|
+
export interface OverviewMapOptions extends AreaMapOptions {
|
|
236
|
+
/**
|
|
237
|
+
* What the frame fits: the served registry regions (`registry`, the default
|
|
238
|
+
* when there are any), the published site-owned towns (`site-owned`), or both.
|
|
239
|
+
*/
|
|
240
|
+
fit?: 'registry' | 'site-owned' | 'all';
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* The home page's and locations hub's map: every region in the frame outlined,
|
|
244
|
+
* served regions highlighted (linked when the region page is indexable), the
|
|
245
|
+
* others muted, published towns, the base and job places marked, and a label
|
|
246
|
+
* point for each region and town.
|
|
247
|
+
*/
|
|
248
|
+
export declare function overviewMap(site: AreaMapSite, options?: OverviewMapOptions): AreaMapModel;
|
|
249
|
+
/**
|
|
250
|
+
* A region page's map: the region's localities, indexed suburbs linked (their
|
|
251
|
+
* pages), served suburbs without an indexable page served but unlinked, the rest
|
|
252
|
+
* muted; neighbouring regions outlined for context; job places and the base
|
|
253
|
+
* marked; a label point for every locality in the region.
|
|
254
|
+
*/
|
|
255
|
+
export declare function regionMap(site: AreaMapSite, regionSlug: string, options?: AreaMapOptions): AreaMapModel;
|
|
256
|
+
export interface SuburbLocatorOptions extends AreaMapOptions {
|
|
257
|
+
/** The page's nearest indexed suburbs and towns, nearest first: the same list its nearby block links. */
|
|
258
|
+
neighbours: readonly string[];
|
|
259
|
+
/** The smallest span either way, in kilometres (default 2.5). */
|
|
260
|
+
minSpanKm?: number;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* A suburb or town page's locator: the place itself (focus), its nearest
|
|
264
|
+
* neighbours (linked when indexable, in the order given), nearby job places and
|
|
265
|
+
* the base, with every locality border in the frame for context. Undefined when
|
|
266
|
+
* there are no neighbours and no jobs to show: omit the map then.
|
|
267
|
+
*/
|
|
268
|
+
export declare function suburbLocator(site: AreaMapSite, slug: string, options: SuburbLocatorOptions): AreaMapModel | undefined;
|
|
269
|
+
/** The base layer's groups, by id: what `<use href="<file>#<id>">` draws. */
|
|
270
|
+
export declare const AREA_MAP_LAYER_IDS: readonly ["land", "focus", "served", "outline"];
|
|
271
|
+
export type AreaMapLayerId = (typeof AREA_MAP_LAYER_IDS)[number];
|
|
272
|
+
/** The base layer groups a model draws (land and outline always; focus and served when it has them). */
|
|
273
|
+
export declare function areaMapLayerIds(model: Pick<AreaMapModel, 'layers'>): AreaMapLayerId[];
|
|
274
|
+
/**
|
|
275
|
+
* The static base layer of a model as an SVG document: `land` (all land in the
|
|
276
|
+
* frame; water is the space around it), `focus`, `served` and `outline` (unique
|
|
277
|
+
* borders, `fill="none"`, non-scaling strokes). The groups set no colours: the
|
|
278
|
+
* page draws each with `<use href="<file>#<id>">` and styles the `<use>` with its
|
|
279
|
+
* own tokens. Serve it from a static route, never inline.
|
|
280
|
+
*/
|
|
281
|
+
export declare function renderAreaMapBaseSvg(site: AreaMapSite, model: AreaMapModel, options?: AreaMapPathOptions): string;
|
|
282
|
+
//# sourceMappingURL=area-map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"area-map.d.ts","sourceRoot":"","sources":["../src/area-map.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAIL,KAAK,uBAAuB,EAE5B,KAAK,YAAY,EAClB,MAAM,sBAAsB,CAAA;AAG7B,OAAO,KAAK,EACV,sBAAsB,EACtB,6BAA6B,EAC7B,iBAAiB,EAEjB,YAAY,EACb,MAAM,gBAAgB,CAAA;AAEvB,YAAY,EAAE,cAAc,EAAE,uBAAuB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAEhH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAA4B,uBAAuB,CAAA;AAEjF,2GAA2G;AAC3G,eAAO,MAAM,oBAAoB,EAAE,MAAsC,CAAA;AA4DzE,uGAAuG;AACvG,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAEpE;AAED,4FAA4F;AAC5F,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAEpE;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAErE;AAED,+GAA+G;AAC/G,wBAAgB,WAAW,IAAI,YAAY,CAE1C;AAED,2FAA2F;AAC3F,wBAAgB,YAAY,CAAC,QAAQ,EAAE,uBA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