PageSourceSearch

https://ems.energyflux.rs/chunk-TJF5NNOY.js

js energyflux.rs collected 2026-10-07 19:33:44 UTC 1,679 bytes, 1 lines download raw bytes

1import{a as u}from"./chunk-UQSOCRKR.js";import{k as l}from"./chunk-X53JTFRS.js";import{oa as a,sa as p}from"./chunk-FGJPAVU3.js";import{d as n}from"./chunk-5JJ6SBZ6.js";var h=class s{constructor(t){this.http=t;this.resourceUrl="api/users"}create(t){return this.http.post(this.resourceUrl,t)}update(t){return this.http.post(`${this.resourceUrl}/update`,t)}find(t){return this.http.get(`${this.resourceUrl}/${t}`)}query(t){let o=t??{},{search:r}=o,i=n(o,["search"]),e=u(i);return r&&(e=e.set("search",r)),this.http.get(this.resourceUrl,{params:e,observe:"response"})}delete(t){return this.http.post(`${this.resourceUrl}/delete`,t)}authorities(){return this.http.get("api/users/authorities")}registerUserForFastLogin(){return this.http.get("api/users/fast-login/register")}finalizeRegisteringUserForFastLogin(t){return this.http.post(`${this.resourceUrl}/fast-login/register/finalize`,t,{headers:{"Content-Type":"application/json"},responseType:"text"})}authenticateUserForFastLogin(t,r){return this.http.post(`${this.resourceUrl}/fast-login/authenticate`,{login:t,credentialId:r})}finalizeAuthenticatingUserForFastLogin(t){return this.http.post(`${this.resourceUrl}/fast-login/authenticate/finalize`,t,{headers:{"Content-Type":"application/json"}})}unregisteringUserForFastLogin(t,r){return this.http.post(`${this.resourceUrl}/fast-login/unregister`,{login:t,credentialId:r})}static{this.\u0275fac=function(r){return new(r||s)(p(l))}}static{this.\u0275prov=a({token:s,factory:s.\u0275fac,providedIn:"root"})}};var g=class{isErrorState(t,r){let i=!!(t?.invalid&&t?.parent?.dirty&&t?.dirty),e=!!(t?.dirty&&r?.form?.errors&&r.form.errors.notSame);return i||e}};export{g as a,h as b};

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.