@ai-matrx/records-ui 0.116.46 → 0.116.47
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 +15 -1
- package/dist/{SaveToTable-SWB2ZN5X.js → SaveToTable-HG3HQMAQ.js} +5 -5
- package/dist/{chunk-KQR2RA4V.js → chunk-ABIUJCNS.js} +3 -3
- package/dist/chunk-ABIUJCNS.js.map +1 -0
- package/dist/{chunk-Y5QOV3XA.js → chunk-K3B5IRXY.js} +3 -3
- package/dist/{chunk-OV6QBL5R.js → chunk-LBZZDHV6.js} +8 -8
- package/dist/chunk-LBZZDHV6.js.map +1 -0
- package/dist/{chunk-ZUQUZOL5.js → chunk-MDXDJVDB.js} +3 -3
- package/dist/chunk-MDXDJVDB.js.map +1 -0
- package/dist/{chunk-UTMV5ES2.js → chunk-VJDJQDDI.js} +7 -7
- package/dist/{chunk-UTMV5ES2.js.map → chunk-VJDJQDDI.js.map} +1 -1
- package/dist/helpers.cjs +9 -9
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.js +9 -9
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +30 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +22 -22
- package/dist/index.js.map +1 -1
- package/dist/object-actions.cjs +8 -8
- package/dist/object-actions.cjs.map +1 -1
- package/dist/object-actions.d.cts +1 -1
- package/dist/object-actions.d.ts +1 -1
- package/dist/object-actions.js +2 -2
- package/dist/{objectActions-Be9sBGvW.d.cts → objectActions-DK-qa5zC.d.cts} +1 -1
- package/dist/{objectActions-Be9sBGvW.d.ts → objectActions-DK-qa5zC.d.ts} +1 -1
- package/dist/pickers.cjs +8 -8
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +3 -3
- package/package.json +2 -2
- package/dist/chunk-KQR2RA4V.js.map +0 -1
- package/dist/chunk-OV6QBL5R.js.map +0 -1
- package/dist/chunk-ZUQUZOL5.js.map +0 -1
- /package/dist/{SaveToTable-SWB2ZN5X.js.map → SaveToTable-HG3HQMAQ.js.map} +0 -0
- /package/dist/{chunk-Y5QOV3XA.js.map → chunk-K3B5IRXY.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -3,8 +3,8 @@ import { ReactNode, ComponentType, KeyboardEvent, ReactElement, RefObject, SVGAt
|
|
|
3
3
|
import * as _ai_matrx_records from '@ai-matrx/records';
|
|
4
4
|
import { Field, ReadRow, Uuid, RowAction, RowActionStep, RecordScopeContext, EnrichCell, RecordsError, RecordDocument, Table, PermissionLevel, RecordRead, RowAgentTarget, AggregateFilter, RelationDisplay, WriteConflict, TableDecorations, StoreFilter as StoreFilter$1, ImportRun, NewFieldDeclaration, RuleExpression, ChoiceRehome, FieldOptionEdit, StoredRecord, ChoiceNudge, HiddenFieldNotice, ValueEnvelope, ChecklistRequirementKind, ContextPolicy, WorkDueState, FieldSensitivity, StageRuleOnFail, SubscriptionCadence, WorkApprovalState, WorkInboxKind, ArchiveLane, ArchivedRow, WorkInboxView, WorkInboxItem, MigrationEntry, PortalCard, PortalPrincipal, PortalPreviewRow, PortalAccent, PublicPicture, PortalStyle, RecordFilter, MySubscription, DashboardBlockKind, AggregateBucket, AggregateMeasure, AggregateCompare, DashboardTarget, DashboardBlock, DashboardSummary, AggregateGroupValue, DocTemplateRow, DocRenderRow, QuietHours, DashboardBlockResult, CoercibleField, AggregateRow, DashboardRunResult, ChecklistRunStep, BookingSummary, CaptureSheetFace, CaptureField, AnonTokenBinding, RecordsActor, RecordsDataSource, RecordsConfig, TableDuplicated, HistoryActor, FieldHistoryEntry, DrillDefinition, DrillSource, DrillLane, DrillQuestion, TableDuplicateProgress, TableArchiveProgress } from '@ai-matrx/records';
|
|
5
5
|
import { ReversibleAnnouncement } from '@ai-matrx/kit/reversible';
|
|
6
|
-
import { O as ObjectAction, W as WhatYouMayDo, T as TableActionHost, a as ObjectActionIcon } from './objectActions-
|
|
7
|
-
export { A as ACTION_CHECKING_ACCESS_REASON, b as ACTION_NOT_HERE_REASON, c as ACTION_NO_ACCESS_REASON, d as ACTION_PLATFORM_TABLE_REASON, B as BuiltOnDestination, C as Capability, D as DEFAULT_ACTION_ORIGIN, K as KERNEL_REASON, L as LEVEL_WORD, N as NOT_ANSWERED_YET, e as OBJECT_ACTION_GROUPS, f as ObjectActionDropdownEntry, g as ObjectActionGroup, h as ObjectActionGroupDef, i as ObjectActionSection, S as STANDARD_VERBS, j as STRIP_FEATURE_ROWS, k as StandardVerbId, l as StripAndRows, m as TableActionSubject, n as TableActionsInput, o as dropdownActionIds, p as dropdownActions, q as groupObjectActions, r as levelNeededFor, s as rightsReason, t as tableActions, u as tableLink, v as toDropdownEntries, w as toStripAndRows, x as whatYouMayDo, y as whatYouMayDoWithTable, z as withExtensions } from './objectActions-
|
|
6
|
+
import { O as ObjectAction, W as WhatYouMayDo, T as TableActionHost, a as ObjectActionIcon } from './objectActions-DK-qa5zC.cjs';
|
|
7
|
+
export { A as ACTION_CHECKING_ACCESS_REASON, b as ACTION_NOT_HERE_REASON, c as ACTION_NO_ACCESS_REASON, d as ACTION_PLATFORM_TABLE_REASON, B as BuiltOnDestination, C as Capability, D as DEFAULT_ACTION_ORIGIN, K as KERNEL_REASON, L as LEVEL_WORD, N as NOT_ANSWERED_YET, e as OBJECT_ACTION_GROUPS, f as ObjectActionDropdownEntry, g as ObjectActionGroup, h as ObjectActionGroupDef, i as ObjectActionSection, S as STANDARD_VERBS, j as STRIP_FEATURE_ROWS, k as StandardVerbId, l as StripAndRows, m as TableActionSubject, n as TableActionsInput, o as dropdownActionIds, p as dropdownActions, q as groupObjectActions, r as levelNeededFor, s as rightsReason, t as tableActions, u as tableLink, v as toDropdownEntries, w as toStripAndRows, x as whatYouMayDo, y as whatYouMayDoWithTable, z as withExtensions } from './objectActions-DK-qa5zC.cjs';
|
|
8
8
|
import { Uuid as Uuid$1, Table as Table$1, Field as Field$1, ReadRow as ReadRow$1, StoreFilter, useRecordsClient } from '@ai-matrx/records/react';
|
|
9
9
|
import * as _ai_matrx_records_core from '@ai-matrx/records/core';
|
|
10
10
|
import { RecordsClient, ParsedImport } from '@ai-matrx/records/core';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { ReactNode, ComponentType, KeyboardEvent, ReactElement, RefObject, SVGAt
|
|
|
3
3
|
import * as _ai_matrx_records from '@ai-matrx/records';
|
|
4
4
|
import { Field, ReadRow, Uuid, RowAction, RowActionStep, RecordScopeContext, EnrichCell, RecordsError, RecordDocument, Table, PermissionLevel, RecordRead, RowAgentTarget, AggregateFilter, RelationDisplay, WriteConflict, TableDecorations, StoreFilter as StoreFilter$1, ImportRun, NewFieldDeclaration, RuleExpression, ChoiceRehome, FieldOptionEdit, StoredRecord, ChoiceNudge, HiddenFieldNotice, ValueEnvelope, ChecklistRequirementKind, ContextPolicy, WorkDueState, FieldSensitivity, StageRuleOnFail, SubscriptionCadence, WorkApprovalState, WorkInboxKind, ArchiveLane, ArchivedRow, WorkInboxView, WorkInboxItem, MigrationEntry, PortalCard, PortalPrincipal, PortalPreviewRow, PortalAccent, PublicPicture, PortalStyle, RecordFilter, MySubscription, DashboardBlockKind, AggregateBucket, AggregateMeasure, AggregateCompare, DashboardTarget, DashboardBlock, DashboardSummary, AggregateGroupValue, DocTemplateRow, DocRenderRow, QuietHours, DashboardBlockResult, CoercibleField, AggregateRow, DashboardRunResult, ChecklistRunStep, BookingSummary, CaptureSheetFace, CaptureField, AnonTokenBinding, RecordsActor, RecordsDataSource, RecordsConfig, TableDuplicated, HistoryActor, FieldHistoryEntry, DrillDefinition, DrillSource, DrillLane, DrillQuestion, TableDuplicateProgress, TableArchiveProgress } from '@ai-matrx/records';
|
|
5
5
|
import { ReversibleAnnouncement } from '@ai-matrx/kit/reversible';
|
|
6
|
-
import { O as ObjectAction, W as WhatYouMayDo, T as TableActionHost, a as ObjectActionIcon } from './objectActions-
|
|
7
|
-
export { A as ACTION_CHECKING_ACCESS_REASON, b as ACTION_NOT_HERE_REASON, c as ACTION_NO_ACCESS_REASON, d as ACTION_PLATFORM_TABLE_REASON, B as BuiltOnDestination, C as Capability, D as DEFAULT_ACTION_ORIGIN, K as KERNEL_REASON, L as LEVEL_WORD, N as NOT_ANSWERED_YET, e as OBJECT_ACTION_GROUPS, f as ObjectActionDropdownEntry, g as ObjectActionGroup, h as ObjectActionGroupDef, i as ObjectActionSection, S as STANDARD_VERBS, j as STRIP_FEATURE_ROWS, k as StandardVerbId, l as StripAndRows, m as TableActionSubject, n as TableActionsInput, o as dropdownActionIds, p as dropdownActions, q as groupObjectActions, r as levelNeededFor, s as rightsReason, t as tableActions, u as tableLink, v as toDropdownEntries, w as toStripAndRows, x as whatYouMayDo, y as whatYouMayDoWithTable, z as withExtensions } from './objectActions-
|
|
6
|
+
import { O as ObjectAction, W as WhatYouMayDo, T as TableActionHost, a as ObjectActionIcon } from './objectActions-DK-qa5zC.js';
|
|
7
|
+
export { A as ACTION_CHECKING_ACCESS_REASON, b as ACTION_NOT_HERE_REASON, c as ACTION_NO_ACCESS_REASON, d as ACTION_PLATFORM_TABLE_REASON, B as BuiltOnDestination, C as Capability, D as DEFAULT_ACTION_ORIGIN, K as KERNEL_REASON, L as LEVEL_WORD, N as NOT_ANSWERED_YET, e as OBJECT_ACTION_GROUPS, f as ObjectActionDropdownEntry, g as ObjectActionGroup, h as ObjectActionGroupDef, i as ObjectActionSection, S as STANDARD_VERBS, j as STRIP_FEATURE_ROWS, k as StandardVerbId, l as StripAndRows, m as TableActionSubject, n as TableActionsInput, o as dropdownActionIds, p as dropdownActions, q as groupObjectActions, r as levelNeededFor, s as rightsReason, t as tableActions, u as tableLink, v as toDropdownEntries, w as toStripAndRows, x as whatYouMayDo, y as whatYouMayDoWithTable, z as withExtensions } from './objectActions-DK-qa5zC.js';
|
|
8
8
|
import { Uuid as Uuid$1, Table as Table$1, Field as Field$1, ReadRow as ReadRow$1, StoreFilter, useRecordsClient } from '@ai-matrx/records/react';
|
|
9
9
|
import * as _ai_matrx_records_core from '@ai-matrx/records/core';
|
|
10
10
|
import { RecordsClient, ParsedImport } from '@ai-matrx/records/core';
|
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-K3B5IRXY.js";
|
|
186
186
|
import {
|
|
187
187
|
CHART_PLOT_PX,
|
|
188
188
|
EMBEDDED_ROW_PX,
|
|
@@ -293,7 +293,7 @@ import {
|
|
|
293
293
|
visibilityLaneFor,
|
|
294
294
|
whyNotAskable,
|
|
295
295
|
writeOnTheWinningVersion_exports
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-VJDJQDDI.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-ABIUJCNS.js";
|
|
317
317
|
import {
|
|
318
318
|
ABSENCE_WORD_LABEL,
|
|
319
319
|
ABSENCE_WORD_VALUES,
|
|
@@ -402,7 +402,7 @@ import {
|
|
|
402
402
|
useRowRights,
|
|
403
403
|
useTableRights,
|
|
404
404
|
withoutInternalCodes
|
|
405
|
-
} from "./chunk-
|
|
405
|
+
} from "./chunk-MDXDJVDB.js";
|
|
406
406
|
import {
|
|
407
407
|
FEWEST_KEY_VALUE_PAIRS,
|
|
408
408
|
FEWEST_LIST_ITEMS,
|
|
@@ -425,7 +425,7 @@ import {
|
|
|
425
425
|
tableIsLocked,
|
|
426
426
|
whatYouMayDo,
|
|
427
427
|
whatYouMayDoWithTable
|
|
428
|
-
} from "./chunk-
|
|
428
|
+
} from "./chunk-LBZZDHV6.js";
|
|
429
429
|
import {
|
|
430
430
|
PARITY_LABEL,
|
|
431
431
|
PARITY_MADE_OF,
|
|
@@ -8913,7 +8913,7 @@ function EnrichPanel({ tableId, fieldId, className }) {
|
|
|
8913
8913
|
target?.name ?? "this column",
|
|
8914
8914
|
" in automatically."
|
|
8915
8915
|
] }),
|
|
8916
|
-
/* @__PURE__ */ jsx26("p", { className: "text-muted-foreground", children: "
|
|
8916
|
+
/* @__PURE__ */ jsx26("p", { className: "text-muted-foreground", children: "Someone with Full access on this table sets that up." })
|
|
8917
8917
|
] });
|
|
8918
8918
|
}
|
|
8919
8919
|
return /* @__PURE__ */ jsxs25("div", { className: cn10("space-y-3 p-4 text-sm", className), children: [
|
|
@@ -8994,7 +8994,7 @@ function EnrichPanel({ tableId, fieldId, className }) {
|
|
|
8994
8994
|
if (shown4.length === 0) {
|
|
8995
8995
|
return /* @__PURE__ */ jsxs25("div", { className: cn10("space-y-2 p-4 text-sm", className), children: [
|
|
8996
8996
|
/* @__PURE__ */ jsx26("p", { className: "font-medium", children: "No column here is filled in by a model." }),
|
|
8997
|
-
/* @__PURE__ */ jsx26("p", { className: "text-muted-foreground", children: rights.admin ? "Open a column's menu and choose \u201CLet AI fill\u201D to set one up \u2014 or just ask for it in plain words and the agent will." : "
|
|
8997
|
+
/* @__PURE__ */ jsx26("p", { className: "text-muted-foreground", children: rights.admin ? "Open a column's menu and choose \u201CLet AI fill\u201D to set one up \u2014 or just ask for it in plain words and the agent will." : "Someone with Full access on this table sets that up." })
|
|
8998
8998
|
] });
|
|
8999
8999
|
}
|
|
9000
9000
|
return /* @__PURE__ */ jsx26("div", { className: cn10("space-y-6 p-4", className), children: shown4.map((row) => {
|
|
@@ -17646,7 +17646,7 @@ function CommentThread({ tableId, recordId, fieldKey, className }) {
|
|
|
17646
17646
|
}
|
|
17647
17647
|
) : (
|
|
17648
17648
|
// No dead composer. The store's own rung, in a person's words.
|
|
17649
|
-
/* @__PURE__ */ jsx58("p", { className: "text-xs text-muted-foreground", children: "You can read this conversation and not join it. Commenting needs
|
|
17649
|
+
/* @__PURE__ */ jsx58("p", { className: "text-xs text-muted-foreground", children: "You can read this conversation and not join it. Commenting needs Comment access on this record \u2014 ask whoever shared it with you to raise it." })
|
|
17650
17650
|
)
|
|
17651
17651
|
] });
|
|
17652
17652
|
}
|
|
@@ -37907,7 +37907,7 @@ import { FORM_STATE_WORDS as FORM_STATE_WORDS2 } from "@ai-matrx/records/forms";
|
|
|
37907
37907
|
import { Fragment as Fragment53, jsx as jsx117, jsxs as jsxs110 } from "react/jsx-runtime";
|
|
37908
37908
|
var FORM_NOT_HERE_LINE = "The link named a form this table does not have \u2014 it may have been removed, or it belongs to another table. The forms this table does have are listed here.";
|
|
37909
37909
|
var WHAT_A_FORM_IS = "A form uses this table's own fields, and its answers land here as ordinary records stamped with the form they came through.";
|
|
37910
|
-
var NO_ADMIN = "This table has no forms. Making one needs
|
|
37910
|
+
var NO_ADMIN = "This table has no forms. Making one needs Full access on it, because a form decides what people with no account may add here.";
|
|
37911
37911
|
function formSuggestion(tableName2) {
|
|
37912
37912
|
const subject = tableName2?.trim() ? tableName2.trim() : "this table";
|
|
37913
37913
|
return `Make me a form that collects new ${subject} entries and tells me when somebody answers.`;
|
|
@@ -38987,7 +38987,7 @@ function EmbedFrame({
|
|
|
38987
38987
|
if (!rights.admin) {
|
|
38988
38988
|
return /* @__PURE__ */ jsxs115("p", { className: cn70("rounded border border-dashed px-2 py-1 text-xs text-muted-foreground", className), children: [
|
|
38989
38989
|
rights.why("structure"),
|
|
38990
|
-
" Issuing an embed opens a way in from somebody else's website, so it needs
|
|
38990
|
+
" Issuing an embed opens a way in from somebody else's website, so it needs Full access on this table."
|
|
38991
38991
|
] });
|
|
38992
38992
|
}
|
|
38993
38993
|
const snippet = secret ? `<iframe src="${embedUrl}#t=${secret}" style="width:100%;height:640px;border:0" loading="lazy"></iframe>` : null;
|
|
@@ -40401,7 +40401,7 @@ function railFromParam(raw) {
|
|
|
40401
40401
|
function unknownRailLine(raw) {
|
|
40402
40402
|
return `The link asked to open \u201C${raw}\u201D on this table, which is not something a table has, so you are looking at its records. A table opens Forms, Bookings, Checklists, Notifications, Portals, Settings, Import, Inbox and Share \u2014 each is in the table's menu.`;
|
|
40403
40403
|
}
|
|
40404
|
-
var SHARE_NOT_YOURS_LINE = "The link asked to open this table's sharing, and only someone with
|
|
40404
|
+
var SHARE_NOT_YOURS_LINE = "The link asked to open this table's sharing, and only someone with Full access on this table can share it, so it did not open. Ask someone with Full access on this table to share it or to give you Full access.";
|
|
40405
40405
|
function openingView(activeView, activeDashboardId) {
|
|
40406
40406
|
const named = pageViewFromParam(activeView);
|
|
40407
40407
|
if (named === null) {
|
|
@@ -40966,7 +40966,7 @@ function TablePage({
|
|
|
40966
40966
|
label: "Questions",
|
|
40967
40967
|
icon: "layout-dashboard",
|
|
40968
40968
|
group: "built-on",
|
|
40969
|
-
...mayDo.known && !mayDo.read ? { disabledReason: "Needs
|
|
40969
|
+
...mayDo.known && !mayDo.read ? { disabledReason: "Needs View access" } : {},
|
|
40970
40970
|
run: () => go({ main: "questions" })
|
|
40971
40971
|
},
|
|
40972
40972
|
...canGetReference ? [
|
|
@@ -40975,7 +40975,7 @@ function TablePage({
|
|
|
40975
40975
|
label: "Get reference\u2026",
|
|
40976
40976
|
icon: "link-2",
|
|
40977
40977
|
group: "share",
|
|
40978
|
-
...mayDo.known && !mayDo.read ? { disabledReason: "Needs
|
|
40978
|
+
...mayDo.known && !mayDo.read ? { disabledReason: "Needs View access" } : {},
|
|
40979
40979
|
run: () => void window.setTimeout(() => setReferenceOpen(true), 0)
|
|
40980
40980
|
}
|
|
40981
40981
|
] : [],
|
|
@@ -40986,7 +40986,7 @@ function TablePage({
|
|
|
40986
40986
|
label: subItemsOn ? "Turn off sub-items" : "Turn on sub-items",
|
|
40987
40987
|
icon: "list-checks",
|
|
40988
40988
|
group: "manage",
|
|
40989
|
-
...mayDo.known && !mayDo.structure ? { disabledReason: "Needs
|
|
40989
|
+
...mayDo.known && !mayDo.structure ? { disabledReason: "Needs Full access" } : {},
|
|
40990
40990
|
run: () => void toggleSubItems()
|
|
40991
40991
|
},
|
|
40992
40992
|
// CLEAN THE WHOLE TABLE (the Sheet's toolbar cleanup): the grid's one review, from the ⋯ too.
|
|
@@ -40996,13 +40996,13 @@ function TablePage({
|
|
|
40996
40996
|
label: CLEAN_TABLE_LABEL,
|
|
40997
40997
|
icon: "eraser",
|
|
40998
40998
|
group: "manage",
|
|
40999
|
-
...mayDo.known && !mayDo.write ? { disabledReason: "Needs
|
|
40999
|
+
...mayDo.known && !mayDo.write ? { disabledReason: "Needs Edit access" } : {},
|
|
41000
41000
|
run: () => void window.setTimeout(() => askToCleanTable(tableId), 0)
|
|
41001
41001
|
}
|
|
41002
41002
|
] : [],
|
|
41003
41003
|
// BREAK DOWN: the grid grouped by one column, through the drill's own question.
|
|
41004
41004
|
breakDownAction({
|
|
41005
|
-
...mayDo.known && !mayDo.read ? { disabledReason: "Needs
|
|
41005
|
+
...mayDo.known && !mayDo.read ? { disabledReason: "Needs View access" } : !view ? { disabledReason: NO_VIEW_REASON } : allFields.data && allFields.data.length === 0 ? { disabledReason: NO_DIMENSION_REASON } : {},
|
|
41006
41006
|
run: () => void window.setTimeout(() => setBreakDownOpen(true), 0)
|
|
41007
41007
|
}),
|
|
41008
41008
|
// THE VIEW'S TWO ONE-PRESS WAYS OUT (TABLE-EXPERIENCE item 4).
|
|
@@ -41017,10 +41017,10 @@ function TablePage({
|
|
|
41017
41017
|
recordsUi.notify?.error("Couldn\u2019t copy the link");
|
|
41018
41018
|
}
|
|
41019
41019
|
},
|
|
41020
|
-
...mayDo.known && !mayDo.read ? { disabledReason: "Needs
|
|
41020
|
+
...mayDo.known && !mayDo.read ? { disabledReason: "Needs View access" } : {}
|
|
41021
41021
|
}),
|
|
41022
41022
|
downloadCsvAction({
|
|
41023
|
-
...mayDo.known && !mayDo.read ? { disabledReason: "Needs
|
|
41023
|
+
...mayDo.known && !mayDo.read ? { disabledReason: "Needs View access" } : !allFields.data ? { disabledReason: "Reading this table\u2026" } : {},
|
|
41024
41024
|
run: () => downloadViewCsv({
|
|
41025
41025
|
client,
|
|
41026
41026
|
host: recordsUi,
|
|
@@ -41032,7 +41032,7 @@ function TablePage({
|
|
|
41032
41032
|
})
|
|
41033
41033
|
}),
|
|
41034
41034
|
downloadMarkdownAction({
|
|
41035
|
-
...mayDo.known && !mayDo.read ? { disabledReason: "Needs
|
|
41035
|
+
...mayDo.known && !mayDo.read ? { disabledReason: "Needs View access" } : !allFields.data ? { disabledReason: "Reading this table\u2026" } : {},
|
|
41036
41036
|
run: () => downloadViewMarkdown({
|
|
41037
41037
|
client,
|
|
41038
41038
|
host: recordsUi,
|
|
@@ -41044,7 +41044,7 @@ function TablePage({
|
|
|
41044
41044
|
})
|
|
41045
41045
|
}),
|
|
41046
41046
|
copyMarkdownAction({
|
|
41047
|
-
...mayDo.known && !mayDo.read ? { disabledReason: "Needs
|
|
41047
|
+
...mayDo.known && !mayDo.read ? { disabledReason: "Needs View access" } : !allFields.data ? { disabledReason: "Reading this table\u2026" } : {},
|
|
41048
41048
|
run: () => copyViewMarkdown({
|
|
41049
41049
|
client,
|
|
41050
41050
|
host: recordsUi,
|
|
@@ -41058,7 +41058,7 @@ function TablePage({
|
|
|
41058
41058
|
// PRINT, FULL PRINT, HTML PREVIEW, COPY THE HTML PAGE, SAVE AS FILE (TABLE-PARITY item 3): the platform print system's.
|
|
41059
41059
|
...["print", "full-print", "html-preview", "copy-html-page", "save-as-file"].map(
|
|
41060
41060
|
(kind2) => tablePageAction(kind2, {
|
|
41061
|
-
...mayDo.known && !mayDo.read ? { disabledReason: "Needs
|
|
41061
|
+
...mayDo.known && !mayDo.read ? { disabledReason: "Needs View access" } : !allFields.data ? { disabledReason: "Reading this table\u2026" } : {},
|
|
41062
41062
|
run: () => runTablePageAction(kind2, {
|
|
41063
41063
|
client,
|
|
41064
41064
|
host: recordsUi,
|
|
@@ -41073,7 +41073,7 @@ function TablePage({
|
|
|
41073
41073
|
// THE PRIVATE CALENDAR LINK (CAL-FEED-UI): only where the host bound the doors.
|
|
41074
41074
|
...recordsUi.calendarFeed && organizationId ? [
|
|
41075
41075
|
subscribeCalendarAction({
|
|
41076
|
-
...mayDo.known && !mayDo.read ? { disabledReason: "Needs
|
|
41076
|
+
...mayDo.known && !mayDo.read ? { disabledReason: "Needs View access" } : !view ? { disabledReason: NO_VIEW_REASON } : !subscribeDateKey ? { disabledReason: shown4?.layout === "calendar" ? "This table has no date column" : "Switch this view to Calendar to subscribe" } : {},
|
|
41077
41077
|
run: () => void window.setTimeout(() => void subscribeInCalendar(), 0)
|
|
41078
41078
|
})
|
|
41079
41079
|
] : [],
|