-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path967.973848ebe6833052.js
1 lines (1 loc) · 1.7 KB
/
967.973848ebe6833052.js
1
"use strict";(self.webpackChunkph_encyclopedia=self.webpackChunkph_encyclopedia||[]).push([[967],{4967:(y,i,n)=>{n.r(i),n.d(i,{TreatmentModule:()=>T});var s=n(177),l=n(6354),t=n(4438),m=n(1626),p=n(800);function d(e,c){if(1&e&&(t.j41(0,"div",6),t.nrm(1,"ph-encyclopedia-procedure-card",7),t.k0s()),2&e){const o=c.$implicit;t.R7$(),t.Y8G("procedure",o)("type","TRT")}}function u(e,c){if(1&e&&(t.qex(0),t.j41(1,"section",1)(2,"span",2),t.EFF(3,"Treatments"),t.k0s(),t.j41(4,"div",3),t.EFF(5),t.k0s()(),t.j41(6,"section",4),t.DNE(7,d,2,2,"div",5),t.k0s(),t.bVm()),2&e){const o=c.ngIf;t.R7$(5),t.SpI(" Total treatments: ",o.length," "),t.R7$(2),t.Y8G("ngForOf",o)}}let f=(()=>{class e{constructor(o){this.http=o,this.treatment$=this.http.get("assets/procedures/treatments.json").pipe((0,l.T)(a=>Object.values(a||{}).sort((r,v)=>r.name.localeCompare(v.name))))}static#t=this.\u0275fac=function(a){return new(a||e)(t.rXU(m.Qq))};static#e=this.\u0275cmp=t.VBU({type:e,selectors:[["ph-encyclopedia-treatment-list"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[1,"mb-2","flex","flex-col"],[1,"font-medium","text-2xl","text-blue-900"],[1,"text-lg","text-blue-900"],[1,"grid","grid-cols-1","md:grid-cols-2","gap-4"],["class","col-span-1",4,"ngFor","ngForOf"],[1,"col-span-1"],[3,"procedure","type"]],template:function(a,r){1&a&&(t.DNE(0,u,8,2,"ng-container",0),t.nI1(1,"async")),2&a&&t.Y8G("ngIf",t.bMT(1,1,r.treatment$))},dependencies:[s.Sq,s.bT,p.H,s.Jj],encapsulation:2})}return e})();var h=n(4626),g=n(7945);let T=(()=>{class e{static#t=this.\u0275fac=function(a){return new(a||e)};static#e=this.\u0275mod=t.$C({type:e});static#n=this.\u0275inj=t.G2t({imports:[s.MD,h.E,g.iI.forChild([{path:"",component:f,pathMatch:"full"}])]})}return e})()}}]);