@nika-js/onlymap 0.4.4 → 0.4.6

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.
@@ -1,4 +1,4 @@
1
- import { ai as Bt, ak as Xt, al as Yt, am as Us } from "./index-KgO0MBqA.js";
1
+ import { ai as Bt, ak as Xt, al as Yt, am as Us } from "./index-DSkgI4Oc.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-KgO0MBqA.js";
1
+ import { ae as Be, af as le, ag as ce, ah as De, ai as Oe, aj as ke } from "./index-DSkgI4Oc.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";
@@ -1,4 +1,4 @@
1
- import { ac as _t, ad as Ct } from "./index-KgO0MBqA.js";
1
+ import { ac as _t, ad as Ct } from "./index-DSkgI4Oc.js";
2
2
  function Yt(e, r, t = 2, i, o = "xy") {
3
3
  const s = r && r.length, l = s ? r[0] * t : e.length;
4
4
  let c = Ut(e, 0, l, t, !0, i && i[0], o);
package/dist/index.d.ts CHANGED
@@ -58,7 +58,7 @@ 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, FOLD_SIDES, resolveSlot, slotLayout, slotContainerStyle, foldSideForSlot, foldToggleSlot, foldDrawerStyle, foldPanelStyle, foldToggleStyle, parseWidgetStyle, WIDGET_STYLE_KEY_NAMES, } from "./widget-layout";
61
+ export { MANAGED_SLOTS, LEGACY_POSITION_ALIASES, ALL_POSITION_VALUES, FOLD_SIDES, resolveSlot, slotLayout, slotContainerStyle, foldSideForSlot, foldToggleSlot, foldDrawerStyle, foldPanelStyle, foldToggleStyle, resolveFoldBreakpointPx, shouldFoldAtWidth, DEFAULT_FOLD_BREAKPOINT_PX, FOLD_HYSTERESIS_PX, parseWidgetStyle, WIDGET_STYLE_KEY_NAMES, } from "./widget-layout";
62
62
  export type { ManagedSlot, WidgetSlot, FoldSide, SlotLayout, WidgetStyleParse } from "./widget-layout";
63
63
  export { auditLayout, settleLayout, DEFAULT_AUDIT_WIDTHS, EDGE_TOLERANCE_PX, AUDIT_EXEMPTIONS } from "./layout-audit";
64
64
  export type { LayoutAuditPage, LayoutDiagnostic, AuditOptions } from "./layout-audit";
@@ -28,6 +28,14 @@ export interface LayerSchema {
28
28
  props: PropDescriptor[];
29
29
  /** Hand-authored (curated, ~15) vs. runtime-derived from defaultProps (HU1 tiering). */
30
30
  tier: "curated" | "auto-derived";
31
+ /**
32
+ * Carries a deck `Tileset3D` and supports the `onTilesetLoad` deck prop
33
+ * (spec: "Consumer map events / om-tileset-load") — the runtime injects
34
+ * the tileset-load hook only into these types. Declared HERE, at
35
+ * registration, rather than a name-matched set in runtime-core (the
36
+ * `compact`/`neverHides` widget-flag precedent — one source of truth).
37
+ */
38
+ carriesTileset?: boolean;
31
39
  }
32
40
  export declare function registerLayer(schema: Omit<LayerSchema, "tier"> & {
33
41
  tier?: LayerSchema["tier"];
@@ -1,4 +1,4 @@
1
- import { C as a, D as s } from "./raster-BBA_oI-d.js";
1
+ import { C as a, D as s } from "./raster-DMq8FgiV.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-CgN9Gb9e.js");
11
+ const e = await import("./LercDecode.es-B49qauXg.js");
12
12
  return l || (await e.load(), l = !0), e;
13
13
  }
14
14
  async function i(e, r) {