@ai-matrx/records-ui 0.116.45 → 0.116.46
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-SL5DUNI4.js → SaveToTable-SWB2ZN5X.js} +3 -3
- package/dist/{chunk-XKI6S5KF.js → chunk-UTMV5ES2.js} +2 -2
- package/dist/{chunk-F4SAKQKQ.js → chunk-Y5QOV3XA.js} +79 -76
- package/dist/chunk-Y5QOV3XA.js.map +1 -0
- package/dist/{chunk-NKZBAIU4.js → chunk-ZUQUZOL5.js} +7 -5
- package/dist/chunk-ZUQUZOL5.js.map +1 -0
- package/dist/helpers.cjs +6 -4
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.js +6 -4
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +109 -88
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +28 -12
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +83 -79
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.js +2 -2
- package/package.json +5 -5
- package/dist/chunk-F4SAKQKQ.js.map +0 -1
- package/dist/chunk-NKZBAIU4.js.map +0 -1
- /package/dist/{SaveToTable-SL5DUNI4.js.map → SaveToTable-SWB2ZN5X.js.map} +0 -0
- /package/dist/{chunk-XKI6S5KF.js.map → chunk-UTMV5ES2.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -29,11 +29,25 @@
|
|
|
29
29
|
- Tests: `vitest.setup.ts` gives jsdom a no-op `performance.mark` / `measure`.
|
|
30
30
|
- **New subpath `@ai-matrx/records-ui/data-source`:** `recordsDataSource`, `personActor` and the who-changed words (`whenWords`, `actorWords`, `actorBadge`, `lastChangeSentence`, `SOMEBODY`, `THE_SYSTEM`) alone. `/helpers` also carries the field-type words, the colour resolver and the table builders, which read `@ai-matrx/records/core`; this entry reaches `@ai-matrx/kit` only, and shares the one data-source cache with `/helpers` and the root. Additive. Consumer action: a shell-reachable service that only binds its supabase client or says when imports from `/data-source`.
|
|
31
31
|
|
|
32
|
-
## 0.116.
|
|
32
|
+
## 0.116.46
|
|
33
33
|
|
|
34
34
|
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
35
35
|
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records-ui/src`.
|
|
36
36
|
|
|
37
|
+
## 0.116.45
|
|
38
|
+
|
|
39
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
40
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
41
|
+
Diff: `git diff 3b2b1c9db5 6903c71965 -- apps/shared/records-ui/src`
|
|
42
|
+
|
|
43
|
+
Changed shipped source files (6):
|
|
44
|
+
- `apps/shared/records-ui/src/ExportMenu.tsx`
|
|
45
|
+
- `apps/shared/records-ui/src/Refusal.tsx`
|
|
46
|
+
- `apps/shared/records-ui/src/TableDuplicate.tsx`
|
|
47
|
+
- `apps/shared/records-ui/src/TableSettings.tsx`
|
|
48
|
+
- `apps/shared/records-ui/src/WhereItLives.tsx`
|
|
49
|
+
- `apps/shared/records-ui/src/refusalSaid.ts`
|
|
50
|
+
|
|
37
51
|
## 0.116.44
|
|
38
52
|
|
|
39
53
|
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
SAVE_TO_TABLE_TYPES,
|
|
5
5
|
SaveToTable,
|
|
6
6
|
shapesOfSource
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UTMV5ES2.js";
|
|
8
8
|
import "./chunk-KQR2RA4V.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ZUQUZOL5.js";
|
|
10
10
|
import "./chunk-6Z537SLG.js";
|
|
11
11
|
import "./chunk-OV6QBL5R.js";
|
|
12
12
|
import "./chunk-4ZS4WEEE.js";
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
SaveToTable,
|
|
18
18
|
shapesOfSource
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=SaveToTable-
|
|
20
|
+
//# sourceMappingURL=SaveToTable-SWB2ZN5X.js.map
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
useChoiceNudge,
|
|
25
25
|
useRecordsUi,
|
|
26
26
|
useTableRights
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZUQUZOL5.js";
|
|
28
28
|
import {
|
|
29
29
|
guessColumn,
|
|
30
30
|
readTableShapes,
|
|
@@ -5093,4 +5093,4 @@ export {
|
|
|
5093
5093
|
shapesOfSource,
|
|
5094
5094
|
SaveToTable
|
|
5095
5095
|
};
|
|
5096
|
-
//# sourceMappingURL=chunk-
|
|
5096
|
+
//# sourceMappingURL=chunk-UTMV5ES2.js.map
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
useRecordsUi,
|
|
55
55
|
useTableRights,
|
|
56
56
|
withoutInternalCodes
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-ZUQUZOL5.js";
|
|
58
58
|
import {
|
|
59
59
|
kindItemWords,
|
|
60
60
|
kindLabel,
|
|
@@ -3587,12 +3587,62 @@ function WholeValueEditor({
|
|
|
3587
3587
|
import { formatPhone as formatPhone2 } from "@ai-matrx/design-system/field-formats";
|
|
3588
3588
|
|
|
3589
3589
|
// src/formattedValue.tsx
|
|
3590
|
-
import { useRef as
|
|
3590
|
+
import { useRef as useRef9 } from "react";
|
|
3591
3591
|
import { FormattedCell } from "@ai-matrx/design-system/data-table";
|
|
3592
3592
|
import { formatFieldValue as formatFieldValue2, formatPhone, getFieldFormat } from "@ai-matrx/design-system/field-formats";
|
|
3593
3593
|
import { cn as cn10 } from "@ai-matrx/design-system";
|
|
3594
3594
|
import { OutboundLink as OutboundLink3 } from "@ai-matrx/kit/outbound-react";
|
|
3595
|
-
|
|
3595
|
+
|
|
3596
|
+
// src/LinkPreviewCard.tsx
|
|
3597
|
+
import { useEffect as useEffect10, useRef as useRef8, useState as useState15 } from "react";
|
|
3598
|
+
import { HoverCard, HoverCardContent, HoverCardTrigger, SiteIcon } from "@ai-matrx/design-system";
|
|
3599
|
+
import { Fragment as Fragment9, jsx as jsx19, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
3600
|
+
var answers = /* @__PURE__ */ new Map();
|
|
3601
|
+
function LinkPreviewCard({ url, children }) {
|
|
3602
|
+
const port = useRecordsUi().linkPreview;
|
|
3603
|
+
const [preview, setPreview] = useState15(void 0);
|
|
3604
|
+
const [open, setOpen] = useState15(false);
|
|
3605
|
+
const timer = useRef8(null);
|
|
3606
|
+
useEffect10(() => () => void (timer.current && clearTimeout(timer.current)), []);
|
|
3607
|
+
if (!port) return /* @__PURE__ */ jsx19(Fragment9, { children });
|
|
3608
|
+
const ask = () => {
|
|
3609
|
+
if (preview !== void 0) return;
|
|
3610
|
+
let pending = answers.get(url);
|
|
3611
|
+
if (!pending) {
|
|
3612
|
+
pending = port.read(url).catch(() => null);
|
|
3613
|
+
answers.set(url, pending);
|
|
3614
|
+
}
|
|
3615
|
+
void pending.then((found) => setPreview(found));
|
|
3616
|
+
};
|
|
3617
|
+
const enter = () => {
|
|
3618
|
+
ask();
|
|
3619
|
+
if (timer.current) clearTimeout(timer.current);
|
|
3620
|
+
timer.current = setTimeout(() => setOpen(true), 350);
|
|
3621
|
+
};
|
|
3622
|
+
const leave = () => {
|
|
3623
|
+
if (timer.current) clearTimeout(timer.current);
|
|
3624
|
+
setOpen(false);
|
|
3625
|
+
};
|
|
3626
|
+
const shown2 = preview && (preview.title || preview.description || preview.imageUrl) ? preview : null;
|
|
3627
|
+
return /* @__PURE__ */ jsxs16(HoverCard, { open: open && shown2 !== null, onOpenChange: (next) => next ? void 0 : setOpen(false), children: [
|
|
3628
|
+
/* @__PURE__ */ jsx19(HoverCardTrigger, { asChild: true, children: /* @__PURE__ */ jsx19("span", { className: "inline-flex min-w-0 max-w-full", onMouseEnter: enter, onMouseLeave: leave, onFocus: enter, onBlur: leave, children }) }),
|
|
3629
|
+
shown2 ? /* @__PURE__ */ jsxs16(HoverCardContent, { align: "start", className: "w-72 space-y-1.5 p-2 text-xs", "data-records-link-preview": "", children: [
|
|
3630
|
+
shown2.imageUrl ? (
|
|
3631
|
+
// eslint-disable-next-line @next/next/no-img-element
|
|
3632
|
+
/* @__PURE__ */ jsx19("img", { src: shown2.imageUrl, alt: "", className: "h-28 w-full rounded object-cover", referrerPolicy: "no-referrer" })
|
|
3633
|
+
) : null,
|
|
3634
|
+
/* @__PURE__ */ jsxs16("div", { className: "flex items-center gap-1.5", children: [
|
|
3635
|
+
/* @__PURE__ */ jsx19(SiteIcon, { site: url, iconUrl: shown2.faviconUrl, className: "h-3.5 w-3.5" }),
|
|
3636
|
+
/* @__PURE__ */ jsx19("span", { className: "truncate text-muted-foreground", children: shown2.siteName ?? "" })
|
|
3637
|
+
] }),
|
|
3638
|
+
shown2.title ? /* @__PURE__ */ jsx19("div", { className: "line-clamp-2 font-medium", children: shown2.title }) : null,
|
|
3639
|
+
shown2.description ? /* @__PURE__ */ jsx19("div", { className: "line-clamp-3 text-muted-foreground", children: shown2.description }) : null
|
|
3640
|
+
] }) : null
|
|
3641
|
+
] });
|
|
3642
|
+
}
|
|
3643
|
+
|
|
3644
|
+
// src/formattedValue.tsx
|
|
3645
|
+
import { jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
3596
3646
|
var LINK = "inline-flex min-w-0 items-center gap-1 text-primary hover:underline";
|
|
3597
3647
|
var own2 = (event) => event.stopPropagation();
|
|
3598
3648
|
function numberOf3(value) {
|
|
@@ -3610,11 +3660,11 @@ function RatingStars({
|
|
|
3610
3660
|
label,
|
|
3611
3661
|
selectFirst
|
|
3612
3662
|
}) {
|
|
3613
|
-
const armed =
|
|
3663
|
+
const armed = useRef9(true);
|
|
3614
3664
|
const score = numberOf3(value) ?? 0;
|
|
3615
3665
|
const shown2 = Math.round(score);
|
|
3616
3666
|
const said2 = `${shown2} out of ${max}`;
|
|
3617
|
-
return /* @__PURE__ */
|
|
3667
|
+
return /* @__PURE__ */ jsx20(
|
|
3618
3668
|
"span",
|
|
3619
3669
|
{
|
|
3620
3670
|
"data-records-rating": "",
|
|
@@ -3626,8 +3676,8 @@ function RatingStars({
|
|
|
3626
3676
|
children: Array.from({ length: max }, (_, i) => {
|
|
3627
3677
|
const n = i + 1;
|
|
3628
3678
|
const lit = n <= shown2;
|
|
3629
|
-
const star = /* @__PURE__ */
|
|
3630
|
-
return onRate ? /* @__PURE__ */
|
|
3679
|
+
const star = /* @__PURE__ */ jsx20("span", { "aria-hidden": true, className: cn10("text-sm leading-none", lit ? "text-amber-400" : "text-muted-foreground/40"), children: "\u2605" });
|
|
3680
|
+
return onRate ? /* @__PURE__ */ jsx20(
|
|
3631
3681
|
"button",
|
|
3632
3682
|
{
|
|
3633
3683
|
type: "button",
|
|
@@ -3652,7 +3702,7 @@ function RatingStars({
|
|
|
3652
3702
|
children: star
|
|
3653
3703
|
},
|
|
3654
3704
|
n
|
|
3655
|
-
) : /* @__PURE__ */
|
|
3705
|
+
) : /* @__PURE__ */ jsx20("span", { children: star }, n);
|
|
3656
3706
|
})
|
|
3657
3707
|
}
|
|
3658
3708
|
);
|
|
@@ -3660,20 +3710,20 @@ function RatingStars({
|
|
|
3660
3710
|
function rich(id, text, raw, format) {
|
|
3661
3711
|
switch (id) {
|
|
3662
3712
|
case "email":
|
|
3663
|
-
return /* @__PURE__ */
|
|
3713
|
+
return /* @__PURE__ */ jsx20("a", { href: `mailto:${text}`, className: LINK, onClick: own2, children: /* @__PURE__ */ jsx20("span", { className: "truncate", children: readableLink(text) }) });
|
|
3664
3714
|
case "url":
|
|
3665
|
-
return /* @__PURE__ */
|
|
3715
|
+
return /* @__PURE__ */ jsx20(LinkPreviewCard, { url: text.includes("://") ? text : `https://${text}`, children: /* @__PURE__ */ jsx20(OutboundLink3, { href: text.includes("://") ? text : `https://${text}`, className: LINK, onClick: own2, children: /* @__PURE__ */ jsx20("span", { className: "truncate", children: text }) }) });
|
|
3666
3716
|
case "phone":
|
|
3667
|
-
return /* @__PURE__ */
|
|
3717
|
+
return /* @__PURE__ */ jsx20("a", { href: `tel:${text.replace(/[^\d+]/g, "")}`, className: LINK, onClick: own2, title: text, children: /* @__PURE__ */ jsx20("span", { className: "truncate tabular-nums", children: formatPhone(text) }) });
|
|
3668
3718
|
case "address":
|
|
3669
|
-
return /* @__PURE__ */
|
|
3719
|
+
return /* @__PURE__ */ jsx20(
|
|
3670
3720
|
OutboundLink3,
|
|
3671
3721
|
{
|
|
3672
3722
|
href: `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(text)}`,
|
|
3673
3723
|
className: LINK,
|
|
3674
3724
|
title: "Open in maps",
|
|
3675
3725
|
onClick: own2,
|
|
3676
|
-
children: /* @__PURE__ */
|
|
3726
|
+
children: /* @__PURE__ */ jsx20("span", { className: "truncate", children: text })
|
|
3677
3727
|
}
|
|
3678
3728
|
);
|
|
3679
3729
|
case "progress": {
|
|
@@ -3681,8 +3731,8 @@ function rich(id, text, raw, format) {
|
|
|
3681
3731
|
if (n === null) return void 0;
|
|
3682
3732
|
const pct = format.options?.percentScale === "fraction" ? n * 100 : n;
|
|
3683
3733
|
const clamped = Math.max(0, Math.min(100, pct));
|
|
3684
|
-
return /* @__PURE__ */
|
|
3685
|
-
/* @__PURE__ */
|
|
3734
|
+
return /* @__PURE__ */ jsxs17("span", { className: "inline-flex w-full min-w-0 items-center gap-2", title: text, children: [
|
|
3735
|
+
/* @__PURE__ */ jsx20(
|
|
3686
3736
|
"span",
|
|
3687
3737
|
{
|
|
3688
3738
|
role: "progressbar",
|
|
@@ -3690,24 +3740,24 @@ function rich(id, text, raw, format) {
|
|
|
3690
3740
|
"aria-valuemax": 100,
|
|
3691
3741
|
"aria-valuenow": Math.round(clamped),
|
|
3692
3742
|
className: "h-1.5 min-w-8 flex-1 overflow-hidden rounded-full bg-muted",
|
|
3693
|
-
children: /* @__PURE__ */
|
|
3743
|
+
children: /* @__PURE__ */ jsx20("span", { className: cn10("block h-full rounded-full", pct >= 100 ? "bg-emerald-500" : "bg-primary"), style: { width: `${clamped}%` } })
|
|
3694
3744
|
}
|
|
3695
3745
|
),
|
|
3696
|
-
/* @__PURE__ */
|
|
3746
|
+
/* @__PURE__ */ jsx20("span", { className: "shrink-0 text-xs tabular-nums text-muted-foreground", children: text })
|
|
3697
3747
|
] });
|
|
3698
3748
|
}
|
|
3699
3749
|
case "color":
|
|
3700
|
-
return /* @__PURE__ */
|
|
3701
|
-
/* @__PURE__ */
|
|
3702
|
-
/* @__PURE__ */
|
|
3750
|
+
return /* @__PURE__ */ jsxs17("span", { className: "inline-flex items-center gap-1.5", children: [
|
|
3751
|
+
/* @__PURE__ */ jsx20("span", { className: "h-4 w-4 shrink-0 rounded border border-border", style: { backgroundColor: text } }),
|
|
3752
|
+
/* @__PURE__ */ jsx20("code", { className: "font-mono text-xs", children: text })
|
|
3703
3753
|
] });
|
|
3704
3754
|
case "tags": {
|
|
3705
3755
|
const items = Array.isArray(raw) ? raw.map(String) : text.split(",").map((s) => s.trim()).filter(Boolean);
|
|
3706
3756
|
if (items.length === 0) return void 0;
|
|
3707
|
-
return /* @__PURE__ */
|
|
3757
|
+
return /* @__PURE__ */ jsx20("span", { className: "flex flex-wrap items-center gap-1", children: items.map((item, i) => /* @__PURE__ */ jsx20("span", { className: "inline-flex items-center rounded-md border border-border bg-muted px-1.5 py-0.5 text-xs", children: item }, `${item}-${i}`)) });
|
|
3708
3758
|
}
|
|
3709
3759
|
case "rating":
|
|
3710
|
-
return numberOf3(raw) === null ? void 0 : /* @__PURE__ */
|
|
3760
|
+
return numberOf3(raw) === null ? void 0 : /* @__PURE__ */ jsx20(RatingStars, { value: raw, max: format.options?.ratingMax ?? 5 });
|
|
3711
3761
|
default:
|
|
3712
3762
|
return void 0;
|
|
3713
3763
|
}
|
|
@@ -3722,16 +3772,16 @@ function FormattedValue({
|
|
|
3722
3772
|
const score = numberOf3(value);
|
|
3723
3773
|
const max = format.options?.ratingMax ?? 5;
|
|
3724
3774
|
if (def?.id === "rating" && onRate && (value === null || value === void 0 || value === "" || score !== null && score >= 0 && score <= max)) {
|
|
3725
|
-
return /* @__PURE__ */
|
|
3775
|
+
return /* @__PURE__ */ jsx20(RatingStars, { value, max: format.options?.ratingMax ?? 5, onRate, selectFirst });
|
|
3726
3776
|
}
|
|
3727
3777
|
const result = formatFieldValue2(value, format);
|
|
3728
|
-
if (!result.ok || result.empty || !def?.rich) return /* @__PURE__ */
|
|
3778
|
+
if (!result.ok || result.empty || !def?.rich) return /* @__PURE__ */ jsx20(FormattedCell, { result });
|
|
3729
3779
|
const look = fieldLookFor(def.id);
|
|
3730
3780
|
if (look) {
|
|
3731
3781
|
const View = look.View;
|
|
3732
|
-
return /* @__PURE__ */
|
|
3782
|
+
return /* @__PURE__ */ jsx20(View, { value, format });
|
|
3733
3783
|
}
|
|
3734
|
-
return rich(def.id, result.text, value, format) ?? /* @__PURE__ */
|
|
3784
|
+
return rich(def.id, result.text, value, format) ?? /* @__PURE__ */ jsx20(FormattedCell, { result });
|
|
3735
3785
|
}
|
|
3736
3786
|
function linkChipText(raw) {
|
|
3737
3787
|
try {
|
|
@@ -3744,54 +3794,6 @@ function linkChipText(raw) {
|
|
|
3744
3794
|
}
|
|
3745
3795
|
}
|
|
3746
3796
|
|
|
3747
|
-
// src/LinkPreviewCard.tsx
|
|
3748
|
-
import { useEffect as useEffect10, useRef as useRef9, useState as useState15 } from "react";
|
|
3749
|
-
import { HoverCard, HoverCardContent, HoverCardTrigger, SiteIcon } from "@ai-matrx/design-system";
|
|
3750
|
-
import { Fragment as Fragment9, jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
3751
|
-
var answers = /* @__PURE__ */ new Map();
|
|
3752
|
-
function LinkPreviewCard({ url, children }) {
|
|
3753
|
-
const port = useRecordsUi().linkPreview;
|
|
3754
|
-
const [preview, setPreview] = useState15(void 0);
|
|
3755
|
-
const [open, setOpen] = useState15(false);
|
|
3756
|
-
const timer = useRef9(null);
|
|
3757
|
-
useEffect10(() => () => void (timer.current && clearTimeout(timer.current)), []);
|
|
3758
|
-
if (!port) return /* @__PURE__ */ jsx20(Fragment9, { children });
|
|
3759
|
-
const ask = () => {
|
|
3760
|
-
if (preview !== void 0) return;
|
|
3761
|
-
let pending = answers.get(url);
|
|
3762
|
-
if (!pending) {
|
|
3763
|
-
pending = port.read(url).catch(() => null);
|
|
3764
|
-
answers.set(url, pending);
|
|
3765
|
-
}
|
|
3766
|
-
void pending.then((found) => setPreview(found));
|
|
3767
|
-
};
|
|
3768
|
-
const enter = () => {
|
|
3769
|
-
ask();
|
|
3770
|
-
if (timer.current) clearTimeout(timer.current);
|
|
3771
|
-
timer.current = setTimeout(() => setOpen(true), 350);
|
|
3772
|
-
};
|
|
3773
|
-
const leave = () => {
|
|
3774
|
-
if (timer.current) clearTimeout(timer.current);
|
|
3775
|
-
setOpen(false);
|
|
3776
|
-
};
|
|
3777
|
-
const shown2 = preview && (preview.title || preview.description || preview.imageUrl) ? preview : null;
|
|
3778
|
-
return /* @__PURE__ */ jsxs17(HoverCard, { open: open && shown2 !== null, onOpenChange: (next) => next ? void 0 : setOpen(false), children: [
|
|
3779
|
-
/* @__PURE__ */ jsx20(HoverCardTrigger, { asChild: true, children: /* @__PURE__ */ jsx20("span", { className: "inline-flex min-w-0 max-w-full", onMouseEnter: enter, onMouseLeave: leave, onFocus: enter, onBlur: leave, children }) }),
|
|
3780
|
-
shown2 ? /* @__PURE__ */ jsxs17(HoverCardContent, { align: "start", className: "w-72 space-y-1.5 p-2 text-xs", "data-records-link-preview": "", children: [
|
|
3781
|
-
shown2.imageUrl ? (
|
|
3782
|
-
// eslint-disable-next-line @next/next/no-img-element
|
|
3783
|
-
/* @__PURE__ */ jsx20("img", { src: shown2.imageUrl, alt: "", className: "h-28 w-full rounded object-cover", referrerPolicy: "no-referrer" })
|
|
3784
|
-
) : null,
|
|
3785
|
-
/* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-1.5", children: [
|
|
3786
|
-
/* @__PURE__ */ jsx20(SiteIcon, { site: url, iconUrl: shown2.faviconUrl, className: "h-3.5 w-3.5" }),
|
|
3787
|
-
/* @__PURE__ */ jsx20("span", { className: "truncate text-muted-foreground", children: shown2.siteName ?? "" })
|
|
3788
|
-
] }),
|
|
3789
|
-
shown2.title ? /* @__PURE__ */ jsx20("div", { className: "line-clamp-2 font-medium", children: shown2.title }) : null,
|
|
3790
|
-
shown2.description ? /* @__PURE__ */ jsx20("div", { className: "line-clamp-3 text-muted-foreground", children: shown2.description }) : null
|
|
3791
|
-
] }) : null
|
|
3792
|
-
] });
|
|
3793
|
-
}
|
|
3794
|
-
|
|
3795
3797
|
// src/gridAttachments.tsx
|
|
3796
3798
|
import { useEffect as useEffect11, useRef as useRef10, useState as useState16 } from "react";
|
|
3797
3799
|
import { useOptionalRecordsClient as useOptionalRecordsClient6 } from "@ai-matrx/records/react";
|
|
@@ -4784,7 +4786,7 @@ import { AlchemyMenu } from "@ai-matrx/alchemy/react";
|
|
|
4784
4786
|
import { OutboundLink as OutboundLink5 } from "@ai-matrx/kit/outbound-react";
|
|
4785
4787
|
import { humanizeIdentifier } from "@ai-matrx/kit/text-case";
|
|
4786
4788
|
import { jsx as jsx26, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
4787
|
-
var SaveToTable = lazy(() => import("./SaveToTable-
|
|
4789
|
+
var SaveToTable = lazy(() => import("./SaveToTable-SWB2ZN5X.js").then((m) => ({ default: m.SaveToTable })));
|
|
4788
4790
|
var LONGEST_READ = 5e5;
|
|
4789
4791
|
var FENCE = /^```(?:json)?[ \t]*\r?\n([\s\S]*?)\r?\n?```$/;
|
|
4790
4792
|
function isPlainObject(v) {
|
|
@@ -7520,6 +7522,7 @@ var READS = /* @__PURE__ */ new Set([
|
|
|
7520
7522
|
"cell-history",
|
|
7521
7523
|
"cell-filter",
|
|
7522
7524
|
"row-open",
|
|
7525
|
+
"row-print-layout",
|
|
7523
7526
|
"row-history",
|
|
7524
7527
|
"row-copy",
|
|
7525
7528
|
"col-sort-asc",
|
|
@@ -12325,4 +12328,4 @@ export {
|
|
|
12325
12328
|
RecordNameText,
|
|
12326
12329
|
HeldChangeDecision
|
|
12327
12330
|
};
|
|
12328
|
-
//# sourceMappingURL=chunk-
|
|
12331
|
+
//# sourceMappingURL=chunk-Y5QOV3XA.js.map
|