@nika-js/onlymap 0.2.0 → 0.2.1
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 +7 -5
- package/dist/{basemap-C0RKcLaL.js → basemap-COurZNDH.js} +2126 -2105
- package/dist/basemap-registry.d.ts +49 -0
- package/dist/basemap.d.ts +22 -2
- package/dist/html-data.d.ts +2 -2
- package/dist/{index-CZf9WlZe.js → index-COu-3-gN.js} +1 -1
- package/dist/{index-DeEur5Xk.js → index-CgyAD98B.js} +1 -1
- package/dist/{index-DnvxPnDF.js → index-CvfuISOc.js} +11661 -11466
- package/dist/{index-BDJ9hHXv.js → index-D-X8KPA1.js} +1 -1
- package/dist/{index-GTGi85ZO.js → index-DuvXK95V.js} +2 -2
- package/dist/index.d.ts +5 -0
- package/dist/onlymapjs.js +20 -17
- package/dist/onlymapjs.umd.cjs +277 -271
- package/dist/programmatic.d.ts +11 -1
- package/dist/react/om-map.d.ts +5 -1
- package/dist/react.js +136 -128
- package/dist/runtime-core.d.ts +34 -1
- package/dist/widget-registry.d.ts +2 -0
- package/docs/basemaps.md +89 -0
- package/docs/react.md +1 -1
- package/llms.txt +3 -3
- package/onlymapjs.html-data.json +57 -1
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +14 -2
- package/skills/onlymapjs/references/react.md +68 -0
- package/skills/onlymapjs/references/syntax.md +5 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var R = Object.defineProperty;
|
|
2
2
|
var N = (t, e, r) => e in t ? R(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var u = (t, e, r) => N(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
-
import { c as W, W as x, d as O, e as _, f as m, h as g, j as P, s as z, n as I, k as B, m as k, o as $, p as C, q as F, r as M, u as U, v as D, w as L, x as j, y as v, z as T, A as J } from "./index-
|
|
5
|
-
import { F as Ue, R as De, _ as je, B as ve, C as Je, D as qe, E as Ve, G as Ge, H as He, I as Ke, J as Qe, K as Xe, L as Ye, M as Ze, N as er, O as rr, P as tr, Q as nr, S as ar, T as sr, U as cr, V as or, X as ir, Y as ur, Z as fr } from "./index-
|
|
4
|
+
import { c as W, W as x, d as O, e as _, f as m, h as g, j as P, s as z, n as I, k as B, m as k, o as $, p as C, q as F, r as M, u as U, v as D, w as L, x as j, y as v, z as T, A as J } from "./index-CvfuISOc.js";
|
|
5
|
+
import { F as Ue, R as De, _ as je, B as ve, C as Je, D as qe, E as Ve, G as Ge, H as He, I as Ke, J as Qe, K as Xe, L as Ye, M as Ze, N as er, O as rr, P as tr, Q as nr, S as ar, T as sr, U as cr, V as or, X as ir, Y as ur, Z as fr } from "./index-CvfuISOc.js";
|
|
6
6
|
import { g as q, i as V } from "./table-accessors-DBjWgN0C.js";
|
|
7
7
|
async function G(t, e, r = {}, n = {}) {
|
|
8
8
|
const a = W(t), s = x.getWorkerFarm(r), { source: c } = r, o = { name: a, source: c };
|
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import { registerLayer, getLayerSchema } from "./layer-registry";
|
|
|
24
24
|
import { registerSource, registerFormat, configureData } from "./data-layer";
|
|
25
25
|
import { registerWidget } from "./widget-registry";
|
|
26
26
|
import { registerAction } from "./actions";
|
|
27
|
+
import { registerBasemap, configureBasemap } from "./basemap-registry";
|
|
27
28
|
import { validateManifestString } from "./validation";
|
|
28
29
|
import { snapshotIR } from "./ir-snapshot";
|
|
29
30
|
export { registerLayer, getLayerSchema } from "./layer-registry";
|
|
@@ -38,6 +39,8 @@ export { configureData } from "./data-layer";
|
|
|
38
39
|
export type { DataRequestConfig } from "./data-layer";
|
|
39
40
|
export { registerWidget } from "./widget-registry";
|
|
40
41
|
export type { WidgetImpl, WidgetHost } from "./widget-registry";
|
|
42
|
+
export { registerBasemap, configureBasemap, getBasemap } from "./basemap-registry";
|
|
43
|
+
export type { BasemapPreset, BasemapStyle } from "./basemap-registry";
|
|
41
44
|
export type { RuntimeContext } from "./ctx";
|
|
42
45
|
export { MapController, descriptorToIR } from "./programmatic";
|
|
43
46
|
export type { LayerDescriptor, MapControllerOptions, CameraState, OverlayPositioner, PickListener } from "./programmatic";
|
|
@@ -75,6 +78,8 @@ export declare const OmMap: {
|
|
|
75
78
|
registerAction: typeof registerAction;
|
|
76
79
|
registerFormat: typeof registerFormat;
|
|
77
80
|
registerSource: typeof registerSource;
|
|
81
|
+
registerBasemap: typeof registerBasemap;
|
|
82
|
+
configureBasemap: typeof configureBasemap;
|
|
78
83
|
configureData: typeof configureData;
|
|
79
84
|
validate: typeof validateManifestString;
|
|
80
85
|
snapshotIR: typeof snapshotIR;
|
package/dist/onlymapjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { an as e, ao as r, ap as o, aq as t, ar as i, as as n, at as l, au as
|
|
1
|
+
import { an as e, ao as r, ap as o, aq as t, ar as i, as as n, at as l, au as m, av as c, aw as p, ax as g, ay as u, az as d, aA as x, aB as S, aC as B, aD as C, aE as M, aF as b, aG as f, aH as w, aI as A, aJ as I, aK as T, aL as v, aM as y, aN as D, aO as F, aP as R, aQ as h, aR as E, aS as L } from "./index-CvfuISOc.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AccessorCache,
|
|
4
4
|
r as CompileError,
|
|
@@ -7,26 +7,29 @@ export {
|
|
|
7
7
|
i as arrowTableToColumnar,
|
|
8
8
|
n as asRows,
|
|
9
9
|
l as compileExpression,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
p as
|
|
10
|
+
m as compileFullJsAccessorBlockInSandbox,
|
|
11
|
+
c as computeTimeline,
|
|
12
|
+
p as configureBasemap,
|
|
13
|
+
g as configureData,
|
|
13
14
|
u as descriptorToIR,
|
|
14
15
|
d as destroySandbox,
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
x as evaluateInSandbox,
|
|
17
|
+
S as getBasemap,
|
|
18
|
+
B as getLayerSchema,
|
|
17
19
|
C as isBrowser,
|
|
18
20
|
M as isColumnar,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
b as mountForTest,
|
|
22
|
+
f as normalizeData,
|
|
21
23
|
w as parseDurationMs,
|
|
22
24
|
A as registerAction,
|
|
23
|
-
I as
|
|
24
|
-
T as
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
h as
|
|
31
|
-
|
|
25
|
+
I as registerBasemap,
|
|
26
|
+
T as registerFormat,
|
|
27
|
+
v as registerLayer,
|
|
28
|
+
y as registerSource,
|
|
29
|
+
D as registerWidget,
|
|
30
|
+
F as rowAt,
|
|
31
|
+
R as sandboxHtml,
|
|
32
|
+
h as snapshotIR,
|
|
33
|
+
E as validateManifest,
|
|
34
|
+
L as validateManifestString
|
|
32
35
|
};
|