@nika-js/onlymap 0.6.11 → 0.6.14
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/CHANGELOG.md +23 -0
- package/README.md +16 -2
- package/dist/{LercDecode.es-C331HMjV.js → LercDecode.es-Bqk5xyNu.js} +1 -1
- package/dist/attribute-resolution.d.ts +4 -0
- package/dist/{basemap-NN5SYEaS.js → basemap-KDsE62YN.js} +1 -1
- package/dist/classify.d.ts +62 -0
- package/dist/clip-box.d.ts +0 -32
- package/dist/data-layer.d.ts +0 -17
- package/dist/draw-controller.d.ts +4 -1
- package/dist/effects.d.ts +1 -0
- package/dist/elements/om-map.d.ts +1 -21
- package/dist/elements/om-story.d.ts +0 -18
- package/dist/expr/errors.d.ts +3 -0
- package/dist/field-access.d.ts +10 -0
- package/dist/geodesy.d.ts +11 -0
- package/dist/{geoparquet-Dmyu5Oou.js → geoparquet-DOexUItM.js} +1 -1
- package/dist/html-data.d.ts +1 -1
- package/dist/{index-D28RTVKt.js → index-BFNjPrc2.js} +1 -1
- package/dist/{index-CSVtCpQL.js → index-D_EyImRx.js} +1 -1
- package/dist/{index-_vNbcONa.js → index-DnsWPk6e.js} +1 -1
- package/dist/{index-BUp4hR6r.js → index-ESUJidEA.js} +21949 -21687
- package/dist/{index-CNxSRD27.js → index-mxTk4d2L.js} +2 -2
- package/dist/layer-registry.d.ts +10 -0
- package/dist/layers/marker-icons.d.ts +0 -2
- package/dist/legend-spec.d.ts +1 -6
- package/dist/{lerc-Cryu98-R.js → lerc-CPb8TKuv.js} +2 -2
- package/dist/onlymap.standalone.js +41385 -41123
- package/dist/onlymapjs.js +1 -1
- package/dist/programmatic.d.ts +5 -16
- package/dist/{raster-BVzTnbhW.js → raster-M2R7FhL7.js} +2 -2
- package/dist/{raster-pipeline-FAPzre9S.js → raster-pipeline-Csa7n5SZ.js} +1 -1
- package/dist/react.js +215 -232
- package/dist/runtime-core.d.ts +35 -1
- package/dist/site-placement.d.ts +0 -2
- package/dist/testing.d.ts +4 -1
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-DCWSzKoG.js → zarr-tHnzENgX.js} +2 -2
- package/docs/testing.md +1 -1
- package/llms.txt +5 -3
- package/onlymapjs.html-data.json +32 -1
- package/package.json +3 -2
- package/skills/onlymapjs/SKILL.md +5 -4
- package/skills/onlymapjs/references/syntax.md +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as E, j as S, k as R, o as N, p as h, q as w, s as O, t as W, v as x, w as I, x as B, y as _, A as P, B as k, E as $, F as z, H as v, I as F, J as C, K as U, N as p, O as M } from "./index-
|
|
2
|
-
import { P as $e, R as ze, _ as ve, Q as Ce, S as Ue, T as Me, U as je, X as De, Y as Je, Z as qe, $ as He, a0 as Ve, a1 as Ge, a2 as Ke, a3 as Qe, a4 as Xe, a5 as Ye, a6 as Ze, a7 as et, a8 as tt, a9 as nt, aa as rt, ab as at, ac as st, ad as ot } from "./index-
|
|
1
|
+
import { i as E, j as S, k as R, o as N, p as h, q as w, s as O, t as W, v as x, w as I, x as B, y as _, A as P, B as k, E as $, F as z, H as v, I as F, J as C, K as U, N as p, O as M } from "./index-ESUJidEA.js";
|
|
2
|
+
import { P as $e, R as ze, _ as ve, Q as Ce, S as Ue, T as Me, U as je, X as De, Y as Je, Z as qe, $ as He, a0 as Ve, a1 as Ge, a2 as Ke, a3 as Qe, a4 as Xe, a5 as Ye, a6 as Ze, a7 as et, a8 as tt, a9 as nt, aa as rt, ab as at, ac as st, ad as ot } from "./index-ESUJidEA.js";
|
|
3
3
|
import { g as j, i as D } from "./table-accessors-CYWTzpQI.js";
|
|
4
4
|
async function J(t, e, n = {}, r = {}) {
|
|
5
5
|
const a = E(t), s = S.getWorkerFarm(n), { source: o } = n, c = { name: a, source: o };
|
package/dist/layer-registry.d.ts
CHANGED
|
@@ -84,3 +84,13 @@ export declare function registerLayer(schema: Omit<LayerSchema, "tier"> & {
|
|
|
84
84
|
export declare function ensureLayerClass(schema: LayerSchema): Promise<void> | null;
|
|
85
85
|
export declare function getLayerSchema(type: string): LayerSchema | undefined;
|
|
86
86
|
export declare function getAllLayerSchemas(): ReadonlyMap<string, LayerSchema>;
|
|
87
|
+
/**
|
|
88
|
+
* The ONE opt-out predicate for the scene-wide per-layer attributes declared
|
|
89
|
+
* above (issue: three call sites each accepted a different value set —
|
|
90
|
+
* runtime-core honored only snap="off", clip-box honored "off"/false, and
|
|
91
|
+
* validation waved through "false" for both — so snap="false" passed
|
|
92
|
+
* validation clean yet kept snapping). Accepts the documented "off" plus the
|
|
93
|
+
* boolean-ish spellings validation already accepts; programmatic descriptors
|
|
94
|
+
* can carry a real `false`.
|
|
95
|
+
*/
|
|
96
|
+
export declare function isSceneOptOut(props: Record<string, unknown>, key: "snap" | "clip"): boolean;
|
|
@@ -25,6 +25,4 @@ export type TrackingIconName = keyof typeof DIRECTIONAL_SVGS;
|
|
|
25
25
|
export declare function isTrackingIconName(v: unknown): v is TrackingIconName;
|
|
26
26
|
/** A directional marker (a `Tracking` layer's moving entity) — every shape points "up" (north) at angle 0, rotated per-row via `getAngle`. Unknown names fall back to the arrow (validation warns at author time). */
|
|
27
27
|
export declare function directionalIcon(name: TrackingIconName | string, color: string): IconDescriptor;
|
|
28
|
-
/** Back-compat alias — the original arrow-only builder. */
|
|
29
|
-
export declare function arrowIcon(color: string): IconDescriptor;
|
|
30
28
|
export {};
|
package/dist/legend-spec.d.ts
CHANGED
|
@@ -58,9 +58,4 @@ export declare const RASTER_COLORMAP_STOPS: Record<string, string[]>;
|
|
|
58
58
|
* label it wrong).
|
|
59
59
|
*/
|
|
60
60
|
export declare function deriveRasterLegendSpec(colormap: string | null | undefined, min: number | null | undefined, max: number | null | undefined): LegendSpec | undefined;
|
|
61
|
-
|
|
62
|
-
* Derive a LegendSpec from a `get-fill-color` source expression. Returns
|
|
63
|
-
* undefined when the expression isn't one of the recognizable shapes (the
|
|
64
|
-
* widget falls back to the single swatch).
|
|
65
|
-
*/
|
|
66
|
-
export declare function deriveLegendSpec(source: string | undefined | null): LegendSpec | undefined;
|
|
61
|
+
export declare function deriveLegendSpec(source: string | null | undefined): LegendSpec | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as a, D as s } from "./raster-
|
|
1
|
+
import { C as a, D as s } from "./raster-M2R7FhL7.js";
|
|
2
2
|
const D = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3
3
|
__proto__: null
|
|
4
4
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -8,7 +8,7 @@ var t;
|
|
|
8
8
|
})(t || (t = {}));
|
|
9
9
|
let l = !1;
|
|
10
10
|
async function d() {
|
|
11
|
-
const e = await import("./LercDecode.es-
|
|
11
|
+
const e = await import("./LercDecode.es-Bqk5xyNu.js");
|
|
12
12
|
return l || (await e.load(), l = !0), e;
|
|
13
13
|
}
|
|
14
14
|
async function i(e, r) {
|