@ai-matrx/records-ui 0.116.74 → 0.116.75
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/{SaveToTable-M532U7TS.js → SaveToTable-HQREESNE.js} +3 -3
- package/dist/{chunk-K5RXFZYC.js → chunk-D2FZEAYO.js} +9 -8
- package/dist/{chunk-K5RXFZYC.js.map → chunk-D2FZEAYO.js.map} +1 -1
- package/dist/{chunk-ZX4EFZSB.js → chunk-HCPNQM4Y.js} +1 -1
- package/dist/chunk-HCPNQM4Y.js.map +1 -0
- package/dist/{chunk-XLHEYH5J.js → chunk-NDYZROTI.js} +4 -4
- package/dist/chunk-NDYZROTI.js.map +1 -0
- package/dist/helpers.d.cts +26 -0
- package/dist/helpers.d.ts +26 -0
- package/dist/index.cjs +217 -109
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +41 -1
- package/dist/index.d.ts +41 -1
- package/dist/index.js +193 -86
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +5 -4
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-XLHEYH5J.js.map +0 -1
- package/dist/chunk-ZX4EFZSB.js.map +0 -1
- /package/dist/{SaveToTable-M532U7TS.js.map → SaveToTable-HQREESNE.js.map} +0 -0
package/dist/pickers.cjs
CHANGED
|
@@ -4128,7 +4128,7 @@ function ImportWizard({ tableId, source, onDone, onWrote, autoRun, className })
|
|
|
4128
4128
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("th", { className: "px-2 py-1 text-left font-medium", children: source ? "The row" : "The row in your file" })
|
|
4129
4129
|
] }) }),
|
|
4130
4130
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("tbody", { children: runRows.rows.map((row, i) => {
|
|
4131
|
-
const
|
|
4131
|
+
const refusedRowSource = row.source ?? {};
|
|
4132
4132
|
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("tr", { className: "border-t align-top", children: [
|
|
4133
4133
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("td", { className: "px-2 py-1", children: typeof row.row === "number" ? lineInYourFile(row.row) : String(row.row ?? "") }),
|
|
4134
4134
|
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("td", { className: "px-2 py-1", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
@@ -4141,7 +4141,7 @@ function ImportWizard({ tableId, source, onDone, onWrote, autoRun, className })
|
|
|
4141
4141
|
)
|
|
4142
4142
|
}
|
|
4143
4143
|
) }),
|
|
4144
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("td", { className: "max-w-96 px-2 py-1 text-muted-foreground", children: Object.entries(
|
|
4144
|
+
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("td", { className: "max-w-96 px-2 py-1 text-muted-foreground", children: Object.entries(refusedRowSource).map(([k, v]) => `${k}: ${String(v ?? "")}`).join(" \xB7 ") })
|
|
4145
4145
|
] }, `${r.import_id}-${String(row.row ?? i)}`);
|
|
4146
4146
|
}) })
|
|
4147
4147
|
] }) })
|
|
@@ -10574,6 +10574,7 @@ async function forgetWrittenWords(client, tableId, key, written) {
|
|
|
10574
10574
|
}
|
|
10575
10575
|
|
|
10576
10576
|
// src/FieldRetype.tsx
|
|
10577
|
+
var import_format2 = require("@ai-matrx/kit/format");
|
|
10577
10578
|
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
10578
10579
|
var RETYPE_PREVIEW_DEBOUNCE_MS = 300;
|
|
10579
10580
|
function scheduleRetypePreview(ask, ms = RETYPE_PREVIEW_DEBOUNCE_MS) {
|
|
@@ -10797,7 +10798,7 @@ function FieldRetype({ field, tableId, onRetyped }) {
|
|
|
10797
10798
|
] }) : null,
|
|
10798
10799
|
to && preview && limitedHeld !== null ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("p", { className: "text-[11px] text-muted-foreground", "data-records-retype-preview": "", "data-records-retype-limited": "", children: [
|
|
10799
10800
|
"About ",
|
|
10800
|
-
|
|
10801
|
+
(0, import_format2.formatCount)(limitedHeld),
|
|
10801
10802
|
" values to change to ",
|
|
10802
10803
|
to.label.toLowerCase(),
|
|
10803
10804
|
"; any that do not fit are kept aside with their records, with the reason \u2014 nothing is deleted."
|
|
@@ -11367,7 +11368,7 @@ init_names();
|
|
|
11367
11368
|
var import_text_case7 = require("@ai-matrx/kit/text-case");
|
|
11368
11369
|
|
|
11369
11370
|
// src/archiveWords.ts
|
|
11370
|
-
var
|
|
11371
|
+
var import_format3 = require("@ai-matrx/kit/format");
|
|
11371
11372
|
function archiveConfirmSentence(what) {
|
|
11372
11373
|
const subject = what.trim() || "it";
|
|
11373
11374
|
return `This archives ${subject}. It leaves this list, and you can restore it from the Archived view.`;
|