@starasia/admin 3.13.0 → 3.15.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
- advanceFilter: r,
2567
- showFilter: n = !0
2566
+ rightContent: r,
2567
+ advanceFilter: n,
2568
+ showFilter: l = !0
2568
2569
  }) => {
2569
- const l = ee("md"), i = () => t ? it(t) ? t : /* @__PURE__ */ e(
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: l ? "row" : "column",
2575
+ flexDirection: i ? "row" : "column",
2575
2576
  gap: "8px",
2576
- width: l ? "auto" : "100%",
2577
+ width: i ? "auto" : "100%",
2577
2578
  textWrap: "nowrap"
2578
2579
  },
2579
2580
  children: t.map(
2580
- ({ title: o, icon: s, buttonProps: a, onClick: h }, f) => !o && !s ? null : /* @__PURE__ */ e(
2581
+ ({ title: s, icon: a, buttonProps: h, onClick: f }, g) => !s && !a ? null : /* @__PURE__ */ e(
2581
2582
  B,
2582
2583
  {
2583
- fullWidth: !l,
2584
- iconLeft: s ? /* @__PURE__ */ e(k, { name: s }) : void 0,
2585
- onClick: h,
2586
- ...a,
2587
- children: o
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-${f}`
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: l ? "row" : "column-reverse",
2611
+ flexDirection: i ? "row" : "column-reverse",
2611
2612
  gap: "16px"
2612
2613
  },
2613
2614
  children: [
2614
- n && /* @__PURE__ */ e(Zr, { ...r }),
2615
- /* @__PURE__ */ e(u, { style: { display: "flex", gap: "8px", flexDirection: "row" } }),
2616
- i()
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
  );