@toclocoinc/lattice-grid 1.62.0 → 1.62.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 +23 -8
- package/docs/API.html +4 -4
- package/docs/api-detail.html +4 -4
- package/lattice-grid.d.ts +1 -1
- package/lattice-grid.esm.min.js +74 -15
- package/lattice-grid.min.cjs +74 -15
- package/lattice-grid.min.js +74 -15
- 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 +147 -0
- package/modules/chart-alluvial.min.js +147 -0
- package/modules/chart-arc.d.ts +1 -1
- package/modules/chart-arc.esm.min.js +1 -1
- package/modules/chart-arc.min.cjs +106 -0
- package/modules/chart-arc.min.js +106 -0
- package/modules/chart-bubblemap.d.ts +1 -1
- package/modules/chart-bubblemap.esm.min.js +1 -1
- package/modules/chart-bubblemap.min.cjs +90 -0
- package/modules/chart-bubblemap.min.js +90 -0
- package/modules/chart-bump.d.ts +1 -1
- package/modules/chart-bump.esm.min.js +1 -1
- package/modules/chart-bump.min.cjs +110 -0
- package/modules/chart-bump.min.js +110 -0
- package/modules/chart-calendar.d.ts +1 -1
- package/modules/chart-calendar.esm.min.js +1 -1
- package/modules/chart-calendar.min.cjs +129 -0
- package/modules/chart-calendar.min.js +129 -0
- package/modules/chart-decomposition.d.ts +1 -1
- package/modules/chart-decomposition.esm.min.js +1 -1
- package/modules/chart-decomposition.min.cjs +131 -0
- package/modules/chart-decomposition.min.js +131 -0
- package/modules/chart-diverging.d.ts +1 -1
- package/modules/chart-diverging.esm.min.js +1 -1
- package/modules/chart-diverging.min.cjs +104 -0
- package/modules/chart-diverging.min.js +104 -0
- package/modules/chart-dumbbell.d.ts +1 -1
- package/modules/chart-dumbbell.esm.min.js +1 -1
- package/modules/chart-dumbbell.min.cjs +114 -0
- package/modules/chart-dumbbell.min.js +114 -0
- package/modules/chart-fan.d.ts +1 -1
- package/modules/chart-fan.esm.min.js +1 -1
- package/modules/chart-fan.min.cjs +139 -0
- package/modules/chart-fan.min.js +139 -0
- package/modules/chart-hexbin.d.ts +1 -1
- package/modules/chart-hexbin.esm.min.js +1 -1
- package/modules/chart-hexbin.min.cjs +148 -0
- package/modules/chart-hexbin.min.js +148 -0
- package/modules/chart-hexmap.d.ts +1 -1
- package/modules/chart-hexmap.esm.min.js +1 -1
- package/modules/chart-hexmap.min.cjs +124 -0
- package/modules/chart-hexmap.min.js +124 -0
- package/modules/chart-icicle.d.ts +1 -1
- package/modules/chart-icicle.esm.min.js +1 -1
- package/modules/chart-icicle.min.cjs +97 -0
- package/modules/chart-icicle.min.js +97 -0
- package/modules/chart-parallel.d.ts +1 -1
- package/modules/chart-parallel.esm.min.js +1 -1
- package/modules/chart-parallel.min.cjs +123 -0
- package/modules/chart-parallel.min.js +123 -0
- package/modules/chart-ridgeline.d.ts +1 -1
- package/modules/chart-ridgeline.esm.min.js +1 -1
- package/modules/chart-ridgeline.min.cjs +119 -0
- package/modules/chart-ridgeline.min.js +119 -0
- package/modules/chart-roc.d.ts +1 -1
- package/modules/chart-roc.esm.min.js +1 -1
- package/modules/chart-roc.min.cjs +181 -0
- package/modules/chart-roc.min.js +181 -0
- package/modules/chart-slope.d.ts +1 -1
- package/modules/chart-slope.esm.min.js +1 -1
- package/modules/chart-slope.min.cjs +100 -0
- package/modules/chart-slope.min.js +100 -0
- package/modules/chart-splom.d.ts +1 -1
- package/modules/chart-splom.esm.min.js +1 -1
- package/modules/chart-splom.min.cjs +124 -0
- package/modules/chart-splom.min.js +124 -0
- package/modules/chart-waffle.d.ts +1 -1
- package/modules/chart-waffle.esm.min.js +1 -1
- package/modules/chart-waffle.min.cjs +97 -0
- package/modules/chart-waffle.min.js +97 -0
- 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 +1 -1
- 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/htmx.d.ts +1 -1
- package/modules/htmx.esm.min.js +74 -15
- package/modules/htmx.min.cjs +74 -15
- package/modules/htmx.min.js +74 -15
- 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 +2 -2
- package/modules/react.min.cjs +2 -2
- package/modules/react.min.js +2 -2
- 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 +74 -15
- package/modules/webcomponent.min.cjs +74 -15
- package/modules/webcomponent.min.js +74 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
dependencies, no build step required. Optional adapters for React, Vue, Svelte
|
|
5
5
|
and Web Components ship alongside it.
|
|
6
6
|
|
|
7
|
-
Version 1.62.
|
|
7
|
+
Version 1.62.1 · [latticegrid.dev](https://www.latticegrid.dev) · TOCLOCO Inc
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -282,7 +282,8 @@ modules pays for none of them. This section is the complete map: every public
|
|
|
282
282
|
entry point, how to import it from npm, how to reach it on a CDN, and — for the
|
|
283
283
|
`<script>`-tag builds — the browser global it leaves behind.
|
|
284
284
|
|
|
285
|
-
**Three variants ship for
|
|
285
|
+
**Three variants ship for every entry point**, the chart-type extensions
|
|
286
|
+
included. Pick the one your page loads by:
|
|
286
287
|
|
|
287
288
|
- **ESM** — `*.esm.min.js`. The default for a bundler or a native `<script
|
|
288
289
|
type="module">`. This is what the bare `@toclocoinc/lattice-grid` and
|
|
@@ -366,11 +367,13 @@ the page already imported rather than carrying a second copy.
|
|
|
366
367
|
|
|
367
368
|
### Chart-type extensions
|
|
368
369
|
|
|
369
|
-
Eighteen additional chart types ship as separate, tree-shakeable
|
|
370
|
-
|
|
371
|
-
moment it is
|
|
372
|
-
|
|
373
|
-
|
|
370
|
+
Eighteen additional chart types ship as separate, tree-shakeable modules. Each
|
|
371
|
+
one **self-registers** its type onto the charts module's shared registry the
|
|
372
|
+
moment it is loaded — so load the base charts module first, load the extension
|
|
373
|
+
for its side effect, then name the type in `createChart`.
|
|
374
|
+
|
|
375
|
+
Each ships all three variants, like every other module: `.esm.min.js` for a
|
|
376
|
+
bundler, `.min.js` (UMD) for a `<script src>` page, `.min.cjs` for `require()`.
|
|
374
377
|
|
|
375
378
|
```js
|
|
376
379
|
import '@toclocoinc/lattice-grid/modules/charts'; // the base registry
|
|
@@ -378,8 +381,20 @@ import '@toclocoinc/lattice-grid/modules/chart-alluvial'; // registers 'alluvial
|
|
|
378
381
|
createChart({ grid, container, type: 'alluvial', source: 'from', target: 'to', value: 'count' });
|
|
379
382
|
```
|
|
380
383
|
|
|
384
|
+
```html
|
|
385
|
+
<script src="lattice-grid.min.js"></script>
|
|
386
|
+
<script src="modules/charts.min.js"></script> <!-- the base registry -->
|
|
387
|
+
<script src="modules/chart-alluvial.min.js"></script> <!-- registers 'alluvial' -->
|
|
388
|
+
<script>LatticeGrid.createChart({ grid, container, type: 'alluvial', /* ... */ });</script>
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
The UMD build extends the `LatticeGrid` global, exactly as `modules/charts.min.js`
|
|
392
|
+
does, so the order above is the order to load them in: an extension loaded before
|
|
393
|
+
the base charts module throws rather than registering nothing.
|
|
394
|
+
|
|
381
395
|
Each is imported from `@toclocoinc/lattice-grid/modules/chart-<type>` (CDN
|
|
382
|
-
`<file>`: `modules/chart-<type>.esm.min.js
|
|
396
|
+
`<file>`: `modules/chart-<type>.esm.min.js`, or `modules/chart-<type>.min.js` for
|
|
397
|
+
the UMD build), and registers the `type` shown.
|
|
383
398
|
|
|
384
399
|
| Import / `type` | What it draws |
|
|
385
400
|
|---|---|
|
package/docs/API.html
CHANGED
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
<div class="shell">
|
|
361
361
|
<aside class="rail">
|
|
362
362
|
<p class="rail__brand">Lattice Grid</p>
|
|
363
|
-
<p class="rail__sub">API reference · v1.62.
|
|
363
|
+
<p class="rail__sub">API reference · v1.62.1</p>
|
|
364
364
|
<nav>
|
|
365
365
|
<div class="rail__group">
|
|
366
366
|
<span class="rail__label">Start</span>
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
</header>
|
|
444
444
|
|
|
445
445
|
<p class="chips">
|
|
446
|
-
<span class="chip">Version 1.62.
|
|
446
|
+
<span class="chip">Version 1.62.1</span>
|
|
447
447
|
<span class="chip">Zero dependencies</span>
|
|
448
448
|
<span class="chip"><a href="api-detail.html">Developer guide →</a></span>
|
|
449
449
|
</p>
|
|
@@ -1218,7 +1218,7 @@ grid.destroy();
|
|
|
1218
1218
|
<table>
|
|
1219
1219
|
<thead><tr><th>Member</th><th>Returns</th><th>Description</th></tr></thead>
|
|
1220
1220
|
<tbody>
|
|
1221
|
-
<tr><td class="sig">getVersion()</td><td class="type">string</td><td class="desc">The version this grid came from, e.g. <code>'1.62.
|
|
1221
|
+
<tr><td class="sig">getVersion()</td><td class="type">string</td><td class="desc">The version this grid came from, e.g. <code>'1.62.1'</code>. Also on the module as <code>getVersion()</code>, for when you have no grid to hand.</td></tr>
|
|
1222
1222
|
<tr><td class="sig">get(key)</td><td class="type">unknown</td><td class="desc">Read any configuration key.</td></tr>
|
|
1223
1223
|
<tr><td class="sig">set(key, value)</td><td class="type">void</td><td class="desc">Write one key. Every key is live; nothing needs a rebuild.</td></tr>
|
|
1224
1224
|
<tr><td class="sig">setAll(values)</td><td class="type">void</td><td class="desc">Write several in one pass. Emits one <code>config:changed</code> for the batch, not one per key.</td></tr>
|
|
@@ -12934,7 +12934,7 @@ return `next ${p.mean.toFixed(1)}; r2 ${f.r2.toFixed(1)}; band ${p.upper - p.low
|
|
|
12934
12934
|
<!-- END GENERATED TYPE REFERENCE -->
|
|
12935
12935
|
|
|
12936
12936
|
<footer>
|
|
12937
|
-
Lattice Grid 1.62.
|
|
12937
|
+
Lattice Grid 1.62.1 · Copyright © 2026 TOCLOCO Inc. All rights reserved.
|
|
12938
12938
|
This document describes the behaviour of the shipped library. Where this guide and the code
|
|
12939
12939
|
disagree, the code wins: please <a href="https://www.latticegrid.dev">tell us</a>.
|
|
12940
12940
|
</footer>
|
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.62.
|
|
440
|
+
<p class="rail__sub">Developer guide · v1.62.1</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.62.
|
|
557
|
+
<span class="chip">Version 1.62.1</span>
|
|
558
558
|
<span class="chip">Zero dependencies</span>
|
|
559
559
|
<span class="chip">No build step</span>
|
|
560
560
|
</p>
|
|
@@ -1279,7 +1279,7 @@ off(); <span class="cmt">// every subscrip
|
|
|
1279
1279
|
</p>
|
|
1280
1280
|
<div class="example">
|
|
1281
1281
|
<p class="example__label">Which version am I running?</p>
|
|
1282
|
-
<pre><code>grid.getVersion(); <span class="cmt">// '1.62.
|
|
1282
|
+
<pre><code>grid.getVersion(); <span class="cmt">// '1.62.1'</span>
|
|
1283
1283
|
LatticeGrid.getVersion(); <span class="cmt">// the same, when you have no grid to hand</span></code></pre>
|
|
1284
1284
|
</div>
|
|
1285
1285
|
<p class="lead-in">
|
|
@@ -9188,7 +9188,7 @@ grid.licence.state(); <span class="cmt">// 'licensed' | 'localhost' | 'trial'<
|
|
|
9188
9188
|
|
|
9189
9189
|
<footer>
|
|
9190
9190
|
<p>
|
|
9191
|
-
Lattice Grid 1.62.
|
|
9191
|
+
Lattice Grid 1.62.1 · Copyright © 2026 TOCLOCO Inc. All rights reserved.
|
|
9192
9192
|
Written against the shipped source. Where this guide and the code disagree, the code wins,
|
|
9193
9193
|
please <a href="https://www.latticegrid.dev">tell us</a>.
|
|
9194
9194
|
</p>
|
package/lattice-grid.d.ts
CHANGED