PageSourceSearch

https://portals.noloco.io/assets/RecordTitle-BgJdcBlH.js

js noloco.io collected 2026-10-03 21:23:25 UTC 2,797 bytes, 1 lines download raw bytes

1import{j as d}from"./jsx-runtime-esm-DkAt4wbo.js";import{a8 as A,q as M,r as k,a5 as x,a9 as F,at as T,as as L,S as _}from"./Icon-oGravVff.js";import{a as z}from"./tabs-BBTGYUlo.js";import{u as N,n as R,s as C,A as O,x as V,y as j,z as H}from"./app-x6fDPxye.js";import{a as w}from"./index-ByLmqo6e.js";import{e as G}from"./user-avatar-DDG4jDfk.js";import{B as K}from"./BlockContentHeader-DxATyAIj.js";import{i as Y}from"./pageBlockRedesign-ChHw6mfq.js";import{R as q}from"./RecordEmptyState-BnTpy9bo.js";import"./index-ByInV43t.js";import"./_commonjsHelpers-yjRi3dfI.js";import"./index-BXXzNVct.js";import"./index-Cbqy7Iw-.js";import"./project-DLQ_xSEO.js";import"./with-selector-CogykupQ.js";import"./react-redux-YN15yk5j.js";import"./isEqual-DlV9wj1O.js";import"./useAuthWrapper-BfiReOjv.js";import"./normalizeDates-zLvF6tl8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"5ee2174"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=(function(a){for(var i=1;i<arguments.length;i++){var t=arguments[i];if(t!=null)for(var s in t)t.hasOwnProperty(s)&&(a[s]=t[s])}return a})({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:noloco-ui":!0});var l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="31215d5d-cbae-47bd-9cbd-6a1360e7faca",e._sentryDebugIdIdentifier="sentry-dbid-31215d5d-cbae-47bd-9cbd-6a1360e7faca")}catch{}})();const ce=({dataType:e,elementPath:l,editorMode:a,record:i,project:t,recordScope:s,...o})=>{const B=N(H),[D]=z(),u=Y({pageBlockRedesignEnabled:B,fullScreen:o.fullScreen}),n=o.image?.value,{title:m,subtitle:c,coverPhoto:y,image:f}=R(A,o,t,l,s),{actionButtons:v=[]}=R(k,o,t,l,s,C([M])),E=w.useMemo(()=>!m?.value&&!c?.value,[m,c]),b=w.useMemo(()=>{if(!(!n||n.hidden)){if(n.type!==x)return f;if(n.type===x&&n.fieldName){const r=e.fields.getByName(n.fieldName);if(r&&r.type===F){const g=G(r,i),I=T(g);return I?{value:I,hidden:!1}:void 0}}return f}},[e.fields,f,n,i]);if(E&&!a)return null;if(E&&a)return d.jsx(q,{});const h=b?.value?.src?b:{hidden:!0},p=o.icon,P=u&&p?.name&&!p.hidden?d.jsx(L,{icon:p,size:_}):void 0,S=v.length>0?v.map((r,g)=>d.jsx(O,{actionButton:r,buttonClassName:u?"h-7 gap-1 px-2 text-[13px] shadow-xs":void 0,dataType:e,editorMode:a,index:g,onDeleteRecord:V,project:t,record:i,recordScope:s,size:u?_:void 0},r.id)):void 0;return u?d.jsx(K,{coverPhoto:y,coverPhotoSize:o.coverPhotoSize,icon:P,image:h,imageStyle:o.imageStyle,isDarkModeEnabled:D,subtitle:c,title:m,children:S}):d.jsx(j,{coverPhoto:y,coverPhotoSize:o.coverPhotoSize,editorMode:a,image:h,imageStyle:o.imageStyle,project:t,subtitle:c,title:m,children:S})};export{ce 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.