ados-rcm 1.1.307 → 1.1.308
Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js
CHANGED
@@ -5450,27 +5450,27 @@ const __ = "_ABase_1qgsx_1", y_ = "_UseDimming_1qgsx_6", m_ = "_Dimmer_1qgsx_6",
|
|
5450
5450
|
AIconButton: k_,
|
5451
5451
|
AThemeButton: L_
|
5452
5452
|
}, H7 = ["Primary", "Secondary", "Alter", "Raw"], mr = (o) => {
|
5453
|
-
const { type: r = "Primary", onClick: n,
|
5454
|
-
() =>
|
5455
|
-
[
|
5456
|
-
),
|
5457
|
-
(
|
5458
|
-
|
5453
|
+
const { type: r = "Primary", onClick: n, noInteractive: a, ...s } = o, c = E(
|
5454
|
+
() => s.isDisabled || s.isLoading,
|
5455
|
+
[s.isDisabled, s.isLoading]
|
5456
|
+
), f = M(
|
5457
|
+
(h) => {
|
5458
|
+
c || n == null || n(h);
|
5459
5459
|
},
|
5460
|
-
[
|
5460
|
+
[c, n]
|
5461
5461
|
);
|
5462
5462
|
return /* @__PURE__ */ l.jsx(
|
5463
5463
|
Dt,
|
5464
5464
|
{
|
5465
|
-
...
|
5465
|
+
...s,
|
5466
5466
|
className: U.clsx(
|
5467
|
-
|
5467
|
+
s.className,
|
5468
5468
|
fi.AButton,
|
5469
5469
|
r !== "Raw" && fi[r],
|
5470
5470
|
"IsClickable",
|
5471
|
-
!
|
5471
|
+
!c && !a && "IsInteractive"
|
5472
5472
|
),
|
5473
|
-
onClick:
|
5473
|
+
onClick: f
|
5474
5474
|
}
|
5475
5475
|
);
|
5476
5476
|
}, W7 = ["Primary", "Secondary", "Raw"], Br = (o) => {
|
@@ -7995,7 +7995,7 @@ const cs = (o) => /* @__PURE__ */ l.jsx(mr, { className: U.clsx(pt.ChoiceButton)
|
|
7995
7995
|
isOkLoading: H,
|
7996
7996
|
isCancelDisabled: ee,
|
7997
7997
|
isCancelLoading: le,
|
7998
|
-
|
7998
|
+
buttonNoInteractive: j,
|
7999
7999
|
resources: $
|
8000
8000
|
} = o, B = E(() => ({ ...pn.ADialog, ...$ }), [$]), [ue, re] = Re(0);
|
8001
8001
|
Ie(() => re(1), []);
|
@@ -8094,7 +8094,7 @@ const cs = (o) => /* @__PURE__ */ l.jsx(mr, { className: U.clsx(pt.ChoiceButton)
|
|
8094
8094
|
okButtonStyle: v,
|
8095
8095
|
cancelButtonStyle: m,
|
8096
8096
|
actionStyle: b,
|
8097
|
-
|
8097
|
+
buttonNoInteractive: j
|
8098
8098
|
}
|
8099
8099
|
)
|
8100
8100
|
]
|
@@ -8120,25 +8120,27 @@ const cs = (o) => /* @__PURE__ */ l.jsx(mr, { className: U.clsx(pt.ChoiceButton)
|
|
8120
8120
|
okButtonStyle: v,
|
8121
8121
|
cancelButtonStyle: m,
|
8122
8122
|
actionStyle: b,
|
8123
|
-
|
8123
|
+
buttonNoInteractive: C
|
8124
8124
|
} = o, y = E(() => ({
|
8125
|
-
className: U.clsx("Label1", In.Button
|
8126
|
-
}), [
|
8127
|
-
...y,
|
8125
|
+
className: U.clsx("Label1", In.Button)
|
8126
|
+
}), []), x = E(() => ({
|
8128
8127
|
onClick: n,
|
8129
|
-
style: v,
|
8130
8128
|
isDisabled: c,
|
8131
8129
|
isLoading: f,
|
8132
|
-
children: s.Ok
|
8133
|
-
|
8134
|
-
|
8130
|
+
children: s.Ok,
|
8131
|
+
style: v,
|
8132
|
+
noInteractive: C,
|
8133
|
+
...y
|
8134
|
+
}), [y, n, c, f, s.Ok, v, C]), I = E(() => ({
|
8135
8135
|
type: "Secondary",
|
8136
8136
|
onClick: a,
|
8137
|
-
style: m,
|
8138
8137
|
isDisabled: h,
|
8139
8138
|
isLoading: p,
|
8140
|
-
children: s.Cancel
|
8141
|
-
|
8139
|
+
children: s.Cancel,
|
8140
|
+
style: m,
|
8141
|
+
noInteractive: C,
|
8142
|
+
...y
|
8143
|
+
}), [y, a, h, p, s.Cancel, m, C]);
|
8142
8144
|
if (r === "okCancel" || r === "ok")
|
8143
8145
|
return /* @__PURE__ */ l.jsxs("div", { className: In.Action, style: { ...b }, children: [
|
8144
8146
|
/* @__PURE__ */ l.jsx(mr, { ...x }),
|
@@ -9117,7 +9119,7 @@ const h6 = {
|
|
9117
9119
|
const x = y.map((I) => `"${I.replaceAll('"', '""')}"`);
|
9118
9120
|
a.push(x.join(","));
|
9119
9121
|
});
|
9120
|
-
const h = `${o}
|
9122
|
+
const h = `${o}.csv`, p = "\uFEFF" + a.join(`
|
9121
9123
|
`), v = new Blob([p], { type: "text/csv;charset=UTF-8" }), m = URL.createObjectURL(v), b = document.createElement("a");
|
9122
9124
|
b.href = m, b.download = h, b.click(), URL.revokeObjectURL(m);
|
9123
9125
|
}, m6 = (o) => {
|