@fxi/zartigl 0.11.2 → 0.12.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 CHANGED
@@ -83,10 +83,12 @@ Pass `layer` and `source` together when both should switch atomically.
83
83
 
84
84
  `source` takes a source id or a preference:
85
85
 
86
- - `"geovideo"`: fast; surface level and GeoVideo dates only.
87
- - `"zarr"`: all dates and depths; heavier on the client.
88
- - `"auto"`: GeoVideo, falling back to Zarr for other dates and depths; the
89
- layer style always applies. WMTS only when the entry has neither.
86
+ - `"geovideo"`: fast; the surface level, over its archive's whole timeline.
87
+ - `"zarr"`: all native dates and depths; heavier on the client, for analysis.
88
+ - `"auto"`: the entry's default mode, GeoVideo when it has one. No date ever
89
+ switches sources: a date outside the archive snaps to its nearest sample.
90
+ Until GeoVideo renders depths, a level below the surface shows Zarr, and
91
+ the surface GeoVideo again. WMTS only when the entry has neither.
90
92
  - `"wmts"`: rendered by the server, palette and legend included; no
91
93
  particles, and the layer style has no effect.
92
94
 
package/dist/catalog.d.ts CHANGED
@@ -350,8 +350,9 @@ export declare function resolveLocalizedText(value: LocalizedText | undefined, l
350
350
  export declare function searchCatalog(query: string, options?: CatalogSearchOptions, data?: Catalog): CatalogEntry[];
351
351
 
352
352
  /**
353
- * Whether a source can show the requested time. Only fixed-period sources
354
- * (rendered artifacts such as GeoVideo) declare hard bounds; live sources are
353
+ * Whether a source can show the requested time. Fixed-period sources
354
+ * (rendered artifacts such as GeoVideo) declare hard bounds, and the live
355
+ * catalog declares where a store's data begins; other live sources are
355
356
  * assumed to cover any request and are bounded by their own metadata.
356
357
  */
357
358
  export declare function sourceCoversTime(source: CatalogSource, request?: SourceTimeRequest): boolean;
package/dist/catalog.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as s, L as r, P as t, h as o, R as l, i, j as y, g as L, k as S, l as E, n as c, o as g, q as T, t as d, m, a as n, p as C, e as R, d as _, u as f, v as p, r as A, w as v, c as Y, x as u, b as P, s as k } from "./index-J9N3fiZ4.js";
1
+ import { C as s, L as r, P as t, h as o, R as l, i, j as y, g as L, k as S, l as E, n as c, o as g, q as T, t as d, m, a as n, p as C, e as R, d as _, u as f, v as p, r as A, w as v, c as Y, x as u, b as P, s as k } from "./index-Bh7M4QEc.js";
2
2
  export {
3
3
  s as CATALOG_URL,
4
4
  r as LAYER_STYLE_DEFAULTS,