@honua/react 0.1.0-beta.0 → 0.1.2-beta.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.
Files changed (315) hide show
  1. package/contract/discovery.d.ts +231 -0
  2. package/contract/discovery.d.ts.map +1 -0
  3. package/contract/discovery.js +554 -0
  4. package/contract/edit-sketch.d.ts +8 -0
  5. package/contract/edit-sketch.d.ts.map +1 -1
  6. package/contract/edit-sketch.js +15 -0
  7. package/contract/edit-snapping.d.ts +160 -0
  8. package/contract/edit-snapping.d.ts.map +1 -0
  9. package/contract/edit-snapping.js +675 -0
  10. package/contract/generated/projjson-v0.7-crs-validator.d.ts +35 -0
  11. package/contract/generated/projjson-v0.7-crs-validator.d.ts.map +1 -0
  12. package/contract/generated/projjson-v0.7-crs-validator.js +3941 -0
  13. package/contract/index.d.ts +11 -2
  14. package/contract/index.d.ts.map +1 -1
  15. package/contract/index.js +4 -1
  16. package/contract/pmtiles.d.ts +31 -0
  17. package/contract/pmtiles.d.ts.map +1 -1
  18. package/contract/pmtiles.js +60 -20
  19. package/contract/protocol-module.d.ts +70 -0
  20. package/contract/protocol-module.d.ts.map +1 -0
  21. package/contract/protocol-module.js +1 -0
  22. package/contract/schema-envelope.d.ts +26 -0
  23. package/contract/schema-envelope.d.ts.map +1 -0
  24. package/contract/schema-envelope.js +25 -0
  25. package/contract/schema.d.ts +582 -0
  26. package/contract/schema.d.ts.map +1 -0
  27. package/contract/schema.js +2483 -0
  28. package/contract/source-capability-support.d.ts +6 -0
  29. package/contract/source-capability-support.d.ts.map +1 -0
  30. package/contract/source-capability-support.js +154 -0
  31. package/contract/source.d.ts +35 -17
  32. package/contract/source.d.ts.map +1 -1
  33. package/contract/source.js +267 -71
  34. package/contract/types.d.ts +140 -4
  35. package/contract/types.d.ts.map +1 -1
  36. package/contract/types.js +6 -14
  37. package/core/bounded-json.d.ts +4 -0
  38. package/core/bounded-json.d.ts.map +1 -0
  39. package/core/bounded-json.js +38 -0
  40. package/core/cache-state.d.ts +9 -0
  41. package/core/cache-state.d.ts.map +1 -1
  42. package/core/cache-state.js +10 -0
  43. package/core/capabilities-xml.d.ts +33 -0
  44. package/core/capabilities-xml.d.ts.map +1 -0
  45. package/core/capabilities-xml.js +331 -0
  46. package/core/client.d.ts +4 -1
  47. package/core/client.d.ts.map +1 -1
  48. package/core/client.js +115 -29
  49. package/core/error-classifications.d.ts +153 -0
  50. package/core/error-classifications.d.ts.map +1 -0
  51. package/core/error-classifications.js +140 -0
  52. package/core/error-code-registry.d.ts +158 -0
  53. package/core/error-code-registry.d.ts.map +1 -0
  54. package/core/error-code-registry.js +143 -0
  55. package/core/error-envelope.d.ts +68 -0
  56. package/core/error-envelope.d.ts.map +1 -0
  57. package/core/error-envelope.js +357 -0
  58. package/core/errors.d.ts +45 -29
  59. package/core/errors.d.ts.map +1 -1
  60. package/core/errors.js +97 -50
  61. package/core/geoparquet-sql.d.ts +30 -2
  62. package/core/geoparquet-sql.d.ts.map +1 -1
  63. package/core/geoparquet-sql.js +38 -3
  64. package/core/odata-key-path.d.ts +12 -0
  65. package/core/odata-key-path.d.ts.map +1 -0
  66. package/core/odata-key-path.js +28 -0
  67. package/core/odata-write-codec.d.ts +66 -0
  68. package/core/odata-write-codec.d.ts.map +1 -0
  69. package/core/odata-write-codec.js +1083 -0
  70. package/core/odata.d.ts +59 -7
  71. package/core/odata.d.ts.map +1 -1
  72. package/core/odata.js +431 -99
  73. package/core/ogc-features.d.ts.map +1 -1
  74. package/core/ogc-features.js +3 -0
  75. package/core/ogc-maps.d.ts +7 -0
  76. package/core/ogc-maps.d.ts.map +1 -1
  77. package/core/ogc-maps.js +46 -7
  78. package/core/ogc-processes.d.ts +2 -1
  79. package/core/ogc-processes.d.ts.map +1 -1
  80. package/core/ogc-processes.js +33 -5
  81. package/core/ogc-records.d.ts +9 -0
  82. package/core/ogc-records.d.ts.map +1 -1
  83. package/core/ogc-records.js +78 -29
  84. package/core/ogc-tiles.d.ts +10 -1
  85. package/core/ogc-tiles.d.ts.map +1 -1
  86. package/core/ogc-tiles.js +56 -17
  87. package/core/path-utils.d.ts +9 -0
  88. package/core/path-utils.d.ts.map +1 -1
  89. package/core/path-utils.js +19 -0
  90. package/core/protocol-transport.d.ts +1 -0
  91. package/core/protocol-transport.d.ts.map +1 -1
  92. package/core/request-pipeline.d.ts.map +1 -1
  93. package/core/request-pipeline.js +1 -1
  94. package/core/spatial-filter.d.ts +8 -4
  95. package/core/spatial-filter.d.ts.map +1 -1
  96. package/core/spatial-filter.js +206 -16
  97. package/core/stac-static.d.ts +6 -2
  98. package/core/stac-static.d.ts.map +1 -1
  99. package/core/stac-static.js +260 -69
  100. package/core/surfaces.d.ts.map +1 -1
  101. package/core/surfaces.js +69 -5
  102. package/core/types.d.ts +125 -7
  103. package/core/types.d.ts.map +1 -1
  104. package/core/wfs-capabilities.d.ts +2 -0
  105. package/core/wfs-capabilities.d.ts.map +1 -1
  106. package/core/wfs-capabilities.js +8 -1
  107. package/core/wfs.d.ts.map +1 -1
  108. package/core/wfs.js +10 -0
  109. package/core/wms-capabilities.d.ts +56 -84
  110. package/core/wms-capabilities.d.ts.map +1 -1
  111. package/core/wms-capabilities.js +212 -509
  112. package/core/wmts-capabilities.d.ts +62 -62
  113. package/core/wmts-capabilities.d.ts.map +1 -1
  114. package/core/wmts-capabilities.js +224 -371
  115. package/esri-compat/editor.d.ts +8 -0
  116. package/esri-compat/editor.d.ts.map +1 -1
  117. package/esri-compat/editor.js +13 -0
  118. package/esri-compat/feature-layer.d.ts +2 -0
  119. package/esri-compat/feature-layer.d.ts.map +1 -1
  120. package/esri-compat/feature-layer.js +1 -0
  121. package/esri-compat/layer-list.d.ts +11 -0
  122. package/esri-compat/layer-list.d.ts.map +1 -1
  123. package/esri-compat/layer-list.js +49 -0
  124. package/esri-compat/legend.d.ts +10 -0
  125. package/esri-compat/legend.d.ts.map +1 -1
  126. package/esri-compat/legend.js +27 -0
  127. package/esri-compat/portal.d.ts +197 -0
  128. package/esri-compat/portal.d.ts.map +1 -0
  129. package/esri-compat/portal.js +251 -0
  130. package/esri-compat/renderer-objects.d.ts +40 -0
  131. package/esri-compat/renderer-objects.d.ts.map +1 -0
  132. package/esri-compat/renderer-objects.js +62 -0
  133. package/esri-compat/sketch.d.ts +43 -0
  134. package/esri-compat/sketch.d.ts.map +1 -1
  135. package/esri-compat/sketch.js +46 -0
  136. package/esri-compat/snapping.d.ts +43 -0
  137. package/esri-compat/snapping.d.ts.map +1 -0
  138. package/esri-compat/snapping.js +45 -0
  139. package/esri-compat/url.d.ts.map +1 -1
  140. package/esri-compat/url.js +1 -1
  141. package/esri-compat/widget-host.d.ts +84 -0
  142. package/esri-compat/widget-host.d.ts.map +1 -0
  143. package/esri-compat/widget-host.js +159 -0
  144. package/filter-registry/index.d.ts +145 -0
  145. package/filter-registry/index.d.ts.map +1 -0
  146. package/filter-registry/index.js +531 -0
  147. package/generated-app/errors.d.ts +18 -2
  148. package/generated-app/errors.d.ts.map +1 -1
  149. package/generated-app/errors.js +44 -11
  150. package/map/automatic-mount-integration.d.ts +134 -0
  151. package/map/automatic-mount-integration.d.ts.map +1 -0
  152. package/map/automatic-mount-integration.js +305 -0
  153. package/map/automatic-source-strategy.d.ts +125 -0
  154. package/map/automatic-source-strategy.d.ts.map +1 -0
  155. package/map/automatic-source-strategy.js +494 -0
  156. package/map/data-to-map-bridge.d.ts +293 -0
  157. package/map/data-to-map-bridge.d.ts.map +1 -0
  158. package/map/data-to-map-bridge.js +817 -0
  159. package/map/geojson-projection.d.ts +33 -0
  160. package/map/geojson-projection.d.ts.map +1 -0
  161. package/map/geojson-projection.js +118 -0
  162. package/map/index.d.ts +14 -0
  163. package/map/index.d.ts.map +1 -1
  164. package/map/index.js +8 -0
  165. package/map/raster-source-spec.d.ts +30 -0
  166. package/map/raster-source-spec.d.ts.map +1 -0
  167. package/map/raster-source-spec.js +190 -0
  168. package/map/raster-source-strategy.d.ts +65 -0
  169. package/map/raster-source-strategy.d.ts.map +1 -0
  170. package/map/raster-source-strategy.js +232 -0
  171. package/map/source-to-maplibre.d.ts +91 -0
  172. package/map/source-to-maplibre.d.ts.map +1 -0
  173. package/map/source-to-maplibre.js +454 -0
  174. package/map/temporal-playback.d.ts +139 -0
  175. package/map/temporal-playback.d.ts.map +1 -0
  176. package/map/temporal-playback.js +247 -0
  177. package/package.json +14 -1
  178. package/query-planner/canonical.d.ts +7 -0
  179. package/query-planner/canonical.d.ts.map +1 -0
  180. package/query-planner/canonical.js +145 -0
  181. package/query-planner/cql2-json.d.ts +17 -0
  182. package/query-planner/cql2-json.d.ts.map +1 -0
  183. package/query-planner/cql2-json.js +646 -0
  184. package/query-planner/diagnostics.d.ts +35 -0
  185. package/query-planner/diagnostics.d.ts.map +1 -0
  186. package/query-planner/diagnostics.js +373 -0
  187. package/query-planner/duckdb.d.ts +79 -0
  188. package/query-planner/duckdb.d.ts.map +1 -0
  189. package/query-planner/duckdb.js +758 -0
  190. package/query-planner/execution-context.d.ts +5 -0
  191. package/query-planner/execution-context.d.ts.map +1 -0
  192. package/query-planner/execution-context.js +50 -0
  193. package/query-planner/executor.d.ts +5 -0
  194. package/query-planner/executor.d.ts.map +1 -0
  195. package/query-planner/executor.js +223 -0
  196. package/query-planner/geoservices.d.ts +91 -0
  197. package/query-planner/geoservices.d.ts.map +1 -0
  198. package/query-planner/geoservices.js +667 -0
  199. package/query-planner/grpc.d.ts +100 -0
  200. package/query-planner/grpc.d.ts.map +1 -0
  201. package/query-planner/grpc.js +736 -0
  202. package/query-planner/index.d.ts +44 -0
  203. package/query-planner/index.d.ts.map +1 -0
  204. package/query-planner/index.js +30 -0
  205. package/query-planner/ir.d.ts +20 -0
  206. package/query-planner/ir.d.ts.map +1 -0
  207. package/query-planner/ir.js +417 -0
  208. package/query-planner/local-aggregate.d.ts +5 -0
  209. package/query-planner/local-aggregate.d.ts.map +1 -0
  210. package/query-planner/local-aggregate.js +126 -0
  211. package/query-planner/odata.d.ts +48 -0
  212. package/query-planner/odata.d.ts.map +1 -0
  213. package/query-planner/odata.js +662 -0
  214. package/query-planner/ogc-compiler.d.ts +55 -0
  215. package/query-planner/ogc-compiler.d.ts.map +1 -0
  216. package/query-planner/ogc-compiler.js +480 -0
  217. package/query-planner/ogc-features.d.ts +53 -0
  218. package/query-planner/ogc-features.d.ts.map +1 -0
  219. package/query-planner/ogc-features.js +617 -0
  220. package/query-planner/planner.d.ts +17 -0
  221. package/query-planner/planner.d.ts.map +1 -0
  222. package/query-planner/planner.js +818 -0
  223. package/query-planner/resource.d.ts +94 -0
  224. package/query-planner/resource.d.ts.map +1 -0
  225. package/query-planner/resource.js +526 -0
  226. package/query-planner/semantic-canonical.d.ts +15 -0
  227. package/query-planner/semantic-canonical.d.ts.map +1 -0
  228. package/query-planner/semantic-canonical.js +62 -0
  229. package/query-planner/semantic-compat.d.ts +10 -0
  230. package/query-planner/semantic-compat.d.ts.map +1 -0
  231. package/query-planner/semantic-compat.js +35 -0
  232. package/query-planner/semantic-compiler.d.ts +64 -0
  233. package/query-planner/semantic-compiler.d.ts.map +1 -0
  234. package/query-planner/semantic-compiler.js +81 -0
  235. package/query-planner/semantic-literals.d.ts +30 -0
  236. package/query-planner/semantic-literals.d.ts.map +1 -0
  237. package/query-planner/semantic-literals.js +133 -0
  238. package/query-planner/semantic-types.d.ts +265 -0
  239. package/query-planner/semantic-types.d.ts.map +1 -0
  240. package/query-planner/semantic-types.js +1 -0
  241. package/query-planner/semantic.d.ts +54 -0
  242. package/query-planner/semantic.d.ts.map +1 -0
  243. package/query-planner/semantic.js +1421 -0
  244. package/query-planner/types.d.ts +560 -0
  245. package/query-planner/types.d.ts.map +1 -0
  246. package/query-planner/types.js +49 -0
  247. package/query-planner/wfs-semantic.d.ts +58 -0
  248. package/query-planner/wfs-semantic.d.ts.map +1 -0
  249. package/query-planner/wfs-semantic.js +547 -0
  250. package/query-planner/wfs.d.ts +6 -0
  251. package/query-planner/wfs.d.ts.map +1 -0
  252. package/query-planner/wfs.js +71 -0
  253. package/react/external-map.d.ts +67 -0
  254. package/react/external-map.d.ts.map +1 -0
  255. package/react/external-map.js +63 -0
  256. package/react/honua-map.d.ts.map +1 -1
  257. package/react/honua-map.js +3 -2
  258. package/react/honua-source-layer.d.ts +110 -0
  259. package/react/honua-source-layer.d.ts.map +1 -0
  260. package/react/honua-source-layer.js +101 -0
  261. package/react/hooks.d.ts +28 -0
  262. package/react/hooks.d.ts.map +1 -1
  263. package/react/hooks.js +26 -4
  264. package/react/index.d.ts +8 -0
  265. package/react/index.d.ts.map +1 -1
  266. package/react/index.js +5 -0
  267. package/react/query-cache.d.ts +26 -4
  268. package/react/query-cache.d.ts.map +1 -1
  269. package/react/query-cache.js +51 -8
  270. package/react/selection.d.ts +177 -0
  271. package/react/selection.d.ts.map +1 -0
  272. package/react/selection.js +0 -0
  273. package/react/use-mounted-source.d.ts +69 -0
  274. package/react/use-mounted-source.d.ts.map +1 -0
  275. package/react/use-mounted-source.js +346 -0
  276. package/runtime/edit-snapping.d.ts +107 -0
  277. package/runtime/edit-snapping.d.ts.map +1 -0
  278. package/runtime/edit-snapping.js +190 -0
  279. package/runtime/errors.d.ts +3 -2
  280. package/runtime/errors.d.ts.map +1 -1
  281. package/runtime/errors.js +19 -2
  282. package/runtime/index.d.ts +6 -0
  283. package/runtime/index.d.ts.map +1 -1
  284. package/runtime/index.js +3 -0
  285. package/runtime/maplibre-renderer.d.ts +41 -0
  286. package/runtime/maplibre-renderer.d.ts.map +1 -0
  287. package/runtime/maplibre-renderer.js +322 -0
  288. package/runtime/query-tiles.d.ts +2 -1
  289. package/runtime/query-tiles.d.ts.map +1 -1
  290. package/runtime/query-tiles.js +6 -2
  291. package/runtime/source-bridge.d.ts +4 -4
  292. package/runtime/source-bridge.d.ts.map +1 -1
  293. package/runtime/source-bridge.js +9 -56
  294. package/runtime/style-interactions.d.ts +3 -2
  295. package/runtime/style-interactions.d.ts.map +1 -1
  296. package/runtime/style-interactions.js +11 -3
  297. package/runtime/terra-draw-sketch.d.ts +275 -0
  298. package/runtime/terra-draw-sketch.d.ts.map +1 -0
  299. package/runtime/terra-draw-sketch.js +404 -0
  300. package/source-capability-registry.d.ts +1 -0
  301. package/source-capability-registry.js +1 -0
  302. package/source-capability-types.d.ts +186 -0
  303. package/source-capability-types.js +7 -0
  304. package/style/index.d.ts +2 -0
  305. package/style/index.d.ts.map +1 -1
  306. package/style/index.js +2 -0
  307. package/style/renderers.d.ts +326 -0
  308. package/style/renderers.d.ts.map +1 -0
  309. package/style/renderers.js +517 -0
  310. package/webmap/convert-renderer.d.ts +24 -3
  311. package/webmap/convert-renderer.d.ts.map +1 -1
  312. package/webmap/convert-renderer.js +93 -112
  313. package/webmap/index.d.ts +1 -1
  314. package/webmap/index.d.ts.map +1 -1
  315. package/webmap/index.js +1 -1
