sit-onyx 1.6.0-dev-20251217124042 → 1.6.0-dev-20251219140026

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.js CHANGED
@@ -5873,15 +5873,7 @@ const Mc = (n, t) => {
5873
5873
  setup(n, { expose: t, emit: e }) {
5874
5874
  const { rootAttrs: o, restAttrs: a } = Te(), s = n, i = e, { t: u } = W(), { vCustomValidity: c, errorMessages: p } = Fe({ props: s, emit: i }), d = m(() => Ie(s.success)), v = m(() => Ie(s.message)), { disabled: g, showError: _ } = Be(s), w = ie(s), C = it(_), f = de(s, Re), y = m(() => s.modelValue ? s.modelValue.length : 0), x = m(() => {
5875
5875
  const H = s.modelValue?.length;
5876
- if (!s.modelValue || !H) return "";
5877
- if (H === 1) return s.modelValue[0];
5878
- switch (s.textMode) {
5879
- case "preview":
5880
- return s.modelValue.join(", ");
5881
- case "summary":
5882
- default:
5883
- return u.value("selections.currentSelection", { n: H });
5884
- }
5876
+ return !s.modelValue || !H ? "" : H === 1 ? s.modelValue[0] : s.textMode === "preview" ? s.modelValue.join(", ") : u.value("selections.currentSelection", { n: H });
5885
5877
  }), S = P(!1), { densityClass: I } = q(s), R = ee("inputRef");
5886
5878
  t({ input: R }), te(
5887
5879
  () => s.showFocus,
@@ -6511,7 +6503,6 @@ const Mc = (n, t) => {
6511
6503
  options: c.value,
6512
6504
  disabled: e.disabled,
6513
6505
  "hide-label": "",
6514
- "with-search": "",
6515
6506
  label: l(a)("itemsPerPage.label"),
6516
6507
  "list-label": l(a)("itemsPerPage.select.listLabel"),
6517
6508
  class: "onyx-items-per-page__select",
@@ -6897,6 +6888,7 @@ const Mc = (n, t) => {
6897
6888
  ],
6898
6889
  bottomLeft: () => !o.value() || !n.itemsPerPage?.length ? [] : !i.value && !p.value ? [] : [
6899
6890
  fe(eu, {
6891
+ class: "onyx-data-grid__items-per-page",
6900
6892
  modelValue: e.value.pageSize,
6901
6893
  options: n.itemsPerPage,
6902
6894
  disabled: s.value,
@@ -7333,7 +7325,6 @@ const Mc = (n, t) => {
7333
7325
  return "desc";
7334
7326
  case "desc":
7335
7327
  return t ? "asc" : "none";
7336
- case "none":
7337
7328
  default:
7338
7329
  return "asc";
7339
7330
  }