tressi
Version:
Deterministic load testing for API performance validation.
2 lines (1 loc) • 1.57 kB
JavaScript
import{a as f}from"./chunk-MZUHTIQN.js";import"./chunk-UR67FGQG.js";import"./chunk-RQPLME55.js";import"./chunk-2IBU6HRE.js";import{u as x}from"./chunk-BEQIQLT5.js";import{$a as c,Ab as d,Ia as m,Ka as i,Qb as n,Sb as p,W as s,fc as v,vb as e,wb as t,xb as o}from"./chunk-W6IDPYNF.js";import"./chunk-I4MTPUBM.js";var g=class r{_health=s(f);retryMessage=v(()=>this._health.getRetryMessage());logoSrc=x;static \u0275fac=function(a){return new(a||r)};static \u0275cmp=c({type:r,selectors:[["app-server-unavailable"]],decls:16,vars:2,consts:[[1,"flex","min-h-screen","flex-col","items-center","justify-center","px-6","pt-32","pb-6"],["alt","Tressi Logo",1,"mb-4","size-20",3,"src"],[1,"w-full","max-w-lg","space-y-8","text-center"],[1,"flex","flex-col","items-center"],[1,"mb-4","text-lg","font-bold"],[1,"mockup-code","mx-auto","mb-4","w-full","max-w-xs","text-left"],["data-prefix",">"],[1,"text-base-content/50","text-xs"],[1,"text-base-content/50","loading","loading-infinity","size-12"],[1,"mt-auto","text-center"],[1,"text-base-content/50","mt-auto","text-xs"]],template:function(a,l){a&1&&(e(0,"div",0),o(1,"img",1),e(2,"div",2)(3,"div",3)(4,"h1",4),n(5,"Tressi is offline, please start the server"),t(),e(6,"div",5)(7,"pre",6)(8,"code"),n(9,"npx tressi serve"),t()()(),e(10,"span",7),n(11),t(),o(12,"span",8),t()(),e(13,"div",9)(14,"p",10),n(15," This page will redirect automatically once the server is online. "),t()()()),a&2&&(i(),d("src",l.logoSrc,m),i(10),p(" ",l.retryMessage()," "))},encapsulation:2,changeDetection:0})};export{g as ServerUnavailableComponent};