"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("../../config-provider/index.js");require("../../utils/index.js");const u=require("../../config-provider/hooks/use-locale.js"),c=require("../../utils/is.js"),n=["Select","Date","Cascader","TreeSelect"],s=["Text","TextArea","Number","TextPassword","Second"],a=(t,r)=>{const{t:e}=u.useLocale();return o.computed(()=>{if(c.isDef(r.placeholder))return r.placeholder;if(t==="DateRange")return[e("ap.field.startDateText"),e("ap.field.endDateText")];if(n.includes(t))return e("ap.common.chooseText");if(s.includes(t))return e("ap.common.inputText")})};exports.useDefaultPlaceholder=a;
