"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const index = require("../../../../hooks/use-locale/index.js");
const index$1 = require("../../../../hooks/use-namespace/index.js");
const usePagination = require("../usePagination.js");
const total = require("./total.js");
const vue = require("vue");
const _hoisted_1 = ["disabled"];
var total_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ vue.defineComponent({
  name: "ElPaginationTotal",
  __name: "total",
  props: total.paginationTotalProps,
  setup(__props) {
    const { t } = index.useLocale();
    const ns = index$1.useNamespace("pagination");
    const { disabled } = usePagination.usePagination();
    return (_ctx, _cache) => {
      return vue.openBlock(), vue.createElementBlock("span", {
        class: vue.normalizeClass(vue.unref(ns).e("total")),
        disabled: vue.unref(disabled)
      }, vue.toDisplayString(vue.unref(t)("el.pagination.total", { total: _ctx.total })), 11, _hoisted_1);
    };
  }
});
exports.default = total_vue_vue_type_script_setup_true_lang_default;
