ados-rcm 1.1.297 → 1.1.298
Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js
CHANGED
@@ -5474,22 +5474,32 @@ const __ = "_ABase_1qgsx_1", y_ = "_UseDimming_1qgsx_6", m_ = "_Dimmer_1qgsx_6",
|
|
5474
5474
|
}
|
5475
5475
|
);
|
5476
5476
|
}, z7 = ["Primary", "Secondary", "Raw"], Br = (o) => {
|
5477
|
-
const {
|
5478
|
-
|
5479
|
-
|
5477
|
+
const {
|
5478
|
+
icon: r,
|
5479
|
+
iconSize: n,
|
5480
|
+
type: a = "Primary",
|
5481
|
+
onClick: s,
|
5482
|
+
isDisabled: c,
|
5483
|
+
isLoading: f,
|
5484
|
+
tooltip: h,
|
5485
|
+
className: p,
|
5486
|
+
...v
|
5487
|
+
} = o, x = E(() => c || f, [c, f]), y = M(
|
5488
|
+
(m) => {
|
5489
|
+
x || s == null || s(m);
|
5480
5490
|
},
|
5481
|
-
[
|
5482
|
-
),
|
5491
|
+
[x, s]
|
5492
|
+
), C = E(() => B1.includes(r) ? /* @__PURE__ */ l.jsx(Vt, { icon: r, size: n }) : r, [r, n]);
|
5483
5493
|
return /* @__PURE__ */ l.jsx(
|
5484
5494
|
Dt,
|
5485
5495
|
{
|
5486
|
-
className: U.clsx(fi.AIconButton, !
|
5487
|
-
onClick:
|
5488
|
-
isDisabled:
|
5489
|
-
isLoading:
|
5490
|
-
tooltip:
|
5491
|
-
...
|
5492
|
-
children:
|
5496
|
+
className: U.clsx(fi.AIconButton, !c && !f && "IsClickable", a !== "Raw" && fi[a], p),
|
5497
|
+
onClick: y,
|
5498
|
+
isDisabled: c,
|
5499
|
+
isLoading: f,
|
5500
|
+
tooltip: h,
|
5501
|
+
...v,
|
5502
|
+
children: C
|
5493
5503
|
}
|
5494
5504
|
);
|
5495
5505
|
}, T_ = {
|