@declarion/react 0.49.0 → 0.51.0
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-lib/{DraggableChildrenTable-B98Md-Yq.js → DraggableChildrenTable-CJCjc_cd.js} +2 -2
- package/dist-lib/DynamicIcon-DW5krHuX.js +280 -0
- package/dist-lib/{Grid-BdtEd4R9.js → Grid-DUjbQg3r.js} +2 -2
- package/dist-lib/{LayoutRenderer-oVU3nEb5.js → LayoutRenderer-DbdxC-Bq.js} +10 -9
- package/dist-lib/{ListCardsBody-DYMt1H8l.js → ListCardsBody-C8ofksQb.js} +4 -4
- package/dist-lib/{MarkdownRenderer-E9hbyoUn.js → MarkdownRenderer-B9_5fwuE.js} +1 -1
- package/dist-lib/{RefreshControl-B_2eW53M.js → RefreshControl-C-8UCyau.js} +3 -3
- package/dist-lib/{SmartDetailPage.impl-Dg22HOxb.js → SmartDetailPage.impl-DWjNQ052.js} +10 -10
- package/dist-lib/{SmartListPage.impl-CPhhXT5S.js → SmartListPage.impl-yKBK7a8b.js} +652 -647
- package/dist-lib/{SmartRecordListPage.impl-CF0UKgUj.js → SmartRecordListPage.impl-DRpU_DOC.js} +10 -10
- package/dist-lib/{SortHeaderMenu-DodGvb7A.js → SortHeaderMenu-CbihbEGd.js} +2 -2
- package/dist-lib/{action-dispatch-CYOw7nkP.js → action-dispatch-C28UhXXA.js} +15 -14
- package/dist-lib/{cardProjection-D-AufCh-.js → cardProjection-Bp_ZPLUE.js} +2 -2
- package/dist-lib/components/fields/cells/registry.d.ts +1 -0
- package/dist-lib/components/fields/index.d.ts +1 -0
- package/dist-lib/components/file-widgets/host.d.ts +1 -0
- package/dist-lib/components/pages/list/DataCell.d.ts +2 -3
- package/dist-lib/components/pages/list/ListCardRow.d.ts +2 -2
- package/dist-lib/components/pages/list/ListCardsBody.d.ts +2 -2
- package/dist-lib/components/pages/list/ListTable.d.ts +5 -6
- package/dist-lib/components/pages/list/ListTableRow.d.ts +2 -3
- package/dist-lib/components/pages/list/column-sizing.d.ts +2 -3
- package/dist-lib/components/pages/list/columns.d.ts +2 -2
- package/dist-lib/components/pages/list/table-features.d.ts +14 -0
- package/dist-lib/components/primitives/Icons.d.ts +5 -0
- package/dist-lib/{field-classification-DTgUnbzd.js → field-classification-CeYJlsNq.js} +9 -9
- package/dist-lib/{format-count-DAHCcHZO.js → format-count-C3N-WxEy.js} +6 -6
- package/dist-lib/hooks/useActionData.d.ts +1 -1
- package/dist-lib/hooks/useAllEntityData.d.ts +1 -1
- package/dist-lib/hooks/useChildrenData.d.ts +1 -1
- package/dist-lib/hooks/useEntityData.d.ts +2 -2
- package/dist-lib/hooks/useObject.d.ts +1 -1
- package/dist-lib/hooks/useParams.d.ts +3 -3
- package/dist-lib/hooks/useSchema.d.ts +1 -1
- package/dist-lib/icons.js +1 -1
- package/dist-lib/index.js +16 -16
- package/dist-lib/{peekDraftStore-CnxqkoWN.js → peekDraftStore-D3sowXga.js} +2 -2
- package/dist-lib/{record-documents-key-DEFlLxnF.js → record-documents-key-8fdm7C10.js} +1 -1
- package/dist-lib/{registry-WypUQQ7t.js → registry-p6CejATt.js} +4 -4
- package/dist-lib/testing.js +1 -1
- package/dist-lib/types/files.d.ts +3 -0
- package/dist-lib/types/ordmap.d.ts +9 -2
- package/dist-lib/types/schema.d.ts +2 -1
- package/dist-lib/{useCurrentScreen-C5Oio-1G.js → useCurrentScreen-74x5yJNb.js} +23 -16
- package/dist-lib/{useListQuery-Dc2vbxqs.js → useListQuery-D75bgLLz.js} +3 -3
- package/dist-lib/{useProperties-C36ENFdY.js → useProperties-C5fZp12D.js} +1 -1
- package/dist-lib/{useTabSearchMirror-sIuYEFaq.js → useTabSearchMirror-D_wzoYRz.js} +2 -2
- package/dist-lib/{value-igT4LsqW.js → value-DKekzcjz.js} +1 -1
- package/package.json +20 -20
- package/dist-lib/DynamicIcon-Dc2j-rg_.js +0 -275
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as e } from "./DynamicIcon-
|
|
2
|
-
import { A as t, dr as n, fr as r, j as i, wn as a, zn as o } from "./useCurrentScreen-
|
|
1
|
+
import { s as e } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
+
import { A as t, dr as n, fr as r, j as i, wn as a, zn as o } from "./useCurrentScreen-74x5yJNb.js";
|
|
3
3
|
import { n as s, r as c, t as l } from "./dataTableStyles-vwD1mVOP.js";
|
|
4
4
|
import { useCallback as u, useMemo as d, useRef as f } from "react";
|
|
5
5
|
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import { useEffect as e, useState as t, useSyncExternalStore as n } from "react";
|
|
2
|
+
import { Activity as r, ArrowDown as i, ArrowLeft as a, ArrowUp as o, ArrowUpDown as s, BadgeDollarSign as c, Ban as l, Bell as u, Bolt as ee, BookOpen as te, Box as d, Boxes as ne, Briefcase as re, Building as f, Building2 as ie, Calendar as ae, CalendarClock as oe, Check as se, ChevronDown as p, ChevronLeft as ce, ChevronRight as le, ChevronUp as ue, CircleDot as de, ClipboardCheck as fe, Clock as pe, Code as me, Columns as he, Columns3 as ge, Command as _e, Copy as m, Cpu as h, CreditCard as g, Database as _, Dot as v, Download as y, Edit as b, ExternalLink as x, Eye as S, EyeOff as C, File as w, FileDiff as T, FilePlus as E, Filter as D, Fingerprint as O, Folder as k, FormInput as A, Gavel as j, GitBranch as M, Globe as N, Grid as P, Group as F, Hash as I, Home as ve, Inbox as ye, Info as be, Key as xe, KeyRound as L, Layers as Se, Layout as Ce, LayoutDashboard as we, Link as Te, List as Ee, ListChecks as De, Loader as Oe, Lock as ke, LogIn as Ae, LogOut as je, Mail as Me, Menu as Ne, MessagesSquare as Pe, Minus as Fe, Moon as Ie, MoreHorizontal as Le, Package as Re, Paperclip as ze, Play as Be, PlayCircle as Ve, Plus as He, PlusCircle as Ue, ReceiptText as We, RefreshCw as Ge, Repeat as R, Save as Ke, Scale as qe, ScrollText as Je, Search as Ye, Settings as Xe, Settings2 as Ze, Shield as Qe, ShieldCheck as $e, ShieldPlus as et, ShoppingCart as tt, Sliders as nt, SlidersHorizontal as rt, Smartphone as it, Sparkle as at, Sparkles as ot, Star as st, Sun as ct, Table2 as lt, Tag as ut, Tags as dt, ToggleRight as ft, Trash as pt, Trash2 as mt, TriangleAlert as ht, Undo2 as gt, Upload as _t, User as vt, UserPlus as yt, Users as z, UsersRound as bt, WalletCards as xt, Webhook as St, Workflow as Ct, X as wt, Zap as B } from "lucide-react";
|
|
3
|
+
import { jsx as V } from "react/jsx-runtime";
|
|
4
|
+
//#region src/components/primitives/Icons.tsx
|
|
5
|
+
var H = (e) => function({ size: t = 14, cls: n = "", style: r = {} }) {
|
|
6
|
+
return /* @__PURE__ */ V(e, {
|
|
7
|
+
size: t,
|
|
8
|
+
className: n,
|
|
9
|
+
style: r
|
|
10
|
+
});
|
|
11
|
+
}, U = function({ size: e = 14, cls: t = "", style: n = {} }) {
|
|
12
|
+
return /* @__PURE__ */ V("svg", {
|
|
13
|
+
width: e,
|
|
14
|
+
height: e,
|
|
15
|
+
viewBox: "0 0 24 24",
|
|
16
|
+
fill: "currentColor",
|
|
17
|
+
"aria-hidden": "true",
|
|
18
|
+
className: t,
|
|
19
|
+
style: n,
|
|
20
|
+
children: /* @__PURE__ */ V("path", { d: "M20.45 20.45h-3.55v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.13 1.45-2.13 2.94v5.67H9.36V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.72V1.72C24 .77 23.2 0 22.22 0z" })
|
|
21
|
+
});
|
|
22
|
+
}, W = {
|
|
23
|
+
action: H(B),
|
|
24
|
+
activity: H(r),
|
|
25
|
+
ai: H(ot),
|
|
26
|
+
arrowDown: H(i),
|
|
27
|
+
arrowUp: H(o),
|
|
28
|
+
audit: H(fe),
|
|
29
|
+
back: H(a),
|
|
30
|
+
"badge-dollar-sign": H(c),
|
|
31
|
+
ban: H(l),
|
|
32
|
+
bell: H(u),
|
|
33
|
+
bolt: H(ee),
|
|
34
|
+
"book-open": H(te),
|
|
35
|
+
box: H(d),
|
|
36
|
+
boxes: H(ne),
|
|
37
|
+
branch: H(M),
|
|
38
|
+
building: H(f),
|
|
39
|
+
calendar: H(ae),
|
|
40
|
+
check: H(se),
|
|
41
|
+
cheveron: H(p),
|
|
42
|
+
"circle-dot": H(de),
|
|
43
|
+
clock: H(pe),
|
|
44
|
+
code: H(me),
|
|
45
|
+
columns: H(he),
|
|
46
|
+
"columns-3": H(ge),
|
|
47
|
+
command: H(_e),
|
|
48
|
+
company: H(ie),
|
|
49
|
+
copy: H(m),
|
|
50
|
+
cpu: H(h),
|
|
51
|
+
"credit-card": H(g),
|
|
52
|
+
database: H(_),
|
|
53
|
+
dbtable: H(lt),
|
|
54
|
+
device: H(it),
|
|
55
|
+
dot: H(v),
|
|
56
|
+
down: H(p),
|
|
57
|
+
download: H(y),
|
|
58
|
+
edit: H(b),
|
|
59
|
+
email: H(Me),
|
|
60
|
+
entity: H(d),
|
|
61
|
+
external: H(x),
|
|
62
|
+
eye: H(S),
|
|
63
|
+
eyeOff: H(C),
|
|
64
|
+
field: H(A),
|
|
65
|
+
file: H(w),
|
|
66
|
+
"file-diff": H(T),
|
|
67
|
+
filePlus: H(E),
|
|
68
|
+
filter: H(D),
|
|
69
|
+
fingerprint: H(O),
|
|
70
|
+
flow: H(Ct),
|
|
71
|
+
folder: H(k),
|
|
72
|
+
gavel: H(j),
|
|
73
|
+
"git-branch": H(M),
|
|
74
|
+
globe: H(N),
|
|
75
|
+
grid: H(P),
|
|
76
|
+
group: H(F),
|
|
77
|
+
handlers: H(St),
|
|
78
|
+
hash: H(I),
|
|
79
|
+
home: H(ve),
|
|
80
|
+
idp: H(L),
|
|
81
|
+
inbox: H(ye),
|
|
82
|
+
info: H(be),
|
|
83
|
+
jobs: H(re),
|
|
84
|
+
key: H(xe),
|
|
85
|
+
"key-round": H(L),
|
|
86
|
+
layers: H(Se),
|
|
87
|
+
layout: H(Ce),
|
|
88
|
+
"layout-dashboard": H(we),
|
|
89
|
+
leads: H(z),
|
|
90
|
+
left: H(ce),
|
|
91
|
+
link: H(Te),
|
|
92
|
+
linkedin: U,
|
|
93
|
+
list: H(Ee),
|
|
94
|
+
"list-checks": H(De),
|
|
95
|
+
loader: H(Oe),
|
|
96
|
+
lock: H(ke),
|
|
97
|
+
log: H(Je),
|
|
98
|
+
"log-in": H(Ae),
|
|
99
|
+
logout: H(je),
|
|
100
|
+
menu: H(Ne),
|
|
101
|
+
"messages-square": H(Pe),
|
|
102
|
+
minus: H(Fe),
|
|
103
|
+
moon: H(Ie),
|
|
104
|
+
more: H(Le),
|
|
105
|
+
package: H(Re),
|
|
106
|
+
paperclip: H(ze),
|
|
107
|
+
pipeline: H(M),
|
|
108
|
+
play: H(Be),
|
|
109
|
+
"play-circle": H(Ve),
|
|
110
|
+
plus: H(He),
|
|
111
|
+
"plus-circle": H(Ue),
|
|
112
|
+
"receipt-text": H(We),
|
|
113
|
+
refresh: H(Ge),
|
|
114
|
+
repeat: H(R),
|
|
115
|
+
right: H(le),
|
|
116
|
+
save: H(Ke),
|
|
117
|
+
scale: H(qe),
|
|
118
|
+
sched: H(oe),
|
|
119
|
+
search: H(Ye),
|
|
120
|
+
settings: H(Xe),
|
|
121
|
+
"settings-2": H(Ze),
|
|
122
|
+
shield: H(Qe),
|
|
123
|
+
"shield-check": H($e),
|
|
124
|
+
"shield-plus": H(et),
|
|
125
|
+
"shopping-cart": H(tt),
|
|
126
|
+
sliders: H(nt),
|
|
127
|
+
"sliders-horizontal": H(rt),
|
|
128
|
+
sort: H(s),
|
|
129
|
+
sparkle: H(at),
|
|
130
|
+
star: H(st),
|
|
131
|
+
sun: H(ct),
|
|
132
|
+
tag: H(ut),
|
|
133
|
+
tags: H(dt),
|
|
134
|
+
tenant: H(f),
|
|
135
|
+
"toggle-right": H(ft),
|
|
136
|
+
trash: H(pt),
|
|
137
|
+
"trash-2": H(mt),
|
|
138
|
+
"undo-2": H(gt),
|
|
139
|
+
up: H(ue),
|
|
140
|
+
upload: H(_t),
|
|
141
|
+
user: H(vt),
|
|
142
|
+
"user-plus": H(yt),
|
|
143
|
+
users: H(z),
|
|
144
|
+
"users-round": H(bt),
|
|
145
|
+
"wallet-cards": H(xt),
|
|
146
|
+
warning: H(ht),
|
|
147
|
+
x: H(wt),
|
|
148
|
+
zap: H(B)
|
|
149
|
+
}, G = /* @__PURE__ */ new Map(), K = /* @__PURE__ */ new Set(), q = 0;
|
|
150
|
+
function Tt() {
|
|
151
|
+
q += 1;
|
|
152
|
+
for (let e of K) e();
|
|
153
|
+
}
|
|
154
|
+
function Et(e) {
|
|
155
|
+
G.clear();
|
|
156
|
+
for (let [t, n] of Object.entries(e)) G.set(t, n);
|
|
157
|
+
Tt();
|
|
158
|
+
}
|
|
159
|
+
function J(e) {
|
|
160
|
+
return G.get(e);
|
|
161
|
+
}
|
|
162
|
+
function Y(e) {
|
|
163
|
+
return K.add(e), () => {
|
|
164
|
+
K.delete(e);
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
function X() {
|
|
168
|
+
return q;
|
|
169
|
+
}
|
|
170
|
+
//#endregion
|
|
171
|
+
//#region src/components/shared/LucideIcon.tsx
|
|
172
|
+
var Z = /* @__PURE__ */ new Map(), Q = null;
|
|
173
|
+
function Dt() {
|
|
174
|
+
return Q ||= import("lucide-react/dynamic.js").then((e) => e.dynamicIconImports), Q;
|
|
175
|
+
}
|
|
176
|
+
function $({ name: n, size: r = 14, className: i, style: a }) {
|
|
177
|
+
let [o, s] = t(() => Z.get(n)), [c, l] = t(!1);
|
|
178
|
+
if (e(() => {
|
|
179
|
+
let e = Z.get(n);
|
|
180
|
+
if (e) {
|
|
181
|
+
s(() => e), l(!1);
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
s(void 0), l(!1);
|
|
185
|
+
let t = !0;
|
|
186
|
+
return Dt().then((e) => {
|
|
187
|
+
let r = e[n];
|
|
188
|
+
if (!r) {
|
|
189
|
+
t && l(!0);
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
return r().then((e) => {
|
|
193
|
+
Z.set(n, e.default), t && (s(() => e.default), l(!1));
|
|
194
|
+
});
|
|
195
|
+
}), () => {
|
|
196
|
+
t = !1;
|
|
197
|
+
};
|
|
198
|
+
}, [n]), c) {
|
|
199
|
+
let e = W.folder;
|
|
200
|
+
return /* @__PURE__ */ V(e, {
|
|
201
|
+
size: r,
|
|
202
|
+
cls: i,
|
|
203
|
+
style: a
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
return o ? /* @__PURE__ */ V(o, {
|
|
207
|
+
size: r,
|
|
208
|
+
className: i,
|
|
209
|
+
style: a
|
|
210
|
+
}) : null;
|
|
211
|
+
}
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region src/components/shared/DynamicIcon.tsx
|
|
214
|
+
var Ot = "lucide:";
|
|
215
|
+
function kt({ name: e, size: t, className: r, style: i }) {
|
|
216
|
+
n(Y, X, X);
|
|
217
|
+
let a = typeof t == "number" ? t : typeof t == "string" ? parseFloat(t) : 14, o = J(e);
|
|
218
|
+
if (o) return /* @__PURE__ */ V(At, {
|
|
219
|
+
def: o,
|
|
220
|
+
size: a,
|
|
221
|
+
className: r,
|
|
222
|
+
style: i
|
|
223
|
+
});
|
|
224
|
+
let s = W[e];
|
|
225
|
+
if (s) return /* @__PURE__ */ V(s, {
|
|
226
|
+
size: a,
|
|
227
|
+
cls: r,
|
|
228
|
+
style: i
|
|
229
|
+
});
|
|
230
|
+
let c = e.startsWith(Ot) ? e.slice(7) : e;
|
|
231
|
+
return /* @__PURE__ */ V($, {
|
|
232
|
+
name: c,
|
|
233
|
+
size: a,
|
|
234
|
+
className: r,
|
|
235
|
+
style: i
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
function At({ def: e, size: t, className: n, style: r }) {
|
|
239
|
+
switch (e.kind) {
|
|
240
|
+
case "svg": return /* @__PURE__ */ V(jt, {
|
|
241
|
+
paths: e.paths,
|
|
242
|
+
size: t,
|
|
243
|
+
className: n,
|
|
244
|
+
style: r
|
|
245
|
+
});
|
|
246
|
+
case "url": return /* @__PURE__ */ V("img", {
|
|
247
|
+
src: e.src,
|
|
248
|
+
alt: "",
|
|
249
|
+
"aria-hidden": "true",
|
|
250
|
+
width: t,
|
|
251
|
+
height: t,
|
|
252
|
+
className: n,
|
|
253
|
+
style: r
|
|
254
|
+
});
|
|
255
|
+
case "lucide": return /* @__PURE__ */ V($, {
|
|
256
|
+
name: e.name,
|
|
257
|
+
size: t,
|
|
258
|
+
className: n,
|
|
259
|
+
style: r
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
function jt({ paths: e, size: t, className: n, style: r }) {
|
|
264
|
+
return /* @__PURE__ */ V("svg", {
|
|
265
|
+
width: t,
|
|
266
|
+
height: t,
|
|
267
|
+
viewBox: "0 0 24 24",
|
|
268
|
+
fill: "none",
|
|
269
|
+
stroke: "currentColor",
|
|
270
|
+
strokeWidth: 1.5,
|
|
271
|
+
strokeLinecap: "round",
|
|
272
|
+
strokeLinejoin: "round",
|
|
273
|
+
className: n,
|
|
274
|
+
style: r,
|
|
275
|
+
"aria-hidden": "true",
|
|
276
|
+
children: e.map((e, t) => /* @__PURE__ */ V("path", { d: e }, t))
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
//#endregion
|
|
280
|
+
export { Et as a, U as c, X as i, $ as n, Y as o, J as r, W as s, kt as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as e, I as t, L as n, P as r, R as i, z as a } from "./useCurrentScreen-
|
|
2
|
-
import { c as o, i as s, l as c, t as l } from "./value-
|
|
1
|
+
import { B as e, I as t, L as n, P as r, R as i, z as a } from "./useCurrentScreen-74x5yJNb.js";
|
|
2
|
+
import { c as o, i as s, l as c, t as l } from "./value-DKekzcjz.js";
|
|
3
3
|
import { useCallback as u, useEffect as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
4
4
|
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
5
5
|
import { DndContext as v, PointerSensor as y, closestCenter as b, useSensor as x, useSensors as ee } from "@dnd-kit/core";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as e, t } from "./DynamicIcon-
|
|
2
|
-
import { $n as n, A as r, Cn as i, Dn as a, En as o, Gt as s, Jn as c, M as l, Mn as u, Nn as d, On as f, Rn as p, Sn as m, X as h, Z as g, _t as _, dr as v, f as y, fr as b, gn as x, j as S, kn as C, kt as w, rr as T, rt as E, sr as D, ur as O, vt as k, wn as A, yt as j, zn as M } from "./useCurrentScreen-
|
|
3
|
-
import { c as ee, d as N, f as P, l as F, o as I, r as L, s as R, t as z } from "./registry-
|
|
4
|
-
import { E as B, g as V, h as te, j as ne, m as re, n as ie, p as ae, t as oe, w as se } from "./field-classification-
|
|
5
|
-
import { m as ce, p as le } from "./action-dispatch-
|
|
6
|
-
import { f as ue } from "./cardProjection-
|
|
1
|
+
import { s as e, t } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
+
import { $n as n, A as r, Cn as i, Dn as a, En as o, Gt as s, Jn as c, M as l, Mn as u, Nn as d, On as f, Rn as p, Sn as m, X as h, Z as g, _t as _, dr as v, f as y, fr as b, gn as x, j as S, kn as C, kt as w, rr as T, rt as E, sr as D, ur as O, vt as k, wn as A, yt as j, zn as M } from "./useCurrentScreen-74x5yJNb.js";
|
|
3
|
+
import { c as ee, d as N, f as P, l as F, o as I, r as L, s as R, t as z } from "./registry-p6CejATt.js";
|
|
4
|
+
import { E as B, g as V, h as te, j as ne, m as re, n as ie, p as ae, t as oe, w as se } from "./field-classification-CeYJlsNq.js";
|
|
5
|
+
import { m as ce, p as le } from "./action-dispatch-C28UhXXA.js";
|
|
6
|
+
import { f as ue } from "./cardProjection-Bp_ZPLUE.js";
|
|
7
7
|
import { n as de, r as fe, t as pe } from "./dataTableStyles-vwD1mVOP.js";
|
|
8
8
|
import { Suspense as me, createContext as he, lazy as ge, useCallback as H, useContext as _e, useEffect as U, useId as ve, useLayoutEffect as ye, useMemo as W, useRef as G, useState as K } from "react";
|
|
9
9
|
import { useInfiniteQuery as be, useMutation as xe, useQueryClient as Se } from "@tanstack/react-query";
|
|
@@ -2316,7 +2316,7 @@ function Ot({ config: t, childEntity: n, schema: i, rows: a, onChange: o, valida
|
|
|
2316
2316
|
}
|
|
2317
2317
|
//#endregion
|
|
2318
2318
|
//#region src/components/detail-layout/ChildrenBlock.tsx
|
|
2319
|
-
var kt = ge(() => import("./DraggableChildrenTable-
|
|
2319
|
+
var kt = ge(() => import("./DraggableChildrenTable-CJCjc_cd.js").then((e) => ({ default: e.DraggableChildrenTable })));
|
|
2320
2320
|
function At({ node: e, ctx: n }) {
|
|
2321
2321
|
let r = T(), i = e.children;
|
|
2322
2322
|
if (!i) return null;
|
|
@@ -2521,7 +2521,7 @@ function Bt({ fields: e, ctx: t }) {
|
|
|
2521
2521
|
return /* @__PURE__ */ J(Rt, {
|
|
2522
2522
|
columns: d,
|
|
2523
2523
|
children: e.map((e) => {
|
|
2524
|
-
let r = e.
|
|
2524
|
+
let r = e.code, d = `${i ?? "field"}-${r}`, p = `${d}-label`, m = n.fields.get(r), h = !!(m?.auto || m?.readonly || m?.source), g = ie(n, r), _ = g?.read === "denied", v = g?.write === "denied", y = s === "display" ? _ : v || _, b = h || s === "edit" && v ? "display" : s, x = y ? /* @__PURE__ */ J(N, {
|
|
2525
2525
|
tier: g.classification,
|
|
2526
2526
|
tierDef: oe(l, n, r),
|
|
2527
2527
|
requiredPermission: g?.required_permission,
|
|
@@ -2540,7 +2540,8 @@ function Bt({ fields: e, ctx: t }) {
|
|
|
2540
2540
|
locale: u,
|
|
2541
2541
|
fieldId: d,
|
|
2542
2542
|
labelId: p,
|
|
2543
|
-
structure: e.structure
|
|
2543
|
+
structure: e.structure,
|
|
2544
|
+
detailScreen: e.detail_screen
|
|
2544
2545
|
});
|
|
2545
2546
|
if (!x) return null;
|
|
2546
2547
|
let S = s === "display" && e.actions && e.actions.length > 0 ? /* @__PURE__ */ J(q, { children: e.actions.map((e, t) => /* @__PURE__ */ J(ee, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Dn as e, Tn as t, ur as n, zn as r } from "./useCurrentScreen-
|
|
1
|
+
import { Dn as e, Tn as t, ur as n, zn as r } from "./useCurrentScreen-74x5yJNb.js";
|
|
2
2
|
import { t as i } from "./Check-DAfMbQIw.js";
|
|
3
|
-
import { f as a, m as o, p as s, r as c } from "./action-dispatch-
|
|
4
|
-
import { t as l } from "./cardProjection-
|
|
5
|
-
import { t as u } from "./SmartListPage.impl-
|
|
3
|
+
import { f as a, m as o, p as s, r as c } from "./action-dispatch-C28UhXXA.js";
|
|
4
|
+
import { t as l } from "./cardProjection-Bp_ZPLUE.js";
|
|
5
|
+
import { t as u } from "./SmartListPage.impl-yKBK7a8b.js";
|
|
6
6
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/pages/list/ListCardRow.tsx
|
|
8
8
|
function p(t, n, r) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as e, et as t } from "./useCurrentScreen-
|
|
1
|
+
import { H as e, et as t } from "./useCurrentScreen-74x5yJNb.js";
|
|
2
2
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
3
|
import i, { defaultUrlTransform as a } from "react-markdown";
|
|
4
4
|
import o from "remark-breaks";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as e } from "./DynamicIcon-
|
|
2
|
-
import { $n as t, dr as n, ir as r, pt as i, rr as a, ur as o } from "./useCurrentScreen-
|
|
3
|
-
import { A as s, B as c, C as l } from "./field-classification-
|
|
1
|
+
import { s as e } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
+
import { $n as t, dr as n, ir as r, pt as i, rr as a, ur as o } from "./useCurrentScreen-74x5yJNb.js";
|
|
3
|
+
import { A as s, B as c, C as l } from "./field-classification-CeYJlsNq.js";
|
|
4
4
|
import { useCallback as u, useEffect as d, useId as f, useMemo as p, useRef as m, useState as h } from "react";
|
|
5
5
|
import { useLocation as g } from "react-router";
|
|
6
6
|
import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { s as e, t } from "./DynamicIcon-
|
|
2
|
-
import { $ as n, $n as r, A as i, At as a, C as o, Cn as s, Ct as c, D as l, Dn as u, En as d, F as f, L as p, Ln as ee, N as m, Q as h, Rn as g, Sn as _, Tn as v, _ as y, bt as b, dr as x, dt as S, fr as C, gt as w, i as T, it as te, j as E, jn as D, jt as ne, kn as re, pt as ie, rr as ae, un as oe, ur as O, wn as se, wt as ce, xn as le, zn as k } from "./useCurrentScreen-
|
|
3
|
-
import { _ as A, m as j, r as ue, s as M, t as de } from "./RefreshControl-
|
|
4
|
-
import { a as fe, f as N, i as pe } from "./registry-
|
|
5
|
-
import { n as me, t as he } from "./record-documents-key-
|
|
6
|
-
import { A as ge, C as _e, F as ve, O as ye, c as be, d as xe, f as Se, j as Ce, l as we, m as Te, p as Ee, y as De } from "./field-classification-
|
|
7
|
-
import { c as Oe, f as ke, h as Ae, m as je, o as Me, p as Ne, r as Pe, t as Fe, u as Ie } from "./action-dispatch-
|
|
8
|
-
import { d as Le, m as Re, p as ze, t as Be } from "./cardProjection-
|
|
1
|
+
import { s as e, t } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
+
import { $ as n, $n as r, A as i, At as a, C as o, Cn as s, Ct as c, D as l, Dn as u, En as d, F as f, L as p, Ln as ee, N as m, Q as h, Rn as g, Sn as _, Tn as v, _ as y, bt as b, dr as x, dt as S, fr as C, gt as w, i as T, it as te, j as E, jn as D, jt as ne, kn as re, pt as ie, rr as ae, un as oe, ur as O, wn as se, wt as ce, xn as le, zn as k } from "./useCurrentScreen-74x5yJNb.js";
|
|
3
|
+
import { _ as A, m as j, r as ue, s as M, t as de } from "./RefreshControl-C-8UCyau.js";
|
|
4
|
+
import { a as fe, f as N, i as pe } from "./registry-p6CejATt.js";
|
|
5
|
+
import { n as me, t as he } from "./record-documents-key-8fdm7C10.js";
|
|
6
|
+
import { A as ge, C as _e, F as ve, O as ye, c as be, d as xe, f as Se, j as Ce, l as we, m as Te, p as Ee, y as De } from "./field-classification-CeYJlsNq.js";
|
|
7
|
+
import { c as Oe, f as ke, h as Ae, m as je, o as Me, p as Ne, r as Pe, t as Fe, u as Ie } from "./action-dispatch-C28UhXXA.js";
|
|
8
|
+
import { d as Le, m as Re, p as ze, t as Be } from "./cardProjection-Bp_ZPLUE.js";
|
|
9
9
|
import { n as Ve, r as He, t as Ue } from "./dataTableStyles-vwD1mVOP.js";
|
|
10
|
-
import { a as We, i as Ge, o as Ke, r as qe, s as P } from "./peekDraftStore-
|
|
11
|
-
import { n as Je, t as Ye } from "./LayoutRenderer-
|
|
10
|
+
import { a as We, i as Ge, o as Ke, r as qe, s as P } from "./peekDraftStore-D3sowXga.js";
|
|
11
|
+
import { n as Je, t as Ye } from "./LayoutRenderer-DbdxC-Bq.js";
|
|
12
12
|
import { Fragment as Xe, useCallback as F, useEffect as I, useMemo as L, useRef as Ze, useState as R } from "react";
|
|
13
13
|
import { useLocation as Qe, useParams as $e, useSearchParams as et } from "react-router";
|
|
14
14
|
import { useQuery as z, useQueryClient as tt } from "@tanstack/react-query";
|