@ai-matrx/records-ui 0.115.108 → 0.116.0
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/CHANGELOG.md +3 -1
- package/dist/{SaveToTable-V3R7QVKV.js → SaveToTable-AG7ZY4IG.js} +3 -3
- package/dist/{chunk-4U2JCICC.js → chunk-3OKHOGSO.js} +1 -1
- package/dist/chunk-3OKHOGSO.js.map +1 -0
- package/dist/{chunk-VGNQBI2J.js → chunk-4ZYGWYQP.js} +2 -2
- package/dist/{chunk-W3EU7H4V.js → chunk-7IZJT3DV.js} +3 -3
- package/dist/helpers.d.cts +37 -1
- package/dist/helpers.d.ts +37 -1
- package/dist/index.cjs +4361 -3681
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +203 -9
- package/dist/index.d.ts +203 -9
- package/dist/index.js +4047 -3370
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +2 -2
- package/package.json +5 -5
- package/dist/chunk-4U2JCICC.js.map +0 -1
- /package/dist/{SaveToTable-V3R7QVKV.js.map → SaveToTable-AG7ZY4IG.js.map} +0 -0
- /package/dist/{chunk-VGNQBI2J.js.map → chunk-4ZYGWYQP.js.map} +0 -0
- /package/dist/{chunk-W3EU7H4V.js.map → chunk-7IZJT3DV.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
### Unreleased
|
|
4
4
|
|
|
5
|
+
- **Map and Org chart layouts (lane AT-VIEWS).** Two new `ViewSwitcher` layouts, so a saved Map or Org chart keeps its view, filter, share link and interface-page place like every layout. `MapLayout` pins an address or latitude/longitude column (addresses are looked up once through the new optional host port `geocodeAddress` and saved on the record into Latitude/Longitude columns); the picture is the host's `mapCanvas` port (`MapCanvasProps`, with the exported `clusterPins` for dense pins) — this package adds no map library, and without a canvas the located records are listed. `OrgChartLayout` draws a self-link column as a tree (collapse/expand, pan, pinch and button zoom, Fit; loops, missing and multiple bosses and several roots are said above the chart). New exports: `MapLayout`, `OrgChartLayout`, `buildOrgForest`, `layoutOrg`, `clusterPins`, `placeRows`, `MapCanvasProps` and friends. Consumer action: bind `mapCanvas` and `geocodeAddress` on `RecordsUiHost` to get the map picture and address lookup.
|
|
6
|
+
- **The client entries ship each module once (0.116.0, build only).** `index`, `table-shape`, `object-actions` and `pickers` are now built as one split ESM group: a module two of them reach lives in one shared `chunk-*.js` instead of a copy per entry, and `SaveToTable` (the root's `import()`) is its own lazy chunk. Before: client ESM 3,374,887 B in 4 files, `dist/index.js` 2,710,479 B as one module, `dist/pickers.js` 623,095 B re-inlining 89 of the same source files. After: 2,698,094 B in 12 files, largest `index.js` 1,849,502 B, `pickers.js` 912 B. Every client file carries `"use client"`; `first-page`, `helpers` and `data-source` are unchanged (no banner, shaken). CJS stays unsplit. Every export path and every exported name is identical (scripted, ESM and CJS). Guard: `scripts/check-client-modules-ship-once.mjs`, run by `build`, fails when one source file sits in more than one client file (red on the old build: 90 modules). Consumer action: none — same exports.
|
|
5
7
|
- **`/helpers` no longer reaches `@ai-matrx/records/core`.** The field-type words, colour resolver, rights and table builders now read `@ai-matrx/records/field-kinds` (needs `@ai-matrx/records` with that subpath), so importing a helper no longer puts the ~600 KB store client on the host's first paint. Guard: `helpers-entry-is-light.test.tsx` fails if `/helpers` reaches `/core` or the records root. Consumer action: none.
|
|
6
8
|
- Tests: `vitest.setup.ts` gives jsdom a no-op `performance.mark` / `measure`.
|
|
7
9
|
- **New subpath `@ai-matrx/records-ui/data-source`:** `recordsDataSource`, `personActor` and the who-changed words (`whenWords`, `actorWords`, `actorBadge`, `lastChangeSentence`, `SOMEBODY`, `THE_SYSTEM`) alone. `/helpers` also carries the field-type words, the colour resolver and the table builders, which read `@ai-matrx/records/core`; this entry reaches `@ai-matrx/kit` only, and shares the one data-source cache with `/helpers` and the root. Additive. Consumer action: a shell-reachable service that only binds its supabase client or says when imports from `/data-source`.
|
|
8
10
|
|
|
9
|
-
## 0.
|
|
11
|
+
## 0.116.0
|
|
10
12
|
|
|
11
13
|
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
12
14
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
SAVE_TO_TABLE_TYPES,
|
|
5
5
|
SaveToTable,
|
|
6
6
|
shapesOfSource
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4ZYGWYQP.js";
|
|
8
8
|
import "./chunk-W5SOKJ5P.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-3OKHOGSO.js";
|
|
10
10
|
import "./chunk-TIZHA6VK.js";
|
|
11
11
|
import "./chunk-6NSGVKYL.js";
|
|
12
12
|
import "./chunk-HKYEHBQT.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
SaveToTable,
|
|
16
16
|
shapesOfSource
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=SaveToTable-
|
|
18
|
+
//# sourceMappingURL=SaveToTable-AG7ZY4IG.js.map
|