1"use strict";(self.webpackChunkmaternityV2=self.webpackChunkmaternityV2||[]).push([[93],{2093(v,p,e){e.d(p,{ListTagsComponent:()=>C});var o=e(5802),d=e(9769),a=e(9417),h=e(3049),g=e(6008),u=e(6988),m=e(3402),f=e(1883),E=e(5723),t=e(5547);const M=n=>["/admin/edit-tag",n];function k(n,l){if(1&n&&(t.j41(0,"tr",17)(1,"td",18)(2,"span",19),t.EFF(3,"Tag name: "),t.k0s(),t.nrm(4,"strong",20),t.nI1(5,"highlightSearch"),t.k0s(),t.j41(6,"td",18),t.nrm(7,"span",19),t.j41(8,"a",21),t.EFF(9,"Edit"),t.k0s()()()),2&n){const s=l.$implicit,i=t.XpG(2);t.R7$(4),t.Y8G("innerHTML",t.i5U(5,2,s.name,i.filterInput),t.npT),t.R7$(4),t.Y8G("routerLink",t.eq3(5,M,s.tagGuid))}}function T(n,l){if(1&n&&(t.j41(0,"tbody",16),t.Z7z(1,k,10,7,"tr",17,t.fX1),t.nI1(3,"filter"),t.nI1(4,"sort"),t.k0s()),2&n){const s=t.XpG();t.R7$(),t.Dyx(t.brH(4,4,t.brH(3,0,l,s.filterInput,"tag"),"asc","name"))}}let C=(()=>{class n{constructor(){this._tagServices=(0,o.WQX)(g.w6)}ngOnInit(){this.setTags()}setTags(){return this.tags$=this._tagServices.getAllTags()}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-list-tags"]],decls:28,vars:5,consts:[[1,"nhsuk-grid-column","wrapper"],[1,"tag-header"],[1,"flex"],["id","wrap-search",1,"nhsuk-header__search-wrap","search-input"],["id","filter",1,"nhsuk-header__search-form"],["for","filter-field",1,"nhsuk-u-visually-hidden"],["id","filter-field","name","filter-field","placeholder","Filter",1,"nhsuk-search__input",3,"ngModelChange","ngModel"],["type","button",1,"nhsuk-search__submit"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","aria-hidden","true","focusable","false",1,"nhsuk-icon","nhsuk-icon__search"],["d","M19.71 18.29l-4.11-4.1a7 7 0 1 0-1.41 1.41l4.1 4.11a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42zM5 10a5 5 0 1 1 5 5 5 5 0 0 1-5-5z","fill","#ffffff"],[1,"nhsuk-u-visually-hidden"],[3,"link"],["role","table",1,"nhsuk-table-responsive"],["role","rowgroup",1,"nhsuk-table__head"],["role","row"],["role","columnheader","scope","col",1,""],[1,"nhsuk-table__body"],["role","row",1,"nhsuk-table__row"],["role","cell",1,"nhsuk-table__cell"],[1,"nhsuk-table-responsive__heading"],[1,"nhsuk-tag","nhsuk-tag--blue",3,"innerHTML"],[3,"routerLink"]],template:function(i,r){if(1&i&&(t.j41(0,"section")(1,"div",0)(2,"div",1)(3,"h1"),t.EFF(4,"Tags"),t.k0s(),t.j41(5,"p"),t.EFF(6,"Edit existing tag or create a new one."),t.k0s()(),t.j41(7,"div",2)(8,"div",3)(9,"form",4)(10,"label",5),t.EFF(11,"Search a specific tag"),t.k0s(),t.j41(12,"input",6),t.mxI("ngModelChange",function(c){return t.DH7(r.filterInput,c)||(r.filterInput=c),c}),t.k0s(),t.j41(13,"button",7),o.qSk(),t.j41(14,"svg",8),t.nrm(15,"path",9),t.k0s(),o.joV(),t.j41(16,"span",10),t.EFF(17,"Search"),t.k0s()()()(),t.j41(18,"app-action-link",11),t.EFF(19,"Add a tag"),t.k0s()(),t.j41(20,"table",12)(21,"thead",13)(22,"tr",14)(23,"th",15),t.EFF(24,"Tag name"),t.k0s(),t.nrm(25,"th",15),t.k0s()(),t.nVh(26,T,5,8,"tbody",16),t.nI1(27,"async"),t.k0s()()()),2&i){let _;t.R7$(12),t.R50("ngModel",r.filterInput),t.R7$(6),t.Y8G("link","/admin/add-tag"),t.R7$(8),t.vxM((_=t.bMT(27,3,r.tags$))?26:-1,_)}},dependencies:[d.MD,a.YN,a.qT,a.me,a.BC,a.cb,a.vS,a.cV,f.qV,h.Wk,d.Jj,u.L,m.F,E.J],styles:[".tag-header[_ngcontent-%COMP%]{margin-bottom:16px}.search-input[_ngcontent-%COMP%]{display:flex}.nhsuk-search__submit[_ngcontent-%COMP%]{background-color:#007f3b!important}.flex[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;margin-bottom:32px}@media(min-width:40.0625em){.flex[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;justify-content:space-between;margin-bottom:16px}}"]})}}return n})()}}]);
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.