@object-ui/components 13.1.0 → 14.0.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/CHANGELOG.md +113 -0
- package/dist/index.js +113 -97
- package/dist/index.umd.cjs +3 -3
- package/dist/renderers/action/action-group.d.ts +16 -0
- package/package.json +34 -34
package/dist/index.js
CHANGED
|
@@ -3582,7 +3582,11 @@ var gc = tn({
|
|
|
3582
3582
|
]), xc = /* @__PURE__ */ new Set([
|
|
3583
3583
|
"lookup",
|
|
3584
3584
|
"master_detail",
|
|
3585
|
-
"tree"
|
|
3585
|
+
"tree",
|
|
3586
|
+
"capability-multiselect",
|
|
3587
|
+
"object-ref",
|
|
3588
|
+
"filter-condition",
|
|
3589
|
+
"recipient-picker"
|
|
3586
3590
|
]);
|
|
3587
3591
|
function Sc(e) {
|
|
3588
3592
|
let { dataSource: t, inputType: n, options: r, field: i, schema: a, showActions: o, fieldContainerClass: s, mobileStickyActions: c, mobile_fullscreen: l, fullscreen: u, dependentValues: d, dependsOn: f, emptyHint: p, ...m } = e;
|
|
@@ -3785,13 +3789,13 @@ t.register("form", ({ schema: e, className: t, onAction: n, ...r }) => {
|
|
|
3785
3789
|
type: "form_cancel",
|
|
3786
3790
|
data: D.getValues()
|
|
3787
3791
|
});
|
|
3788
|
-
}, le = y > 1 ? K("grid gap-4", y === 1 ? "" : y === 2 ? "md:grid-cols-2" : y === 3 ? "md:grid-cols-2 lg:grid-cols-3" : "md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4") : "space-y-4", { "data-obj-id": L, "data-obj-type": ue, style: de, onSubmit: fe, onChange: pe, submitLabel: me, cancelLabel: he, showSubmit: ge, showCancel: _e, resetOnSubmit: ve, defaultValues: ye, inputType: be, dataSource: xe, showActions: Se, fieldContainerClass: Ce, mobileStickyActions: we,
|
|
3792
|
+
}, le = y > 1 ? K("grid gap-4", y === 1 ? "" : y === 2 ? "md:grid-cols-2" : y === 3 ? "md:grid-cols-2 lg:grid-cols-3" : "md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4") : "space-y-4", { "data-obj-id": L, "data-obj-type": ue, style: de, onSubmit: fe, onChange: pe, submitLabel: me, cancelLabel: he, showSubmit: ge, showCancel: _e, resetOnSubmit: ve, defaultValues: ye, inputType: be, dataSource: xe, showActions: Se, fieldContainerClass: Ce, mobileStickyActions: we, objectName: Te, onDirtyChange: Ee, onCancel: De, fields: Oe, layout: ke, columns: Ae, validationMode: je, disabled: Me, ...Ne } = r;
|
|
3789
3793
|
return /* @__PURE__ */ F(Ai, {
|
|
3790
3794
|
...D,
|
|
3791
3795
|
children: /* @__PURE__ */ I("form", {
|
|
3792
3796
|
onSubmit: P,
|
|
3793
3797
|
className: t,
|
|
3794
|
-
...
|
|
3798
|
+
...Ne,
|
|
3795
3799
|
"data-obj-id": L,
|
|
3796
3800
|
"data-obj-type": ue,
|
|
3797
3801
|
style: de,
|
|
@@ -3844,7 +3848,7 @@ t.register("form", ({ schema: e, className: t, onAction: n, ...r }) => {
|
|
|
3844
3848
|
})
|
|
3845
3849
|
} : e;
|
|
3846
3850
|
A.minLength &&= ne(A.minLength, (e) => ({ min: e.value })), A.maxLength &&= ne(A.maxLength, (e) => ({ max: e.value })), A.min &&= ne(A.min, (e) => ({ min: e.value })), A.max &&= ne(A.max, (e) => ({ max: e.value })), A.pattern &&= ne(A.pattern);
|
|
3847
|
-
let j = t.id ?? n, N = v || c, oe = N === "select" || N === "radio" || N === "multiselect", P = T.options, se = oe ? l(t.dependsOn) : [], ce = se.length > 0 && s(t.dependsOn, M), L = oe ? ce ? [] : d(P, M, ie) : P, ue = ce ? `Select ${se.map((e) => ae[e] || e).join(" / ")} first` : void 0, de = e.fieldContainerClass || le, fe = (e) => {
|
|
3851
|
+
let j = t.id ?? n, N = v || T.field?.widget || c, oe = N === "select" || N === "radio" || N === "multiselect", P = T.options, se = oe ? l(t.dependsOn) : [], ce = se.length > 0 && s(t.dependsOn, M), L = oe ? ce ? [] : d(P, M, ie) : P, ue = ce ? `Select ${se.map((e) => ae[e] || e).join(" / ")} first` : void 0, de = e.fieldContainerClass || le, fe = (e) => {
|
|
3848
3852
|
let t = Array.from(de.matchAll(/(@)?(sm|md|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl):grid-cols-(\d+)/g)).map((e) => ({
|
|
3849
3853
|
at: e[1] || "",
|
|
3850
3854
|
bp: e[2],
|
|
@@ -6905,7 +6909,7 @@ var Jl = ({ params: e, open: t, onSubmit: n, onCancel: r, title: i = "Action Par
|
|
|
6905
6909
|
let [o, s] = N(() => {
|
|
6906
6910
|
let t = {};
|
|
6907
6911
|
return e.forEach((e) => {
|
|
6908
|
-
e.defaultValue === void 0 ? t[e.name] = e.type
|
|
6912
|
+
e.defaultValue === void 0 ? t[e.name] = e.type !== "boolean" && "" : t[e.name] = e.defaultValue;
|
|
6909
6913
|
}), t;
|
|
6910
6914
|
}), [c, l] = N({}), u = M((e, t) => {
|
|
6911
6915
|
s((n) => ({
|
|
@@ -11750,10 +11754,11 @@ t.register("data-table", ({ schema: e }) => {
|
|
|
11750
11754
|
let e = {}, t = r.map((e) => ({
|
|
11751
11755
|
header: e.header || e.label,
|
|
11752
11756
|
accessorKey: e.accessorKey || e.name,
|
|
11753
|
-
width: e.width
|
|
11757
|
+
width: e.width,
|
|
11758
|
+
fitContent: e.fitContent
|
|
11754
11759
|
}));
|
|
11755
11760
|
for (let n of t) {
|
|
11756
|
-
if (n.width) continue;
|
|
11761
|
+
if (n.width || n.fitContent) continue;
|
|
11757
11762
|
let t = (n.header || "").length, r = pe.slice(0, 50);
|
|
11758
11763
|
for (let e of r) {
|
|
11759
11764
|
let r = e[n.accessorKey], i = r == null ? 0 : String(r).length;
|
|
@@ -12058,7 +12063,7 @@ t.register("data-table", ({ schema: e }) => {
|
|
|
12058
12063
|
})
|
|
12059
12064
|
}),
|
|
12060
12065
|
Le.map((e, t) => {
|
|
12061
|
-
let n = ze[e.accessorKey] || e.width || he[e.accessorKey],
|
|
12066
|
+
let n = e.fitContent === !0 && !ze[e.accessorKey] && !e.width, r = n ? "1%" : ze[e.accessorKey] || e.width || he[e.accessorKey], i = He === t, a = We === t, o = O > 0 && t < O, s = o ? Le.slice(0, t).reduce((e, t, n) => {
|
|
12062
12067
|
if (n < O) {
|
|
12063
12068
|
let n = ze[t.accessorKey] || t.width || he[t.accessorKey];
|
|
12064
12069
|
return e + (typeof n == "number" ? n : n && parseInt(String(n), 10) || 150);
|
|
@@ -12066,11 +12071,11 @@ t.register("data-table", ({ schema: e }) => {
|
|
|
12066
12071
|
return e;
|
|
12067
12072
|
}, (m ? 40 : 0) + (te ? 40 : 0)) : void 0;
|
|
12068
12073
|
return /* @__PURE__ */ F(Xo, {
|
|
12069
|
-
className: K(e.className, _ && e.sortable !== !1 && "cursor-pointer select-none",
|
|
12074
|
+
className: K(e.className, _ && e.sortable !== !1 && "cursor-pointer select-none", i && "opacity-50", a && "border-l-2 border-primary", e.align === "right" && "text-right", e.align === "center" && "text-center", n && "whitespace-nowrap", "relative group bg-background", o && "sticky z-20", o && t === O - 1 && "border-r-2 border-border shadow-[2px_0_4px_-2px_rgba(0,0,0,0.1)]"),
|
|
12070
12075
|
style: {
|
|
12071
|
-
width:
|
|
12072
|
-
minWidth:
|
|
12073
|
-
...
|
|
12076
|
+
width: r,
|
|
12077
|
+
minWidth: r,
|
|
12078
|
+
...o && { left: s }
|
|
12074
12079
|
},
|
|
12075
12080
|
draggable: le,
|
|
12076
12081
|
onDragStart: (e) => jt(e, t),
|
|
@@ -12200,7 +12205,7 @@ t.register("data-table", ({ schema: e }) => {
|
|
|
12200
12205
|
})]
|
|
12201
12206
|
}),
|
|
12202
12207
|
Le.map((r, i) => {
|
|
12203
|
-
let a = ze[r.accessorKey] || r.width || he[r.accessorKey],
|
|
12208
|
+
let a = r.fitContent === !0 && !ze[r.accessorKey] && !r.width, o = a ? "1%" : ze[r.accessorKey] || r.width || he[r.accessorKey], c = t[r.accessorKey], l = s[r.accessorKey] !== void 0, u = l ? s[r.accessorKey] : c, d = Ge?.rowIndex === n && Ge?.columnKey === r.accessorKey, f = S && r.editable !== !1, p = O > 0 && i < O, h = p ? Le.slice(0, i).reduce((e, t, n) => {
|
|
12204
12209
|
if (n < O) {
|
|
12205
12210
|
let n = ze[t.accessorKey] || t.width || he[t.accessorKey];
|
|
12206
12211
|
return e + (typeof n == "number" ? n : n && parseInt(String(n), 10) || 150);
|
|
@@ -12208,22 +12213,22 @@ t.register("data-table", ({ schema: e }) => {
|
|
|
12208
12213
|
return e;
|
|
12209
12214
|
}, (m ? 40 : 0) + (te ? 40 : 0)) : void 0;
|
|
12210
12215
|
return /* @__PURE__ */ F(Zo, {
|
|
12211
|
-
className: K(r.cellClassName, r.align === "right" && "text-right", r.align === "center" && "text-center", "overflow-hidden",
|
|
12216
|
+
className: K(r.cellClassName, r.align === "right" && "text-right", r.align === "center" && "text-center", a ? "whitespace-nowrap" : "overflow-hidden", f && !d && "cursor-text hover:bg-muted/50", l && "font-semibold text-amber-700 dark:text-amber-400", p && "sticky z-10 bg-background", p && i === O - 1 && "border-r-2 border-border shadow-[2px_0_4px_-2px_rgba(0,0,0,0.1)]"),
|
|
12212
12217
|
style: {
|
|
12213
|
-
width:
|
|
12214
|
-
minWidth: a,
|
|
12215
|
-
maxWidth: a,
|
|
12216
|
-
...
|
|
12218
|
+
width: o,
|
|
12219
|
+
minWidth: a ? void 0 : o,
|
|
12220
|
+
maxWidth: a ? void 0 : o,
|
|
12221
|
+
...p && { left: h }
|
|
12217
12222
|
},
|
|
12218
12223
|
onDoubleClick: (e) => {
|
|
12219
|
-
|
|
12224
|
+
f && !C && (e.stopPropagation(), Ft(n, r.accessorKey));
|
|
12220
12225
|
},
|
|
12221
12226
|
onClick: (e) => {
|
|
12222
|
-
|
|
12227
|
+
f && C && (e.stopPropagation(), Ft(n, r.accessorKey));
|
|
12223
12228
|
},
|
|
12224
12229
|
onKeyDown: (e) => Ut(e, n, r.accessorKey),
|
|
12225
12230
|
tabIndex: 0,
|
|
12226
|
-
children:
|
|
12231
|
+
children: d ? (() => {
|
|
12227
12232
|
let n = r.type, i = e.renderCellEditor;
|
|
12228
12233
|
if (typeof i == "function") {
|
|
12229
12234
|
let e = i({
|
|
@@ -12280,9 +12285,9 @@ t.register("data-table", ({ schema: e }) => {
|
|
|
12280
12285
|
className: "h-8 px-2 py-1"
|
|
12281
12286
|
});
|
|
12282
12287
|
})() : /* @__PURE__ */ F("div", {
|
|
12283
|
-
className: "truncate w-full",
|
|
12284
|
-
title:
|
|
12285
|
-
children: typeof r.cell == "function" ? r.cell(
|
|
12288
|
+
className: a ? "w-full whitespace-nowrap" : "truncate w-full",
|
|
12289
|
+
title: !a && u != null && typeof u != "object" ? String(u) : void 0,
|
|
12290
|
+
children: typeof r.cell == "function" ? r.cell(u, t) : typeof u == "object" && u ? String(u) : fe(u)
|
|
12286
12291
|
})
|
|
12287
12292
|
}, i);
|
|
12288
12293
|
}),
|
|
@@ -12710,7 +12715,7 @@ var Ld = j(({ schema: e, className: t, context: n, ...r }, i) => {
|
|
|
12710
12715
|
variant: v,
|
|
12711
12716
|
size: y,
|
|
12712
12717
|
className: K(e.className, t),
|
|
12713
|
-
disabled: (e.disabled == null ? e.enabled
|
|
12718
|
+
disabled: (e.disabled == null ? e.enabled != null && !g : h) || d,
|
|
12714
12719
|
onClick: b,
|
|
12715
12720
|
...l,
|
|
12716
12721
|
"data-obj-id": a,
|
|
@@ -13082,7 +13087,21 @@ var Hd = ({ action: e, variant: t, size: n, onExecute: r }) => {
|
|
|
13082
13087
|
});
|
|
13083
13088
|
};
|
|
13084
13089
|
Hd.displayName = "InlineActionButton";
|
|
13085
|
-
var Ud =
|
|
13090
|
+
var Ud = ({ action: e, index: t, onSelect: n }) => {
|
|
13091
|
+
let r = w(x(e.visible)), i = w(x(e.enabled));
|
|
13092
|
+
if (e.visible && !r) return null;
|
|
13093
|
+
let a = wd(e.icon), o = e.enabled ? !i : !1;
|
|
13094
|
+
return /* @__PURE__ */ I(P, { children: [e.tags?.includes("separator-before") && t > 0 && /* @__PURE__ */ F(Di, {}), /* @__PURE__ */ I(Ci, {
|
|
13095
|
+
disabled: o,
|
|
13096
|
+
onSelect: async (t) => {
|
|
13097
|
+
t.preventDefault(), !o && await n(e);
|
|
13098
|
+
},
|
|
13099
|
+
className: K(e.variant === "destructive" && "text-destructive focus:text-destructive", e.className),
|
|
13100
|
+
children: [a && /* @__PURE__ */ F(a, { className: "mr-2 h-4 w-4" }), /* @__PURE__ */ F("span", { children: e.label || e.name })]
|
|
13101
|
+
})] });
|
|
13102
|
+
};
|
|
13103
|
+
Ud.displayName = "DropdownActionItem";
|
|
13104
|
+
var Wd = j(({ schema: e, className: t, ...n }, r) => {
|
|
13086
13105
|
let { "data-obj-id": i, "data-obj-type": a, style: o, ...s } = n, { execute: c } = S(), [l, u] = N(!1), d = w(x(e.visible)), f = e.actions || [];
|
|
13087
13106
|
e.location && (f = f.filter((t) => !t.locations || t.locations.includes(e.location)));
|
|
13088
13107
|
let p = M(async (e) => {
|
|
@@ -13102,7 +13121,14 @@ var Ud = j(({ schema: e, className: t, ...n }, r) => {
|
|
|
13102
13121
|
locations: e.locations,
|
|
13103
13122
|
toast: e.toast
|
|
13104
13123
|
});
|
|
13105
|
-
}, [c])
|
|
13124
|
+
}, [c]), m = M(async (e) => {
|
|
13125
|
+
u(!0);
|
|
13126
|
+
try {
|
|
13127
|
+
await p(e);
|
|
13128
|
+
} finally {
|
|
13129
|
+
u(!1);
|
|
13130
|
+
}
|
|
13131
|
+
}, [p]);
|
|
13106
13132
|
if (e.visible && !d || f.length === 0) return null;
|
|
13107
13133
|
if ((e.display || "inline") === "dropdown") {
|
|
13108
13134
|
let n = wd(e.icon);
|
|
@@ -13126,21 +13152,11 @@ var Ud = j(({ schema: e, className: t, ...n }, r) => {
|
|
|
13126
13152
|
})
|
|
13127
13153
|
}), /* @__PURE__ */ F(Si, {
|
|
13128
13154
|
align: "end",
|
|
13129
|
-
children: f.map((e, t) => {
|
|
13130
|
-
|
|
13131
|
-
|
|
13132
|
-
|
|
13133
|
-
|
|
13134
|
-
try {
|
|
13135
|
-
await p(e);
|
|
13136
|
-
} finally {
|
|
13137
|
-
u(!1);
|
|
13138
|
-
}
|
|
13139
|
-
},
|
|
13140
|
-
className: K(e.variant === "destructive" && "text-destructive focus:text-destructive", e.className),
|
|
13141
|
-
children: [n && /* @__PURE__ */ F(n, { className: "mr-2 h-4 w-4" }), /* @__PURE__ */ F("span", { children: e.label || e.name })]
|
|
13142
|
-
})] }, e.name || t);
|
|
13143
|
-
})
|
|
13155
|
+
children: f.map((e, t) => /* @__PURE__ */ F(Ud, {
|
|
13156
|
+
action: e,
|
|
13157
|
+
index: t,
|
|
13158
|
+
onSelect: m
|
|
13159
|
+
}, e.name || t))
|
|
13144
13160
|
})] });
|
|
13145
13161
|
}
|
|
13146
13162
|
return /* @__PURE__ */ F("div", {
|
|
@@ -13158,7 +13174,7 @@ var Ud = j(({ schema: e, className: t, ...n }, r) => {
|
|
|
13158
13174
|
}, t.name))
|
|
13159
13175
|
});
|
|
13160
13176
|
});
|
|
13161
|
-
|
|
13177
|
+
Wd.displayName = "ActionGroupRenderer", t.register("action:group", Wd, {
|
|
13162
13178
|
namespace: "action",
|
|
13163
13179
|
label: "Action Group",
|
|
13164
13180
|
inputs: [
|
|
@@ -13228,7 +13244,7 @@ Ud.displayName = "ActionGroupRenderer", t.register("action:group", Ud, {
|
|
|
13228
13244
|
});
|
|
13229
13245
|
//#endregion
|
|
13230
13246
|
//#region src/renderers/action/action-bar.tsx
|
|
13231
|
-
function
|
|
13247
|
+
function Gd() {
|
|
13232
13248
|
try {
|
|
13233
13249
|
let { t: e } = on(), t = e("common.actions");
|
|
13234
13250
|
return !t || t === "common.actions" ? "Actions" : t;
|
|
@@ -13236,8 +13252,8 @@ function Wd() {
|
|
|
13236
13252
|
return "Actions";
|
|
13237
13253
|
}
|
|
13238
13254
|
}
|
|
13239
|
-
var
|
|
13240
|
-
let a =
|
|
13255
|
+
var Kd = j(({ schema: e, className: n, ...r }, i) => {
|
|
13256
|
+
let a = Gd(), { "data-obj-id": o, "data-obj-type": s, style: c, data: l, actions: u, systemActions: d, location: f, maxVisible: p, mobileMaxVisible: m, direction: h, gap: g, variant: _, size: v, visible: y, ...b } = r, S = w(x(e.visible), void 0, { throwOnError: !0 }), C = io(), T = ie(() => {
|
|
13241
13257
|
let t = e.actions || [], n = e.location ? t.filter((t) => !t.locations || t.locations.length === 0 || t.locations.includes(e.location)) : t, r = /* @__PURE__ */ new Set(), i = n.filter((e) => e.name ? r.has(e.name) ? !1 : (r.add(e.name), !0) : !0);
|
|
13242
13258
|
return i.some((e) => e.order !== void 0) ? [...i].sort((e, t) => (e.order ?? 0) - (t.order ?? 0)) : i;
|
|
13243
13259
|
}, [e.actions, e.location]), E = ie(() => {
|
|
@@ -13293,7 +13309,7 @@ var Gd = j(({ schema: e, className: n, ...r }, i) => {
|
|
|
13293
13309
|
}), te.length > 0 && j]
|
|
13294
13310
|
});
|
|
13295
13311
|
});
|
|
13296
|
-
|
|
13312
|
+
Kd.displayName = "ActionBarRenderer", t.register("action:bar", Kd, {
|
|
13297
13313
|
namespace: "action",
|
|
13298
13314
|
label: "Action Bar",
|
|
13299
13315
|
inputs: [
|
|
@@ -13366,7 +13382,7 @@ Gd.displayName = "ActionBarRenderer", t.register("action:bar", Gd, {
|
|
|
13366
13382
|
});
|
|
13367
13383
|
//#endregion
|
|
13368
13384
|
//#region src/renderers/placeholders.tsx
|
|
13369
|
-
var
|
|
13385
|
+
var qd = ({ schema: e, className: t }) => {
|
|
13370
13386
|
let n = e.type, r = n.startsWith("view:"), i = n.startsWith("widget:"), a = n.startsWith("field:");
|
|
13371
13387
|
return /* @__PURE__ */ I("div", {
|
|
13372
13388
|
className: K("flex flex-col items-center justify-center p-6 border-2 border-dashed rounded-lg bg-muted/30 transition-colors hover:bg-muted/50", r && "border-blue-300 bg-blue-50/50 min-h-[200px]", i && "border-purple-300 bg-purple-50/50 min-h-[150px]", a && "border-yellow-300 bg-yellow-50/50 p-2 min-h-[40px] flex-row gap-2 justify-start", t),
|
|
@@ -13393,15 +13409,15 @@ var Kd = ({ schema: e, className: t }) => {
|
|
|
13393
13409
|
})]
|
|
13394
13410
|
})]
|
|
13395
13411
|
});
|
|
13396
|
-
},
|
|
13397
|
-
function
|
|
13398
|
-
|
|
13399
|
-
t.get(e) || t.register(e,
|
|
13412
|
+
}, Jd = /* @__PURE__ */ "view:grid.view:kanban.view:map.view:calendar.view:gantt.view:timeline.view:gallery.view:simple.view:wizard.view:tabbed.view:drawer.view:modal.view:split.field:text.field:textarea.field:password.field:email.field:url.field:phone.field:markdown.field:html.field:code.field:number.field:currency.field:percent.field:slider.field:boolean.field:checkboxes.field:select.field:multiselect.field:radio.field:date.field:datetime.field:time.field:duration.field:lookup.field:master_detail.field:tree.field:image.field:file.field:video.field:audio.field:avatar.field:color.field:rating.field:signature.field:qrcode.field:progress.field:json.field:address.field:location.page:header.page-header.page:footer.page:tabs.page:accordion.page:card.page:sidebar.record:details.record:highlights.record:related_list.record:activity.record:chatter.record:path.app:launcher.nav:menu.nav:breadcrumb.global:search.global:notifications.user:profile.widget:metric.widget:bar.widget:line.widget:pie.widget:funnel.widget:radar.widget:scatter.widget:heatmap.widget:pivot.widget:table.widget:text.widget:image.ai:input.ai:suggestion.ai:feedback".split(".");
|
|
13413
|
+
function Yd() {
|
|
13414
|
+
Jd.forEach((e) => {
|
|
13415
|
+
t.get(e) || t.register(e, qd, { namespace: "protocol-placeholder" });
|
|
13400
13416
|
});
|
|
13401
13417
|
}
|
|
13402
13418
|
//#endregion
|
|
13403
13419
|
//#region src/hooks/use-config-draft.ts
|
|
13404
|
-
function
|
|
13420
|
+
function Xd(e, t) {
|
|
13405
13421
|
let n = t?.maxHistory ?? 50, [r, i] = N({ ...e }), [a, o] = N(t?.mode === "create"), s = ae([]), c = ae([]), [, l] = N(0);
|
|
13406
13422
|
re(() => {
|
|
13407
13423
|
i({ ...e }), o(t?.mode === "create"), s.current = [], c.current = [];
|
|
@@ -13438,7 +13454,7 @@ function Yd(e, t) {
|
|
|
13438
13454
|
}
|
|
13439
13455
|
//#endregion
|
|
13440
13456
|
//#region src/hooks/use-resize-observer.tsx
|
|
13441
|
-
function
|
|
13457
|
+
function Zd(e) {
|
|
13442
13458
|
let [t, n] = k.useState({
|
|
13443
13459
|
width: 0,
|
|
13444
13460
|
height: 0
|
|
@@ -13468,16 +13484,16 @@ function Xd(e) {
|
|
|
13468
13484
|
}
|
|
13469
13485
|
//#endregion
|
|
13470
13486
|
//#region src/hooks/use-export-job.ts
|
|
13471
|
-
var
|
|
13487
|
+
var Qd = [
|
|
13472
13488
|
"completed",
|
|
13473
13489
|
"failed",
|
|
13474
13490
|
"cancelled",
|
|
13475
13491
|
"expired"
|
|
13476
13492
|
];
|
|
13477
|
-
function
|
|
13478
|
-
return !!e &&
|
|
13493
|
+
function $d(e) {
|
|
13494
|
+
return !!e && Qd.includes(e);
|
|
13479
13495
|
}
|
|
13480
|
-
function
|
|
13496
|
+
function ef(e = {}) {
|
|
13481
13497
|
let { dataSource: t, pollIntervalMs: n = 1500, maxAttempts: r = 600, onComplete: i, onError: a } = e, [o, s] = N(null), [c, l] = N(null), [u, d] = N(!1), f = ae(null), p = ae(null), m = ae(0), h = ae(!1), g = ae({
|
|
13482
13498
|
onComplete: i,
|
|
13483
13499
|
onError: a
|
|
@@ -13502,7 +13518,7 @@ function $d(e = {}) {
|
|
|
13502
13518
|
try {
|
|
13503
13519
|
let e = await t.getExportJobProgress(f.current);
|
|
13504
13520
|
if (h.current) return;
|
|
13505
|
-
if (s(e),
|
|
13521
|
+
if (s(e), $d(e.status)) {
|
|
13506
13522
|
if (d(!1), e.status === "completed") g.current.onComplete?.(e);
|
|
13507
13523
|
else {
|
|
13508
13524
|
let t = e.error?.message ?? `Export ${e.status}`, n = Error(t);
|
|
@@ -13536,7 +13552,7 @@ function $d(e = {}) {
|
|
|
13536
13552
|
processedRecords: 0,
|
|
13537
13553
|
totalRecords: i.estimatedRecords,
|
|
13538
13554
|
percentComplete: 0
|
|
13539
|
-
}),
|
|
13555
|
+
}), $d(i.status)) {
|
|
13540
13556
|
if (d(!1), i.status === "completed" && t.getExportJobProgress) try {
|
|
13541
13557
|
let e = await t.getExportJobProgress(i.jobId);
|
|
13542
13558
|
s(e), g.current.onComplete?.(e);
|
|
@@ -13589,7 +13605,7 @@ function $d(e = {}) {
|
|
|
13589
13605
|
}
|
|
13590
13606
|
//#endregion
|
|
13591
13607
|
//#region src/debug/DebugPanel.tsx
|
|
13592
|
-
function
|
|
13608
|
+
function tf({ schema: e }) {
|
|
13593
13609
|
return e ? /* @__PURE__ */ F("pre", {
|
|
13594
13610
|
className: "text-[11px] leading-relaxed font-mono overflow-auto max-h-[60vh] whitespace-pre-wrap break-all",
|
|
13595
13611
|
children: JSON.stringify(e, null, 2)
|
|
@@ -13598,7 +13614,7 @@ function ef({ schema: e }) {
|
|
|
13598
13614
|
children: "No schema available"
|
|
13599
13615
|
});
|
|
13600
13616
|
}
|
|
13601
|
-
function
|
|
13617
|
+
function nf({ dataContext: e }) {
|
|
13602
13618
|
return e ? /* @__PURE__ */ F("pre", {
|
|
13603
13619
|
className: "text-[11px] leading-relaxed font-mono overflow-auto max-h-[60vh] whitespace-pre-wrap break-all",
|
|
13604
13620
|
children: JSON.stringify(e, null, 2)
|
|
@@ -13607,7 +13623,7 @@ function tf({ dataContext: e }) {
|
|
|
13607
13623
|
children: "No data context available"
|
|
13608
13624
|
});
|
|
13609
13625
|
}
|
|
13610
|
-
function
|
|
13626
|
+
function rf() {
|
|
13611
13627
|
let e = ie(() => {
|
|
13612
13628
|
try {
|
|
13613
13629
|
return t.getAllTypes();
|
|
@@ -13634,7 +13650,7 @@ function nf() {
|
|
|
13634
13650
|
})]
|
|
13635
13651
|
});
|
|
13636
13652
|
}
|
|
13637
|
-
function
|
|
13653
|
+
function af({ flags: e }) {
|
|
13638
13654
|
return e ? /* @__PURE__ */ F("pre", {
|
|
13639
13655
|
className: "text-[11px] leading-relaxed font-mono overflow-auto max-h-[60vh] whitespace-pre-wrap break-all",
|
|
13640
13656
|
children: JSON.stringify(e, null, 2)
|
|
@@ -13643,14 +13659,14 @@ function rf({ flags: e }) {
|
|
|
13643
13659
|
children: "No debug flags"
|
|
13644
13660
|
});
|
|
13645
13661
|
}
|
|
13646
|
-
function
|
|
13662
|
+
function of(e) {
|
|
13647
13663
|
let t = n.getInstance(), [r, i] = N(() => t.getEntries(e));
|
|
13648
13664
|
return A.useEffect(() => (i(t.getEntries(e)), t.subscribe(() => {
|
|
13649
13665
|
i(t.getEntries(e));
|
|
13650
13666
|
})), [t, e]), r;
|
|
13651
13667
|
}
|
|
13652
|
-
function
|
|
13653
|
-
let e =
|
|
13668
|
+
function sf() {
|
|
13669
|
+
let e = of("perf").map((e) => e.data);
|
|
13654
13670
|
return e.length === 0 ? /* @__PURE__ */ F("p", {
|
|
13655
13671
|
className: "text-xs text-muted-foreground italic",
|
|
13656
13672
|
children: "No performance data collected yet"
|
|
@@ -13676,8 +13692,8 @@ function of() {
|
|
|
13676
13692
|
})]
|
|
13677
13693
|
});
|
|
13678
13694
|
}
|
|
13679
|
-
function
|
|
13680
|
-
let e =
|
|
13695
|
+
function cf() {
|
|
13696
|
+
let e = of("expr").map((e) => e.data);
|
|
13681
13697
|
return e.length === 0 ? /* @__PURE__ */ F("p", {
|
|
13682
13698
|
className: "text-xs text-muted-foreground italic",
|
|
13683
13699
|
children: "No expression evaluations tracked yet"
|
|
@@ -13703,8 +13719,8 @@ function sf() {
|
|
|
13703
13719
|
})]
|
|
13704
13720
|
});
|
|
13705
13721
|
}
|
|
13706
|
-
function
|
|
13707
|
-
let e =
|
|
13722
|
+
function lf() {
|
|
13723
|
+
let e = of("event").map((e) => e.data);
|
|
13708
13724
|
return e.length === 0 ? /* @__PURE__ */ F("p", {
|
|
13709
13725
|
className: "text-xs text-muted-foreground italic",
|
|
13710
13726
|
children: "No events captured yet"
|
|
@@ -13736,42 +13752,42 @@ function cf() {
|
|
|
13736
13752
|
})]
|
|
13737
13753
|
});
|
|
13738
13754
|
}
|
|
13739
|
-
function
|
|
13755
|
+
function uf({ open: e, onClose: t, flags: n, schema: r, dataContext: i, extraTabs: a = [], className: o }) {
|
|
13740
13756
|
let s = ie(() => [
|
|
13741
13757
|
{
|
|
13742
13758
|
id: "schema",
|
|
13743
13759
|
label: "Schema",
|
|
13744
|
-
render: () => /* @__PURE__ */ F(
|
|
13760
|
+
render: () => /* @__PURE__ */ F(tf, { schema: r })
|
|
13745
13761
|
},
|
|
13746
13762
|
{
|
|
13747
13763
|
id: "data",
|
|
13748
13764
|
label: "Data",
|
|
13749
|
-
render: () => /* @__PURE__ */ F(
|
|
13765
|
+
render: () => /* @__PURE__ */ F(nf, { dataContext: i })
|
|
13750
13766
|
},
|
|
13751
13767
|
{
|
|
13752
13768
|
id: "perf",
|
|
13753
13769
|
label: "Perf",
|
|
13754
|
-
render: () => /* @__PURE__ */ F(
|
|
13770
|
+
render: () => /* @__PURE__ */ F(sf, {})
|
|
13755
13771
|
},
|
|
13756
13772
|
{
|
|
13757
13773
|
id: "expr",
|
|
13758
13774
|
label: "Expr",
|
|
13759
|
-
render: () => /* @__PURE__ */ F(
|
|
13775
|
+
render: () => /* @__PURE__ */ F(cf, {})
|
|
13760
13776
|
},
|
|
13761
13777
|
{
|
|
13762
13778
|
id: "events",
|
|
13763
13779
|
label: "Events",
|
|
13764
|
-
render: () => /* @__PURE__ */ F(
|
|
13780
|
+
render: () => /* @__PURE__ */ F(lf, {})
|
|
13765
13781
|
},
|
|
13766
13782
|
{
|
|
13767
13783
|
id: "registry",
|
|
13768
13784
|
label: "Registry",
|
|
13769
|
-
render: () => /* @__PURE__ */ F(
|
|
13785
|
+
render: () => /* @__PURE__ */ F(rf, {})
|
|
13770
13786
|
},
|
|
13771
13787
|
{
|
|
13772
13788
|
id: "flags",
|
|
13773
13789
|
label: "Flags",
|
|
13774
|
-
render: () => /* @__PURE__ */ F(
|
|
13790
|
+
render: () => /* @__PURE__ */ F(af, { flags: n })
|
|
13775
13791
|
}
|
|
13776
13792
|
], [
|
|
13777
13793
|
r,
|
|
@@ -13824,13 +13840,13 @@ function lf({ open: e, onClose: t, flags: n, schema: r, dataContext: i, extraTab
|
|
|
13824
13840
|
}
|
|
13825
13841
|
//#endregion
|
|
13826
13842
|
//#region src/share/ShareDialog.tsx
|
|
13827
|
-
var
|
|
13843
|
+
var df = {
|
|
13828
13844
|
permission: "view",
|
|
13829
13845
|
audience: "link_only",
|
|
13830
13846
|
expiresInDays: 7,
|
|
13831
13847
|
password: "",
|
|
13832
13848
|
label: ""
|
|
13833
|
-
},
|
|
13849
|
+
}, ff = [
|
|
13834
13850
|
{
|
|
13835
13851
|
label: "1 day",
|
|
13836
13852
|
value: 1
|
|
@@ -13851,7 +13867,7 @@ var uf = {
|
|
|
13851
13867
|
label: "Never",
|
|
13852
13868
|
value: null
|
|
13853
13869
|
}
|
|
13854
|
-
],
|
|
13870
|
+
], pf = [{
|
|
13855
13871
|
value: "link_only",
|
|
13856
13872
|
label: "Anyone with the link",
|
|
13857
13873
|
help: "No sign-in required"
|
|
@@ -13860,10 +13876,10 @@ var uf = {
|
|
|
13860
13876
|
label: "Signed-in users",
|
|
13861
13877
|
help: "Must be logged in to view"
|
|
13862
13878
|
}];
|
|
13863
|
-
function
|
|
13879
|
+
function mf(e, t) {
|
|
13864
13880
|
return `${(e ?? (typeof window < "u" ? `${window.location.origin}/s` : "/s")).replace(/\/+$/, "")}/${t}`;
|
|
13865
13881
|
}
|
|
13866
|
-
async function
|
|
13882
|
+
async function hf(e) {
|
|
13867
13883
|
try {
|
|
13868
13884
|
if (typeof navigator < "u" && navigator.clipboard?.writeText) return await navigator.clipboard.writeText(e), !0;
|
|
13869
13885
|
} catch {}
|
|
@@ -13878,8 +13894,8 @@ async function mf(e) {
|
|
|
13878
13894
|
}
|
|
13879
13895
|
return !1;
|
|
13880
13896
|
}
|
|
13881
|
-
function
|
|
13882
|
-
let [c, l] = N([]), [u, d] = N(!1), [f, p] = N(!1), [m, h] = N(null), [g, _] = N(
|
|
13897
|
+
function gf({ open: e, onOpenChange: t, objectName: n, recordId: r, recordLabel: i, apiBase: a, publicBaseUrl: o, fetchHeaders: s }) {
|
|
13898
|
+
let [c, l] = N([]), [u, d] = N(!1), [f, p] = N(!1), [m, h] = N(null), [g, _] = N(df), [v, y] = N(null), b = M(async () => {
|
|
13883
13899
|
let e = { "Content-Type": "application/json" };
|
|
13884
13900
|
if (!s) return e;
|
|
13885
13901
|
let t = await s();
|
|
@@ -13908,7 +13924,7 @@ function hf({ open: e, onOpenChange: t, objectName: n, recordId: r, recordLabel:
|
|
|
13908
13924
|
}
|
|
13909
13925
|
}, [x, b]);
|
|
13910
13926
|
re(() => {
|
|
13911
|
-
e && (S(), _(
|
|
13927
|
+
e && (S(), _(df));
|
|
13912
13928
|
}, [e, S]);
|
|
13913
13929
|
let C = M(async () => {
|
|
13914
13930
|
p(!0), h(null);
|
|
@@ -13933,7 +13949,7 @@ function hf({ open: e, onOpenChange: t, objectName: n, recordId: r, recordLabel:
|
|
|
13933
13949
|
}
|
|
13934
13950
|
let s = await i.json(), c = s.link ?? s.data;
|
|
13935
13951
|
if (!c) throw Error("Share link create response missing link payload");
|
|
13936
|
-
l((e) => [c, ...e]), await mf(
|
|
13952
|
+
l((e) => [c, ...e]), await hf(mf(o, c.token)) && (y(c.id), setTimeout(() => y(null), 1500)), _(df);
|
|
13937
13953
|
} catch (e) {
|
|
13938
13954
|
h(e?.message ?? "Failed to create share link");
|
|
13939
13955
|
} finally {
|
|
@@ -13962,7 +13978,7 @@ function hf({ open: e, onOpenChange: t, objectName: n, recordId: r, recordLabel:
|
|
|
13962
13978
|
h(e?.message ?? "Failed to revoke link");
|
|
13963
13979
|
}
|
|
13964
13980
|
}, [a, b]), T = M(async (e) => {
|
|
13965
|
-
await mf(
|
|
13981
|
+
await hf(mf(o, e.token)) && (y(e.id), setTimeout(() => y(null), 1500));
|
|
13966
13982
|
}, [o]), E = c.filter((e) => !e.revoked_at), D = c.filter((e) => e.revoked_at);
|
|
13967
13983
|
return /* @__PURE__ */ F(wr, {
|
|
13968
13984
|
open: e,
|
|
@@ -14004,7 +14020,7 @@ function hf({ open: e, onOpenChange: t, objectName: n, recordId: r, recordLabel:
|
|
|
14004
14020
|
className: "h-8 text-xs",
|
|
14005
14021
|
"data-testid": "share-audience",
|
|
14006
14022
|
children: /* @__PURE__ */ F(Ra, {})
|
|
14007
|
-
}), /* @__PURE__ */ F(Ha, { children:
|
|
14023
|
+
}), /* @__PURE__ */ F(Ha, { children: pf.map((e) => /* @__PURE__ */ F(Z, {
|
|
14008
14024
|
value: e.value,
|
|
14009
14025
|
className: "text-xs",
|
|
14010
14026
|
children: /* @__PURE__ */ I("div", {
|
|
@@ -14032,7 +14048,7 @@ function hf({ open: e, onOpenChange: t, objectName: n, recordId: r, recordLabel:
|
|
|
14032
14048
|
className: "h-8 text-xs",
|
|
14033
14049
|
"data-testid": "share-expiry",
|
|
14034
14050
|
children: /* @__PURE__ */ F(Ra, {})
|
|
14035
|
-
}), /* @__PURE__ */ F(Ha, { children:
|
|
14051
|
+
}), /* @__PURE__ */ F(Ha, { children: ff.map((e) => /* @__PURE__ */ F(Z, {
|
|
14036
14052
|
value: e.value == null ? "never" : String(e.value),
|
|
14037
14053
|
className: "text-xs",
|
|
14038
14054
|
children: e.label
|
|
@@ -14101,7 +14117,7 @@ function hf({ open: e, onOpenChange: t, objectName: n, recordId: r, recordLabel:
|
|
|
14101
14117
|
/* @__PURE__ */ I("ul", {
|
|
14102
14118
|
className: "space-y-2",
|
|
14103
14119
|
children: [
|
|
14104
|
-
E.map((e) => /* @__PURE__ */ F(
|
|
14120
|
+
E.map((e) => /* @__PURE__ */ F(_f, {
|
|
14105
14121
|
link: e,
|
|
14106
14122
|
copied: v === e.id,
|
|
14107
14123
|
onCopy: () => T(e),
|
|
@@ -14112,7 +14128,7 @@ function hf({ open: e, onOpenChange: t, objectName: n, recordId: r, recordLabel:
|
|
|
14112
14128
|
className: "pt-2 text-[10px] uppercase tracking-wide text-muted-foreground",
|
|
14113
14129
|
children: "Revoked"
|
|
14114
14130
|
}),
|
|
14115
|
-
D.map((e) => /* @__PURE__ */ F(
|
|
14131
|
+
D.map((e) => /* @__PURE__ */ F(_f, {
|
|
14116
14132
|
link: e,
|
|
14117
14133
|
copied: !1,
|
|
14118
14134
|
onCopy: () => T(e),
|
|
@@ -14134,8 +14150,8 @@ function hf({ open: e, onOpenChange: t, objectName: n, recordId: r, recordLabel:
|
|
|
14134
14150
|
})
|
|
14135
14151
|
});
|
|
14136
14152
|
}
|
|
14137
|
-
function
|
|
14138
|
-
let o =
|
|
14153
|
+
function _f({ link: e, copied: t, onCopy: n, onRevoke: r, publicBaseUrl: i, disabled: a }) {
|
|
14154
|
+
let o = mf(i, e.token);
|
|
14139
14155
|
return /* @__PURE__ */ I("li", {
|
|
14140
14156
|
className: K("flex items-center gap-2 rounded-md border bg-card px-2 py-2 text-xs", a && "opacity-60"),
|
|
14141
14157
|
"data-testid": "share-link-row",
|
|
@@ -14186,8 +14202,8 @@ function gf({ link: e, copied: t, onCopy: n, onRevoke: r, publicBaseUrl: i, disa
|
|
|
14186
14202
|
}
|
|
14187
14203
|
//#endregion
|
|
14188
14204
|
//#region src/index.ts
|
|
14189
|
-
function
|
|
14205
|
+
function vf() {
|
|
14190
14206
|
return !0;
|
|
14191
14207
|
}
|
|
14192
14208
|
//#endregion
|
|
14193
|
-
export { gn as Accordion, yn as AccordionContent, _n as AccordionItem, vn as AccordionTrigger, Jl as ActionParamDialog, Nn as Alert, Fn as AlertDescription, xn as AlertDialog, An as AlertDialogAction, jn as AlertDialogCancel, Tn as AlertDialogContent, kn as AlertDialogDescription, Dn as AlertDialogFooter, En as AlertDialogHeader, wn as AlertDialogOverlay, Cn as AlertDialogPortal, On as AlertDialogTitle, Sn as AlertDialogTrigger, Pn as AlertTitle, In as AspectRatio, Ln as Avatar, zn as AvatarFallback, Rn as AvatarImage, Vn as Badge, Hn as Breadcrumb, Jn as BreadcrumbEllipsis, Wn as BreadcrumbItem, Gn as BreadcrumbLink, Un as BreadcrumbList, Kn as BreadcrumbPage, qn as BreadcrumbSeparator, J as Button, Pc as ButtonGroup, Ic as ButtonGroupSeparator, Fc as ButtonGroupText, Yn as Calendar, Xn as CalendarDayButton, Zn as Card, tr as CardContent, er as CardDescription, nr as CardFooter, Qn as CardHeader, $n as CardTitle, ar as Carousel, or as CarouselContent, sr as CarouselItem, lr as CarouselNext, cr as CarouselPrevious, pr as ChartContainer, _r as ChartLegend, vr as ChartLegendContent, $l as ChartSkeleton, mr as ChartStyle, hr as ChartTooltip, gr as ChartTooltipContent, br as Checkbox, xr as Collapsible, Cr as CollapsibleContent, Sr as CollapsibleTrigger, Lc as Combobox, Pr as Command, Fr as CommandDialog, Rr as CommandEmpty, zr as CommandGroup, Ir as CommandInput, Vr as CommandItem, Lr as CommandList, Br as CommandSeparator, Hr as CommandShortcut, il as ConfigFieldRenderer, ol as ConfigPanelRenderer, Rc as ConfigRow, Ur as ContextMenu, $r as ContextMenuCheckboxItem, Zr as ContextMenuContent, Gr as ContextMenuGroup, Qr as ContextMenuItem, ti as ContextMenuLabel, Kr as ContextMenuPortal, Jr as ContextMenuRadioGroup, ei as ContextMenuRadioItem, ni as ContextMenuSeparator, ri as ContextMenuShortcut, qr as ContextMenuSub, Xr as ContextMenuSubContent, Yr as ContextMenuSubTrigger, Wr as ContextMenuTrigger, uu as DataEmptyState, uu as EmptyState, du as DataErrorState, lu as DataLoadingState, sl as DatePicker,
|
|
14209
|
+
export { gn as Accordion, yn as AccordionContent, _n as AccordionItem, vn as AccordionTrigger, Jl as ActionParamDialog, Nn as Alert, Fn as AlertDescription, xn as AlertDialog, An as AlertDialogAction, jn as AlertDialogCancel, Tn as AlertDialogContent, kn as AlertDialogDescription, Dn as AlertDialogFooter, En as AlertDialogHeader, wn as AlertDialogOverlay, Cn as AlertDialogPortal, On as AlertDialogTitle, Sn as AlertDialogTrigger, Pn as AlertTitle, In as AspectRatio, Ln as Avatar, zn as AvatarFallback, Rn as AvatarImage, Vn as Badge, Hn as Breadcrumb, Jn as BreadcrumbEllipsis, Wn as BreadcrumbItem, Gn as BreadcrumbLink, Un as BreadcrumbList, Kn as BreadcrumbPage, qn as BreadcrumbSeparator, J as Button, Pc as ButtonGroup, Ic as ButtonGroupSeparator, Fc as ButtonGroupText, Yn as Calendar, Xn as CalendarDayButton, Zn as Card, tr as CardContent, er as CardDescription, nr as CardFooter, Qn as CardHeader, $n as CardTitle, ar as Carousel, or as CarouselContent, sr as CarouselItem, lr as CarouselNext, cr as CarouselPrevious, pr as ChartContainer, _r as ChartLegend, vr as ChartLegendContent, $l as ChartSkeleton, mr as ChartStyle, hr as ChartTooltip, gr as ChartTooltipContent, br as Checkbox, xr as Collapsible, Cr as CollapsibleContent, Sr as CollapsibleTrigger, Lc as Combobox, Pr as Command, Fr as CommandDialog, Rr as CommandEmpty, zr as CommandGroup, Ir as CommandInput, Vr as CommandItem, Lr as CommandList, Br as CommandSeparator, Hr as CommandShortcut, il as ConfigFieldRenderer, ol as ConfigPanelRenderer, Rc as ConfigRow, Ur as ContextMenu, $r as ContextMenuCheckboxItem, Zr as ContextMenuContent, Gr as ContextMenuGroup, Qr as ContextMenuItem, ti as ContextMenuLabel, Kr as ContextMenuPortal, Jr as ContextMenuRadioGroup, ei as ContextMenuRadioItem, ni as ContextMenuSeparator, ri as ContextMenuShortcut, qr as ContextMenuSub, Xr as ContextMenuSubContent, Yr as ContextMenuSubTrigger, Wr as ContextMenuTrigger, uu as DataEmptyState, uu as EmptyState, du as DataErrorState, lu as DataLoadingState, sl as DatePicker, uf as DebugPanel, wr as Dialog, Dr as DialogClose, kr as DialogContent, Nr as DialogDescription, jr as DialogFooter, Ar as DialogHeader, Or as DialogOverlay, Er as DialogPortal, Mr as DialogTitle, Tr as DialogTrigger, ii as Drawer, si as DrawerClose, li as DrawerContent, pi as DrawerDescription, di as DrawerFooter, ui as DrawerHeader, ci as DrawerOverlay, oi as DrawerPortal, fi as DrawerTitle, ai as DrawerTrigger, mi as DropdownMenu, wi as DropdownMenuCheckboxItem, Si as DropdownMenuContent, gi as DropdownMenuGroup, Ci as DropdownMenuItem, Ei as DropdownMenuLabel, _i as DropdownMenuPortal, yi as DropdownMenuRadioGroup, Ti as DropdownMenuRadioItem, Di as DropdownMenuSeparator, Oi as DropdownMenuShortcut, vi as DropdownMenuSub, xi as DropdownMenuSubContent, bi as DropdownMenuSubTrigger, hi as DropdownMenuTrigger, ll as Empty, hl as EmptyContent, ml as EmptyDescription, ul as EmptyHeader, fl as EmptyMedia, pl as EmptyTitle, gl as EmptyValue, pu as ExportProgressDialog, vl as Field, el as FilterBuilder, Ai as Form, Li as FormControl, Ri as FormDescription, Mi as FormField, Fi as FormItem, Ii as FormLabel, zi as FormMessage, Zl as FormSkeleton, Ed as GridFieldAuthoringProvider, Yl as GridSkeleton, ql as GroupingEditor, Bi as HoverCard, Hi as HoverCardContent, Vi as HoverCardTrigger, X as Input, yl as InputGroup, Ui as InputOTP, Wi as InputOTPGroup, Ki as InputOTPSeparator, Gi as InputOTPSlot, Cl as Item, kl as ItemActions, El as ItemContent, Ol as ItemDescription, jl as ItemFooter, bl as ItemGroup, Al as ItemHeader, Tl as ItemMedia, xl as ItemSeparator, Dl as ItemTitle, Xl as KanbanSkeleton, Ml as Kbd, Nl as KbdGroup, Y as Label, Ps as LazyIcon, Ql as ListSkeleton, tl as LookupValuePicker, Qi as Menubar, ia as MenubarCheckboxItem, na as MenubarContent, Ji as MenubarGroup, ra as MenubarItem, oa as MenubarLabel, qi as MenubarMenu, Yi as MenubarPortal, Xi as MenubarRadioGroup, aa as MenubarRadioItem, sa as MenubarSeparator, ca as MenubarShortcut, Zi as MenubarSub, ta as MenubarSubContent, ea as MenubarSubTrigger, $i as MenubarTrigger, Rl as MobileDialogContent, Pl as NativeSelect, la as NavigationMenu, ma as NavigationMenuContent, _a as NavigationMenuIndicator, da as NavigationMenuItem, ha as NavigationMenuLink, ua as NavigationMenuList, pa as NavigationMenuTrigger, ga as NavigationMenuViewport, Wl as NavigationOverlay, va as Pagination, ya as PaginationContent, wa as PaginationEllipsis, ba as PaginationItem, xa as PaginationLink, Ca as PaginationNext, Sa as PaginationPrevious, Ta as Popover, Da as PopoverContent, Ea as PopoverTrigger, Oa as Progress, ka as RadioGroup, Aa as RadioGroupItem, au as RecordTitleChip, cu as RefreshIndicator, sd as RelatedCountStore, Na as ResizableHandle, Ma as ResizablePanel, ja as ResizablePanelGroup, Pa as ScrollArea, Fa as ScrollBar, al as SectionHeader, Ia as Select, Ha as SelectContent, La as SelectGroup, Z as SelectItem, Ua as SelectLabel, Va as SelectScrollDownButton, Ba as SelectScrollUpButton, Wa as SelectSeparator, za as SelectTrigger, Ra as SelectValue, Ga as Separator, gf as ShareDialog, Ka as Sheet, Ja as SheetClose, Qa as SheetContent, no as SheetDescription, eo as SheetFooter, $a as SheetHeader, Xa as SheetOverlay, Ya as SheetPortal, to as SheetTitle, qa as SheetTrigger, tu as ShimmerSkeleton, yo as Sidebar, Do as SidebarContent, To as SidebarFooter, Oo as SidebarGroup, Ao as SidebarGroupAction, jo as SidebarGroupContent, ko as SidebarGroupLabel, wo as SidebarHeader, Co as SidebarInput, So as SidebarInset, Mo as SidebarMenu, Io as SidebarMenuAction, Lo as SidebarMenuBadge, Fo as SidebarMenuButton, No as SidebarMenuItem, Ro as SidebarMenuSkeleton, zo as SidebarMenuSub, Vo as SidebarMenuSubButton, Bo as SidebarMenuSubItem, vo as SidebarProvider, xo as SidebarRail, Eo as SidebarSeparator, bo as SidebarTrigger, Q as Skeleton, Ho as Slider, rl as SortBuilder, Gl as Spinner, Wo as Switch, Go as Table, qo as TableBody, Qo as TableCaption, Zo as TableCell, Jo as TableFooter, Xo as TableHead, Ko as TableHeader, Yo as TableRow, $o as Tabs, ns as TabsContent, es as TabsList, ts as TabsTrigger, rs as Textarea, Uo as Toaster, as as Toggle, ss as ToggleGroup, cs as ToggleGroupItem, oo as Tooltip, co as TooltipContent, ao as TooltipProvider, so as TooltipTrigger, ms as TypographyBlockquote, ls as TypographyH1, us as TypographyH2, ds as TypographyH3, fs as TypographyH4, gs as TypographyInlineCode, vs as TypographyLarge, _s as TypographyLead, hs as TypographyList, bs as TypographyMuted, ps as TypographyP, ys as TypographySmall, eu as ViewSkeleton, Bn as badgeVariants, Nc as buttonGroupVariants, bn as buttonVariants, K as cn, _t as cva, Ns as getLazyIcon, vf as initializeComponents, Il as isInsidePopperLayer, fa as navigationMenuTriggerStyle, Yd as registerPlaceholders, q as renderChildren, ks as toKebabIconName, Yt as toast, is as toggleVariants, Xd as useConfigDraft, ef as useExportJob, Ni as useFormField, Dd as useGridFieldAuthoring, io as useIsMobile, Ll as usePopperAwareInteractOutside, ad as useRelatedCount, od as useRelatedCountVersion, Zd as useResizeObserver, _o as useSidebar };
|