@nivaro/react 0.3.111 → 0.3.113
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/dist/full.css +1 -1
- package/dist/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +207 -3
- package/dist/index.js +745 -728
- package/dist/shared/components/CollectionBrowserView.js +3133 -2954
- package/dist/shared/components/CollectionImportBanner.js +135 -0
- package/dist/shared/components/ItemEditForm.js +2235 -2218
- package/dist/shared/components/JobsTray.js +54 -47
- package/dist/shared/components/ViewAsPersonButton.js +109 -0
- package/dist/shared/components/bulk/BulkFieldUpdate.js +228 -150
- package/dist/shared/components/bulk/BulkFieldUpdateButton.js +35 -41
- package/dist/shared/components/bulk/BulkLinksValue.js +91 -0
- package/dist/shared/components/bulk/bulk-field-options.js +20 -19
- package/dist/shared/components/bulk/bulk-update-preview.js +39 -0
- package/dist/shared/components/cbv/ColumnHeaderMenu.js +130 -0
- package/dist/shared/components/cbv/column-totals.js +163 -0
- package/dist/shared/components/collections-directory/CollectionHoverCard.js +108 -81
- package/dist/shared/components/collections-directory/CollectionRow.js +164 -148
- package/dist/shared/components/collections-directory/CollectionsDirectory.js +167 -166
- package/dist/shared/components/collections-directory/directory-data.js +70 -58
- package/dist/shared/components/imports/CollectionImportPanel.js +120 -118
- package/dist/shared/components/imports/DefinitionsPanel.js +24 -24
- package/dist/shared/components/imports/ImportDuplicatesNotice.js +65 -0
- package/dist/shared/components/item-edit/CatalogPickerField.js +631 -639
- package/dist/shared/components/item-edit/DuplicateNotice.js +168 -0
- package/dist/shared/components/item-edit/FieldRow.js +248 -246
- package/dist/shared/components/item-edit/InlineGridField.js +34 -33
- package/dist/shared/components/item-edit/InlineTableField.js +3002 -2825
- package/dist/shared/components/item-edit/MembershipSetField.js +165 -169
- package/dist/shared/components/item-edit/NestedRelationEditor.js +184 -189
- package/dist/shared/components/item-edit/PlanGrid.js +2 -1
- package/dist/shared/components/item-edit/QuickPickerDialog.js +35 -34
- package/dist/shared/components/item-edit/RecordLiveSync.js +32 -30
- package/dist/shared/components/item-edit/RelationCombobox.js +101 -100
- package/dist/shared/components/item-edit/RowHistorySheet.js +28 -27
- package/dist/shared/components/item-edit/SummaryPanel.js +133 -135
- package/dist/shared/components/item-edit/UserChip.js +262 -239
- package/dist/shared/components/item-edit/ViewAsRole.js +129 -52
- package/dist/shared/components/item-edit/grid-search.js +375 -0
- package/dist/shared/components/item-edit/render-stability.js +61 -54
- package/dist/shared/components/notifications/NotificationRulesEditor.js +25 -20
- package/dist/shared/components/ops-report/DigestSections.js +163 -144
- package/dist/shared/components/ops-report/drill.js +97 -97
- package/dist/shared/components/panels/AddendumLinesDiff.js +52 -51
- package/dist/shared/components/panels/AddendumPanel.js +92 -91
- package/dist/shared/components/panels/AsyncUserPicker.js +108 -0
- package/dist/shared/components/panels/CommentPanel.js +265 -252
- package/dist/shared/components/panels/OwnersSlot.js +47 -35
- package/dist/shared/components/panels/PipelineInsight.js +186 -0
- package/dist/shared/components/panels/PipelinePanel.js +1440 -1397
- package/dist/shared/components/panels/RecordIntegrityBanner.js +39 -38
- package/dist/shared/components/panels/RevisionsPanel.js +261 -260
- package/dist/shared/components/panels/StandInReason.js +69 -0
- package/dist/shared/components/pipeline/FieldPicker.js +41 -40
- package/dist/shared/components/pipeline/OwnerMatrix.js +829 -700
- package/dist/shared/components/pipeline/OwnerRecordTrial.js +362 -0
- package/dist/shared/components/pipeline/PipelineEditorView.js +483 -467
- package/dist/shared/components/pipeline/PipelineStateOwners.js +65 -64
- package/dist/shared/components/pipeline/owner-matrix-draft.js +178 -0
- package/dist/shared/components/profile/MyDefaultsCard.js +36 -35
- package/dist/shared/components/profile/PersonHeader.js +29 -29
- package/dist/shared/components/profile/PersonProfile.js +30 -28
- package/dist/shared/components/profile/SlowScreensCard.js +286 -0
- package/dist/shared/components/queue/QueueWorklist.js +1090 -1071
- package/dist/shared/components/quick-filters/useQuickFilterEditing.js +45 -44
- package/dist/shared/components/support/TicketDetailSheet.js +25 -16
- package/dist/shared/components/support/TicketSlowScreens.js +32 -0
- package/dist/shared/lib/activity-sentence.js +224 -178
- package/dist/shared/lib/collection-import-banner.js +27 -0
- package/dist/shared/lib/crash-report.js +112 -0
- package/dist/shared/lib/export-runs.js +99 -0
- package/dist/shared/lib/jobs-tray.js +89 -67
- package/dist/shared/lib/list-link.js +76 -69
- package/dist/shared/lib/nav-trail.js +180 -76
- package/dist/shared/lib/query-keys.js +26 -0
- package/dist/shared/lib/view-as.js +16 -11
- package/package.json +1 -1
|
@@ -108,7 +108,8 @@ function dl(k) {
|
|
|
108
108
|
many_field: h,
|
|
109
109
|
parent_id: f
|
|
110
110
|
})
|
|
111
|
-
).then((e) => e.data ?? {}),
|
|
111
|
+
).then((e) => ({ data: e.data ?? {}, created: e.created ?? {} })),
|
|
112
|
+
select: (e) => (e == null ? void 0 : e.data) ?? {},
|
|
112
113
|
enabled: F && x && !s && q.length > 0,
|
|
113
114
|
staleTime: 6e4,
|
|
114
115
|
placeholderData: (e) => e
|
|
@@ -3,12 +3,13 @@ import { useQuery as _ } from "@tanstack/react-query";
|
|
|
3
3
|
import { useState as N, useMemo as b, useCallback as F } from "react";
|
|
4
4
|
import { useNivaroClient as D } from "../../context.js";
|
|
5
5
|
import { get as P, getActiveLayout as T } from "../../lib/commands.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
import { queryKeys as I } from "../../lib/query-keys.js";
|
|
7
|
+
import { titleCase as S } from "../../lib/utils.js";
|
|
8
|
+
import { Dialog as H, DialogContent as J, DialogHeader as R, DialogTitle as z } from "../ui/dialog.js";
|
|
9
|
+
import { Popover as B, PopoverAnchor as E, PopoverContent as G } from "../ui/popover.js";
|
|
10
|
+
import { QuickPicker as U } from "./QuickPicker.js";
|
|
11
|
+
function V(n, l) {
|
|
12
|
+
var f;
|
|
12
13
|
const o = D(), { data: r, isLoading: h } = _({
|
|
13
14
|
queryKey: ["active-layout", n ?? "", l ?? null, "new"],
|
|
14
15
|
queryFn: () => o.request(
|
|
@@ -21,22 +22,22 @@ function U(n, l) {
|
|
|
21
22
|
staleTime: 6e4
|
|
22
23
|
});
|
|
23
24
|
return { steps: b(() => {
|
|
24
|
-
var
|
|
25
|
-
const s = (
|
|
25
|
+
var c;
|
|
26
|
+
const s = (c = r == null ? void 0 : r.layout) == null ? void 0 : c.quick_picker;
|
|
26
27
|
return Array.isArray(s) ? s.filter((d) => typeof d == "string") : [];
|
|
27
|
-
}, [r]), layoutId: ((
|
|
28
|
+
}, [r]), layoutId: ((f = r == null ? void 0 : r.layout) == null ? void 0 : f.id) ?? null, loading: h };
|
|
28
29
|
}
|
|
29
|
-
function
|
|
30
|
+
function se({
|
|
30
31
|
collection: n,
|
|
31
32
|
layoutSlug: l,
|
|
32
33
|
open: o,
|
|
33
34
|
onOpenChange: r,
|
|
34
35
|
onDone: h,
|
|
35
36
|
noun: y = "record",
|
|
36
|
-
anchorEl:
|
|
37
|
+
anchorEl: f
|
|
37
38
|
}) {
|
|
38
|
-
const s = D(), { steps:
|
|
39
|
-
queryKey:
|
|
39
|
+
const s = D(), { steps: c, layoutId: d } = V(o ? n : null, l), { data: a = [] } = _({
|
|
40
|
+
queryKey: I.fieldConfig(n, d),
|
|
40
41
|
queryFn: () => s.request(
|
|
41
42
|
P(`/field-config/${n}`, d ? { layout_id: String(d) } : {})
|
|
42
43
|
).then((e) => e.data ?? []),
|
|
@@ -47,10 +48,10 @@ function re({
|
|
|
47
48
|
queryFn: () => s.request(P(`/data-model/relations/for/${n}`)).then((e) => e.data ?? []),
|
|
48
49
|
enabled: o && !!n,
|
|
49
50
|
staleTime: 3e5
|
|
50
|
-
}), [x, q] = N({}), [k, C] = N({}),
|
|
51
|
-
() => Object.fromEntries(a.map((e) => [e.field, e.label ||
|
|
51
|
+
}), [x, q] = N({}), [k, C] = N({}), K = b(
|
|
52
|
+
() => Object.fromEntries(a.map((e) => [e.field, e.label || S(e.field)])),
|
|
52
53
|
[a]
|
|
53
|
-
),
|
|
54
|
+
), L = b(() => {
|
|
54
55
|
const e = {};
|
|
55
56
|
for (const t of a)
|
|
56
57
|
try {
|
|
@@ -59,7 +60,7 @@ function re({
|
|
|
59
60
|
} catch {
|
|
60
61
|
}
|
|
61
62
|
return e;
|
|
62
|
-
}, [a]),
|
|
63
|
+
}, [a]), M = F(
|
|
63
64
|
(e) => {
|
|
64
65
|
var v;
|
|
65
66
|
const t = u.find(
|
|
@@ -70,37 +71,37 @@ function re({
|
|
|
70
71
|
return t.one_field ?? `${t.many_collection}.${i ?? ""}`;
|
|
71
72
|
},
|
|
72
73
|
[u, n]
|
|
73
|
-
),
|
|
74
|
+
), $ = F((e) => k[e] ?? [], [k]), w = () => {
|
|
74
75
|
q({}), C({});
|
|
75
|
-
},
|
|
76
|
+
}, A = () => {
|
|
76
77
|
const e = {};
|
|
77
78
|
for (const [t, i] of Object.entries(k))
|
|
78
|
-
i.length && (e[
|
|
79
|
+
i.length && (e[M(t)] = i);
|
|
79
80
|
h({ ...x, ...Object.keys(e).length ? { __links: e } : {} }), w();
|
|
80
|
-
}, O = /* @__PURE__ */ p(Q, { children:
|
|
81
|
-
|
|
81
|
+
}, O = /* @__PURE__ */ p(Q, { children: c.length > 0 && a.length > 0 && u.length > 0 && /* @__PURE__ */ p(
|
|
82
|
+
U,
|
|
82
83
|
{
|
|
83
84
|
collection: n,
|
|
84
85
|
itemId: "new",
|
|
85
|
-
steps:
|
|
86
|
+
steps: c,
|
|
86
87
|
fieldConfig: a,
|
|
87
88
|
relations: u,
|
|
88
89
|
draft: x,
|
|
89
|
-
getM2M:
|
|
90
|
+
getM2M: $,
|
|
90
91
|
onChange: (e, t) => q((i) => ({ ...i, [e]: t })),
|
|
91
92
|
onM2MChange: (e, t) => C((i) => ({ ...i, [e]: t })),
|
|
92
|
-
fieldLabels:
|
|
93
|
-
fieldOptionFilters:
|
|
94
|
-
onFinish:
|
|
93
|
+
fieldLabels: K,
|
|
94
|
+
fieldOptionFilters: L,
|
|
95
|
+
onFinish: A,
|
|
95
96
|
finishLabel: `Create ${y}`
|
|
96
97
|
}
|
|
97
98
|
) }), j = (e) => {
|
|
98
99
|
e || w(), r(e);
|
|
99
100
|
};
|
|
100
|
-
return
|
|
101
|
-
/* @__PURE__ */ p(
|
|
101
|
+
return f ? /* @__PURE__ */ g(B, { open: o, onOpenChange: j, children: [
|
|
102
|
+
/* @__PURE__ */ p(E, { virtualRef: { current: f } }),
|
|
102
103
|
/* @__PURE__ */ g(
|
|
103
|
-
|
|
104
|
+
G,
|
|
104
105
|
{
|
|
105
106
|
align: "end",
|
|
106
107
|
sideOffset: 6,
|
|
@@ -115,8 +116,8 @@ function re({
|
|
|
115
116
|
]
|
|
116
117
|
}
|
|
117
118
|
)
|
|
118
|
-
] }) : /* @__PURE__ */ p(
|
|
119
|
-
/* @__PURE__ */ p(
|
|
119
|
+
] }) : /* @__PURE__ */ p(H, { open: o, onOpenChange: j, children: /* @__PURE__ */ g(J, { className: "max-w-[540px]", "data-quick-picker-dialog": !0, children: [
|
|
120
|
+
/* @__PURE__ */ p(R, { children: /* @__PURE__ */ g(z, { className: "text-[15px]", children: [
|
|
120
121
|
"New ",
|
|
121
122
|
y
|
|
122
123
|
] }) }),
|
|
@@ -124,6 +125,6 @@ function re({
|
|
|
124
125
|
] }) });
|
|
125
126
|
}
|
|
126
127
|
export {
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
se as QuickPickerDialog,
|
|
129
|
+
V as useQuickPickerSteps
|
|
129
130
|
};
|
|
@@ -10,8 +10,9 @@ import { useOptionalRealtime as Ne } from "../../lib/realtime.js";
|
|
|
10
10
|
import { useRecordTabsSignal as Re, useRecordTabs as Te } from "../../lib/record-tabs.js";
|
|
11
11
|
import { userErrorMessage as _e } from "../../lib/safe-error.js";
|
|
12
12
|
import { formatRelative as $e } from "../../lib/utils.js";
|
|
13
|
-
import {
|
|
14
|
-
|
|
13
|
+
import { CollectionImportBanner as Ke } from "../CollectionImportBanner.js";
|
|
14
|
+
import { markLiveRecordWrite as Ee } from "./live-record-marks.js";
|
|
15
|
+
function De(e, r, u) {
|
|
15
16
|
var p;
|
|
16
17
|
if (u.active)
|
|
17
18
|
return { text: e ? `${e} moved this to ${r}` : `This record moved to ${r}` };
|
|
@@ -21,11 +22,11 @@ function Ee(e, r, u) {
|
|
|
21
22
|
open: u.open
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
|
-
function
|
|
25
|
+
function Qe(e, r) {
|
|
25
26
|
const u = e == null ? void 0 : e.user_id;
|
|
26
27
|
return typeof u == "string" && !!r && u.toUpperCase() === String(r).toUpperCase();
|
|
27
28
|
}
|
|
28
|
-
const
|
|
29
|
+
const qe = 8e3, te = [
|
|
29
30
|
"item",
|
|
30
31
|
"rrv-record",
|
|
31
32
|
"revisions",
|
|
@@ -48,13 +49,13 @@ const Qe = 8e3, te = [
|
|
|
48
49
|
"item-actions",
|
|
49
50
|
"ext-item-actions"
|
|
50
51
|
];
|
|
51
|
-
function
|
|
52
|
+
function Ce(e, r, u) {
|
|
52
53
|
const f = new Set(te), p = String(u);
|
|
53
54
|
e.removeQueries({
|
|
54
55
|
predicate: (c) => f.has(c.queryKey[0]) && c.queryKey[1] === r && String(c.queryKey[2]) === p
|
|
55
56
|
});
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
+
function Xe(e, r, u) {
|
|
58
59
|
if (!r || u.length === 0) return;
|
|
59
60
|
const f = new Set(te), p = new Set(u.map(String));
|
|
60
61
|
e.invalidateQueries({
|
|
@@ -95,27 +96,27 @@ const Ae = (e) => {
|
|
|
95
96
|
var r;
|
|
96
97
|
return (e == null ? void 0 : e.status) ?? ((r = e == null ? void 0 : e.response) == null ? void 0 : r.status);
|
|
97
98
|
};
|
|
98
|
-
function
|
|
99
|
+
function Ze({
|
|
99
100
|
collection: e,
|
|
100
101
|
itemId: r,
|
|
101
102
|
dirty: u = !1,
|
|
102
103
|
loadDenied: f = !1,
|
|
103
104
|
onGoneChange: p
|
|
104
105
|
}) {
|
|
105
|
-
const c = Ne(), T = ve(), b = ce(), [D,
|
|
106
|
+
const c = Ne(), T = ve(), b = ce(), [D, B] = w(!1), [Q, se] = w([]), [i, ae] = w(null), [ne, q] = w({}), [j, F] = w(!1), [P, Y] = w(!1), S = v(null), N = v(null), _ = v(Date.now()), C = v(null), $ = v(p);
|
|
106
107
|
$.current = p;
|
|
107
108
|
const x = v(null), W = ye(), H = v(W);
|
|
108
109
|
H.current = W;
|
|
109
110
|
const R = (s) => {
|
|
110
111
|
var t;
|
|
111
|
-
x.current = s, ae(s), (t = $.current) == null || t.call($, s), (s == null ? void 0 : s.kind) === "access" && setTimeout(() =>
|
|
112
|
+
x.current = s, ae(s), (t = $.current) == null || t.call($, s), (s == null ? void 0 : s.kind) === "access" && setTimeout(() => Ce(b, e, r), 0);
|
|
112
113
|
};
|
|
113
114
|
k(() => {
|
|
114
|
-
_.current = Date.now(),
|
|
115
|
+
_.current = Date.now(), C.current = null, q({}), x.current && R(null);
|
|
115
116
|
}, [e, r]);
|
|
116
117
|
const l = (s) => {
|
|
117
118
|
for (const t of s) b.invalidateQueries({ queryKey: t });
|
|
118
|
-
},
|
|
119
|
+
}, L = async (s) => {
|
|
119
120
|
let t = null;
|
|
120
121
|
try {
|
|
121
122
|
t = (await T.request(
|
|
@@ -138,8 +139,8 @@ function Je({
|
|
|
138
139
|
const t = (await T.request(
|
|
139
140
|
U(`/pipelines/instance/${e}/${r}`)
|
|
140
141
|
)).data, o = (s = t == null ? void 0 : t.history) == null ? void 0 : s[0];
|
|
141
|
-
if (!o || o.id ===
|
|
142
|
-
const h = [o.first_name, o.last_name].filter(Boolean).join(" ") || o.user_email || null, n = o.to_state_label ?? "a new state", a =
|
|
142
|
+
if (!o || o.id === C.current || o.timestamp && new Date(o.timestamp).getTime() < _.current - 5e3 || (C.current = o.id, typeof document < "u" && document.visibilityState === "hidden")) return;
|
|
143
|
+
const h = [o.first_name, o.last_name].filter(Boolean).join(" ") || o.user_email || null, n = o.to_state_label ?? "a new state", a = De(h, n, H.current);
|
|
143
144
|
O.info(
|
|
144
145
|
a.text,
|
|
145
146
|
a.open ? { action: { label: "Open", onClick: a.open } } : {}
|
|
@@ -149,11 +150,11 @@ function Je({
|
|
|
149
150
|
}, ie = (s) => {
|
|
150
151
|
var o, h;
|
|
151
152
|
if (s.deleted) {
|
|
152
|
-
|
|
153
|
+
L("deleted");
|
|
153
154
|
return;
|
|
154
155
|
}
|
|
155
156
|
if (x.current) return;
|
|
156
|
-
s.events.some((n) => n.source === "import" && !n.own) && (Y(!0), S.current && clearTimeout(S.current), S.current = setTimeout(() => Y(!1),
|
|
157
|
+
s.events.some((n) => n.source === "import" && !n.own) && (Y(!0), S.current && clearTimeout(S.current), S.current = setTimeout(() => Y(!1), qe));
|
|
157
158
|
const t = (n) => Se(s, n);
|
|
158
159
|
if (t(y.state) && (l([
|
|
159
160
|
["pipeline-instance", e, r],
|
|
@@ -179,7 +180,7 @@ function Je({
|
|
|
179
180
|
}
|
|
180
181
|
b.invalidateQueries({
|
|
181
182
|
predicate: (n) => n.queryKey[0] === "o2m-rows" && String(n.queryKey[3]) === String(r) || n.queryKey[0] === "o2m-compare"
|
|
182
|
-
}),
|
|
183
|
+
}), Ee(
|
|
183
184
|
e,
|
|
184
185
|
r,
|
|
185
186
|
((h = s.changedFields) == null ? void 0 : h.filter((n) => !n.startsWith("$"))) ?? null
|
|
@@ -195,7 +196,7 @@ function Je({
|
|
|
195
196
|
]);
|
|
196
197
|
const t = ["last-touch", e, String(r)];
|
|
197
198
|
await b.invalidateQueries({ queryKey: t }).catch(() => {
|
|
198
|
-
}), !(!s ||
|
|
199
|
+
}), !(!s || Qe(b.getQueryData(t), z.current)) && (B(!0), N.current && clearTimeout(N.current), N.current = setTimeout(() => B(!1), 4e3));
|
|
199
200
|
};
|
|
200
201
|
ke(e, r, ie);
|
|
201
202
|
const { userId: K } = xe(), z = v(K);
|
|
@@ -262,7 +263,7 @@ function Je({
|
|
|
262
263
|
((t = x.current) == null ? void 0 : t.kind) === "access" && (R(null), l([["item", e, r]]));
|
|
263
264
|
}).catch((t) => {
|
|
264
265
|
const o = Ae(t);
|
|
265
|
-
(o === 403 || o === 404) &&
|
|
266
|
+
(o === 403 || o === 404) && L("access");
|
|
266
267
|
});
|
|
267
268
|
},
|
|
268
269
|
Math.floor(Math.random() * 1500)
|
|
@@ -270,7 +271,7 @@ function Je({
|
|
|
270
271
|
},
|
|
271
272
|
{ debounceMs: 300 }
|
|
272
273
|
), k(() => {
|
|
273
|
-
f && !x.current &&
|
|
274
|
+
f && !x.current && L("access");
|
|
274
275
|
}, [f]);
|
|
275
276
|
const E = Te(e, r, u, K), [de, J] = w(!1);
|
|
276
277
|
k(() => {
|
|
@@ -312,8 +313,8 @@ function Je({
|
|
|
312
313
|
F(!1);
|
|
313
314
|
}
|
|
314
315
|
}
|
|
315
|
-
},
|
|
316
|
-
return !i &&
|
|
316
|
+
}, A = Object.values(ne), X = E.otherDirty && !de && !u && !i;
|
|
317
|
+
return !i && A.length === 0 && !X && !P && (!c || !D && Q.length === 0) ? null : /* @__PURE__ */ m("div", { className: "space-y-2", children: [
|
|
317
318
|
(i == null ? void 0 : i.kind) === "deleted" && /* @__PURE__ */ m(
|
|
318
319
|
"div",
|
|
319
320
|
{
|
|
@@ -334,9 +335,9 @@ function Je({
|
|
|
334
335
|
{
|
|
335
336
|
type: "button",
|
|
336
337
|
onClick: () => void ue(),
|
|
337
|
-
disabled:
|
|
338
|
+
disabled: j,
|
|
338
339
|
className: "h-7 shrink-0 rounded-md border border-rose-300 bg-white px-2.5 text-[11.5px] font-medium text-rose-700 hover:bg-rose-100 disabled:opacity-50 dark:border-rose-500/40 dark:bg-transparent dark:text-rose-300 dark:hover:bg-rose-500/10",
|
|
339
|
-
children:
|
|
340
|
+
children: j ? "Restoring…" : "Restore"
|
|
340
341
|
}
|
|
341
342
|
)
|
|
342
343
|
]
|
|
@@ -388,7 +389,8 @@ function Je({
|
|
|
388
389
|
]
|
|
389
390
|
}
|
|
390
391
|
),
|
|
391
|
-
|
|
392
|
+
!i && /* @__PURE__ */ d(Ke, { collection: e, scope: "record" }),
|
|
393
|
+
A.length > 0 && !i && /* @__PURE__ */ m(
|
|
392
394
|
"div",
|
|
393
395
|
{
|
|
394
396
|
"data-record-automation": !0,
|
|
@@ -400,7 +402,7 @@ function Je({
|
|
|
400
402
|
/* @__PURE__ */ d("span", { className: "font-semibold", children: "Automation is updating this record" }),
|
|
401
403
|
" —",
|
|
402
404
|
" ",
|
|
403
|
-
|
|
405
|
+
A.join(", "),
|
|
404
406
|
". Its changes appear here when it finishes."
|
|
405
407
|
] })
|
|
406
408
|
]
|
|
@@ -431,9 +433,9 @@ function Je({
|
|
|
431
433
|
export {
|
|
432
434
|
te as RECORD_QUERY_HEADS,
|
|
433
435
|
Le as RecordAccessLostPanel,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
436
|
+
Ze as RecordLiveSync,
|
|
437
|
+
Xe as invalidateRecordQueries,
|
|
438
|
+
De as moveNotice,
|
|
439
|
+
Ce as purgeRecordQueries,
|
|
440
|
+
Qe as writtenBySelf
|
|
439
441
|
};
|