@toclocoinc/lattice-grid 1.63.2 → 1.63.3
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 +1 -1
- package/docs/API.html +393 -33
- package/docs/api-detail.html +35 -4
- package/lattice-grid.d.ts +1 -1
- package/lattice-grid.esm.min.js +4 -4
- package/lattice-grid.min.cjs +4 -4
- package/lattice-grid.min.js +4 -4
- package/modules/ai.d.ts +1 -1
- package/modules/ai.esm.min.js +4 -4
- package/modules/ai.min.cjs +4 -4
- package/modules/ai.min.js +4 -4
- package/modules/angular.d.ts +1 -1
- package/modules/angular.esm.min.js +2 -2
- package/modules/angular.min.cjs +2 -2
- package/modules/angular.min.js +2 -2
- package/modules/chart-alluvial.d.ts +1 -1
- package/modules/chart-alluvial.esm.min.js +1 -1
- package/modules/chart-alluvial.min.cjs +1 -1
- package/modules/chart-alluvial.min.js +1 -1
- package/modules/chart-arc.d.ts +1 -1
- package/modules/chart-arc.esm.min.js +1 -1
- package/modules/chart-arc.min.cjs +1 -1
- package/modules/chart-arc.min.js +1 -1
- package/modules/chart-bubblemap.d.ts +1 -1
- package/modules/chart-bubblemap.esm.min.js +1 -1
- package/modules/chart-bubblemap.min.cjs +1 -1
- package/modules/chart-bubblemap.min.js +1 -1
- package/modules/chart-bump.d.ts +1 -1
- package/modules/chart-bump.esm.min.js +1 -1
- package/modules/chart-bump.min.cjs +1 -1
- package/modules/chart-bump.min.js +1 -1
- package/modules/chart-calendar.d.ts +1 -1
- package/modules/chart-calendar.esm.min.js +1 -1
- package/modules/chart-calendar.min.cjs +1 -1
- package/modules/chart-calendar.min.js +1 -1
- package/modules/chart-decomposition.d.ts +1 -1
- package/modules/chart-decomposition.esm.min.js +1 -1
- package/modules/chart-decomposition.min.cjs +1 -1
- package/modules/chart-decomposition.min.js +1 -1
- package/modules/chart-diverging.d.ts +1 -1
- package/modules/chart-diverging.esm.min.js +1 -1
- package/modules/chart-diverging.min.cjs +1 -1
- package/modules/chart-diverging.min.js +1 -1
- package/modules/chart-dumbbell.d.ts +1 -1
- package/modules/chart-dumbbell.esm.min.js +1 -1
- package/modules/chart-dumbbell.min.cjs +1 -1
- package/modules/chart-dumbbell.min.js +1 -1
- package/modules/chart-fan.d.ts +1 -1
- package/modules/chart-fan.esm.min.js +1 -1
- package/modules/chart-fan.min.cjs +1 -1
- package/modules/chart-fan.min.js +1 -1
- package/modules/chart-hexbin.d.ts +1 -1
- package/modules/chart-hexbin.esm.min.js +1 -1
- package/modules/chart-hexbin.min.cjs +1 -1
- package/modules/chart-hexbin.min.js +1 -1
- package/modules/chart-hexmap.d.ts +1 -1
- package/modules/chart-hexmap.esm.min.js +1 -1
- package/modules/chart-hexmap.min.cjs +1 -1
- package/modules/chart-hexmap.min.js +1 -1
- package/modules/chart-icicle.d.ts +1 -1
- package/modules/chart-icicle.esm.min.js +1 -1
- package/modules/chart-icicle.min.cjs +1 -1
- package/modules/chart-icicle.min.js +1 -1
- package/modules/chart-parallel.d.ts +1 -1
- package/modules/chart-parallel.esm.min.js +1 -1
- package/modules/chart-parallel.min.cjs +1 -1
- package/modules/chart-parallel.min.js +1 -1
- package/modules/chart-ridgeline.d.ts +1 -1
- package/modules/chart-ridgeline.esm.min.js +1 -1
- package/modules/chart-ridgeline.min.cjs +1 -1
- package/modules/chart-ridgeline.min.js +1 -1
- package/modules/chart-roc.d.ts +1 -1
- package/modules/chart-roc.esm.min.js +1 -1
- package/modules/chart-roc.min.cjs +1 -1
- package/modules/chart-roc.min.js +1 -1
- package/modules/chart-slope.d.ts +1 -1
- package/modules/chart-slope.esm.min.js +1 -1
- package/modules/chart-slope.min.cjs +1 -1
- package/modules/chart-slope.min.js +1 -1
- package/modules/chart-splom.d.ts +1 -1
- package/modules/chart-splom.esm.min.js +1 -1
- package/modules/chart-splom.min.cjs +1 -1
- package/modules/chart-splom.min.js +1 -1
- package/modules/chart-waffle.d.ts +1 -1
- package/modules/chart-waffle.esm.min.js +1 -1
- package/modules/chart-waffle.min.cjs +1 -1
- package/modules/chart-waffle.min.js +1 -1
- package/modules/charts.d.ts +1 -1
- package/modules/charts.esm.min.js +4 -4
- package/modules/charts.min.cjs +4 -4
- package/modules/charts.min.js +4 -4
- package/modules/data-router.d.ts +313 -30
- package/modules/data-router.esm.min.js +4 -4
- package/modules/data-router.min.cjs +4 -4
- package/modules/data-router.min.js +4 -4
- package/modules/devtools.d.ts +1 -1
- package/modules/devtools.esm.min.js +2 -2
- package/modules/devtools.min.cjs +2 -2
- package/modules/devtools.min.js +2 -2
- package/modules/dhtmlx-compat.d.ts +1 -1
- package/modules/dhtmlx-compat.esm.min.js +4 -4
- package/modules/dhtmlx-compat.min.cjs +4 -4
- package/modules/dhtmlx-compat.min.js +4 -4
- package/modules/gantt.d.ts +1 -1
- package/modules/gantt.esm.min.js +4 -4
- package/modules/gantt.min.cjs +4 -4
- package/modules/gantt.min.js +4 -4
- package/modules/geo-europe-nuts.d.ts +1 -1
- package/modules/geo-europe-nuts.esm.min.js +1 -1
- package/modules/geo-uk.d.ts +1 -1
- package/modules/geo-uk.esm.min.js +1 -1
- package/modules/geo-us-states.d.ts +1 -1
- package/modules/geo-us-states.esm.min.js +1 -1
- package/modules/geo-world-110m.d.ts +1 -1
- package/modules/geo-world-110m.esm.min.js +1 -1
- package/modules/geo-world-50m.d.ts +1 -1
- package/modules/geo-world-50m.esm.min.js +1 -1
- package/modules/htmx.d.ts +1 -1
- package/modules/htmx.esm.min.js +4 -4
- package/modules/htmx.min.cjs +4 -4
- package/modules/htmx.min.js +4 -4
- package/modules/kanban.d.ts +1 -1
- package/modules/kanban.esm.min.js +4 -4
- package/modules/kanban.min.cjs +4 -4
- package/modules/kanban.min.js +4 -4
- package/modules/kpi.d.ts +1 -1
- package/modules/kpi.esm.min.js +4 -4
- package/modules/kpi.min.cjs +4 -4
- package/modules/kpi.min.js +4 -4
- package/modules/layout.d.ts +1 -1
- package/modules/layout.esm.min.js +4 -4
- package/modules/layout.min.cjs +4 -4
- package/modules/layout.min.js +4 -4
- package/modules/mock-socket.d.ts +1 -1
- package/modules/mock-socket.esm.min.js +2 -2
- package/modules/mock-socket.min.cjs +2 -2
- package/modules/mock-socket.min.js +2 -2
- package/modules/react.d.ts +1 -1
- package/modules/react.esm.min.js +4 -4
- package/modules/react.min.cjs +4 -4
- package/modules/react.min.js +4 -4
- package/modules/svelte.d.ts +1 -1
- package/modules/svelte.esm.min.js +2 -2
- package/modules/svelte.min.cjs +2 -2
- package/modules/svelte.min.js +2 -2
- package/modules/tabs.d.ts +1 -1
- package/modules/tabs.esm.min.js +4 -4
- package/modules/tabs.min.cjs +4 -4
- package/modules/tabs.min.js +4 -4
- package/modules/vue.d.ts +1 -1
- package/modules/vue.esm.min.js +2 -2
- package/modules/vue.min.cjs +2 -2
- package/modules/vue.min.js +2 -2
- package/modules/webcomponent.d.ts +1 -1
- package/modules/webcomponent.esm.min.js +4 -4
- package/modules/webcomponent.min.cjs +4 -4
- package/modules/webcomponent.min.js +4 -4
- package/package.json +1 -1
package/docs/api-detail.html
CHANGED
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
<div class="shell">
|
|
438
438
|
<aside class="rail">
|
|
439
439
|
<p class="rail__brand">Lattice Grid</p>
|
|
440
|
-
<p class="rail__sub">Developer guide · v1.63.
|
|
440
|
+
<p class="rail__sub">Developer guide · v1.63.3</p>
|
|
441
441
|
<nav>
|
|
442
442
|
<div class="rail__group">
|
|
443
443
|
<span class="rail__label">Start here</span>
|
|
@@ -554,7 +554,7 @@
|
|
|
554
554
|
<a href="API.html">reference tables</a> are the shorter version for when you already know.
|
|
555
555
|
</p>
|
|
556
556
|
<p class="chips">
|
|
557
|
-
<span class="chip">Version 1.63.
|
|
557
|
+
<span class="chip">Version 1.63.3</span>
|
|
558
558
|
<span class="chip">Zero dependencies</span>
|
|
559
559
|
<span class="chip">No build step</span>
|
|
560
560
|
</p>
|
|
@@ -1369,7 +1369,7 @@ off(); <span class="cmt">// every subscrip
|
|
|
1369
1369
|
</p>
|
|
1370
1370
|
<div class="example">
|
|
1371
1371
|
<p class="example__label">Which version am I running?</p>
|
|
1372
|
-
<pre><code>grid.getVersion(); <span class="cmt">// '1.63.
|
|
1372
|
+
<pre><code>grid.getVersion(); <span class="cmt">// '1.63.3'</span>
|
|
1373
1373
|
LatticeGrid.getVersion(); <span class="cmt">// the same, when you have no grid to hand</span></code></pre>
|
|
1374
1374
|
</div>
|
|
1375
1375
|
<p class="lead-in">
|
|
@@ -5762,6 +5762,37 @@ socket.onmessage = (event) => {
|
|
|
5762
5762
|
no idea whether it is talking to the first connection or the fifth.</p>
|
|
5763
5763
|
</div>
|
|
5764
5764
|
|
|
5765
|
+
<h3 id="router-websocket-tuning-guide">The knobs a live feed makes you reach for</h3>
|
|
5766
|
+
<p>
|
|
5767
|
+
Four factory options and one route option matter once the feed is real rather than a
|
|
5768
|
+
fixture, and none of them is needed to get started. <code>onUnrouted</code> is the sink
|
|
5769
|
+
for whatever matched no route — it receives the row on <code>load</code> and
|
|
5770
|
+
<code>query</code>, and the whole delta on <code>apply</code> — and is the honest
|
|
5771
|
+
alternative to an <code>attachDefault</code> grid when a stray record is a bug to log
|
|
5772
|
+
rather than a row to show. <code>selectionDebounce</code> (ms, default 16) is how long a
|
|
5773
|
+
linked grid waits before refiltering on a selection change; set it to <code>0</code> in a
|
|
5774
|
+
test so every <code>selection.set</code> refilters before the next statement.
|
|
5775
|
+
<code>metricsInterval</code> (ms, default 1000) is the cadence of the
|
|
5776
|
+
<code>on('metrics')</code> emit, which runs only while a listener is registered; a
|
|
5777
|
+
devtools panel inherits it. On a route, <code>backpressure</code> (<code>{ maxHz,
|
|
5778
|
+
minInterval, sample, maxLag }</code>) throttles how often that one viewer repaints under
|
|
5779
|
+
load without touching what it holds — a chart that cannot draw 200 times a second
|
|
5780
|
+
gets <code>{ maxHz: 10 }</code>, and the grid beside it stays live.
|
|
5781
|
+
</p>
|
|
5782
|
+
<div class="example">
|
|
5783
|
+
<p class="example__label">Persistence survives a reload: choose the store once</p>
|
|
5784
|
+
<pre><code>router.persist({ key: 'orders', dbName: 'lattice', storeName: 'router' });
|
|
5785
|
+
await router.restore(); // true when a snapshot was found and applied</code></pre>
|
|
5786
|
+
</div>
|
|
5787
|
+
<p>
|
|
5788
|
+
<code>persist</code> writes the router's state to IndexedDB under <code>dbName</code> /
|
|
5789
|
+
<code>storeName</code> (defaults are provided; pass your own <code>indexedDB</code> to
|
|
5790
|
+
test against a fake, or a <code>storage</code> pair of <code>get</code>/<code>set</code>
|
|
5791
|
+
to use something else entirely). <code>persisting</code> reads <code>false</code> when the
|
|
5792
|
+
store was unavailable and the router degraded to memory, which is the case to check
|
|
5793
|
+
before promising a user their view will be there tomorrow.
|
|
5794
|
+
</p>
|
|
5795
|
+
|
|
5765
5796
|
<h3 id="router-websocket-fanin-guide">Several independent feeds, one router</h3>
|
|
5766
5797
|
<div class="example">
|
|
5767
5798
|
<p class="example__label">Two sockets, two sources, one merged store</p>
|
|
@@ -9377,7 +9408,7 @@ grid.licence.state(); <span class="cmt">// 'licensed' | 'localhost' | 'trial'<
|
|
|
9377
9408
|
|
|
9378
9409
|
<footer>
|
|
9379
9410
|
<p>
|
|
9380
|
-
Lattice Grid 1.63.
|
|
9411
|
+
Lattice Grid 1.63.3 · Copyright © 2026 TOCLOCO Inc. All rights reserved.
|
|
9381
9412
|
Written against the shipped source. Where this guide and the code disagree, the code wins,
|
|
9382
9413
|
please <a href="https://www.latticegrid.dev">tell us</a>.
|
|
9383
9414
|
</p>
|
package/lattice-grid.d.ts
CHANGED