@ai-matrx/records-ui 0.116.24 → 0.116.25
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 +16 -1
- package/README.md +3 -3
- package/dist/SaveToTable-P3MPRSCW.js +20 -0
- package/dist/{chunk-MUK63ANA.js → chunk-4ZS4WEEE.js} +3 -3
- package/dist/chunk-4ZS4WEEE.js.map +1 -0
- package/dist/{chunk-SYHUPGCU.js → chunk-6Z537SLG.js} +1 -1
- package/dist/{chunk-SYHUPGCU.js.map → chunk-6Z537SLG.js.map} +1 -1
- package/dist/{chunk-ODABFEHG.js → chunk-7RSMA3NK.js} +3 -3
- package/dist/chunk-7RSMA3NK.js.map +1 -0
- package/dist/{chunk-VHZKLE63.js → chunk-FLIERNH7.js} +9 -9
- package/dist/chunk-FLIERNH7.js.map +1 -0
- package/dist/{chunk-ZNIXJ5RY.js → chunk-KQR2RA4V.js} +3 -3
- package/dist/{chunk-WQGFKNE2.js → chunk-OJTJ4HJI.js} +26 -26
- package/dist/chunk-OJTJ4HJI.js.map +1 -0
- package/dist/{chunk-PPWNFIJ5.js → chunk-OV6QBL5R.js} +2 -2
- package/dist/{chunk-PPWNFIJ5.js.map → chunk-OV6QBL5R.js.map} +1 -1
- package/dist/{chunk-5IX4BL72.js → chunk-QBMUTXTQ.js} +2 -2
- package/dist/{chunk-5IX4BL72.js.map → chunk-QBMUTXTQ.js.map} +1 -1
- package/dist/{chunk-MCDA6L7E.js → chunk-TC5S4VOW.js} +2 -2
- package/dist/chunk-TC5S4VOW.js.map +1 -0
- package/dist/{chunk-FECWKOWW.js → chunk-W7GR64CB.js} +1 -1
- package/dist/chunk-W7GR64CB.js.map +1 -0
- package/dist/{chunk-FHL4GG6R.js → chunk-WCQSJPLS.js} +2 -2
- package/dist/chunk-WCQSJPLS.js.map +1 -0
- package/dist/data-source.cjs.map +1 -1
- package/dist/data-source.d.cts +1 -1
- package/dist/data-source.d.ts +1 -1
- package/dist/data-source.js.map +1 -1
- package/dist/first-page.cjs.map +1 -1
- package/dist/first-page.d.cts +1 -1
- package/dist/first-page.d.ts +1 -1
- package/dist/first-page.js.map +1 -1
- package/dist/helpers.cjs +4 -4
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +9 -9
- package/dist/helpers.d.ts +9 -9
- package/dist/helpers.js +4 -4
- package/dist/helpers.js.map +1 -1
- package/dist/html-frame.cjs.map +1 -1
- package/dist/html-frame.d.cts +1 -1
- package/dist/html-frame.d.ts +1 -1
- package/dist/html-frame.js +1 -1
- package/dist/index.cjs +147 -116
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +46 -46
- package/dist/index.d.ts +46 -46
- package/dist/index.js +133 -102
- package/dist/index.js.map +1 -1
- package/dist/object-actions.cjs +2 -2
- package/dist/object-actions.cjs.map +1 -1
- package/dist/object-actions.js +3 -3
- package/dist/pickers.cjs +23 -23
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +8 -8
- package/dist/skeleton.cjs.map +1 -1
- package/dist/skeleton.js +4 -4
- package/dist/table-shape.cjs.map +1 -1
- package/dist/table-shape.js +1 -1
- package/package.json +4 -4
- package/dist/SaveToTable-PGOQVYVS.js +0 -20
- package/dist/chunk-FECWKOWW.js.map +0 -1
- package/dist/chunk-FHL4GG6R.js.map +0 -1
- package/dist/chunk-MCDA6L7E.js.map +0 -1
- package/dist/chunk-MUK63ANA.js.map +0 -1
- package/dist/chunk-ODABFEHG.js.map +0 -1
- package/dist/chunk-VHZKLE63.js.map +0 -1
- package/dist/chunk-WQGFKNE2.js.map +0 -1
- /package/dist/{SaveToTable-PGOQVYVS.js.map → SaveToTable-P3MPRSCW.js.map} +0 -0
- /package/dist/{chunk-ZNIXJ5RY.js.map → chunk-KQR2RA4V.js.map} +0 -0
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-OJTJ4HJI.js";
|
|
186
186
|
import {
|
|
187
187
|
CHART_PLOT_PX,
|
|
188
188
|
EMBEDDED_ROW_PX,
|
|
@@ -198,7 +198,7 @@ import {
|
|
|
198
198
|
skeletonLayoutFor,
|
|
199
199
|
useExpectedRows,
|
|
200
200
|
useRememberedLayout
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-QBMUTXTQ.js";
|
|
202
202
|
import {
|
|
203
203
|
DEFAULT_FOOTER,
|
|
204
204
|
EMBEDDED_LOOK,
|
|
@@ -226,7 +226,7 @@ import {
|
|
|
226
226
|
viewSettings,
|
|
227
227
|
viewSettingsFor,
|
|
228
228
|
viewSettingsPatch
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-TC5S4VOW.js";
|
|
230
230
|
import {
|
|
231
231
|
HTML_SAMPLE_CSP,
|
|
232
232
|
HTML_SAMPLE_SANDBOX,
|
|
@@ -234,7 +234,7 @@ import {
|
|
|
234
234
|
HtmlSampleTokensProvider,
|
|
235
235
|
SAMPLE_TOKEN_NAMES,
|
|
236
236
|
sampleDocument
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-W7GR64CB.js";
|
|
238
238
|
import {
|
|
239
239
|
ArchiveItemMenu,
|
|
240
240
|
ArchivedBuiltOn,
|
|
@@ -293,7 +293,7 @@ import {
|
|
|
293
293
|
visibilityLaneFor,
|
|
294
294
|
whyNotAskable,
|
|
295
295
|
writeOnTheWinningVersion_exports
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-FLIERNH7.js";
|
|
297
297
|
import {
|
|
298
298
|
ACTION_CHECKING_ACCESS_REASON,
|
|
299
299
|
ACTION_NOT_HERE_REASON,
|
|
@@ -313,7 +313,7 @@ import {
|
|
|
313
313
|
toDropdownEntries,
|
|
314
314
|
toStripAndRows,
|
|
315
315
|
withExtensions
|
|
316
|
-
} from "./chunk-
|
|
316
|
+
} from "./chunk-KQR2RA4V.js";
|
|
317
317
|
import {
|
|
318
318
|
ABSENCE_WORD_LABEL,
|
|
319
319
|
ABSENCE_WORD_VALUES,
|
|
@@ -400,7 +400,7 @@ import {
|
|
|
400
400
|
useRowRights,
|
|
401
401
|
useTableRights,
|
|
402
402
|
withoutInternalCodes
|
|
403
|
-
} from "./chunk-
|
|
403
|
+
} from "./chunk-7RSMA3NK.js";
|
|
404
404
|
import {
|
|
405
405
|
FEWEST_KEY_VALUE_PAIRS,
|
|
406
406
|
FEWEST_LIST_ITEMS,
|
|
@@ -413,7 +413,7 @@ import {
|
|
|
413
413
|
shapeOfGrid,
|
|
414
414
|
shapeOfValue,
|
|
415
415
|
shapeTextOfNode
|
|
416
|
-
} from "./chunk-
|
|
416
|
+
} from "./chunk-6Z537SLG.js";
|
|
417
417
|
import {
|
|
418
418
|
DATABASE_LOCKED_REASON,
|
|
419
419
|
KERNEL_REASON,
|
|
@@ -423,7 +423,7 @@ import {
|
|
|
423
423
|
tableIsLocked,
|
|
424
424
|
whatYouMayDo,
|
|
425
425
|
whatYouMayDoWithTable
|
|
426
|
-
} from "./chunk-
|
|
426
|
+
} from "./chunk-OV6QBL5R.js";
|
|
427
427
|
import {
|
|
428
428
|
PARITY_LABEL,
|
|
429
429
|
PARITY_MADE_OF,
|
|
@@ -450,7 +450,7 @@ import {
|
|
|
450
450
|
storedChoiceColor,
|
|
451
451
|
storedChoiceColorLookup,
|
|
452
452
|
timeOfDayWords
|
|
453
|
-
} from "./chunk-
|
|
453
|
+
} from "./chunk-4ZS4WEEE.js";
|
|
454
454
|
import {
|
|
455
455
|
ADD_FIELD_OPEN_LABEL,
|
|
456
456
|
FIELD_TYPE_CATALOGUE,
|
|
@@ -463,7 +463,7 @@ import {
|
|
|
463
463
|
kindsWithNoChoice,
|
|
464
464
|
parityTypesWithNoExplanation,
|
|
465
465
|
storePublishesKind
|
|
466
|
-
} from "./chunk-
|
|
466
|
+
} from "./chunk-WCQSJPLS.js";
|
|
467
467
|
import {
|
|
468
468
|
__reExport
|
|
469
469
|
} from "./chunk-HKYEHBQT.js";
|
|
@@ -2479,9 +2479,9 @@ function OpenCell({
|
|
|
2479
2479
|
className: cn(
|
|
2480
2480
|
// OVER the cell's ghost (see `data-records-open-cell`), never in the table's measuring.
|
|
2481
2481
|
"absolute inset-x-0 z-[25] flex w-full min-w-0 max-w-full flex-col gap-1 outline-none",
|
|
2482
|
-
// A one-line control sits
|
|
2482
|
+
// A one-line control sits centerd on the row; a multi-line box hangs from the cell's top and
|
|
2483
2483
|
// grows downward over the rows below (Airtable's expanded long-text cell), never up over the
|
|
2484
|
-
// header (D10:
|
|
2484
|
+
// header (D10: centerd, its first lines sat 58px above the cell, outside it).
|
|
2485
2485
|
// …and its words wrap: the one-line frame sets `white-space: nowrap` on every descendant, so the
|
|
2486
2486
|
// textarea scrolled sideways on one line (live, after the clip was lifted).
|
|
2487
2487
|
multiline ? "top-0 rounded-md bg-card shadow-md [&_textarea]:![white-space:pre-wrap] [&_textarea]:![overflow-wrap:anywhere]" : "top-1/2 -translate-y-1/2",
|
|
@@ -3906,9 +3906,9 @@ function paintByOption(style, _fields, index, lookup) {
|
|
|
3906
3906
|
}
|
|
3907
3907
|
return out ?? doc;
|
|
3908
3908
|
},
|
|
3909
|
-
// A CHOICE PAINTS IN ITS OWN
|
|
3910
|
-
// carries the
|
|
3911
|
-
// pink by the hash. The option's
|
|
3909
|
+
// A CHOICE PAINTS IN ITS OWN COLOR (DATA-V2-BASICS-2 C1b): an option kept in its own Table
|
|
3910
|
+
// carries the color its owner gave it; colored by Status, a "Verified" (green) row was tinted
|
|
3911
|
+
// pink by the hash. The option's color first, then the column's stored colors, then the hash.
|
|
3912
3912
|
choiceColorFor: (fieldKey, value) => {
|
|
3913
3913
|
const option = optionFor(index.get(fieldKey), value);
|
|
3914
3914
|
if (!option) return lookup(fieldKey, value);
|
|
@@ -3987,7 +3987,7 @@ function useGridColours(args) {
|
|
|
3987
3987
|
async (path, value, said) => {
|
|
3988
3988
|
const answer = await client.tableDecorate({ table_id: tableId, path, value });
|
|
3989
3989
|
if (!answer.ok) {
|
|
3990
|
-
notify?.error(`The
|
|
3990
|
+
notify?.error(`The color was not kept: ${refusalSentence(answer.error)}`);
|
|
3991
3991
|
return false;
|
|
3992
3992
|
}
|
|
3993
3993
|
decorations.apply(answer.data);
|
|
@@ -4006,34 +4006,34 @@ function useGridColours(args) {
|
|
|
4006
4006
|
const name = fieldName(field);
|
|
4007
4007
|
const by = decorations.data?.color_by;
|
|
4008
4008
|
const byThis = by?.field === field.id;
|
|
4009
|
-
const byWhy = colourableBy(field) ? void 0 : `${name} holds free values; rows are
|
|
4009
|
+
const byWhy = colourableBy(field) ? void 0 : `${name} holds free values; rows are colored by a column of choices or ticks. Use a color rule instead.`;
|
|
4010
4010
|
const column = decorations.data?.columns?.[field.id];
|
|
4011
4011
|
return {
|
|
4012
4012
|
id: "col-colour",
|
|
4013
|
-
label: "
|
|
4013
|
+
label: "Color by\u2026",
|
|
4014
4014
|
icon: "palette",
|
|
4015
4015
|
disabledReason: refusal3,
|
|
4016
4016
|
submenu: [
|
|
4017
4017
|
byThis ? {
|
|
4018
4018
|
id: "col-colour-off",
|
|
4019
|
-
label: `Stop
|
|
4020
|
-
onSelect: () => void write(["color_by"], null, `Rows are no longer
|
|
4019
|
+
label: `Stop coloring by ${name}`,
|
|
4020
|
+
onSelect: () => void write(["color_by"], null, `Rows are no longer colored by ${name}.`)
|
|
4021
4021
|
} : {
|
|
4022
4022
|
id: "col-colour-rows",
|
|
4023
|
-
label: "
|
|
4023
|
+
label: "Color rows by this column",
|
|
4024
4024
|
disabledReason: byWhy,
|
|
4025
|
-
onSelect: () => void write(["color_by"], { field: field.id, target: "row" }, `Each row wears the
|
|
4025
|
+
onSelect: () => void write(["color_by"], { field: field.id, target: "row" }, `Each row wears the color of its ${name}.`)
|
|
4026
4026
|
},
|
|
4027
4027
|
...byThis && by?.target === "row" ? [
|
|
4028
4028
|
{
|
|
4029
4029
|
id: "col-colour-cells",
|
|
4030
|
-
label: "
|
|
4031
|
-
onSelect: () => void write(["color_by"], { field: field.id, target: "cell" }, `Only ${name}'s cells wear their
|
|
4030
|
+
label: "Color only this column's cells",
|
|
4031
|
+
onSelect: () => void write(["color_by"], { field: field.id, target: "cell" }, `Only ${name}'s cells wear their color now.`)
|
|
4032
4032
|
}
|
|
4033
4033
|
] : [],
|
|
4034
4034
|
{
|
|
4035
4035
|
id: "col-colour-rules",
|
|
4036
|
-
label: "
|
|
4036
|
+
label: "Color rules\u2026",
|
|
4037
4037
|
onSelect: () => setRulesOpen(columnKey)
|
|
4038
4038
|
},
|
|
4039
4039
|
{
|
|
@@ -4087,7 +4087,7 @@ function useGridColours(args) {
|
|
|
4087
4087
|
if (!field) continue;
|
|
4088
4088
|
const answer = await client.tableDecorate({ table_id: tableId, path: ["cells", cell.rowId, field.id], value: color });
|
|
4089
4089
|
if (!answer.ok) {
|
|
4090
|
-
notify?.error(`The
|
|
4090
|
+
notify?.error(`The color was not kept: ${refusalSentence(answer.error)}`);
|
|
4091
4091
|
return;
|
|
4092
4092
|
}
|
|
4093
4093
|
decorations.apply(answer.data);
|
|
@@ -4132,13 +4132,13 @@ function useGridColours(args) {
|
|
|
4132
4132
|
drafts: draftsFromView(view.rules, fields),
|
|
4133
4133
|
onSave: async (drafts) => {
|
|
4134
4134
|
view.save(viewRulesFrom(drafts));
|
|
4135
|
-
notify?.success(drafts.length === 0 ? "This view's
|
|
4135
|
+
notify?.success(drafts.length === 0 ? "This view's color rules are cleared." : "This view's color rules are kept.");
|
|
4136
4136
|
setRulesOpen(null);
|
|
4137
4137
|
}
|
|
4138
4138
|
}
|
|
4139
4139
|
} : {},
|
|
4140
4140
|
onSave: async (drafts) => {
|
|
4141
|
-
const kept = await write(["rules"], rulesLeaf(drafts, fields), drafts.length === 0 ? "The
|
|
4141
|
+
const kept = await write(["rules"], rulesLeaf(drafts, fields), drafts.length === 0 ? "The color rules are cleared." : "The color rules are kept.");
|
|
4142
4142
|
if (kept) setRulesOpen(null);
|
|
4143
4143
|
}
|
|
4144
4144
|
}
|
|
@@ -4146,25 +4146,25 @@ function useGridColours(args) {
|
|
|
4146
4146
|
const colourable = fields.filter(colourableBy);
|
|
4147
4147
|
const byId = decorations.data?.color_by?.field ?? null;
|
|
4148
4148
|
const sheet = enabled ? /* @__PURE__ */ jsxs11("div", { className: "flex flex-col gap-1.5", "data-records-grid-sheet-colours": "", children: [
|
|
4149
|
-
/* @__PURE__ */ jsx12("span", { className: "text-xs font-medium text-muted-foreground", children: "
|
|
4149
|
+
/* @__PURE__ */ jsx12("span", { className: "text-xs font-medium text-muted-foreground", children: "Colors" }),
|
|
4150
4150
|
mayColour ? /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-2", children: [
|
|
4151
4151
|
/* @__PURE__ */ jsxs11("label", { className: "flex min-w-0 flex-1 items-center gap-2 text-xs text-muted-foreground", children: [
|
|
4152
|
-
/* @__PURE__ */ jsx12("span", { className: "shrink-0", children: "
|
|
4152
|
+
/* @__PURE__ */ jsx12("span", { className: "shrink-0", children: "Color rows by" }),
|
|
4153
4153
|
/* @__PURE__ */ jsx12(
|
|
4154
4154
|
PickOne,
|
|
4155
4155
|
{
|
|
4156
|
-
label: "
|
|
4156
|
+
label: "Color rows by",
|
|
4157
4157
|
className: "h-10 min-w-0 flex-1 text-base",
|
|
4158
4158
|
value: byId ?? "",
|
|
4159
4159
|
onChange: (id) => {
|
|
4160
4160
|
const field = fields.find((f) => f.id === id);
|
|
4161
|
-
void (field ? write(["color_by"], { field: field.id, target: "row" }, `Each row wears the
|
|
4161
|
+
void (field ? write(["color_by"], { field: field.id, target: "row" }, `Each row wears the color of its ${fieldName(field)}.`) : write(["color_by"], null, "Rows are no longer colored by a column."));
|
|
4162
4162
|
},
|
|
4163
|
-
options: [{ value: "", label: "No
|
|
4163
|
+
options: [{ value: "", label: "No color" }, ...colourable.map((field) => ({ value: field.id, label: fieldName(field) }))]
|
|
4164
4164
|
}
|
|
4165
4165
|
)
|
|
4166
4166
|
] }),
|
|
4167
|
-
/* @__PURE__ */ jsx12(Button10, { type: "button", size: "sm", variant: "outline", className: "h-10 shrink-0", onClick: () => setRulesOpen(colourable[0]?.key ?? fields[0]?.key ?? ""), children: "
|
|
4167
|
+
/* @__PURE__ */ jsx12(Button10, { type: "button", size: "sm", variant: "outline", className: "h-10 shrink-0", onClick: () => setRulesOpen(colourable[0]?.key ?? fields[0]?.key ?? ""), children: "Color rules\u2026" })
|
|
4168
4168
|
] }) : /* @__PURE__ */ jsx12("p", { className: "text-xs text-muted-foreground", children: whyNot })
|
|
4169
4169
|
] }) : null;
|
|
4170
4170
|
return { headerItem, cellItem, cellsItem, rowItem, dialogs, sheet };
|
|
@@ -4215,7 +4215,7 @@ function ColourRulesDialog({
|
|
|
4215
4215
|
const first = startField ?? fields[0]?.key ?? "";
|
|
4216
4216
|
return /* @__PURE__ */ jsx12(Dialog6, { open, onOpenChange: (next) => !next ? close() : void 0, children: /* @__PURE__ */ jsxs11(DialogContent6, { className: "sm:max-w-2xl", "data-records-colour-rules": "", children: [
|
|
4217
4217
|
/* @__PURE__ */ jsxs11(DialogHeader6, { children: [
|
|
4218
|
-
/* @__PURE__ */ jsx12(DialogTitle6, { children: "
|
|
4218
|
+
/* @__PURE__ */ jsx12(DialogTitle6, { children: "Color rules" }),
|
|
4219
4219
|
/* @__PURE__ */ jsx12(DialogDescription6, { children: scope === "view" ? "The first rule a row matches wins. These rules belong to this view alone, and a date can be tested against today." : "The first rule a row matches wins. A rule tints the whole row, or only the cell it reads. Everyone who opens this table sees them." })
|
|
4220
4220
|
] }),
|
|
4221
4221
|
/* @__PURE__ */ jsxs11("div", { className: "flex flex-col gap-2", children: [
|
|
@@ -4303,7 +4303,7 @@ function ColourRulesDialog({
|
|
|
4303
4303
|
/* @__PURE__ */ jsx12(
|
|
4304
4304
|
PickOne,
|
|
4305
4305
|
{
|
|
4306
|
-
label: "
|
|
4306
|
+
label: "Color",
|
|
4307
4307
|
attrs: { "data-records-colour-rule-color": "" },
|
|
4308
4308
|
className: SELECT,
|
|
4309
4309
|
value: rule.color,
|
|
@@ -9404,8 +9404,8 @@ function columnForField(field, editing, mayWriteRow, whyNotRow, look, onAskWhoCh
|
|
|
9404
9404
|
// A column that holds numbers filters as numbers (=, <, >, between) — the record number too,
|
|
9405
9405
|
// which is worked out but kept (review 2: the autonumber header offered "Contains").
|
|
9406
9406
|
filter: filterRefusal(field) !== null ? false : editorKindFor(field) === "select" || editorKindFor(field) === "multi_select" ? "select" : holdsNumbers(field) ? "number" : "auto",
|
|
9407
|
-
// THE MENU'S VALUE LIST WEARS THE CHOICES'
|
|
9408
|
-
// same chip the cell draws, never bare words beside a
|
|
9407
|
+
// THE MENU'S VALUE LIST WEARS THE CHOICES' COLORS (lane CELL-EDITORS, night walk 2026-10-06): the
|
|
9408
|
+
// same chip the cell draws, never bare words beside a colored column.
|
|
9409
9409
|
...editorKindFor(field) === "select" || editorKindFor(field) === "multi_select" ? { filterValueClass: (value, label) => choiceChipLookOf(field, value, label).className } : {},
|
|
9410
9410
|
cell: (row) => (
|
|
9411
9411
|
/*
|
|
@@ -9454,7 +9454,7 @@ function columnForField(field, editing, mayWriteRow, whyNotRow, look, onAskWhoCh
|
|
|
9454
9454
|
// The type is in the header's tooltip rather than a second header row: one
|
|
9455
9455
|
// row of headers, always — and it is the parity type's own WORD, not a
|
|
9456
9456
|
// token (`Long text`, never `long_text`).
|
|
9457
|
-
//
|
|
9457
|
+
// CENTERD, EVERY WIDTH (Arman 2026-10-08: tick boxes sat on the cell's top edge). A grid row is
|
|
9458
9458
|
// ONE line (`cellLines` "one", the table's default), so nothing here wraps and top-aligning only
|
|
9459
9459
|
// lifted every value — text ~4 px, a 16 px tick box ~8 px — above the row's middle, out of line
|
|
9460
9460
|
// with the row's own controls. The table's cell is `align-middle`; this column no longer overrides it.
|
|
@@ -13565,9 +13565,9 @@ function GridBody({
|
|
|
13565
13565
|
() => tableStyleIsEmpty(paint.style) ? null : {
|
|
13566
13566
|
style: paint.style,
|
|
13567
13567
|
// A choice is read as its OPTION (`paintByOption`): the rule, the value and the
|
|
13568
|
-
//
|
|
13568
|
+
// color a column keeps for it all name the same option, however it is stored.
|
|
13569
13569
|
documentOf: (row) => paint.documentOf(row.document ?? {}),
|
|
13570
|
-
// A value its column keeps a
|
|
13570
|
+
// A value its column keeps a color for wears THAT color (`choiceLooks.ts`);
|
|
13571
13571
|
// any other value still paints from its word.
|
|
13572
13572
|
choiceColorFor: paint.choiceColorFor
|
|
13573
13573
|
},
|
|
@@ -16273,7 +16273,7 @@ function VersionRow({
|
|
|
16273
16273
|
children: mine ? "Working out what would change\u2026" : "Put the record back to this version"
|
|
16274
16274
|
}
|
|
16275
16275
|
) }) : (
|
|
16276
|
-
// Absent AND explained: never a
|
|
16276
|
+
// Absent AND explained: never a grayed button, never silence.
|
|
16277
16277
|
/* @__PURE__ */ jsx55("p", { className: "text-[11px] text-muted-foreground", children: whyNotRestore })
|
|
16278
16278
|
)
|
|
16279
16279
|
] }) : null
|
|
@@ -21407,7 +21407,7 @@ function CalendarView({
|
|
|
21407
21407
|
type: "button",
|
|
21408
21408
|
className: cn31(
|
|
21409
21409
|
"@container flex w-full min-w-0 items-center gap-1 truncate rounded border px-1.5 py-0.5 text-left text-xs hover:brightness-95",
|
|
21410
|
-
// The chip palette, not the faint row tint: a calendar is read by its
|
|
21410
|
+
// The chip palette, not the faint row tint: a calendar is read by its colors at a glance.
|
|
21411
21411
|
color ? CHOICE_CHIP_CLASS[color] : "bg-background",
|
|
21412
21412
|
may ? "cursor-grab active:cursor-grabbing" : "cursor-default",
|
|
21413
21413
|
compact ? "min-h-3 px-0" : "",
|
|
@@ -21460,7 +21460,7 @@ function CalendarView({
|
|
|
21460
21460
|
setEndPick(key);
|
|
21461
21461
|
onEndFieldChange?.(key);
|
|
21462
21462
|
}, endKept ?? Boolean(onEndFieldChange), endUnusual) : null,
|
|
21463
|
-
choiceFields.length > 0 ? picker("
|
|
21463
|
+
choiceFields.length > 0 ? picker("Color by", colorKey, choiceFields, (key) => {
|
|
21464
21464
|
setColorPick(key);
|
|
21465
21465
|
onColorFieldChange?.(key);
|
|
21466
21466
|
}, true) : null
|
|
@@ -22705,7 +22705,7 @@ function TimelineView({
|
|
|
22705
22705
|
dates.length > 1 || !startField || !dates.some((f) => f.key === startChosen) ? picker("Start", startChosen, dates, (key) => setting({ startKey: key }), { none: false }) : null,
|
|
22706
22706
|
endCandidates.length > 0 || endField && !endCandidates.includes(endField) ? picker("End", endChosen, endCandidates, (key) => setting({ endKey: key }), { kept: layoutKept }) : null,
|
|
22707
22707
|
groupCandidates.length > 0 ? picker("Group by", groupChosen, groupCandidates, (key) => setting({ groupKey: key })) : null,
|
|
22708
|
-
choiceFields.length > 0 ? picker("
|
|
22708
|
+
choiceFields.length > 0 ? picker("Color by", colorChosen, choiceFields, (key) => setting({ colorKey: key })) : null
|
|
22709
22709
|
] });
|
|
22710
22710
|
const heading = zoom === "quarter" ? `Q${Math.floor(dayAt(anchor).getMonth() / 3) + 1} ${dayAt(anchor).getFullYear()}` : dayAt(anchor).toLocaleDateString(void 0, { month: "long", year: "numeric" });
|
|
22711
22711
|
const toolbar = /* @__PURE__ */ jsxs70("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
@@ -23345,7 +23345,7 @@ function BoardOptions({
|
|
|
23345
23345
|
)
|
|
23346
23346
|
] }) : null,
|
|
23347
23347
|
toggle("Count per column", "boardCounts", look.boardCounts !== false),
|
|
23348
|
-
toggle("
|
|
23348
|
+
toggle("Color the columns", "boardColorColumns", look.boardColorColumns !== false),
|
|
23349
23349
|
toggle("Hide empty groups", "boardHideEmpty", look.boardHideEmpty === true),
|
|
23350
23350
|
remembered ? null : /* @__PURE__ */ jsx79("p", { className: "text-muted-foreground", children: "Kept for this visit only." })
|
|
23351
23351
|
] })
|
|
@@ -23630,7 +23630,7 @@ var CHART_KIND_LABEL = {
|
|
|
23630
23630
|
// (FIX-10C F12, 2026-09-22). The kind key stays `stuck` — it is the store's
|
|
23631
23631
|
// closed set and renaming it would be a second idea of the same shape — but
|
|
23632
23632
|
// the WORD in the picker read "Stuck", which is our jargon for a record that
|
|
23633
|
-
// has sat on one value too long, not a shape anybody
|
|
23633
|
+
// has sat on one value too long, not a shape anybody recognizes beside
|
|
23634
23634
|
// Number, Bars, Columns, Line, Donut and Table. This block lists the records
|
|
23635
23635
|
// that have not moved, so that is what it is called.
|
|
23636
23636
|
stuck: "Not moving"
|
|
@@ -23752,7 +23752,7 @@ var SERIES_COLORS = [
|
|
|
23752
23752
|
"hsl(var(--warning))",
|
|
23753
23753
|
"hsl(var(--destructive))",
|
|
23754
23754
|
"hsl(var(--accent-foreground))",
|
|
23755
|
-
// Slices 7-12: the theme's own chart tokens, so a donut of 8-12 slices never repeats a
|
|
23755
|
+
// Slices 7-12: the theme's own chart tokens, so a donut of 8-12 slices never repeats a color.
|
|
23756
23756
|
"hsl(var(--chart-1))",
|
|
23757
23757
|
"hsl(var(--chart-2))",
|
|
23758
23758
|
"hsl(var(--chart-3))",
|
|
@@ -28711,7 +28711,7 @@ function ActionInbox({
|
|
|
28711
28711
|
item.summary ? /* @__PURE__ */ jsx93("p", { className: "text-xs text-muted-foreground", children: item.summary }) : null,
|
|
28712
28712
|
snoozing === item.item_id ? (
|
|
28713
28713
|
// SUPERHUMAN'S CHOICES, then any moment the person names. The picked time's own Snooze is
|
|
28714
|
-
// absent until a time is picked — never a
|
|
28714
|
+
// absent until a time is picked — never a grayed button that does nothing.
|
|
28715
28715
|
/* @__PURE__ */ jsxs86(
|
|
28716
28716
|
"div",
|
|
28717
28717
|
{
|
|
@@ -29744,7 +29744,7 @@ function PortalLookEditor({ card, onSaved, className }) {
|
|
|
29744
29744
|
)
|
|
29745
29745
|
] }),
|
|
29746
29746
|
/* @__PURE__ */ jsxs90("div", { className: "flex flex-col gap-1 text-xs", children: [
|
|
29747
|
-
/* @__PURE__ */ jsx97("span", { children: "
|
|
29747
|
+
/* @__PURE__ */ jsx97("span", { children: "Color" }),
|
|
29748
29748
|
/* @__PURE__ */ jsx97(AccentSwatches, { value: accent, onChange: setAccent, options: card.accents })
|
|
29749
29749
|
] }),
|
|
29750
29750
|
/* @__PURE__ */ jsxs90("div", { className: "flex flex-col gap-1 text-xs", children: [
|
|
@@ -30740,7 +30740,7 @@ function DigestScheduler({
|
|
|
30740
30740
|
// Tables this person can already open — never a grant on the table behind it.
|
|
30741
30741
|
client.views({ table_id: tableId }),
|
|
30742
30742
|
// The cadences are ASKED, never typed into this file, so a picker can
|
|
30743
|
-
// never offer a cadence the digest runner does not
|
|
30743
|
+
// never offer a cadence the digest runner does not honor.
|
|
30744
30744
|
client.subscriptionCadences()
|
|
30745
30745
|
]);
|
|
30746
30746
|
if (!saved.ok) setError(saved.error);
|
|
@@ -30842,11 +30842,11 @@ function DigestScheduler({
|
|
|
30842
30842
|
)
|
|
30843
30843
|
] }),
|
|
30844
30844
|
savedViewId ? null : /* @__PURE__ */ jsxs93("label", { className: "flex flex-col gap-1", children: [
|
|
30845
|
-
/* @__PURE__ */ jsx100(Label11, { className: "text-xs font-medium", children: "What it
|
|
30845
|
+
/* @__PURE__ */ jsx100(Label11, { className: "text-xs font-medium", children: "What it summarizes" }),
|
|
30846
30846
|
/* @__PURE__ */ jsx100(
|
|
30847
30847
|
Select14,
|
|
30848
30848
|
{
|
|
30849
|
-
"aria-label": "What it
|
|
30849
|
+
"aria-label": "What it summarizes",
|
|
30850
30850
|
value: viewId,
|
|
30851
30851
|
onValueChange: setViewId,
|
|
30852
30852
|
options: [
|
|
@@ -32147,7 +32147,7 @@ function FormStage({
|
|
|
32147
32147
|
{
|
|
32148
32148
|
className: cn54(
|
|
32149
32149
|
"mx-auto flex w-full max-w-2xl flex-col gap-4 py-4",
|
|
32150
|
-
// TYPEFORM'S SIZE (TYPEFORM-2): one question at a time fills the screen,
|
|
32150
|
+
// TYPEFORM'S SIZE (TYPEFORM-2): one question at a time fills the screen, centerd in it.
|
|
32151
32151
|
oneAtATime && "min-h-[min(70dvh,640px)]",
|
|
32152
32152
|
theme.surface,
|
|
32153
32153
|
theme.background !== "plain" && "rounded-lg px-5 sm:px-8",
|
|
@@ -32376,7 +32376,7 @@ function Question({
|
|
|
32376
32376
|
),
|
|
32377
32377
|
uploadError ? /* @__PURE__ */ jsx104(RefusalLine, { error: uploadError }) : null
|
|
32378
32378
|
] }) : (
|
|
32379
|
-
// A choice is laid out as lettered rows in the form's
|
|
32379
|
+
// A choice is laid out as lettered rows in the form's color (`ChoiceAnswer`).
|
|
32380
32380
|
/* @__PURE__ */ jsx104(FieldControl, { field, value, onChange, id, asForm: true, onChosen })
|
|
32381
32381
|
),
|
|
32382
32382
|
/* @__PURE__ */ jsx104("p", { id: sayId, role: "alert", "aria-live": "assertive", className: "min-h-0 empty:hidden", "data-records-form-refused": "", children: refused ? /* @__PURE__ */ jsxs97("span", { className: "inline-flex items-center gap-1.5 rounded bg-destructive px-2 py-1 text-sm font-medium text-destructive-foreground", children: [
|
|
@@ -32940,7 +32940,7 @@ function FormBuilder({ tableId, seed, activeFormId, onActiveForm, startWithOne,
|
|
|
32940
32940
|
AccentSwatches,
|
|
32941
32941
|
{
|
|
32942
32942
|
value: draft.look?.accent ?? "",
|
|
32943
|
-
noneLabel: "Organization
|
|
32943
|
+
noneLabel: "Organization color",
|
|
32944
32944
|
onChange: (accent) => patchLook({ accent: accent || null })
|
|
32945
32945
|
}
|
|
32946
32946
|
),
|
|
@@ -37705,7 +37705,7 @@ function InterfaceScreen({
|
|
|
37705
37705
|
/* @__PURE__ */ jsx116(
|
|
37706
37706
|
PickOne,
|
|
37707
37707
|
{
|
|
37708
|
-
label: "
|
|
37708
|
+
label: "Color",
|
|
37709
37709
|
value: shape.color,
|
|
37710
37710
|
options: INTERFACE_COLORS.map((c) => ({ value: c, label: c[0].toUpperCase() + c.slice(1) })),
|
|
37711
37711
|
onChange: (color) => void save({ ...shape, color }),
|
|
@@ -42645,7 +42645,7 @@ var READS_ON_PROBLEM_WORDS = {
|
|
|
42645
42645
|
missing: "no row by that name",
|
|
42646
42646
|
self: "reads on itself",
|
|
42647
42647
|
duplicate: "two rows share that name",
|
|
42648
|
-
"no-colour": "that row has no
|
|
42648
|
+
"no-colour": "that row has no color"
|
|
42649
42649
|
};
|
|
42650
42650
|
function resolveReadsOn(row, rows, keys) {
|
|
42651
42651
|
if (!keys.readsOn || !keys.name) return { on: null, problem: null, target: null };
|
|
@@ -42831,6 +42831,21 @@ function SectionCard(props) {
|
|
|
42831
42831
|
if (props.source.kind === "entity") return /* @__PURE__ */ jsx137(EntitySectionCard, { ...props, source: props.source });
|
|
42832
42832
|
return /* @__PURE__ */ jsx137(TableSectionCard, { ...props, tableId: props.source.id });
|
|
42833
42833
|
}
|
|
42834
|
+
var SECTION_NARROW_PX = 576;
|
|
42835
|
+
function useNarrow2(ref) {
|
|
42836
|
+
const [narrow, setNarrow] = useState125(false);
|
|
42837
|
+
useEffect109(() => {
|
|
42838
|
+
const el = ref.current;
|
|
42839
|
+
if (!el || typeof ResizeObserver === "undefined") return;
|
|
42840
|
+
const ro = new ResizeObserver(() => {
|
|
42841
|
+
const w = el.getBoundingClientRect().width;
|
|
42842
|
+
if (w > 0) setNarrow(w < SECTION_NARROW_PX);
|
|
42843
|
+
});
|
|
42844
|
+
ro.observe(el);
|
|
42845
|
+
return () => ro.disconnect();
|
|
42846
|
+
}, [ref]);
|
|
42847
|
+
return narrow;
|
|
42848
|
+
}
|
|
42834
42849
|
function TableSectionCard(props) {
|
|
42835
42850
|
const { tableId, readOnly, noun = "entry", onFix, className } = props;
|
|
42836
42851
|
const table = useTable37(tableId);
|
|
@@ -42878,7 +42893,10 @@ function TableSectionCard(props) {
|
|
|
42878
42893
|
const rowNames = nameField ? rows.map((r) => String((r.document ?? {})[nameField.key] ?? "")).filter((n) => n !== "") : [];
|
|
42879
42894
|
const refused = table.error ?? fieldsRead.error ?? page.error;
|
|
42880
42895
|
const gridStyle = { gridTemplateColumns: `minmax(8rem, 12rem) repeat(${Math.max(columns.length, 1)}, minmax(0, 1fr)) 4.5rem` };
|
|
42881
|
-
|
|
42896
|
+
const sectionRef = useRef53(null);
|
|
42897
|
+
const narrow = useNarrow2(sectionRef);
|
|
42898
|
+
const cellLabel = (c) => c.part ? columns.filter((x) => x.field.key === c.field.key).map((x) => x.header).join(" \xB7 ") : c.header;
|
|
42899
|
+
return /* @__PURE__ */ jsxs129("section", { ref: sectionRef, "data-records-section-card": "", "data-narrow": narrow ? "" : void 0, className: cn75("rounded-2xl border border-border bg-card text-card-foreground", className), children: [
|
|
42882
42900
|
/* @__PURE__ */ jsxs129("header", { className: "flex items-start justify-between gap-4 px-5 pt-5 pb-3 sm:px-6", children: [
|
|
42883
42901
|
/* @__PURE__ */ jsxs129("div", { className: "min-w-0", children: [
|
|
42884
42902
|
/* @__PURE__ */ jsx137("h2", { className: "truncate font-serif text-2xl tracking-tight text-foreground", children: title || "\xA0" }),
|
|
@@ -42889,7 +42907,7 @@ function TableSectionCard(props) {
|
|
|
42889
42907
|
"Add"
|
|
42890
42908
|
] }) : null
|
|
42891
42909
|
] }),
|
|
42892
|
-
refused ? /* @__PURE__ */ jsx137("p", { className: "px-5 pb-5 text-sm text-muted-foreground sm:px-6", children: refusalSentence(refused) }) : !fieldsRead.data || page.loading && rows.length === 0 ? /* @__PURE__ */ jsx137("div", { className: "flex flex-col gap-1.5 px-5 pb-5 sm:px-6", "aria-busy": "true", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsx137("div", { className: "h-9 rounded-md bg-muted" }, i)) }) : rows.length === 0 ? /* @__PURE__ */ jsx137("p", { className: "px-5 pb-5 text-sm text-muted-foreground sm:px-6", children: "Nothing here yet." }) : /* @__PURE__ */ jsx137("div", { className: "-mb-px overflow-x-auto", children: groups.map((group) => /* @__PURE__ */ jsxs129("div", { "data-records-section-group": group.key, className: "", children: [
|
|
42910
|
+
refused ? /* @__PURE__ */ jsx137("p", { className: "px-5 pb-5 text-sm text-muted-foreground sm:px-6", children: refusalSentence(refused) }) : !fieldsRead.data || page.loading && rows.length === 0 ? /* @__PURE__ */ jsx137("div", { className: "flex flex-col gap-1.5 px-5 pb-5 sm:px-6", "aria-busy": "true", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsx137("div", { className: "h-9 rounded-md bg-muted" }, i)) }) : rows.length === 0 ? /* @__PURE__ */ jsx137("p", { className: "px-5 pb-5 text-sm text-muted-foreground sm:px-6", children: "Nothing here yet." }) : /* @__PURE__ */ jsx137("div", { className: cn75("-mb-px", !narrow && "overflow-x-auto"), children: groups.map((group) => /* @__PURE__ */ jsxs129("div", { "data-records-section-group": group.key, className: "", children: [
|
|
42893
42911
|
cols.group ? /* @__PURE__ */ jsxs129("div", { className: "flex items-center justify-between border-y border-border px-5 py-1 sm:px-6", children: [
|
|
42894
42912
|
/* @__PURE__ */ jsx137("span", { className: "text-xs font-semibold text-foreground", children: group.key || "No group" }),
|
|
42895
42913
|
mayWrite ? /* @__PURE__ */ jsx137(
|
|
@@ -42903,8 +42921,8 @@ function TableSectionCard(props) {
|
|
|
42903
42921
|
}
|
|
42904
42922
|
) : null
|
|
42905
42923
|
] }) : null,
|
|
42906
|
-
/* @__PURE__ */ jsxs129("div", { role: "table", "aria-label": group.key || title, className: "min-w-[36rem]", children: [
|
|
42907
|
-
/* @__PURE__ */ jsxs129("div", { role: "row", style: gridStyle, className: "grid border-b border-border text-xs text-muted-foreground", children: [
|
|
42924
|
+
/* @__PURE__ */ jsxs129("div", { role: "table", "aria-label": group.key || title, className: narrow ? "" : "min-w-[36rem]", children: [
|
|
42925
|
+
/* @__PURE__ */ jsxs129("div", { role: "row", style: gridStyle, className: cn75("grid border-b border-border text-xs text-muted-foreground", narrow && "hidden"), children: [
|
|
42908
42926
|
/* @__PURE__ */ jsx137("span", { role: "columnheader", className: "border-r border-border px-5 py-1.5 sm:px-6", children: nameField ? fieldName(nameField) : "Name" }),
|
|
42909
42927
|
columns.map((c) => /* @__PURE__ */ jsx137("span", { role: "columnheader", className: "truncate px-3 py-1.5", children: c.header }, `${c.field.key}-${c.part ?? ""}`)),
|
|
42910
42928
|
/* @__PURE__ */ jsx137("span", {})
|
|
@@ -42912,46 +42930,59 @@ function TableSectionCard(props) {
|
|
|
42912
42930
|
group.rows.map((row) => {
|
|
42913
42931
|
const editable = mayWrite && atLeast(row.level, "edit_content");
|
|
42914
42932
|
const rowSave = save(row);
|
|
42915
|
-
return /* @__PURE__ */ jsxs129(
|
|
42916
|
-
|
|
42917
|
-
|
|
42918
|
-
|
|
42919
|
-
|
|
42920
|
-
|
|
42921
|
-
|
|
42922
|
-
|
|
42923
|
-
|
|
42924
|
-
|
|
42925
|
-
|
|
42926
|
-
|
|
42927
|
-
|
|
42928
|
-
|
|
42929
|
-
|
|
42930
|
-
|
|
42931
|
-
|
|
42932
|
-
|
|
42933
|
-
|
|
42934
|
-
|
|
42935
|
-
|
|
42936
|
-
|
|
42937
|
-
|
|
42933
|
+
return /* @__PURE__ */ jsxs129(
|
|
42934
|
+
"div",
|
|
42935
|
+
{
|
|
42936
|
+
role: "row",
|
|
42937
|
+
"data-records-section-row": row.id,
|
|
42938
|
+
style: narrow ? void 0 : gridStyle,
|
|
42939
|
+
className: narrow ? "relative flex flex-col gap-1.5 border-b border-border px-4 py-2.5" : "grid items-center border-b border-border",
|
|
42940
|
+
children: [
|
|
42941
|
+
/* @__PURE__ */ jsxs129("span", { role: "cell", className: narrow ? "min-w-0 pr-16" : "min-w-0 self-stretch border-r border-border px-5 py-1.5 sm:px-6", children: [
|
|
42942
|
+
/* @__PURE__ */ jsx137("span", { className: "block truncate font-mono text-sm text-foreground", children: nameField ? String((row.document ?? {})[nameField.key] ?? "") : row.id }),
|
|
42943
|
+
readsOnField ? /* @__PURE__ */ jsx137(
|
|
42944
|
+
ReadsOnPicker,
|
|
42945
|
+
{
|
|
42946
|
+
row,
|
|
42947
|
+
field: readsOnField,
|
|
42948
|
+
names: [...new Set(rowNames)].filter((n) => !sameName(n, String((row.document ?? {})[nameField?.key ?? ""] ?? ""))),
|
|
42949
|
+
editable,
|
|
42950
|
+
save: rowSave,
|
|
42951
|
+
problem: resolveReadsOn(row, rows, { name: cols.name, readsOn: cols.readsOn, color: readsOnColorKey }).problem
|
|
42952
|
+
}
|
|
42953
|
+
) : null
|
|
42954
|
+
] }),
|
|
42955
|
+
cells.map((c) => /* @__PURE__ */ jsxs129(
|
|
42956
|
+
"div",
|
|
42938
42957
|
{
|
|
42939
|
-
|
|
42940
|
-
|
|
42941
|
-
|
|
42942
|
-
|
|
42943
|
-
|
|
42944
|
-
|
|
42945
|
-
|
|
42946
|
-
|
|
42947
|
-
|
|
42948
|
-
|
|
42949
|
-
|
|
42950
|
-
|
|
42951
|
-
|
|
42952
|
-
|
|
42953
|
-
|
|
42954
|
-
|
|
42958
|
+
role: "cell",
|
|
42959
|
+
style: c.part ? { gridColumn: "span 2" } : void 0,
|
|
42960
|
+
className: narrow ? "min-w-0" : cn75("min-w-0 py-1", c.part ? "" : "px-3"),
|
|
42961
|
+
children: [
|
|
42962
|
+
narrow ? /* @__PURE__ */ jsx137("span", { className: "mb-0.5 block text-xs text-muted-foreground", children: cellLabel(c) }) : null,
|
|
42963
|
+
/* @__PURE__ */ jsx137(
|
|
42964
|
+
ValueCell,
|
|
42965
|
+
{
|
|
42966
|
+
row,
|
|
42967
|
+
column: c,
|
|
42968
|
+
editable,
|
|
42969
|
+
save: rowSave,
|
|
42970
|
+
onFix,
|
|
42971
|
+
context: c.field.key === readsOnColorKey ? groundOf(row, rows, { name: cols.name, readsOn: cols.readsOn, color: c.field.key }) : void 0
|
|
42972
|
+
}
|
|
42973
|
+
)
|
|
42974
|
+
]
|
|
42975
|
+
},
|
|
42976
|
+
c.field.key
|
|
42977
|
+
)),
|
|
42978
|
+
/* @__PURE__ */ jsxs129("span", { role: "cell", className: narrow ? "absolute right-2 top-2 flex items-center gap-0.5" : "flex items-center justify-end gap-0.5 pr-2", children: [
|
|
42979
|
+
/* @__PURE__ */ jsx137(RowComments, { tableId, row, count: counts[row.id] ?? 0, onClosed: () => setCountsAsked((n) => n + 1) }),
|
|
42980
|
+
noteField ? /* @__PURE__ */ jsx137(NoteButton, { row, noteField, editable, save: rowSave }) : null
|
|
42981
|
+
] })
|
|
42982
|
+
]
|
|
42983
|
+
},
|
|
42984
|
+
row.id
|
|
42985
|
+
);
|
|
42955
42986
|
})
|
|
42956
42987
|
] })
|
|
42957
42988
|
] }, group.key || "__ungrouped")) }),
|