react-crud-mui 0.2.16 → 0.2.17
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/coreui.js +52 -52
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/coreui.js
CHANGED
|
@@ -1109,7 +1109,7 @@ function y4({
|
|
|
1109
1109
|
inputValue: Fe
|
|
1110
1110
|
})
|
|
1111
1111
|
}), W(!0)) : W(!1)), re;
|
|
1112
|
-
}, [l, U]),
|
|
1112
|
+
}, [l, U]), ke = (te) => {
|
|
1113
1113
|
let Z = {};
|
|
1114
1114
|
return G && (Z = {
|
|
1115
1115
|
endAdornment: /* @__PURE__ */ u(Wc, { position: "end", children: /* @__PURE__ */ u(br, { sx: {
|
|
@@ -1174,7 +1174,7 @@ function y4({
|
|
|
1174
1174
|
forcePopupIcon: !0,
|
|
1175
1175
|
filterOptions: Q,
|
|
1176
1176
|
renderOption: ce,
|
|
1177
|
-
renderInput:
|
|
1177
|
+
renderInput: ke,
|
|
1178
1178
|
value: ru(R)
|
|
1179
1179
|
}
|
|
1180
1180
|
);
|
|
@@ -2083,7 +2083,7 @@ var $r = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2083
2083
|
Ui.exports;
|
|
2084
2084
|
(function(n, l) {
|
|
2085
2085
|
(function() {
|
|
2086
|
-
var i, a = "4.17.21", s = 200, f = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", h = "Expected a function", m = "Invalid `variable` option passed into `_.template`", g = "__lodash_hash_undefined__", x = 500, y = "__lodash_placeholder__", C = 1, I = 2, M = 4, L = 1, R = 2, B = 1, Y = 2, K = 4, U = 8, G = 16, W = 32, O = 64, D = 128, N = 256, ce = 512, me = 30, Q = "...",
|
|
2086
|
+
var i, a = "4.17.21", s = 200, f = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", h = "Expected a function", m = "Invalid `variable` option passed into `_.template`", g = "__lodash_hash_undefined__", x = 500, y = "__lodash_placeholder__", C = 1, I = 2, M = 4, L = 1, R = 2, B = 1, Y = 2, K = 4, U = 8, G = 16, W = 32, O = 64, D = 128, N = 256, ce = 512, me = 30, Q = "...", ke = 800, te = 16, Z = 1, re = 2, Fe = 3, de = 1 / 0, ne = 9007199254740991, Se = 17976931348623157e292, ie = NaN, le = 4294967295, ge = le - 1, qe = le >>> 1, dt = [
|
|
2087
2087
|
["ary", D],
|
|
2088
2088
|
["bind", B],
|
|
2089
2089
|
["bindKey", Y],
|
|
@@ -2370,7 +2370,7 @@ Ui.exports;
|
|
|
2370
2370
|
return _.apply(A, w);
|
|
2371
2371
|
}
|
|
2372
2372
|
function ad(_, A, w, H) {
|
|
2373
|
-
for (var ae = -1,
|
|
2373
|
+
for (var ae = -1, Ae = _ == null ? 0 : _.length; ++ae < Ae; ) {
|
|
2374
2374
|
var lt = _[ae];
|
|
2375
2375
|
A(H, lt, w(lt), _);
|
|
2376
2376
|
}
|
|
@@ -2393,11 +2393,11 @@ Ui.exports;
|
|
|
2393
2393
|
return !0;
|
|
2394
2394
|
}
|
|
2395
2395
|
function Rn(_, A) {
|
|
2396
|
-
for (var w = -1, H = _ == null ? 0 : _.length, ae = 0,
|
|
2396
|
+
for (var w = -1, H = _ == null ? 0 : _.length, ae = 0, Ae = []; ++w < H; ) {
|
|
2397
2397
|
var lt = _[w];
|
|
2398
|
-
A(lt, w, _) && (
|
|
2398
|
+
A(lt, w, _) && (Ae[ae++] = lt);
|
|
2399
2399
|
}
|
|
2400
|
-
return
|
|
2400
|
+
return Ae;
|
|
2401
2401
|
}
|
|
2402
2402
|
function Yr(_, A) {
|
|
2403
2403
|
var w = _ == null ? 0 : _.length;
|
|
@@ -2420,8 +2420,8 @@ Ui.exports;
|
|
|
2420
2420
|
return _;
|
|
2421
2421
|
}
|
|
2422
2422
|
function mo(_, A, w, H) {
|
|
2423
|
-
var ae = -1,
|
|
2424
|
-
for (H &&
|
|
2423
|
+
var ae = -1, Ae = _ == null ? 0 : _.length;
|
|
2424
|
+
for (H && Ae && (w = _[++ae]); ++ae < Ae; )
|
|
2425
2425
|
w = A(w, _[ae], ae, _);
|
|
2426
2426
|
return w;
|
|
2427
2427
|
}
|
|
@@ -2446,22 +2446,22 @@ Ui.exports;
|
|
|
2446
2446
|
}
|
|
2447
2447
|
function Cs(_, A, w) {
|
|
2448
2448
|
var H;
|
|
2449
|
-
return w(_, function(ae,
|
|
2450
|
-
if (A(ae,
|
|
2451
|
-
return H =
|
|
2449
|
+
return w(_, function(ae, Ae, lt) {
|
|
2450
|
+
if (A(ae, Ae, lt))
|
|
2451
|
+
return H = Ae, !1;
|
|
2452
2452
|
}), H;
|
|
2453
2453
|
}
|
|
2454
2454
|
function Jr(_, A, w, H) {
|
|
2455
|
-
for (var ae = _.length,
|
|
2456
|
-
if (A(_[
|
|
2457
|
-
return
|
|
2455
|
+
for (var ae = _.length, Ae = w + (H ? 1 : -1); H ? Ae-- : ++Ae < ae; )
|
|
2456
|
+
if (A(_[Ae], Ae, _))
|
|
2457
|
+
return Ae;
|
|
2458
2458
|
return -1;
|
|
2459
2459
|
}
|
|
2460
2460
|
function or(_, A, w) {
|
|
2461
2461
|
return A === A ? Id(_, A, w) : Jr(_, Ss, w);
|
|
2462
2462
|
}
|
|
2463
2463
|
function gd(_, A, w, H) {
|
|
2464
|
-
for (var ae = w - 1,
|
|
2464
|
+
for (var ae = w - 1, Ae = _.length; ++ae < Ae; )
|
|
2465
2465
|
if (H(_[ae], A))
|
|
2466
2466
|
return ae;
|
|
2467
2467
|
return -1;
|
|
@@ -2484,8 +2484,8 @@ Ui.exports;
|
|
|
2484
2484
|
};
|
|
2485
2485
|
}
|
|
2486
2486
|
function Is(_, A, w, H, ae) {
|
|
2487
|
-
return ae(_, function(
|
|
2488
|
-
w = H ? (H = !1,
|
|
2487
|
+
return ae(_, function(Ae, lt, $e) {
|
|
2488
|
+
w = H ? (H = !1, Ae) : A(w, Ae, lt, $e);
|
|
2489
2489
|
}), w;
|
|
2490
2490
|
}
|
|
2491
2491
|
function hd(_, A) {
|
|
@@ -2496,8 +2496,8 @@ Ui.exports;
|
|
|
2496
2496
|
}
|
|
2497
2497
|
function yo(_, A) {
|
|
2498
2498
|
for (var w, H = -1, ae = _.length; ++H < ae; ) {
|
|
2499
|
-
var
|
|
2500
|
-
|
|
2499
|
+
var Ae = A(_[H]);
|
|
2500
|
+
Ae !== i && (w = w === i ? Ae : w + Ae);
|
|
2501
2501
|
}
|
|
2502
2502
|
return w;
|
|
2503
2503
|
}
|
|
@@ -2572,11 +2572,11 @@ Ui.exports;
|
|
|
2572
2572
|
};
|
|
2573
2573
|
}
|
|
2574
2574
|
function Dn(_, A) {
|
|
2575
|
-
for (var w = -1, H = _.length, ae = 0,
|
|
2575
|
+
for (var w = -1, H = _.length, ae = 0, Ae = []; ++w < H; ) {
|
|
2576
2576
|
var lt = _[w];
|
|
2577
|
-
(lt === A || lt === y) && (_[w] = y,
|
|
2577
|
+
(lt === A || lt === y) && (_[w] = y, Ae[ae++] = w);
|
|
2578
2578
|
}
|
|
2579
|
-
return
|
|
2579
|
+
return Ae;
|
|
2580
2580
|
}
|
|
2581
2581
|
function qr(_) {
|
|
2582
2582
|
var A = -1, w = Array(_.size);
|
|
@@ -2627,7 +2627,7 @@ Ui.exports;
|
|
|
2627
2627
|
}
|
|
2628
2628
|
var Ed = function _(A) {
|
|
2629
2629
|
A = A == null ? gt : ar.defaults(gt.Object(), A, ar.pick(gt, jf));
|
|
2630
|
-
var w = A.Array, H = A.Date, ae = A.Error,
|
|
2630
|
+
var w = A.Array, H = A.Date, ae = A.Error, Ae = A.Function, lt = A.Math, $e = A.Object, wo = A.RegExp, Rd = A.String, Gt = A.TypeError, Qr = w.prototype, Fd = Ae.prototype, cr = $e.prototype, jr = A["__core-js_shared__"], ei = Fd.toString, Re = cr.hasOwnProperty, Dd = 0, Es = function() {
|
|
2631
2631
|
var e = /[^.]+$/.exec(jr && jr.keys && jr.keys.IE_PROTO || "");
|
|
2632
2632
|
return e ? "Symbol(src)_1." + e : "";
|
|
2633
2633
|
}(), ti = cr.toString, Od = ei.call($e), zd = gt._, $d = wo(
|
|
@@ -4263,7 +4263,7 @@ Ui.exports;
|
|
|
4263
4263
|
return function() {
|
|
4264
4264
|
var o = Gd(), c = te - (o - r);
|
|
4265
4265
|
if (r = o, c > 0) {
|
|
4266
|
-
if (++t >=
|
|
4266
|
+
if (++t >= ke)
|
|
4267
4267
|
return arguments[0];
|
|
4268
4268
|
} else
|
|
4269
4269
|
t = 0;
|
|
@@ -5406,7 +5406,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5406
5406
|
`) + E + `return __p
|
|
5407
5407
|
}`;
|
|
5408
5408
|
var he = xc(function() {
|
|
5409
|
-
return
|
|
5409
|
+
return Ae(p, V + "return " + E).apply(i, v);
|
|
5410
5410
|
});
|
|
5411
5411
|
if (he.source = E, sl(he))
|
|
5412
5412
|
throw he;
|
|
@@ -5786,12 +5786,12 @@ function sb({
|
|
|
5786
5786
|
optionTemplate: R,
|
|
5787
5787
|
displayTemplate: f,
|
|
5788
5788
|
descriptionTemplate: a
|
|
5789
|
-
}),
|
|
5789
|
+
}), ke = it(() => {
|
|
5790
5790
|
let se = G;
|
|
5791
5791
|
return B && (se = O ? G == null ? void 0 : G.map((oe) => Qn.get(oe, W)) : Qn.get(G, W)), ru(se);
|
|
5792
5792
|
}, [O, B, G, W]);
|
|
5793
5793
|
yu(() => {
|
|
5794
|
-
if (i != null && i.length &&
|
|
5794
|
+
if (i != null && i.length && Y) {
|
|
5795
5795
|
const se = typeof Y == "function" ? i.find(Y) : i[0], oe = Qn.get(se, W);
|
|
5796
5796
|
oe && ne({
|
|
5797
5797
|
target: {
|
|
@@ -5844,7 +5844,7 @@ function sb({
|
|
|
5844
5844
|
}
|
|
5845
5845
|
}
|
|
5846
5846
|
I == null || I(se, oe);
|
|
5847
|
-
}, Se = () => /* @__PURE__ */ $(Xc, { ...N, notched: !!G, error: m, multiple: O, ref: K, labelId: `${y}-label`, id: `${y}-select`, label: C, value:
|
|
5847
|
+
}, Se = () => /* @__PURE__ */ $(Xc, { ...N, notched: !!G, error: m, multiple: O, ref: K, labelId: `${y}-label`, id: `${y}-select`, label: C, value: ke, onChange: ne, disabled: s, MenuProps: {
|
|
5848
5848
|
PaperProps: {
|
|
5849
5849
|
sx: {
|
|
5850
5850
|
maxHeight: h
|
|
@@ -6365,7 +6365,7 @@ function ft({
|
|
|
6365
6365
|
tabsPosition: me = "in-center",
|
|
6366
6366
|
...Q
|
|
6367
6367
|
}) {
|
|
6368
|
-
const
|
|
6368
|
+
const ke = zc(), te = f === "bottom" || f === "bottom-left" || f === "bottom-right" ? "bottom" : "top", Z = (ge) => {
|
|
6369
6369
|
if (!(N != null && N.length))
|
|
6370
6370
|
return null;
|
|
6371
6371
|
const qe = K <= N.length - 1 ? N[K].value : "", dt = {
|
|
@@ -6438,7 +6438,7 @@ function ft({
|
|
|
6438
6438
|
tabsContent: re(),
|
|
6439
6439
|
tabsHeaderContent: me === "in-subrow" ? Z({
|
|
6440
6440
|
wrapperSx: {
|
|
6441
|
-
borderBottom: `1px solid ${
|
|
6441
|
+
borderBottom: `1px solid ${ke.palette.divider}`,
|
|
6442
6442
|
px: Pr[W]
|
|
6443
6443
|
}
|
|
6444
6444
|
}) : null,
|
|
@@ -6946,7 +6946,7 @@ function Bb(n) {
|
|
|
6946
6946
|
...M.create
|
|
6947
6947
|
},
|
|
6948
6948
|
"create"
|
|
6949
|
-
) : null,
|
|
6949
|
+
) : null, ke = () => W.discardchanges ? /* @__PURE__ */ u(
|
|
6950
6950
|
kn,
|
|
6951
6951
|
{
|
|
6952
6952
|
disabled: O.discardchanges,
|
|
@@ -6983,7 +6983,7 @@ function Bb(n) {
|
|
|
6983
6983
|
"close"
|
|
6984
6984
|
) : null, re = (de) => de.length ? /* @__PURE__ */ u(ji, { options: de }, "more-options") : null;
|
|
6985
6985
|
return /* @__PURE__ */ u(Me, { children: (() => {
|
|
6986
|
-
const de = me(x), ne = Q(), Se =
|
|
6986
|
+
const de = me(x), ne = Q(), Se = ke(), ie = te(), le = Z(), ge = C == null ? void 0 : C(), qe = [de, ne, Se, ie, le], dt = /* @__PURE__ */ $(Me, { children: [
|
|
6987
6987
|
ge,
|
|
6988
6988
|
qe
|
|
6989
6989
|
] }), se = {
|
|
@@ -7136,8 +7136,8 @@ function Nb({
|
|
|
7136
7136
|
(${G.toUpperCase()})`, children: a }, "prev") : null, ce = () => g ? /* @__PURE__ */ u(Nr, { onClick: s, variant: "outlined", color: "secondary", loading: M, disabled: O, endIcon: /* @__PURE__ */ u(qm, {}), title: `${K("nextstep")}
|
|
7137
7137
|
(${U.toUpperCase()})`, children: i }, "next") : null, me = () => /* @__PURE__ */ u(Nr, { onClick: h, color: "success", loading: M, disabled: D, startIcon: /* @__PURE__ */ u(Bi, {}), children: m || K("finish") }, "finish");
|
|
7138
7138
|
return /* @__PURE__ */ u(Me, { children: (() => {
|
|
7139
|
-
const
|
|
7140
|
-
/* @__PURE__ */ u(Je, { children:
|
|
7139
|
+
const ke = N(), te = ce(), Z = me(), re = /* @__PURE__ */ $(Qi, { width: "100%", children: [
|
|
7140
|
+
/* @__PURE__ */ u(Je, { children: ke }),
|
|
7141
7141
|
/* @__PURE__ */ $(Je, { children: [
|
|
7142
7142
|
Y && B.length === R + 1 ? Z : null,
|
|
7143
7143
|
te
|
|
@@ -7152,7 +7152,7 @@ function Nb({
|
|
|
7152
7152
|
},
|
|
7153
7153
|
finish: Z,
|
|
7154
7154
|
next: te,
|
|
7155
|
-
prev:
|
|
7155
|
+
prev: ke
|
|
7156
7156
|
}) : re;
|
|
7157
7157
|
})() });
|
|
7158
7158
|
}
|
|
@@ -7185,7 +7185,7 @@ function Hb({
|
|
|
7185
7185
|
onDelete: ce,
|
|
7186
7186
|
onDiscardChanges: me,
|
|
7187
7187
|
onSegmentChanged: Q,
|
|
7188
|
-
onExtraCommands:
|
|
7188
|
+
onExtraCommands: ke,
|
|
7189
7189
|
onHeader: te,
|
|
7190
7190
|
onSave: Z,
|
|
7191
7191
|
onSaveClose: re,
|
|
@@ -7231,7 +7231,7 @@ function Hb({
|
|
|
7231
7231
|
onDiscardChanges: me,
|
|
7232
7232
|
onCommands: W,
|
|
7233
7233
|
saveCommandMode: g,
|
|
7234
|
-
onExtraCommands:
|
|
7234
|
+
onExtraCommands: ke,
|
|
7235
7235
|
createCommandLabel: h,
|
|
7236
7236
|
onClose: G,
|
|
7237
7237
|
commandsPosition: s
|
|
@@ -7339,7 +7339,7 @@ function Ub({
|
|
|
7339
7339
|
};
|
|
7340
7340
|
let le = I == null ? void 0 : I(ie, s);
|
|
7341
7341
|
Ml(le) && (le = await Y(le)), W(le ?? Se), L && !l && Ni.success(B("savedsuccesfully")), m == null || m(le, ie, s);
|
|
7342
|
-
},
|
|
7342
|
+
}, ke = async () => {
|
|
7343
7343
|
await Q();
|
|
7344
7344
|
}, te = async () => {
|
|
7345
7345
|
await Q("save-create"), de();
|
|
@@ -7372,7 +7372,7 @@ function Ub({
|
|
|
7372
7372
|
onCopy: () => de("copy"),
|
|
7373
7373
|
onSaveCreate: () => void te(),
|
|
7374
7374
|
onSaveClose: () => void Z(),
|
|
7375
|
-
onSave: () => void
|
|
7375
|
+
onSave: () => void ke(),
|
|
7376
7376
|
onDelete: () => void re(),
|
|
7377
7377
|
onDiscardChanges: Fe,
|
|
7378
7378
|
onClose: g
|
|
@@ -8026,7 +8026,7 @@ function ro({
|
|
|
8026
8026
|
rowSx: ce,
|
|
8027
8027
|
size: me = "medium",
|
|
8028
8028
|
showHeader: Q = !0,
|
|
8029
|
-
showFooter:
|
|
8029
|
+
showFooter: ke,
|
|
8030
8030
|
stickyHeader: te = !0,
|
|
8031
8031
|
scrollProps: Z,
|
|
8032
8032
|
showEmptyImage: re,
|
|
@@ -8306,7 +8306,7 @@ function ro({
|
|
|
8306
8306
|
paddingLeft: 7,
|
|
8307
8307
|
backgroundColor: "background.default"
|
|
8308
8308
|
}, colSpan: X == null ? void 0 : X.length, children: P }) }, `sub-row-${F.id}`);
|
|
8309
|
-
}, cn = () =>
|
|
8309
|
+
}, cn = () => ke ? /* @__PURE__ */ u(f3, { children: Ee.getFooterGroups().map((F) => /* @__PURE__ */ u(jn, { sx: {
|
|
8310
8310
|
backgroundColor: at(xe.palette.primary.main, 0.05)
|
|
8311
8311
|
}, children: F.headers.map((P) => /* @__PURE__ */ u(Wr, { size: me, colSpan: P.colSpan, children: P.isPlaceholder ? null : yl(P.column.columnDef.footer, P.getContext()) }, P.id)) }, F.id)) }) : null, Hn = (F) => {
|
|
8312
8312
|
if (!C || !L || !qe.current)
|
|
@@ -8413,7 +8413,7 @@ function Gl({
|
|
|
8413
8413
|
name: B,
|
|
8414
8414
|
keyName: Il
|
|
8415
8415
|
}), {
|
|
8416
|
-
fields:
|
|
8416
|
+
fields: ke,
|
|
8417
8417
|
prepend: te,
|
|
8418
8418
|
remove: Z,
|
|
8419
8419
|
update: re,
|
|
@@ -8422,7 +8422,7 @@ function Gl({
|
|
|
8422
8422
|
findIndexByUID: de,
|
|
8423
8423
|
findIndex: ne
|
|
8424
8424
|
} = Wl({
|
|
8425
|
-
models:
|
|
8425
|
+
models: ke
|
|
8426
8426
|
}), {
|
|
8427
8427
|
disabled: Se
|
|
8428
8428
|
} = $l(), ie = it(() => Se === !0 ? {
|
|
@@ -8443,7 +8443,7 @@ function Gl({
|
|
|
8443
8443
|
uid: be,
|
|
8444
8444
|
...Pe
|
|
8445
8445
|
}] = Vu({
|
|
8446
|
-
models:
|
|
8446
|
+
models: ke
|
|
8447
8447
|
}), jt = it(() => [...m, {
|
|
8448
8448
|
accessorKey: "commands",
|
|
8449
8449
|
align: "center",
|
|
@@ -8512,7 +8512,7 @@ function Gl({
|
|
|
8512
8512
|
}, [W == null ? void 0 : W.length, U, Q, le, be, de, re, te, N]), Ee = Ce((we) => {
|
|
8513
8513
|
const Oe = de(be), Xe = (K == null ? void 0 : K(we, Oe)) ?? Oe;
|
|
8514
8514
|
Z(Xe), xe();
|
|
8515
|
-
}, [de, xe, K, Z, be]), bt = () => /* @__PURE__ */ u(ro, { size: "small", showEmptyImage: !1, ...O, rowIdField: Il, data:
|
|
8515
|
+
}, [de, xe, K, Z, be]), bt = () => /* @__PURE__ */ u(ro, { size: "small", showEmptyImage: !1, ...O, rowIdField: Il, data: ke, enableSorting: !0, state: {
|
|
8516
8516
|
sorting: ce
|
|
8517
8517
|
}, onSortingChange: me, getSortedRowModel: eu(), columns: jt, rowSx: {
|
|
8518
8518
|
".MuiTableCell-root": {
|
|
@@ -8560,7 +8560,7 @@ function Gl({
|
|
|
8560
8560
|
commandsContent: Xe,
|
|
8561
8561
|
errors: se,
|
|
8562
8562
|
headerProps: R,
|
|
8563
|
-
rowCount:
|
|
8563
|
+
rowCount: ke == null ? void 0 : ke.length,
|
|
8564
8564
|
api: Q
|
|
8565
8565
|
};
|
|
8566
8566
|
return y ? y(J) : /* @__PURE__ */ u(Qu, { ...J });
|
|
@@ -8842,8 +8842,8 @@ function My(n) {
|
|
|
8842
8842
|
"create"
|
|
8843
8843
|
) : null, W = (D) => D.length ? /* @__PURE__ */ u(ji, { options: D }, "more-options") : null;
|
|
8844
8844
|
return /* @__PURE__ */ u(Me, { children: (() => {
|
|
8845
|
-
const D = Y(), N = U(), ce = K(), me = G(), Q = [N, D, ce, me],
|
|
8846
|
-
|
|
8845
|
+
const D = Y(), N = U(), ce = K(), me = G(), Q = [N, D, ce, me], ke = h == null ? void 0 : h(), te = /* @__PURE__ */ $(Me, { children: [
|
|
8846
|
+
ke,
|
|
8847
8847
|
Q
|
|
8848
8848
|
] }), Z = {
|
|
8849
8849
|
search: D,
|
|
@@ -8852,7 +8852,7 @@ function My(n) {
|
|
|
8852
8852
|
export: N,
|
|
8853
8853
|
content: Q,
|
|
8854
8854
|
renderMoreCommand: W,
|
|
8855
|
-
extra:
|
|
8855
|
+
extra: ke
|
|
8856
8856
|
}, re = {
|
|
8857
8857
|
onSearch: l,
|
|
8858
8858
|
onCreateItem: i,
|
|
@@ -8963,7 +8963,7 @@ function Ey({
|
|
|
8963
8963
|
onActionClick: ce,
|
|
8964
8964
|
onActionCommands: me,
|
|
8965
8965
|
onClear: Q,
|
|
8966
|
-
onClose:
|
|
8966
|
+
onClose: ke,
|
|
8967
8967
|
onCommands: te,
|
|
8968
8968
|
onCustomTable: Z,
|
|
8969
8969
|
onDetailPage: re,
|
|
@@ -9002,7 +9002,7 @@ function Ey({
|
|
|
9002
9002
|
ot,
|
|
9003
9003
|
wt
|
|
9004
9004
|
] });
|
|
9005
|
-
}, jt = (J, ze, Ze) => /* @__PURE__ */ $(ft, { icon: /* @__PURE__ */ u(bu, {}), ...dt, disabled: C, commandsContent: ze, onHeader: Ee, onClose:
|
|
9005
|
+
}, jt = (J, ze, Ze) => /* @__PURE__ */ $(ft, { icon: /* @__PURE__ */ u(bu, {}), ...dt, disabled: C, commandsContent: ze, onHeader: Ee, onClose: ke, loading: N, alertsContent: Ze, onTabChanged: ie, selectedTabIndex: n, children: [
|
|
9006
9006
|
J,
|
|
9007
9007
|
mt()
|
|
9008
9008
|
] }), mt = () => I ? null : /* @__PURE__ */ u(Ly, { onSearch: Se, onCreateItem: () => be("create"), onClear: Q, scopes: O, onExport: Fe }), Ee = (J) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { default as i18nInstance } from './components/i18n';
|
|
|
3
3
|
export { default as ActionCommands, type ActionCommandsProps, } from './components/action-commands/ActionCommands';
|
|
4
4
|
export { default as ComboBox, type ComboBoxProps } from './components/combobox/ComboBox';
|
|
5
5
|
export { default as DetailPage, type DetailPageProps, } from './components/detail-page/pages/DetailPage';
|
|
6
|
+
export { type NeedDataReason } from './components/detail-page/pages/DetailPageContent';
|
|
6
7
|
export { default as DetailPageSteps, type DetailPageStepsProps, } from './components/detail-page/components/DetailPageSteps';
|
|
7
8
|
export { default as DetailPageModal, type DetailPageModalProps, } from './components/detail-page/pages/DetailPageModal';
|
|
8
9
|
export { default as DetailPagePopover, type DetailPagePopoverProps, } from './components/detail-page/pages/DetailPagePopover';
|