PageSourceSearch

https://enterprisedna.co/_nuxt/6s7epIuQ.js

js enterprisedna.co collected 2026-10-02 05:48:11 UTC 4,624 bytes, 1 lines download raw bytes

1import{_ as E}from"./BdoKd3Pf.js";import{a as T}from"./gUtqD_h6.js";import{b1 as G,p as X,c as Y,o as Z,aH as J,ab as K,al as ee}from"./weAkk1de.js";import{_ as te}from"./VAjKTP-S.js";import{_ as ae}from"./Bux8PyEb.js";import{d as se,v as oe,b as ne,c as p,aP as re,aq as ie,C as B,D as r,V as n,P as s,F as o,h as e,E as u,M as _,N as g,Z as le,Y as C,R as ce,X as S}from"./DlFYsrWP.js";import{u as me,a as pe}from"./C392xkM9.js";import"./C36gi9Tb.js";import"./Lcrm9wQe.js";import"./CV-7VmCw.js";import"./lHZi3ZjN.js";const ue={class:"flex justify-between flex-wrap items-center mb-4"},de={class:"grid grid-cols-1 gap-4 lg:gap-2"},_e={class:"min-h-36 grid place-content-center"},ge={class:"mt-4 lg:mt-6"},fe={class:"flex items-center gap-4"},ye={class:"text-lg font-medium text-primary"},he={class:""},ve={class:"flex justify-center mt-6"},Ae=se({__name:"index",async setup(xe){let c,f;const P=oe(),d=ne(),V=p(()=>d.query?.category?`?category=${d.query.category}`:""),k=p(()=>({cursor:"",category:d.query?.category||"",search:""})),y=G(),{values:i,setFieldValue:$,setValues:be}=X({formOptions:{initialValues:k.value},onLoadingData:()=>v(),onBeforeSetQueryItems:(l,t)=>{if(l.cursor===t.cursor)return{cursor:""}}}),{data:h,status:D,error:M,execute:v}=([c,f]=re(async()=>ie("prompter-central-list-",async()=>(await P.prompter.index({per_page:10,direction:"desc",...i}))._data,{default:()=>[],server:!0})),c=await c,f(),c),z=async l=>{await y.onDeleteItem(l,v)},m=p(()=>h.value?.data||[]),A=p(()=>h.value.meta),F=[{title:"Content Creation",icon:"edit",features:["Store blog post outlines and content templates","Maintain consistent brand voice across platforms","Organize social media post templates"]},{title:"Marketing",icon:"star",features:["Create compelling ad copy templates","Store campaign message frameworks","Manage email marketing templates"]},{title:"Data Analysis",icon:"bar_chart",features:["Save data interpretation prompts","Organize report generation templates","Store data visualization prompts"]},{title:"Customer Support",icon:"help",features:["Manage response templates for common issues","Create consistent support messaging","Organize troubleshooting guides"]},{title:"Research & Academic",icon:"search",features:["Store literature review prompts","Manage research methodology templates","Organize citation and reference guides"]},{title:"Software Development",icon:"code",features:["Save code documentation templates","Store code review prompts","Manage debugging assistance prompts"]}];return me(),(l,t)=>{const O=E,x=T,U=Z,R=te,q=ae,b=le,I=J,L=Y,N=ce,W=ee,H=K,Q=pe;return r(),B(Q,null,{default:n(()=>[s(O,{name:"dmPromptCentral",container:"banner","static-tab":"",dense:""}),s(L,{id:"latest-prompts"},{default:n(()=>[s(x,{title:"Popular Prompts from ",subtitle:"Community",inline:"","description-classes":"!text-base"}),o("div",ue,[s(U,{modelValue:e(i).search,"onUpdate:modelValue":t[0]||(t[0]=a=>e(i).search=a),icon:"search",size:"sm",clear:"","custom-input-classes":"bg-white",placeholder:"Start typing...",class:"lg:max-w-sm",name:"search"},null,8,["modelValue"]),s(R,{modelValue:e(i).category,"onUpdate:modelValue":t[1]||(t[1]=a=>e(i).category=a),name:"category",placeholder:"Select a category",searchable:"","label-prop":"title","value-prop":"id","sync-v-model":"",class:"lg:max-w-sm",options:e(y).categories},null,8,["modelValue","options"])]),s(I,{"static-slot":"",navigation:e(A),"show-not-found":e(m)&&!e(m).length,status:e(D),items:e(m),errors:e(M),onSetPage:t[2]||(t[2]=a=>e($)("cursor",a))},{empty:n(()=>[o("div",_e,[s(b,{icon:"add",color:"primary",to:"/prompt-central/app/start"+e(V)},{default:n(()=>[...t[3]||(t[3]=[C(" Add Prompt ",-1)])]),_:1},8,["to"])])]),default:n(()=>[o("div",de,[(r(!0),u(_,null,g(e(m),a=>(r(),B(q,{key:a.id,card:a,onOnDelete:z},null,8,["card"]))),128))])]),_:1},8,["navigation","show-not-found","status","items","errors"])]),_:1}),s(H,{"dark-bottom":""},{default:n(()=>[s(x,{dense:"",subtitle:"Use Cases",description:"Discover how Prompt Central can help you manage prompts across different scenarios"}),o("div",ge,[s(W,null,{default:n(()=>[(r(),u(_,null,g(F,(a,j)=>o("div",{key:j,class:"chat-list shadow-full rounded-4xl p-4 lg:p-6 bg-white"},[o("div",fe,[s(N,{name:a.icon,class:"text-primary !text-3xl"},null,8,["name"]),o("p",ye,S(a.title),1)]),o("ul",he,[(r(!0),u(_,null,g(a.features,w=>(r(),u("li",{key:w?.length,class:"!text-sm"},S(w),1))),128))])])),64))]),_:1}),o("div",ve,[s(b,{to:"/prompt-central/app/templates",size:"lg",color:"yellow"},{default:n(()=>[...t[4]||(t[4]=[C(" View all Cases ",-1)])]),_:1})])])]),_:1})]),_:1})}}});
1export{Ae 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.