@ai-matrx/records-ui 0.116.18 → 0.116.19
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 +2 -1
- package/dist/{SaveToTable-QRVSTLIR.js → SaveToTable-PGOQVYVS.js} +5 -5
- package/dist/{chunk-PX3F6PHS.js → chunk-5IX4BL72.js} +2 -2
- package/dist/{chunk-YHAJPUX3.js → chunk-KBNU55HU.js} +23 -29
- package/dist/chunk-KBNU55HU.js.map +1 -0
- package/dist/{chunk-7X2UJN4A.js → chunk-MCDA6L7E.js} +4 -2
- package/dist/{chunk-7X2UJN4A.js.map → chunk-MCDA6L7E.js.map} +1 -1
- package/dist/{chunk-RGMLZHYZ.js → chunk-ODABFEHG.js} +4 -4
- package/dist/chunk-ODABFEHG.js.map +1 -0
- package/dist/{chunk-IUUZVQZD.js → chunk-PPWNFIJ5.js} +2 -2
- package/dist/{chunk-IUUZVQZD.js.map → chunk-PPWNFIJ5.js.map} +1 -1
- package/dist/{chunk-VQZQJAU5.js → chunk-VHZKLE63.js} +13 -13
- package/dist/chunk-VHZKLE63.js.map +1 -0
- package/dist/{chunk-MWIIMCHK.js → chunk-ZNIXJ5RY.js} +2 -2
- package/dist/data-source.cjs +1 -1
- 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 +1 -1
- package/dist/data-source.js.map +1 -1
- package/dist/first-page.cjs +3 -1
- package/dist/first-page.cjs.map +1 -1
- package/dist/first-page.d.cts +6 -23
- package/dist/first-page.d.ts +6 -23
- package/dist/first-page.js +3 -1
- package/dist/first-page.js.map +1 -1
- package/dist/helpers.cjs +3 -3
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/helpers.js +3 -3
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +144 -165
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +115 -132
- package/dist/index.js.map +1 -1
- package/dist/object-actions.cjs +1 -1
- package/dist/object-actions.cjs.map +1 -1
- package/dist/object-actions.js +2 -2
- package/dist/pickers.cjs +14 -14
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +4 -4
- package/dist/skeleton.js +2 -2
- package/package.json +7 -7
- package/dist/chunk-RGMLZHYZ.js.map +0 -1
- package/dist/chunk-VQZQJAU5.js.map +0 -1
- package/dist/chunk-YHAJPUX3.js.map +0 -1
- /package/dist/{SaveToTable-QRVSTLIR.js.map → SaveToTable-PGOQVYVS.js.map} +0 -0
- /package/dist/{chunk-PX3F6PHS.js.map → chunk-5IX4BL72.js.map} +0 -0
- /package/dist/{chunk-MWIIMCHK.js.map → chunk-ZNIXJ5RY.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
toDropdownEntries
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZNIXJ5RY.js";
|
|
5
5
|
import {
|
|
6
6
|
BOOKING_PAGE_STATE_LABEL,
|
|
7
7
|
FilePicker,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
useChoiceNudge,
|
|
25
25
|
useRecordsUi,
|
|
26
26
|
useTableRights
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ODABFEHG.js";
|
|
28
28
|
import {
|
|
29
29
|
guessColumn,
|
|
30
30
|
readTableShapes,
|
|
@@ -2008,7 +2008,7 @@ function ImportWizard({ tableId, source, onDone, onWrote, autoRun, className })
|
|
|
2008
2008
|
interesting.length === 1 ? " is" : " are",
|
|
2009
2009
|
" listed below by their ",
|
|
2010
2010
|
source ? "row" : "line in your file",
|
|
2011
|
-
" \u2014 the
|
|
2011
|
+
" \u2014 the rest stay with this run and are not all shown at once."
|
|
2012
2012
|
] }) : null,
|
|
2013
2013
|
interesting.length > 0 ? /* @__PURE__ */ jsx("div", { className: "max-h-64 overflow-auto rounded border", children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
2014
2014
|
/* @__PURE__ */ jsx("thead", { className: "sticky top-0 bg-muted", children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
@@ -2044,7 +2044,7 @@ function ImportWizard({ tableId, source, onDone, onWrote, autoRun, className })
|
|
|
2044
2044
|
ledger?.refused === 1 ? " is" : " are",
|
|
2045
2045
|
" kept with this import \u2014 open ",
|
|
2046
2046
|
ledger?.refused === 1 ? "it" : "them",
|
|
2047
|
-
" again from the list of imports below, with the
|
|
2047
|
+
" again from the list of imports below, with the reason and the line from your file on each."
|
|
2048
2048
|
] }) : null
|
|
2049
2049
|
] }) : null
|
|
2050
2050
|
] }) : null,
|
|
@@ -2921,10 +2921,10 @@ function messagesToPresentation(m) {
|
|
|
2921
2921
|
var CANNOT_ASK = {
|
|
2922
2922
|
relation: "points at a record in another table, and somebody with no account cannot see that table to pick from it",
|
|
2923
2923
|
member: "is a person in this organization, and somebody outside it has no way to choose one",
|
|
2924
|
-
attachment: "holds a file in your own
|
|
2925
|
-
formula: "is
|
|
2926
|
-
lookup: "is read through a relation, so
|
|
2927
|
-
rollup: "is added up
|
|
2924
|
+
attachment: "holds a file in your own files, and a public page has nowhere to put one yet",
|
|
2925
|
+
formula: "is calculated, so there is nothing for anybody to answer",
|
|
2926
|
+
lookup: "is read through a relation, so it fills in by itself",
|
|
2927
|
+
rollup: "is added up, so there is nothing for anybody to answer"
|
|
2928
2928
|
};
|
|
2929
2929
|
function publiclyAnswerable(field) {
|
|
2930
2930
|
return !(field.type in CANNOT_ASK);
|
|
@@ -3362,7 +3362,7 @@ function BookingBuilder({ tableId, bookingId, onSaved, onClose, startNew, classN
|
|
|
3362
3362
|
/* @__PURE__ */ jsx4("p", { className: "text-xs text-muted-foreground", children: "Nobody booking is asked who they are, so you would not know who booked or how to reach them." }),
|
|
3363
3363
|
/* @__PURE__ */ jsx4(Button3, { size: "sm", variant: "outline", disabled: addingWho, onClick: () => void addWho(), children: addingWho ? "Adding\u2026" : "Ask their name and email" })
|
|
3364
3364
|
] }) : null,
|
|
3365
|
-
/* @__PURE__ */ jsx4("p", { className: "text-xs text-muted-foreground", children: "The time, whether it is booked or cancelled, and who it is with are filled in
|
|
3365
|
+
/* @__PURE__ */ jsx4("p", { className: "text-xs text-muted-foreground", children: "The time, whether it is booked or cancelled, and who it is with are filled in for you \u2014 a booking page cannot ask a visitor for any of the three." }),
|
|
3366
3366
|
leftOut ? /* @__PURE__ */ jsx4("p", { className: "text-xs text-muted-foreground", children: leftOut }) : null,
|
|
3367
3367
|
unfillable ? /* @__PURE__ */ jsx4(
|
|
3368
3368
|
ErrorBox,
|
|
@@ -4204,13 +4204,13 @@ function WhereItLives({ tableId, knownOrganizationName, onMoved, variant = "head
|
|
|
4204
4204
|
className: "w-80 p-3 text-xs",
|
|
4205
4205
|
onClick: (e) => e.stopPropagation(),
|
|
4206
4206
|
onFocusOutside: (e) => e.preventDefault(),
|
|
4207
|
-
children: answer === null ? /* @__PURE__ */ jsx10("p", { className: "text-muted-foreground", children: "
|
|
4207
|
+
children: answer === null ? /* @__PURE__ */ jsx10("p", { className: "text-muted-foreground", children: "Finding where this table lives\u2026" }) : answer.state === "not-given" ? /* @__PURE__ */ jsx10("p", { className: "text-muted-foreground", children: "This table has not been shared with you, so where it lives is not yours to see." }) : answer.state === "door-absent" || answer.state === "unavailable" ? /* @__PURE__ */ jsxs9("div", { className: "space-y-2", children: [
|
|
4208
4208
|
knownOrganizationName ? /* @__PURE__ */ jsxs9("p", { children: [
|
|
4209
4209
|
"Lives in ",
|
|
4210
4210
|
/* @__PURE__ */ jsx10("span", { className: "font-medium text-foreground", children: knownOrganizationName }),
|
|
4211
4211
|
"."
|
|
4212
4212
|
] }) : null,
|
|
4213
|
-
/* @__PURE__ */ jsx10("p", { className: "text-muted-foreground", children: answer.state === "door-absent" ? "Moving it to another organization is not available on this database yet." : `
|
|
4213
|
+
/* @__PURE__ */ jsx10("p", { className: "text-muted-foreground", children: answer.state === "door-absent" ? "Moving it to another organization is not available on this database yet." : `Where this lives could not be found, so nothing here says anything about your access. ${answer.why}` }),
|
|
4214
4214
|
answer.state === "unavailable" ? /* @__PURE__ */ jsx10(Button7, { size: "sm", variant: "outline", className: "h-7 text-xs", onClick: () => setAttempt((n) => n + 1), children: "Ask again" }) : null
|
|
4215
4215
|
] }) : /* @__PURE__ */ jsxs9("div", { className: "space-y-2", "data-where-it-lives-panel": answer.home.table.id, children: [
|
|
4216
4216
|
/* @__PURE__ */ jsxs9("p", { children: [
|
|
@@ -4362,7 +4362,7 @@ function keeperSays(table) {
|
|
|
4362
4362
|
const said = table.keeper_says;
|
|
4363
4363
|
return typeof said === "string" && said.trim() ? said : null;
|
|
4364
4364
|
}
|
|
4365
|
-
var SECTIONS_UNKNOWN = "Who can see each table, and which you made, could not be read
|
|
4365
|
+
var SECTIONS_UNKNOWN = "Who can see each table, and which you made, could not be read, so every table is listed under Everyone and Only me is empty. That is not their real sharing.";
|
|
4366
4366
|
var VISIBILITY_LANES = ["mine", "organization", "community", "world"];
|
|
4367
4367
|
var VISIBILITY_LANE_TITLE = {
|
|
4368
4368
|
mine: "Only me",
|
|
@@ -5081,4 +5081,4 @@ export {
|
|
|
5081
5081
|
shapesOfSource,
|
|
5082
5082
|
SaveToTable
|
|
5083
5083
|
};
|
|
5084
|
-
//# sourceMappingURL=chunk-
|
|
5084
|
+
//# sourceMappingURL=chunk-VHZKLE63.js.map
|