@starasia/admin 3.14.0 → 3.16.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
|
@@ -2563,30 +2563,31 @@ const cn = te(
|
|
|
2563
2563
|
);
|
|
2564
2564
|
}, $r = ({
|
|
2565
2565
|
action: t,
|
|
2566
|
-
|
|
2567
|
-
|
|
2566
|
+
rightContent: r,
|
|
2567
|
+
advanceFilter: n,
|
|
2568
|
+
showFilter: l = !0
|
|
2568
2569
|
}) => {
|
|
2569
|
-
const
|
|
2570
|
+
const i = ee("md"), o = () => t ? it(t) ? t : /* @__PURE__ */ e(
|
|
2570
2571
|
u,
|
|
2571
2572
|
{
|
|
2572
2573
|
style: {
|
|
2573
2574
|
display: "flex",
|
|
2574
|
-
flexDirection:
|
|
2575
|
+
flexDirection: i ? "row" : "column",
|
|
2575
2576
|
gap: "8px",
|
|
2576
|
-
width:
|
|
2577
|
+
width: i ? "auto" : "100%",
|
|
2577
2578
|
textWrap: "nowrap"
|
|
2578
2579
|
},
|
|
2579
2580
|
children: t.map(
|
|
2580
|
-
({ title:
|
|
2581
|
+
({ title: s, icon: a, buttonProps: h, onClick: f }, g) => !s && !a ? null : /* @__PURE__ */ e(
|
|
2581
2582
|
B,
|
|
2582
2583
|
{
|
|
2583
|
-
fullWidth: !
|
|
2584
|
-
iconLeft:
|
|
2585
|
-
onClick:
|
|
2586
|
-
...
|
|
2587
|
-
children:
|
|
2584
|
+
fullWidth: !i,
|
|
2585
|
+
iconLeft: a ? /* @__PURE__ */ e(k, { name: a }) : void 0,
|
|
2586
|
+
onClick: f,
|
|
2587
|
+
...h,
|
|
2588
|
+
children: s
|
|
2588
2589
|
},
|
|
2589
|
-
`action-${
|
|
2590
|
+
`action-${g}`
|
|
2590
2591
|
)
|
|
2591
2592
|
)
|
|
2592
2593
|
}
|
|
@@ -2607,13 +2608,15 @@ const cn = te(
|
|
|
2607
2608
|
flexShrink: 0,
|
|
2608
2609
|
position: "relative",
|
|
2609
2610
|
zIndex: 10,
|
|
2610
|
-
flexDirection:
|
|
2611
|
+
flexDirection: i ? "row" : "column-reverse",
|
|
2611
2612
|
gap: "16px"
|
|
2612
2613
|
},
|
|
2613
2614
|
children: [
|
|
2614
|
-
|
|
2615
|
-
/* @__PURE__ */
|
|
2616
|
-
|
|
2615
|
+
l && /* @__PURE__ */ e(Zr, { ...n }),
|
|
2616
|
+
/* @__PURE__ */ d(u, { style: { display: "flex", gap: "8px", flexDirection: "row", alignItems: "center" }, children: [
|
|
2617
|
+
r,
|
|
2618
|
+
o()
|
|
2619
|
+
] })
|
|
2617
2620
|
]
|
|
2618
2621
|
}
|
|
2619
2622
|
);
|