@ai-matrx/records-ui 0.110.9 → 0.110.10
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 +6 -0
- package/dist/first-page.cjs +10 -0
- package/dist/first-page.cjs.map +1 -1
- package/dist/first-page.js +10 -0
- package/dist/first-page.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.110.10
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/records-ui/v0.110.9..npm/records-ui/v0.110.10 -- apps/shared/records-ui`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
3
9
|
## 0.110.9
|
|
4
10
|
### Unreleased
|
|
5
11
|
### lane spaces-fixes-r39
|
package/dist/first-page.cjs
CHANGED
|
@@ -261,6 +261,7 @@ function choiceFieldKeys(fields) {
|
|
|
261
261
|
return kind === "select" || kind === "multi_select";
|
|
262
262
|
}).map((f) => f.key);
|
|
263
263
|
}
|
|
264
|
+
var REVERSE_CELL_CHIPS = 3;
|
|
264
265
|
var MIN_ROW_HEIGHT = 24;
|
|
265
266
|
var MAX_ROW_HEIGHT = 96;
|
|
266
267
|
var AGGREGATE_KINDS = [
|
|
@@ -1272,6 +1273,15 @@ async function askTablePageSeed(input) {
|
|
|
1272
1273
|
}
|
|
1273
1274
|
const unversioned = page.data.rows.filter((row) => ownVersion(row) === null).map((row) => row.id);
|
|
1274
1275
|
if (unversioned.length > 0) reads.push(client.recordHeaders({ ids: unversioned }));
|
|
1276
|
+
reads.push(
|
|
1277
|
+
client.reverseColumns({ table_id: input.tableId }).then(
|
|
1278
|
+
(columns) => columns.ok ? Promise.all(
|
|
1279
|
+
columns.data.map(
|
|
1280
|
+
(c) => client.reverseLinksMany({ table_id: input.tableId, source_field_id: c.source_field_id, record_ids: page.data.rows.map((row) => row.id), limit: REVERSE_CELL_CHIPS })
|
|
1281
|
+
)
|
|
1282
|
+
) : null
|
|
1283
|
+
)
|
|
1284
|
+
);
|
|
1275
1285
|
await Promise.all(reads.map((read) => read.catch(() => null)));
|
|
1276
1286
|
}
|
|
1277
1287
|
}
|