@simoncomputing/mui-bueno-v2 0.18.11 → 0.18.12

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
@@ -57497,7 +57497,7 @@ const Ime = (t) => {
57497
57497
  canCreate: T = !1,
57498
57498
  canEdit: _ = !1,
57499
57499
  canSelect: w = !1,
57500
- canOpenPublicUrls: k = !1,
57500
+ canLaunchUrl: k,
57501
57501
  addlActions: M
57502
57502
  } = t, { palette: L } = Fn(), [D, N] = bt([]), [O, A] = bt(!1), [B, $] = bt(!0), [F, z] = bt(null), [P, j] = bt(null), [W, K] = bt(null), [U, J] = bt({
57503
57503
  pageNo: 0,
@@ -57580,7 +57580,7 @@ const Ime = (t) => {
57580
57580
  "data-testid": `citation-table_launch-link-btn-${Q.id}`,
57581
57581
  sx: {
57582
57582
  // Hide via visibility so that the button still takes up space (keeping them aligned vertically)
57583
- visibility: Q.classification === "Public Source" && k ? "visible" : "hidden"
57583
+ visibility: k != null && k(Q) ? "visible" : "hidden"
57584
57584
  },
57585
57585
  children: /* @__PURE__ */ S(NR, {})
57586
57586
  }
@@ -59840,7 +59840,7 @@ function h$({
59840
59840
  },
59841
59841
  renderAsSelectablePopup: h = !1,
59842
59842
  addlActions: m,
59843
- canOpenPublicUrls: g = !1
59843
+ canLaunchUrl: g
59844
59844
  }) {
59845
59845
  const [y, b] = bt(
59846
59846
  "Insert Citation/Attachment(s)"
@@ -59914,7 +59914,7 @@ function h$({
59914
59914
  addlActions: m,
59915
59915
  canCreate: !!e,
59916
59916
  canEdit: !!n,
59917
- canOpenPublicUrls: g
59917
+ canLaunchUrl: g
59918
59918
  }
59919
59919
  ), $ = /* @__PURE__ */ S(
59920
59920
  Gpe,
@@ -59976,7 +59976,7 @@ function m$({
59976
59976
  onDeleteCitation: r,
59977
59977
  getCitationById: o,
59978
59978
  onDownloadAttachment: i,
59979
- canOpenPublicUrls: s,
59979
+ canLaunchUrl: s,
59980
59980
  ...a
59981
59981
  }) {
59982
59982
  const { classes: l } = Uhe(), u = Ct();
@@ -60017,7 +60017,7 @@ function m$({
60017
60017
  onCancel: x,
60018
60018
  initialSelectedIds: m,
60019
60019
  onContentChange: C,
60020
- canOpenPublicUrls: s
60020
+ canLaunchUrl: s
60021
60021
  }
60022
60022
  ) })
60023
60023
  }
@@ -60216,7 +60216,7 @@ const g$ = xu(void 0), y$ = () => {
60216
60216
  placeholder: b = "Start typing here...",
60217
60217
  notApplicableName: x,
60218
60218
  collapseErrorWhenEmpty: C,
60219
- canOpenPublicUrls: T = !1
60219
+ canLaunchUrl: T
60220
60220
  } = t, _ = [
60221
60221
  Khe,
60222
60222
  QL.configure({
@@ -60291,7 +60291,7 @@ const g$ = xu(void 0), y$ = () => {
60291
60291
  getCitationById: m,
60292
60292
  onDownloadAttachment: g,
60293
60293
  onError: y,
60294
- canOpenPublicUrls: T
60294
+ canLaunchUrl: T
60295
60295
  }
60296
60296
  )
60297
60297
  }