@ai-matrx/records-ui 0.116.60 → 0.116.62
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 +31 -1
- package/dist/{chunk-2YK72GHL.js → chunk-NTOTMYVO.js} +76 -41
- package/dist/chunk-NTOTMYVO.js.map +1 -0
- package/dist/index.cjs +43 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +40 -5
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-2YK72GHL.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
withoutAddition,
|
|
183
183
|
withoutLeadingBlank,
|
|
184
184
|
workedOutErrorFor
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-NTOTMYVO.js";
|
|
186
186
|
import {
|
|
187
187
|
CHART_PLOT_PX,
|
|
188
188
|
EMBEDDED_ROW_PX,
|
|
@@ -2405,6 +2405,7 @@ function opensAsAList(field, takesFiles = false) {
|
|
|
2405
2405
|
const kind2 = editorKindFor(field);
|
|
2406
2406
|
if (kind2 === "member") return true;
|
|
2407
2407
|
if (kind2 === "relation") return true;
|
|
2408
|
+
if (kind2 === "entity_reference") return true;
|
|
2408
2409
|
if (kind2 === "attachment") return takesFiles;
|
|
2409
2410
|
if (kind2 === "select" || kind2 === "multi_select") return CHOICE_EDITOR_ADDS_WHAT_IS_TYPED;
|
|
2410
2411
|
return false;
|
|
@@ -2608,7 +2609,7 @@ import {
|
|
|
2608
2609
|
} from "@ai-matrx/records/react";
|
|
2609
2610
|
import { autonumberSearchOf, filterWithAutonumber } from "@ai-matrx/records";
|
|
2610
2611
|
import { asPermissionLevel, relationNameIndexOf, relationNamesIn } from "@ai-matrx/records";
|
|
2611
|
-
import { MatrxDataTable, MatrxTableCardShowMore, tableStyleIsEmpty, useMatrxTableCard } from "@ai-matrx/design-system/data-table";
|
|
2612
|
+
import { MatrxDataTable, MatrxTableCardShowMore, tableStyleIsEmpty, useMatrxDataTableHost, useMatrxTableCard } from "@ai-matrx/design-system/data-table";
|
|
2612
2613
|
import { announceRecordChanged as announceRecordChanged3, predictWriteRefusals as predictWriteRefusals2 } from "@ai-matrx/records/core";
|
|
2613
2614
|
|
|
2614
2615
|
// src/tableDecorations.ts
|
|
@@ -12497,6 +12498,7 @@ function GridBody({
|
|
|
12497
12498
|
);
|
|
12498
12499
|
const merged = host.grid === "merged";
|
|
12499
12500
|
const phone = useIsMobile();
|
|
12501
|
+
const macLook = useMatrxDataTableHost().defaultLook === "mac";
|
|
12500
12502
|
const toolbarFold2 = useTableToolbarFold();
|
|
12501
12503
|
const sheetExtras = useTableToolbarSheetExtras();
|
|
12502
12504
|
const rights = useTableRights(table.data);
|
|
@@ -14529,7 +14531,7 @@ function GridBody({
|
|
|
14529
14531
|
tableClassName: cn14(
|
|
14530
14532
|
!look.wrap && lines === 1 && "[&_tbody_td]:max-w-[28rem] [&_tbody_td]:overflow-hidden [&_tbody_td]:text-ellipsis [&_tbody_td]:whitespace-nowrap! [&_tbody_td_*:not(textarea)]:whitespace-nowrap!",
|
|
14531
14533
|
// (A textarea is only ever an OPEN long-text editor, whose words must wrap — records walk D10.)
|
|
14532
|
-
embedded && EMBEDDED_TABLE_CLASS,
|
|
14534
|
+
embedded && !macLook && EMBEDDED_TABLE_CLASS,
|
|
14533
14535
|
embedded && !calculationChosen && EMBEDDED_PLAIN_FOOTER_CLASS
|
|
14534
14536
|
),
|
|
14535
14537
|
footerRows,
|