@ansible/ansible-ui-framework 2.4.2497 → 2.4.2498

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/index.js +11 -11
  2. package/index.umd.cjs +23 -23
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -38285,20 +38285,20 @@ function Nxe(e) {
38285
38285
  isDanger: d
38286
38286
  } = e, [h, p] = Ba(), [m] = Vt(), v = te(() => {
38287
38287
  p(void 0), c == null || c();
38288
- }, [c, p]), y = he(() => s && n.some(s) ? n.sort((E, P) => Ff(s(E), s(P))) : n, [n, s]), b = Qp(y), [x, w] = ne(!u), _ = he(() => s && n.some(s) ? [
38288
+ }, [c, p]), y = he(() => s && n.some(s) ? n.sort((P, $) => Ff(s(P), s($))) : n, [n, s]), b = Qp(y), [x, w] = ne(!u), _ = he(() => s && n.some(s) ? [
38289
38289
  {
38290
38290
  header: "",
38291
- cell: (E) => s(E) ? /* @__PURE__ */ g.jsx(
38291
+ cell: (P) => s(P) ? /* @__PURE__ */ g.jsx(
38292
38292
  Hi,
38293
38293
  {
38294
- content: s(E),
38295
- trigger: s(E) ? void 0 : "manual",
38294
+ content: s(P),
38295
+ trigger: s(P) ? void 0 : "manual",
38296
38296
  children: /* @__PURE__ */ g.jsx(dr, { status: "warning", children: /* @__PURE__ */ g.jsx(G7, {}) })
38297
38297
  }
38298
38298
  ) : null
38299
38299
  },
38300
38300
  ...o
38301
- ] : o, [o, s, n]), S = he(() => s ? n.filter((E) => !s(E)) : n, [s, n]), C = D1(_);
38301
+ ] : o, [o, s, n]), S = he(() => s ? n.filter((P) => !s(P)) : n, [s, n]), C = D1(_), { t: E } = Le();
38302
38302
  return /* @__PURE__ */ g.jsx(
38303
38303
  Hc,
38304
38304
  {
@@ -38330,15 +38330,15 @@ function Nxe(e) {
38330
38330
  hasNoBodyWrapper: !0,
38331
38331
  children: n.length > 0 && /* @__PURE__ */ g.jsxs(_s, { style: { paddingLeft: 0, paddingRight: 0 }, children: [
38332
38332
  /* @__PURE__ */ g.jsxs(Rxe, { children: [
38333
- a && a.length > 0 && a.map((E, P) => /* @__PURE__ */ g.jsx(
38333
+ a && a.length > 0 && a.map((P, $) => /* @__PURE__ */ g.jsx(
38334
38334
  Mi,
38335
38335
  {
38336
38336
  "data-cy": "alert-toaster",
38337
38337
  isInline: !0,
38338
- title: E,
38338
+ title: P,
38339
38339
  variant: "warning"
38340
38340
  },
38341
- P
38341
+ $
38342
38342
  )),
38343
38343
  /* @__PURE__ */ g.jsx(
38344
38344
  eg,
@@ -38348,8 +38348,8 @@ function Nxe(e) {
38348
38348
  tableColumns: C,
38349
38349
  keyFn: r,
38350
38350
  compact: !0,
38351
- errorStateTitle: "Error",
38352
- emptyStateTitle: "No items",
38351
+ errorStateTitle: E("Error"),
38352
+ emptyStateTitle: E("No items"),
38353
38353
  autoHidePagination: !0,
38354
38354
  disableBodyPadding: !0,
38355
38355
  ...b
@@ -38364,7 +38364,7 @@ function Nxe(e) {
38364
38364
  ouiaId: "confirm",
38365
38365
  label: u,
38366
38366
  isChecked: x,
38367
- onChange: (E, P) => w(P)
38367
+ onChange: (P, $) => w($)
38368
38368
  }
38369
38369
  ) })
38370
38370
  ] })