PageSourceSearch

https://portal.clickheredigital.com/assets/SettingsHubPage-Col7SvIp.js

js clickheredigital.com collected 2026-09-24 13:08:29 UTC 2,419 bytes, 1 lines download raw bytes

1import{n as f,m,b4 as g,r as v,o as _,c as p,u as h}from"./index-C3PRlZvS.js";import{P as x}from"./PageHeader-PLupPr9R.js";const y={__name:"SettingsHubPage",setup(l,{expose:t}){const e="fa fa-cog",s=m(),{visibleTiles:i}=g(),{showWarningNotification:a}=h(),n=v("");_(()=>{i.value.length||(a("You don't have permission to view any settings pages."),s.replace({name:"dashboard.index"}))});const o=p(()=>{const r=(n.value||"").trim().toLowerCase();return r?i.value.filter(d=>d.title.toLowerCase().includes(r)):i.value});function u(r){return r.icon||e}function c(r){s.push({name:r.name})}return t({search:n,filteredTiles:o,goTo:c}),{__sfc:!0,FALLBACK_ICON:e,router:s,visibleTiles:i,showWarningNotification:a,search:n,filteredTiles:o,iconFor:u,goTo:c,PageHeader:x}}};var C=function(){var t=this,e=t._self._c,s=t._self._setupProxy;return e("section",[e(s.PageHeader,{scopedSlots:t._u([{key:"right",fn:function(){return[e("div",{staticClass:"w-full sm:w-96"},[e("v-text-field",{attrs:{filled:"",clearable:"","prepend-inner-icon":"mdi-magnify",label:"Search settings","single-line":"","hide-details":"",autofocus:""},model:{value:s.search,callback:function(i){s.search=i},expression:"search"}})],1)]},proxy:!0}])},[t._v(" Settings ")]),e("v-divider"),e("div",{staticClass:"p-6"},[s.filteredTiles.length?e("div",{staticClass:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4 items-stretch"},t._l(s.filteredTiles,function(i){return e("v-card",{key:i.name,staticClass:"min-h-[60px] p-4 hover:border-primary hover:shadow-sm transition-shadow",attrs:{link:"",outlined:""},on:{click:function(a){return s.goTo(i)}}},[e("div",{staticClass:"flex items-center gap-3"},[e("div",{staticClass:"w-8 h-8 flex-none rounded-lg bg-primary/10 text-primary grid place-items-center"},[e("v-icon",{attrs:{size:"18",color:"primary"}},[t._v(t._s(s.iconFor(i)))])],1),e("span",{staticClass:"text-sm font-medium text-gray-800 flex-1 min-w-0"},[t._v(" "+t._s(i.title)+" ")]),e("v-icon",{staticClass:"text-gray-400 flex-none",attrs:{size:"20"}},[t._v("mdi-chevron-right")])],1)])}),1):e("div",{staticClass:"flex flex-col items-center justify-center text-center py-24"},[e("v-icon",{staticClass:"text-gray-300 mb-4",attrs:{size:"48"}},[t._v("mdi-magnify-close")]),e("p",{staticClass:"text-lg text-gray-600"},[t._v('No settings match "'+t._s(s.search)+'"')])],1)])],1)},b=[],w=f(y,C,b,!1,null,null);const T=w.exports;export{T 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.