PageSourceSearch

https://dspace.kname.edu.ua/8173.763a25024059fa9a.js

js kname.edu.ua collected 2026-09-24 09:34:39 UTC 11,798 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[8173],{1144:(L,b,o)=>{o.d(b,{X:()=>S});var u=o(89417),T=o(68018),D=o(96354),U=o(94925),_=o(60696),E=o(4093),$=o(44280),C=o(89777),B=o(74511),v=o(9847),e=o(73664),R=o(17705),F=o(91029);function t(h,y){if(1&h&&(e.j41(0,"option",6),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&h){const M=y.$implicit;e.Y8G("value",M),e.R7$(),e.SpI(" ",e.bMT(2,2,"curation-task.task."+M+".label")," ")}}function p(h,y){1&h&&(e.j41(0,"div",3)(1,"label",8),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.nrm(4,"input",9),e.j41(5,"small",10),e.EFF(6),e.nI1(7,"translate"),e.k0s()()),2&h&&(e.R7$(2),e.JRh(e.bMT(3,2,"curation.form.handle.label")),e.R7$(4),e.JRh(e.bMT(7,4,"curation.form.handle.hint")))}let S=(()=>{var h;class y{constructor(d,m,l,g,O,X,j){this.scriptDataService=d,this.configurationDataService=m,this.notificationsService=l,this.translateService=g,this.handleService=O,this.router=X,this.cdr=j,this.subs=[]}ngOnDestroy(){this.subs.forEach(d=>d.unsubscribe())}ngOnInit(){this.form=new u.J3({task:new u.hs(""),handle:new u.hs("")}),this.config=this.configurationDataService.findByPropertyName("plugin.named.org.dspace.curate.CurationTask"),this.subs.push(this.config.pipe((0,E.ak)()).subscribe(d=>{this.tasks=d.values.filter(m=>(0,C.hj)(m)&&m.includes("=")).map(m=>m.split("=")[1].trim()),this.form.get("task").patchValue(this.tasks[0]),this.cdr.detectChanges()}))}hasHandleValue(){return(0,C.a4)(this.dsoHandle)}submit(){const d=this.form.get("task").value;let m;
1m=this.hasHandleValue()?this.handleService.normalizeHandle(this.dsoHandle).pipe((0,D.T)(l=>((0,C.Im)(l)&&this.notificationsService.error(this.translateService.get("curation.form.submit.error.head"),this.translateService.get("curation.form.submit.error.invalid-handle")),l))):this.handleService.normalizeHandle(this.form.get("handle").value).pipe((0,D.T)(l=>(0,C.Im)(l)?"all":l)),this.subs.push(m.subscribe(l=>{(0,C.a4)(l)&&this.subs.push(this.scriptDataService.invoke("curate",[{name:"-t",value:d},{name:"-i",value:l}],[]).pipe((0,E.qD)()).subscribe(g=>{g.hasSucceeded?(this.notificationsService.success(this.translateService.get("curation.form.submit.success.head"),this.translateService.get("curation.form.submit.success.content")),this.router.navigateByUrl((0,$.yJ)(g.payload.processId))):this.notificationsService.error(this.translateService.get("curation.form.submit.error.head"),this.translateService.get("curation.form.submit.error.content"))}))}))}static#t=h=()=>(this.\u0275fac=function(m){return new(m||y)(e.rXU(_.ScriptDataService),e.rXU(U.ConfigurationDataService),e.rXU(v.I),e.rXU(T.c$),e.rXU(B.e),e.rXU(F.Ix),e.rXU(R.gRc))},this.\u0275cmp=e.VBU({type:y,selectors:[["ds-curation-form"]],inputs:{dsoHandle:"dsoHandle"},decls:14,vars:8,consts:[[3,"ngSubmit","formGroup"],[1,"mb-3"],[1,"row","mb-2"],[1,"col-12","col-sm-6"],["for","task",1,"fw-bold","form-label"],["id","task","formControlName","task",1,"form-select"],[3,"value"],["type","submit",1,"btn","btn-default","btn-primary"],["for","handle",1,"fw-bold","form-label"],["id","handle","formControlName","handle",1,"form-control"],[1,"text-muted"]],template:function(m,l){1&m&&(e.j41(0,"form",0),e.bIt("ngSubmit",function(){return l.submit()}),e.j41(1,"div",1)(2,"div",2)(3,"div",3)(4,"label",4),e.EFF(5),e.nI1(6,"translate"),e.k0s(),e.j41(7,"select",5),e.Z7z(8,t,3,4,"option",6,e.fX1),e.k0s()(),e.nVh(10,p,8,6,"div",3),e.k0s(),e.j41(11,"button",7),e.EFF(12),e.nI1(13,"translate"),e.k0s()()()),2&m&&(e.Y8G("formGroup",l.form),e.R7$(5),e.JRh(e.bMT(6,4,"curation.form.task-select.label")),e.R7$(3),e.Dyx(l.tasks),e.R7$(2),e.vxM(l.hasHandleValue()?-1:10),e.R7$(2),e.JRh(e.bMT(13,6,"curation.form.submit")))},dependencies:[u.YN,u.qT,u.xH,u.y7,u.me,u.wz,u.BC,u.cb,u.X1,u.j4,u.JD,T.h,T.D9],encapsulation:2}))}return h(),y})()},8173:(L,b,o)=>{o.r(b),o.d(b,{ROUTES:()=>nt});var u=o(59072),T=o(7673),D=o(6170);const _=(0,o(61457).L)(()=>(0,T.of)(D._.IsCommunityAdmin));var E=o(12808),$=o(60892),C=o(38285),B=o(8667),v=o(72200),e=o(96354),R=o(4093),F=o(21200),t=o(73664),p=o(91029);function P(i,s){1&i&&t.nrm(0,"ds-access-control-form-container",0),2&i&&t.Y8G("itemRD",s)("showLimitToSpecificBitstreams",!1)}let S=(()=>{var i;class s{constructor(n){this.route=n}ngOnInit(){this.itemRD$=this.route.parent.parent.data.pipe((0,e.T)(n=>n.dso)).pipe((0,R.yd)())}static#t=i=()=>(this.\u0275fac=function(a){return new(a||s)(t.rXU(p.nX))},this.\u0275cmp=t.VBU({type:s,selectors:[["ds-community-access-control"]],decls:2,vars:3,consts:[["titleMessage","community-access-control-title",3,"itemRD","showLimitToSpecificBitstreams"]],template:function(a,r){if(1&a&&(t.nVh(0,P,1,2,"ds-access-control-form-container",0),t.nI1(1,"async")),2&a){let c;t.vxM((c=t.bMT(1,1,r.itemRD$))?0:-1,c)}},dependencies:[F.o,v.Jj],encapsulation:2}))}return i(),s})();var h=o(61594),y=o(80781);let M=(()=>{var i;class s{constructor(n){this.route=n}ngOnInit(){this.dsoRD$=this.route.parent.parent.data.pipe((0,h.$)(),(0,e.T)(n=>n.dso))}static#t=i=()=>(this.\u0275fac=function(a){return new(a||s)(t.rXU(p.nX))},this.\u0275cmp=t.VBU({type:s,selectors:[["ds-community-authorizations"]],decls:3,vars:4,consts:[[1,"container"],[3,"resourceType","resourceUUID"]],template:function(a,r){if(1&a&&(t.j41(0,"div",0),t.nrm(1,"ds-resource-policies",1),t.nI1(2,"async"),t.k0s()),2&a){let c;t.R7$(),t.Y8G("resourceType","community")("resourceUUID",null==(c=t.bMT(2,2,r.dsoRD$))||null==c.payload?null:c.payload.id)}},dependencies:[y.e,v.Jj],encapsulation:2}))}return i(),s})();var d=o(68018),m=o(96697),l=o(5964),g=o(43446),O=o(1144),X=o(89777);const j=i=>({community:i});let A=(()=>{var i;class s{constructor(n,a){this.route=n,this.dsoNameService=a}ngOnInit(){this.dsoRD$=this.route.parent.data.pipe((0,m.s)(1),(0,e.T)(n=>n.dso)),this.communityName$=this.dsoRD$.pipe((0,l.p)(n=>
1(0,X.a4)(n)),(0,e.T)(n=>this.dsoNameService.getName(n.payload)))}static#t=i=()=>(this.\u0275fac=function(a){return new(a||s)(t.rXU(p.nX),t.rXU(g.f))},this.\u0275cmp=t.VBU({type:s,selectors:[["ds-community-curate"]],decls:7,vars:11,consts:[[1,"container"],[3,"dsoHandle"]],template:function(a,r){if(1&a&&(t.j41(0,"div",0)(1,"h2"),t.EFF(2),t.nI1(3,"async"),t.nI1(4,"translate"),t.k0s(),t.nrm(5,"ds-curation-form",1),t.nI1(6,"async"),t.k0s()),2&a){let c;t.R7$(2),t.JRh(t.i5U(4,4,"community.curate.header",t.eq3(9,j,t.bMT(3,2,r.communityName$)))),t.R7$(3),t.Y8G("dsoHandle",null==(c=t.bMT(6,7,r.dsoRD$))?null:c.payload.handle)}},dependencies:[O.X,d.h,v.Jj,d.D9],encapsulation:2}))}return i(),s})();var G=o(30684),k=o(10406),J=o(99125),V=o(9847),W=o(67044);let H=(()=>{var i;class s extends J.W{constructor(n,a,r,c,I){super(n,a,r,c,I),this.communityDataService=n,this.router=a,this.route=r,this.notificationsService=c,this.translate=I,this.frontendURL="/communities/",this.type=k.E.type}static#t=i=()=>(this.\u0275fac=function(a){return new(a||s)(t.rXU(G.CommunityDataService),t.rXU(p.Ix),t.rXU(p.nX),t.rXU(V.I),t.rXU(d.c$))},this.\u0275cmp=t.VBU({type:s,selectors:[["ds-community-metadata"]],features:[t.Vt3],decls:2,vars:4,consts:[[3,"submitForm","back","finish","dso","isCreation"]],template:function(a,r){if(1&a&&(t.j41(0,"ds-community-form",0),t.nI1(1,"async"),t.bIt("submitForm",function(I){return r.onSubmit(I)})("back",function(){return r.navigateToHomePage()})("finish",function(){return r.navigateToHomePage()}),t.k0s()),2&a){let c;t.Y8G("dso",null==(c=t.bMT(1,2,r.dsoRD$))?null:c.payload)("isCreation",!1)}},dependencies:[W.p,v.Jj],encapsulation:2}))}return i(),s})();var K=o(60185);function z(i,s){if(1&i&&(t.nrm(0,"ds-comcol-role",1),t.nI1(1,"async")),2&i){const f=s.$implicit,n=t.XpG();t.Y8G("dso",t.bMT(1,2,n.community$))("comcolRole",f)}}let Y=(()=>{var i;class s{constructor(n){this.route=n}ngOnInit(){this.dsoRD$=this.route.parent.data.pipe((0,h.$)(),(0,e.T)(n=>n.dso)),this.community$=this.dsoRD$.pipe((0,R.yd)(),(0,R.Bo)()),this.comcolRoles$=this.community$.pipe((0,e.T)(n=>[{name:"community-admin",href:n._links.adminGroup.href}]))}static#t=i=()=>(this.\u0275fac=function(a){return new(a||s)(t.rXU(p.nX))},this.\u0275cmp=t.VBU({type:s,selectors:[["ds-community-roles"]],decls:4,vars:2,consts:[[1,"custom-alignment"],[3,"dso","comcolRole"]],template:function(a,r){1&a&&(t.j41(0,"div",0),t.Z7z(1,z,2,4,"ds-comcol-role",1,t.fX1),t.nI1(3,"async"),t.k0s()),2&a&&(t.R7$(),t.Dyx(t.bMT(3,0,r.comcolRoles$)))},dependencies:[K.J,v.Jj],encapsulation:2}))}return i(),s})();var N=o(38132),x=o(41744),Z=o(39015);const Q=i=>({active:i}),w=i=>[i];function q(i,s){if(1&i&&(t.j41(0,"li",9)(1,"a",14),t.EFF(2),t.nI1(3,"translate"),t.k0s()()),2&i){const f=s.$implicit,n=t.XpG();t.R7$(),t.Y8G("ngClass",t.eq3(7,Q,f===n.currentPage))("routerLink",t.eq3(9,w,"./"+f)),t.BMQ("aria-selected",f===n.currentPage)("data-test",f),t.R7$(),t.SpI(" ",t.bMT(3,5,n.type+".edit.tabs."+f+".head")," ")}}function tt(i,s){if(1&i&&(t.j41(0,"a",13),t.nI1(1,"async"),t.nrm(2,"i",15),t.EFF(3),t.nI1(4,"translate"),t.k0s()),2&i){let f;const n=t.XpG();t.Y8G("routerLink",n.getPageUrl(null==(f=t.bMT(1,2,n.dsoRD$))?null:f.payload)),t.R7$(3),t.SpI(" ",t.bMT(4,4,n.type+".edit.return")," ")}}const nt=[{path:"",resolve:{breadcrumb:u.S},data:{breadcrumbKey:"community.edit"},component:(()=>{var i;class s extends x.M{constructor(n,a){super(n,a),this.router=n,this.route=a,this.type="community"}getPageUrl(n){return(0,Z.c5)(n.id)}static#t=i=()=>(this.\u0275fac=function(a){return new(a||s)(t.rXU(p.Ix),t.rXU(p.nX))},this.\u0275cmp=t.VBU({type:s,selectors:[["ds-edit-community"]],features:[t.Vt3],decls:22,vars:10,consts:[[1,"container"],[1,"row"],[1,"col-12"],[1,"d-flex","justify-content-between","border-bottom"],[1,"my-auto"],["data-test","delete-button",1,"btn","btn-danger",3,"routerLink"],["aria-hidden","true",1,"fas","fa-trash"],[1,"pt-2"],["role","tablist",1,"nav","nav-tabs","justify-content-start","mb-2"],["role","presentation",1,"nav-item"],[1,"tab-pane","active"],[1,"mb-4"],[1,"col-12","text-end","custom-alignment"],[1,"btn","btn-outline-secondary",3,"routerLink"],["role","tab",1,"nav-link",3,"ngClass","routerLink"],["aria-hidden","true",1,"fas","fa-arrow-left"]],template:function(a,r){if(1&a&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.j41(7,"div",4)(8,"a",5),t.nI1(9,"async"),t.nrm(10,"i",6),t.EFF(11),t.nI1(12,"translate"),t.k0s()()(),t.j41(13,"div",7)(14,"ul",8),t.Z7z(15,q,4,11,"li",9,t.fX1),t.k0s(),t.j41(17,"div",10)(18,"div",11),t.nrm(19,"router-outlet"),t.k0s(),t.j41(20,"div",12),t.nVh(21,tt,5,6,"a",13),t.k0s()()()()()()),2&a){let c;t.R7$(5),t.JRh(t.bMT(6,4,r.type+".edit.head")),t.R7$(3),t.Y8G("routerLink",("community"===r.type?"/communities/":"/collections/")+(null==(c=t.bMT(9,6,r.dsoRD$))?null:c.payload.uuid)+"/delete"),t.R7$(3),t.SpI(" ",t.bMT(12,8,r.type+".edit.delete")),t.R7$(4),t.Dyx(r.pages),t.R7$(6),t.vxM(r.hideReturnButton?-1:21)}},dependencies:[v.YU,N.Wk,p.n3,d.h,v.Jj,d.D9],encapsulation:2}))}return i(),s})(),canActivate:[_],children:[{path:"",redirectTo:"metadata",pathMatch:"full"},{path:"metadata",component:H,data:{title:"community.edit.tabs.metadata.title",hideReturnButton:!0,showBreadcrumbs:!0}},{path:"roles",component:Y,data:{title:"community.edit.tabs.roles.title",showBreadcrumbs:!0}},{path:"curate",component:A,data:{title:"community.edit.tabs.curate.title",showBreadcrumbs:!0}},{path:"access-control",component:S,data:{title:"collection.edit.tabs.access-control.title",showBreadcrumbs:!0}},{path:"authorizations",data:{showBreadcrumbs:!0},children:[{path:"create",resolve:{resourcePolicyTarget:B.Q},component:E.m,data:{title:"resource-policies.create.page.title"}},{path:"edit",resolve:{resourcePolicy:C.n},component:$._,data:{title:"resource-policies.edit.page.title"}},{path:"",component:M,data:{title:"community.edit.tabs.authorizations.title",showBreadcrumbs:!0,hideReturnButton:!0}}]}]}]}}]);

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.