@tileflow/core 0.1.0-alpha.24 → 0.1.0-alpha.26
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 +166 -1228
- package/dist/build.d.ts +9 -4
- package/dist/build.js +831 -619
- package/dist/config-reference.json +1703 -1661
- package/dist/{map-BHL_0Mkx.d.ts → icon-composition-BssSKOKF.d.ts} +83 -3
- package/dist/index.d.ts +141 -3
- package/dist/index.js +1014 -608
- package/dist/native.d.ts +31 -0
- package/dist/native.js +143 -0
- package/docs/authoring-model.md +198 -0
- package/docs/capture-scenes.md +36 -0
- package/docs/compiled-style-performance.md +263 -0
- package/docs/data-is-separate-from-design.md +345 -0
- package/docs/hosted-session-authorization.md +113 -0
- package/docs/map-and-terrain-examples.md +149 -0
- package/docs/native-resource-urls.md +117 -0
- package/docs/public-api-and-browser-subpath.md +86 -0
- package/docs/shared-visual-primitives.md +22 -0
- package/docs/themes-and-module-styles.md +83 -0
- package/package.json +8 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { j as TileflowSymbolStyle, u as TileflowAreaStyle, S as TileflowLineStackStyle, i as TileflowLineStyle, g as TileflowExtrusionStyle, e as TileflowBackgroundStyle, h as TileflowFillStyle, Z as TileflowMarkerSymbolStyle, f as TileflowCircleStyle, b3 as TileflowThemeColorValue, b6 as TileflowThemeNumberValue, aV as TileflowTerrainHillshadeStyle, aU as TileflowTerrainEncoding, b4 as TileflowThemeFontValue, b5 as TileflowThemeImageValue, bR as TileflowTypographyStyle, L as TileflowLight, bS as ResolvedTileflowTypography, n as TileflowLabelsModuleConfig, p as TileflowPoiModuleConfig, l as TileflowRoadsModuleConfig, a7 as TileflowProjection, aP as TileflowTerrain, ba as TileflowViewConfig, M as MapLibreStyle, be as ValidationResult } from './manifest-B5GKVMFE.js';
|
|
2
2
|
import * as zod from 'zod';
|
|
3
|
+
import { z } from 'zod';
|
|
3
4
|
import { T as TileflowCaptureScene } from './capture-scene-BK_0J2oR.js';
|
|
4
5
|
|
|
5
6
|
type TileflowAddressesModuleOptions = {
|
|
@@ -839,6 +840,34 @@ type TileflowGlyphs = Readonly<{
|
|
|
839
840
|
url: string;
|
|
840
841
|
}>;
|
|
841
842
|
|
|
843
|
+
declare const tileflowIconSourceLimit = 32;
|
|
844
|
+
type TileflowIconSetReference = `@${string}/${string}`;
|
|
845
|
+
declare const tileflowIconSetReferenceSchema: z.ZodString;
|
|
846
|
+
declare const tileflowIconSetSourceSchema: z.ZodObject<{
|
|
847
|
+
kind: z.ZodLiteral<"icon-set">;
|
|
848
|
+
reference: z.ZodString;
|
|
849
|
+
}, z.core.$strict>;
|
|
850
|
+
type TileflowIconSetSource = Readonly<{
|
|
851
|
+
kind: 'icon-set';
|
|
852
|
+
reference: TileflowIconSetReference;
|
|
853
|
+
}>;
|
|
854
|
+
type TileflowIconSource = TileflowIconDirectory | TileflowIconSetSource;
|
|
855
|
+
/** Declare a dependency. This function never resolves a version or performs I/O. */
|
|
856
|
+
declare function iconSet(reference: TileflowIconSetReference): TileflowIconSetSource;
|
|
857
|
+
declare function isTileflowIconSetSource(value: unknown): value is TileflowIconSetSource;
|
|
858
|
+
declare const tileflowIconSetIdSchema: z.ZodString;
|
|
859
|
+
declare const tileflowIconSetVersionIdSchema: z.ZodString;
|
|
860
|
+
declare const tileflowIconSetPackageIdSchema: z.ZodString;
|
|
861
|
+
declare const tileflowIconSetTeamIdSchema: z.ZodString;
|
|
862
|
+
type TileflowIconSetErrorCode = 'ICON_SET_INVALID' | 'ICON_LOCK_INVALID' | 'ICON_LOCK_MISSING' | 'ICON_LOCK_CONFLICT' | 'ICON_CACHE_MISS' | 'ICON_CACHE_UNSAFE' | 'ICON_DOWNLOAD_FAILED' | 'ICON_PACKAGE_INTEGRITY' | 'ICON_COMPOSITION_INVALID';
|
|
863
|
+
declare class TileflowIconSetError extends Error {
|
|
864
|
+
readonly code: TileflowIconSetErrorCode;
|
|
865
|
+
readonly phase: "icon-resolution";
|
|
866
|
+
constructor(code: TileflowIconSetErrorCode, message: string, options?: ErrorOptions);
|
|
867
|
+
}
|
|
868
|
+
/** Validate the dependency sequence without consulting a lock or registry. */
|
|
869
|
+
declare function collectTileflowIconSetReferences(sources: readonly TileflowIconSource[]): TileflowIconSetReference[];
|
|
870
|
+
|
|
842
871
|
declare const tileflowResetBrand: unique symbol;
|
|
843
872
|
/** Serializable sentinel that removes one inherited override during `refine()`. */
|
|
844
873
|
type TileflowReset = Readonly<{
|
|
@@ -905,8 +934,8 @@ type TileflowMapDesign = TileflowMapTextAssets & {
|
|
|
905
934
|
data?: TileflowDataConfig;
|
|
906
935
|
/** Name used whenever a concrete theme is not explicitly requested. */
|
|
907
936
|
defaultTheme?: TileflowThemeName;
|
|
908
|
-
/** Ordered icon
|
|
909
|
-
icons?: readonly
|
|
937
|
+
/** Ordered icon contributors. Omission inherits; declaration replaces; [] means no icons. */
|
|
938
|
+
icons?: readonly TileflowIconSource[];
|
|
910
939
|
/** Independent Bathymetry and Nautical products composed by the compiler. */
|
|
911
940
|
marine?: TileflowMarine;
|
|
912
941
|
/** Semantic domains, expressed directly or with explicit refine/disable operations. */
|
|
@@ -1142,4 +1171,55 @@ declare function parseTileflowMap(map: TileflowMap): ResolvedTileflowMap;
|
|
|
1142
1171
|
/** Validate one singular authoring map, including its complete extends lineage. */
|
|
1143
1172
|
declare function validateTileflowMap(input: unknown): ValidationResult;
|
|
1144
1173
|
|
|
1145
|
-
|
|
1174
|
+
declare const tileflowIconCompositionMaximumBytes: number;
|
|
1175
|
+
declare const tileflowRenderedIconIdentitySchema: z.ZodObject<{
|
|
1176
|
+
kind: z.ZodLiteral<"rendered-icon">;
|
|
1177
|
+
id: z.ZodString;
|
|
1178
|
+
width: z.ZodNumber;
|
|
1179
|
+
height: z.ZodNumber;
|
|
1180
|
+
pixelSha256: z.ZodObject<{
|
|
1181
|
+
oneX: z.ZodString;
|
|
1182
|
+
twoX: z.ZodString;
|
|
1183
|
+
}, z.core.$strict>;
|
|
1184
|
+
}, z.core.$strict>;
|
|
1185
|
+
type TileflowRenderedIconIdentity = z.infer<typeof tileflowRenderedIconIdentitySchema>;
|
|
1186
|
+
declare const tileflowIconCompositionSchema: z.ZodObject<{
|
|
1187
|
+
format: z.ZodLiteral<"tileflow-icon-composition-v1">;
|
|
1188
|
+
compositionVersion: z.ZodLiteral<1>;
|
|
1189
|
+
packageHash: z.ZodString;
|
|
1190
|
+
contributors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1191
|
+
kind: z.ZodLiteral<"local">;
|
|
1192
|
+
iconIds: z.ZodArray<z.ZodString>;
|
|
1193
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1194
|
+
kind: z.ZodLiteral<"package">;
|
|
1195
|
+
package: z.ZodString;
|
|
1196
|
+
iconIds: z.ZodArray<z.ZodString>;
|
|
1197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1198
|
+
kind: z.ZodLiteral<"icon-set">;
|
|
1199
|
+
reference: z.ZodString;
|
|
1200
|
+
teamId: z.ZodString;
|
|
1201
|
+
setId: z.ZodString;
|
|
1202
|
+
versionId: z.ZodString;
|
|
1203
|
+
version: z.ZodNumber;
|
|
1204
|
+
packageId: z.ZodString;
|
|
1205
|
+
contentHash: z.ZodString;
|
|
1206
|
+
iconIds: z.ZodArray<z.ZodString>;
|
|
1207
|
+
}, z.core.$strict>], "kind">>;
|
|
1208
|
+
winners: z.ZodArray<z.ZodObject<{
|
|
1209
|
+
id: z.ZodString;
|
|
1210
|
+
width: z.ZodNumber;
|
|
1211
|
+
height: z.ZodNumber;
|
|
1212
|
+
pixelSha256: z.ZodObject<{
|
|
1213
|
+
oneX: z.ZodString;
|
|
1214
|
+
twoX: z.ZodString;
|
|
1215
|
+
}, z.core.$strict>;
|
|
1216
|
+
contributor: z.ZodNumber;
|
|
1217
|
+
}, z.core.$strict>>;
|
|
1218
|
+
}, z.core.$strict>;
|
|
1219
|
+
type TileflowIconCompositionV1 = z.infer<typeof tileflowIconCompositionSchema>;
|
|
1220
|
+
type TileflowIconContributorIdentity = TileflowIconCompositionV1['contributors'][number];
|
|
1221
|
+
declare function parseTileflowIconComposition(input: unknown): TileflowIconCompositionV1;
|
|
1222
|
+
/** Dependency identity is separate from the generated artifact's content hash. */
|
|
1223
|
+
declare function hashTileflowIconComposition(input: TileflowIconCompositionV1): Promise<string>;
|
|
1224
|
+
|
|
1225
|
+
export { type TileflowBathymetryOptions as $, tileflowCompilationPlannerStages as A, tileflowCompilationReportSchemaVersion as B, type TileflowSemanticModuleName as C, tileflowHostedSourceLimit as D, tileflowOverlayPlacements as E, type TileflowIconSource as F, type OpenMapTilesSchema as G, type OpenMapTilesSchemaOptions as H, type ResolvedBathymetry as I, type ResolvedBathymetryRelief as J, type ResolvedMarine as K, type ResolvedMarineSource as L, type ResolvedTileflowData as M, type ResolvedTileflowTheme as N, type OpenMapTilesFieldBindings as O, type ParkLayerSemantics as P, type ResolvedTileflowThemeTokens as Q, type ResolvedTileflowMap as R, type TileflowAddressesModuleConfig as S, type TileflowRenderedIconIdentity as T, type TileflowAddressesModuleOptions as U, type TileflowAerowaysModuleConfig as V, type TileflowAerowaysModuleOptions as W, type TileflowAuthoringModules as X, type TileflowBathymetryConfig as Y, type TileflowBathymetryDemSourceIdentity as Z, type TileflowBathymetryDisplay as _, type TileflowIconCompositionV1 as a, type TileflowStandaloneMap as a$, type TileflowBathymetryReliefConfig as a0, type TileflowBoundariesModuleConfig as a1, type TileflowBoundariesModuleOptions as a2, type TileflowBuildingMode as a3, type TileflowBuildingsModuleConfig as a4, type TileflowBuildingsModuleOptions as a5, type TileflowCompilationDiagnostic as a6, type TileflowCompilationDomainReport as a7, type TileflowCompilationFailure as a8, type TileflowCompilationOptions as a9, type TileflowLandformsModuleOptions as aA, type TileflowLanduseClass as aB, type TileflowLocalDirectory as aC, type TileflowMapDesign as aD, type TileflowMapIdentity as aE, type TileflowMapLibreOverlay as aF, type TileflowMapLibreOverlayLayer as aG, type TileflowMapTooling as aH, type TileflowMarine as aI, type TileflowMarineConfig as aJ, type TileflowMarineMode as aK, type TileflowMarineSourceConfig as aL, type TileflowMarineSourceIdentity as aM, type TileflowModuleOperation as aN, type TileflowModulePatch as aO, type TileflowNauticalAreaLabelStyles as aP, type TileflowNauticalModuleConfig as aQ, type TileflowNauticalModuleOptions as aR, type TileflowOverlayCollection as aS, type TileflowOverlayPlacement as aT, type TileflowPackageDirectory as aU, type TileflowRasterDemSourceRequirementV1 as aV, type TileflowRefineOperation as aW, type TileflowRemoveOperation as aX, type TileflowReset as aY, type TileflowResolvedThemeSelection as aZ, type TileflowSemanticModules as a_, type TileflowCompilationPhase as aa, type TileflowCompilationPlannerDecision as ab, type TileflowCompilationPlannerStage as ac, type TileflowCompilationReport as ad, type TileflowCompilationResult as ae, type TileflowCompilationSuccess as af, type TileflowDataConfig as ag, type TileflowDataIdentity as ah, type TileflowDerivedMap as ai, type TileflowDisableOperation as aj, type TileflowFontDirectory as ak, type TileflowGlyphs as al, type TileflowHostedSourceCollection as am, type TileflowHostedTilesetSource as an, type TileflowHostedTilesetType as ao, type TileflowIconContributorIdentity as ap, type TileflowIconDirectory as aq, TileflowIconSetError as ar, type TileflowIconSetErrorCode as as, type TileflowIconSetReference as at, type TileflowIconSetSource as au, type TileflowLandModuleConfig as av, type TileflowLandModuleOptions as aw, type TileflowLandcoverClass as ax, type TileflowLandformClass as ay, type TileflowLandformsModuleConfig as az, type TileflowDataRequirementsV1 as b, resolveThemeValues as b$, type TileflowTheme as b0, type TileflowThemeAuditContext as b1, type TileflowThemeAuditDiagnostic as b2, TileflowThemeAuditError as b3, type TileflowThemeAuditScope as b4, type TileflowThemeColorScheme as b5, type TileflowThemeDefinition as b6, type TileflowThemeLighting as b7, type TileflowThemeName as b8, type TileflowThemeTokens as b9, classifyTileflowVisualProperty as bA, collectTileflowIconSetReferences as bB, createStyle as bC, createStyleResult as bD, defineTheme as bE, disable as bF, hashTileflowIconComposition as bG, hostedTileset as bH, iconSet as bI, isCanonicalOpenMapTilesSchema as bJ, isSafeLocalPmtilesPath as bK, isTileflowCompilationPhase as bL, isTileflowIconSetSource as bM, isTileflowLocalDirectory as bN, land as bO, landforms as bP, maplibreOverlay as bQ, nautical as bR, openMapTiles as bS, openMapTilesContractVersion as bT, parseTileflowIconComposition as bU, parseTileflowMap as bV, refine as bW, remove as bX, reset as bY, resolveMarine as bZ, resolveThemeSelection as b_, type TileflowThemeTypography as ba, type TileflowThemeTypographyStyle as bb, type TileflowTransitModuleConfig as bc, type TileflowTransitModuleOptions as bd, type TileflowTransitRailStyle as be, type TileflowVegetationMode as bf, type TileflowVegetationModuleConfig as bg, type TileflowVegetationModuleOptions as bh, type TileflowVegetationThreeDimensionalStyle as bi, type TileflowVisualValueCategory as bj, type TileflowWaterModuleConfig as bk, type TileflowWaterModuleOptions as bl, type TileflowWaterwayClass as bm, type TileflowWorldData as bn, type TileflowWorldReleaseReference as bo, type TileflowWorldSelection as bp, type TileflowWorldV1Schema as bq, type VectorTilesData as br, addresses as bs, aeroways as bt, assertTileflowMapThemeValues as bu, auditTileflowMapThemeValues as bv, auditTileflowThemeValues as bw, bathymetry as bx, boundaries as by, buildings as bz, type TileflowSourceRequirementsV1 as c, resolveTileflowData as c0, resolveTileflowTheme as c1, tileflowBathymetryDemSourceId as c2, tileflowBathymetrySourceId as c3, tileflowBathymetryV1Schema as c4, tileflowIconCompositionMaximumBytes as c5, tileflowIconCompositionSchema as c6, tileflowIconSetIdSchema as c7, tileflowIconSetPackageIdSchema as c8, tileflowIconSetReferenceSchema as c9, tileflowIconSetSourceSchema as ca, tileflowIconSetTeamIdSchema as cb, tileflowIconSetVersionIdSchema as cc, tileflowIconSourceLimit as cd, tileflowLandformClasses as ce, tileflowLocalDirectoryMaximumLength as cf, tileflowLocalDirectoryMessage as cg, tileflowMapIdSchema as ch, tileflowNauticalSourceId as ci, tileflowNauticalV1Schema as cj, tileflowPrimarySourceId as ck, tileflowRenderedIconIdentitySchema as cl, tileflowThemeLimits as cm, tileflowWorld as cn, tileflowWorldGeneration as co, tileflowWorldTileJsonUrl as cp, tileflowWorldV1Schema as cq, transit as cr, validateTileflowMap as cs, validateTileflowWorldV1Tilejson as ct, vectorTiles as cu, vegetation as cv, water as cw, type TileflowMap as d, type TileflowStyleOptions as e, type TileflowInspectedStyle as f, type TileflowPreparedMapAssets as g, type TileflowDataCompatibilityIssue as h, type TileflowDataFieldRequirement as i, type TileflowDataFieldType as j, type TileflowDataLayerRequirement as k, type TileflowObservedDataContractV1 as l, type TileflowStyleInspection as m, type TileflowStyleInspectionContribution as n, type TileflowStyleInspectionLayer as o, type TileflowStyleInspectionRenderOperation as p, collectMapLineage as q, inferTileflowDataRequirements as r, inferTileflowSourceRequirements as s, tileflowStyleInspectionSchemaVersion as t, type TileflowMapScene as u, validateTileflowDataCompatibility as v, type ResolveMapOptions as w, type TileflowLayerDomain as x, type OpenMapTilesLayerBindings as y, tileflowCompilationPhases as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { d as TileflowMap, u as TileflowMapScene, w as ResolveMapOptions, R as ResolvedTileflowMap, O as OpenMapTilesFieldBindings, x as TileflowLayerDomain, y as OpenMapTilesLayerBindings, z as tileflowCompilationPhases, A as tileflowCompilationPlannerStages, B as tileflowCompilationReportSchemaVersion, C as TileflowSemanticModuleName, D as tileflowHostedSourceLimit, E as tileflowOverlayPlacements, F as TileflowIconSource } from './icon-composition-BssSKOKF.js';
|
|
2
|
+
export { G as OpenMapTilesSchema, H as OpenMapTilesSchemaOptions, P as ParkLayerSemantics, I as ResolvedBathymetry, J as ResolvedBathymetryRelief, K as ResolvedMarine, L as ResolvedMarineSource, M as ResolvedTileflowData, N as ResolvedTileflowTheme, Q as ResolvedTileflowThemeTokens, S as TileflowAddressesModuleConfig, U as TileflowAddressesModuleOptions, V as TileflowAerowaysModuleConfig, W as TileflowAerowaysModuleOptions, X as TileflowAuthoringModules, Y as TileflowBathymetryConfig, Z as TileflowBathymetryDemSourceIdentity, _ as TileflowBathymetryDisplay, $ as TileflowBathymetryOptions, a0 as TileflowBathymetryReliefConfig, a1 as TileflowBoundariesModuleConfig, a2 as TileflowBoundariesModuleOptions, a3 as TileflowBuildingMode, a4 as TileflowBuildingsModuleConfig, a5 as TileflowBuildingsModuleOptions, a6 as TileflowCompilationDiagnostic, a7 as TileflowCompilationDomainReport, a8 as TileflowCompilationFailure, a9 as TileflowCompilationOptions, aa as TileflowCompilationPhase, ab as TileflowCompilationPlannerDecision, ac as TileflowCompilationPlannerStage, ad as TileflowCompilationReport, ae as TileflowCompilationResult, af as TileflowCompilationSuccess, h as TileflowDataCompatibilityIssue, ag as TileflowDataConfig, i as TileflowDataFieldRequirement, j as TileflowDataFieldType, ah as TileflowDataIdentity, k as TileflowDataLayerRequirement, b as TileflowDataRequirementsV1, ai as TileflowDerivedMap, aj as TileflowDisableOperation, ak as TileflowFontDirectory, al as TileflowGlyphs, am as TileflowHostedSourceCollection, an as TileflowHostedTilesetSource, ao as TileflowHostedTilesetType, a as TileflowIconCompositionV1, ap as TileflowIconContributorIdentity, aq as TileflowIconDirectory, ar as TileflowIconSetError, as as TileflowIconSetErrorCode, at as TileflowIconSetReference, au as TileflowIconSetSource, av as TileflowLandModuleConfig, aw as TileflowLandModuleOptions, ax as TileflowLandcoverClass, ay as TileflowLandformClass, az as TileflowLandformsModuleConfig, aA as TileflowLandformsModuleOptions, aB as TileflowLanduseClass, aC as TileflowLocalDirectory, aD as TileflowMapDesign, aE as TileflowMapIdentity, aF as TileflowMapLibreOverlay, aG as TileflowMapLibreOverlayLayer, aH as TileflowMapTooling, aI as TileflowMarine, aJ as TileflowMarineConfig, aK as TileflowMarineMode, aL as TileflowMarineSourceConfig, aM as TileflowMarineSourceIdentity, aN as TileflowModuleOperation, aO as TileflowModulePatch, aP as TileflowNauticalAreaLabelStyles, aQ as TileflowNauticalModuleConfig, aR as TileflowNauticalModuleOptions, l as TileflowObservedDataContractV1, aS as TileflowOverlayCollection, aT as TileflowOverlayPlacement, aU as TileflowPackageDirectory, aV as TileflowRasterDemSourceRequirementV1, aW as TileflowRefineOperation, aX as TileflowRemoveOperation, T as TileflowRenderedIconIdentity, aY as TileflowReset, aZ as TileflowResolvedThemeSelection, a_ as TileflowSemanticModules, c as TileflowSourceRequirementsV1, a$ as TileflowStandaloneMap, e as TileflowStyleOptions, b0 as TileflowTheme, b1 as TileflowThemeAuditContext, b2 as TileflowThemeAuditDiagnostic, b3 as TileflowThemeAuditError, b4 as TileflowThemeAuditScope, b5 as TileflowThemeColorScheme, b6 as TileflowThemeDefinition, b7 as TileflowThemeLighting, b8 as TileflowThemeName, b9 as TileflowThemeTokens, ba as TileflowThemeTypography, bb as TileflowThemeTypographyStyle, bc as TileflowTransitModuleConfig, bd as TileflowTransitModuleOptions, be as TileflowTransitRailStyle, bf as TileflowVegetationMode, bg as TileflowVegetationModuleConfig, bh as TileflowVegetationModuleOptions, bi as TileflowVegetationThreeDimensionalStyle, bj as TileflowVisualValueCategory, bk as TileflowWaterModuleConfig, bl as TileflowWaterModuleOptions, bm as TileflowWaterwayClass, bn as TileflowWorldData, bo as TileflowWorldReleaseReference, bp as TileflowWorldSelection, bq as TileflowWorldV1Schema, br as VectorTilesData, bs as addresses, bt as aeroways, bu as assertTileflowMapThemeValues, bv as auditTileflowMapThemeValues, bw as auditTileflowThemeValues, bx as bathymetry, by as boundaries, bz as buildings, bA as classifyTileflowVisualProperty, bB as collectTileflowIconSetReferences, bC as createStyle, bD as createStyleResult, bE as defineTheme, bF as disable, bG as hashTileflowIconComposition, bH as hostedTileset, bI as iconSet, r as inferTileflowDataRequirements, s as inferTileflowSourceRequirements, bJ as isCanonicalOpenMapTilesSchema, bK as isSafeLocalPmtilesPath, bL as isTileflowCompilationPhase, bM as isTileflowIconSetSource, bN as isTileflowLocalDirectory, bO as land, bP as landforms, bQ as maplibreOverlay, bR as nautical, bS as openMapTiles, bT as openMapTilesContractVersion, bU as parseTileflowIconComposition, bV as parseTileflowMap, bW as refine, bX as remove, bY as reset, bZ as resolveMarine, b_ as resolveThemeSelection, b$ as resolveThemeValues, c0 as resolveTileflowData, c1 as resolveTileflowTheme, c2 as tileflowBathymetryDemSourceId, c3 as tileflowBathymetrySourceId, c4 as tileflowBathymetryV1Schema, c5 as tileflowIconCompositionMaximumBytes, c6 as tileflowIconCompositionSchema, c7 as tileflowIconSetIdSchema, c8 as tileflowIconSetPackageIdSchema, c9 as tileflowIconSetReferenceSchema, ca as tileflowIconSetSourceSchema, cb as tileflowIconSetTeamIdSchema, cc as tileflowIconSetVersionIdSchema, cd as tileflowIconSourceLimit, ce as tileflowLandformClasses, cf as tileflowLocalDirectoryMaximumLength, cg as tileflowLocalDirectoryMessage, ch as tileflowMapIdSchema, ci as tileflowNauticalSourceId, cj as tileflowNauticalV1Schema, ck as tileflowPrimarySourceId, cl as tileflowRenderedIconIdentitySchema, cm as tileflowThemeLimits, cn as tileflowWorld, co as tileflowWorldGeneration, cp as tileflowWorldTileJsonUrl, cq as tileflowWorldV1Schema, cr as transit, v as validateTileflowDataCompatibility, cs as validateTileflowMap, ct as validateTileflowWorldV1Tilejson, cu as vectorTiles, cv as vegetation, cw as water } from './icon-composition-BssSKOKF.js';
|
|
3
3
|
import { V as ValidationMessage, a as TileflowExpression, b as TileflowFixedValue, c as TileflowThemeTokenReference, d as TileflowThemeColorOperation, e as TileflowBackgroundStyle, f as TileflowCircleStyle, g as TileflowExtrusionStyle, h as TileflowFillStyle, i as TileflowLineStyle, j as TileflowSymbolStyle, M as MapLibreStyle, k as TileflowRoadsModuleOptions, l as TileflowRoadsModuleConfig, m as TileflowLabelsModuleOptions, n as TileflowLabelsModuleConfig, o as TileflowPoiModuleOptions, p as TileflowPoiModuleConfig } from './manifest-B5GKVMFE.js';
|
|
4
4
|
export { q as MapLibreSprite, r as TileflowAerodromeCodeDetail, s as TileflowAlignment, t as TileflowAnalytics, u as TileflowAreaStyle, v as TileflowBackgroundPaint, w as TileflowCirclePaint, x as TileflowColor, y as TileflowColorStyleValue, z as TileflowExtrusionPaint, A as TileflowFillPaint, B as TileflowIconAnchor, C as TileflowIconLayout, D as TileflowIconPaint, E as TileflowIconStyle, F as TileflowIconTextFit, G as TileflowImageStyleValue, H as TileflowLabelDetail, I as TileflowLabelLanguage, J as TileflowLabelStyles, K as TileflowLayerRange, L as TileflowLight, N as TileflowLineCap, O as TileflowLineHatchStyle, P as TileflowLineJoin, Q as TileflowLineLayout, R as TileflowLinePaint, S as TileflowLineStackStyle, U as TileflowManifestFetchOptions, W as TileflowManifestLoadOptions, X as TileflowMapMode, Y as TileflowMapModeOptions, Z as TileflowMarkerSymbolStyle, _ as TileflowMountainBikeScale, $ as TileflowNumberInsetsStyleValue, a0 as TileflowNumberStyleValue, a1 as TileflowPlaceLabelClass, a2 as TileflowPoiCategory, a3 as TileflowPoiCategoryStyle, a4 as TileflowPoiColorMode, a5 as TileflowPoiDensity, a6 as TileflowPriorityOrder, a7 as TileflowProjection, a8 as TileflowResolvedRuntimeTheme, a9 as TileflowRoadAreaStyle, aa as TileflowRoadClass, ab as TileflowRoadClassStyle, ac as TileflowRoadCrossingStyle, ad as TileflowRoadDetail, ae as TileflowRoadExtras, af as TileflowRoadHierarchy, ag as TileflowRoadLabelDetail, ah as TileflowRoadLayerStyle, ai as TileflowRoadModifier, aj as TileflowRoadOutline, ak as TileflowRoadRestriction, al as TileflowRoadRoundaboutStyle, am as TileflowRoadServiceType, an as TileflowRoadShieldDetail, ao as TileflowRoadShieldStyles, ap as TileflowRoadSidewalkStyle, aq as TileflowRoadStructure, ar as TileflowRoadTreatmentLayerStyle, as as TileflowRoadTreatmentLineStyle, at as TileflowRoadTreatmentStyle, au as TileflowRoadWeight, av as TileflowRuntimeCenterLike, aw as TileflowRuntimeColorScheme, T as TileflowRuntimeManifest, ax as TileflowRuntimeManifestMap, ay as TileflowRuntimeManifestMapEntry, az as TileflowRuntimeManifestTheme, aA as TileflowRuntimeSource, aB as TileflowRuntimeSourceValidation, aC as TileflowRuntimeStyle, aD as TileflowRuntimeStyleOptions, aE as TileflowRuntimeSystemThemes, aF as TileflowRuntimeViewOptions, aG as TileflowSessionController, aH as TileflowSessionGrantResponse, aI as TileflowStringStyleValue, aJ as TileflowStructuralStyleValue, aK as TileflowStyleFontFace, aL as TileflowStyleValue, aM as TileflowSymbolPlacement, aN as TileflowSymbolPlacementStyle, aO as TileflowSymbolZOrder, aP as TileflowTerrain, aQ as TileflowTerrainConfig, aR as TileflowTerrainContourLabelStyle, aS as TileflowTerrainContourLineStyle, aT as TileflowTerrainContoursConfig, aU as TileflowTerrainEncoding, aV as TileflowTerrainHillshadeStyle, aW as TileflowTerrainLayerRange, aX as TileflowTerrainMode, aY as TileflowTextAnchor, aZ as TileflowTextJustify, a_ as TileflowTextLayout, a$ as TileflowTextPaint, b0 as TileflowTextStyle, b1 as TileflowThemeColorAlpha, b2 as TileflowThemeColorMix, b3 as TileflowThemeColorValue, b4 as TileflowThemeFontValue, b5 as TileflowThemeImageValue, b6 as TileflowThemeNumberValue, b7 as TileflowThemeSelection, b8 as TileflowThemeTokenCategory, b9 as TileflowThemeValue, ba as TileflowViewConfig, bb as TileflowWaterLabelClass, bc as TileflowZoomInterpolation, bd as TileflowZoomValue, be as ValidationResult, bf as assertValidTileflowRuntimeSource, bg as clearTileflowManifestCache, bh as color, bi as createTileflowSessionController, bj as createTileflowSessionId, bk as defaultTileflowManifestUrl, bl as defaultTileflowRuntimeView, bm as fixed, bn as getTileflowAnalyticsApiUrl, bo as getTileflowStyleFontFaces, bp as inferTileflowAnalyticsFromStyleUrl, bq as loadTileflowManifest, br as mergeTileflowAnalytics, bs as normalizeTileflowRuntimeCenter, bt as normalizeTileflowStaticImageSize, bu as normalizeTileflowUrl, bv as parseTileflowRuntimeManifest, bw as resolveTileflowAnalyticsRequestUrl, bx as resolveTileflowManifestMap, by as resolveTileflowMapMode, bz as resolveTileflowRuntimeStyle, bA as resolveTileflowRuntimeTheme, bB as resolveTileflowRuntimeView, bC as resolveTileflowStaticImageUrl, bD as safeParseTileflowRuntimeManifest, bE as shouldLoadTileflowManifest, bF as startTileflowSession, bG as tileflowPoiCategories, bH as tileflowRuntimeManifestLimits, bI as tileflowRuntimeManifestSchema, bJ as tileflowRuntimeManifestVersion, bK as tileflowStyleFontFaceLimits, bL as tileflowStyleFontFacesMetadataKey, bM as tileflowThemeTokenCategories, bN as token, bO as validateTileflowRuntimeSource, bP as validateTileflowThemeSelection, bQ as zoom } from './manifest-B5GKVMFE.js';
|
|
5
5
|
export { N as NormalizedTileflowCaptureScene, a as TileflowCaptureApplicationTarget, b as TileflowCaptureBoundsCamera, c as TileflowCaptureCamera, d as TileflowCaptureCenterCamera, e as TileflowCaptureMapTarget, T as TileflowCaptureScene, f as TileflowCaptureTarget, g as TileflowCaptureViewport, n as normalizeTileflowCaptureId, h as normalizeTileflowCaptureScene, t as tileflowCaptureApplicationTargetSchema, i as tileflowCaptureBoundsCameraSchema, j as tileflowCaptureCameraSchema, k as tileflowCaptureCenterCameraSchema, l as tileflowCaptureIdSchema, m as tileflowCaptureMapTargetSchema, o as tileflowCaptureSceneLimits, p as tileflowCaptureSceneNameSchema, q as tileflowCaptureSceneSchema, r as tileflowCaptureSceneSchemaVersion, s as tileflowCaptureTargetSchema, u as tileflowCaptureViewportSchema } from './capture-scene-BK_0J2oR.js';
|
|
@@ -758,4 +758,142 @@ type TileflowIconManifestDiff = {
|
|
|
758
758
|
};
|
|
759
759
|
declare function diffTileflowIconPackageManifests(before: TileflowIconPackageManifest | null, after: TileflowIconPackageManifest | null): TileflowIconManifestDiff;
|
|
760
760
|
|
|
761
|
-
|
|
761
|
+
declare const tileflowIconsLockfileName = "tileflow.icons.lock.json";
|
|
762
|
+
declare const tileflowIconsLockfileMaximumBytes: number;
|
|
763
|
+
declare const tileflowIconSetPinSchema: z.ZodObject<{
|
|
764
|
+
teamId: z.ZodString;
|
|
765
|
+
setId: z.ZodString;
|
|
766
|
+
versionId: z.ZodString;
|
|
767
|
+
version: z.ZodNumber;
|
|
768
|
+
packageId: z.ZodString;
|
|
769
|
+
contentHash: z.ZodString;
|
|
770
|
+
manifest: z.ZodObject<{
|
|
771
|
+
files: z.ZodTuple<[z.ZodObject<{
|
|
772
|
+
byteLength: z.ZodNumber;
|
|
773
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
774
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
775
|
+
sha256: z.ZodString;
|
|
776
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
777
|
+
byteLength: z.ZodNumber;
|
|
778
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
779
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
780
|
+
sha256: z.ZodString;
|
|
781
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
782
|
+
byteLength: z.ZodNumber;
|
|
783
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
784
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
785
|
+
sha256: z.ZodString;
|
|
786
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
787
|
+
byteLength: z.ZodNumber;
|
|
788
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
789
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
790
|
+
sha256: z.ZodString;
|
|
791
|
+
}, z.core.$strict>], null>;
|
|
792
|
+
format: z.ZodLiteral<"tileflow-icon-package-v1">;
|
|
793
|
+
iconNames: z.ZodArray<z.ZodString>;
|
|
794
|
+
renderedIcons: z.ZodArray<z.ZodObject<{
|
|
795
|
+
name: z.ZodString;
|
|
796
|
+
pixelSha256: z.ZodObject<{
|
|
797
|
+
oneX: z.ZodString;
|
|
798
|
+
twoX: z.ZodString;
|
|
799
|
+
}, z.core.$strict>;
|
|
800
|
+
}, z.core.$strict>>;
|
|
801
|
+
sprites: z.ZodObject<{
|
|
802
|
+
oneX: z.ZodObject<{
|
|
803
|
+
height: z.ZodNumber;
|
|
804
|
+
width: z.ZodNumber;
|
|
805
|
+
pixelRatio: z.ZodLiteral<1>;
|
|
806
|
+
}, z.core.$strict>;
|
|
807
|
+
twoX: z.ZodObject<{
|
|
808
|
+
height: z.ZodNumber;
|
|
809
|
+
width: z.ZodNumber;
|
|
810
|
+
pixelRatio: z.ZodLiteral<2>;
|
|
811
|
+
}, z.core.$strict>;
|
|
812
|
+
}, z.core.$strict>;
|
|
813
|
+
}, z.core.$strict>;
|
|
814
|
+
spriteUrl: z.ZodString;
|
|
815
|
+
}, z.core.$strict>;
|
|
816
|
+
declare const tileflowIconsLockfileSchema: z.ZodObject<{
|
|
817
|
+
lockfileVersion: z.ZodLiteral<1>;
|
|
818
|
+
sets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
819
|
+
teamId: z.ZodString;
|
|
820
|
+
setId: z.ZodString;
|
|
821
|
+
versionId: z.ZodString;
|
|
822
|
+
version: z.ZodNumber;
|
|
823
|
+
packageId: z.ZodString;
|
|
824
|
+
contentHash: z.ZodString;
|
|
825
|
+
manifest: z.ZodObject<{
|
|
826
|
+
files: z.ZodTuple<[z.ZodObject<{
|
|
827
|
+
byteLength: z.ZodNumber;
|
|
828
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
829
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
830
|
+
sha256: z.ZodString;
|
|
831
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
832
|
+
byteLength: z.ZodNumber;
|
|
833
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
834
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
835
|
+
sha256: z.ZodString;
|
|
836
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
837
|
+
byteLength: z.ZodNumber;
|
|
838
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
839
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
840
|
+
sha256: z.ZodString;
|
|
841
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
842
|
+
byteLength: z.ZodNumber;
|
|
843
|
+
contentType: z.ZodLiteral<"application/json" | "image/png">;
|
|
844
|
+
name: z.ZodLiteral<"sprite.json" | "sprite.png" | "sprite@2x.json" | "sprite@2x.png">;
|
|
845
|
+
sha256: z.ZodString;
|
|
846
|
+
}, z.core.$strict>], null>;
|
|
847
|
+
format: z.ZodLiteral<"tileflow-icon-package-v1">;
|
|
848
|
+
iconNames: z.ZodArray<z.ZodString>;
|
|
849
|
+
renderedIcons: z.ZodArray<z.ZodObject<{
|
|
850
|
+
name: z.ZodString;
|
|
851
|
+
pixelSha256: z.ZodObject<{
|
|
852
|
+
oneX: z.ZodString;
|
|
853
|
+
twoX: z.ZodString;
|
|
854
|
+
}, z.core.$strict>;
|
|
855
|
+
}, z.core.$strict>>;
|
|
856
|
+
sprites: z.ZodObject<{
|
|
857
|
+
oneX: z.ZodObject<{
|
|
858
|
+
height: z.ZodNumber;
|
|
859
|
+
width: z.ZodNumber;
|
|
860
|
+
pixelRatio: z.ZodLiteral<1>;
|
|
861
|
+
}, z.core.$strict>;
|
|
862
|
+
twoX: z.ZodObject<{
|
|
863
|
+
height: z.ZodNumber;
|
|
864
|
+
width: z.ZodNumber;
|
|
865
|
+
pixelRatio: z.ZodLiteral<2>;
|
|
866
|
+
}, z.core.$strict>;
|
|
867
|
+
}, z.core.$strict>;
|
|
868
|
+
}, z.core.$strict>;
|
|
869
|
+
spriteUrl: z.ZodString;
|
|
870
|
+
}, z.core.$strict>>;
|
|
871
|
+
}, z.core.$strict>;
|
|
872
|
+
type TileflowIconSetPin = z.infer<typeof tileflowIconSetPinSchema>;
|
|
873
|
+
type TileflowIconsLockfileV1 = z.infer<typeof tileflowIconsLockfileSchema>;
|
|
874
|
+
/** Parse a complete snapshot; no credentials, originals or floating versions belong in a lock. */
|
|
875
|
+
declare function parseTileflowIconsLockfile(input: unknown, sources?: readonly TileflowIconSource[]): Promise<TileflowIconsLockfileV1>;
|
|
876
|
+
declare function serializeTileflowIconsLockfile(input: TileflowIconsLockfileV1): Promise<string>;
|
|
877
|
+
|
|
878
|
+
/** Bounded JSON parser which rejects duplicate keys, including escaped equivalents. */
|
|
879
|
+
declare function parseTileflowIconJson(text: string, maximumBytes: number): unknown;
|
|
880
|
+
|
|
881
|
+
/** Portable generated-index shape; geometry and pixel integrity require paired artifact verification. */
|
|
882
|
+
declare const tileflowIconSpriteIndexEntrySchema: z.ZodObject<{
|
|
883
|
+
height: z.ZodNumber;
|
|
884
|
+
width: z.ZodNumber;
|
|
885
|
+
pixelRatio: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
886
|
+
x: z.ZodNumber;
|
|
887
|
+
y: z.ZodNumber;
|
|
888
|
+
}, z.core.$strict>;
|
|
889
|
+
declare const tileflowIconSpriteIndexSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
890
|
+
height: z.ZodNumber;
|
|
891
|
+
width: z.ZodNumber;
|
|
892
|
+
pixelRatio: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
893
|
+
x: z.ZodNumber;
|
|
894
|
+
y: z.ZodNumber;
|
|
895
|
+
}, z.core.$strict>>;
|
|
896
|
+
type TileflowIconSpriteIndexEntry = z.infer<typeof tileflowIconSpriteIndexEntrySchema>;
|
|
897
|
+
type TileflowIconSpriteIndex = z.infer<typeof tileflowIconSpriteIndexSchema>;
|
|
898
|
+
|
|
899
|
+
export { MapLibreStyle, OpenMapTilesFieldBindings, OpenMapTilesLayerBindings, ResolveMapOptions, ResolvedTileflowMap, type TileflowAuthoringCommand, type TileflowAuthoringCommandName, type TileflowAuthoringCommandOutputKind, type TileflowAuthoringExpressionBuilder, type TileflowAuthoringManifest, type TileflowAuthoringManifestDomain, type TileflowAuthoringOperation, TileflowBackgroundStyle, TileflowCircleStyle, type TileflowDataCaseBranch, type TileflowDataExpressionInput, type TileflowDataExpressionResult, type TileflowDataFieldReference, type TileflowDataFieldValue, type TileflowDataInterpolation, type TileflowDataMatchBranch, type TileflowDataStop, TileflowExtrusionStyle, TileflowFillStyle, TileflowFixedValue, type TileflowFontBundleFile, type TileflowFontBundleFontFace, type TileflowFontBundleManifest, type TileflowIconManifestDiff, type TileflowIconPackageFileName, type TileflowIconPackageManifest, type TileflowIconSetPin, TileflowIconSource, type TileflowIconSpriteIndex, type TileflowIconSpriteIndexEntry, type TileflowIconsLockfileV1, TileflowLabelsModuleConfig, TileflowLabelsModuleOptions, TileflowLineStyle, TileflowMap, TileflowMapResolutionError, TileflowMapScene, type TileflowModuleWithRenderStack, type TileflowNamedRenderStack, type TileflowNumericDataFieldName, TileflowPoiModuleConfig, TileflowPoiModuleOptions, type TileflowRenderComparison, type TileflowRenderFeature, type TileflowRenderField, type TileflowRenderGeometry, type TileflowRenderPass, type TileflowRenderPassInput, type TileflowRenderScalar, type TileflowRenderSelector, type TileflowRenderStackOperation, type TileflowRenderStackPhase, type TileflowRenderTargetRefinement, type TileflowRenderTargetRefinementInput, type TileflowRenderVisibilityGroup, type TileflowRenderedIconManifestEntry, TileflowResolvedMapValidationError, TileflowRoadsModuleConfig, TileflowRoadsModuleOptions, type TileflowSemanticAdd, type TileflowSemanticChange, type TileflowSemanticDiff, type TileflowSemanticDifference, type TileflowSemanticJsonValue, type TileflowSemanticMapIdentity, type TileflowSemanticRemove, type TileflowStylePerformance, TileflowSymbolStyle, TileflowThemeColorOperation, TileflowThemeTokenReference, type TileflowZoomPerformance, ValidationMessage, analyzeTileflowStylePerformance, compareCodeUnits, defineMap, diffTileflowIconPackageManifests, diffTileflowMaps, expr, field, hashTileflowFontBundleManifest, hashTileflowIconPackageManifest, hashTileflowRenderedIconPixels, isTileflowPortableId, isTileflowThemeName, isTileflowWorldReleaseId, labels, parseResolvedTileflowMap, parseTileflowIconJson, parseTileflowIconsLockfile, poi, refineRenderTarget, renderPass, resolveMap, roads, serializeCanonicalJson, serializeTileflowFontBundleManifest, serializeTileflowIconPackageManifest, serializeTileflowIconsLockfile, sha256Hex, tileflowAuthoringManifest, tileflowAuthoringManifestSchemaVersion, tileflowCompilationPhases, tileflowCompilationPlannerStages, tileflowCompilationReportSchemaVersion, tileflowFontBundleContentHashSchema, tileflowFontBundleLimits, tileflowFontBundleManifestSchema, tileflowHostedAlphaCompatibility, tileflowHostedSourceLimit, tileflowIconIdPattern, tileflowIconIdSchema, tileflowIconPackageContentHashSchema, tileflowIconPackageFileNames, tileflowIconPackageLabelSchema, tileflowIconPackageLimits, tileflowIconPackageManifestSchema, tileflowIconSetPinSchema, tileflowIconSpriteIndexEntrySchema, tileflowIconSpriteIndexSchema, tileflowIconsLockfileMaximumBytes, tileflowIconsLockfileName, tileflowIconsLockfileSchema, tileflowMapDefaultMaxDepth, tileflowOverlayPlacements, tileflowPoiImageRoles, tileflowPortableIdMaximumLength, tileflowRenderSelectorComparisons, tileflowRenderSelectorGeometries, tileflowRenderSelectorKinds, tileflowRenderStackLimits, tileflowRenderStackPhases, tileflowRenderStackRenderers, tileflowRenderedIconManifestEntrySchema, tileflowRoadClasses, tileflowSemanticDiffSchemaVersion, tileflowWorldReleaseIdMaximumLength, tileflowWorldReleaseIdMinimumLength, tileflowWorldReleaseIdPattern, tileflowWorldReleaseIdPatternSource, tileflowWorldReleaseIdSchema, withRenderStack };
|