import { defineComponent as a, openBlock as n, createElementBlock as t, toDisplayString as r, unref as l } from "vue";
import { formatSecond as p } from "./helper.mjs";
const c = /* @__PURE__ */ a({
  name: "ApFieldSecond",
  __name: "read",
  props: {
    mode: {},
    class: {},
    style: {},
    emptyText: { default: "--" },
    customReadMode: {},
    size: {},
    bordered: { type: Boolean },
    placeholder: {},
    name: {},
    id: {},
    type: {},
    addonBefore: {},
    addonAfter: {},
    prefix: {},
    suffix: {},
    "onUpdate:value": {},
    valueModifiers: {},
    status: {},
    variant: {},
    changeOnWheel: { type: Boolean },
    changeOnBlur: { type: Boolean },
    stringMode: { type: Boolean },
    defaultValue: {},
    value: {},
    prefixCls: {},
    min: {},
    max: {},
    step: {},
    tabindex: {},
    controls: { type: Boolean },
    readonly: { type: Boolean },
    disabled: { type: Boolean },
    autofocus: { type: Boolean },
    keyboard: { type: Boolean },
    parser: {},
    formatter: {},
    precision: {},
    decimalSeparator: {},
    onInput: {},
    onChange: {},
    onPressEnter: {},
    onStep: {},
    onBlur: {},
    onFocus: {}
  },
  setup(e) {
    const o = e;
    return (d, s) => (n(), t("span", null, r(e.value ? l(p)(Number(o.value)) : e.emptyText), 1));
  }
});
export {
  c as default
};
