@nika-js/onlymap 0.3.5 → 0.4.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 +5 -4
- package/dist/{LercDecode.es-C1xVetIa.js → LercDecode.es-B35eeLUh.js} +1 -1
- package/dist/{basemap-BkoYlZXu.js → basemap--znNIrJq.js} +8 -2
- package/dist/basemap.d.ts +8 -1
- package/dist/ctx.d.ts +4 -0
- package/dist/elements/om-map.d.ts +33 -3
- package/dist/elements/om-widget.d.ts +15 -0
- package/dist/external-store.d.ts +95 -0
- package/dist/{index-i_KAvtQZ.js → index-BKiyX-jQ.js} +10349 -10051
- package/dist/{index-CY7o8j7i.js → index-C8twrrDP.js} +2 -2
- package/dist/{index-Ck0N90Ri.js → index-CHmCCmPV.js} +1 -1
- package/dist/{index-BJvRiLIi.js → index-ClqgDar6.js} +1 -1
- package/dist/{index-DAx8ax6u.js → index-_K3U-Ww1.js} +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/{lerc-DWGhMWvo.js → lerc-filCwJiM.js} +2 -2
- package/dist/onlymap.standalone.js +14343 -14039
- package/dist/onlymapjs.js +57 -48
- package/dist/programmatic.d.ts +42 -5
- package/dist/{raster-Da1auFQH.js → raster-xUPg8Z-C.js} +2 -2
- package/dist/react/context.d.ts +5 -3
- package/dist/react/om-map.d.ts +2 -0
- package/dist/react/om-widget.d.ts +4 -1
- package/dist/react.js +216 -186
- package/dist/runtime-core.d.ts +9 -2
- package/dist/version.d.ts +1 -1
- package/dist/widget-layout.d.ts +62 -0
- package/docs/external-stores.md +135 -0
- package/docs/react.md +3 -1
- package/llms.txt +3 -3
- package/onlymapjs.html-data.json +36 -1
- package/package.json +11 -6
- package/skills/onlymapjs/SKILL.md +2 -2
- package/skills/onlymapjs/references/react.md +4 -3
- package/skills/onlymapjs/references/syntax.md +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as E, j as S, k as R, n as N, o as h, p as w, q as O, s as W, r as x, t as I, v as B, w as _, x as P, y as k, A as $, B as z, E as v, F, H as C, I as U, J as p, K as M } from "./index-
|
|
2
|
-
import { N as $e, R as ze, _ as ve, O as Ce, P as Ue, Q as Me, S as je, T as De, U as Je, X as qe, Y as He, Z as Ve, $ as Ge, a0 as Ke, a1 as Qe, a2 as Xe, a3 as Ye, a4 as Ze, a5 as et, a6 as tt, a7 as nt, a8 as rt, a9 as at, aa as st, ab as ot } from "./index-
|
|
1
|
+
import { i as E, j as S, k as R, n as N, o as h, p as w, q as O, s as W, r as x, t as I, v as B, w as _, x as P, y as k, A as $, B as z, E as v, F, H as C, I as U, J as p, K as M } from "./index-BKiyX-jQ.js";
|
|
2
|
+
import { N as $e, R as ze, _ as ve, O as Ce, P as Ue, Q as Me, S as je, T as De, U as Je, X as qe, Y as He, Z as Ve, $ as Ge, a0 as Ke, a1 as Qe, a2 as Xe, a3 as Ye, a4 as Ze, a5 as et, a6 as tt, a7 as nt, a8 as rt, a9 as at, aa as st, ab as ot } from "./index-BKiyX-jQ.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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ai as Bt, ak as Xt, al as Yt, am as Us } from "./index-
|
|
1
|
+
import { ai as Bt, ak as Xt, al as Yt, am as Us } from "./index-BKiyX-jQ.js";
|
|
2
2
|
import { w as gs, t as Hs, f as Ws, m as Qs } from "./mgrs-BY9bIvp4.js";
|
|
3
3
|
import { c as Xs } from "./convert-arrow-schema-DrAihRf9.js";
|
|
4
4
|
import { y as Ys, A as bt, a as Ks, z as Vs, R as Zs } from "./recordbatch-Bpc0uxFn.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ae as Be, af as le, ag as ce, ah as De, ai as Oe, aj as ke } from "./index-
|
|
1
|
+
import { ae as Be, af as le, ag as ce, ah as De, ai as Oe, aj as ke } from "./index-BKiyX-jQ.js";
|
|
2
2
|
import { y as ve, a as he, z as G, R as J, A as ue, C as Fe, F as je, n as xe, S as Ie, E as Ne } from "./recordbatch-Bpc0uxFn.js";
|
|
3
3
|
import { g as V, a as fe, b as Le, c as Ue, d as Me, e as qe, m as Ve } from "./table-accessors-CYWTzpQI.js";
|
|
4
4
|
import { c as $e } from "./convert-arrow-schema-DrAihRf9.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -58,6 +58,11 @@ export type { Entitlements } from "./license";
|
|
|
58
58
|
export type { RuntimeContext } from "./ctx";
|
|
59
59
|
export { MapController, descriptorToIR } from "./programmatic";
|
|
60
60
|
export type { LayerDescriptor, MapControllerOptions, CameraState, OverlayPositioner, PickListener } from "./programmatic";
|
|
61
|
+
export { MANAGED_SLOTS, LEGACY_POSITION_ALIASES, ALL_POSITION_VALUES, resolveSlot, slotLayout, slotContainerStyle, parseWidgetStyle, WIDGET_STYLE_KEY_NAMES } from "./widget-layout";
|
|
62
|
+
export type { ManagedSlot, WidgetSlot, SlotLayout, WidgetStyleParse } from "./widget-layout";
|
|
63
|
+
export { isStoreToken } from "./external-store";
|
|
64
|
+
export type { TokenStore, ViewOrigin, ViewportSnapshot, DataVersionSnapshot } from "./external-store";
|
|
65
|
+
export type { LayerMetaSnapshot } from "./ctx";
|
|
61
66
|
export type { Selection } from "./selection";
|
|
62
67
|
export type { CameraOptions } from "./runtime-core";
|
|
63
68
|
export type { MapViewport } from "./basemap";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as a, D as s } from "./raster-
|
|
1
|
+
import { C as a, D as s } from "./raster-xUPg8Z-C.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-B35eeLUh.js");
|
|
12
12
|
return l || (await e.load(), l = !0), e;
|
|
13
13
|
}
|
|
14
14
|
async function i(e, r) {
|