PageSourceSearch

https://shareok.org/6783.206ae4e8202be3d8.js

js shareok.org collected 2026-09-24 08:56:08 UTC 4,762 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[6783],{56783:(S,r,i)=>{i.r(r),i.d(r,{SubmissionImportExternalComponent:()=>P});var c=i(72200),m=i(38132),_=i(68018),d=i(64972),u=i(2180),C=i(15202),E=i(52186),x=i(50186),b=i(7832),g=i(64135),p=i(2615),n=i(73664);const h=()=>["/mydspace"],I=(t,a)=>({repeatable:t,listId:a});function v(t,a){1&t&&(n.j41(0,"h2"),n.EFF(1),n.nI1(2,"translate"),n.k0s()),2&t&&(n.R7$(),n.JRh(n.bMT(2,1,"submission.sections.describe.relationship-lookup.selection-tab.title")))}function f(t,a){if(1&t){const o=n.RV6();n.j41(0,"ds-viewable-collection",12),n.bIt("importObject",function(s){p.eBV(o);const l=n.XpG(4);return p.Njj(l.import(s))}),n.k0s()}if(2&t){const o=n.XpG().ngVar,e=n.XpG(3);n.Y8G("@fadeIn",void 0)("objects",o)("selectionConfig",n.l_i(8,I,e.repeatable,e.listId))("config",e.initialPagination)("hideGear",!0)("context",e.context)("importable",!0)("importConfig",e.importConfig)}}function M(t,a){1&t&&(n.nrm(0,"ds-loading",9),n.nI1(1,"translate")),2&t&&n.Y8G("message",n.mNQ(n.bMT(1,2,"loading.search-results")))}function R(t,a){if(1&t&&(n.j41(0,"div",10)(1,"ds-alert",13),n.EFF(2),n.nI1(3,"translate"),n.k0s()()),2&t){const o=n.XpG(4);n.R7$(),n.Y8G("type",o.AlertType.Info),n.R7$(),n.JRh(n.bMT(3,2,"search.results.empty"))}}function T(t,a){if(1&t&&(n.j41(0,"div",11)(1,"ds-alert",13),n.EFF(2),n.nI1(3,"translate"),n.k0s()()),2&t){const o=n.XpG(4);n.R7$(),n.Y8G("type",o.AlertType.Info),n.R7$(),n.JRh(n.bMT(3,2,"search.results.response.500"))}}function D(t,a){if(1&t&&(n.qex(0),n.nVh(1,v,3,3,"h2"),n.nVh(2,f,1,11,"ds-viewable-collection",8),n.nI1(3,"async"),n.nVh(4,M,2,4,"ds-loading",9),n.nI1(5,"async"),n.nVh(6,R,4,4,"div",10),n.nI1(7,"async"),n.nVh(8,T,4,4,"div",11),n.nI1(9,"async"),n.bVm()),2&t){const o=a.ngVar,e=n.XpG(3);n.R7$(),n.vxM(o&&0!==(null==o||null==o.payload||null==o.payload.page?null:o.payload.page.length)?1:-1),n.R7$(),n.vxM(null!=o&&o.hasSucceeded&&!0!==n.bMT(3,5,e.isLoading$)&&(null==o||null==o.payload||null==o.payload.page?null:o.payload.page.length)>0?2:-1),n.R7$(2),n.vxM(n.bMT(5,7,e.isLoading$)?4:-1),n.R7$(2),n.vxM(!0!==n.bMT(7,9,e.isLoading$)&&0===(null==o||null==o.payload||null==o.payload.page?null:o.payload.page.length)&&(null==e.routeData||null==e.routeData.query?null:e.routeData.query.length)>0?6:-1),n.R7$(2),n.vxM(!0!==n.bMT(9,11,e.isLoading$)&&500===o.statusCode?8:-1)}}function y(t,a){if(1&t&&(n.j41(0,"div",2),n.DNE(1,D,10,13,"ng-container",7),n.nI1(2,"async"),n.k0s()),2&t){const o=n.XpG(2);n.R7$(),n.Y8G("ngVar",n.bMT(2,1,o.entriesRD$))}}function $(t,a){if(1&t&&(n.j41(0,"div",2)(1,"ds-alert",13)(2,"p",14),n.EFF(3),n.nI1(4,"translate"),n.j41(5,"sup",15),n.EFF(6,"TM"),n.k0s()()()()),2&t){const o=n.XpG(2);n.R7$(),n.Y8G("type",o.AlertType.Info),n.R7$(2),n.JRh(n.bMT(4,2,"submission.import-external.page.hint"))}}function O(t,a){if(1&t&&(n.j41(0,"div",1),n.nVh(1,y,3,3,"div",2),n.nVh(2,$,7,4,"div",2),n.k0s()),2&t){const o=n.XpG();n.R7$(),n.vxM(""!==o.reload$.value.sourceId?1:-1),n.R7$(),n.vxM(""===o.reload$.value.sourceId?2:-1)}}let P=(()=>{var t;class a extends g.SubmissionImportExternalComponent{static#n=t=()=>(this.\u0275fac=(()=>{let e;return function(l){return(e||(e=n.xGo(a)))(l||a)}})(),this.\u0275cmp=n.VBU({type:a,selectors:[["ds-themed-submission-import-external"]],features:[n.Vt3],decls:15,vars:10,consts:[[1,"container"],[1,"row"],[1,"col-md-12"],["id","header",1,"pb-2"],[3,"externalSourceData","initExternalSourceData"],["role","button",1,"btn","btn-outline-secondary",3,"routerLink"],["aria-hidden","true",1,"fa","fa-chevron-left"],[4,"ngVar"],[3,"objects","selectionConfig","config","hideGear","context","importable","importConfig"],[3,"message"],["data-test","empty-external-entry-list"],["data-test","empty-external-error-500"],[3,"importObject","objects","selectionConfig","config","hideGear","context","importable","importConfig"],[3,"type"],[1,"lead","mb-0"],[1,"trademark"]],template:function(s,l){1&s&&(n.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),n.EFF(4),n.nI1(5,"translate"),n.k0s(),n.j41(6,"ds-submission-import-external-searchbar",4),n.bIt("externalSourceData",function(j){return l.getExternalSourceData(j)}),n.k0s()()(),n.nVh(7,O,3,2,"div",1),n.j41(8,"div",1)(9,"div",2),n.nrm(10,"hr"),n.j41(11,"a",5),n.nrm(12,"i",6),n.EFF(13),n.nI1(14,"translate"),n.k0s()()()()),2&s&&(n.R7$(4),n.JRh(n.bMT(5,5,"submission.import-external.title"+(l.label?"."+l.label:""))),n.R7$(2),n.Y8G("initExter
1nalSourceData",l.reload$.value),n.R7$(),n.vxM(l.reload$.value.entity?7:-1),n.R7$(4),n.Y8G("routerLink",n.lJ4(9,h)),n.R7$(2),n.SpI(" ",n.bMT(14,7,"submission.import-external.back-to-my-dspace")," "))},dependencies:[d.C,E.h,m.Wk,b.h,C.v,_.h,x.r,c.Jj,_.D9],encapsulation:2,data:{animation:[u.qG]}}))}return t(),a})()}}]);

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.