1import{_ as I}from"./Title-BIGlKVAa.js";import{_ as L}from"./Section-DSCDC0lu.js";import{h as Y,u as $,a$ as q,b7 as z,b8 as F,c as M,bb as O,A as R,r as U,w as g,ag as j,G as p,n as d,K as i,s as e,L as u,R as t,H as E,O as c,ai as G,Y as H,I as J,J as K,k as P,$ as Q,af as W}from"./common-D5s6AtUB.js";import{u as X}from"./index-CmzKEgky.js";import"./Breadcrumb.vue--pvOBUii.js";const Z={class:"watchlist-view"},ee={style:{"margin-top":"20px"}},ae={class:"camel-case"},te={class:"camel-left"},se={class:"camel-right"},ne={key:0,class:"tip"},oe={style:{"font-weight":"700"}},le={style:{"margin-top":"10px"}},ce=Y({__name:"camel_case.html",async setup(ie){let m,f;const{t:a}=$();q({title:a("Domain Text Case")});const{saveDomainCamel:C,getDomainCamel:w}=X(),r=z(),{actionMarker:x}=F(r),s=M({camel_enabled:!1,selectName:-1}),{data:_,refresh:h,status:v}=([m,f]=O(()=>w()),m=await m,f(),m),N=R(()=>{var n;return((n=_.value)==null?void 0:n.camel_type)||[]}),b=U();g(v,()=>{v.value==="success"&&(s.camel_enabled=_.value.camel_enabled,b.value=_.value.camel_enabled)},{immediate:!0});const S=async()=>{const n=await C({camel_enabled:s.camel_enabled,selectName:s.selectName});r.showSuccessAlert(n.msg||a("success")),h()},y=()=>
1{r.requestNavbarConfirmation(S)};return g(()=>x.value,n=>{n==="discard"&&(h(),r.refreshNavbar())}),(n,l)=>{const k=I,D=G,V=j("i18n-t"),A=Q,T=H,B=L;return d(),p("div",Z,[i(k,{title:e(a)("Domain Text Case"),"show-line":"",breadcrumbs:[{name:e(a)("Domain Defaults"),value:"/account/domain/setting/defaults.html"},{name:e(a)("Domain Text Case"),value:void 0}]},null,8,["title","breadcrumbs"]),i(B,{title:e(a)("DomainTextCase Settings")},{description:u(()=>[t("p",null,c(e(a)("Optimize domain text case preferences within your domain management list and domain details page.")),1),t("p",ee,c(e(a)("By choosing the CamelCase option, our system will seamlessly adjust the format for all your current domains in the background. Please note that this process may require some time to finalize. You retain the flexibility to modify the camel case format for any domain at your convenience via the domain settings.")),1)]),default:u(()=>[t("div",ae,[t("div",te,c(e(a)("Show my domain names using camelcase.")),1),t("div",se,[t("span",null,c(e(s).camel_enabled?e(a)("Yes"):e(a)("No")),1),i(D,{modelValue:e(s).camel_enabled,"onUpdate:modelValue":l[0]||(l[0]=o=>e(s).camel_enabled=o),onChange:y},null,8,["modelValue"])])]),!e(b)&&e(s).camel_enabled?(d(),p("div",ne,[t("p",null,[l[2]||(l[2]=t("i",{class:"fa-solid fa-triangle-exclamation text-icon-warning"},null,-1)),i(V,{scope:"global",keypath:"If the domain is {list} , its camelcase will also be updated."},{list:u(()=>[t("span",oe,c(e(a)("listed for sale")),1)]),_:1})]),t("p",le,c(e(a)("Let the system automatically set the text case of my current domain name to:")),1),i(T,{modelValue:e(s).selectName,"onUpdate:modelValue":l[1]||(l[1]=o=>e(s).selectName=o),onChange:y,class:"w-full"},{default:u(()=>[(d(!0),p(J,null,K(e(N),o=>(d(),P(A,{key:o.value,label:o.name,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):E("",!0)]),_:1},8,["title"])])}}}),pe=W(ce,[["__scopeId","data-v-47bbec9f"]]);export{pe as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.