1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[6568],{26568:(D,p,a)=>{a.r(p),a.d(p,{EditItemTemplatePageComponent:()=>f});var _=a(61781),e=a(94650),d=a(36895),m=a(34793),r=a(38605),c=a(48106),s=a(98605),g=a(27791),E=a(89383);const u=function(t){return{collection:t}};function v(t,o){if(1&t&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"h1",8),e.\u0275\u0275text(2),e.\u0275\u0275pipe(3,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"ds-themed-dso-edit-metadata",9),e.\u0275\u0275elementStart(5,"button",10),e.\u0275\u0275text(6),e.\u0275\u0275pipe(7,"translate"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&t){const n=e.\u0275\u0275nextContext().ngVar,l=e.\u0275\u0275nextContext().ngVar,i=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind2(3,5,"collection.edit.template.head",e.\u0275\u0275pureFunction1(10,u,i.dsoNameService.getName(l)))),e.\u0275\u0275advance(2),e.\u0275\u0275property("updateDataService",i.itemTemplateService)("dso",null==n?null:n.payload),e.\u0275\u0275advance(1),e.\u0275\u0275property("routerLink",i.getCollectionEditUrl(l)),e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(e.\u0275\u0275pipeBind1(7,8,"collection.edit.template.cancel"))}}function C(t,o){1&t&&(e.\u0275\u0275element(0,"ds-themed-loading",11),e.\u0275\u0275pipe(1,"translate")),2&t&&e.\u0275\u0275property("message",e.\u0275\u0275pipeBind1(1,1,"collection.edit.template.loading"))}function I(t,o){if(1&t&&(e.\u0275\u0275element(0,"ds-alert",12),e.\u0275\u0275pipe(1,"translate")),2&t){const n=e.\u0275\u0275nextContext(3);e.\u0275\u0275property("type",n.AlertTypeEnum.Error)("content",e.\u0275\u0275pipeBind1(1,2,"collection.edit.template.error"))}}function P(t,o){if(1&t&&(e.\u0275\u0275elementStart(0,"div",4),e.\u0275\u0275template(1,v,8,12,"ng-container",5),e.\u0275\u0275template(2,C,2,3,"ds-themed-loading",6),e.\u0275\u0275template(3,I,2,4,"ds-alert",7),e.\u0275\u0275elementEnd()),2&t){const n=o.ngVar;e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==n?null:n.hasSucceeded),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==n?null:n.isLoading),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",null==n?null:n.hasFailed)}}function T(t,o){if(1&t&&(e.\u0275\u0275elementStart(0,"div",1)(1,"div",2),e.\u0275\u0275template(2,P,4,3,"div",3),e.\u0275\u0275pipe(3,"async"),e.\u0275\u0275elementEnd()()),2&t){const n=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngVar",e.\u0275\u0275pipeBind1(3,1,n.itemRD$))}}let f=(()=>{class t extends _.EditItemTemplatePageComponent{}return t.\u0275fac=function(){let o;return function(l){return(o||(o=e.\u0275\u0275getInheritedFactory(t)))(l||t)}}(),t.\u0275cmp=e.\u0275\u0275defineComponent({type:t,selectors:[["ds-edit-item-template-page"]],features:[e.\u0275\u0275InheritDefinitionFeature],decls:2,vars:3,consts:[["class","container",4,"ngVar"],[1,"container"],[1,"row"],["class","col-12",4,"ngVar"],[1,"col-12"],[4,"ngIf"],[3,"message",4,"ngIf"],[3,"type","content",4,"ngIf"],[1,"border-bottom"],[3,"updateDataService","dso"],[1,"btn","btn-outline-secondary",3,"routerLink"],[3,"message"],[3,"type","content"]],template:function(n,l){if(1&n&&(e.\u0275\u0275template(0,T,4,3,"div",0),e.\u0275\u0275pipe(1,"async")),2&n){let i;e.\u0275\u0275property("ngVar",null==(i=e.\u0275\u0275pipeBind1(1,1,l.collectionRD$))?null:i.payload)}},dependencies:[d.O5,m.rH,r.w,c.Z,s.g,g.w,d.Ov,E.X$]}),t})()}}]);
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.