PageSourceSearch

https://wizmessage.com/assets/catalogue-CLQDsYHy.js

js wizmessage.com collected 2026-10-01 23:45:33 UTC 7,594 bytes, 1 lines download raw bytes

1import{A as T}from"./AuthLayout-CZkCdgC_.js";import{A as V}from"./AuthLayoutPageHeading-C2fIwJvd.js";import{S as q,_ as R}from"./app-DzL3q0De.js";import{C as E}from"./CustomTabs-CX8vWabF.js";import{S as L,a as N}from"./settings_types-CWffrrcx.js";import{u as F}from"./use_settings_form-COHgXER8.js";import j from"./SettingsLlmProvider-CHZ4uDiH.js";import K from"./SettingsPreAiBotResponse-C9ZLE6Pl.js";import M from"./SettingsAiChatbot-B0oa1jA1.js";import Q from"./SettingsBotResponses-BVrdSsZB.js";import H from"./SettingsQdrantDatabase-CDj9YkA3.js";import w from"./SettingsResponseBranding-DgqAxMzr.js";import z from"./SettingsVisionProcessing-JzzC4gd4.js";import D from"./SettingsSpeechProcessing-O0yXeVSh.js";import G from"./SettingsTextAggregation-DoHKKdoF.js";import Y from"./SettingsQueryCaching-Ba3cuo9a.js";import O from"./SettingsKbDocuments-B3qyGVgn.js";import U from"./SettingsReicPatterns-DTfltYkb.js";import Z from"./SettingsShoppingAgent-DqngwuPT.js";import{Z as J,a$ as W,ab as X,o as h,bk as A,b6 as $,ay as tt,bm as et,bQ as ot,bY as nt,z as it,v as at}from"./vendor-icons-B0JkLk2A.js";import{d as ct,aj as st,p as x,r as y,j as rt,w as lt,o as dt,k as d,l as s,z as o,B as I,G as u,H as ut,J as B,L as mt,q as gt,O as C,A as n,T as pt}from"./vendor-vue-Ti8DpJKh.js";import"./vendor-forms-BEE4dLZZ.js";import"./vendor-vueuse-BrTGaEAX.js";import"./vendor-utils-D4DykBFe.js";import"./use_coexistence_handoff-BraOSwlW.js";import"./WhatsAppIcon-B7zT-IJH.js";import"./CollapsibleTrigger-DHZDsday.js";import"./SidebarProvider-DcnFd2tI.js";import"./Input-DuN9DtFe.js";import"./vendor-styling-BZki_wcw.js";import"./DialogContent-aK0LbBtt.js";import"./Dialog-Dml3WjTG.js";import"./SBadge-ZZLc9Lya.js";import"./vendor-radix-Bgq594Vd.js";import"./toast_utils-Dpdiwr57.js";import"./quota_tone-BPjqlwhJ.js";import"./SCard-B_CPL6aw.js";import"./SCardHeader-D8x8qrI6.js";import"./SCardTitle-Bq4B2ey-.js";import"./SCardDescription-CHVrUTpm.js";import"./SCardContent-Clglwdit.js";import"./StatCard-B2ktwebx.js";import"./use_razorpay-BGRtyGsp.js";
1import"./use_toast-Df-TimR3.js";import"./FormInput-DRnHyjMg.js";import"./Label-D1elY55i.js";import"./TooltipProvider-Bx4O2WpE.js";import"./Switch-Bo3YRDuB.js";import"./SelectValue-BGqFJEfF.js";import"./Select-Cd1TI7kI.js";import"./nullish-CHIgUVhi.js";import"./useNonce-B6Vg-uNF.js";import"./clamp-BstbYvQo.js";import"./Textarea-90_ZeUmJ.js";import"./Checkbox-BTYnB5BF.js";import"./RovingFocusItem-CGcj3CNF.js";import"./Slider-B_om3OeT.js";import"./KbDocumentSelection-CNVgii30.js";const bt=ct({layout:T,__name:"catalogue",props:{accounts:{type:Array,required:!0,default:()=>[]},hasAccounts:{type:Boolean,required:!0,default:!1},defaultAccountId:{type:[Number,null],required:!1,default:null}},setup(c,{expose:r}){r();const{t:e}=st(),t=c,{form:p,helpers:m,refs:i,submitForm:b,isValidatingBeforeSave:k,getAccountFormData:f,initModels:P}=F(t.accounts);x(L,m),x(N,i);const S=y(t.accounts.find(a=>a.account.id===t.defaultAccountId)?.account.id??t.accounts[0]?.account.id??0),g=y("llm"),_=rt(()=>{const a=[{value:"llm",label:e("coext.settings.inner_tabs.usage"),icon:J},{value:"pre-ai",label:e("coext.settings.inner_tabs.before_ai"),icon:W},{value:"chatbot",label:e("coext.settings.inner_tabs.instructions"),icon:X},{value:"bot-responses",label:e("coext.settings.inner_tabs.bot_responses"),icon:h},{value:"qdrant",label:e("coext.settings.inner_tabs.qdrant"),icon:A},{value:"branding",label:e("coext.settings.inner_tabs.branding"),icon:$},{value:"vision",label:e("coext.settings.inner_tabs.vision"),icon:tt},{value:"speech",label:e("coext.settings.inner_tabs.speech"),icon:et},{value:"text",label:e("coext.settings.inner_tabs.batching"),icon:h},{value:"caching",label:e("coext.settings.inner_tabs.caching"),icon:A},{value:"kb",label:e("coext.settings.inner_tabs.kb"),icon:ot}],l=f(S.value)?.settings.integrations?.qdrant;return l?.url&&l?.apiKey&&a.push({value:"reic",label:e("coext.settings.inner_tabs.reic"),icon:nt}),a.push({value:"shopping",label:e("coext.settings.inner_tabs.shopping"),icon:it}),a});lt(_,a=>{a.length>0&&!a.some(l=>l.value===g.value)&&(g.value=a[0].value)}),dt(()=>{});const v={t:e,props:t,form:p,helpers:m,refs:i,submitForm:b,isValidatingBeforeSave:k,getAccountFormData:f,initModels:P,selectedAccountId:S,activeTab:g,tabs:_,get Save(){return at},AuthLayoutPageHeading:V,SButton:q,CustomTabs:E,SettingsLlmProvider:j,SettingsPreAiBotResponse:K,SettingsAiChatbot:M,SettingsBotResponses:Q,SettingsQdrantDatabase:H,SettingsResponseBranding:w,SettingsVisionProcessing:z,SettingsSpeechProcessing:D,SettingsTextAggregation:G,SettingsQueryCaching:Y,SettingsKbDocuments:O,SettingsReicPatterns:U,SettingsShoppingAgent:Z};return Object.defineProperty(v,"__isScriptSetup",{enumerable:!1,value:!0}),v}}),ft={class:"space-y-6 mt-6"},St={key:0,class:"flex flex-wrap gap-2"},_t=["onClick"],vt={class:"flex justify-end"};function ht(c,r,e,t,p,m){return s(),d(B,null,[o(t.AuthLayoutPageHeading,{title:c.$t("coext.settings.catalogue_title"),description:c.$t("coext.settings.catalogue_description")},null,8,["title","description"]),I("div",ft,[u(" Account Selector (multi-account pills) "),e.accounts.length>1?(s(),d("div",St,[(s(!0),d(B,null,mt(e.accounts,i=>(s(),d("button",{key:i.account.id,class:gt(["px-3 py-1.5 rounded-full text-xs font-medium transition-colors border",t.selectedAccountId===i.account.id?"bg-primary text-primary-foreground border-primary":"bg-muted text-muted-foreground border-border hover:bg-muted"]),onClick:b=>t.selectedAccountId=i.account.id},C(i.account.displayName||i.account.phoneNumber),11,_t))),128))])):u("v-if",!0),u(" Catalogue Settings Tabs "),(s(),ut(t.CustomTabs,{modelValue:t.activeTab,"onUpdate:modelValue":r[0]||(r[0]=i=>t.activeTab=i),tabs:t.tabs,orientation:"vertical",key:t.selectedAccountId},{llm:n(()=>[o(t.SettingsLlmProvider,{"account-id":t.selectedAccountId,accounts:e.accounts},null,8,["account-id","accounts"])]),"pre-ai":n(()=>[o(t.SettingsPreAiBotResponse,{"account-id":t.selectedAccountId},null,8,["account-id"])]),chatbot:n(()=>[o(t.SettingsAiChatbot,{"account-id":t.selectedAccountId},null,8,["account-id"])]),"bot-responses":n(()=>
1[o(t.SettingsBotResponses,{"account-id":t.selectedAccountId},null,8,["account-id"])]),qdrant:n(()=>[o(t.SettingsQdrantDatabase,{"account-id":t.selectedAccountId},null,8,["account-id"])]),branding:n(()=>[o(t.SettingsResponseBranding,{"account-id":t.selectedAccountId},null,8,["account-id"])]),vision:n(()=>[o(t.SettingsVisionProcessing,{"account-id":t.selectedAccountId},null,8,["account-id"])]),speech:n(()=>[o(t.SettingsSpeechProcessing,{"account-id":t.selectedAccountId},null,8,["account-id"])]),text:n(()=>[o(t.SettingsTextAggregation,{"account-id":t.selectedAccountId},null,8,["account-id"])]),caching:n(()=>[o(t.SettingsQueryCaching,{"account-id":t.selectedAccountId},null,8,["account-id"])]),kb:n(()=>[o(t.SettingsKbDocuments,{"account-id":t.selectedAccountId,accounts:e.accounts},null,8,["account-id","accounts"])]),reic:n(()=>[o(t.SettingsReicPatterns,{"account-id":t.selectedAccountId},null,8,["account-id"])]),shopping:n(()=>[o(t.SettingsShoppingAgent,{"account-id":t.selectedAccountId},null,8,["account-id"])]),_:1},8,["modelValue","tabs"])),u(" Save Button "),I("div",vt,[o(t.SButton,{loading:t.form.processing||t.isValidatingBeforeSave,onClick:t.submitForm},{default:n(()=>[o(t.Save,{class:"h-4 w-4 me-2"}),pt(" "+C(c.$t("common.actions.save_settings")),1)]),_:1},8,["loading","onClick"])])])],64)}const Be=R(bt,[["render",ht],["__file","E:/Users/Suhas/WebstormProjects/adonisv2/inertia/pages/coext/settings/catalogue.vue"]]);export{Be 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.