@toclocoinc/lattice-grid 1.63.1 → 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.
Files changed (159) hide show
  1. package/README.md +1 -1
  2. package/docs/API.html +393 -33
  3. package/docs/api-detail.html +35 -4
  4. package/lattice-grid.d.ts +1 -1
  5. package/lattice-grid.esm.min.js +83 -7
  6. package/lattice-grid.min.cjs +83 -7
  7. package/lattice-grid.min.css +1 -1
  8. package/lattice-grid.min.js +83 -7
  9. package/modules/ai.d.ts +1 -1
  10. package/modules/ai.esm.min.js +4 -4
  11. package/modules/ai.min.cjs +4 -4
  12. package/modules/ai.min.js +4 -4
  13. package/modules/angular.d.ts +1 -1
  14. package/modules/angular.esm.min.js +2 -2
  15. package/modules/angular.min.cjs +2 -2
  16. package/modules/angular.min.js +2 -2
  17. package/modules/chart-alluvial.d.ts +1 -1
  18. package/modules/chart-alluvial.esm.min.js +1 -1
  19. package/modules/chart-alluvial.min.cjs +1 -1
  20. package/modules/chart-alluvial.min.js +1 -1
  21. package/modules/chart-arc.d.ts +1 -1
  22. package/modules/chart-arc.esm.min.js +1 -1
  23. package/modules/chart-arc.min.cjs +1 -1
  24. package/modules/chart-arc.min.js +1 -1
  25. package/modules/chart-bubblemap.d.ts +1 -1
  26. package/modules/chart-bubblemap.esm.min.js +1 -1
  27. package/modules/chart-bubblemap.min.cjs +1 -1
  28. package/modules/chart-bubblemap.min.js +1 -1
  29. package/modules/chart-bump.d.ts +1 -1
  30. package/modules/chart-bump.esm.min.js +1 -1
  31. package/modules/chart-bump.min.cjs +1 -1
  32. package/modules/chart-bump.min.js +1 -1
  33. package/modules/chart-calendar.d.ts +1 -1
  34. package/modules/chart-calendar.esm.min.js +1 -1
  35. package/modules/chart-calendar.min.cjs +1 -1
  36. package/modules/chart-calendar.min.js +1 -1
  37. package/modules/chart-decomposition.d.ts +1 -1
  38. package/modules/chart-decomposition.esm.min.js +1 -1
  39. package/modules/chart-decomposition.min.cjs +1 -1
  40. package/modules/chart-decomposition.min.js +1 -1
  41. package/modules/chart-diverging.d.ts +1 -1
  42. package/modules/chart-diverging.esm.min.js +1 -1
  43. package/modules/chart-diverging.min.cjs +1 -1
  44. package/modules/chart-diverging.min.js +1 -1
  45. package/modules/chart-dumbbell.d.ts +1 -1
  46. package/modules/chart-dumbbell.esm.min.js +1 -1
  47. package/modules/chart-dumbbell.min.cjs +1 -1
  48. package/modules/chart-dumbbell.min.js +1 -1
  49. package/modules/chart-fan.d.ts +1 -1
  50. package/modules/chart-fan.esm.min.js +1 -1
  51. package/modules/chart-fan.min.cjs +1 -1
  52. package/modules/chart-fan.min.js +1 -1
  53. package/modules/chart-hexbin.d.ts +1 -1
  54. package/modules/chart-hexbin.esm.min.js +1 -1
  55. package/modules/chart-hexbin.min.cjs +1 -1
  56. package/modules/chart-hexbin.min.js +1 -1
  57. package/modules/chart-hexmap.d.ts +1 -1
  58. package/modules/chart-hexmap.esm.min.js +1 -1
  59. package/modules/chart-hexmap.min.cjs +1 -1
  60. package/modules/chart-hexmap.min.js +1 -1
  61. package/modules/chart-icicle.d.ts +1 -1
  62. package/modules/chart-icicle.esm.min.js +1 -1
  63. package/modules/chart-icicle.min.cjs +1 -1
  64. package/modules/chart-icicle.min.js +1 -1
  65. package/modules/chart-parallel.d.ts +1 -1
  66. package/modules/chart-parallel.esm.min.js +1 -1
  67. package/modules/chart-parallel.min.cjs +1 -1
  68. package/modules/chart-parallel.min.js +1 -1
  69. package/modules/chart-ridgeline.d.ts +1 -1
  70. package/modules/chart-ridgeline.esm.min.js +1 -1
  71. package/modules/chart-ridgeline.min.cjs +1 -1
  72. package/modules/chart-ridgeline.min.js +1 -1
  73. package/modules/chart-roc.d.ts +1 -1
  74. package/modules/chart-roc.esm.min.js +1 -1
  75. package/modules/chart-roc.min.cjs +1 -1
  76. package/modules/chart-roc.min.js +1 -1
  77. package/modules/chart-slope.d.ts +1 -1
  78. package/modules/chart-slope.esm.min.js +1 -1
  79. package/modules/chart-slope.min.cjs +1 -1
  80. package/modules/chart-slope.min.js +1 -1
  81. package/modules/chart-splom.d.ts +1 -1
  82. package/modules/chart-splom.esm.min.js +1 -1
  83. package/modules/chart-splom.min.cjs +1 -1
  84. package/modules/chart-splom.min.js +1 -1
  85. package/modules/chart-waffle.d.ts +1 -1
  86. package/modules/chart-waffle.esm.min.js +1 -1
  87. package/modules/chart-waffle.min.cjs +1 -1
  88. package/modules/chart-waffle.min.js +1 -1
  89. package/modules/charts.d.ts +1 -1
  90. package/modules/charts.esm.min.js +4 -4
  91. package/modules/charts.min.cjs +4 -4
  92. package/modules/charts.min.js +4 -4
  93. package/modules/data-router.d.ts +313 -30
  94. package/modules/data-router.esm.min.js +4 -4
  95. package/modules/data-router.min.cjs +4 -4
  96. package/modules/data-router.min.js +4 -4
  97. package/modules/devtools.d.ts +1 -1
  98. package/modules/devtools.esm.min.js +2 -2
  99. package/modules/devtools.min.cjs +2 -2
  100. package/modules/devtools.min.js +2 -2
  101. package/modules/dhtmlx-compat.d.ts +1 -1
  102. package/modules/dhtmlx-compat.esm.min.js +4 -4
  103. package/modules/dhtmlx-compat.min.cjs +4 -4
  104. package/modules/dhtmlx-compat.min.js +4 -4
  105. package/modules/gantt.d.ts +1 -1
  106. package/modules/gantt.esm.min.js +4 -4
  107. package/modules/gantt.min.cjs +4 -4
  108. package/modules/gantt.min.js +4 -4
  109. package/modules/geo-europe-nuts.d.ts +1 -1
  110. package/modules/geo-europe-nuts.esm.min.js +1 -1
  111. package/modules/geo-uk.d.ts +1 -1
  112. package/modules/geo-uk.esm.min.js +1 -1
  113. package/modules/geo-us-states.d.ts +1 -1
  114. package/modules/geo-us-states.esm.min.js +1 -1
  115. package/modules/geo-world-110m.d.ts +1 -1
  116. package/modules/geo-world-110m.esm.min.js +1 -1
  117. package/modules/geo-world-50m.d.ts +1 -1
  118. package/modules/geo-world-50m.esm.min.js +1 -1
  119. package/modules/htmx.d.ts +1 -1
  120. package/modules/htmx.esm.min.js +83 -7
  121. package/modules/htmx.min.cjs +83 -7
  122. package/modules/htmx.min.js +83 -7
  123. package/modules/kanban.d.ts +1 -1
  124. package/modules/kanban.esm.min.js +4 -4
  125. package/modules/kanban.min.cjs +4 -4
  126. package/modules/kanban.min.js +4 -4
  127. package/modules/kpi.d.ts +1 -1
  128. package/modules/kpi.esm.min.js +4 -4
  129. package/modules/kpi.min.cjs +4 -4
  130. package/modules/kpi.min.js +4 -4
  131. package/modules/layout.d.ts +1 -1
  132. package/modules/layout.esm.min.js +4 -4
  133. package/modules/layout.min.cjs +4 -4
  134. package/modules/layout.min.js +4 -4
  135. package/modules/mock-socket.d.ts +1 -1
  136. package/modules/mock-socket.esm.min.js +2 -2
  137. package/modules/mock-socket.min.cjs +2 -2
  138. package/modules/mock-socket.min.js +2 -2
  139. package/modules/react.d.ts +1 -1
  140. package/modules/react.esm.min.js +4 -4
  141. package/modules/react.min.cjs +4 -4
  142. package/modules/react.min.js +4 -4
  143. package/modules/svelte.d.ts +1 -1
  144. package/modules/svelte.esm.min.js +2 -2
  145. package/modules/svelte.min.cjs +2 -2
  146. package/modules/svelte.min.js +2 -2
  147. package/modules/tabs.d.ts +1 -1
  148. package/modules/tabs.esm.min.js +4 -4
  149. package/modules/tabs.min.cjs +4 -4
  150. package/modules/tabs.min.js +4 -4
  151. package/modules/vue.d.ts +1 -1
  152. package/modules/vue.esm.min.js +2 -2
  153. package/modules/vue.min.cjs +2 -2
  154. package/modules/vue.min.js +2 -2
  155. package/modules/webcomponent.d.ts +1 -1
  156. package/modules/webcomponent.esm.min.js +83 -7
  157. package/modules/webcomponent.min.cjs +83 -7
  158. package/modules/webcomponent.min.js +83 -7
  159. package/package.json +1 -1
@@ -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.1</p>
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.1</span>
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.1'</span>
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 &mdash; it receives the row on <code>load</code> and
5770
+ <code>query</code>, and the whole delta on <code>apply</code> &mdash; 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 &mdash; 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.1 · Copyright © 2026 TOCLOCO Inc. All rights reserved.
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.63.1, type declarations
2
+ * Lattice Grid 1.63.3, type declarations
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */