@cobre-npm/ds-v3 0.2.9 → 0.2.10

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.
@@ -3017,7 +3017,7 @@ const op = { class: "co-body--lg co-text-primary-80 list-unstyled" }, Va = /* @_
3017
3017
  ])
3018
3018
  ]));
3019
3019
  }
3020
- }), Ml = (t) => (Ve("data-v-afde6c6e"), t = t(), je(), t), tf = { class: "co-pager d-flex align-items-center py-2 co-bg-white" }, sf = { class: "co-pager__pages d-flex align-items-center gap-2" }, nf = {
3020
+ }), Ml = (t) => (Ve("data-v-1efaca7b"), t = t(), je(), t), tf = { class: "co-pager d-flex align-items-center py-2 co-bg-white" }, sf = { class: "co-pager__pages d-flex align-items-center gap-2" }, nf = {
3021
3021
  key: 0,
3022
3022
  class: "co-label co-label--sm mb-0 d-flex co-text-primary-80 co-pe-6"
3023
3023
  }, of = { class: "d-flex align-items-center gap-2" }, rf = ["disabled"], af = /* @__PURE__ */ Ml(() => /* @__PURE__ */ b("span", { class: "icon-chevron-left co-icon co-icon--sm" }, null, -1)), lf = [
@@ -3031,13 +3031,13 @@ const op = { class: "co-body--lg co-text-primary-80 list-unstyled" }, Va = /* @_
3031
3031
  currentPage: { default: 0 },
3032
3032
  pageLabel: { default: "of" },
3033
3033
  totalItems: { default: 0 },
3034
- pageItems: { default: 0 },
3035
- hasError: { type: Boolean }
3034
+ hasError: { type: Boolean },
3035
+ pageSize: {}
3036
3036
  },
3037
3037
  emits: ["nextPage", "previousPage"],
3038
3038
  setup(t, { emit: e }) {
3039
- const s = t, o = e, r = J(() => s.currentPage ? (s.currentPage - 1) * s.pageItems + 1 : 0), l = J(() => {
3040
- const p = s.currentPage * s.pageItems;
3039
+ const s = t, o = e, r = J(() => s.currentPage ? (s.currentPage - 1) * s.pageSize + 1 : 0), l = J(() => {
3040
+ const p = s.currentPage * s.pageSize;
3041
3041
  return Math.min(p, s.totalItems || 0);
3042
3042
  }), d = J(() => s.hasError ? "-" : s.currentPage), u = J(() => s.hasError ? "-" : s.totalPages), h = () => {
3043
3043
  o("previousPage");
@@ -3063,7 +3063,7 @@ const op = { class: "co-body--lg co-text-primary-80 list-unstyled" }, Va = /* @_
3063
3063
  ])
3064
3064
  ]));
3065
3065
  }
3066
- }), Iw = /* @__PURE__ */ pe(pf, [["__scopeId", "data-v-afde6c6e"]]), ff = ["id", "disabled", "value", "checked"], mf = ["for"], Fa = /* @__PURE__ */ Y({
3066
+ }), Iw = /* @__PURE__ */ pe(pf, [["__scopeId", "data-v-1efaca7b"]]), ff = ["id", "disabled", "value", "checked"], mf = ["for"], Fa = /* @__PURE__ */ Y({
3067
3067
  __name: "CobreCheckbox",
3068
3068
  props: {
3069
3069
  modelValue: {},