@starasia/admin 3.23.0 → 4.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/dist/index.es.js
CHANGED
|
@@ -2570,31 +2570,7 @@ const sn = te(
|
|
|
2570
2570
|
advanceFilter: i,
|
|
2571
2571
|
showFilter: o = !0
|
|
2572
2572
|
}) => {
|
|
2573
|
-
const s = ee("md"), a =
|
|
2574
|
-
u,
|
|
2575
|
-
{
|
|
2576
|
-
style: {
|
|
2577
|
-
display: "flex",
|
|
2578
|
-
flexDirection: s ? "row" : "column",
|
|
2579
|
-
gap: "8px",
|
|
2580
|
-
width: s ? "auto" : "100%",
|
|
2581
|
-
textWrap: "nowrap"
|
|
2582
|
-
},
|
|
2583
|
-
children: t.map(
|
|
2584
|
-
({ title: h, icon: f, buttonProps: g, onClick: p }, y) => !h && !f ? null : /* @__PURE__ */ e(
|
|
2585
|
-
B,
|
|
2586
|
-
{
|
|
2587
|
-
fullWidth: !s,
|
|
2588
|
-
iconLeft: f ? /* @__PURE__ */ e(k, { name: f }) : void 0,
|
|
2589
|
-
onClick: p,
|
|
2590
|
-
...g,
|
|
2591
|
-
children: h
|
|
2592
|
-
},
|
|
2593
|
-
`action-${y}`
|
|
2594
|
-
)
|
|
2595
|
-
)
|
|
2596
|
-
}
|
|
2597
|
-
) : null;
|
|
2573
|
+
const s = ee("md"), a = o ? /* @__PURE__ */ e(jr, { ...i }) : null;
|
|
2598
2574
|
return /* @__PURE__ */ e(
|
|
2599
2575
|
u,
|
|
2600
2576
|
{
|
|
@@ -2614,14 +2590,38 @@ const sn = te(
|
|
|
2614
2590
|
flexDirection: s ? "row" : "column-reverse",
|
|
2615
2591
|
gap: "16px"
|
|
2616
2592
|
},
|
|
2617
|
-
children: l
|
|
2593
|
+
children: l ? l({ filter: a }) : /* @__PURE__ */ d(J, { children: [
|
|
2618
2594
|
/* @__PURE__ */ d(u, { style: { display: "flex", gap: "8px", flexDirection: "row", alignItems: "center", flex: 1, minWidth: 0 }, children: [
|
|
2619
|
-
|
|
2595
|
+
a,
|
|
2620
2596
|
n
|
|
2621
2597
|
] }),
|
|
2622
2598
|
/* @__PURE__ */ d(u, { style: { display: "flex", gap: "8px", flexDirection: "row", alignItems: "center", flexShrink: 0 }, children: [
|
|
2623
2599
|
r,
|
|
2624
|
-
|
|
2600
|
+
t ? rt(t) ? t : /* @__PURE__ */ e(
|
|
2601
|
+
u,
|
|
2602
|
+
{
|
|
2603
|
+
style: {
|
|
2604
|
+
display: "flex",
|
|
2605
|
+
flexDirection: s ? "row" : "column",
|
|
2606
|
+
gap: "8px",
|
|
2607
|
+
width: s ? "auto" : "100%",
|
|
2608
|
+
textWrap: "nowrap"
|
|
2609
|
+
},
|
|
2610
|
+
children: t.map(
|
|
2611
|
+
({ title: f, icon: g, buttonProps: p, onClick: y }, b) => !f && !g ? null : /* @__PURE__ */ e(
|
|
2612
|
+
B,
|
|
2613
|
+
{
|
|
2614
|
+
fullWidth: !s,
|
|
2615
|
+
iconLeft: g ? /* @__PURE__ */ e(k, { name: g }) : void 0,
|
|
2616
|
+
onClick: y,
|
|
2617
|
+
...p,
|
|
2618
|
+
children: f
|
|
2619
|
+
},
|
|
2620
|
+
`action-${b}`
|
|
2621
|
+
)
|
|
2622
|
+
)
|
|
2623
|
+
}
|
|
2624
|
+
) : null
|
|
2625
2625
|
] })
|
|
2626
2626
|
] })
|
|
2627
2627
|
}
|