PageSourceSearch

https://my.clockodo.com/static/components/assets/UserSelect-Dcrrq5ub.js

js clockodo.com collected 2026-09-24 09:31:46 UTC 1,442 bytes, 2 lines download raw bytes

1import"./appType-H4Lk86HF.js";import{Ri as e,zi as t}from"./vendor-BYBdXKh1.js";import{q as n,w as r}from"./ErrorBoxContainer-DHmIt_-p.js";import{t as i}from"./TitleSelect-DWWTNAZO.js";import{t as a}from"./LoadingSkeleton-Y4-__apu.js";import{t as o}from"./WithQueriesInline-DFaDmdYR.js";import{n as s}from"./PageContext-DZw05YnQ.js";import{n as c,t as l}from"./teamsAndUsers-DB-wE_XL.js";import{t as u}from"./DocumentTitleWithName-Czy-aNsd.js";t();var d={root:`_root_5vwul_1`},f=e(),p=(e,t,n)=>{let i=t.find(t=>t.id===e),a=r(e,{scope:n},{enabled:t.length>0&&i===void 0});return e===null||i?null:a.data?.data??null},m=({className:e,usersId:t,userScope:r,onChangeUsersId:m,singleUserContent:h,...g})=>{let _=n(),{usersQuery:v,teamsQuery:y,teamsAndUsers:b}=c({userScope:r,filterActive:!0}),x={isLoading:t===null,isError:!1},S=l(b,_.formatAsString({id:`User/WithoutTeam`}),_.formatAsString({id:`User/Archived`})),C=p(t,S,r),{page:w}=s(),T=C?[...S,{id:C.id,label:C.name,isDisabled:!0}]:S,E=T.find(e=>e.id===t)?.label,D=(v.data?.data.length??0)<2;return D&&h===null?null:(0,f.jsxs)(`div`,{className:e,children:[w&&(0,f.jsx)(u,{page:w,name:E}),(0,f.jsx)(o,{queries:[x,v,y],loadingSkeleton:(0,f.jsx)(a,{width:`150px`,height:`40px`}),children:(0,f.jsx)(`div`,{className:d.root,children:(0,f.jsx)(`div`,{children:D&&h?h:(0,f.jsx)(i,{value:t??-1,onChange:e=>m(e),options:T,...g})})})})]})};export{m as t};
2//# sourceMappingURL=UserSelect-Dcrrq5ub.js.map

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.