@@ -0,0 +1,6 @@
1
+ import { type CapabilityAwareSource, type Source, type SourceDescriptor } from "./types.js";
2
+ /** @internal Validate a profile binding and derive its adapter-safe legacy set. */
3
+ export declare function normalizeCapabilityDescriptor(descriptor: SourceDescriptor): SourceDescriptor;
4
+ /** @internal Install one descriptor-authoritative capability view on a source handle. */
5
+ export declare function addCapabilitySupport<T>(source: Source<T>, descriptor: SourceDescriptor): CapabilityAwareSource<T>;
6
+ //# sourceMappingURL=source-capability-support.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-capability-support.d.ts","sourceRoot":"","sources":["../../../src/contract/source-capability-support.ts"],"names":[],"mappings":"AAMA,OAAO,EAGL,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACX,KAAK,gBAAgB,EACtB,MAAM,YAAY,CAAC;AAIpB,mFAAmF;AACnF,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,gBAAgB,GAAG,gBAAgB,CAsC5F;AAED,yFAAyF;AACzF,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,gBAAgB,GAAG,qBAAqB,CAAC,CAAC,CAAC,CA4BjH"}
@@ -0,0 +1,154 @@
1
+ import { isRegisteredCapabilityProfile, matchesRegisteredCapabilityProfileSource, } from "../source-capability-registry.js";
2
+ import { sourceSchemaV2EnvelopeFingerprint } from "./schema-envelope.js";
3
+ import { CAPABILITIES, } from "./types.js";
4
+ const BUILT_IN_CAPABILITY_IDS = new Set(CAPABILITIES);
5
+ /** @internal Validate a profile binding and derive its adapter-safe legacy set. */
6
+ export function normalizeCapabilityDescriptor(descriptor) {
7
+ const profile = descriptor.capabilityProfile;
8
+ if (profile === undefined)
9
+ return descriptor;
10
+ if (!isRegisteredCapabilityProfile(profile)) {
11
+ throw new TypeError(`Source "${descriptor.id}" capabilityProfile must be evaluated or parsed by this SDK instance`);
12
+ }
13
+ if (descriptor.schemaV2 === undefined) {
14
+ throw new TypeError(`Source "${descriptor.id}" capabilityProfile requires a matching schemaV2 identity`);
15
+ }
16
+ const schemaFingerprint = sourceSchemaV2EnvelopeFingerprint(descriptor.schemaV2);
17
+ if (profile.sourceFingerprint !== schemaFingerprint) {
18
+ throw new TypeError(`Source "${descriptor.id}" capabilityProfile does not match its schemaV2 fingerprint`);
19
+ }
20
+ if (!matchesRegisteredCapabilityProfileSource(profile, descriptor)) {
21
+ throw new TypeError(`Source "${descriptor.id}" capabilityProfile does not match its endpoint fingerprint`);
22
+ }
23
+ const effectivelySupported = new Set(profile.entries.filter((entry) => entry.effective === "supported").map((entry) => entry.id));
24
+ const legacyCapabilities = [];
25
+ for (const capability of CAPABILITIES) {
26
+ if (descriptor.capabilities.has(capability) && effectivelySupported.has(capability)) {
27
+ legacyCapabilities.push(capability);
28
+ }
29
+ }
30
+ if (descriptor.capabilities instanceof ImmutableProfileCapabilitySet &&
31
+ descriptor.capabilities.size === legacyCapabilities.length &&
32
+ legacyCapabilities.every((capability) => descriptor.capabilities.has(capability))) {
33
+ return descriptor;
34
+ }
35
+ // The profile is authoritative after admission. Expose a mutation-resistant
36
+ // compatibility view even when its values happen to equal the caller's
37
+ // original Set; otherwise a cast back to Set could silently re-enable an
38
+ // operation after profile validation.
39
+ return { ...descriptor, capabilities: immutableProfileCapabilities(legacyCapabilities) };
40
+ }
41
+ /** @internal Install one descriptor-authoritative capability view on a source handle. */
42
+ export function addCapabilitySupport(source, descriptor) {
43
+ const profile = descriptor.capabilityProfile;
44
+ const supported = profile === undefined
45
+ ? undefined
46
+ : new Set(profile.entries.filter((entry) => entry.effective === "supported").map((entry) => entry.id));
47
+ const supports = ((capability) => {
48
+ if (typeof capability !== "string")
49
+ return false;
50
+ if (supported === undefined) {
51
+ return BUILT_IN_CAPABILITY_IDS.has(capability) && descriptor.capabilities.has(capability);
52
+ }
53
+ if (!supported.has(capability))
54
+ return false;
55
+ return !BUILT_IN_CAPABILITY_IDS.has(capability) || descriptor.capabilities.has(capability);
56
+ });
57
+ const members = [
58
+ { key: "descriptor", value: descriptor, enumerable: true },
59
+ { key: "capabilities", value: descriptor.capabilities, enumerable: true },
60
+ { key: "supports", value: supports, enumerable: false },
61
+ ...(profile !== undefined || Object.hasOwn(source, "capabilityProfile")
62
+ ? [{ key: "capabilityProfile", value: profile, enumerable: false }]
63
+ : []),
64
+ ];
65
+ if (members.every((member) => canInstallCapabilityMember(source, member))) {
66
+ for (const member of members)
67
+ installCapabilityMember(source, member);
68
+ return source;
69
+ }
70
+ return capabilitySupportFacade(source, descriptor, profile, supports);
71
+ }
72
+ function immutableProfileCapabilities(values) {
73
+ return Object.freeze(new ImmutableProfileCapabilitySet(values));
74
+ }
75
+ class ImmutableProfileCapabilitySet {
76
+ #values;
77
+ constructor(values) {
78
+ this.#values = new Set(values);
79
+ }
80
+ get size() {
81
+ return this.#values.size;
82
+ }
83
+ has(value) {
84
+ return this.#values.has(value);
85
+ }
86
+ entries() {
87
+ return this.#values.entries();
88
+ }
89
+ keys() {
90
+ return this.#values.keys();
91
+ }
92
+ values() {
93
+ return this.#values.values();
94
+ }
95
+ forEach(callbackfn, thisArg) {
96
+ for (const value of this.#values)
97
+ callbackfn.call(thisArg, value, value, this);
98
+ }
99
+ [Symbol.iterator]() {
100
+ return this.values();
101
+ }
102
+ [Symbol.toStringTag] = "Set";
103
+ }
104
+ function canInstallCapabilityMember(source, member) {
105
+ const current = Object.getOwnPropertyDescriptor(source, member.key);
106
+ if (current && !current.configurable) {
107
+ return "value" in current && current.value === member.value;
108
+ }
109
+ return Object.isExtensible(source) || current !== undefined;
110
+ }
111
+ function installCapabilityMember(source, member) {
112
+ const current = Object.getOwnPropertyDescriptor(source, member.key);
113
+ if (current && !current.configurable)
114
+ return;
115
+ Object.defineProperty(source, member.key, {
116
+ value: member.value,
117
+ configurable: true,
118
+ enumerable: member.enumerable,
119
+ writable: false,
120
+ });
121
+ }
122
+ function capabilitySupportFacade(source, descriptor, profile, supports) {
123
+ const overrides = new Map([
124
+ ["descriptor", descriptor],
125
+ ["capabilities", descriptor.capabilities],
126
+ ["supports", supports],
127
+ ["capabilityProfile", profile],
128
+ ]);
129
+ const boundMethods = new Map();
130
+ // An empty extensible proxy target avoids invariants from hostile or frozen
131
+ // resolver objects while every forwarded method remains bound to its real
132
+ // receiver (including private-field classes).
133
+ return new Proxy(Object.create(null), {
134
+ get(_target, key) {
135
+ if (overrides.has(key))
136
+ return overrides.get(key);
137
+ const value = Reflect.get(source, key, source);
138
+ if (typeof value !== "function")
139
+ return value;
140
+ const cached = boundMethods.get(key);
141
+ if (cached)
142
+ return cached;
143
+ const bound = value.bind(source);
144
+ boundMethods.set(key, bound);
145
+ return bound;
146
+ },
147
+ has(_target, key) {
148
+ return overrides.has(key) || Reflect.has(source, key);
149
+ },
150
+ getPrototypeOf() {
151
+ return Reflect.getPrototypeOf(source);
152
+ },
153
+ });
154
+ }
@@ -23,8 +23,8 @@ import { HonuaFeatureLayer, HonuaGeometryService, HonuaGeoprocessingService, Hon
23
23
  import { HonuaWfsFeatureType } from "../core/wfs.js";
24
24
  import { HonuaWms, HonuaWmsLayer } from "../core/wms.js";
25
25
  import { HonuaWmts, HonuaWmtsLayer, HonuaWmtsTileset } from "../core/wmts.js";
26
- import { HonuaPmtilesArchive } from "./pmtiles.js";
27
- import { type Capability, type CapabilityPolicy, type CreateDatasetOptions, type Dataset, type Protocol, type Source, type SourceDescriptor } from "./types.js";
26
+ import type { HonuaPmtilesArchive } from "./pmtiles.js";
27
+ import { type Capability, type CapabilityAwareSource, type CapabilityPolicy, type CreateDatasetOptions, type Dataset, type Protocol, type SourceDescriptor } from "./types.js";
28
28
  /**
29
29
  * Construct a protocol-neutral `Dataset` over a `HonuaClient`.
30
30
  *
@@ -103,7 +103,7 @@ export declare function createDataset(options: CreateDatasetOptions): Dataset;
103
103
  * });
104
104
  * ```
105
105
  */
106
- export declare function geoServicesFeatureSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
106
+ export declare function geoServicesFeatureSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
107
107
  /**
108
108
  * Adapter factory for a GeoServices MapServer layer.
109
109
  *
@@ -125,7 +125,7 @@ export declare function geoServicesFeatureSource<T>(descriptor: SourceDescriptor
125
125
  * });
126
126
  * ```
127
127
  */
128
- export declare function geoServicesMapServiceSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
128
+ export declare function geoServicesMapServiceSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
129
129
  /**
130
130
  * Adapter factory for an OGC API Features collection.
131
131
  *
@@ -147,7 +147,7 @@ export declare function geoServicesMapServiceSource<T>(descriptor: SourceDescrip
147
147
  * });
148
148
  * ```
149
149
  */
150
- export declare function ogcFeaturesSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
150
+ export declare function ogcFeaturesSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
151
151
  /**
152
152
  * Build a `Source` over an Esri-style ImageServer endpoint. The query
153
153
  * surface drives the raster catalog (each row is a raster with footprint
@@ -170,7 +170,7 @@ export declare function ogcFeaturesSource<T>(descriptor: SourceDescriptor, clien
170
170
  * const png = await img?.exportImage({ bbox: [-158.5, 21.2, -157.6, 21.7], size: [512, 512] });
171
171
  * ```
172
172
  */
173
- export declare function geoServicesImageSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
173
+ export declare function geoServicesImageSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
174
174
  /**
175
175
  * Build a `Source` over an Esri-style Geometry Service endpoint. Geometry
176
176
  * Service is a stateless utility — it does not host features — so the
@@ -188,7 +188,7 @@ export declare function geoServicesImageSource<T>(descriptor: SourceDescriptor,
188
188
  * });
189
189
  * ```
190
190
  */
191
- export declare function geoServicesGeometryServiceSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
191
+ export declare function geoServicesGeometryServiceSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
192
192
  /**
193
193
  * Build a `Source` over an Esri-style GP (geoprocessing) service. GP
194
194
  * services run async tasks rather than hosting features; the canonical
@@ -202,7 +202,7 @@ export declare function geoServicesGeometryServiceSource<T>(descriptor: SourceDe
202
202
  * const result = await gp!.awaitJobResult(job.jobId);
203
203
  * ```
204
204
  */
205
- export declare function geoServicesGPServiceSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
205
+ export declare function geoServicesGPServiceSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
206
206
  /**
207
207
  * Render-only Source adapter for OGC API Tiles. The query family throws
208
208
  * `HonuaCapabilityNotSupportedError` (the conformance class is
@@ -216,7 +216,7 @@ export declare function geoServicesGPServiceSource<T>(descriptor: SourceDescript
216
216
  * const bytes = await tiles!.tile({ tileMatrix: "WebMercatorQuad", tileRow: 5, tileCol: 8 });
217
217
  * ```
218
218
  */
219
- export declare function ogcTilesSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
219
+ export declare function ogcTilesSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
220
220
  /**
221
221
  * Tiles-only Source adapter for a PMTiles archive (`protocol: "pmtiles"`).
222
222
  *
@@ -231,6 +231,12 @@ export declare function ogcTilesSource<T>(descriptor: SourceDescriptor, client:
231
231
  * `locator.url` may carry a leading `pmtiles://` scheme (the MapLibre form) or
232
232
  * be a bare archive URL; both resolve to the same archive.
233
233
  *
234
+ * This builds the escape-hatch adapter through {@link pmtilesProtocolModule}
235
+ * (issue #538) rather than constructing `HonuaPmtilesArchive` directly, so
236
+ * the built-in wiring runs the same public `ProtocolModule` seam a module
237
+ * registered through `HonuaPluginRegistry` uses
238
+ * (`pmtilesProtocolPlugin`, `@honua/sdk-js/plugin`).
239
+ *
234
240
  * @example
235
241
  * ```ts
236
242
  * const archive = dataset.source("basemap")!.protocol("pmtiles");
@@ -238,7 +244,7 @@ export declare function ogcTilesSource<T>(descriptor: SourceDescriptor, client:
238
244
  * console.log(info.bounds, info.vectorLayers.map((layer) => layer.id));
239
245
  * ```
240
246
  */
241
- export declare function pmtilesSource<T>(descriptor: SourceDescriptor, _client: HonuaClient, policy: CapabilityPolicy): Source<T>;
247
+ export declare function pmtilesSource<T>(descriptor: SourceDescriptor, _client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
242
248
  /**
243
249
  * Render-only Source adapter for OGC API Maps. Same shape as the Tiles
244
250
  * adapter — `Source.protocol("ogc-maps")` exposes the runtime class for
@@ -250,7 +256,7 @@ export declare function pmtilesSource<T>(descriptor: SourceDescriptor, _client:
250
256
  * const png = await maps!.map({ bbox: [-158, 21, -157, 22], width: 512, height: 512 });
251
257
  * ```
252
258
  */
253
- export declare function ogcMapsSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
259
+ export declare function ogcMapsSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
254
260
  /**
255
261
  * Metadata-catalog Source adapter for OGC API Records. The canonical query
256
262
  * family searches one catalog (`locator.collectionId`, the Records
@@ -264,7 +270,7 @@ export declare function ogcMapsSource<T>(descriptor: SourceDescriptor, client: H
264
270
  * const result = await records.query({ where: "type = 'dataset' AND q = 'parcels'" });
265
271
  * ```
266
272
  */
267
- export declare function ogcRecordsSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
273
+ export declare function ogcRecordsSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
268
274
  /**
269
275
  * `Source` adapter for first-party WMS 1.3.0 services. The render path
270
276
  * routes through `HonuaWms` / `HonuaWmsLayer` (both of which sit
@@ -292,7 +298,7 @@ export declare function ogcRecordsSource<T>(descriptor: SourceDescriptor, client
292
298
  * });
293
299
  * ```
294
300
  */
295
- export declare function wmsSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
301
+ export declare function wmsSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
296
302
  /**
297
303
  * Render-only `Source` adapter for first-party WMTS 1.0.0 services.
298
304
  * `Source.query()` throws because WMTS GetFeatureInfo is keyed on tile
@@ -310,7 +316,7 @@ export declare function wmsSource<T>(descriptor: SourceDescriptor, client: Honua
310
316
  * const tile = await wmts!.tile({ tileMatrixSet: "WebMercatorQuad", tileMatrix: "8", tileRow: 5, tileCol: 8 });
311
317
  * ```
312
318
  */
313
- export declare function wmtsSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
319
+ export declare function wmtsSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
314
320
  /**
315
321
  * Adapter factory for a STAC API search endpoint.
316
322
  *
@@ -339,7 +345,7 @@ export declare function wmtsSource<T>(descriptor: SourceDescriptor, client: Honu
339
345
  * });
340
346
  * ```
341
347
  */
342
- export declare function stacSearchSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
348
+ export declare function stacSearchSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
343
349
  /**
344
350
  * Adapter factory for a WFS 2.0 endpoint.
345
351
  *
@@ -366,7 +372,7 @@ export declare function stacSearchSource<T>(descriptor: SourceDescriptor, client
366
372
  * });
367
373
  * ```
368
374
  */
369
- export declare function wfsSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
375
+ export declare function wfsSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): CapabilityAwareSource<T>;
370
376
  /**
371
377
  * Build a `Source` over an OData v4 entity set. The `Query` translation
372
378
  * lowers `where` / `outFields` / `orderBy` / pagination / spatial filter
@@ -381,6 +387,18 @@ export declare function wfsSource<T>(descriptor: SourceDescriptor, client: Honua
381
387
  * precedent for the metadata-driven downgrade pattern referenced in
382
388
  * `docs/shared-client-contract.md`.
383
389
  */
390
+ /** JSON write policy for the canonical OData source adapter. */
391
+ export type OdataWriteEncoding = "legacy" | "lossless-json";
392
+ /** Options for {@link odataSource}. */
393
+ export interface OdataSourceOptions {
394
+ /**
395
+ * Opt into metadata-driven exact EDM body and key encoding. `Edm.Int64`
396
+ * and `Edm.Decimal` values become validated JSON strings and request media
397
+ * types receive `IEEE754Compatible=true` only when required. Defaults to
398
+ * `legacy`, preserving the original JSON bytes and key formatting.
399
+ */
400
+ readonly writeEncoding?: OdataWriteEncoding;
401
+ }
384
402
  /**
385
403
  * Adapter factory for an OData v4 entity set.
386
404
  *
@@ -408,7 +426,7 @@ export declare function wfsSource<T>(descriptor: SourceDescriptor, client: Honua
408
426
  * });
409
427
  * ```
410
428
  */
411
- export declare function odataSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy): Source<T>;
429
+ export declare function odataSource<T>(descriptor: SourceDescriptor, client: HonuaClient, policy: CapabilityPolicy, options?: OdataSourceOptions): CapabilityAwareSource<T>;
412
430
  /**
413
431
  * Declare the shipped adapter → runtime-class bindings so
414
432
  * `Source.adapter("geoservices-feature-service")` et al. narrow to the
@@ -1 +1 @@
1
- {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../src/contract/source.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAIL,mBAAmB,EAOpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGtE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,yBAAyB,EAE1B,MAAM,qBAAqB,CAAC;AAqB7B,OAAO,EAAY,mBAAmB,EAA2B,MAAM,gBAAgB,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAsB,MAAM,gBAAgB,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAsB,MAAM,cAAc,CAAC;AACvE,OAAO,EAeL,KAAK,UAAU,EACf,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