@wwtdev/bsds-components-vue3 2.35.0 → 2.36.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.
@@ -7797,7 +7797,7 @@ const mr = /* @__PURE__ */ Lt(br, [["render", vr]]), Gt = {
7797
7797
  return B.target === a.value || k();
7798
7798
  if (y(B.target.closest("[data-bs-table-col-resize-id]")), !r.value.el) return;
7799
7799
  const E = B.clientX <= r.value.rect.left + Yt, M = B.clientX >= r.value.rect.right - Yt;
7800
- if (!(E && B.target.dataset.ouiTableColResize === "right") && (E || M)) {
7800
+ if (!(E && B.target.dataset.bsTableColResize === "right") && (E || M)) {
7801
7801
  if (i = E ? r.value.rect.left : r.value.rect.right, E && y(p()), !r.value.el) return;
7802
7802
  T();
7803
7803
  }
@@ -7806,14 +7806,14 @@ const mr = /* @__PURE__ */ Lt(br, [["render", vr]]), Gt = {
7806
7806
  const B = r.value.el.previousElementSibling;
7807
7807
  if (!B) return;
7808
7808
  const E = B.classList.contains("bs-table-cols-frozen-left") ? r.value.el.previousElementSibling.lastElementChild : r.value.el.previousElementSibling;
7809
- return E.dataset.ouiTableColResizeId ? E : null;
7809
+ return E.dataset.bsTableColResizeId ? E : null;
7810
7810
  }
7811
7811
  function y(B) {
7812
7812
  r.value = B ? { el: B, rect: B.getBoundingClientRect(), minWidth: $(B) } : { el: null, rect: null };
7813
7813
  }
7814
7814
  function $(B) {
7815
7815
  var M;
7816
- const E = (M = B.dataset.ouiTableColResizeMin) == null ? void 0 : M.replace("px", "");
7816
+ const E = (M = B.dataset.bsTableColResizeMin) == null ? void 0 : M.replace("px", "");
7817
7817
  if (E)
7818
7818
  return parseInt(E, 10);
7819
7819
  }
@@ -7847,7 +7847,7 @@ const mr = /* @__PURE__ */ Lt(br, [["render", vr]]), Gt = {
7847
7847
  async function C(B) {
7848
7848
  t("resize", {
7849
7849
  el: r.value.el,
7850
- id: r.value.el.dataset.ouiTableColResizeId,
7850
+ id: r.value.el.dataset.bsTableColResizeId,
7851
7851
  width: B
7852
7852
  }), await qe(() => y(r.value.el));
7853
7853
  }
@@ -8072,9 +8072,9 @@ const mr = /* @__PURE__ */ Lt(br, [["render", vr]]), Gt = {
8072
8072
  if (P) return P;
8073
8073
  const j = I.props["resize-key"] || I.props.resizeKey;
8074
8074
  if (j)
8075
- throw new Error(`[OUI Table] TableCol does not have a "resize-key" prop. Instead, use: resize-id="${j}".`);
8075
+ throw new Error(`[BsTable] BsTableCol does not have a "resize-key" prop. Instead, use: resize-id="${j}".`);
8076
8076
  if (U(I, "resize")) {
8077
- if (!I.props.id) throw new Error(`[OUI Table] TableCol "resize" prop is missing identifier. Must use either approach...single prop: 'resize-id="myUniqueResizeId"', or both props: 'resize id="myTableColId"'`);
8077
+ if (!I.props.id) throw new Error(`[BsTable] BsTableCol "resize" prop is missing identifier. Must use either approach...single prop: 'resize-id="myUniqueResizeId"', or both props: 'resize id="myTableColId"'`);
8078
8078
  return I.props.id;
8079
8079
  }
8080
8080
  }
@@ -8096,7 +8096,7 @@ const mr = /* @__PURE__ */ Lt(br, [["render", vr]]), Gt = {
8096
8096
  const P = I.props["sort-key"] || I.props.sortKey;
8097
8097
  if (P) return P;
8098
8098
  if (U(I, "sort")) {
8099
- if (!I.props.id) throw new Error(`[OUI Table] TableCol "sort" prop is missing key identifier. Must use either approach...single prop: 'sort-key="mySortKey"', or both props: 'sort id="myTableColId"'`);
8099
+ if (!I.props.id) throw new Error(`[BsTable] BsTableCol "sort" prop is missing key identifier. Must use either approach...single prop: 'sort-key="mySortKey"', or both props: 'sort id="myTableColId"'`);
8100
8100
  return I.props.id;
8101
8101
  }
8102
8102
  }
@@ -8159,7 +8159,7 @@ const mr = /* @__PURE__ */ Lt(br, [["render", vr]]), Gt = {
8159
8159
  function oe(I) {
8160
8160
  var j;
8161
8161
  const P = ((j = I.props) == null ? void 0 : j.place) || I.type.props.place.default;
8162
- return I.type.props.place.validator(P) || console.warn(`[OUI Table warn] Invalid prop: FrozenCols prop "place" must be set to "left" or "right". Yours: "${P}".`), {
8162
+ return I.type.props.place.validator(P) || console.warn(`[BsTable warn] Invalid prop: BsFrozenCols prop "place" must be set to "left" or "right". Yours: "${P}".`), {
8163
8163
  place: P,
8164
8164
  frozenCols: G(I.children.default(), [st])
8165
8165
  };