12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551505525055350554505555055650557505585055950560505615056250563505645056550566505675056850569505705057150572505735057450575505765057750578505795058050581505825058350584505855058650587505885058950590505915059250593505945059550596505975059850599506005060150602506035060450605506065060750608506095061050611506125061350614506155061650617506185061950620506215062250623506245062550626506275062850629506305063150632506335063450635506365063750638506395064050641506425064350644506455064650647506485064950650506515065250653506545065550656506575065850659506605066150662506635066450665506665066750668506695067050671506725067350674506755067650677506785067950680506815068250683506845068550686506875068850689506905069150692506935069450695506965069750698506995070050701507025070350704507055070650707507085070950710507115071250713507145071550716507175071850719507205072150722507235072450725507265072750728507295073050731507325073350734507355073650737507385073950740507415074250743507445074550746507475074850749507505075150752507535075450755507565075750758507595076050761507625076350764507655076650767507685076950770507715077250773507745077550776507775077850779507805078150782507835078450785507865078750788507895079050791507925079350794507955079650797507985079950800508015080250803508045080550806508075080850809508105081150812508135081450815508165081750818508195082050821508225082350824508255082650827508285082950830508315083250833508345083550836508375083850839508405084150842508435084450845508465084750848508495085050851508525085350854508555085650857508585085950860508615086250863508645086550866508675086850869508705087150872508735087450875508765087750878508795088050881508825088350884508855088650887508885088950890508915089250893508945089550896508975089850899509005090150902509035090450905509065090750908509095091050911509125091350914509155091650917509185091950920509215092250923509245092550926509275092850929509305093150932509335093450935509365093750938509395094050941509425094350944509455094650947509485094950950509515095250953509545095550956509575095850959509605096150962509635096450965509665096750968509695097050971509725097350974509755097650977509785097950980509815098250983509845098550986509875098850989509905099150992509935099450995509965099750998509995100051001510025100351004510055100651007510085100951010510115101251013510145101551016510175101851019510205102151022510235102451025510265102751028510295103051031510325103351034510355103651037510385103951040510415104251043510445104551046510475104851049510505105151052510535105451055510565105751058510595106051061510625106351064510655106651067510685106951070510715107251073510745107551076510775107851079510805108151082510835108451085510865108751088510895109051091510925109351094510955109651097510985109951100511015110251103511045110551106511075110851109511105111151112511135111451115511165111751118511195112051121511225112351124511255112651127511285112951130511315113251133511345113551136511375113851139511405114151142511435114451145511465114751148511495115051151511525115351154511555115651157511585115951160511615116251163511645116551166511675116851169511705117151172511735117451175511765117751178511795118051181511825118351184511855118651187511885118951190511915119251193511945119551196511975119851199512005120151202512035120451205512065120751208512095121051211512125121351214512155121651217512185121951220512215122251223512245122551226512275122851229512305123151232512335123451235512365123751238512395124051241512425124351244512455124651247512485124951250512515125251253512545125551256512575125851259512605126151262512635126451265512665126751268512695127051271512725127351274512755127651277512785127951280512815128251283512845128551286512875128851289512905129151292512935129451295512965129751298512995130051301513025130351304513055130651307513085130951310513115131251313513145131551316513175131851319513205132151322513235132451325513265132751328513295133051331513325133351334513355133651337513385133951340513415134251343513445134551346513475134851349513505135151352513535135451355513565135751358513595136051361513625136351364513655136651367513685136951370513715137251373513745137551376513775137851379513805138151382513835138451385513865138751388513895139051391513925139351394513955139651397513985139951400514015140251403514045140551406514075140851409514105141151412514135141451415514165141751418514195142051421514225142351424514255142651427514285142951430514315143251433514345143551436514375143851439514405144151442514435144451445514465144751448514495145051451514525145351454514555145651457514585145951460514615146251463514645146551466514675146851469514705147151472514735147451475514765147751478514795148051481514825148351484514855148651487514885148951490514915149251493514945149551496514975149851499515005150151502515035150451505515065150751508515095151051511515125151351514515155151651517515185151951520515215152251523515245152551526515275152851529515305153151532515335153451535515365153751538515395154051541515425154351544515455154651547515485154951550515515155251553515545155551556515575155851559515605156151562515635156451565515665156751568515695157051571515725157351574515755157651577515785157951580515815158251583515845158551586515875158851589515905159151592515935159451595515965159751598515995160051601516025160351604516055160651607516085160951610516115161251613516145161551616516175161851619516205162151622516235162451625516265162751628516295163051631516325163351634516355163651637516385163951640516415164251643516445164551646516475164851649516505165151652516535165451655516565165751658516595166051661516625166351664516655166651667516685166951670516715167251673516745167551676516775167851679516805168151682516835168451685516865168751688516895169051691516925169351694516955169651697516985169951700517015170251703517045170551706517075170851709517105171151712517135171451715517165171751718517195172051721517225172351724517255172651727517285172951730517315173251733517345173551736517375173851739517405174151742517435174451745517465174751748517495175051751517525175351754517555175651757517585175951760517615176251763517645176551766517675176851769517705177151772517735177451775517765177751778517795178051781517825178351784517855178651787517885178951790517915179251793517945179551796517975179851799518005180151802518035180451805518065180751808518095181051811518125181351814518155181651817518185181951820518215182251823518245182551826518275182851829518305183151832518335183451835518365183751838518395184051841518425184351844518455184651847518485184951850518515185251853518545185551856518575185851859518605186151862518635186451865518665186751868518695187051871518725187351874518755187651877518785187951880518815188251883518845188551886518875188851889518905189151892518935189451895518965189751898518995190051901519025190351904519055190651907519085190951910519115191251913519145191551916519175191851919519205192151922519235192451925519265192751928519295193051931519325193351934519355193651937519385193951940519415194251943519445194551946519475194851949519505195151952519535195451955519565195751958519595196051961519625196351964519655196651967519685196951970519715197251973519745197551976519775197851979519805198151982519835198451985519865198751988519895199051991519925199351994519955199651997519985199952000520015200252003520045200552006520075200852009520105201152012520135201452015520165201752018520195202052021520225202352024520255202652027520285202952030520315203252033520345203552036520375203852039520405204152042520435204452045520465204752048520495205052051520525205352054520555205652057520585205952060520615206252063520645206552066520675206852069520705207152072520735207452075520765207752078520795208052081520825208352084520855208652087520885208952090520915209252093520945209552096520975209852099521005210152102521035210452105521065210752108521095211052111521125211352114521155211652117521185211952120521215212252123521245212552126521275212852129521305213152132521335213452135521365213752138521395214052141521425214352144521455214652147521485214952150521515215252153521545215552156521575215852159521605216152162521635216452165521665216752168521695217052171521725217352174521755217652177521785217952180521815218252183521845218552186521875218852189521905219152192521935219452195521965219752198521995220052201522025220352204522055220652207522085220952210522115221252213522145221552216522175221852219522205222152222522235222452225522265222752228522295223052231522325223352234522355223652237522385223952240522415224252243522445224552246522475224852249522505225152252522535225452255522565225752258522595226052261522625226352264522655226652267522685226952270522715227252273522745227552276522775227852279522805228152282522835228452285522865228752288522895229052291522925229352294522955229652297522985229952300523015230252303523045230552306523075230852309523105231152312523135231452315523165231752318523195232052321523225232352324523255232652327523285232952330523315233252333523345233552336523375233852339523405234152342523435234452345523465234752348523495235052351523525235352354523555235652357523585235952360523615236252363523645236552366523675236852369523705237152372523735237452375523765237752378523795238052381523825238352384523855238652387523885238952390523915239252393523945239552396523975239852399524005240152402524035240452405524065240752408524095241052411524125241352414524155241652417524185241952420524215242252423524245242552426524275242852429524305243152432524335243452435524365243752438 |
- (function () {
- function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
- function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
- function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
- function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
- function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
- (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"], {
- /***/
- "+54W":
- /*!*********************************************************************!*\
- !*** ./src/app/components/sampling-decl/sampling-decl.component.ts ***!
- \*********************************************************************/
- /*! exports provided: SamplingDeclComponent */
- /***/
- function W(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SamplingDeclComponent", function () {
- return SamplingDeclComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function SamplingDeclComponent_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var content_r1 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", content_r1);
- }
- }
- var SamplingDeclComponent = function SamplingDeclComponent() {
- _classCallCheck(this, SamplingDeclComponent);
- };
- SamplingDeclComponent.ɵfac = function SamplingDeclComponent_Factory(t) {
- return new (t || SamplingDeclComponent)();
- };
- SamplingDeclComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: SamplingDeclComponent,
- selectors: [["evt-sampling-decl"]],
- inputs: {
- data: "data"
- },
- decls: 2,
- vars: 1,
- consts: [[1, "samplingDecl"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]],
- template: function SamplingDeclComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SamplingDeclComponent_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.content);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzYW1wbGluZy1kZWNsLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- SamplingDeclComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["SamplingDecl"])], SamplingDeclComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SamplingDeclComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-sampling-decl',
- templateUrl: './sampling-decl.component.html',
- styleUrls: ['./sampling-decl.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "/gd2":
- /*!*********************************************************************************************************************!*\
- !*** ./src/app/components/lemmatized-entity/lemmatized-entity-occurrence/lemmatized-entity-occurrence.component.ts ***!
- \*********************************************************************************************************************/
- /*! exports provided: LemmatizedEntityOccurrenceComponent */
- /***/
- function gd2(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntityOccurrenceComponent", function () {
- return LemmatizedEntityOccurrenceComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../../services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../content-viewer/content-viewer.component */
- "t6RO");
- function LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_div_0_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 7);
- }
- if (rf & 2) {
- var ref_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", ref_r6);
- }
- }
- function LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_div_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_div_0_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ref_r6 = ctx.$implicit;
- var refByDoc_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", refByDoc_r1.docLabel !== ref_r6);
- }
- }
- function LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_div_0_Template, 2, 1, "div", 5);
- }
- if (rf & 2) {
- var refByDoc_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", refByDoc_r1.refs);
- }
- }
- var _c0 = function _c0() {
- return ["auto"];
- };
- function LemmatizedEntityOccurrenceComponent_span_0_Template(rf, ctx) {
- if (rf & 1) {
- var _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LemmatizedEntityOccurrenceComponent_span_0_Template_span_click_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r12);
- var refByDoc_r1 = ctx.$implicit;
- var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r11.goToOccurrenceRef(refByDoc_r1);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 2, 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, LemmatizedEntityOccurrenceComponent_span_0_ng_template_5_Template, 1, 1, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var refByDoc_r1 = ctx.$implicit;
- var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", ctx_r0.occurrence.pageLabel, " ", refByDoc_r1.docLabel ? "(" + refByDoc_r1.docLabel + ")" : "", " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbPopover", _r3)("autoClose", "outside")("placement", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c0));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", refByDoc_r1.refs == null ? null : refByDoc_r1.refs.length, " ");
- }
- }
- var LemmatizedEntityOccurrenceComponent = /*#__PURE__*/function () {
- function LemmatizedEntityOccurrenceComponent(evtModelService, evtStatusService) {
- _classCallCheck(this, LemmatizedEntityOccurrenceComponent);
- this.evtModelService = evtModelService;
- this.evtStatusService = evtStatusService;
- }
- _createClass(LemmatizedEntityOccurrenceComponent, [{
- key: "goToOccurrenceRef",
- value: function goToOccurrenceRef(ref) {
- var _this = this;
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["take"])(1)).subscribe(function (pages) {
- var page = pages.find(function (p) {
- return p.id === _this.occurrence.pageId;
- });
- _this.evtStatusService.updateDocument$.next(ref.docId);
- _this.evtStatusService.updatePage$.next(page);
- _this.evtStatusService.currentLemmatizedEntityId$.next(_this.entityLemId);
- });
- }
- }]);
- return LemmatizedEntityOccurrenceComponent;
- }();
- LemmatizedEntityOccurrenceComponent.ɵfac = function LemmatizedEntityOccurrenceComponent_Factory(t) {
- return new (t || LemmatizedEntityOccurrenceComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]));
- };
- LemmatizedEntityOccurrenceComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: LemmatizedEntityOccurrenceComponent,
- selectors: [["evt-lemmatized-entity-occurrence"]],
- inputs: {
- occurrence: "occurrence",
- entityLemId: "entityLemId"
- },
- decls: 1,
- vars: 1,
- consts: [["class", "ne-occurrence", 3, "click", 4, "ngFor", "ngForOf"], [1, "ne-occurrence", 3, "click"], ["popoverClass", "evt-note", "container", "body", 1, "badge", "badge-info", "badge-light", "ne-occurrence-count", 3, "ngbPopover", "autoClose", "placement"], ["popover", "ngbPopover"], ["popContent", ""], [4, "ngFor", "ngForOf"], [3, "content", 4, "ngIf"], [3, "content"]],
- template: function LemmatizedEntityOccurrenceComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, LemmatizedEntityOccurrenceComponent_span_0_Template, 7, 7, "span", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.occurrence.refsByDoc);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbPopover"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJsZW1tYXRpemVkLWVudGl0eS1vY2N1cnJlbmNlLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LemmatizedEntityOccurrenceComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-lemmatized-entity-occurrence',
- templateUrl: './lemmatized-entity-occurrence.component.html',
- styleUrls: ['./lemmatized-entity-occurrence.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]
- }, {
- type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]
- }];
- }, {
- occurrence: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- entityLemId: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "/zYb":
- /*!*******************************************************************!*\
- !*** ./src/app/components/project-desc/project-desc.component.ts ***!
- \*******************************************************************/
- /*! exports provided: ProjectDescComponent */
- /***/
- function zYb(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ProjectDescComponent", function () {
- return ProjectDescComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function ProjectDescComponent_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var content_r1 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", content_r1);
- }
- }
- var ProjectDescComponent = function ProjectDescComponent() {
- _classCallCheck(this, ProjectDescComponent);
- };
- ProjectDescComponent.ɵfac = function ProjectDescComponent_Factory(t) {
- return new (t || ProjectDescComponent)();
- };
- ProjectDescComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: ProjectDescComponent,
- selectors: [["evt-project-desc"]],
- inputs: {
- data: "data"
- },
- decls: 2,
- vars: 1,
- consts: [[1, "projectDesc"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]],
- template: function ProjectDescComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ProjectDescComponent_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.content);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJwcm9qZWN0LWRlc2MuY29tcG9uZW50LnNjc3MifQ== */"]
- });
- ProjectDescComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["ProjectDesc"])], ProjectDescComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ProjectDescComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-project-desc',
- templateUrl: './project-desc.component.html',
- styleUrls: ['./project-desc.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- 0:
- /*!***************************!*\
- !*** multi ./src/main.ts ***!
- \***************************/
- /*! no static exports found */
- /***/
- function _(module, exports, __webpack_require__) {
- module.exports = __webpack_require__(
- /*! /Users/federicaspinelli/TEAMOVI/evt-angular-ovi/src/main.ts */
- "zUnb");
- /***/
- },
- /***/
- "0Bbq":
- /*!*********************************************************!*\
- !*** ./src/app/directives/html-attributes.directive.ts ***!
- \*********************************************************/
- /*! exports provided: HtmlAttributesDirective */
- /***/
- function Bbq(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HtmlAttributesDirective", function () {
- return HtmlAttributesDirective;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- var HtmlAttributesDirective = /*#__PURE__*/function () {
- function HtmlAttributesDirective(el, renderer) {
- _classCallCheck(this, HtmlAttributesDirective);
- this.el = el;
- this.renderer = renderer;
- }
- _createClass(HtmlAttributesDirective, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- var _this2 = this;
- Object.keys(this.attributes).forEach(function (key) {
- _this2.renderer.setAttribute(_this2.el.nativeElement, "data-".concat(key), _this2.attributes[key]);
- });
- }
- }]);
- return HtmlAttributesDirective;
- }();
- HtmlAttributesDirective.ɵfac = function HtmlAttributesDirective_Factory(t) {
- return new (t || HtmlAttributesDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]));
- };
- HtmlAttributesDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: HtmlAttributesDirective,
- selectors: [["", "evtHtmlAttributes", ""]],
- inputs: {
- attributes: ["evtHtmlAttributes", "attributes"]
- }
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HtmlAttributesDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
- args: [{
- selector: '[evtHtmlAttributes]'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]
- }];
- }, {
- attributes: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
- args: ['evtHtmlAttributes']
- }]
- });
- })();
- /***/
- },
- /***/
- "0lvV":
- /*!***************************************************************************!*\
- !*** ./src/app/components/named-entity-ref/named-entity-ref.component.ts ***!
- \***************************************************************************/
- /*! exports provided: NamedEntityRefComponent */
- /***/
- function lvV(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntityRefComponent", function () {
- return NamedEntityRefComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _services_entities_select_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../services/entities-select.service */
- "KA5I");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../../directives/highlight.directive */
- "CmGG");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ../named-entity/named-entity.component */
- "k8Vd");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function NamedEntityRefComponent_evt_content_viewer_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
- }
- if (rf & 2) {
- var element_r2 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r2)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("textFlow", ctx_r0.textFlow);
- }
- }
- function NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "entityNotFound"));
- }
- }
- function NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_evt_named_entity_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-named-entity", 10);
- }
- if (rf & 2) {
- var entity_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inList", true)("data", entity_r7);
- }
- }
- function NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_span_1_Template, 3, 3, "span", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_evt_named_entity_2_Template, 1, 2, "evt-named-entity", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var entity_r7 = ctx.ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r7 === "notFound");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r7 !== "notFound");
- }
- }
- function NamedEntityRefComponent_ng_container_4_div_1_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](0, "Loading...");
- }
- }
- function NamedEntityRefComponent_ng_container_4_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityRefComponent_ng_container_4_div_1_ng_container_1_Template, 3, 2, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntityRefComponent_ng_container_4_div_1_ng_template_3_Template, 1, 0, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("namedEntityRefDetail ", ctx_r3.data.entityType, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 5, ctx_r3.entity$))("ngIfElse", _r5);
- }
- }
- function NamedEntityRefComponent_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityRefComponent_ng_container_4_div_1_Template, 5, 7, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r1.opened);
- }
- }
- var _c0 = function _c0(a0, a1, a2) {
- return {
- opened: a0,
- entityHighlight: a1,
- noDetails: a2
- };
- };
- var NamedEntityRefComponent = /*#__PURE__*/function () {
- function NamedEntityRefComponent(evtStatusService, evtModelService, entitiesSelectService) {
- var _this3 = this;
- _classCallCheck(this, NamedEntityRefComponent);
- this.evtStatusService = evtStatusService;
- this.evtModelService = evtModelService;
- this.entitiesSelectService = entitiesSelectService;
- this.availableEntities$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (ne) {
- return ne.all.entities.length > 0;
- }));
- this.entity$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (ne) {
- return ne.all.entities.find(function (e) {
- return e.id === _this3.data.entityId;
- }) || 'notFound';
- }));
- this.highlighted$ = this.entitiesSelectService.selectedItems$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])(function (items) {
- if (_this3.data) {
- _this3.data["class"] = _this3.data["class"] || '';
- _this3.data.attributes = _this3.data.attributes || {};
- }
- return items;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (items) {
- return items.some(function (i) {
- return i && _this3.data && _this3.entitiesSelectService.matchClassAndAttributes(i.value, _this3.data.attributes, _this3.data["class"]);
- });
- }));
- this.opened = false;
- }
- _createClass(NamedEntityRefComponent, [{
- key: "toggleEntityData",
- value: function toggleEntityData(event) {
- event.stopPropagation();
- this.opened = !this.opened;
- }
- }]);
- return NamedEntityRefComponent;
- }();
- NamedEntityRefComponent.ɵfac = function NamedEntityRefComponent_Factory(t) {
- return new (t || NamedEntityRefComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_entities_select_service__WEBPACK_IMPORTED_MODULE_7__["EntitiesSelectService"]));
- };
- NamedEntityRefComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: NamedEntityRefComponent,
- selectors: [["evt-named-entity-ref"]],
- inputs: {
- data: "data"
- },
- decls: 6,
- vars: 18,
- consts: [[3, "ngClass", "evtHighlight", "evtHtmlAttributes", "click"], [3, "content", "editionLevel", "itemsToHighlight", "textFlow", 4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "content", "editionLevel", "itemsToHighlight", "textFlow"], [3, "class", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["loading", ""], ["class", "d-block p-2 pl-3 font-italic font-weight-light not-found-msg", 4, "ngIf"], [3, "inList", "data", 4, "ngIf"], [1, "d-block", "p-2", "pl-3", "font-italic", "font-weight-light", "not-found-msg"], [3, "inList", "data"]],
- template: function NamedEntityRefComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NamedEntityRefComponent_Template_span_click_0_listener($event) {
- return ctx.toggleEntityData($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntityRefComponent_evt_content_viewer_3_Template, 1, 4, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamedEntityRefComponent_ng_container_4_Template, 2, 1, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "async");
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("namedEntityRef ", ctx.data.entityType, " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction3"](14, _c0, ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 8, ctx.evtStatusService.currentNamedEntityId$) === ctx.data.entityId && !ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 10, ctx.availableEntities$) === false))("evtHighlight", ctx.highlightData)("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 12, ctx.availableEntities$));
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["NgClass"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__["HighlightDirective"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_10__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__["ContentViewerComponent"], _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_12__["NamedEntityComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslatePipe"]],
- styles: [".namedEntityRef[_ngcontent-%COMP%]:not(.noDetails) {\n cursor: pointer;\n}\n.namedEntityRef[_ngcontent-%COMP%]:not(.noDetails).opened {\n border-bottom: 3px solid;\n}\n.namedEntityRef[_ngcontent-%COMP%]:not(.opened):not(:hover) {\n background-color: transparent;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).person, .namedEntityRef.highlighted.person[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).person {\n background: #FFF0F1;\n border-bottom-color: #FFF0F2;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).person.active, .namedEntityRef.highlighted.person.active[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).person.active {\n background-color: #FFF0F2;\n border-right-color: #FFF0F2;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).person.active:not(:first-child), .namedEntityRef.highlighted.person.active[_ngcontent-%COMP%]:not(:first-child), .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).person.active:not(:first-child) {\n border-left-color: #FFF0F2;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).person:hover, .namedEntityRef.highlighted.person[_ngcontent-%COMP%]:hover, .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).person:hover {\n background-color: #FFF0F2;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).place, .namedEntityRef.highlighted.place[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).place {\n background: #EEF7EF;\n border-bottom-color: #c8e6c9;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).place.active, .namedEntityRef.highlighted.place.active[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).place.active {\n background-color: #c8e6c9;\n border-right-color: #c8e6c9;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).place.active:not(:first-child), .namedEntityRef.highlighted.place.active[_ngcontent-%COMP%]:not(:first-child), .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).place.active:not(:first-child) {\n border-left-color: #c8e6c9;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).place:hover, .namedEntityRef.highlighted.place[_ngcontent-%COMP%]:hover, .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).place:hover {\n background-color: #c8e6c9;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).org, .namedEntityRef.highlighted.org[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).org {\n background: #FFE9C9;\n border-bottom-color: #FFCC80;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).org.active, .namedEntityRef.highlighted.org.active[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).org.active {\n background-color: #FFCC80;\n border-right-color: #FFCC80;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).org.active:not(:first-child), .namedEntityRef.highlighted.org.active[_ngcontent-%COMP%]:not(:first-child), .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).org.active:not(:first-child) {\n border-left-color: #FFCC80;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).org:hover, .namedEntityRef.highlighted.org[_ngcontent-%COMP%]:hover, .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).org:hover {\n background-color: #FFCC80;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).event, .namedEntityRef.highlighted.event[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).event {\n background: #fffdc9;\n border-bottom-color: #ffffb0;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).event.active, .namedEntityRef.highlighted.event.active[_ngcontent-%COMP%], .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).event.active {\n background-color: #ffffb0;\n border-right-color: #ffffb0;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).event.active:not(:first-child), .namedEntityRef.highlighted.event.active[_ngcontent-%COMP%]:not(:first-child), .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).event.active:not(:first-child) {\n border-left-color: #ffffb0;\n}\n.namedEntityRef[_ngcontent-%COMP%]:hover:not(.noDetails).event:hover, .namedEntityRef.highlighted.event[_ngcontent-%COMP%]:hover, .namedEntityRef.opened[_ngcontent-%COMP%]:not(.noDetails).event:hover {\n background-color: #ffffb0;\n}\n.namedEntityRefDetail.person[_ngcontent-%COMP%] {\n background: #FFF0F1;\n}\n.namedEntityRefDetail.place[_ngcontent-%COMP%] {\n background: #EEF7EF;\n}\n.namedEntityRefDetail.org[_ngcontent-%COMP%] {\n background: #FFE9C9;\n}\n.namedEntityRefDetail.event[_ngcontent-%COMP%] {\n background: #fffdc9;\n}\n.not-found-msg[_ngcontent-%COMP%] {\n font-size: 0.9rem;\n}\n.entityHighlight[_ngcontent-%COMP%] {\n background: #ffffcc !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25hbWVkLWVudGl0eS1yZWYuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS0U7RUFDRSxlQUFBO0FBSko7QUFLSTtFQUNFLHdCQUFBO0FBSE47QUFNRTtFQUNFLDZCQUFBO0FBSko7QUFXRTs7O0VDbUJBLG1CRGxCZ0M7RUNtQmhDLDRCRG5CMEQ7QUFMNUQ7QUMwQkU7OztFQUNFLHlCRHRCd0Q7RUN1QnhELDJCRHZCd0Q7QUFDNUQ7QUN3Qkk7OztFQUNFLDBCRDFCc0Q7QUFNNUQ7QUN3QkU7OztFQUNFLHlCRC9Cd0Q7QUFXNUQ7QUFURTs7O0VDZ0JBLG1CRGZnQztFQ2dCaEMs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C1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICB9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cblxuQG1peGluIGhlYWRlclNlY3Rpb25UaXRsZSgpIHtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"]
- });
- NamedEntityRefComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntityRef"])], NamedEntityRefComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamedEntityRefComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-named-entity-ref',
- templateUrl: './named-entity-ref.component.html',
- styleUrls: ['./named-entity-ref.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"]
- }, {
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]
- }, {
- type: _services_entities_select_service__WEBPACK_IMPORTED_MODULE_7__["EntitiesSelectService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "0uBV":
- /*!***************************************************!*\
- !*** ./src/app/components/text/text.component.ts ***!
- \***************************************************/
- /*! exports provided: TextComponent */
- /***/
- function uBV(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TextComponent", function () {
- return TextComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- function TextComponent_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r0.data.text);
- }
- }
- var TextComponent = function TextComponent() {
- _classCallCheck(this, TextComponent);
- };
- TextComponent.ɵfac = function TextComponent_Factory(t) {
- return new (t || TextComponent)();
- };
- TextComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: TextComponent,
- selectors: [["evt-text"]],
- inputs: {
- data: "data"
- },
- decls: 1,
- vars: 1,
- consts: [[4, "ngIf"]],
- template: function TextComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, TextComponent_ng_container_0_Template, 2, 1, "ng-container", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ0ZXh0LmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- TextComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Text"])], TextComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](TextComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-text',
- templateUrl: './text.component.html',
- styleUrls: ['./text.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "1zBk":
- /*!***********************************************************************!*\
- !*** ./src/app/components/editorial-decl/editorial-decl.component.ts ***!
- \***********************************************************************/
- /*! exports provided: EditorialDeclComponent */
- /***/
- function zBk(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EditorialDeclComponent", function () {
- return EditorialDeclComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/header-section/header-section.component */
- "iRdJ");
- function EditorialDeclComponent_ng_container_1_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EditorialDeclComponent_ng_container_1_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EditorialDeclComponent_ng_container_1_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EditorialDeclComponent_ng_container_1_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EditorialDeclComponent_ng_container_1_ng_container_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EditorialDeclComponent_ng_container_1_ng_container_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EditorialDeclComponent_ng_container_1_ng_container_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EditorialDeclComponent_ng_container_1_ng_container_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- var _c0 = function _c0(a1) {
- return {
- label: "correction",
- items: a1,
- "class": "correction"
- };
- };
- var _c1 = function _c1(a1) {
- return {
- label: "normalization",
- items: a1,
- "class": "normalization"
- };
- };
- var _c2 = function _c2(a1) {
- return {
- label: "punctuation",
- items: a1,
- "class": "punctuation"
- };
- };
- var _c3 = function _c3(a1) {
- return {
- label: "quotation",
- items: a1,
- "class": "quotation"
- };
- };
- var _c4 = function _c4(a1) {
- return {
- label: "hyphenation",
- items: a1,
- "class": "hyphenation"
- };
- };
- var _c5 = function _c5(a1) {
- return {
- label: "segmentation",
- items: a1,
- "class": "segmentation"
- };
- };
- var _c6 = function _c6(a1) {
- return {
- label: "stdVals",
- items: a1,
- "class": "stdVals"
- };
- };
- var _c7 = function _c7(a1) {
- return {
- label: "interpretation",
- items: a1,
- "class": "interpretation"
- };
- };
- function EditorialDeclComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditorialDeclComponent_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditorialDeclComponent_ng_container_1_ng_container_2_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, EditorialDeclComponent_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, EditorialDeclComponent_ng_container_1_ng_container_4_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, EditorialDeclComponent_ng_container_1_ng_container_5_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, EditorialDeclComponent_ng_container_1_ng_container_6_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, EditorialDeclComponent_ng_container_1_ng_container_7_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, EditorialDeclComponent_ng_container_1_ng_container_8_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](16, _c0, ctx_r0.data == null ? null : ctx_r0.data.correction));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](18, _c1, ctx_r0.data == null ? null : ctx_r0.data.normalization));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](20, _c2, ctx_r0.data == null ? null : ctx_r0.data.punctuation));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](22, _c3, ctx_r0.data == null ? null : ctx_r0.data.quotation));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](24, _c4, ctx_r0.data == null ? null : ctx_r0.data.hyphenation));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](26, _c5, ctx_r0.data == null ? null : ctx_r0.data.segmentation));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](28, _c6, ctx_r0.data == null ? null : ctx_r0.data.stdVals));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](30, _c7, ctx_r0.data == null ? null : ctx_r0.data.interpretation));
- }
- }
- function EditorialDeclComponent_ng_container_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var element_r13 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r13);
- }
- }
- function EditorialDeclComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditorialDeclComponent_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.content);
- }
- }
- function EditorialDeclComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var item_r19 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r19);
- }
- }
- function EditorialDeclComponent_ng_template_3_evt_header_section_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditorialDeclComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var label_r14 = ctx_r20.label;
- var class_r16 = ctx_r20["class"];
- var items_r15 = ctx_r20.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r14)("additionalClass", class_r16)("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r15);
- }
- }
- function EditorialDeclComponent_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, EditorialDeclComponent_ng_template_3_evt_header_section_0_Template, 3, 4, "evt-header-section", 7);
- }
- if (rf & 2) {
- var items_r15 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r15 == null ? null : items_r15.length) > 0);
- }
- }
- var EditorialDeclComponent = function EditorialDeclComponent() {
- _classCallCheck(this, EditorialDeclComponent);
- };
- EditorialDeclComponent.ɵfac = function EditorialDeclComponent_Factory(t) {
- return new (t || EditorialDeclComponent)();
- };
- EditorialDeclComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: EditorialDeclComponent,
- selectors: [["evt-editorial-decl"]],
- inputs: {
- data: "data"
- },
- decls: 5,
- vars: 2,
- consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["section", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""]],
- template: function EditorialDeclComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0, 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditorialDeclComponent_ng_container_1_Template, 9, 32, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditorialDeclComponent_ng_container_2_Template, 2, 1, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, EditorialDeclComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.structuredData);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", true);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]],
- styles: [".editorialDecl[_ngcontent-%COMP%] .stdvals {\n display: inline-block;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2VkaXRvcmlhbC1kZWNsLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVRO0VBQ0kscUJBQUE7QUFEWiIsImZpbGUiOiJlZGl0b3JpYWwtZGVjbC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5lZGl0b3JpYWxEZWNsIHtcbiAgICA6Om5nLWRlZXAge1xuICAgICAgICAuc3RkdmFscyB7XG4gICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgICAgIH1cbiAgICB9XG59Il19 */"]
- });
- EditorialDeclComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["EditorialDecl"])], EditorialDeclComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](EditorialDeclComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-editorial-decl',
- templateUrl: './editorial-decl.component.html',
- styleUrls: ['./editorial-decl.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "4Z5S":
- /*!**************************************************************!*\
- !*** ./src/app/services/xml-parsers/named-entity-parsers.ts ***!
- \**************************************************************/
- /*! exports provided: namedEntitiesListsTagNamesMap, getListType, getListsToParseTagNames, NamedEntitiesListParser, NamedEntityRefParser, EntityParser, PersonParser, PersonGroupParser, PlaceParser, EventParser, OrganizationParser, EntityInfoParser, RelationParser */
- /***/
- function Z5S(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "namedEntitiesListsTagNamesMap", function () {
- return namedEntitiesListsTagNamesMap;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getListType", function () {
- return getListType;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getListsToParseTagNames", function () {
- return getListsToParseTagNames;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntitiesListParser", function () {
- return NamedEntitiesListParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntityRefParser", function () {
- return NamedEntityRefParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EntityParser", function () {
- return EntityParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PersonParser", function () {
- return PersonParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PersonGroupParser", function () {
- return PersonGroupParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PlaceParser", function () {
- return PlaceParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EventParser", function () {
- return EventParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "OrganizationParser", function () {
- return OrganizationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EntityInfoParser", function () {
- return EntityInfoParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RelationParser", function () {
- return RelationParser;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var src_app_app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! src/app/app.config */
- "aR35");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../utils/dom-utils */
- "G9+u");
- /* harmony import */
- var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../utils/xml-utils */
- "JQLQ");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var NamedEntitiesListParser_1, NamedEntityRefParser_1, PersonParser_1, PersonGroupParser_1, PlaceParser_1, OrganizationParser_1;
- var namedEntitiesListsTagNamesMap = {
- persons: 'listPerson',
- places: 'listPlace',
- organizations: 'listOrg',
- events: 'listEvent',
- occurrences: 'persName[ref], placeName[ref], orgName[ref], geogName[ref], event[ref]'
- };
- function getListType(tagName) {
- return tagName.replace('list', '').toLowerCase();
- }
- function getListsToParseTagNames() {
- var neListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.namedEntitiesLists || {};
- return Object.keys(neListsConfig).map(function (i) {
- return neListsConfig[i].enabled ? namedEntitiesListsTagNamesMap[i] : undefined;
- }).filter(function (ne) {
- return !!ne;
- });
- }
- var NamedEntitiesListParser = NamedEntitiesListParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA) {
- _inherits(NamedEntitiesListParser, _basic_parsers__WEBPA);
- var _super = _createSuper(NamedEntitiesListParser);
- function NamedEntitiesListParser() {
- var _this4;
- _classCallCheck(this, NamedEntitiesListParser);
- _this4 = _super.apply(this, arguments);
- _this4.neListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.namedEntitiesLists || {};
- _this4.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], _this4.genericParse);
- return _this4;
- }
- _createClass(NamedEntitiesListParser, [{
- key: "parse",
- value: function parse(xml) {
- var _this5 = this;
- var parsedList = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntitiesList"],
- id: xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
- label: '',
- namedEntityType: getListType(xml.tagName),
- content: [],
- sublists: [],
- originalEncoding: xml,
- relations: [],
- description: [],
- attributes: this.attributeParser.parse(xml)
- };
- var relationParse = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RelationParser, this.genericParse);
- xml.childNodes.forEach(function (child) {
- if (child.nodeType === 1) {
- switch (child.tagName.toLowerCase()) {
- case 'head':
- parsedList.label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(child.textContent);
- break;
- case 'desc':
- parsedList.description.push(_this5.genericParse(child));
- break;
- case 'relation':
- if (_this5.neListsConfig.relations.enabled) {
- parsedList.relations.push(relationParse.parse(child));
- }
- break;
- case 'listrelation':
- if (_this5.neListsConfig.relations.enabled) {
- child.querySelectorAll('relation').forEach(function (r) {
- return parsedList.relations.push(relationParse.parse(r));
- });
- }
- break;
- default:
- if (getListsToParseTagNames().indexOf(child.tagName) >= 0) {
- var subListParser = ___WEBPACK_IMPORTED_MODULE_2__["ParserRegister"].get('evt-named-entities-list-parser');
- var parsedSubList = subListParser.parse(child);
- parsedList.sublists.push(parsedSubList);
- parsedList.content = parsedList.content.concat(parsedSubList.content);
- parsedList.relations = parsedList.relations.concat(parsedSubList.relations);
- } else {
- parsedList.content.push(_this5.genericParse(child));
- }
- }
- }
- });
- parsedList.label = parsedList.label || xml.getAttribute('type') || "List of ".concat(parsedList.namedEntityType);
- return parsedList;
- }
- }]);
- return NamedEntitiesListParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- NamedEntitiesListParser = NamedEntitiesListParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-named-entities-list-parser', NamedEntitiesListParser_1)], NamedEntitiesListParser);
- var NamedEntityRefParser = NamedEntityRefParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA2) {
- _inherits(NamedEntityRefParser, _basic_parsers__WEBPA2);
- var _super2 = _createSuper(NamedEntityRefParser);
- function NamedEntityRefParser() {
- var _this6;
- _classCallCheck(this, NamedEntityRefParser);
- _this6 = _super2.apply(this, arguments);
- _this6.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["GenericElemParser"], _this6.genericParse);
- _this6.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], _this6.genericParse);
- return _this6;
- }
- _createClass(NamedEntityRefParser, [{
- key: "parse",
- value: function parse(xml) {
- var ref = xml.getAttribute('ref');
- if (!ref) {
- return this.elementParser.parse(xml);
- }
- var neTypeMap = {
- placename: 'place',
- geogname: 'place',
- persname: 'person',
- orgname: 'org',
- event: 'event'
- };
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntityRef"],
- entityId: getEntityID(ref),
- entityType: neTypeMap[xml.tagName.toLowerCase()],
- path: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["parseChildren"])(xml, this.genericParse),
- attributes: this.attributeParser.parse(xml),
- "class": xml.tagName.toLowerCase()
- };
- }
- }]);
- return NamedEntityRefParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- NamedEntityRefParser = NamedEntityRefParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-named-entity-parser', NamedEntityRefParser_1)], NamedEntityRefParser); // Generic entity parser
- var EntityParser = /*#__PURE__*/function (_basic_parsers__WEBPA3) {
- _inherits(EntityParser, _basic_parsers__WEBPA3);
- var _super3 = _createSuper(EntityParser);
- function EntityParser() {
- var _this7;
- _classCallCheck(this, EntityParser);
- _this7 = _super3.apply(this, arguments); // TODO: try to refactor subclasses to use a function parameter to get labels
- _this7.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeMapParser"], _this7.genericParse);
- return _this7;
- }
- _createClass(EntityParser, [{
- key: "parse",
- value: function parse(xml) {
- var _this8 = this;
- var elId = xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml);
- var label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(xml.textContent) || 'No info';
- var entity = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntity"],
- id: elId,
- sortKey: xml.getAttribute('sortKey') || (label ? label[0] : '') || xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
- originalEncoding: xml,
- label: label,
- namedEntityType: this.getEntityType(xml.tagName),
- content: Array.from(xml.children).map(function (subchild) {
- return _this8.parseEntityInfo(subchild);
- }),
- attributes: this.attributeParsers.parse(xml)
- };
- return entity;
- }
- }, {
- key: "parseEntityInfo",
- value: function parseEntityInfo(xml) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntityInfo"],
- label: xml.nodeType === 1 ? xml.tagName.toLowerCase() : 'info',
- content: [this.genericParse(xml)],
- attributes: xml.nodeType === 1 ? this.attributeParsers.parse(xml) : {}
- };
- }
- }, {
- key: "getEntityType",
- value: function getEntityType(tagName) {
- return tagName.toLowerCase();
- }
- }]);
- return EntityParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- var PersonParser = PersonParser_1 = /*#__PURE__*/function (_EntityParser) {
- _inherits(PersonParser, _EntityParser);
- var _super4 = _createSuper(PersonParser);
- function PersonParser() {
- _classCallCheck(this, PersonParser);
- return _super4.apply(this, arguments);
- }
- _createClass(PersonParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(PersonParser.prototype), "parse", this).call(this, xml)), {
- label: this.getLabel(xml)
- });
- }
- }, {
- key: "getLabel",
- value: function getLabel(xml) {
- var nameElement = xml.querySelector('name');
- var forenameElement = xml.querySelector('forename');
- var surnameElement = xml.querySelector('surname');
- var persNameElement = xml.querySelector('persName');
- var occupationElement = xml.querySelector('occupation');
- var label = 'No info';
- if (persNameElement) {
- label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(persNameElement.textContent) || 'No info';
- } else if (forenameElement || surnameElement) {
- label += forenameElement ? "".concat(Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(forenameElement.textContent), " ") : '';
- label += surnameElement ? "".concat(Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(surnameElement.textContent), " ") : '';
- } else if (nameElement) {
- label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(nameElement.textContent) || 'No info';
- } else {
- label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(xml.textContent) || 'No info';
- }
- label += occupationElement ? " (".concat(Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(occupationElement.textContent), ")") : '';
- return label;
- }
- }]);
- return PersonParser;
- }(EntityParser);
- PersonParser = PersonParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('person', PersonParser_1)], PersonParser);
- var PersonGroupParser = PersonGroupParser_1 = /*#__PURE__*/function (_EntityParser2) {
- _inherits(PersonGroupParser, _EntityParser2);
- var _super5 = _createSuper(PersonGroupParser);
- function PersonGroupParser() {
- _classCallCheck(this, PersonGroupParser);
- return _super5.apply(this, arguments);
- }
- _createClass(PersonGroupParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(PersonGroupParser.prototype), "parse", this).call(this, xml)), {
- label: this.getLabel(xml)
- });
- }
- }, {
- key: "getLabel",
- value: function getLabel(xml) {
- var role = xml.getAttribute('role');
- var label = 'No info';
- if (role) {
- label = role.trim();
- } else {
- label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(xml.textContent) || 'No info';
- }
- return label;
- }
- }]);
- return PersonGroupParser;
- }(EntityParser);
- PersonGroupParser = PersonGroupParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('personGrp', PersonGroupParser_1)], PersonGroupParser);
- var PlaceParser = PlaceParser_1 = /*#__PURE__*/function (_EntityParser3) {
- _inherits(PlaceParser, _EntityParser3);
- var _super6 = _createSuper(PlaceParser);
- function PlaceParser() {
- _classCallCheck(this, PlaceParser);
- return _super6.apply(this, arguments);
- }
- _createClass(PlaceParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(PlaceParser.prototype), "parse", this).call(this, xml)), {
- label: this.getLabel(xml)
- });
- }
- }, {
- key: "getLabel",
- value: function getLabel(xml) {
- var placeNameElement = xml.querySelector('placeName');
- var settlementElement = xml.querySelector('settlement');
- var label = 'No info';
- if (placeNameElement) {
- label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(placeNameElement.textContent) || 'No info';
- } else if (settlementElement) {
- label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(settlementElement.textContent) || 'No info';
- }
- return label;
- }
- }]);
- return PlaceParser;
- }(EntityParser);
- PlaceParser = PlaceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('place', PlaceParser_1)], PlaceParser);
- var EventParser = /*#__PURE__*/function (_EntityParser4) {
- _inherits(EventParser, _EntityParser4);
- var _super7 = _createSuper(EventParser);
- function EventParser() {
- _classCallCheck(this, EventParser);
- return _super7.apply(this, arguments);
- }
- _createClass(EventParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(EventParser.prototype), "parse", this).call(this, xml)), {
- label: textLabel('label', xml)
- });
- }
- }, {
- key: "getLabel",
- value: function getLabel(xml) {
- var eventLabelElement = xml.querySelector('label');
- return (eventLabelElement ? Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(eventLabelElement.textContent) : '') || 'No info';
- }
- }]);
- return EventParser;
- }(EntityParser);
- var OrganizationParser = OrganizationParser_1 = /*#__PURE__*/function (_EntityParser5) {
- _inherits(OrganizationParser, _EntityParser5);
- var _super8 = _createSuper(OrganizationParser);
- function OrganizationParser() {
- _classCallCheck(this, OrganizationParser);
- return _super8.apply(this, arguments);
- }
- _createClass(OrganizationParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(OrganizationParser.prototype), "parse", this).call(this, xml)), {
- label: textLabel('orgName', xml)
- });
- }
- }]);
- return OrganizationParser;
- }(EntityParser);
- OrganizationParser = OrganizationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('org', OrganizationParser_1)], OrganizationParser);
- var EntityInfoParser = /*#__PURE__*/function (_basic_parsers__WEBPA4) {
- _inherits(EntityInfoParser, _basic_parsers__WEBPA4);
- var _super9 = _createSuper(EntityInfoParser);
- function EntityInfoParser() {
- var _this9;
- _classCallCheck(this, EntityInfoParser);
- _this9 = _super9.apply(this, arguments);
- _this9.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], _this9.genericParse);
- return _this9;
- }
- _createClass(EntityInfoParser, [{
- key: "parse",
- value: function parse(xml) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntityInfo"],
- label: xml.nodeType === 1 ? xml.tagName.toLowerCase() : 'info',
- content: [this.genericParse(xml)],
- attributes: xml.nodeType === 1 ? this.attributeParsers.parse(xml) : {}
- };
- }
- }]);
- return EntityInfoParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- var RelationParser = /*#__PURE__*/function (_basic_parsers__WEBPA5) {
- _inherits(RelationParser, _basic_parsers__WEBPA5);
- var _super10 = _createSuper(RelationParser);
- function RelationParser() {
- var _this10;
- _classCallCheck(this, RelationParser);
- _this10 = _super10.apply(this, arguments);
- _this10.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], _this10.genericParse);
- _this10.entityInfoParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(EntityInfoParser, _this10.genericParse);
- _this10.textParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["TextParser"], _this10.genericParse);
- return _this10;
- }
- _createClass(RelationParser, [{
- key: "parse",
- value: function parse(xml) {
- var _this11 = this;
- var descriptionEls = xml.querySelectorAll('desc');
- var attributes = this.attributeParsers.parse(xml);
- var name = attributes.name,
- type = attributes.type;
- var active = xml.getAttribute('active') || ''; // TODO: make get attributes return '' as default?
- var mutual = xml.getAttribute('mutual') || '';
- var passive = xml.getAttribute('passive') || '';
- var relation = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Relation"],
- name: name,
- activeParts: active.replace(/#/g, '').split(' '),
- mutualParts: mutual.replace(/#/g, '').split(' '),
- passiveParts: passive.replace(/#/g, '').split(' '),
- relationType: type,
- attributes: attributes,
- content: Array.from(xml.children).map(function (subchild) {
- return _this11.entityInfoParser.parse(subchild);
- }),
- description: []
- };
- if (descriptionEls && descriptionEls.length > 0) {
- descriptionEls.forEach(function (el) {
- return relation.description.push(_this11.genericParse(el));
- });
- } else {
- relation.description = [this.textParser.parse(xml)];
- }
- var parentListEl = xml.parentElement.tagName === 'listRelation' ? xml.parentElement : undefined;
- if (parentListEl) {
- relation.relationType = "".concat(parentListEl.getAttribute('type') || '', " ").concat(relation.relationType || '').trim();
- }
- return relation;
- }
- }]);
- return RelationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- function getEntityID(ref) {
- return ref ? ref.replace(/#/g, '') : '';
- }
- function textLabel(elemName, xml) {
- var el = xml.querySelector(elemName);
- return (el ? Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(el.textContent) : '') || 'No info';
- }
- /***/
- },
- /***/
- "5DHf":
- /*!******************************************************************!*\
- !*** ./src/app/services/xml-parsers/witnesses-parser.service.ts ***!
- \******************************************************************/
- /*! exports provided: WitnessesParserService */
- /***/
- function DHf(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "WitnessesParserService", function () {
- return WitnessesParserService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../utils/dom-utils */
- "G9+u");
- /* harmony import */
- var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../utils/xml-utils */
- "JQLQ");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- /* harmony import */
- var _generic_parser_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./generic-parser.service */
- "xdSp");
- var WitnessesParserService = /*#__PURE__*/function () {
- function WitnessesParserService(genericParserService) {
- _classCallCheck(this, WitnessesParserService);
- this.genericParserService = genericParserService;
- this.witListTagName = 'listWit';
- this.witTagName = 'witness';
- this.witNameAttr = 'type="siglum"';
- this.groupTagName = 'head';
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["AttributeParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
- }
- _createClass(WitnessesParserService, [{
- key: "parseWitnessesData",
- value: function parseWitnessesData(document) {
- var lists = Array.from(document.querySelectorAll(this.witListTagName));
- return {
- witnesses: this.parseWitnessesList(lists),
- groups: this.parseWitnessesGroups(lists)
- };
- }
- }, {
- key: "parseWitnessesList",
- value: function parseWitnessesList(lists) {
- var _this12 = this;
- var parsedList = lists.filter(function (list) {
- return !Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(list, list.tagName);
- }).map(function (list) {
- return _this12.parseWitnesses(list);
- }).reduce(function (x, y) {
- return x.concat(y);
- }, []);
- return parsedList;
- }
- }, {
- key: "parseWitnesses",
- value: function parseWitnesses(list) {
- var _this13 = this;
- return Array.from(list.querySelectorAll(this.witTagName)).map(function (wit) {
- return _this13.parseWitness(wit);
- });
- }
- }, {
- key: "parseWitness",
- value: function parseWitness(wit) {
- var id = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(wit);
- return {
- id: id,
- name: this.parseWitnessName(wit) || id,
- attributes: this.attributeParser.parse(wit),
- content: this.parseWitnessContent(wit),
- groupId: this.parseParentGroupId(wit)
- };
- }
- }, {
- key: "parseWitnessName",
- value: function parseWitnessName(wit) {
- var _this14 = this;
- // TODO use ‘?’ operator after update tu angular 9
- var witNameEl = wit.querySelector("*[".concat(this.witNameAttr, "]"));
- if (witNameEl) {
- return Array.from(witNameEl.childNodes).map(function (child) {
- return _this14.genericParserService.parse(child);
- });
- }
- return witNameEl;
- }
- }, {
- key: "parseWitnessContent",
- value: function parseWitnessContent(wit) {
- var _this15 = this;
- return Array.from(wit.childNodes).filter(function (child) {
- return child.nodeName !== _this15.witListTagName && child.textContent.trim().length !== 0;
- }).map(function (child) {
- return _this15.genericParserService.parse(child);
- });
- }
- }, {
- key: "parseWitnessesGroups",
- value: function parseWitnessesGroups(lists) {
- var _this16 = this;
- var parsedGroups = lists.filter(function (list) {
- return Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(list, list.tagName);
- }).map(function (list) {
- return _this16.parseWitnessGroup(list);
- });
- return parsedGroups;
- }
- }, {
- key: "parseWitnessGroup",
- value: function parseWitnessGroup(list) {
- return {
- id: list.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["xpath"])(list),
- name: this.parseGroupName(list) || Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_3__["replaceNotWordChar"])(list.getAttribute('xml:id')) || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["xpath"])(list),
- attributes: this.attributeParser.parse(list),
- witnesses: this.parseGroupWitnesses(list),
- groupId: this.parseParentGroupId(list)
- };
- }
- }, {
- key: "parseGroupName",
- value: function parseGroupName(list) {
- var _this17 = this;
- var groupEl = Array.from(list.children).find(function (child) {
- return child.nodeName === _this17.groupTagName;
- });
- return groupEl && groupEl.textContent;
- }
- }, {
- key: "parseGroupWitnesses",
- value: function parseGroupWitnesses(list) {
- var _this18 = this;
- return Array.from(list.children).filter(function (_ref) {
- var nodeName = _ref.nodeName;
- return nodeName === _this18.witListTagName || nodeName === _this18.witTagName;
- }).map(function (child) {
- return child.getAttribute('xml:id');
- });
- }
- }, {
- key: "parseParentGroupId",
- value: function parseParentGroupId(element) {
- var parentEl = element.parentElement;
- do {
- if (Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(parentEl, this.witListTagName) && parentEl.tagName === this.witListTagName) {
- return parentEl.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["xpath"])(parentEl);
- }
- parentEl = parentEl.parentElement;
- } while (parentEl.matches(this.witListTagName));
- }
- }]);
- return WitnessesParserService;
- }();
- WitnessesParserService.ɵfac = function WitnessesParserService_Factory(t) {
- return new (t || WitnessesParserService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_generic_parser_service__WEBPACK_IMPORTED_MODULE_6__["GenericParserService"]));
- };
- WitnessesParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: WitnessesParserService,
- factory: WitnessesParserService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](WitnessesParserService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: _generic_parser_service__WEBPACK_IMPORTED_MODULE_6__["GenericParserService"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "5b7e":
- /*!************************************************!*\
- !*** ./src/app/evt-info/evt-info.component.ts ***!
- \************************************************/
- /*! exports provided: EvtInfoComponent */
- /***/
- function b7e(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EvtInfoComponent", function () {
- return EvtInfoComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- var EvtInfoComponent = function EvtInfoComponent() {
- _classCallCheck(this, EvtInfoComponent);
- };
- EvtInfoComponent.ɵfac = function EvtInfoComponent_Factory(t) {
- return new (t || EvtInfoComponent)();
- };
- EvtInfoComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: EvtInfoComponent,
- selectors: [["evt-evt-info"]],
- decls: 32,
- vars: 0,
- consts: [["id", "EVTinfo_content", 1, "dialog_cont_inner"], ["href", "http://pelavicino.labcd.unipi.it/", "target", "blank"], ["href", "http://vbd.humnet.unipi.it/", "target", "blank"], ["href", "https://sourceforge.net/p/evt-project/", "target", "blank"], ["href", "mailto:roberto.rossellidelturco@gmail.com", "target", "_top"], ["href", "http://evt.labcd.unipi.it/"], ["href", "mailto:evt.developers@gmail.com"]],
- template: function EvtInfoComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "p");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "EVT (Edition Visualization Technology) is a software for creating and browsing digital editions of manuscripts based on text encoded according to the TEI XML schemas and Guidelines. This tool was born as part of the DVB (Digital Vercelli Book) project in order to allow the creation of a digital edition of the Vercelli Book, a parchment codex of the late tenth century, now preserved in the Archivio e Biblioteca Capitolare of Vercelli and regarded as one of the four most important manuscripts of the Anglo-Saxon period as regards the transmission of poetic texts in the Old English language. ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "To ensure that it will be working on all the most recent web browsers, and for as long as possible on the World Wide Web itself, EVT is built on open and standard web technologies such as HTML, CSS and JavaScript. Specific features, such as the magnifying lens, are entrusted to jQuery plugins, again chosen among the open source and best supported ones to reduce the risk of future incompatibilities. The general architecture of the software, in any case, is modular, so that any component which may cause trouble or turn out to be not completely up to the task can be replaced easily. ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "p");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6, "For more information about how to use and/or customize EVT please refer to the EVT Manual included in the archive you downloaded, in the \"doc\" folder. ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "p");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8, "EVT is used in the following projects:");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "ul");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "a", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, "Codice Pelavicino Digitale");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "a", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15, "Vercelli Book Digitale");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "p");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](17, "EVT has a home page in the ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "a", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](19, "SourceForge");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20, " repository, but development is done on Gitlab and Github: if you are interested in learning more about EVT and/or in adapting it to your specific needs please contact the project Director, Roberto Rosselli Del Turco ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "a", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22, "roberto.rossellidelturco@gmail.com");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](23, ". ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "p");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25, "For more information please visit our web page at ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "a", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](27, "http://evt.labcd.unipi.it/");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "p");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](29, "If you have any suggestions or spot an error/bug please contact us at ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](30, "a", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](31, "evt.developers@gmail.com");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- },
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJldnQtaW5mby5jb21wb25lbnQuc2NzcyJ9 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EvtInfoComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-evt-info',
- templateUrl: './evt-info.component.html',
- styleUrls: ['./evt-info.component.scss']
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "5c0l":
- /*!**************************************!*\
- !*** ./src/app/models/evt-models.ts ***!
- \**************************************/
- /*! exports provided: GenericElement, NamedEntitiesList, NamedEntity, LemmatizedEntitiesList, LemmatizedEntity, LemmatizedEntityInfo, LemmatizedEntityRef, NamedEntityInfo, Relation, NamedEntityRef, ApparatusEntry, LemEntry, Reading, Text, Note, Paragraph, Lb, Surface, Zone, ZoneLine, ZoneHotSpot, Graphic, Char, G, Choice, Verse, VersesGroup, Supplied, Damage, Surplus, Gap, Addition, Sic, Word, Deletion, MsFrag, MsPart, MsDesc, Identifier, AltIdentifier, MsIdentifier, MsContents, PhysDesc, History, Head, Institution, Repository, MsName, CollectionEl, MsItemStruct, MsItem, Summary, Acquisition, Origin, OrigDate, OrigPlace, Provenance, ObjectDesc, LayoutDesc, Layout, SupportDesc, Condition, Collation, Foliation, Support, BindingDesc, Binding, DecoDesc, Additions, HandDesc, ScriptDesc, Seal, SealDesc, TypeDesc, TypeNote, MusicNotation, AccMat, Additional, AdminInfo, CustodialHist, CustEvent, RecordHist, Source, Surrogates, Rubric, FinalRubric, Incipit, Explicit, Locus, LocusGrp, DecoNote, Filiation, Dimensions, Height, Width, Depth, Dim, FileDesc, TitleStmt, RespStmt, Resp, EditionStmt, PublicationStmt, SeriesStmt, NotesStmt, SourceDesc, Extent, EncodingDesc, ProjectDesc, SamplingDecl, Correction, Normalization, Punctuation, Quotation, Hyphenation, Segmentation, StdVals, Interpretation, EditorialDecl, Rendition, TagUsage, Namespace, TagsDecl, RefsDecl, RefState, CRefPattern, Abstract, Calendar, CalendarDesc, CorrespAction, CorrespContext, CorrespDesc, Creation, Language, LangUsage, CatRef, ClassCode, Term, Keywords, TextClass, HandNote, HandNotes, Ptr, Transpose, ListTranspose, Channel, Constitution, Derivation, Domain, Factuality, Interaction, Preparedness, Purpose, TextDesc, ParticDesc, Setting, SettingDesc, ProfileDesc, Change, ListChange, RevisionDesc, ProjectInfo */
- /***/
- function c0l(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GenericElement", function () {
- return GenericElement;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntitiesList", function () {
- return NamedEntitiesList;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntity", function () {
- return NamedEntity;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntitiesList", function () {
- return LemmatizedEntitiesList;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntity", function () {
- return LemmatizedEntity;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntityInfo", function () {
- return LemmatizedEntityInfo;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntityRef", function () {
- return LemmatizedEntityRef;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntityInfo", function () {
- return NamedEntityInfo;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Relation", function () {
- return Relation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntityRef", function () {
- return NamedEntityRef;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ApparatusEntry", function () {
- return ApparatusEntry;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemEntry", function () {
- return LemEntry;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Reading", function () {
- return Reading;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Text", function () {
- return Text;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Note", function () {
- return Note;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Paragraph", function () {
- return Paragraph;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Lb", function () {
- return Lb;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Surface", function () {
- return Surface;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Zone", function () {
- return Zone;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ZoneLine", function () {
- return ZoneLine;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ZoneHotSpot", function () {
- return ZoneHotSpot;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Graphic", function () {
- return Graphic;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Char", function () {
- return Char;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "G", function () {
- return G;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Choice", function () {
- return Choice;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Verse", function () {
- return Verse;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "VersesGroup", function () {
- return VersesGroup;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Supplied", function () {
- return Supplied;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Damage", function () {
- return Damage;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Surplus", function () {
- return Surplus;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Gap", function () {
- return Gap;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Addition", function () {
- return Addition;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Sic", function () {
- return Sic;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Word", function () {
- return Word;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Deletion", function () {
- return Deletion;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsFrag", function () {
- return MsFrag;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsPart", function () {
- return MsPart;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsDesc", function () {
- return MsDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Identifier", function () {
- return Identifier;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AltIdentifier", function () {
- return AltIdentifier;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsIdentifier", function () {
- return MsIdentifier;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsContents", function () {
- return MsContents;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PhysDesc", function () {
- return PhysDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "History", function () {
- return History;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Head", function () {
- return Head;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Institution", function () {
- return Institution;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Repository", function () {
- return Repository;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsName", function () {
- return MsName;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CollectionEl", function () {
- return CollectionEl;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsItemStruct", function () {
- return MsItemStruct;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsItem", function () {
- return MsItem;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Summary", function () {
- return Summary;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Acquisition", function () {
- return Acquisition;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Origin", function () {
- return Origin;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "OrigDate", function () {
- return OrigDate;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "OrigPlace", function () {
- return OrigPlace;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Provenance", function () {
- return Provenance;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ObjectDesc", function () {
- return ObjectDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LayoutDesc", function () {
- return LayoutDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Layout", function () {
- return Layout;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SupportDesc", function () {
- return SupportDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Condition", function () {
- return Condition;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Collation", function () {
- return Collation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Foliation", function () {
- return Foliation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Support", function () {
- return Support;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "BindingDesc", function () {
- return BindingDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Binding", function () {
- return Binding;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DecoDesc", function () {
- return DecoDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Additions", function () {
- return Additions;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HandDesc", function () {
- return HandDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ScriptDesc", function () {
- return ScriptDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Seal", function () {
- return Seal;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SealDesc", function () {
- return SealDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TypeDesc", function () {
- return TypeDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TypeNote", function () {
- return TypeNote;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MusicNotation", function () {
- return MusicNotation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AccMat", function () {
- return AccMat;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Additional", function () {
- return Additional;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AdminInfo", function () {
- return AdminInfo;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CustodialHist", function () {
- return CustodialHist;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CustEvent", function () {
- return CustEvent;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RecordHist", function () {
- return RecordHist;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Source", function () {
- return Source;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Surrogates", function () {
- return Surrogates;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Rubric", function () {
- return Rubric;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "FinalRubric", function () {
- return FinalRubric;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Incipit", function () {
- return Incipit;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Explicit", function () {
- return Explicit;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Locus", function () {
- return Locus;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LocusGrp", function () {
- return LocusGrp;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DecoNote", function () {
- return DecoNote;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Filiation", function () {
- return Filiation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Dimensions", function () {
- return Dimensions;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Height", function () {
- return Height;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Width", function () {
- return Width;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Depth", function () {
- return Depth;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Dim", function () {
- return Dim;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "FileDesc", function () {
- return FileDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TitleStmt", function () {
- return TitleStmt;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RespStmt", function () {
- return RespStmt;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Resp", function () {
- return Resp;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EditionStmt", function () {
- return EditionStmt;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PublicationStmt", function () {
- return PublicationStmt;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SeriesStmt", function () {
- return SeriesStmt;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NotesStmt", function () {
- return NotesStmt;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SourceDesc", function () {
- return SourceDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Extent", function () {
- return Extent;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EncodingDesc", function () {
- return EncodingDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ProjectDesc", function () {
- return ProjectDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SamplingDecl", function () {
- return SamplingDecl;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Correction", function () {
- return Correction;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Normalization", function () {
- return Normalization;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Punctuation", function () {
- return Punctuation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Quotation", function () {
- return Quotation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Hyphenation", function () {
- return Hyphenation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Segmentation", function () {
- return Segmentation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "StdVals", function () {
- return StdVals;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Interpretation", function () {
- return Interpretation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EditorialDecl", function () {
- return EditorialDecl;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Rendition", function () {
- return Rendition;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TagUsage", function () {
- return TagUsage;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Namespace", function () {
- return Namespace;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TagsDecl", function () {
- return TagsDecl;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RefsDecl", function () {
- return RefsDecl;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RefState", function () {
- return RefState;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CRefPattern", function () {
- return CRefPattern;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Abstract", function () {
- return Abstract;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Calendar", function () {
- return Calendar;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CalendarDesc", function () {
- return CalendarDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CorrespAction", function () {
- return CorrespAction;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CorrespContext", function () {
- return CorrespContext;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CorrespDesc", function () {
- return CorrespDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Creation", function () {
- return Creation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Language", function () {
- return Language;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LangUsage", function () {
- return LangUsage;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CatRef", function () {
- return CatRef;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ClassCode", function () {
- return ClassCode;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Term", function () {
- return Term;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Keywords", function () {
- return Keywords;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TextClass", function () {
- return TextClass;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HandNote", function () {
- return HandNote;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HandNotes", function () {
- return HandNotes;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Ptr", function () {
- return Ptr;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Transpose", function () {
- return Transpose;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ListTranspose", function () {
- return ListTranspose;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Channel", function () {
- return Channel;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Constitution", function () {
- return Constitution;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Derivation", function () {
- return Derivation;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Domain", function () {
- return Domain;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Factuality", function () {
- return Factuality;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Interaction", function () {
- return Interaction;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Preparedness", function () {
- return Preparedness;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Purpose", function () {
- return Purpose;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TextDesc", function () {
- return TextDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ParticDesc", function () {
- return ParticDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Setting", function () {
- return Setting;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SettingDesc", function () {
- return SettingDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ProfileDesc", function () {
- return ProfileDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Change", function () {
- return Change;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ListChange", function () {
- return ListChange;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RevisionDesc", function () {
- return RevisionDesc;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ProjectInfo", function () {
- return ProjectInfo;
- });
- var GenericElement = function GenericElement() {
- _classCallCheck(this, GenericElement);
- };
- var NamedEntitiesList = /*#__PURE__*/function (_GenericElement) {
- _inherits(NamedEntitiesList, _GenericElement);
- var _super11 = _createSuper(NamedEntitiesList);
- function NamedEntitiesList() {
- _classCallCheck(this, NamedEntitiesList);
- return _super11.apply(this, arguments);
- }
- return NamedEntitiesList;
- }(GenericElement);
- var NamedEntity = /*#__PURE__*/function (_GenericElement2) {
- _inherits(NamedEntity, _GenericElement2);
- var _super12 = _createSuper(NamedEntity);
- function NamedEntity() {
- _classCallCheck(this, NamedEntity);
- return _super12.apply(this, arguments);
- }
- return NamedEntity;
- }(GenericElement);
- var LemmatizedEntitiesList = /*#__PURE__*/function (_GenericElement3) {
- _inherits(LemmatizedEntitiesList, _GenericElement3);
- var _super13 = _createSuper(LemmatizedEntitiesList);
- function LemmatizedEntitiesList() {
- _classCallCheck(this, LemmatizedEntitiesList);
- return _super13.apply(this, arguments);
- }
- return LemmatizedEntitiesList;
- }(GenericElement);
- var LemmatizedEntity = /*#__PURE__*/function (_GenericElement4) {
- _inherits(LemmatizedEntity, _GenericElement4);
- var _super14 = _createSuper(LemmatizedEntity);
- function LemmatizedEntity() {
- _classCallCheck(this, LemmatizedEntity);
- return _super14.apply(this, arguments);
- }
- return LemmatizedEntity;
- }(GenericElement);
- var LemmatizedEntityInfo = /*#__PURE__*/function (_GenericElement5) {
- _inherits(LemmatizedEntityInfo, _GenericElement5);
- var _super15 = _createSuper(LemmatizedEntityInfo);
- function LemmatizedEntityInfo() {
- _classCallCheck(this, LemmatizedEntityInfo);
- return _super15.apply(this, arguments);
- }
- return LemmatizedEntityInfo;
- }(GenericElement);
- var LemmatizedEntityRef = /*#__PURE__*/function (_GenericElement6) {
- _inherits(LemmatizedEntityRef, _GenericElement6);
- var _super16 = _createSuper(LemmatizedEntityRef);
- function LemmatizedEntityRef() {
- _classCallCheck(this, LemmatizedEntityRef);
- return _super16.apply(this, arguments);
- }
- return LemmatizedEntityRef;
- }(GenericElement);
- var NamedEntityInfo = /*#__PURE__*/function (_GenericElement7) {
- _inherits(NamedEntityInfo, _GenericElement7);
- var _super17 = _createSuper(NamedEntityInfo);
- function NamedEntityInfo() {
- _classCallCheck(this, NamedEntityInfo);
- return _super17.apply(this, arguments);
- }
- return NamedEntityInfo;
- }(GenericElement);
- var Relation = /*#__PURE__*/function (_GenericElement8) {
- _inherits(Relation, _GenericElement8);
- var _super18 = _createSuper(Relation);
- function Relation() {
- _classCallCheck(this, Relation);
- return _super18.apply(this, arguments);
- }
- return Relation;
- }(GenericElement);
- var NamedEntityRef = /*#__PURE__*/function (_GenericElement9) {
- _inherits(NamedEntityRef, _GenericElement9);
- var _super19 = _createSuper(NamedEntityRef);
- function NamedEntityRef() {
- _classCallCheck(this, NamedEntityRef);
- return _super19.apply(this, arguments);
- }
- return NamedEntityRef;
- }(GenericElement);
- var ApparatusEntry = /*#__PURE__*/function (_GenericElement10) {
- _inherits(ApparatusEntry, _GenericElement10);
- var _super20 = _createSuper(ApparatusEntry);
- function ApparatusEntry() {
- _classCallCheck(this, ApparatusEntry);
- return _super20.apply(this, arguments);
- }
- return ApparatusEntry;
- }(GenericElement);
- /* add LemEntry FS */
- var LemEntry = /*#__PURE__*/function (_GenericElement11) {
- _inherits(LemEntry, _GenericElement11);
- var _super21 = _createSuper(LemEntry);
- function LemEntry() {
- _classCallCheck(this, LemEntry);
- return _super21.apply(this, arguments);
- }
- return LemEntry;
- }(GenericElement);
- var Reading = /*#__PURE__*/function (_GenericElement12) {
- _inherits(Reading, _GenericElement12);
- var _super22 = _createSuper(Reading);
- function Reading() {
- _classCallCheck(this, Reading);
- return _super22.apply(this, arguments);
- }
- return Reading;
- }(GenericElement);
- var Text = /*#__PURE__*/function (_GenericElement13) {
- _inherits(Text, _GenericElement13);
- var _super23 = _createSuper(Text);
- function Text() {
- _classCallCheck(this, Text);
- return _super23.apply(this, arguments);
- }
- return Text;
- }(GenericElement);
- var Note = /*#__PURE__*/function (_GenericElement14) {
- _inherits(Note, _GenericElement14);
- var _super24 = _createSuper(Note);
- function Note() {
- _classCallCheck(this, Note);
- return _super24.apply(this, arguments);
- }
- return Note;
- }(GenericElement);
- var Paragraph = /*#__PURE__*/function (_GenericElement15) {
- _inherits(Paragraph, _GenericElement15);
- var _super25 = _createSuper(Paragraph);
- function Paragraph() {
- _classCallCheck(this, Paragraph);
- return _super25.apply(this, arguments);
- }
- return Paragraph;
- }(GenericElement);
- var Lb = /*#__PURE__*/function (_GenericElement16) {
- _inherits(Lb, _GenericElement16);
- var _super26 = _createSuper(Lb);
- function Lb() {
- _classCallCheck(this, Lb);
- return _super26.apply(this, arguments);
- }
- return Lb;
- }(GenericElement);
- var Surface = /*#__PURE__*/function (_GenericElement17) {
- _inherits(Surface, _GenericElement17);
- var _super27 = _createSuper(Surface);
- function Surface() {
- _classCallCheck(this, Surface);
- return _super27.apply(this, arguments);
- }
- return Surface;
- }(GenericElement);
- var Zone = /*#__PURE__*/function (_GenericElement18) {
- _inherits(Zone, _GenericElement18);
- var _super28 = _createSuper(Zone);
- function Zone() {
- _classCallCheck(this, Zone);
- return _super28.apply(this, arguments);
- }
- return Zone;
- }(GenericElement);
- var ZoneLine = /*#__PURE__*/function (_Zone) {
- _inherits(ZoneLine, _Zone);
- var _super29 = _createSuper(ZoneLine);
- function ZoneLine() {
- _classCallCheck(this, ZoneLine);
- return _super29.apply(this, arguments);
- }
- return ZoneLine;
- }(Zone);
- var ZoneHotSpot = /*#__PURE__*/function (_Zone2) {
- _inherits(ZoneHotSpot, _Zone2);
- var _super30 = _createSuper(ZoneHotSpot);
- function ZoneHotSpot() {
- _classCallCheck(this, ZoneHotSpot);
- return _super30.apply(this, arguments);
- }
- return ZoneHotSpot;
- }(Zone);
- var Graphic = /*#__PURE__*/function (_GenericElement19) {
- _inherits(Graphic, _GenericElement19);
- var _super31 = _createSuper(Graphic);
- function Graphic() {
- _classCallCheck(this, Graphic);
- return _super31.apply(this, arguments);
- }
- return Graphic;
- }(GenericElement);
- var Char = /*#__PURE__*/function (_GenericElement20) {
- _inherits(Char, _GenericElement20);
- var _super32 = _createSuper(Char);
- function Char() {
- _classCallCheck(this, Char);
- return _super32.apply(this, arguments);
- }
- return Char;
- }(GenericElement);
- var G = /*#__PURE__*/function (_GenericElement21) {
- _inherits(G, _GenericElement21);
- var _super33 = _createSuper(G);
- function G() {
- _classCallCheck(this, G);
- return _super33.apply(this, arguments);
- }
- return G;
- }(GenericElement);
- var Choice = /*#__PURE__*/function (_GenericElement22) {
- _inherits(Choice, _GenericElement22);
- var _super34 = _createSuper(Choice);
- function Choice() {
- _classCallCheck(this, Choice);
- return _super34.apply(this, arguments);
- }
- return Choice;
- }(GenericElement);
- var Verse = /*#__PURE__*/function (_GenericElement23) {
- _inherits(Verse, _GenericElement23);
- var _super35 = _createSuper(Verse);
- function Verse() {
- _classCallCheck(this, Verse);
- return _super35.apply(this, arguments);
- }
- return Verse;
- }(GenericElement);
- var VersesGroup = /*#__PURE__*/function (_GenericElement24) {
- _inherits(VersesGroup, _GenericElement24);
- var _super36 = _createSuper(VersesGroup);
- function VersesGroup() {
- _classCallCheck(this, VersesGroup);
- return _super36.apply(this, arguments);
- }
- return VersesGroup;
- }(GenericElement);
- var Supplied = /*#__PURE__*/function (_GenericElement25) {
- _inherits(Supplied, _GenericElement25);
- var _super37 = _createSuper(Supplied);
- function Supplied() {
- _classCallCheck(this, Supplied);
- return _super37.apply(this, arguments);
- }
- return Supplied;
- }(GenericElement);
- var Damage = /*#__PURE__*/function (_GenericElement26) {
- _inherits(Damage, _GenericElement26);
- var _super38 = _createSuper(Damage);
- function Damage() {
- _classCallCheck(this, Damage);
- return _super38.apply(this, arguments);
- }
- return Damage;
- }(GenericElement);
- var Surplus = /*#__PURE__*/function (_GenericElement27) {
- _inherits(Surplus, _GenericElement27);
- var _super39 = _createSuper(Surplus);
- function Surplus() {
- _classCallCheck(this, Surplus);
- return _super39.apply(this, arguments);
- }
- return Surplus;
- }(GenericElement);
- var Gap = /*#__PURE__*/function (_GenericElement28) {
- _inherits(Gap, _GenericElement28);
- var _super40 = _createSuper(Gap);
- function Gap() {
- _classCallCheck(this, Gap);
- return _super40.apply(this, arguments);
- }
- return Gap;
- }(GenericElement);
- var Addition = /*#__PURE__*/function (_GenericElement29) {
- _inherits(Addition, _GenericElement29);
- var _super41 = _createSuper(Addition);
- function Addition() {
- _classCallCheck(this, Addition);
- return _super41.apply(this, arguments);
- }
- return Addition;
- }(GenericElement);
- var Sic = /*#__PURE__*/function (_GenericElement30) {
- _inherits(Sic, _GenericElement30);
- var _super42 = _createSuper(Sic);
- function Sic() {
- _classCallCheck(this, Sic);
- return _super42.apply(this, arguments);
- }
- return Sic;
- }(GenericElement);
- var Word = /*#__PURE__*/function (_GenericElement31) {
- _inherits(Word, _GenericElement31);
- var _super43 = _createSuper(Word);
- function Word() {
- _classCallCheck(this, Word);
- return _super43.apply(this, arguments);
- }
- return Word;
- }(GenericElement);
- var Deletion = /*#__PURE__*/function (_GenericElement32) {
- _inherits(Deletion, _GenericElement32);
- var _super44 = _createSuper(Deletion);
- function Deletion() {
- _classCallCheck(this, Deletion);
- return _super44.apply(this, arguments);
- }
- return Deletion;
- }(GenericElement);
- var MsFrag = /*#__PURE__*/function (_GenericElement33) {
- _inherits(MsFrag, _GenericElement33);
- var _super45 = _createSuper(MsFrag);
- function MsFrag() {
- _classCallCheck(this, MsFrag);
- return _super45.apply(this, arguments);
- }
- return MsFrag;
- }(GenericElement);
- var MsPart = /*#__PURE__*/function (_MsFrag) {
- _inherits(MsPart, _MsFrag);
- var _super46 = _createSuper(MsPart);
- function MsPart() {
- _classCallCheck(this, MsPart);
- return _super46.apply(this, arguments);
- }
- return MsPart;
- }(MsFrag);
- var MsDesc = /*#__PURE__*/function (_MsPart) {
- _inherits(MsDesc, _MsPart);
- var _super47 = _createSuper(MsDesc);
- function MsDesc() {
- _classCallCheck(this, MsDesc);
- return _super47.apply(this, arguments);
- }
- return MsDesc;
- }(MsPart); // TODO: fix classes MsDesc, MsPart and MsFrag
- var Identifier = /*#__PURE__*/function (_GenericElement34) {
- _inherits(Identifier, _GenericElement34);
- var _super48 = _createSuper(Identifier);
- function Identifier() {
- _classCallCheck(this, Identifier);
- return _super48.apply(this, arguments);
- }
- return Identifier;
- }(GenericElement);
- var AltIdentifier = /*#__PURE__*/function (_Identifier) {
- _inherits(AltIdentifier, _Identifier);
- var _super49 = _createSuper(AltIdentifier);
- function AltIdentifier() {
- _classCallCheck(this, AltIdentifier);
- return _super49.apply(this, arguments);
- }
- return AltIdentifier;
- }(Identifier);
- var MsIdentifier = /*#__PURE__*/function (_Identifier2) {
- _inherits(MsIdentifier, _Identifier2);
- var _super50 = _createSuper(MsIdentifier);
- function MsIdentifier() {
- _classCallCheck(this, MsIdentifier);
- return _super50.apply(this, arguments);
- }
- return MsIdentifier;
- }(Identifier);
- var MsContents = /*#__PURE__*/function (_GenericElement35) {
- _inherits(MsContents, _GenericElement35);
- var _super51 = _createSuper(MsContents);
- function MsContents() {
- _classCallCheck(this, MsContents);
- return _super51.apply(this, arguments);
- }
- return MsContents;
- }(GenericElement);
- var PhysDesc = /*#__PURE__*/function (_GenericElement36) {
- _inherits(PhysDesc, _GenericElement36);
- var _super52 = _createSuper(PhysDesc);
- function PhysDesc() {
- _classCallCheck(this, PhysDesc);
- return _super52.apply(this, arguments);
- }
- return PhysDesc;
- }(GenericElement);
- var History = /*#__PURE__*/function (_GenericElement37) {
- _inherits(History, _GenericElement37);
- var _super53 = _createSuper(History);
- function History() {
- _classCallCheck(this, History);
- return _super53.apply(this, arguments);
- }
- return History;
- }(GenericElement);
- var Head = /*#__PURE__*/function (_GenericElement38) {
- _inherits(Head, _GenericElement38);
- var _super54 = _createSuper(Head);
- function Head() {
- _classCallCheck(this, Head);
- return _super54.apply(this, arguments);
- }
- return Head;
- }(GenericElement);
- var Institution = /*#__PURE__*/function (_GenericElement39) {
- _inherits(Institution, _GenericElement39);
- var _super55 = _createSuper(Institution);
- function Institution() {
- _classCallCheck(this, Institution);
- return _super55.apply(this, arguments);
- }
- return Institution;
- }(GenericElement);
- var Repository = /*#__PURE__*/function (_GenericElement40) {
- _inherits(Repository, _GenericElement40);
- var _super56 = _createSuper(Repository);
- function Repository() {
- _classCallCheck(this, Repository);
- return _super56.apply(this, arguments);
- }
- return Repository;
- }(GenericElement);
- var MsName = /*#__PURE__*/function (_GenericElement41) {
- _inherits(MsName, _GenericElement41);
- var _super57 = _createSuper(MsName);
- function MsName() {
- _classCallCheck(this, MsName);
- return _super57.apply(this, arguments);
- }
- return MsName;
- }(GenericElement);
- var CollectionEl = /*#__PURE__*/function (_GenericElement42) {
- _inherits(CollectionEl, _GenericElement42);
- var _super58 = _createSuper(CollectionEl);
- function CollectionEl() {
- _classCallCheck(this, CollectionEl);
- return _super58.apply(this, arguments);
- }
- return CollectionEl;
- }(GenericElement);
- var MsItemStruct = /*#__PURE__*/function (_GenericElement43) {
- _inherits(MsItemStruct, _GenericElement43);
- var _super59 = _createSuper(MsItemStruct);
- function MsItemStruct() {
- _classCallCheck(this, MsItemStruct);
- return _super59.apply(this, arguments);
- }
- return MsItemStruct;
- }(GenericElement);
- var MsItem = /*#__PURE__*/function (_MsItemStruct) {
- _inherits(MsItem, _MsItemStruct);
- var _super60 = _createSuper(MsItem);
- function MsItem() {
- _classCallCheck(this, MsItem);
- return _super60.apply(this, arguments);
- }
- return MsItem;
- }(MsItemStruct);
- var Summary = /*#__PURE__*/function (_GenericElement44) {
- _inherits(Summary, _GenericElement44);
- var _super61 = _createSuper(Summary);
- function Summary() {
- _classCallCheck(this, Summary);
- return _super61.apply(this, arguments);
- }
- return Summary;
- }(GenericElement);
- var Acquisition = /*#__PURE__*/function (_GenericElement45) {
- _inherits(Acquisition, _GenericElement45);
- var _super62 = _createSuper(Acquisition);
- function Acquisition() {
- _classCallCheck(this, Acquisition);
- return _super62.apply(this, arguments);
- }
- return Acquisition;
- }(GenericElement);
- var Origin = /*#__PURE__*/function (_GenericElement46) {
- _inherits(Origin, _GenericElement46);
- var _super63 = _createSuper(Origin);
- function Origin() {
- _classCallCheck(this, Origin);
- return _super63.apply(this, arguments);
- }
- return Origin;
- }(GenericElement);
- var OrigDate = /*#__PURE__*/function (_GenericElement47) {
- _inherits(OrigDate, _GenericElement47);
- var _super64 = _createSuper(OrigDate);
- function OrigDate() {
- _classCallCheck(this, OrigDate);
- return _super64.apply(this, arguments);
- }
- return OrigDate;
- }(GenericElement);
- var OrigPlace = /*#__PURE__*/function (_GenericElement48) {
- _inherits(OrigPlace, _GenericElement48);
- var _super65 = _createSuper(OrigPlace);
- function OrigPlace() {
- _classCallCheck(this, OrigPlace);
- return _super65.apply(this, arguments);
- }
- return OrigPlace;
- }(GenericElement);
- var Provenance = /*#__PURE__*/function (_GenericElement49) {
- _inherits(Provenance, _GenericElement49);
- var _super66 = _createSuper(Provenance);
- function Provenance() {
- _classCallCheck(this, Provenance);
- return _super66.apply(this, arguments);
- }
- return Provenance;
- }(GenericElement);
- var ObjectDesc = /*#__PURE__*/function (_GenericElement50) {
- _inherits(ObjectDesc, _GenericElement50);
- var _super67 = _createSuper(ObjectDesc);
- function ObjectDesc() {
- _classCallCheck(this, ObjectDesc);
- return _super67.apply(this, arguments);
- }
- return ObjectDesc;
- }(GenericElement);
- var LayoutDesc = /*#__PURE__*/function (_GenericElement51) {
- _inherits(LayoutDesc, _GenericElement51);
- var _super68 = _createSuper(LayoutDesc);
- function LayoutDesc() {
- _classCallCheck(this, LayoutDesc);
- return _super68.apply(this, arguments);
- }
- return LayoutDesc;
- }(GenericElement);
- var Layout = /*#__PURE__*/function (_GenericElement52) {
- _inherits(Layout, _GenericElement52);
- var _super69 = _createSuper(Layout);
- function Layout() {
- _classCallCheck(this, Layout);
- return _super69.apply(this, arguments);
- }
- return Layout;
- }(GenericElement);
- var SupportDesc = /*#__PURE__*/function (_GenericElement53) {
- _inherits(SupportDesc, _GenericElement53);
- var _super70 = _createSuper(SupportDesc);
- function SupportDesc() {
- _classCallCheck(this, SupportDesc);
- return _super70.apply(this, arguments);
- }
- return SupportDesc;
- }(GenericElement);
- var Condition = /*#__PURE__*/function (_GenericElement54) {
- _inherits(Condition, _GenericElement54);
- var _super71 = _createSuper(Condition);
- function Condition() {
- _classCallCheck(this, Condition);
- return _super71.apply(this, arguments);
- }
- return Condition;
- }(GenericElement);
- var Collation = /*#__PURE__*/function (_GenericElement55) {
- _inherits(Collation, _GenericElement55);
- var _super72 = _createSuper(Collation);
- function Collation() {
- _classCallCheck(this, Collation);
- return _super72.apply(this, arguments);
- }
- return Collation;
- }(GenericElement);
- var Foliation = /*#__PURE__*/function (_GenericElement56) {
- _inherits(Foliation, _GenericElement56);
- var _super73 = _createSuper(Foliation);
- function Foliation() {
- _classCallCheck(this, Foliation);
- return _super73.apply(this, arguments);
- }
- return Foliation;
- }(GenericElement);
- var Support = /*#__PURE__*/function (_GenericElement57) {
- _inherits(Support, _GenericElement57);
- var _super74 = _createSuper(Support);
- function Support() {
- _classCallCheck(this, Support);
- return _super74.apply(this, arguments);
- }
- return Support;
- }(GenericElement);
- var BindingDesc = /*#__PURE__*/function (_GenericElement58) {
- _inherits(BindingDesc, _GenericElement58);
- var _super75 = _createSuper(BindingDesc);
- function BindingDesc() {
- _classCallCheck(this, BindingDesc);
- return _super75.apply(this, arguments);
- }
- return BindingDesc;
- }(GenericElement);
- var Binding = /*#__PURE__*/function (_GenericElement59) {
- _inherits(Binding, _GenericElement59);
- var _super76 = _createSuper(Binding);
- function Binding() {
- _classCallCheck(this, Binding);
- return _super76.apply(this, arguments);
- }
- return Binding;
- }(GenericElement);
- var DecoDesc = /*#__PURE__*/function (_GenericElement60) {
- _inherits(DecoDesc, _GenericElement60);
- var _super77 = _createSuper(DecoDesc);
- function DecoDesc() {
- _classCallCheck(this, DecoDesc);
- return _super77.apply(this, arguments);
- }
- return DecoDesc;
- }(GenericElement);
- var Additions = /*#__PURE__*/function (_GenericElement61) {
- _inherits(Additions, _GenericElement61);
- var _super78 = _createSuper(Additions);
- function Additions() {
- _classCallCheck(this, Additions);
- return _super78.apply(this, arguments);
- }
- return Additions;
- }(GenericElement);
- var HandDesc = /*#__PURE__*/function (_GenericElement62) {
- _inherits(HandDesc, _GenericElement62);
- var _super79 = _createSuper(HandDesc);
- function HandDesc() {
- _classCallCheck(this, HandDesc);
- return _super79.apply(this, arguments);
- }
- return HandDesc;
- }(GenericElement);
- var ScriptDesc = /*#__PURE__*/function (_GenericElement63) {
- _inherits(ScriptDesc, _GenericElement63);
- var _super80 = _createSuper(ScriptDesc);
- function ScriptDesc() {
- _classCallCheck(this, ScriptDesc);
- return _super80.apply(this, arguments);
- }
- return ScriptDesc;
- }(GenericElement);
- var Seal = /*#__PURE__*/function (_GenericElement64) {
- _inherits(Seal, _GenericElement64);
- var _super81 = _createSuper(Seal);
- function Seal() {
- _classCallCheck(this, Seal);
- return _super81.apply(this, arguments);
- }
- return Seal;
- }(GenericElement);
- var SealDesc = /*#__PURE__*/function (_GenericElement65) {
- _inherits(SealDesc, _GenericElement65);
- var _super82 = _createSuper(SealDesc);
- function SealDesc() {
- _classCallCheck(this, SealDesc);
- return _super82.apply(this, arguments);
- }
- return SealDesc;
- }(GenericElement);
- var TypeDesc = /*#__PURE__*/function (_GenericElement66) {
- _inherits(TypeDesc, _GenericElement66);
- var _super83 = _createSuper(TypeDesc);
- function TypeDesc() {
- _classCallCheck(this, TypeDesc);
- return _super83.apply(this, arguments);
- }
- return TypeDesc;
- }(GenericElement);
- var TypeNote = /*#__PURE__*/function (_GenericElement67) {
- _inherits(TypeNote, _GenericElement67);
- var _super84 = _createSuper(TypeNote);
- function TypeNote() {
- _classCallCheck(this, TypeNote);
- return _super84.apply(this, arguments);
- }
- return TypeNote;
- }(GenericElement);
- var MusicNotation = /*#__PURE__*/function (_GenericElement68) {
- _inherits(MusicNotation, _GenericElement68);
- var _super85 = _createSuper(MusicNotation);
- function MusicNotation() {
- _classCallCheck(this, MusicNotation);
- return _super85.apply(this, arguments);
- }
- return MusicNotation;
- }(GenericElement);
- var AccMat = /*#__PURE__*/function (_GenericElement69) {
- _inherits(AccMat, _GenericElement69);
- var _super86 = _createSuper(AccMat);
- function AccMat() {
- _classCallCheck(this, AccMat);
- return _super86.apply(this, arguments);
- }
- return AccMat;
- }(GenericElement);
- var Additional = /*#__PURE__*/function (_GenericElement70) {
- _inherits(Additional, _GenericElement70);
- var _super87 = _createSuper(Additional);
- function Additional() {
- _classCallCheck(this, Additional);
- return _super87.apply(this, arguments);
- }
- return Additional;
- }(GenericElement);
- var AdminInfo = /*#__PURE__*/function (_GenericElement71) {
- _inherits(AdminInfo, _GenericElement71);
- var _super88 = _createSuper(AdminInfo);
- function AdminInfo() {
- _classCallCheck(this, AdminInfo);
- return _super88.apply(this, arguments);
- }
- return AdminInfo;
- }(GenericElement);
- var CustodialHist = /*#__PURE__*/function (_GenericElement72) {
- _inherits(CustodialHist, _GenericElement72);
- var _super89 = _createSuper(CustodialHist);
- function CustodialHist() {
- _classCallCheck(this, CustodialHist);
- return _super89.apply(this, arguments);
- }
- return CustodialHist;
- }(GenericElement);
- var CustEvent = /*#__PURE__*/function (_GenericElement73) {
- _inherits(CustEvent, _GenericElement73);
- var _super90 = _createSuper(CustEvent);
- function CustEvent() {
- _classCallCheck(this, CustEvent);
- return _super90.apply(this, arguments);
- }
- return CustEvent;
- }(GenericElement);
- var RecordHist = /*#__PURE__*/function (_GenericElement74) {
- _inherits(RecordHist, _GenericElement74);
- var _super91 = _createSuper(RecordHist);
- function RecordHist() {
- _classCallCheck(this, RecordHist);
- return _super91.apply(this, arguments);
- }
- return RecordHist;
- }(GenericElement);
- var Source = /*#__PURE__*/function (_GenericElement75) {
- _inherits(Source, _GenericElement75);
- var _super92 = _createSuper(Source);
- function Source() {
- _classCallCheck(this, Source);
- return _super92.apply(this, arguments);
- }
- return Source;
- }(GenericElement);
- var Surrogates = /*#__PURE__*/function (_GenericElement76) {
- _inherits(Surrogates, _GenericElement76);
- var _super93 = _createSuper(Surrogates);
- function Surrogates() {
- _classCallCheck(this, Surrogates);
- return _super93.apply(this, arguments);
- }
- return Surrogates;
- }(GenericElement);
- var Rubric = /*#__PURE__*/function (_GenericElement77) {
- _inherits(Rubric, _GenericElement77);
- var _super94 = _createSuper(Rubric);
- function Rubric() {
- _classCallCheck(this, Rubric);
- return _super94.apply(this, arguments);
- }
- return Rubric;
- }(GenericElement);
- var FinalRubric = /*#__PURE__*/function (_GenericElement78) {
- _inherits(FinalRubric, _GenericElement78);
- var _super95 = _createSuper(FinalRubric);
- function FinalRubric() {
- _classCallCheck(this, FinalRubric);
- return _super95.apply(this, arguments);
- }
- return FinalRubric;
- }(GenericElement);
- var Incipit = /*#__PURE__*/function (_GenericElement79) {
- _inherits(Incipit, _GenericElement79);
- var _super96 = _createSuper(Incipit);
- function Incipit() {
- _classCallCheck(this, Incipit);
- return _super96.apply(this, arguments);
- }
- return Incipit;
- }(GenericElement);
- var Explicit = /*#__PURE__*/function (_GenericElement80) {
- _inherits(Explicit, _GenericElement80);
- var _super97 = _createSuper(Explicit);
- function Explicit() {
- _classCallCheck(this, Explicit);
- return _super97.apply(this, arguments);
- }
- return Explicit;
- }(GenericElement);
- var Locus = /*#__PURE__*/function (_GenericElement81) {
- _inherits(Locus, _GenericElement81);
- var _super98 = _createSuper(Locus);
- function Locus() {
- _classCallCheck(this, Locus);
- return _super98.apply(this, arguments);
- }
- return Locus;
- }(GenericElement);
- var LocusGrp = /*#__PURE__*/function (_GenericElement82) {
- _inherits(LocusGrp, _GenericElement82);
- var _super99 = _createSuper(LocusGrp);
- function LocusGrp() {
- _classCallCheck(this, LocusGrp);
- return _super99.apply(this, arguments);
- }
- return LocusGrp;
- }(GenericElement);
- var DecoNote = /*#__PURE__*/function (_GenericElement83) {
- _inherits(DecoNote, _GenericElement83);
- var _super100 = _createSuper(DecoNote);
- function DecoNote() {
- _classCallCheck(this, DecoNote);
- return _super100.apply(this, arguments);
- }
- return DecoNote;
- }(GenericElement);
- var Filiation = /*#__PURE__*/function (_GenericElement84) {
- _inherits(Filiation, _GenericElement84);
- var _super101 = _createSuper(Filiation);
- function Filiation() {
- _classCallCheck(this, Filiation);
- return _super101.apply(this, arguments);
- }
- return Filiation;
- }(GenericElement);
- var Dimensions = /*#__PURE__*/function (_GenericElement85) {
- _inherits(Dimensions, _GenericElement85);
- var _super102 = _createSuper(Dimensions);
- function Dimensions() {
- _classCallCheck(this, Dimensions);
- return _super102.apply(this, arguments);
- }
- return Dimensions;
- }(GenericElement);
- var Height = /*#__PURE__*/function (_GenericElement86) {
- _inherits(Height, _GenericElement86);
- var _super103 = _createSuper(Height);
- function Height() {
- _classCallCheck(this, Height);
- return _super103.apply(this, arguments);
- }
- return Height;
- }(GenericElement);
- var Width = /*#__PURE__*/function (_GenericElement87) {
- _inherits(Width, _GenericElement87);
- var _super104 = _createSuper(Width);
- function Width() {
- _classCallCheck(this, Width);
- return _super104.apply(this, arguments);
- }
- return Width;
- }(GenericElement);
- var Depth = /*#__PURE__*/function (_GenericElement88) {
- _inherits(Depth, _GenericElement88);
- var _super105 = _createSuper(Depth);
- function Depth() {
- _classCallCheck(this, Depth);
- return _super105.apply(this, arguments);
- }
- return Depth;
- }(GenericElement);
- var Dim = /*#__PURE__*/function (_GenericElement89) {
- _inherits(Dim, _GenericElement89);
- var _super106 = _createSuper(Dim);
- function Dim() {
- _classCallCheck(this, Dim);
- return _super106.apply(this, arguments);
- }
- return Dim;
- }(GenericElement);
- var FileDesc = /*#__PURE__*/function (_GenericElement90) {
- _inherits(FileDesc, _GenericElement90);
- var _super107 = _createSuper(FileDesc);
- function FileDesc() {
- _classCallCheck(this, FileDesc);
- return _super107.apply(this, arguments);
- }
- return FileDesc;
- }(GenericElement);
- var TitleStmt = /*#__PURE__*/function (_GenericElement91) {
- _inherits(TitleStmt, _GenericElement91);
- var _super108 = _createSuper(TitleStmt);
- function TitleStmt() {
- _classCallCheck(this, TitleStmt);
- return _super108.apply(this, arguments);
- }
- return TitleStmt;
- }(GenericElement);
- var RespStmt = /*#__PURE__*/function (_GenericElement92) {
- _inherits(RespStmt, _GenericElement92);
- var _super109 = _createSuper(RespStmt);
- function RespStmt() {
- _classCallCheck(this, RespStmt);
- return _super109.apply(this, arguments);
- }
- return RespStmt;
- }(GenericElement);
- var Resp = /*#__PURE__*/function (_GenericElement93) {
- _inherits(Resp, _GenericElement93);
- var _super110 = _createSuper(Resp);
- function Resp() {
- _classCallCheck(this, Resp);
- return _super110.apply(this, arguments);
- }
- return Resp;
- }(GenericElement);
- var EditionStmt = /*#__PURE__*/function (_GenericElement94) {
- _inherits(EditionStmt, _GenericElement94);
- var _super111 = _createSuper(EditionStmt);
- function EditionStmt() {
- _classCallCheck(this, EditionStmt);
- return _super111.apply(this, arguments);
- }
- return EditionStmt;
- }(GenericElement);
- var PublicationStmt = /*#__PURE__*/function (_GenericElement95) {
- _inherits(PublicationStmt, _GenericElement95);
- var _super112 = _createSuper(PublicationStmt);
- function PublicationStmt() {
- _classCallCheck(this, PublicationStmt);
- return _super112.apply(this, arguments);
- }
- return PublicationStmt;
- }(GenericElement);
- var SeriesStmt = /*#__PURE__*/function (_GenericElement96) {
- _inherits(SeriesStmt, _GenericElement96);
- var _super113 = _createSuper(SeriesStmt);
- function SeriesStmt() {
- _classCallCheck(this, SeriesStmt);
- return _super113.apply(this, arguments);
- }
- return SeriesStmt;
- }(GenericElement);
- var NotesStmt = /*#__PURE__*/function (_GenericElement97) {
- _inherits(NotesStmt, _GenericElement97);
- var _super114 = _createSuper(NotesStmt);
- function NotesStmt() {
- _classCallCheck(this, NotesStmt);
- return _super114.apply(this, arguments);
- }
- return NotesStmt;
- }(GenericElement);
- var SourceDesc = /*#__PURE__*/function (_GenericElement98) {
- _inherits(SourceDesc, _GenericElement98);
- var _super115 = _createSuper(SourceDesc);
- function SourceDesc() {
- _classCallCheck(this, SourceDesc);
- return _super115.apply(this, arguments);
- }
- return SourceDesc;
- }(GenericElement);
- var Extent = /*#__PURE__*/function (_GenericElement99) {
- _inherits(Extent, _GenericElement99);
- var _super116 = _createSuper(Extent);
- function Extent() {
- _classCallCheck(this, Extent);
- return _super116.apply(this, arguments);
- }
- return Extent;
- }(GenericElement);
- var EncodingDesc = /*#__PURE__*/function (_GenericElement100) {
- _inherits(EncodingDesc, _GenericElement100);
- var _super117 = _createSuper(EncodingDesc);
- function EncodingDesc() {
- _classCallCheck(this, EncodingDesc);
- return _super117.apply(this, arguments);
- }
- return EncodingDesc;
- }(GenericElement);
- var ProjectDesc = /*#__PURE__*/function (_GenericElement101) {
- _inherits(ProjectDesc, _GenericElement101);
- var _super118 = _createSuper(ProjectDesc);
- function ProjectDesc() {
- _classCallCheck(this, ProjectDesc);
- return _super118.apply(this, arguments);
- }
- return ProjectDesc;
- }(GenericElement);
- var SamplingDecl = /*#__PURE__*/function (_GenericElement102) {
- _inherits(SamplingDecl, _GenericElement102);
- var _super119 = _createSuper(SamplingDecl);
- function SamplingDecl() {
- _classCallCheck(this, SamplingDecl);
- return _super119.apply(this, arguments);
- }
- return SamplingDecl;
- }(GenericElement);
- var Correction = /*#__PURE__*/function (_ProjectDesc) {
- _inherits(Correction, _ProjectDesc);
- var _super120 = _createSuper(Correction);
- function Correction() {
- _classCallCheck(this, Correction);
- return _super120.apply(this, arguments);
- }
- return Correction;
- }(ProjectDesc);
- var Normalization = /*#__PURE__*/function (_ProjectDesc2) {
- _inherits(Normalization, _ProjectDesc2);
- var _super121 = _createSuper(Normalization);
- function Normalization() {
- _classCallCheck(this, Normalization);
- return _super121.apply(this, arguments);
- }
- return Normalization;
- }(ProjectDesc);
- var Punctuation = /*#__PURE__*/function (_ProjectDesc3) {
- _inherits(Punctuation, _ProjectDesc3);
- var _super122 = _createSuper(Punctuation);
- function Punctuation() {
- _classCallCheck(this, Punctuation);
- return _super122.apply(this, arguments);
- }
- return Punctuation;
- }(ProjectDesc);
- var Quotation = /*#__PURE__*/function (_ProjectDesc4) {
- _inherits(Quotation, _ProjectDesc4);
- var _super123 = _createSuper(Quotation);
- function Quotation() {
- _classCallCheck(this, Quotation);
- return _super123.apply(this, arguments);
- }
- return Quotation;
- }(ProjectDesc);
- var Hyphenation = /*#__PURE__*/function (_ProjectDesc5) {
- _inherits(Hyphenation, _ProjectDesc5);
- var _super124 = _createSuper(Hyphenation);
- function Hyphenation() {
- _classCallCheck(this, Hyphenation);
- return _super124.apply(this, arguments);
- }
- return Hyphenation;
- }(ProjectDesc);
- var Segmentation = /*#__PURE__*/function (_GenericElement103) {
- _inherits(Segmentation, _GenericElement103);
- var _super125 = _createSuper(Segmentation);
- function Segmentation() {
- _classCallCheck(this, Segmentation);
- return _super125.apply(this, arguments);
- }
- return Segmentation;
- }(GenericElement);
- var StdVals = /*#__PURE__*/function (_GenericElement104) {
- _inherits(StdVals, _GenericElement104);
- var _super126 = _createSuper(StdVals);
- function StdVals() {
- _classCallCheck(this, StdVals);
- return _super126.apply(this, arguments);
- }
- return StdVals;
- }(GenericElement);
- var Interpretation = /*#__PURE__*/function (_GenericElement105) {
- _inherits(Interpretation, _GenericElement105);
- var _super127 = _createSuper(Interpretation);
- function Interpretation() {
- _classCallCheck(this, Interpretation);
- return _super127.apply(this, arguments);
- }
- return Interpretation;
- }(GenericElement);
- var EditorialDecl = /*#__PURE__*/function (_GenericElement106) {
- _inherits(EditorialDecl, _GenericElement106);
- var _super128 = _createSuper(EditorialDecl);
- function EditorialDecl() {
- _classCallCheck(this, EditorialDecl);
- return _super128.apply(this, arguments);
- }
- return EditorialDecl;
- }(GenericElement);
- var Rendition = /*#__PURE__*/function (_GenericElement107) {
- _inherits(Rendition, _GenericElement107);
- var _super129 = _createSuper(Rendition);
- function Rendition() {
- _classCallCheck(this, Rendition);
- return _super129.apply(this, arguments);
- }
- return Rendition;
- }(GenericElement);
- var TagUsage = /*#__PURE__*/function (_GenericElement108) {
- _inherits(TagUsage, _GenericElement108);
- var _super130 = _createSuper(TagUsage);
- function TagUsage() {
- _classCallCheck(this, TagUsage);
- return _super130.apply(this, arguments);
- }
- return TagUsage;
- }(GenericElement);
- var Namespace = /*#__PURE__*/function (_GenericElement109) {
- _inherits(Namespace, _GenericElement109);
- var _super131 = _createSuper(Namespace);
- function Namespace() {
- _classCallCheck(this, Namespace);
- return _super131.apply(this, arguments);
- }
- return Namespace;
- }(GenericElement);
- var TagsDecl = /*#__PURE__*/function (_GenericElement110) {
- _inherits(TagsDecl, _GenericElement110);
- var _super132 = _createSuper(TagsDecl);
- function TagsDecl() {
- _classCallCheck(this, TagsDecl);
- return _super132.apply(this, arguments);
- }
- return TagsDecl;
- }(GenericElement);
- var RefsDecl = /*#__PURE__*/function (_GenericElement111) {
- _inherits(RefsDecl, _GenericElement111);
- var _super133 = _createSuper(RefsDecl);
- function RefsDecl() {
- _classCallCheck(this, RefsDecl);
- return _super133.apply(this, arguments);
- }
- return RefsDecl;
- }(GenericElement);
- var RefState = /*#__PURE__*/function (_GenericElement112) {
- _inherits(RefState, _GenericElement112);
- var _super134 = _createSuper(RefState);
- function RefState() {
- _classCallCheck(this, RefState);
- return _super134.apply(this, arguments);
- }
- return RefState;
- }(GenericElement);
- var CRefPattern = /*#__PURE__*/function (_GenericElement113) {
- _inherits(CRefPattern, _GenericElement113);
- var _super135 = _createSuper(CRefPattern);
- function CRefPattern() {
- _classCallCheck(this, CRefPattern);
- return _super135.apply(this, arguments);
- }
- return CRefPattern;
- }(GenericElement);
- var Abstract = /*#__PURE__*/function (_GenericElement114) {
- _inherits(Abstract, _GenericElement114);
- var _super136 = _createSuper(Abstract);
- function Abstract() {
- _classCallCheck(this, Abstract);
- return _super136.apply(this, arguments);
- }
- return Abstract;
- }(GenericElement);
- var Calendar = /*#__PURE__*/function (_GenericElement115) {
- _inherits(Calendar, _GenericElement115);
- var _super137 = _createSuper(Calendar);
- function Calendar() {
- _classCallCheck(this, Calendar);
- return _super137.apply(this, arguments);
- }
- return Calendar;
- }(GenericElement);
- var CalendarDesc = /*#__PURE__*/function (_GenericElement116) {
- _inherits(CalendarDesc, _GenericElement116);
- var _super138 = _createSuper(CalendarDesc);
- function CalendarDesc() {
- _classCallCheck(this, CalendarDesc);
- return _super138.apply(this, arguments);
- }
- return CalendarDesc;
- }(GenericElement);
- var CorrespAction = /*#__PURE__*/function (_GenericElement117) {
- _inherits(CorrespAction, _GenericElement117);
- var _super139 = _createSuper(CorrespAction);
- function CorrespAction() {
- _classCallCheck(this, CorrespAction);
- return _super139.apply(this, arguments);
- }
- return CorrespAction;
- }(GenericElement);
- var CorrespContext = /*#__PURE__*/function (_GenericElement118) {
- _inherits(CorrespContext, _GenericElement118);
- var _super140 = _createSuper(CorrespContext);
- function CorrespContext() {
- _classCallCheck(this, CorrespContext);
- return _super140.apply(this, arguments);
- }
- return CorrespContext;
- }(GenericElement);
- var CorrespDesc = /*#__PURE__*/function (_GenericElement119) {
- _inherits(CorrespDesc, _GenericElement119);
- var _super141 = _createSuper(CorrespDesc);
- function CorrespDesc() {
- _classCallCheck(this, CorrespDesc);
- return _super141.apply(this, arguments);
- }
- return CorrespDesc;
- }(GenericElement);
- var Creation = /*#__PURE__*/function (_GenericElement120) {
- _inherits(Creation, _GenericElement120);
- var _super142 = _createSuper(Creation);
- function Creation() {
- _classCallCheck(this, Creation);
- return _super142.apply(this, arguments);
- }
- return Creation;
- }(GenericElement);
- var Language = /*#__PURE__*/function (_GenericElement121) {
- _inherits(Language, _GenericElement121);
- var _super143 = _createSuper(Language);
- function Language() {
- _classCallCheck(this, Language);
- return _super143.apply(this, arguments);
- }
- return Language;
- }(GenericElement);
- var LangUsage = /*#__PURE__*/function (_GenericElement122) {
- _inherits(LangUsage, _GenericElement122);
- var _super144 = _createSuper(LangUsage);
- function LangUsage() {
- _classCallCheck(this, LangUsage);
- return _super144.apply(this, arguments);
- }
- return LangUsage;
- }(GenericElement);
- var CatRef = /*#__PURE__*/function (_GenericElement123) {
- _inherits(CatRef, _GenericElement123);
- var _super145 = _createSuper(CatRef);
- function CatRef() {
- _classCallCheck(this, CatRef);
- return _super145.apply(this, arguments);
- }
- return CatRef;
- }(GenericElement);
- var ClassCode = /*#__PURE__*/function (_GenericElement124) {
- _inherits(ClassCode, _GenericElement124);
- var _super146 = _createSuper(ClassCode);
- function ClassCode() {
- _classCallCheck(this, ClassCode);
- return _super146.apply(this, arguments);
- }
- return ClassCode;
- }(GenericElement);
- var Term = /*#__PURE__*/function (_GenericElement125) {
- _inherits(Term, _GenericElement125);
- var _super147 = _createSuper(Term);
- function Term() {
- _classCallCheck(this, Term);
- return _super147.apply(this, arguments);
- }
- return Term;
- }(GenericElement);
- var Keywords = /*#__PURE__*/function (_GenericElement126) {
- _inherits(Keywords, _GenericElement126);
- var _super148 = _createSuper(Keywords);
- function Keywords() {
- _classCallCheck(this, Keywords);
- return _super148.apply(this, arguments);
- }
- return Keywords;
- }(GenericElement);
- var TextClass = /*#__PURE__*/function (_GenericElement127) {
- _inherits(TextClass, _GenericElement127);
- var _super149 = _createSuper(TextClass);
- function TextClass() {
- _classCallCheck(this, TextClass);
- return _super149.apply(this, arguments);
- }
- return TextClass;
- }(GenericElement);
- var HandNote = /*#__PURE__*/function (_GenericElement128) {
- _inherits(HandNote, _GenericElement128);
- var _super150 = _createSuper(HandNote);
- function HandNote() {
- _classCallCheck(this, HandNote);
- return _super150.apply(this, arguments);
- }
- return HandNote;
- }(GenericElement);
- var HandNotes = /*#__PURE__*/function (_GenericElement129) {
- _inherits(HandNotes, _GenericElement129);
- var _super151 = _createSuper(HandNotes);
- function HandNotes() {
- _classCallCheck(this, HandNotes);
- return _super151.apply(this, arguments);
- }
- return HandNotes;
- }(GenericElement);
- var Ptr = /*#__PURE__*/function (_GenericElement130) {
- _inherits(Ptr, _GenericElement130);
- var _super152 = _createSuper(Ptr);
- function Ptr() {
- _classCallCheck(this, Ptr);
- return _super152.apply(this, arguments);
- }
- return Ptr;
- }(GenericElement);
- var Transpose = /*#__PURE__*/function (_GenericElement131) {
- _inherits(Transpose, _GenericElement131);
- var _super153 = _createSuper(Transpose);
- function Transpose() {
- _classCallCheck(this, Transpose);
- return _super153.apply(this, arguments);
- }
- return Transpose;
- }(GenericElement);
- var ListTranspose = /*#__PURE__*/function (_GenericElement132) {
- _inherits(ListTranspose, _GenericElement132);
- var _super154 = _createSuper(ListTranspose);
- function ListTranspose() {
- _classCallCheck(this, ListTranspose);
- return _super154.apply(this, arguments);
- }
- return ListTranspose;
- }(GenericElement);
- var Channel = /*#__PURE__*/function (_GenericElement133) {
- _inherits(Channel, _GenericElement133);
- var _super155 = _createSuper(Channel);
- function Channel() {
- _classCallCheck(this, Channel);
- return _super155.apply(this, arguments);
- }
- return Channel;
- }(GenericElement);
- var Constitution = /*#__PURE__*/function (_GenericElement134) {
- _inherits(Constitution, _GenericElement134);
- var _super156 = _createSuper(Constitution);
- function Constitution() {
- _classCallCheck(this, Constitution);
- return _super156.apply(this, arguments);
- }
- return Constitution;
- }(GenericElement);
- var Derivation = /*#__PURE__*/function (_GenericElement135) {
- _inherits(Derivation, _GenericElement135);
- var _super157 = _createSuper(Derivation);
- function Derivation() {
- _classCallCheck(this, Derivation);
- return _super157.apply(this, arguments);
- }
- return Derivation;
- }(GenericElement);
- var Domain = /*#__PURE__*/function (_GenericElement136) {
- _inherits(Domain, _GenericElement136);
- var _super158 = _createSuper(Domain);
- function Domain() {
- _classCallCheck(this, Domain);
- return _super158.apply(this, arguments);
- }
- return Domain;
- }(GenericElement);
- var Factuality = /*#__PURE__*/function (_GenericElement137) {
- _inherits(Factuality, _GenericElement137);
- var _super159 = _createSuper(Factuality);
- function Factuality() {
- _classCallCheck(this, Factuality);
- return _super159.apply(this, arguments);
- }
- return Factuality;
- }(GenericElement);
- var Interaction = /*#__PURE__*/function (_GenericElement138) {
- _inherits(Interaction, _GenericElement138);
- var _super160 = _createSuper(Interaction);
- function Interaction() {
- _classCallCheck(this, Interaction);
- return _super160.apply(this, arguments);
- }
- return Interaction;
- }(GenericElement);
- var Preparedness = /*#__PURE__*/function (_GenericElement139) {
- _inherits(Preparedness, _GenericElement139);
- var _super161 = _createSuper(Preparedness);
- function Preparedness() {
- _classCallCheck(this, Preparedness);
- return _super161.apply(this, arguments);
- }
- return Preparedness;
- }(GenericElement);
- var Purpose = /*#__PURE__*/function (_GenericElement140) {
- _inherits(Purpose, _GenericElement140);
- var _super162 = _createSuper(Purpose);
- function Purpose() {
- _classCallCheck(this, Purpose);
- return _super162.apply(this, arguments);
- }
- return Purpose;
- }(GenericElement);
- var TextDesc = /*#__PURE__*/function (_GenericElement141) {
- _inherits(TextDesc, _GenericElement141);
- var _super163 = _createSuper(TextDesc);
- function TextDesc() {
- _classCallCheck(this, TextDesc);
- return _super163.apply(this, arguments);
- }
- return TextDesc;
- }(GenericElement);
- var ParticDesc = /*#__PURE__*/function (_GenericElement142) {
- _inherits(ParticDesc, _GenericElement142);
- var _super164 = _createSuper(ParticDesc);
- function ParticDesc() {
- _classCallCheck(this, ParticDesc);
- return _super164.apply(this, arguments);
- }
- return ParticDesc;
- }(GenericElement);
- var Setting = /*#__PURE__*/function (_GenericElement143) {
- _inherits(Setting, _GenericElement143);
- var _super165 = _createSuper(Setting);
- function Setting() {
- _classCallCheck(this, Setting);
- return _super165.apply(this, arguments);
- }
- return Setting;
- }(GenericElement);
- var SettingDesc = /*#__PURE__*/function (_GenericElement144) {
- _inherits(SettingDesc, _GenericElement144);
- var _super166 = _createSuper(SettingDesc);
- function SettingDesc() {
- _classCallCheck(this, SettingDesc);
- return _super166.apply(this, arguments);
- }
- return SettingDesc;
- }(GenericElement);
- var ProfileDesc = /*#__PURE__*/function (_GenericElement145) {
- _inherits(ProfileDesc, _GenericElement145);
- var _super167 = _createSuper(ProfileDesc);
- function ProfileDesc() {
- _classCallCheck(this, ProfileDesc);
- return _super167.apply(this, arguments);
- }
- return ProfileDesc;
- }(GenericElement);
- var Change = /*#__PURE__*/function (_GenericElement146) {
- _inherits(Change, _GenericElement146);
- var _super168 = _createSuper(Change);
- function Change() {
- _classCallCheck(this, Change);
- return _super168.apply(this, arguments);
- }
- return Change;
- }(GenericElement);
- var ListChange = /*#__PURE__*/function (_GenericElement147) {
- _inherits(ListChange, _GenericElement147);
- var _super169 = _createSuper(ListChange);
- function ListChange() {
- _classCallCheck(this, ListChange);
- return _super169.apply(this, arguments);
- }
- return ListChange;
- }(GenericElement);
- var RevisionDesc = /*#__PURE__*/function (_GenericElement148) {
- _inherits(RevisionDesc, _GenericElement148);
- var _super170 = _createSuper(RevisionDesc);
- function RevisionDesc() {
- _classCallCheck(this, RevisionDesc);
- return _super170.apply(this, arguments);
- }
- return RevisionDesc;
- }(GenericElement);
- var ProjectInfo = function ProjectInfo() {
- _classCallCheck(this, ProjectInfo);
- };
- /***/
- },
- /***/
- "5hVl":
- /*!**********************************************!*\
- !*** ./src/app/nav-bar/nav-bar.component.ts ***!
- \**********************************************/
- /*! exports provided: NavBarComponent */
- /***/
- function hVl(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NavBarComponent", function () {
- return NavBarComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../app.config */
- "aR35");
- /* harmony import */
- var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../ui-components/button/button.component */
- "UjKN");
- /* harmony import */
- var _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @angular-slider/ngx-slider */
- "mgaL");
- /* harmony import */
- var _components_manuscript_thumbnails_viewer_manuscript_thumbnails_viewer_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../components/manuscript-thumbnails-viewer/manuscript-thumbnails-viewer.component */
- "xUb2");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- var _c0 = ["thumbnailsContainer"];
- var _c1 = function _c1() {
- return {
- icon: "th"
- };
- };
- function NavBarComponent_evt_button_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_evt_button_1_Template_evt_button_btnClick_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r5.toggleThumbnailsPanel();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconRight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c1))("active", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 3, ctx_r0.thumbnailsPanelOpened$))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 5, "thumbnails"));
- }
- }
- var _c2 = function _c2() {
- return {
- icon: "rainbow",
- rotate: 270
- };
- };
- function NavBarComponent_evt_button_2_Template(rf, ctx) {
- if (rf & 1) {
- var _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_evt_button_2_Template_evt_button_btnClick_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);
- var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r7.toggleViscollPanel();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconRight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c2))("active", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 3, ctx_r1.viscollPanelOpened$))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 5, "viscoll"));
- }
- }
- function NavBarComponent_ngx_slider_3_Template(rf, ctx) {
- if (rf & 1) {
- var _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ngx-slider", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("userChangeEnd", function NavBarComponent_ngx_slider_3_Template_ngx_slider_userChangeEnd_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11);
- var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r10.changePage($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var pageSliderOptions_r9 = ctx.ngIf;
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 2, ctx_r2.currentPage$))("options", pageSliderOptions_r9);
- }
- }
- function NavBarComponent_div_22_Template(rf, ctx) {
- if (rf & 1) {
- var _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 11, 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-manuscript-thumbnails", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("clickedItem", function NavBarComponent_div_22_Template_evt_manuscript_thumbnails_clickedItem_2_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r14);
- var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r13.toggleThumbnailsPanel();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- var tmp_1_0 = null;
- var tmp_2_0 = null;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pages", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 3, ctx_r3.evtModelService.pages$))("col", (tmp_1_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 5, ctx_r3.thViewerSettings$)) == null ? null : tmp_1_0.col)("row", (tmp_2_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 7, ctx_r3.thViewerSettings$)) == null ? null : tmp_2_0.row);
- }
- }
- function NavBarComponent_div_24_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " Viscoll coming soon...\n");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- }
- var _c3 = function _c3() {
- return {
- icon: "step-backward"
- };
- };
- var _c4 = function _c4() {
- return {
- icon: "caret-left"
- };
- };
- var _c5 = function _c5() {
- return {
- icon: "caret-right"
- };
- };
- var _c6 = function _c6() {
- return {
- icon: "step-forward"
- };
- };
- var NavBarComponent = /*#__PURE__*/function () {
- function NavBarComponent(evtStatusService, cdref, evtModelService) {
- _classCallCheck(this, NavBarComponent);
- this.evtStatusService = evtStatusService;
- this.cdref = cdref;
- this.evtModelService = evtModelService;
- this.currentPageInfo$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.evtModelService.pages$, this.evtStatusService.currentPage$]);
- this.prevNavigationDisabled$ = this.currentPageInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref2) {
- var _ref3 = _slicedToArray(_ref2, 2),
- pages = _ref3[0],
- page = _ref3[1];
- return pages.findIndex(function (p) {
- return p.id === page.id;
- }) === 0;
- }));
- this.nextNavigationDisabled$ = this.currentPageInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref4) {
- var _ref5 = _slicedToArray(_ref4, 2),
- pages = _ref5[0],
- page = _ref5[1];
- return pages.findIndex(function (p) {
- return p.id === page.id;
- }) === pages.length - 1;
- }));
- this.currentPage$ = this.currentPageInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref6) {
- var _ref7 = _slicedToArray(_ref6, 2),
- pages = _ref7[0],
- page = _ref7[1];
- return pages.findIndex(function (p) {
- return p.id === page.id;
- });
- }));
- this.thViewerSettings$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]({
- col: 1,
- row: 1
- });
- this.thumbnailsButton = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.ui.thumbnailsButton;
- this.thumbnailsPanelOpened$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
- this.viscollButton = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.ui.viscollButton;
- this.viscollPanelOpened$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
- this.navigationDisabled$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.thumbnailsPanelOpened$, this.viscollPanelOpened$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref8) {
- var _ref9 = _slicedToArray(_ref8, 2),
- thumbnailsPanelOpened = _ref9[0],
- viscollPanelOpened = _ref9[1];
- return thumbnailsPanelOpened || viscollPanelOpened;
- }));
- this.pageSliderOptions$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.navigationDisabled$, this.evtModelService.pages$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref10) {
- var _ref11 = _slicedToArray(_ref10, 2),
- navigationDisabled = _ref11[0],
- pages = _ref11[1];
- return {
- floor: 0,
- ceil: pages.length - 1,
- showSelectionBar: true,
- translate: function translate(value) {
- var _a, _b;
- return (_b = (_a = pages[value]) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : '';
- },
- disabled: navigationDisabled
- };
- }));
- }
- _createClass(NavBarComponent, [{
- key: "ngAfterViewChecked",
- value: function ngAfterViewChecked() {
- this.calculateThumbsPerPage();
- }
- }, {
- key: "changePage",
- value: function changePage(event) {
- var _this19 = this;
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (pages) {
- return _this19.evtStatusService.updatePage$.next(pages[event.value]);
- });
- }
- }, {
- key: "goToFirstPage",
- value: function goToFirstPage() {
- var _this20 = this;
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (pages) {
- return _this20.evtStatusService.updatePage$.next(pages[0]);
- });
- }
- }, {
- key: "goToPrevPage",
- value: function goToPrevPage() {
- var _this21 = this;
- Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.evtModelService.pages$, this.evtStatusService.currentPage$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (_ref12) {
- var _ref13 = _slicedToArray(_ref12, 2),
- pages = _ref13[0],
- page = _ref13[1];
- var pageIndex = pages.findIndex(function (p) {
- return p.id === page.id;
- });
- if (pageIndex > 0) {
- _this21.evtStatusService.updatePage$.next(pages[pageIndex - 1]);
- }
- });
- }
- }, {
- key: "goToNextPage",
- value: function goToNextPage() {
- var _this22 = this;
- Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.evtModelService.pages$, this.evtStatusService.currentPage$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (_ref14) {
- var _ref15 = _slicedToArray(_ref14, 2),
- pages = _ref15[0],
- page = _ref15[1];
- var pageIndex = pages.findIndex(function (p) {
- return p.id === page.id;
- });
- if (pageIndex < pages.length - 1) {
- _this22.evtStatusService.updatePage$.next(pages[pageIndex + 1]);
- }
- });
- }
- }, {
- key: "goToLastPage",
- value: function goToLastPage() {
- var _this23 = this;
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (pages) {
- return _this23.evtStatusService.updatePage$.next(pages[pages.length - 1]);
- });
- }
- }, {
- key: "toggleThumbnailsPanel",
- value: function toggleThumbnailsPanel() {
- var _this24 = this;
- this.thumbnailsPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (opened) {
- _this24.thumbnailsPanelOpened$.next(!opened);
- });
- this.viscollPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (opened) {
- if (opened) {
- _this24.viscollPanelOpened$.next(!opened);
- }
- });
- }
- }, {
- key: "toggleViscollPanel",
- value: function toggleViscollPanel() {
- var _this25 = this;
- this.viscollPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (opened) {
- _this25.viscollPanelOpened$.next(!opened);
- });
- this.thumbnailsPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (opened) {
- if (opened) {
- _this25.thumbnailsPanelOpened$.next(!opened);
- }
- });
- }
- }, {
- key: "calculateThumbsPerPage",
- value: function calculateThumbsPerPage() {
- var _a;
- var thContainer = (_a = this.thumbnailsContainer) === null || _a === void 0 ? void 0 : _a.nativeElement;
- if (thContainer) {
- var thMaxHeight = parseInt(window.getComputedStyle(document.documentElement).getPropertyValue('--thumbnail-height'), 10);
- var thMaxWidth = parseInt(window.getComputedStyle(document.documentElement).getPropertyValue('--thumbnail-width'), 10);
- this.thViewerSettings$.next({
- col: Math.floor(thContainer.clientWidth / thMaxWidth),
- row: Math.floor(thContainer.clientHeight / thMaxHeight)
- });
- this.cdref.detectChanges();
- }
- }
- }]);
- return NavBarComponent;
- }();
- NavBarComponent.ɵfac = function NavBarComponent_Factory(t) {
- return new (t || NavBarComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]));
- };
- NavBarComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: NavBarComponent,
- selectors: [["evt-nav-bar"]],
- viewQuery: function NavBarComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.thumbnailsContainer = _t.first);
- }
- },
- decls: 26,
- vars: 51,
- consts: [[1, "nav-bar", "w-100"], ["additionalClasses", "mr-1", 3, "iconRight", "active", "title", "btnClick", 4, "ngIf"], ["class", "ml-2 mr-2", 3, "value", "options", "userChangeEnd", 4, "ngIf"], [1, "navigation-btns-container"], ["additionalClasses", "mr-1", 3, "iconRight", "title", "disabled", "btnClick"], ["additionalClasses", "mr-1", 3, "iconLeft", "title", "disabled", "btnClick"], [3, "iconLeft", "title", "disabled", "btnClick"], ["class", "thumbnails-panel", 4, "ngIf"], ["class", "viscoll-panel", 4, "ngIf"], ["additionalClasses", "mr-1", 3, "iconRight", "active", "title", "btnClick"], [1, "ml-2", "mr-2", 3, "value", "options", "userChangeEnd"], [1, "thumbnails-panel"], ["thumbnailsContainer", ""], [3, "pages", "col", "row", "clickedItem"], [1, "viscoll-panel"]],
- template: function NavBarComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, NavBarComponent_evt_button_1_Template, 3, 8, "evt-button", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, NavBarComponent_evt_button_2_Template, 3, 8, "evt-button", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, NavBarComponent_ngx_slider_3_Template, 2, 4, "ngx-slider", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "evt-button", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_Template_evt_button_btnClick_6_listener() {
- return ctx.goToFirstPage();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "evt-button", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_Template_evt_button_btnClick_10_listener() {
- return ctx.goToPrevPage();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](11, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](12, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](13, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "evt-button", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_Template_evt_button_btnClick_14_listener() {
- return ctx.goToNextPage();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](15, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](16, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](17, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "evt-button", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function NavBarComponent_Template_evt_button_btnClick_18_listener() {
- return ctx.goToLastPage();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](19, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](20, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](21, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](22, NavBarComponent_div_22_Template, 6, 9, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](23, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](24, NavBarComponent_div_24_Template, 2, 0, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](25, "async");
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.thumbnailsButton);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.viscollButton);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 17, ctx.pageSliderOptions$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconRight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](47, _c3))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 19, "firstPage"))("disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 21, ctx.navigationDisabled$) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 23, ctx.prevNavigationDisabled$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconRight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](48, _c4))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](11, 25, "previousPage"))("disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](12, 27, ctx.navigationDisabled$) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](13, 29, ctx.prevNavigationDisabled$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](49, _c5))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](15, 31, "nextPage"))("disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](16, 33, ctx.navigationDisabled$) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](17, 35, ctx.nextNavigationDisabled$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](50, _c6))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](19, 37, "lastPage"))("disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](20, 39, ctx.navigationDisabled$) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](21, 41, ctx.nextNavigationDisabled$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](23, 43, ctx.thumbnailsPanelOpened$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](25, 45, ctx.viscollPanelOpened$));
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_8__["ɵa"], _components_manuscript_thumbnails_viewer_manuscript_thumbnails_viewer_component__WEBPACK_IMPORTED_MODULE_9__["ManuscriptThumbnailsViewerComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslatePipe"]],
- styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.nav-bar[_ngcontent-%COMP%] {\n height: 45px;\n width: 100%;\n padding: 0 20px;\n vertical-align: middle;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n[data-theme=restore][_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .nav-bar[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #0a4553;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .nav-bar[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #45535a;\n}\n\n[data-theme=modern][_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .nav-bar[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #263238;\n}\n\n[data-theme=classic][_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .nav-bar[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .nav-bar[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #362d28;\n}\n\n .nav-bar .ngx-slider {\n max-width: -o-calc(100% - 151px - 130px);\n max-width: calc(100% - 151px - 130px);\n}\n\n .nav-bar .ngx-slider[disabled] {\n opacity: 0.65;\n}\n\n .nav-bar .ngx-slider .ngx-slider-bar-wrapper {\n padding-top: 8px;\n}\n\n .nav-bar .ngx-slider .ngx-slider-bar {\n height: 8px;\n margin-top: 2px;\n left: 0;\n z-index: 1;\n width: 100%;\n border-radius: 2px;\n}\n\n[data-theme=restore][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=restore] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=restore][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar {\n background: rgba(233, 233, 233, 0.5);\n}\n\n[data-theme=neutral][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=neutral] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=neutral][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar {\n background: rgba(255, 255, 255, 0.5);\n}\n\n[data-theme=modern][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=modern] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=modern][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar {\n background: rgba(236, 239, 241, 0.5);\n}\n\n[data-theme=classic][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=classic] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar, [data-theme=classic][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar {\n background: rgba(245, 234, 212, 0.5);\n}\n\n[data-theme=restore][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=restore] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=restore][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection {\n background: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=neutral] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=neutral][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection {\n background: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=modern] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=modern][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection {\n background: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=classic] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection, [data-theme=classic][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bar.ngx-slider-selection {\n background: #f5ead4;\n}\n\n .nav-bar .ngx-slider .ngx-slider-pointer {\n top: -8px;\n width: 22px;\n height: 13px;\n background-color: #eceff1;\n border: 1px solid;\n -o-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);\n -ms-box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);\n box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);\n outline: 0;\n}\n\n[data-theme=restore][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=restore] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=restore][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer {\n border: 1px solid #0a4553;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=neutral] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=neutral][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer {\n border: 1px solid #45535a;\n}\n\n[data-theme=modern][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=modern] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=modern][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer {\n border: 1px solid #263238;\n}\n\n[data-theme=classic][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=classic] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer, [data-theme=classic][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-pointer {\n border: 1px solid #362d28;\n}\n\n .nav-bar .ngx-slider .ngx-slider-pointer::after {\n display: none;\n}\n\n .nav-bar .ngx-slider .ngx-slider-pointer:hover {\n background: #fff;\n}\n\n .nav-bar .ngx-slider .ngx-slider-bubble {\n font-size: 0.75rem;\n bottom: 13px;\n border: 1px solid;\n border-radius: 4px;\n opacity: 0.8 !important;\n padding: 0 3px;\n cursor: default;\n}\n\n[data-theme=restore][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=restore] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=restore][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble {\n background: #e9e9e9;\n color: #0a4553;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=neutral] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=neutral][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble {\n background: #fff;\n color: #45535a;\n}\n\n[data-theme=modern][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=modern] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=modern][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble {\n background: #ECEFF1;\n color: #263238;\n}\n\n[data-theme=classic][_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=classic] [_nghost-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble, [data-theme=classic][_ngcontent-%COMP%] .nav-bar .ngx-slider .ngx-slider-bubble {\n background: #f5ead4;\n color: #362d28;\n}\n\n .nav-bar .ngx-slider .ngx-slider-model-value {\n opacity: 1 !important;\n}\n\n.thumbnails-panel[_ngcontent-%COMP%], .viscoll-panel[_ngcontent-%COMP%] {\n left: 0;\n bottom: 45px;\n top: 54px;\n height: -o-calc(100% - 45px - 54px - 2);\n height: calc(100% - 45px - 54px - 2);\n overflow-y: auto;\n position: absolute;\n width: 100%;\n border: 1px solid #FFF;\n border-left: none;\n border-right: none;\n z-index: 9;\n}\n\n[data-theme=restore][_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=restore][_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .viscoll-panel[_ngcontent-%COMP%] {\n background: #783a3a;\n color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=neutral][_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .viscoll-panel[_ngcontent-%COMP%] {\n background: #555;\n color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=modern][_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .viscoll-panel[_ngcontent-%COMP%] {\n background: #607d8b;\n color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .thumbnails-panel[_ngcontent-%COMP%], [data-theme=classic][_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .viscoll-panel[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .viscoll-panel[_ngcontent-%COMP%] {\n background: #8f776a;\n color: #f5ead4;\n}\n\n .navigation-btns-container .btn {\n min-width: 30px;\n font-size: 1em;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uL25hdi1iYXIuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fdGhlbWVzLnNjc3MiLCIuLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkJBO0VBQ0kseUJBQUE7RUFDQSx3QkFBQTtBQzFCSjs7QUFDQTtFQUNJLFlEY2lCO0VDYmpCLFdBQUE7RUFDQSxlQUFBO0VBQ0Esc0JBQUE7RUFDQSxrQkFBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLHVCQUFBO0FBRUo7O0FDMkVRO0VEMUVBLGNBQUE7RUFDQSx5QkFBQTtBQUVSOztBQ3VFUTtFRDFFQSxXQUFBO0VBQ0EseUJBQUE7QUFNUjs7QUNtRVE7RUQxRUEsY0FBQTtFQUNBLHlCQUFBO0FBVVI7O0FDK0RRO0VEMUVBLGNBQUE7RUFD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gIGJvcmRlci1ib3R0b206IDFweCBkb3R0ZWQgIzY2NjtcbiAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gIGNvbG9yOiAjMDAwO1xuICBmb250LXNpemU6IDEuMnJlbTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1hcmdpbi10b3A6IDE0cHg7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NavBarComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-nav-bar',
- templateUrl: './nav-bar.component.html',
- styleUrls: ['./nav-bar.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
- }, {
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]
- }];
- }, {
- thumbnailsContainer: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
- args: ['thumbnailsContainer']
- }]
- });
- })();
- /***/
- },
- /***/
- "6Xh2":
- /*!******************************************************!*\
- !*** ./src/app/ui-components/modal/modal.service.ts ***!
- \******************************************************/
- /*! exports provided: ModalService */
- /***/
- function Xh2(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ModalService", function () {
- return ModalService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- var ModalService = /*#__PURE__*/function () {
- function ModalService(ngbModal) {
- _classCallCheck(this, ModalService);
- this.ngbModal = ngbModal;
- this.openedModals = {};
- }
- _createClass(ModalService, [{
- key: "open",
- value: function open(componentToOpen, options) {
- options = Object.assign(Object.assign({}, options || {}), {
- keyboard: false
- });
- var modalRef = this.ngbModal.open(componentToOpen, options);
- if (options && options.id) {
- this.openedModals[options.id] = modalRef;
- }
- return modalRef;
- }
- }, {
- key: "close",
- value: function close(modalRef) {
- if (typeof modalRef === 'string') {
- this.openedModals[modalRef].close();
- } else {
- modalRef.close();
- }
- }
- }]);
- return ModalService;
- }();
- ModalService.ɵfac = function ModalService_Factory(t) {
- return new (t || ModalService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_1__["NgbModal"]));
- };
- ModalService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: ModalService,
- factory: ModalService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ModalService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_1__["NgbModal"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "6n9f":
- /*!*********************************************************!*\
- !*** ./src/app/components/ms-frag/ms-frag.component.ts ***!
- \*********************************************************/
- /*! exports provided: MsFragComponent */
- /***/
- function n9f(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsFragComponent", function () {
- return MsFragComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../ui-components/ms-desc-section/ms-desc-section.component */
- "WyXU");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../ms-identifier/ms-identifier.component */
- "Ie87");
- /* harmony import */
- var _identifier_identifier_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../identifier/identifier.component */
- "FSWR");
- /* harmony import */
- var _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../ms-contents/ms-contents.component */
- "xQyG");
- /* harmony import */
- var _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../phys-desc/phys-desc.component */
- "xZwa");
- /* harmony import */
- var _history_history_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../history/history.component */
- "6qKx");
- /* harmony import */
- var _additional_additional_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ../additional/additional.component */
- "uIHG");
- function MsFragComponent_div_2_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var par_r8 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r8);
- }
- }
- function MsFragComponent_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsFragComponent_div_2_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.pEl);
- }
- }
- function MsFragComponent_evt_ms_identifier_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-identifier", 11);
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r1.data.msIdentifier);
- }
- }
- function MsFragComponent_div_4_div_3_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var no_r12 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", no_r12);
- }
- }
- function MsFragComponent_div_4_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsFragComponent_div_4_div_3_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var altIdentifier_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "note")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", altIdentifier_r9.noteEl);
- }
- }
- function MsFragComponent_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-identifier", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsFragComponent_div_4_div_3_Template, 5, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var altIdentifier_r9 = ctx.ngIf;
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "altIdentifierLabel")("underline", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data.altIdentifier)("listClass", false);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", altIdentifier_r9.noteEl.length > 0);
- }
- }
- function MsFragComponent_evt_ms_contents_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-contents", 11);
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r3.data.msContents);
- }
- }
- function MsFragComponent_evt_phys_desc_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-phys-desc", 11);
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r4.data.physDesc);
- }
- }
- function MsFragComponent_evt_history_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-history", 11);
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r5.data.history);
- }
- }
- function MsFragComponent_evt_additional_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-additional", 11);
- }
- if (rf & 2) {
- var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r6.data.additional);
- }
- }
- var MsFragComponent = function MsFragComponent() {
- _classCallCheck(this, MsFragComponent);
- };
- MsFragComponent.ɵfac = function MsFragComponent_Factory(t) {
- return new (t || MsFragComponent)();
- };
- MsFragComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: MsFragComponent,
- selectors: [["evt-ms-frag"]],
- inputs: {
- data: "data"
- },
- decls: 9,
- vars: 9,
- consts: [[1, "msFrag"], [3, "label", "underline"], ["class", "flex-container", 4, "ngIf"], [3, "data", 4, "ngIf"], [4, "ngIf"], [1, "flex-container"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "data"], [3, "data", "listClass"]],
- template: function MsFragComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsFragComponent_div_2_Template, 5, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsFragComponent_evt_ms_identifier_3_Template, 1, 1, "evt-ms-identifier", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsFragComponent_div_4_Template, 4, 5, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsFragComponent_evt_ms_contents_5_Template, 1, 1, "evt-ms-contents", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsFragComponent_evt_phys_desc_6_Template, 1, 1, "evt-phys-desc", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, MsFragComponent_evt_history_7_Template, 1, 1, "evt-history", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, MsFragComponent_evt_additional_8_Template, 1, 1, "evt-additional", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "msFrag")("underline", false);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.pEl.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msIdentifier);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.altIdentifier);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msContents);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.physDesc);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.history);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.additional);
- }
- },
- directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__["MsIdentifierComponent"], _identifier_identifier_component__WEBPACK_IMPORTED_MODULE_8__["IdentifierComponent"], _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_9__["MsContentsComponent"], _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_10__["PhysDescComponent"], _history_history_component__WEBPACK_IMPORTED_MODULE_11__["HistoryComponent"], _additional_additional_component__WEBPACK_IMPORTED_MODULE_12__["AdditionalComponent"]],
- styles: [".msFrag[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 500px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 640px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1000px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWZyYWcuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0Y7O0FBRUE7RUFDSTtJQUNJLGdCQUFBO0VBQU47O0VBR0U7SUFDSSxnQkFBQTtFQUFOO0FBQ0Y7O0FBR0E7RUFDSTtJQUNJLGVBQUE7RUFETjs7RUFJRTtJQUNJLGVBQUE7RUFETjtBQUNGIiwiZmlsZSI6Im1zLWZyYWcuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubXNGcmFnIHtcbiAgICBtYXJnaW4tYm90dG9tOiAycmVtO1xufVxuXG4uZmxleC1jb250YWluZXIge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgICBmbGV4LXdyYXA6IHdyYXA7XG59XG5cbi5mbGV4LWl0ZW0tbGFiZWwge1xuICAgIGZsZXgtYmFzaXM6IDEwMCU7XG59XG5cbi5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gICAgbWFyZ2luLWJvdHRvbTogMC43cmVtO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNTAwcHgpIHsgXG4gICAgLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICAgIH1cbiAgICAgIFxuICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgfVxufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogNjQwcHgpIHsgXG4gICAgLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gICAgfVxuXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6MTAwJVxuICAgIH1cbiB9XG5cbkBtZWRpYSAobWluLXdpZHRoOiAxMDAwcHgpIHsgXG4gICAgLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICB9XG4gICAgICBcbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczogODAlO1xuICAgIH1cbn1cblxuIl19 */"]
- });
- MsFragComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsFrag"])], MsFragComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsFragComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-ms-frag',
- templateUrl: './ms-frag.component.html',
- styleUrls: ['./ms-frag.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "6qKx":
- /*!*********************************************************!*\
- !*** ./src/app/components/history/history.component.ts ***!
- \*********************************************************/
- /*! exports provided: HistoryComponent */
- /***/
- function qKx(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HistoryComponent", function () {
- return HistoryComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../ui-components/ms-desc-section/ms-desc-section.component */
- "WyXU");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function HistoryComponent_div_2_evt_content_viewer_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
- }
- if (rf & 2) {
- var par_r5 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r5);
- }
- }
- function HistoryComponent_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, HistoryComponent_div_2_evt_content_viewer_5_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r0.data == null ? null : ctx_r0.data.summary);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.pEl);
- }
- }
- function HistoryComponent_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "origin")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r1.data == null ? null : ctx_r1.data.origin);
- }
- }
- function HistoryComponent_div_4_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var p_r7 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", p_r7);
- }
- }
- function HistoryComponent_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, HistoryComponent_div_4_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "provenance")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.provenance);
- }
- }
- function HistoryComponent_div_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "acquisition")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r3.data == null ? null : ctx_r3.data.acquisition);
- }
- }
- var HistoryComponent = function HistoryComponent() {
- _classCallCheck(this, HistoryComponent);
- };
- HistoryComponent.ɵfac = function HistoryComponent_Factory(t) {
- return new (t || HistoryComponent)();
- };
- HistoryComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: HistoryComponent,
- selectors: [["evt-history"]],
- inputs: {
- data: "data"
- },
- decls: 6,
- vars: 6,
- consts: [[1, "history"], [3, "label", "underline"], ["class", "flex-container", 4, "ngIf"], [1, "flex-container"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content"], [3, "content", 4, "ngFor", "ngForOf"], ["class", "projectInfo-block", 3, "content", 4, "ngFor", "ngForOf"], [1, "projectInfo-block", 3, "content"]],
- template: function HistoryComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, HistoryComponent_div_2_Template, 6, 4, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, HistoryComponent_div_3_Template, 5, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, HistoryComponent_div_4_Template, 5, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, HistoryComponent_div_5_Template, 5, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "history")("underline", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.summary) || (ctx.data == null ? null : ctx.data.pEl.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.origin);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.provenance.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.acquisition);
- }
- },
- directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"]],
- styles: [".history[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.projectInfo-block[_ngcontent-%COMP%] {\n display: block;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 612px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 640px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1224px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2hpc3RvcnkuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksY0FBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0Y7O0FBRUE7RUFDSTtJQUNJLGdCQUFBO0VBQU47O0VBR0U7SUFDSSxnQkFBQTtFQUFOO0FBQ0Y7O0FBR0E7RUFDSTtJQUNJLGVBQUE7RUFETjs7RUFJRTtJQUNJLGVBQUE7RUFETjtBQUNGIiwiZmlsZSI6Imhpc3RvcnkuY29tcG9uZW50LnNjc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
- HistoryComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["History"])], HistoryComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](HistoryComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-history',
- templateUrl: './history.component.html',
- styleUrls: ['./history.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "6rJU":
- /*!******************************************************!*\
- !*** ./src/app/main-header/main-header.component.ts ***!
- \******************************************************/
- /*! exports provided: MainHeaderComponent */
- /***/
- function rJU(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MainHeaderComponent", function () {
- return MainHeaderComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../app.config */
- "aR35");
- /* harmony import */
- var _utils_js_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../utils/js-utils */
- "zSMA");
- /* harmony import */
- var _services_themes_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../services/themes.service */
- "onZX");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../ui-components/button/button.component */
- "UjKN");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _main_menu_main_menu_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ../main-menu/main-menu.component */
- "9jgp");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- var _c0 = function _c0() {
- return {
- icon: "external-link-alt",
- iconSet: "fas"
- };
- };
- function MainHeaderComponent_a_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("href", ctx_r0.editionHome, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](2, _c0));
- }
- }
- function MainHeaderComponent_span_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r1.editionConfig == null ? null : ctx_r1.editionConfig.badge);
- }
- }
- var _c1 = function _c1(a0) {
- return {
- icon: a0,
- iconSet: "evt",
- additionalClasses: "viewMode-selector"
- };
- };
- function MainHeaderComponent_evt_button_10_Template(rf, ctx) {
- if (rf & 1) {
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function MainHeaderComponent_evt_button_10_Template_evt_button_btnClick_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);
- var viewMode_r4 = ctx.$implicit;
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r5.selectViewMode(viewMode_r4);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var viewMode_r4 = ctx.$implicit;
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- var tmp_1_0 = null;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("title", viewMode_r4.label)("active", viewMode_r4.id === ((tmp_1_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 4, ctx_r2.currentViewMode$)) == null ? null : tmp_1_0.id))("inverted", true)("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](6, _c1, viewMode_r4.icon));
- }
- }
- function MainHeaderComponent_evt_main_menu_12_Template(rf, ctx) {
- if (rf & 1) {
- var _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-main-menu", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("itemClicked", function MainHeaderComponent_evt_main_menu_12_Template_evt_main_menu_itemClicked_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);
- var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r7.handleItemClicked($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- }
- var _c2 = function _c2() {
- return {
- icon: "ellipsis-v"
- };
- };
- var MainHeaderComponent = /*#__PURE__*/function () {
- function MainHeaderComponent(themes, evtModelService, evtStatusService) {
- _classCallCheck(this, MainHeaderComponent);
- var _a, _b, _c, _d;
- this.themes = themes;
- this.evtModelService = evtModelService;
- this.evtStatusService = evtStatusService;
- this.title$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])((_b = (_a = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"] === null || _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"] === void 0 ? void 0 : _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings) === null || _a === void 0 ? void 0 : _a.edition) === null || _b === void 0 ? void 0 : _b.editionTitle), this.evtModelService.title$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref16) {
- var _ref17 = _slicedToArray(_ref16, 2),
- configTitle = _ref17[0],
- editionTitle = _ref17[1];
- var _a;
- return (_a = configTitle !== null && configTitle !== void 0 ? configTitle : editionTitle) !== null && _a !== void 0 ? _a : 'defaultTitle';
- }));
- this.viewModes = (_d = (_c = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.availableViewModes) === null || _c === void 0 ? void 0 : _c.filter(function (e) {
- return !e.disabled;
- })) !== null && _d !== void 0 ? _d : [];
- this.currentViewMode$ = this.evtStatusService.currentViewMode$;
- this.mainMenuOpened = false;
- this.editionConfig = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition;
- this.subscriptions = [];
- }
- _createClass(MainHeaderComponent, [{
- key: "selectViewMode",
- value: function selectViewMode(viewMode) {
- this.evtStatusService.updateViewMode$.next(viewMode);
- }
- }, {
- key: "toggleMainMenu",
- value: function toggleMainMenu(clickEvent) {
- clickEvent.event.stopPropagation();
- this.mainMenuOpened = !this.mainMenuOpened;
- }
- }, {
- key: "handleItemClicked",
- value: function handleItemClicked(itemClicked) {
- if (itemClicked) {
- this.mainMenuOpened = itemClicked === 'theme' || itemClicked === 'language';
- }
- } // tslint:disable-next-line: variable-name
- }, {
- key: "trackViewModes",
- value: function trackViewModes(_index, item) {
- return item.id;
- }
- }, {
- key: "openEditionHome",
- value: function openEditionHome() {
- if (this.editionHome) {
- window.open(this.editionHome, '_blank');
- }
- }
- }, {
- key: "ngOnDestroy",
- value: function ngOnDestroy() {
- this.subscriptions.forEach(function (subscription) {
- return subscription.unsubscribe();
- });
- }
- }, {
- key: "editionHome",
- get: function get() {
- return Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_4__["normalizeUrl"])(this.editionConfig.editionHome);
- }
- }, {
- key: "logoUrl",
- get: function get() {
- var _a, _b, _c;
- var customLogo = (_c = (_b = (_a = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"] === null || _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"] === void 0 ? void 0 : _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings) === null || _a === void 0 ? void 0 : _a.files) === null || _b === void 0 ? void 0 : _b.logoUrl) !== null && _c !== void 0 ? _c : undefined;
- return customLogo !== null && customLogo !== void 0 ? customLogo : '/evt/assets/images/logo.png';
- }
- }]);
- return MainHeaderComponent;
- }();
- MainHeaderComponent.ɵfac = function MainHeaderComponent_Factory(t) {
- return new (t || MainHeaderComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_themes_service__WEBPACK_IMPORTED_MODULE_5__["ThemesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_7__["EVTStatusService"]));
- };
- MainHeaderComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: MainHeaderComponent,
- selectors: [["evt-main-header"]],
- decls: 13,
- vars: 18,
- consts: [[1, "navbar", "justify-content-between", "temp-header"], [1, "navbar-brand"], ["height", "30", "alt", "", 1, "d-inline-block", "align-top", "mr-2", 3, "src"], [1, "edition-font", 3, "click"], ["target", "_blank", "class", "ml-2 edition-home-link", 3, "href", 4, "ngIf"], ["class", "ml-2 badge badge-pill badge-info inverted font-weight-normal edition-badge", 4, "ngIf"], ["additionalClasses", "btn-no-border viewMode-btn", 3, "title", "active", "inverted", "iconLeft", "btnClick", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["additionalClasses", "btn-no-border", 3, "inverted", "toggler", "active", "iconLeft", "btnClick"], [3, "itemClicked", 4, "ngIf"], ["target", "_blank", 1, "ml-2", "edition-home-link", 3, "href"], [3, "iconInfo"], [1, "ml-2", "badge", "badge-pill", "badge-info", "inverted", "font-weight-normal", "edition-badge"], ["additionalClasses", "btn-no-border viewMode-btn", 3, "title", "active", "inverted", "iconLeft", "btnClick"], [3, "itemClicked"]],
- template: function MainHeaderComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "nav", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "a", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "img", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainHeaderComponent_Template_span_click_3_listener() {
- return ctx.openEditionHome();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, MainHeaderComponent_a_7_Template, 2, 3, "a", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, MainHeaderComponent_span_8_Template, 2, 1, "span", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, MainHeaderComponent_evt_button_10_Template, 2, 8, "evt-button", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "evt-button", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function MainHeaderComponent_Template_evt_button_btnClick_11_listener($event) {
- return ctx.toggleMainMenu($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, MainHeaderComponent_evt_main_menu_12_Template, 1, 0, "evt-main-menu", 8);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("src", ctx.logoUrl, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("pointer", ctx.editionHome);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 13, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 15, ctx.title$)));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.editionHome);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.editionConfig == null ? null : ctx.editionConfig.badge);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.viewModes)("ngForTrackBy", ctx.trackViewModes);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("inverted", true)("toggler", true)("active", ctx.mainMenuOpened)("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](17, _c2));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.mainMenuOpened);
- }
- },
- directives: [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavbar"], _angular_common__WEBPACK_IMPORTED_MODULE_9__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_9__["NgForOf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_10__["ButtonComponent"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_11__["IconComponent"], _main_menu_main_menu_component__WEBPACK_IMPORTED_MODULE_12__["MainMenuComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_9__["AsyncPipe"]],
- styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.navbar[_ngcontent-%COMP%] {\n height: 54px;\n padding: 0 5px;\n}\n\n[data-theme=restore][_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #0a4553;\n}\n\n[data-theme=restore][_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%] {\n color: #e9e9e9 !important;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #45535a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%] {\n color: #fff !important;\n}\n\n[data-theme=modern][_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #263238;\n}\n\n[data-theme=modern][_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%] {\n color: #ECEFF1 !important;\n}\n\n[data-theme=classic][_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #362d28;\n}\n\n[data-theme=classic][_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%] {\n color: #f5ead4 !important;\n}\n\n.navbar[_ngcontent-%COMP%] a.navbar-brand[_ngcontent-%COMP%] {\n max-width: 50%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.navbar[_ngcontent-%COMP%] .right-btn-group[_ngcontent-%COMP%] {\n height: 54px;\n margin-top: 1px;\n}\n\n .viewMode-btn {\n padding: 0 5px;\n height: 38px;\n line-height: 0.9px;\n background: transparent !important;\n}\n\n[data-theme=restore][_nghost-%COMP%] .viewMode-btn, [data-theme=restore] [_nghost-%COMP%] .viewMode-btn, [data-theme=restore][_ngcontent-%COMP%] .viewMode-btn {\n color: #e9e9e9;\n}\n\n[data-theme=restore][_nghost-%COMP%] .viewMode-btn:hover, [data-theme=restore] [_nghost-%COMP%] .viewMode-btn:hover, [data-theme=restore][_ngcontent-%COMP%] .viewMode-btn:hover {\n background: rgba(233, 233, 233, 0.2);\n}\n\n[data-theme=neutral][_nghost-%COMP%] .viewMode-btn, [data-theme=neutral] [_nghost-%COMP%] .viewMode-btn, [data-theme=neutral][_ngcontent-%COMP%] .viewMode-btn {\n color: #fff;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .viewMode-btn:hover, [data-theme=neutral] [_nghost-%COMP%] .viewMode-btn:hover, [data-theme=neutral][_ngcontent-%COMP%] .viewMode-btn:hover {\n background: rgba(255, 255, 255, 0.2);\n}\n\n[data-theme=modern][_nghost-%COMP%] .viewMode-btn, [data-theme=modern] [_nghost-%COMP%] .viewMode-btn, [data-theme=modern][_ngcontent-%COMP%] .viewMode-btn {\n color: #ECEFF1;\n}\n\n[data-theme=modern][_nghost-%COMP%] .viewMode-btn:hover, [data-theme=modern] [_nghost-%COMP%] .viewMode-btn:hover, [data-theme=modern][_ngcontent-%COMP%] .viewMode-btn:hover {\n background: rgba(236, 239, 241, 0.2);\n}\n\n[data-theme=classic][_nghost-%COMP%] .viewMode-btn, [data-theme=classic] [_nghost-%COMP%] .viewMode-btn, [data-theme=classic][_ngcontent-%COMP%] .viewMode-btn {\n color: #f5ead4;\n}\n\n[data-theme=classic][_nghost-%COMP%] .viewMode-btn:hover, [data-theme=classic] [_nghost-%COMP%] .viewMode-btn:hover, [data-theme=classic][_ngcontent-%COMP%] .viewMode-btn:hover {\n background: rgba(245, 234, 212, 0.2);\n}\n\n .viewMode-btn .viewMode-selector {\n line-height: 0;\n vertical-align: text-bottom;\n font-size: 2rem;\n}\n\n .viewMode-btn.active {\n color: #ffcc00 !important;\n}\n\n.edition-badge[_ngcontent-%COMP%] {\n max-width: 150px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n vertical-align: text-bottom;\n font-variant: all-small-caps;\n font-size: 0.8rem;\n}\n\n.edition-home-link[_ngcontent-%COMP%] {\n font-size: 0.9rem;\n vertical-align: text-bottom;\n}\n\n[data-theme=restore][_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .edition-home-link[_ngcontent-%COMP%] {\n color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .edition-home-link[_ngcontent-%COMP%] {\n color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .edition-home-link[_ngcontent-%COMP%] {\n color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .edition-home-link[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .edition-home-link[_ngcontent-%COMP%] {\n color: #f5ead4;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uL21haW4taGVhZGVyLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJCQTtFQUNJLHlCQUFBO0VBQ0Esd0JBQUE7QUMxQko7O0FBQUE7RUFDSSxZREdpQjtFQ0ZqQixjQUFBO0FBR0o7O0FDaUZRO0VEakZBLGNBQUE7RUFDQSx5QkFBQTtBQUdSOztBQURRO0VBQ0kseUJBQUE7QUFHWjs7QUMwRVE7RURqRkEsV0FBQTtFQUNBLHlCQUFBO0FBVVI7O0FBUlE7RUFDSSxzQkFBQTtBQVVaOztBQ21FUTtFRGpGQSxjQUFBO0VBQ0EseUJBQUE7QUFpQlI7O0FBZlE7RUFDSSx5QkFBQTtBQWlCWjs7QUM0RFE7RURqRkEsY0FBQTtFQUNBLHlCQUFBO0FBd0JSOztBQXRCUTtFQUNJLHlCQUFBO0FBd0JaOztBQXJCSTtFQUNJLGNBQUE7RUFDQSxtQkFBQTtFQUNBLGdCQUFBO0VBQ0EsdUJBQUE7QUF1QlI7O0FBckJJO0VBQ0ksWURmYTtFQ2dCYixlQUFBO0FBdUJSOztBQW5CQTtFQUNJLGNBQUE7RUFDQSxZQUFBO0VBQ0Esa0JBQUE7RUFDQSxrQ0FBQTtBQXNCSjs7Q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ɵsetClassMetadata"](MainHeaderComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-main-header',
- templateUrl: './main-header.component.html',
- styleUrls: ['./main-header.component.scss']
- }]
- }], function () {
- return [{
- type: _services_themes_service__WEBPACK_IMPORTED_MODULE_5__["ThemesService"]
- }, {
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]
- }, {
- type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_7__["EVTStatusService"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "6tsE":
- /*!*******************************************************************!*\
- !*** ./src/app/view-modes/text-sources/text-sources.component.ts ***!
- \*******************************************************************/
- /*! exports provided: TextSourcesComponent */
- /***/
- function tsE(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TextSourcesComponent", function () {
- return TextSourcesComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! angular-gridster2 */
- "Ljk9");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! src/app/services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../panels/text-panel/text-panel.component */
- "CHR5");
- /* harmony import */
- var _panels_sources_panel_sources_panel_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../panels/sources-panel/sources-panel.component */
- "ZIVV");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- var TextSourcesComponent = /*#__PURE__*/function () {
- function TextSourcesComponent(evtStatusService) {
- _classCallCheck(this, TextSourcesComponent);
- this.evtStatusService = evtStatusService;
- this.options = {};
- this.textPanelItem = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 0
- };
- this.sourcesPanelItem = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 1
- };
- this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref18) {
- var page = _ref18.page;
- return page.id;
- }));
- this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref19) {
- var editionLevels = _ref19.editionLevels;
- return editionLevels[0];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- _createClass(TextSourcesComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this.initGridster();
- }
- }, {
- key: "changePage",
- value: function changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- }, {
- key: "changeEditionLevel",
- value: function changeEditionLevel(editionLevel) {
- this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
- }
- }, {
- key: "initGridster",
- value: function initGridster() {
- this.options = {
- gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
- displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
- margin: 0,
- maxCols: 2,
- maxRows: 1,
- draggable: {
- enabled: true,
- ignoreContent: true,
- dragHandleClass: 'panel-header'
- },
- resizable: {
- enabled: false
- }
- };
- }
- }]);
- return TextSourcesComponent;
- }();
- TextSourcesComponent.ɵfac = function TextSourcesComponent_Factory(t) {
- return new (t || TextSourcesComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]));
- };
- TextSourcesComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: TextSourcesComponent,
- selectors: [["evt-text-sources"]],
- decls: 7,
- vars: 9,
- consts: [[3, "options"], [3, "item"], [3, "pageID", "editionLevelID", "pageChange", "editionLevelChange"]],
- template: function TextSourcesComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-text-panel", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function TextSourcesComponent_Template_evt_text_panel_pageChange_2_listener($event) {
- return ctx.changePage($event);
- })("editionLevelChange", function TextSourcesComponent_Template_evt_text_panel_editionLevelChange_2_listener($event) {
- return ctx.changeEditionLevel($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "evt-sources-panel");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx.options);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.textPanelItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 5, ctx.currentPageID$))("editionLevelID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 7, ctx.currentEditionLevel$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.sourcesPanelItem);
- }
- },
- directives: [angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__["TextPanelComponent"], _panels_sources_panel_sources_panel_component__WEBPACK_IMPORTED_MODULE_5__["SourcesPanelComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ0ZXh0LXNvdXJjZXMuY29tcG9uZW50LnNjc3MifQ== */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TextSourcesComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-text-sources',
- templateUrl: './text-sources.component.html',
- styleUrls: ['./text-sources.component.scss']
- }]
- }], function () {
- return [{
- type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "6uNG":
- /*!*******************************************!*\
- !*** ./src/app/pipes/starts-with.pipe.ts ***!
- \*******************************************/
- /*! exports provided: StartsWithPipe */
- /***/
- function uNG(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "StartsWithPipe", function () {
- return StartsWithPipe;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- var StartsWithPipe = /*#__PURE__*/function () {
- function StartsWithPipe() {
- _classCallCheck(this, StartsWithPipe);
- }
- _createClass(StartsWithPipe, [{
- key: "transform",
- value: function transform(items, field, value) {
- if (!items) {
- return [];
- }
- if (!value || value.length === 0) {
- return items;
- }
- return items.filter(function (it) {
- return it[field] && it[field].toLowerCase()[0] === value;
- });
- }
- }]);
- return StartsWithPipe;
- }();
- StartsWithPipe.ɵfac = function StartsWithPipe_Factory(t) {
- return new (t || StartsWithPipe)();
- };
- StartsWithPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "startsWith",
- type: StartsWithPipe,
- pure: true
- });
- StartsWithPipe.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: StartsWithPipe,
- factory: StartsWithPipe.ɵfac
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](StartsWithPipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
- args: [{
- name: 'startsWith'
- }]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
- }], null, null);
- })();
- /***/
- },
- /***/
- "70Sg":
- /*!***********************************************************************!*\
- !*** ./src/app/services/xml-parsers/character-declarations-parser.ts ***!
- \***********************************************************************/
- /*! exports provided: CharParser, GlyphParser, GParser */
- /***/
- function Sg(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CharParser", function () {
- return CharParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GlyphParser", function () {
- return GlyphParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GParser", function () {
- return GParser;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _facsimile_parser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./facsimile-parser */
- "quyl");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var CharParser_1, GlyphParser_1, GParser_1;
- var CharParser = CharParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA6) {
- _inherits(CharParser, _basic_parsers__WEBPA6);
- var _super171 = _createSuper(CharParser);
- function CharParser() {
- var _this26;
- _classCallCheck(this, CharParser);
- _this26 = _super171.apply(this, arguments);
- _this26.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], _this26.genericParse);
- return _this26;
- }
- _createClass(CharParser, [{
- key: "parse",
- value: function parse(xml) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Char"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(xml),
- attributes: this.attributeParser.parse(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- name: this.getName(xml),
- entityName: this.getEntityName(xml),
- mappings: this.getMappings(xml),
- localProps: this.getLocalProps(xml),
- graphics: this.graphicsParser(xml)
- };
- }
- }, {
- key: "getName",
- value: function getName(xml) {
- var charNameEl = xml.querySelector('charName');
- if (charNameEl) {
- return charNameEl.textContent;
- }
- var localPropName = Array.from(xml.querySelectorAll('localProp')).find(function (el) {
- return Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('name')).toLowerCase() === 'name';
- });
- return localPropName ? Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(localPropName.getAttribute('value')) : '';
- }
- }, {
- key: "getEntityName",
- value: function getEntityName(xml) {
- var localPropName = Array.from(xml.querySelectorAll('localProp')).find(function (el) {
- return Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('name')).toLowerCase() === 'entity';
- });
- return localPropName ? Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(localPropName.getAttribute('value')) : '';
- }
- }, {
- key: "getMappings",
- value: function getMappings(xml) {
- var _this27 = this;
- return Array.from(xml.querySelectorAll('mapping')).map(function (el) {
- return {
- type: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('type')),
- subtype: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('subtype')),
- attributes: _this27.attributeParser.parse(el),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(el, _this27.genericParse)
- };
- });
- }
- }, {
- key: "getLocalProps",
- value: function getLocalProps(xml) {
- return Array.from(xml.querySelectorAll('localProp')).map(function (el) {
- return {
- name: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('name')),
- value: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('value'))
- };
- });
- }
- }, {
- key: "graphicsParser",
- value: function graphicsParser(xml) {
- var graphicParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_facsimile_parser__WEBPACK_IMPORTED_MODULE_4__["GraphicParser"], this.genericParse);
- return Array.from(xml.querySelectorAll('graphic')).map(function (el) {
- return graphicParser.parse(el);
- });
- }
- }]);
- return CharParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"]);
- CharParser = CharParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('char', CharParser_1)], CharParser);
- var GlyphParser = GlyphParser_1 = /*#__PURE__*/function (_CharParser) {
- _inherits(GlyphParser, _CharParser);
- var _super172 = _createSuper(GlyphParser);
- function GlyphParser() {
- _classCallCheck(this, GlyphParser);
- return _super172.apply(this, arguments);
- }
- _createClass(GlyphParser, [{
- key: "parse",
- value: function parse(xml) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Char"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(xml),
- attributes: this.attributeParser.parse(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- name: this.getName(xml),
- entityName: this.getEntityName(xml),
- mappings: this.getMappings(xml),
- localProps: this.getLocalProps(xml),
- graphics: this.graphicsParser(xml)
- };
- }
- }, {
- key: "getName",
- value: function getName(xml) {
- var charNameEl = xml.querySelector('glyphName');
- if (charNameEl) {
- return charNameEl.textContent;
- }
- var localPropName = Array.from(xml.querySelectorAll('localProp')).find(function (el) {
- return Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('name')).toLowerCase() === 'name';
- });
- return localPropName ? Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(localPropName.getAttribute('value')) : '';
- }
- }]);
- return GlyphParser;
- }(CharParser);
- GlyphParser = GlyphParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('glyph', GlyphParser_1)], GlyphParser);
- var GParser = GParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA7) {
- _inherits(GParser, _basic_parsers__WEBPA7);
- var _super173 = _createSuper(GParser);
- function GParser() {
- var _this28;
- _classCallCheck(this, GParser);
- _this28 = _super173.apply(this, arguments);
- _this28.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], _this28.genericParse);
- return _this28;
- }
- _createClass(GParser, [{
- key: "parse",
- value: function parse(xml) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["G"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(xml),
- attributes: this.attributeParser.parse(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- charId: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(xml.getAttribute('ref')).replace('#', '')
- };
- }
- }]);
- return GParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"]);
- GParser = GParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('g', GParser_1)], GParser);
- /***/
- },
- /***/
- "7Ht4":
- /*!************************************************!*\
- !*** ./src/app/services/evt-status.service.ts ***!
- \************************************************/
- /*! exports provided: EVTStatusService */
- /***/
- function Ht4(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EVTStatusService", function () {
- return EVTStatusService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/router */
- "tyNb");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../app.config */
- "aR35");
- /* harmony import */
- var _evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ./evt-model.service */
- "hI0h");
- var EVTStatusService = /*#__PURE__*/function () {
- function EVTStatusService(evtModelService, router, route) {
- var _this29 = this;
- _classCallCheck(this, EVTStatusService);
- var _a;
- this.evtModelService = evtModelService;
- this.router = router;
- this.route = route;
- this.availableEditionLevels = ((_a = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.availableEditionLevels) === null || _a === void 0 ? void 0 : _a.filter(function (e) {
- return !e.disabled;
- })) || [];
- this.updateViewMode$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
- this.updateDocument$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"]('');
- this.updatePage$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
- this.updateEditionLevels$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
- this.updateWitnesses$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"]([]);
- this.updateVersions$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"]([]);
- this.currentViewMode$ = this.updateViewMode$.asObservable();
- this.currentDocument$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["merge"])(this.route.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (params) {
- return params.d;
- })), this.updateDocument$);
- this.currentPage$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["combineLatest"])([Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["merge"])(this.route.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (params) {
- return params.p;
- })), this.updatePage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (p) {
- return p.id;
- }))), this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])(function (pages) {
- return !!pages && pages.length > 0;
- }))]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (_ref20) {
- var _ref21 = _slicedToArray(_ref20, 2),
- id = _ref21[0],
- pages = _ref21[1];
- return !id ? pages[0] : pages.find(function (p) {
- return p.id === id;
- }) || pages[0];
- }));
- this.currentEditionLevels$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["merge"])(this.route.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (params) {
- var _a, _b;
- return (_b = (_a = params.el) === null || _a === void 0 ? void 0 : _a.split(',')) !== null && _b !== void 0 ? _b : [];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (editionLevels) {
- return (editionLevels === null || editionLevels === void 0 ? void 0 : editionLevels.length) > 0 ? editionLevels : [_this29.defaultEditionLevelId];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (editionLevels) {
- return editionLevels.filter(function (el) {
- return !!el;
- });
- })), this.updateEditionLevels$);
- this.currentWitnesses$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["merge"])(this.route.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (params) {
- var _a, _b;
- return (_b = (_a = params.ws) === null || _a === void 0 ? void 0 : _a.split(',')) !== null && _b !== void 0 ? _b : [];
- })), this.updateWitnesses$);
- this.currentVersions$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["merge"])(this.route.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (params) {
- var _a, _b;
- return (_b = (_a = params.vs) === null || _a === void 0 ? void 0 : _a.split(',')) !== null && _b !== void 0 ? _b : [];
- })), this.updateVersions$);
- this.currentStatus$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["combineLatest"])([this.updateViewMode$, this.currentDocument$, this.currentPage$, this.currentEditionLevels$, this.currentWitnesses$, this.currentVersions$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["distinctUntilChanged"])(function (x, y) {
- return JSON.stringify(x) === JSON.stringify(y);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["shareReplay"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (_ref22) {
- var _ref23 = _slicedToArray(_ref22, 6),
- viewMode = _ref23[0],
- document = _ref23[1],
- page = _ref23[2],
- editionLevels = _ref23[3],
- witnesses = _ref23[4],
- versions = _ref23[5];
- if (viewMode.id === 'textText') {
- if (editionLevels.length === 1) {
- editionLevels.push(_this29.availableEditionLevels.filter(function (e) {
- return e.id !== editionLevels[0];
- })[0].id);
- }
- } else if (viewMode.id === 'collation') {
- editionLevels = [];
- } else if (editionLevels.length > 1) {
- editionLevels = editionLevels.slice(0, 1);
- }
- return {
- viewMode: viewMode,
- document: document,
- page: page,
- editionLevels: editionLevels,
- witnesses: witnesses,
- versions: versions
- };
- }));
- this.currentUrl$ = this.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (currentStatus) {
- return _this29.getUrlFromStatus(currentStatus);
- }));
- this.currentNamedEntityId$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
- this.currentLemmatizedEntityId$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
- this.currentStatus$.subscribe(function (currentStatus) {
- var _this29$getUrlFromSta = _this29.getUrlFromStatus(currentStatus),
- view = _this29$getUrlFromSta.view,
- params = _this29$getUrlFromSta.params;
- if (Object.keys(params).length > 0) {
- _this29.router.navigate(["/".concat(view)], {
- queryParams: params
- });
- } else {
- _this29.router.navigate(["/".concat(view)]);
- }
- });
- this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])(function (event) {
- return event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationStart"];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["first"])()).subscribe(function (event) {
- var currentViewMode = _this29.updateViewMode$.getValue();
- if (!currentViewMode) {
- var pathMatch = event.url.match(/(?<!\?.+)(?<=\/)[\w-]+(?=[/\r\n?]|$)/gm);
- if (pathMatch) {
- _this29.updateViewMode$.next(_this29.availableViewModes.find(function (vm) {
- return vm.id === pathMatch[0];
- }));
- } else {
- _this29.updateViewMode$.next(_this29.defaultViewMode);
- }
- }
- });
- this.currentNamedEntityId$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])(function (id) {
- return !!id;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["switchMap"])(function (id) {
- return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["timer"])(5000).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function () {
- return id;
- }));
- })).subscribe(function () {
- return _this29.currentNamedEntityId$.next(undefined);
- });
- this.currentLemmatizedEntityId$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])(function (id) {
- return !!id;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["switchMap"])(function (id) {
- return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["timer"])(5000).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function () {
- return id;
- }));
- })).subscribe(function () {
- return _this29.currentLemmatizedEntityId$.next(undefined);
- });
- }
- _createClass(EVTStatusService, [{
- key: "getUrlFromStatus",
- // add by FS
- value: function getUrlFromStatus(status) {
- var _a, _b;
- var params = {
- d: status.document || '',
- p: (_b = (_a = status.page) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : '',
- el: status.editionLevels.join(','),
- ws: status.witnesses.join(','),
- vs: status.versions.join(',')
- };
- Object.keys(params).forEach(function (key) {
- return params[key] === '' && delete params[key];
- });
- return {
- view: status.viewMode.id,
- params: params
- };
- }
- }, {
- key: "defaultEditionLevelId",
- get: function get() {
- var _a, _b, _c;
- var defaultConfig = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.defaultEdition;
- var availableEditionLevels = (_b = (_a = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.availableEditionLevels) === null || _a === void 0 ? void 0 : _a.filter(function (e) {
- return !e.disabled;
- })) !== null && _b !== void 0 ? _b : [];
- var defaultEdition = availableEditionLevels[0];
- if (defaultConfig) {
- defaultEdition = (_c = availableEditionLevels.find(function (e) {
- return e.id === defaultConfig;
- })) !== null && _c !== void 0 ? _c : defaultEdition;
- }
- return defaultEdition === null || defaultEdition === void 0 ? void 0 : defaultEdition.id;
- }
- }, {
- key: "availableViewModes",
- get: function get() {
- var _a, _b;
- return (_b = (_a = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.availableViewModes) === null || _a === void 0 ? void 0 : _a.filter(function (e) {
- return !e.disabled;
- })) !== null && _b !== void 0 ? _b : [];
- }
- }, {
- key: "defaultViewMode",
- get: function get() {
- var _a;
- var defaultConfig = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.defaultViewMode;
- var defaultViewMode = this.availableViewModes[0];
- if (defaultConfig) {
- defaultViewMode = (_a = this.availableViewModes.find(function (e) {
- return e.id === defaultConfig;
- })) !== null && _a !== void 0 ? _a : defaultViewMode;
- }
- return defaultViewMode;
- }
- }]);
- return EVTStatusService;
- }();
- EVTStatusService.ɵfac = function EVTStatusService_Factory(t) {
- return new (t || EVTStatusService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"]));
- };
- EVTStatusService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: EVTStatusService,
- factory: EVTStatusService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EVTStatusService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: _evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]
- }, {
- type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]
- }, {
- type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["ActivatedRoute"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "7Sdm":
- /*!*******************************************************************************************!*\
- !*** ./src/app/components/original-encoding-viewer/original-encoding-viewer.component.ts ***!
- \*******************************************************************************************/
- /*! exports provided: OriginalEncodingViewerComponent */
- /***/
- function Sdm(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "OriginalEncodingViewerComponent", function () {
- return OriginalEncodingViewerComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ng2-handy-syntax-highlighter */
- "KXWd");
- /* harmony import */
- var _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../pipes/xml-beautify.pipe */
- "UhR9");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function OriginalEncodingViewerComponent_ng_container_1_handy_syntax_highlighter_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "handy-syntax-highlighter", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "xmlBeautify");
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, ctx_r2.originalEncoding == null ? null : ctx_r2.originalEncoding.outerHTML));
- }
- }
- function OriginalEncodingViewerComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, OriginalEncodingViewerComponent_ng_container_1_handy_syntax_highlighter_1_Template, 2, 3, "handy-syntax-highlighter", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.originalEncoding);
- }
- }
- function OriginalEncodingViewerComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "notSupportedEncoding"), " ");
- }
- }
- var OriginalEncodingViewerComponent = /*#__PURE__*/function () {
- function OriginalEncodingViewerComponent() {
- _classCallCheck(this, OriginalEncodingViewerComponent);
- }
- _createClass(OriginalEncodingViewerComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- if (this.originalEncoding && this.originalEncoding.outerHTML) {
- this.encodingType = 'xml';
- }
- }
- }]);
- return OriginalEncodingViewerComponent;
- }();
- OriginalEncodingViewerComponent.ɵfac = function OriginalEncodingViewerComponent_Factory(t) {
- return new (t || OriginalEncodingViewerComponent)();
- };
- OriginalEncodingViewerComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: OriginalEncodingViewerComponent,
- selectors: [["evt-original-encoding-viewer"]],
- inputs: {
- originalEncoding: "originalEncoding"
- },
- decls: 3,
- vars: 2,
- consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["language", "markup", 3, "content", 4, "ngIf"], ["language", "markup", 3, "content"]],
- template: function OriginalEncodingViewerComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0, 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, OriginalEncodingViewerComponent_ng_container_1_Template, 2, 1, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, OriginalEncodingViewerComponent_ng_container_2_Template, 3, 3, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", ctx.encodingType);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", "xml");
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_2__["ɵb"]],
- pipes: [_pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_3__["XmlBeautifyPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslatePipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJvcmlnaW5hbC1lbmNvZGluZy12aWV3ZXIuY29tcG9uZW50LnNjc3MifQ== */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](OriginalEncodingViewerComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-original-encoding-viewer',
- templateUrl: './original-encoding-viewer.component.html',
- styleUrls: ['./original-encoding-viewer.component.scss']
- }]
- }], null, {
- originalEncoding: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "7Y2x":
- /*!***********************************************!*\
- !*** ./src/app/components/lb/lb.component.ts ***!
- \***********************************************/
- /*! exports provided: LbComponent */
- /***/
- function Y2x(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LbComponent", function () {
- return LbComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- function LbComponent_br_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "br");
- }
- }
- function LbComponent_span_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r1.data.n);
- }
- }
- var LbComponent = /*#__PURE__*/function () {
- function LbComponent(evtModelService) {
- _classCallCheck(this, LbComponent);
- this.evtModelService = evtModelService;
- }
- _createClass(LbComponent, [{
- key: "displayBlock$",
- get: function get() {
- var _this30 = this;
- return this.evtModelService.lines$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (lines) {
- return lines.length > 0;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (hasLines) {
- // If line has no information about number or the ID line is shown as a block item, no matters what
- if (!_this30.data.attributes.id && !_this30.data.attributes.n) {
- return true;
- } // Otherwise:
- // - in diplomatic and interpretative edition, if the text has at least one line,
- // those are show as block items, unless current text flow is verses
- // - in critical editionm lines are always shown as inline items, unless current text flow is prose
- switch (_this30.editionLevel) {
- case 'diplomatic':
- case 'interpretative':
- return _this30.textFlow === 'verses' ? false : hasLines;
- case 'critical':
- return _this30.textFlow === 'prose';
- }
- }));
- }
- }]);
- return LbComponent;
- }();
- LbComponent.ɵfac = function LbComponent_Factory(t) {
- return new (t || LbComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]));
- };
- LbComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: LbComponent,
- selectors: [["evt-lb"]],
- inputs: {
- data: "data"
- },
- decls: 5,
- vars: 10,
- consts: [[1, "lb", 3, "evtHtmlAttributes"], [4, "ngIf"], ["class", "lineN", 4, "ngIf"], [1, "lineN"]],
- template: function LbComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LbComponent_br_1_Template, 1, 0, "br", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LbComponent_span_3_Template, 2, 1, "span", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("id", ctx.data.id)("data-rend", ctx.data.rend || "")("data-facs", ctx.data.facs || "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 6, ctx.displayBlock$));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.n && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 8, ctx.displayBlock$));
- }
- },
- directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]],
- styles: [".lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%] {\n text-align: right;\n font-size: 0.8em;\n margin-right: 10px;\n height: 100%;\n display: inline-block;\n}\n[data-theme=restore][_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%] {\n color: #783a3a;\n}\n[data-theme=neutral][_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%] {\n color: #555;\n}\n[data-theme=modern][_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%] {\n color: #607d8b;\n}\n[data-theme=classic][_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .lb[_ngcontent-%COMP%] .lineN[_ngcontent-%COMP%] {\n color: #8f776a;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL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cC1tZXJnZSgkdGhlbWUtbWFwLCAoJGtleTogJHZhbHVlKSkgIWdsb2JhbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBjb250ZW50O1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogbnVsbCAhZ2xvYmFsO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"]
- });
- LbComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Lb"])], LbComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LbComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-lb',
- templateUrl: './lb.component.html',
- styleUrls: ['./lb.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "7igE":
- /*!***************************************************!*\
- !*** ./src/app/components/word/word.component.ts ***!
- \***************************************************/
- /*! exports provided: WordComponent */
- /***/
- function igE(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "WordComponent", function () {
- return WordComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../directives/highlight.directive */
- "CmGG");
- function WordComponent_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var el_r1 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight)("evtHighlight", ctx_r0.highlightData);
- }
- }
- var WordComponent = /*#__PURE__*/function () {
- function WordComponent() {
- _classCallCheck(this, WordComponent);
- this.opened = false;
- }
- _createClass(WordComponent, [{
- key: "toggleLemData",
- value: function toggleLemData(event) {
- event.stopPropagation();
- this.opened = !this.opened;
- }
- }, {
- key: "word",
- get: function get() {
- if (this.editionLevel === 'diplomatic' || this.editionLevel === 'interpretative') {
- return this.data.content;
- }
- var lbIndex = this.data.content.findIndex(function (el) {
- return el.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Lb"];
- });
- if (lbIndex >= 0) {
- var wordContent = _toConsumableArray(this.data.content);
- wordContent.splice(lbIndex, 1);
- wordContent.push(this.data.content[lbIndex]);
- return wordContent;
- }
- return this.data.content;
- }
- }]);
- return WordComponent;
- }();
- WordComponent.ɵfac = function WordComponent_Factory(t) {
- return new (t || WordComponent)();
- };
- WordComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: WordComponent,
- selectors: [["evt-word"]],
- inputs: {
- data: "data"
- },
- decls: 2,
- vars: 5,
- consts: [[3, "evtHtmlAttributes", "click"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight"]],
- template: function WordComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function WordComponent_Template_span_click_0_listener($event) {
- return ctx.toggleLemData($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, WordComponent_evt_content_viewer_1_Template, 1, 6, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("word ", ctx.data["class"], "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.word);
- }
- },
- directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__["HighlightDirective"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ3b3JkLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- WordComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Word"])], WordComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](WordComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-word',
- templateUrl: './word.component.html',
- styleUrls: ['./word.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "7plQ":
- /*!*****************************************************!*\
- !*** ./src/app/services/xml-parsers/xml-parsers.ts ***!
- \*****************************************************/
- /*! exports provided: ParsersDecl, XMLParsers */
- /***/
- function plQ(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ParsersDecl", function () {
- return ParsersDecl;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "XMLParsers", function () {
- return XMLParsers;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _app_parser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ./app-parser */
- "jz3b");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _character_declarations_parser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./character-declarations-parser */
- "70Sg");
- /* harmony import */
- var _choice_parser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ./choice-parser */
- "MsgF");
- /* harmony import */
- var _editorial_parsers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./editorial-parsers */
- "nUY+");
- /* harmony import */
- var _facsimile_parser__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ./facsimile-parser */
- "quyl");
- /* harmony import */
- var _header_parser__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ./header-parser */
- "Gf1x");
- /* harmony import */
- var _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ./msdesc-parser */
- "D3K6");
- /* harmony import */
- var _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ./named-entity-parsers */
- "4Z5S"); // tslint:disable-next-line: no-any
- function ParsersDecl(declarations) {
- // tslint:disable-next-line: no-any
- return function (_) {
- return /*#__PURE__*/function (_ref24) {
- _inherits(_class, _ref24);
- var _super174 = _createSuper(_class);
- function _class() {
- var _this31;
- _classCallCheck(this, _class);
- _this31 = _super174.apply(this, arguments);
- _this31.declarations = declarations;
- return _this31;
- }
- return _class;
- }(_);
- };
- }
- var XMLParsers = function XMLParsers() {
- _classCallCheck(this, XMLParsers);
- };
- XMLParsers.ɵfac = function XMLParsers_Factory(t) {
- return new (t || XMLParsers)();
- };
- XMLParsers.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: XMLParsers,
- factory: XMLParsers.ɵfac,
- providedIn: 'root'
- });
- XMLParsers = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([ParsersDecl([_header_parser__WEBPACK_IMPORTED_MODULE_8__["AbstractParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AccMatParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AcquisitionParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AdditionalParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AdditionParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AdditionsParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AdminInfoParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["AltIdentifierParser"], _app_parser__WEBPACK_IMPORTED_MODULE_2__["AppParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["BindingDescParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["BindingParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["CalendarDescParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["CalendarParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["CatRefParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["ChannelParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["ChangeParser"], _character_declarations_parser__WEBPACK_IMPORTED_MODULE_4__["CharParser"], _choice_parser__WEBPACK_IMPORTED_MODULE_5__["ChoiceParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["ClassCodeParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["CollationParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["CollectionParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["ConditionParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["ConstitutionParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["CorrectionParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["CorrespActionParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["CorrespContextParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["CorrespDescParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["CreationParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["CRefPatternParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["CustEventParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["CustodialHistParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["DamageParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["DecoDescParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["DecoNoteParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["DeletionParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["DepthParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["DerivationParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["DimensionsParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["DimParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["DomainParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["EditorialDeclParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["EncodingDescParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["ExplicitParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["FactualityParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["FiliationParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["FinalRubricParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["FoliationParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["GapParser"], _character_declarations_parser__WEBPACK_IMPORTED_MODULE_4__["GlyphParser"], _character_declarations_parser__WEBPACK_IMPORTED_MODULE_4__["GParser"], _facsimile_parser__WEBPACK_IMPORTED_MODULE_7__["GraphicParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["HandDescParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["HandNoteParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["HandNotesParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["HeadParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["HeightParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["HistoryParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["HyphenationParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["IncipitParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["InstitutionParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["InteractionParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["InterpretationParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["KeywordsParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["LanguageParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["LangUsageParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["LayoutDescParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["LayoutParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["LBParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["ListTransposeParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["ListChangeParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["LocusGrpParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["LocusParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsContentsParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsDescParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsFragParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsIdentifierParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsItemParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsItemStructParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsNameParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MsPartParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["MusicNotationParser"], _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__["NamedEntityRefParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["NamespaceParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["NormalizationParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["NoteParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["ObjectDescParser"], _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__["OrganizationParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["OrigDateParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["OriginParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["OrigPlaceParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["ParagraphParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["ParticDescParser"], _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__["PersonGroupParser"], _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__["PersonParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["PhysDescParser"], _named_entity_parsers__WEBPACK_IMPORTED_MODULE_10__["PlaceParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["PreparednessParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["ProfileDescParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["ProjectDescParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["ProvenanceParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["PtrParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["PunctuationParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["PurposeParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["QuotationParser"], _app_parser__WEBPACK_IMPORTED_MODULE_2__["RdgParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["RecordHistParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["RefsDeclParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["RefStateParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["RenditionParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["RepositoryParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["RevisionDescParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["RubricParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["SamplingDeclParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["ScriptDescParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SealDescParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SealParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["SegmentationParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["SettingDescParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["SettingParser"], _editorial_parsers__WEBPACK_IMPORTED_MODULE_6__["SicParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SourceParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["StdValsParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SummaryParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["SuppliedParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SupportDescParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SupportParser"], _facsimile_parser__WEBPACK_IMPORTED_MODULE_7__["SurfaceParser"], _editorial_parsers__WEBPACK_IMPORTED_MODULE_6__["SurplusParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["SurrogatesParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["TagsDeclParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["TagUsageParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["TermParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["TextClassParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["TextDescParser"], _header_parser__WEBPACK_IMPORTED_MODULE_8__["TransposeParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["TypeDescParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["TypeNoteParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["VerseParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["VersesGroupParser"], _msdesc_parser__WEBPACK_IMPORTED_MODULE_9__["WidthParser"], _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["WordParser"], _facsimile_parser__WEBPACK_IMPORTED_MODULE_7__["ZoneParser"]])], XMLParsers);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](XMLParsers, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "9+YD":
- /*!****************************************************************!*\
- !*** ./src/app/services/xml-parsers/ms-desc-parser.service.ts ***!
- \****************************************************************/
- /*! exports provided: MsDescParserService */
- /***/
- function YD(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsDescParserService", function () {
- return MsDescParserService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _msdesc_parser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ./msdesc-parser */
- "D3K6");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var MsDescParserService = /*#__PURE__*/function () {
- function MsDescParserService() {
- _classCallCheck(this, MsDescParserService);
- this.msDescParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_msdesc_parser__WEBPACK_IMPORTED_MODULE_2__["MsDescParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
- }
- _createClass(MsDescParserService, [{
- key: "parseMsDesc",
- value: function parseMsDesc(xml) {
- var _this32 = this;
- return Array.from(xml.querySelectorAll('msDesc')).map(function (s) {
- return _this32.msDescParser.parse(s);
- });
- }
- }]);
- return MsDescParserService;
- }();
- MsDescParserService.ɵfac = function MsDescParserService_Factory(t) {
- return new (t || MsDescParserService)();
- };
- MsDescParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: MsDescParserService,
- factory: MsDescParserService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MsDescParserService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "9L/w":
- /*!**********************************************************************!*\
- !*** ./src/app/services/xml-parsers/structure-xml-parser.service.ts ***!
- \**********************************************************************/
- /*! exports provided: StructureXmlParserService */
- /***/
- function LW(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "StructureXmlParserService", function () {
- return StructureXmlParserService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../../app.config */
- "aR35");
- /* harmony import */
- var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../utils/dom-utils */
- "G9+u");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- /* harmony import */
- var _generic_parser_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./generic-parser.service */
- "xdSp");
- var StructureXmlParserService = /*#__PURE__*/function () {
- function StructureXmlParserService(genericParserService) {
- _classCallCheck(this, StructureXmlParserService);
- this.genericParserService = genericParserService;
- this.frontOrigContentAttr = 'document_front';
- this.frontTagName = 'front';
- this.pageTagName = 'pb';
- this.bodyTagName = 'body';
- }
- _createClass(StructureXmlParserService, [{
- key: "parsePages",
- value: function parsePages(el) {
- var _this33 = this;
- if (!el) {
- return {
- pages: []
- };
- }
- var front = el.querySelector(this.frontTagName);
- var body = el.querySelector(this.bodyTagName);
- var pbs = Array.from(el.querySelectorAll(this.pageTagName)).filter(function (p) {
- return !p.getAttribute('ed');
- });
- var frontPbs = pbs.filter(function (p) {
- return Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(p, _this33.frontTagName);
- });
- var bodyPbs = pbs.filter(function (p) {
- return Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(p, _this33.bodyTagName);
- });
- var doc = el.firstElementChild.ownerDocument;
- if (frontPbs.length > 0 && bodyPbs.length > 0) {
- return {
- pages: pbs.map(function (pb, idx, arr) {
- return _this33.parseDocumentPage(doc, pb, arr[idx + 1], 'text');
- })
- };
- }
- var frontPages = frontPbs.length === 0 && front && this.isMarkedAsOrigContent(front) ? [this.parseSinglePage(doc, front, 'page_front', this.frontTagName, 'facs_front')] : frontPbs.map(function (pb, idx, arr) {
- return _this33.parseDocumentPage(doc, pb, arr[idx + 1], _this33.frontTagName);
- });
- var bodyPages = bodyPbs.length === 0 ? [this.parseSinglePage(doc, body, 'page1', 'mainText', 'facs1')] // TODO: tranlsate mainText
- : bodyPbs.map(function (pb, idx, arr) {
- return _this33.parseDocumentPage(doc, pb, arr[idx + 1], _this33.bodyTagName);
- });
- return {
- pages: [].concat(_toConsumableArray(frontPages), _toConsumableArray(bodyPages))
- };
- }
- }, {
- key: "parseDocumentPage",
- value: function parseDocumentPage(doc, pb, nextPb, ancestorTagName) {
- var _this34 = this;
- /* If there is a next page we retrieve the elements between two page nodes
- otherweise we retrieve the nodes between the page node and the last node of the body node */
- // TODO: check if querySelectorAll can return an empty array in this case
- var nextNode = nextPb || Array.from(doc.querySelectorAll(ancestorTagName)).reverse()[0].lastChild;
- var originalContent = Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["getElementsBetweenTreeNode"])(pb, nextNode).filter(function (n) {
- return n.tagName !== _this34.pageTagName;
- }).filter(function (c) {
- return ![4, 7, 8].includes(c.nodeType);
- }); // Filter comments, CDATAs, and processing instructions
- return {
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["getID"])(pb, 'page'),
- label: pb.getAttribute('n') || 'page',
- facs: (pb.getAttribute('facs') || 'page').split('#').slice(-1)[0],
- originalContent: originalContent,
- parsedContent: this.parsePageContent(doc, originalContent),
- url: this.getPageUrl(Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["getID"])(pb, 'page')),
- facsUrl: this.getPageUrl((pb.getAttribute('facs') || 'page').split('#').slice(-1)[0])
- };
- }
- }, {
- key: "parseSinglePage",
- value: function parseSinglePage(doc, el, id, label, facs) {
- var originalContent = Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["getElementsBetweenTreeNode"])(el.firstChild, el.lastChild);
- return {
- id: id,
- label: label,
- facs: facs,
- originalContent: originalContent,
- parsedContent: this.parsePageContent(doc, originalContent),
- url: this.getPageUrl(id),
- facsUrl: this.getPageUrl(facs)
- };
- }
- }, {
- key: "getPageUrl",
- value: function getPageUrl(id) {
- // TODO: check if exists <graphic> element connected to page and return its url
- // TODO: handle multiple version of page
- var image = id.split('.')[0];
- return "".concat(_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.files.imagesFolderUrl, "/").concat(image, ".jpg");
- }
- }, {
- key: "parsePageContent",
- value: function parsePageContent(doc, pageContent) {
- var _this35 = this;
- return pageContent.map(function (node) {
- var origEl = getEditionOrigNode(node, doc);
- if (origEl.nodeName === _this35.frontTagName || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(origEl, _this35.frontTagName)) {
- if (_this35.hasOriginalContent(origEl)) {
- return Array.from(origEl.querySelectorAll("[type=".concat(_this35.frontOrigContentAttr, "]"))).map(function (c) {
- return _this35.genericParserService.parse(c);
- });
- }
- if (_this35.isMarkedAsOrigContent(origEl)) {
- return [_this35.genericParserService.parse(origEl)];
- }
- return [];
- }
- if (origEl.tagName === 'text' && origEl.querySelectorAll && origEl.querySelectorAll(_this35.frontTagName).length > 0) {
- return _this35.parsePageContent(doc, Array.from(origEl.children));
- }
- return [_this35.genericParserService.parse(origEl)];
- }).reduce(function (x, y) {
- return x.concat(y);
- }, []);
- }
- }, {
- key: "hasOriginalContent",
- value: function hasOriginalContent(el) {
- return el.querySelectorAll("[type=".concat(this.frontOrigContentAttr, "]")).length > 0;
- }
- }, {
- key: "isMarkedAsOrigContent",
- value: function isMarkedAsOrigContent(el) {
- return el.nodeType !== 3 && (el.getAttribute('type') === this.frontOrigContentAttr || this.hasOriginalContent(el) || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(el, '', [{
- key: 'type',
- value: this.frontOrigContentAttr
- }]));
- }
- }]);
- return StructureXmlParserService;
- }();
- StructureXmlParserService.ɵfac = function StructureXmlParserService_Factory(t) {
- return new (t || StructureXmlParserService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_generic_parser_service__WEBPACK_IMPORTED_MODULE_4__["GenericParserService"]));
- };
- StructureXmlParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: StructureXmlParserService,
- factory: StructureXmlParserService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](StructureXmlParserService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: _generic_parser_service__WEBPACK_IMPORTED_MODULE_4__["GenericParserService"]
- }];
- }, null);
- })();
- function getEditionOrigNode(el, doc) {
- if (el.getAttribute && el.getAttribute('xpath')) {
- var path = doc.documentElement.namespaceURI ? el.getAttribute('xpath').replace(/\//g, '/ns:') : el.getAttribute('xpath');
- var xpathRes = doc.evaluate(path, doc, Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["createNsResolver"])(doc), XPathResult.ANY_TYPE, undefined);
- return xpathRes.iterateNext();
- }
- return el;
- }
- /***/
- },
- /***/
- "9L9p":
- /*!***********************************************************!*\
- !*** ./src/app/components/addition/addition.component.ts ***!
- \***********************************************************/
- /*! exports provided: AdditionComponent */
- /***/
- function L9p(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AdditionComponent", function () {
- return AdditionComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../directives/highlight.directive */
- "CmGG");
- /* harmony import */
- var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../directives/editorial-convention-layout.directive */
- "FJNG");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function AdditionComponent_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var element_r1 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight);
- }
- }
- var AdditionComponent = /*#__PURE__*/function () {
- function AdditionComponent() {
- _classCallCheck(this, AdditionComponent);
- }
- _createClass(AdditionComponent, [{
- key: "_getDefaultLayoutsKeys",
- value: function _getDefaultLayoutsKeys() {
- switch (this.data.place) {
- case 'above':
- case 'sup':
- return 'additionAbove';
- case 'below':
- case 'under':
- case 'sub':
- return 'additionBelow';
- case 'end':
- case 'inline':
- case 'inspace':
- return 'additionInline';
- case 'left':
- return 'additionLeft';
- case 'right':
- return 'additionRight';
- default:
- return 'addition';
- }
- }
- }, {
- key: "editorialConventionData",
- get: function get() {
- return {
- name: 'add',
- attributes: this.data.attributes,
- editionLevel: this.editionLevel,
- defaultsKey: this._getDefaultLayoutsKeys()
- };
- }
- }]);
- return AdditionComponent;
- }();
- AdditionComponent.ɵfac = function AdditionComponent_Factory(t) {
- return new (t || AdditionComponent)();
- };
- AdditionComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: AdditionComponent,
- selectors: [["evt-addition"]],
- inputs: {
- data: "data"
- },
- decls: 2,
- vars: 5,
- consts: [[1, "add", 3, "evtHighlight", "evtEditorialConventionLayout"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight"]],
- template: function AdditionComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, AdditionComponent_evt_content_viewer_1_Template, 1, 5, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHighlight", ctx.highlightData)("evtEditorialConventionLayout", ctx.editorialConventionData);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-edition", ctx.editionLevel)("data-place", ctx.data.place);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__["HighlightDirective"], _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__["EditorialConventionLayoutDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJhZGRpdGlvbi5jb21wb25lbnQuc2NzcyJ9 */"]
- });
- AdditionComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Addition"])], AdditionComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](AdditionComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-addition',
- templateUrl: './addition.component.html',
- styleUrls: ['./addition.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "9MqL":
- /*!*****************************************************************!*\
- !*** ./src/app/panels/witness-panel/witness-panel.component.ts ***!
- \*****************************************************************/
- /*! exports provided: WitnessPanelComponent */
- /***/
- function MqL(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "WitnessPanelComponent", function () {
- return WitnessPanelComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../../ui-components/panel/panel.component */
- "HiHV");
- /* harmony import */
- var _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../directives/annotator.directive */
- "STiE");
- var WitnessPanelComponent = /*#__PURE__*/function () {
- function WitnessPanelComponent() {
- _classCallCheck(this, WitnessPanelComponent);
- this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- _createClass(WitnessPanelComponent, [{
- key: "emitHide",
- value: function emitHide() {
- this.hide.emit(true);
- }
- }]);
- return WitnessPanelComponent;
- }();
- WitnessPanelComponent.ɵfac = function WitnessPanelComponent_Factory(t) {
- return new (t || WitnessPanelComponent)();
- };
- WitnessPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: WitnessPanelComponent,
- selectors: [["evt-witness-panel"]],
- inputs: {
- witness: "witness"
- },
- outputs: {
- hide: "hide"
- },
- decls: 8,
- vars: 4,
- consts: [[3, "comparable", "secondary", "closable", "hide"], ["header-left", ""], ["content", "", "evtAnnotator", ""]],
- template: function WitnessPanelComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function WitnessPanelComponent_Template_evt_panel_hide_0_listener() {
- return ctx.emitHide();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "h1");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "Text of witness");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "p");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, " Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Inmensae subtilitatis, obscuris et malesuada fames. Ambitioni dedisse scripsisse iudicaretur. At nos hinc posthac, sitientis piros Afros. ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("comparable", true)("secondary", true)("closable", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" Witness ", ctx.witness, " ");
- }
- },
- directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__["PanelComponent"], _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__["AnnotatorDirective"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ3aXRuZXNzLXBhbmVsLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](WitnessPanelComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-witness-panel',
- templateUrl: './witness-panel.component.html',
- styleUrls: ['./witness-panel.component.scss']
- }]
- }], null, {
- witness: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- hide: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "9jgp":
- /*!**************************************************!*\
- !*** ./src/app/main-menu/main-menu.component.ts ***!
- \**************************************************/
- /*! exports provided: MainMenuComponent */
- /***/
- function jgp(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MainMenuComponent", function () {
- return MainMenuComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../app.config */
- "aR35");
- /* harmony import */
- var _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../components/global-lists/global-lists.component */
- "rRcO");
- /* harmony import */
- var _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../components/project-info/project-info.component */
- "s1S/");
- /* harmony import */
- var _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../evt-info/evt-info.component */
- "5b7e");
- /* harmony import */
- var _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../shortcuts/shortcuts.component */
- "lP9l");
- /* harmony import */
- var _ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../ui-components/modal/modal.component */
- "P7wN");
- /* harmony import */
- var _services_themes_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../services/themes.service */
- "onZX");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- /* harmony import */
- var _ui_components_modal_modal_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../ui-components/modal/modal.service */
- "6Xh2");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _ui_components_directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! ../ui-components/directives/click-outside.directive */
- "gCbp");
- /* harmony import */
- var _ui_components_directives_escape_directive__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
- /*! ../ui-components/directives/escape.directive */
- "CimZ");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
- /*! ../ui-components/icon/icon.component */
- "Mijh"); // import { SpecificListsComponent } from '../components/specific-lists/specific-lists.component';
- function MainMenuComponent_ng_container_2_li_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainMenuComponent_ng_container_2_li_1_Template_span_click_1_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r7);
- var item_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
- return item_r3.callback();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "evt-icon", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", item_r3.iconInfo);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 2, item_r3.label), " ");
- }
- }
- function MainMenuComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, MainMenuComponent_ng_container_2_li_1_Template, 5, 4, "li", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var item_r3 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, item_r3.enabled$));
- }
- }
- function MainMenuComponent_li_5_img_5_Template(rf, ctx) {
- if (rf & 1) {
- var _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "img", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainMenuComponent_li_5_img_5_Template_img_click_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r12);
- var language_r10 = ctx.$implicit;
- var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- return ctx_r11.selectLanguage($event, language_r10);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var language_r10 = ctx.$implicit;
- var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx_r9.translate.currentLang === language_r10.code);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("src", "../../assets/images/", language_r10.code, ".png", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 4, language_r10.label));
- }
- }
- var _c0 = function _c0() {
- return {
- icon: "language",
- additionalClasses: "icon"
- };
- };
- function MainMenuComponent_li_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "evt-icon", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, MainMenuComponent_li_5_img_5_Template, 2, 6, "img", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c0));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 4, "changeLanguage"), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.getAvailableLanguages())("ngForTrackBy", ctx_r1.trackLanguages);
- }
- }
- function MainMenuComponent_span_11_Template(rf, ctx) {
- if (rf & 1) {
- var _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainMenuComponent_span_11_Template_span_click_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r15);
- var theme_r13 = ctx.$implicit;
- var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r14.selectTheme($event, theme_r13);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var theme_r13 = ctx.$implicit;
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("active", ctx_r2.getCurrentTheme() === theme_r13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 4, theme_r13.label));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("data-theme", theme_r13.value);
- }
- }
- var _c1 = function _c1() {
- return {
- icon: "paint-brush",
- additionalClasses: "icon"
- };
- };
- var _c2 = function _c2() {
- return {
- icon: "keyboard",
- additionalClasses: "icon"
- };
- };
- var _c3 = function _c3() {
- return {
- icon: "copyright",
- additionalClasses: "icon"
- };
- };
- var MainMenuComponent = /*#__PURE__*/function () {
- function MainMenuComponent(themes, translate, modalService, evtModelService) {
- _classCallCheck(this, MainMenuComponent);
- this.themes = themes;
- this.translate = translate;
- this.modalService = modalService;
- this.evtModelService = evtModelService;
- this.itemClicked = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.dynamicItems = [];
- this.uiConfig = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.ui;
- this.fileConfig = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.files;
- this.editionConfig = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition;
- this.isOpened = false;
- this.subscriptions = [];
- this.availableLangs = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.ui.availableLanguages.filter(function (l) {
- return l.enabled;
- });
- }
- _createClass(MainMenuComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this.loadUiConfig();
- this.isOpened = true;
- }
- }, {
- key: "closeMenu",
- value: function closeMenu() {
- if (this.isOpened) {
- this.isOpened = false;
- this.itemClicked.emit('close');
- }
- }
- }, {
- key: "loadUiConfig",
- value: function loadUiConfig() {
- this.initDynamicItems();
- }
- }, {
- key: "initDynamicItems",
- value: function initDynamicItems() {
- var _this36 = this;
- // TODO Check if available from uiConfig
- this.dynamicItems = [{
- id: 'projectInfo',
- iconInfo: {
- icon: 'info-circle',
- additionalClasses: 'icon'
- },
- label: 'projectInfo',
- enabled$: Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(true),
- callback: function callback() {
- return _this36.openGlobalDialogInfo();
- }
- }, {
- id: 'openLists',
- iconInfo: {
- icon: 'clipboard-list',
- additionalClasses: 'icon'
- },
- label: 'openLists',
- enabled$: this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (ne) {
- return _this36.editionConfig.showLists && ne.all.entities.length > 0;
- })),
- callback: function callback() {
- return _this36.openGlobalDialogLists();
- }
- }];
- }
- }, {
- key: "openGlobalDialogInfo",
- value: function openGlobalDialogInfo() {
- this.itemClicked.emit('globalInfo');
- var modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], {
- id: 'project-info',
- animation: false
- });
- var modalComp = modalRef.componentInstance;
- modalComp.fixedHeight = true;
- modalComp.wider = true;
- modalComp.modalId = 'project-info';
- modalComp.title = 'projectInfo';
- modalComp.bodyContentClass = 'p-0 h-100';
- modalComp.headerIcon = {
- icon: 'info',
- iconSet: 'fas',
- additionalClasses: 'mr-3'
- };
- modalComp.bodyComponent = _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_5__["ProjectInfoComponent"];
- }
- }, {
- key: "openGlobalDialogLists",
- value: function openGlobalDialogLists() {
- this.itemClicked.emit('lists');
- var modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], {
- id: 'global-lists'
- });
- var modalComp = modalRef.componentInstance;
- modalComp.fixedHeight = true;
- modalComp.wider = true;
- modalComp.modalId = 'global-lists';
- modalComp.title = 'lists';
- modalComp.bodyContentClass = 'p-0 h-100';
- modalComp.headerIcon = {
- icon: 'clipboard-list',
- iconSet: 'fas',
- additionalClasses: 'mr-3'
- };
- modalComp.bodyComponent = _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_4__["GlobalListsComponent"];
- } // private openSpecificDialogLists() {
- // this.itemClicked.emit('lists');
- // const modalRef = this.modalService.open(ModalComponent, { id: 'specific-lists' });
- // const modalComp = modalRef.componentInstance as ModalComponent;
- // modalComp.fixedHeight = true;
- // modalComp.wider = true;
- // modalComp.modalId = 'specific-lists';
- // modalComp.title = 'lists';
- // modalComp.bodyContentClass = 'p-0 h-100';
- // modalComp.headerIcon = { icon: 'clipboard-list', iconSet: 'fas', additionalClasses: 'mr-3' };
- // modalComp.bodyComponent = SpecificListsComponent;
- // }
- // private generateBookmark() {
- // // TODO generateBookmark
- // this.itemClicked.emit('bookmark');
- // }
- // private downloadXML() {
- // // TODO downloadXML
- // this.itemClicked.emit('downloadXML');
- // if (this.fileConfig && this.fileConfig.editionUrls) {
- // this.fileConfig.editionUrls.forEach(url => window.open(url, '_blank'));
- // } else {
- // alert('Loading data... \nPlease try again later.');
- // }
- // }
- }, {
- key: "openShortCuts",
- value: function openShortCuts() {
- this.itemClicked.emit('shortcuts');
- var modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], {
- id: 'shortcuts'
- });
- var modalComp = modalRef.componentInstance;
- modalComp.fixedHeight = true;
- modalComp.modalId = 'shortcuts';
- modalComp.title = 'shortcuts';
- modalComp.bodyContentClass = 'p-3';
- modalComp.headerIcon = {
- icon: 'keyboard',
- iconSet: 'fas',
- additionalClasses: 'mr-3'
- };
- modalComp.bodyComponent = _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_7__["ShortcutsComponent"];
- } // LANGUAGE
- }, {
- key: "selectLanguage",
- value: function selectLanguage(event, languageSelected) {
- event.stopPropagation();
- this.translate.use(languageSelected.code);
- this.itemClicked.emit('language');
- }
- }, {
- key: "getAvailableLanguages",
- value: function getAvailableLanguages() {
- return this.availableLangs;
- } // THEMES
- }, {
- key: "selectTheme",
- value: function selectTheme(event, theme) {
- event.stopPropagation();
- this.itemClicked.emit('theme');
- this.themes.selectTheme(theme);
- }
- }, {
- key: "getAvailableThemes",
- value: function getAvailableThemes() {
- return this.themes.getAvailableThemes();
- }
- }, {
- key: "getCurrentTheme",
- value: function getCurrentTheme() {
- return this.themes.getCurrentTheme();
- }
- }, {
- key: "openEVTInfo",
- value: function openEVTInfo() {
- this.itemClicked.emit('evtInfo');
- var modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], {
- id: 'evtInfo'
- });
- var modalComp = modalRef.componentInstance;
- modalComp.fixedHeight = true;
- modalComp.modalId = 'evtInfo';
- modalComp.title = 'aboutEVT';
- modalComp.bodyContentClass = 'p-3';
- modalComp.headerIcon = {
- icon: 'copyright',
- iconSet: 'fas',
- additionalClasses: 'mr-3'
- };
- modalComp.bodyComponent = _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_6__["EvtInfoComponent"];
- } // tslint:disable-next-line: variable-name
- }, {
- key: "trackMenuItem",
- value: function trackMenuItem(_index, item) {
- return item.id;
- } // tslint:disable-next-line: variable-name
- }, {
- key: "trackLanguages",
- value: function trackLanguages(_index, item) {
- return item.code;
- } // tslint:disable-next-line: variable-name
- }, {
- key: "trackTheme",
- value: function trackTheme(_index, item) {
- return item.value;
- }
- }, {
- key: "ngOnDestroy",
- value: function ngOnDestroy() {
- this.subscriptions.forEach(function (subscription) {
- return subscription.unsubscribe();
- });
- }
- }]);
- return MainMenuComponent;
- }();
- MainMenuComponent.ɵfac = function MainMenuComponent_Factory(t) {
- return new (t || MainMenuComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_themes_service__WEBPACK_IMPORTED_MODULE_9__["ThemesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_ui_components_modal_modal_service__WEBPACK_IMPORTED_MODULE_11__["ModalService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_12__["EVTModelService"]));
- };
- MainMenuComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: MainMenuComponent,
- selectors: [["evt-main-menu"]],
- outputs: {
- itemClicked: "itemClicked"
- },
- decls: 22,
- vars: 20,
- consts: [[1, "mainMenu", 3, "clickOutside", "escape"], [4, "ngFor", "ngForOf", "ngForTrackBy"], [4, "ngIf"], ["data-prevent-close", "true", 1, "no-action"], [3, "iconInfo"], ["class", "theme-item", 3, "active", "title", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [3, "click"], ["class", "flag", 3, "src", "active", "title", "click", 4, "ngFor", "ngForOf", "ngForTrackBy"], [1, "flag", 3, "src", "title", "click"], [1, "theme-item", 3, "title", "click"]],
- template: function MainMenuComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("clickOutside", function MainMenuComponent_Template_div_clickOutside_0_listener() {
- return ctx.closeMenu();
- })("escape", function MainMenuComponent_Template_div_escape_0_listener() {
- return ctx.closeMenu();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ul");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, MainMenuComponent_ng_container_2_Template, 3, 3, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "hr");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "ul");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, MainMenuComponent_li_5_Template, 6, 7, "li", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "span", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "evt-icon", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, MainMenuComponent_span_11_Template, 2, 6, "span", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "span", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainMenuComponent_Template_span_click_13_listener() {
- return ctx.openShortCuts();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](14, "evt-icon", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](16, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "span", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MainMenuComponent_Template_span_click_18_listener() {
- return ctx.openEVTInfo();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](19, "evt-icon", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](20);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](21, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.dynamicItems)("ngForTrackBy", ctx.trackMenuItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.uiConfig && ctx.uiConfig.localization);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](17, _c1));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 11, "changeTheme"), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.getAvailableThemes())("ngForTrackBy", ctx.trackTheme);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](18, _c2));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](16, 13, "shortcuts"), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](19, _c3));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](21, 15, "aboutEVT"), " ");
- }
- },
- directives: [_ui_components_directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_13__["ClickOutsideDirective"], _ui_components_directives_escape_directive__WEBPACK_IMPORTED_MODULE_14__["EscapeDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_15__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_15__["NgIf"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_16__["IconComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_15__["AsyncPipe"]],
- styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.mainMenu[_ngcontent-%COMP%] {\n position: absolute;\n text-align: left;\n background-color: white;\n padding: 9px 0px;\n z-index: 9999;\n max-width: 340px;\n overflow: hidden;\n border-radius: 3px;\n top: 54px;\n right: 4px;\n -o-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26), 0 2px 10px 0 rgba(0,0,0,0.16);\n -ms-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26), 0 2px 10px 0 rgba(0,0,0,0.16);\n box-shadow: 0 2px 5px 0 rgba(0,0,0,0.26), 0 2px 10px 0 rgba(0,0,0,0.16);\n}\n\n.mainMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] {\n margin: 0;\n list-style: none;\n padding: 0;\n color: #4b4b4b;\n}\n\n.mainMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n color: #444444;\n font-size: 1.1rem;\n height: 40px;\n padding: 6.5px 20px 0 20px;\n display: block;\n box-sizing: border-box;\n white-space: nowrap;\n cursor: pointer;\n}\n\n.mainMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] > span.no-action[_ngcontent-%COMP%] {\n cursor: default;\n}\n\n.mainMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover {\n background-color: #f4f5f5;\n cursor: pointer;\n}\n\n.mainMenu[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.inactive[_ngcontent-%COMP%] *[_ngcontent-%COMP%] {\n background-color: #f5f5f5;\n color: #ccc;\n cursor: default;\n}\n\n.mainMenu[_ngcontent-%COMP%] img.flag[_ngcontent-%COMP%], .mainMenu[_ngcontent-%COMP%] .theme-item[_ngcontent-%COMP%] {\n height: 20px;\n width: 20px;\n border-radius: 100px;\n border: 1px solid #4E443C;\n display: inline-block;\n margin: 0px 4px;\n position: relative;\n cursor: pointer;\n opacity: 0.5;\n vertical-align: middle;\n}\n\n.mainMenu[_ngcontent-%COMP%] img.flag.active[_ngcontent-%COMP%], .mainMenu[_ngcontent-%COMP%] .theme-item.active[_ngcontent-%COMP%] {\n cursor: default;\n opacity: 1;\n}\n\n.mainMenu[_ngcontent-%COMP%] img.flag[_ngcontent-%COMP%]:hover, .mainMenu[_ngcontent-%COMP%] .theme-item[_ngcontent-%COMP%]:hover {\n opacity: 1;\n}\n\n.mainMenu[_ngcontent-%COMP%] .theme-item[data-theme=restore][_ngcontent-%COMP%] {\n background: #0a4553;\n}\n\n.mainMenu[_ngcontent-%COMP%] .theme-item[data-theme=neutral][_ngcontent-%COMP%] {\n background: #45535a;\n}\n\n.mainMenu[_ngcontent-%COMP%] .theme-item[data-theme=modern][_ngcontent-%COMP%] {\n background: #263238;\n}\n\n.mainMenu[_ngcontent-%COMP%] .theme-item[data-theme=classic][_ngcontent-%COMP%] {\n background: #362d28;\n}\n\n .mainMenu .icon {\n margin-right: 14px;\n min-width: 20px;\n float: left;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uL21haW4tbWVudS5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyIsIi4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyQkE7RUFDSSx5QkFBQTtFQUNBLHdCQUFBO0FDMUJKOztBQUFBO0VBQ0ksa0JBQUE7RUFDQSxnQkFBQTtFQUNBLHVCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxhQUFBO0VBQ0EsZ0JBQUE7RUFDQSxnQkFBQTtFQUNBLGtCQUFBO0VBQ0EsU0RMaUI7RUNNakIsVUFBQTtFQ0VGLDBFQUFBO0VBR0EsMkVBQUE7RUFDQSx1RUFBQTtBREdGOztBQUxJO0VBQ0ksU0FBQTtFQUNBLGdCQUFBO0VBQ0EsVUFBQTt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R0aDogMzQwcHg7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICBib3JkZXItcmFkaXVzOiAzcHg7XG4gICAgdG9wOiAkYmFzZS1oZWFkZXItaGVpZ2h0O1xuICAgIHJpZ2h0OiA0cHg7XG5cbiAgICBAaW5jbHVkZSBzZXQoXCJib3gtc2hhZG93XCIsIFwiMCAycHggNXB4IDAgcmdiYSgwLDAsMCwwLjI2KSwgMCAycHggMTBweCAwIHJnYmEoMCwwLDAsMC4xNilcIik7XG5cbiAgICB1bCB7XG4gICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgbGlzdC1zdHlsZTogbm9uZTtcbiAgICAgICAgcGFkZGluZzogMDtcbiAgICAgICAgY29sb3I6ICM0YjRiNGI7XG5cbiAgICAgICAgbGkge1xuICAgICAgICAgICAgPiBzcGFuIHtcbiAgICAgICAgICAgICAgICBjb2xvcjogIzQ0NDQ0NDtcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDEuMXJlbTtcbiAgICAgICAgICAgICAgICBoZWlnaHQ6IDQwcHg7XG4gICAgICAgICAgICAgICAgcGFkZGluZzogNi41cHggMjBweCAwIDIwcHg7XG4gICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgICAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICAgICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgICAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcblxuICAgICAgICAgICAgICAgICYubm8tYWN0aW9uIHtcbiAgICAgICAgICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpob3ZlciB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2Y0ZjVmNTtcbiAgICAgICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYuaW5hY3RpdmUgKiB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2Y1ZjVmNTtcbiAgICAgICAgICAgICAgICBjb2xvcjogI2NjYztcbiAgICAgICAgICAgICAgICBjdXJzb3I6IGRlZmF1bHQ7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBpbWcuZmxhZywgLnRoZW1lLWl0ZW0ge1xuICAgICAgICBoZWlnaHQ6IDIwcHg7XG4gICAgICAgIHdpZHRoOiAyMHB4O1xuICAgICAgICBib3JkZXItcmFkaXVzOiAxMDBweDtcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgIzRFNDQzQztcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgICAgICBtYXJnaW46IDBweCA0cHg7XG4gICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICBvcGFjaXR5OiAuNTtcbiAgICAgICAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbiAgICAgICAgJi5hY3RpdmUge1xuICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xuICAgICAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgfVxuXG4gICAgICAgICY6aG92ZXIge1xuICAgICAgICAgICAgb3BhY2l0eTogMTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIC50aGVtZS1pdGVtIHtcbiAgICAgICAgQGluY2x1ZGUgdGhlbWlmeVNlbGYoJHRoZW1lcykge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogdGhlbWVkKCdiYXNlQ29sb3JEYXJrJyk7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbjo6bmctZGVlcCAubWFpbk1lbnUge1xuICAgIC5pY29uIHtcbiAgICAgICAgbWFyZ2luLXJpZ2h0OiAxNHB4O1xuICAgICAgICBtaW4td2lkdGg6IDIwcHg7XG4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W1lLW1hcDogKCkgIWdsb2JhbDtcbiAgICAgICAgICAgIEBlYWNoICRrZXksICRzdWJtYXAgaW4gJG1hcCB7XG4gICAgICAgICAgICAgICAgJHZhbHVlOiBtYXAtZ2V0KG1hcC1nZXQoJHRoZW1lcywgJHRoZW1lKSwgJyN7JGtleX0nKTtcbiAgICAgICAgICAgICAgICAkdGhlbWUtbWFwOiBtYXAtbWVyZ2UoJHRoZW1lLW1hcCwgKCRrZXk6ICR2YWx1ZSkpICFnbG9iYWw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBAY29udGVudDtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6IG51bGwgIWdsb2JhbDtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQGZ1bmN0aW9uIHRoZW1lZCgka2V5KSB7XG4gICAgQHJldHVybiBtYXAtZ2V0KCR0aGVtZS1tYXAsICRrZXkpO1xufVxuXG4iXX0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MainMenuComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-main-menu',
- templateUrl: './main-menu.component.html',
- styleUrls: ['./main-menu.component.scss']
- }]
- }], function () {
- return [{
- type: _services_themes_service__WEBPACK_IMPORTED_MODULE_9__["ThemesService"]
- }, {
- type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslateService"]
- }, {
- type: _ui_components_modal_modal_service__WEBPACK_IMPORTED_MODULE_11__["ModalService"]
- }, {
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_12__["EVTModelService"]
- }];
- }, {
- itemClicked: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "9viu":
- /*!***********************************************************************!*\
- !*** ./src/app/components/specific-lists/specific-lists.component.ts ***!
- \***********************************************************************/
- /*! exports provided: SpecificListsComponent */
- /***/
- function viu(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SpecificListsComponent", function () {
- return SpecificListsComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function SpecificListsComponent_ng_template_2_ng_template_0_Template(rf, ctx) {}
- var _c0 = function _c0(a0) {
- return {
- lemlist: a0,
- last: false
- };
- };
- function SpecificListsComponent_ng_template_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, SpecificListsComponent_ng_template_2_ng_template_0_Template, 0, 0, "ng-template", 9);
- }
- if (rf & 2) {
- var lemlist_r6 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r4)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](2, _c0, lemlist_r6));
- }
- }
- var _c1 = function _c1() {
- return {
- icon: "network-wired",
- additionalClasses: "mr-1"
- };
- };
- function SpecificListsComponent_div_4_Template(rf, ctx) {
- if (rf & 1) {
- var _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SpecificListsComponent_div_4_Template_div_click_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);
- var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r8.openRelations();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "evt-icon", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c1));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 3, "relations"), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 5, ctx_r1.relations$).length);
- }
- }
- function SpecificListsComponent_ng_container_8_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 15);
- }
- if (rf & 2) {
- var relation_r11 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", relation_r11);
- }
- }
- function SpecificListsComponent_ng_container_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SpecificListsComponent_ng_container_8_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, ctx_r2.relations$));
- }
- }
- function SpecificListsComponent_ng_container_9_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 15);
- }
- if (rf & 2) {
- var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", ctx_r12.selectedList);
- }
- }
- function SpecificListsComponent_ng_container_9_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SpecificListsComponent_ng_container_9_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 16);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r3.selectedList);
- }
- }
- var _c2 = function _c2(a0) {
- return {
- icon: a0,
- additionalClasses: "mr-1"
- };
- };
- function SpecificListsComponent_ng_template_10_evt_icon_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 12);
- }
- if (rf & 2) {
- var lemlist_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().lemlist;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](1, _c2, lemlist_r13.icon));
- }
- }
- function SpecificListsComponent_ng_template_10_span_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var lemlist_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().lemlist;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](lemlist_r13.content == null ? null : lemlist_r13.content.length);
- }
- }
- function SpecificListsComponent_ng_template_10_div_6_ng_template_1_ng_template_0_Template(rf, ctx) {}
- var _c3 = function _c3(a0, a1) {
- return {
- lemlist: a0,
- last: a1
- };
- };
- function SpecificListsComponent_ng_template_10_div_6_ng_template_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, SpecificListsComponent_ng_template_10_div_6_ng_template_1_ng_template_0_Template, 0, 0, "ng-template", 9);
- }
- if (rf & 2) {
- var sublist_r21 = ctx.$implicit;
- var last_r22 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
- var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r4)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](2, _c3, sublist_r21, last_r22));
- }
- }
- function SpecificListsComponent_ng_template_10_div_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 21);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, SpecificListsComponent_ng_template_10_div_6_ng_template_1_Template, 1, 5, "ng-template", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var lemlist_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().lemlist;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", lemlist_r13.sublists);
- }
- }
- var _c4 = function _c4(a0, a1, a2, a3) {
- return {
- hidden: a0,
- "bg-dark": a1,
- "text-light": a2,
- "border-bottom": a3
- };
- };
- function SpecificListsComponent_ng_template_10_Template(rf, ctx) {
- if (rf & 1) {
- var _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 17);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SpecificListsComponent_ng_template_10_Template_div_click_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26);
- var lemlist_r13 = ctx.lemlist;
- var ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r25.openLemList($event, lemlist_r13);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, SpecificListsComponent_ng_template_10_evt_icon_2_Template, 1, 3, "evt-icon", 18);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, SpecificListsComponent_ng_template_10_span_5_Template, 2, 1, "span", 19);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, SpecificListsComponent_ng_template_10_div_6_Template, 2, 1, "div", 20);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var lemlist_r13 = ctx.lemlist;
- var last_r14 = ctx.last;
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction4"](7, _c4, (lemlist_r13.content == null ? null : lemlist_r13.content.length) === 0, ctx_r5.selectedList === lemlist_r13, ctx_r5.selectedList === lemlist_r13, !last_r14));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", lemlist_r13.icon);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 5, lemlist_r13.label), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (lemlist_r13.content == null ? null : lemlist_r13.content.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", lemlist_r13.sublists.length > 0);
- }
- }
- var SpecificListsComponent = /*#__PURE__*/function () {
- function SpecificListsComponent(evtModelService) {
- var _this37 = this;
- _classCallCheck(this, SpecificListsComponent);
- this.evtModelService = evtModelService;
- this.lists$ = this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(function (ne) {
- return ne.lemmas.lemlists;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(function (lemlists) {
- return lemlists.map(function (lemlist) {
- return Object.assign(Object.assign({}, lemlist), {
- icon: _this37.listsIcons[lemlist.lemmatizedEntityType] || 'lemlist'
- });
- });
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(function (lemlists) {
- if (!_this37.selectedList && lemlists[0]) {
- _this37.openLemList(undefined, lemlists[0]);
- }
- }));
- this.relations$ = this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(function (ne) {
- return ne.relations;
- }));
- this.showRelations = false;
- this.listsIcons = {
- lem: 'user',
- place: 'map-marker',
- org: 'users',
- event: 'calendar'
- };
- }
- _createClass(SpecificListsComponent, [{
- key: "openLemList",
- value: function openLemList(event, lemlist) {
- if (event) {
- event.stopPropagation();
- }
- if (this.selectedList !== lemlist) {
- this.selectedList = lemlist;
- }
- this.showRelations = false;
- }
- }, {
- key: "openRelations",
- value: function openRelations() {
- this.showRelations = true;
- this.selectedList = undefined;
- }
- }]);
- return SpecificListsComponent;
- }();
- SpecificListsComponent.ɵfac = function SpecificListsComponent_Factory(t) {
- return new (t || SpecificListsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]));
- };
- SpecificListsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: SpecificListsComponent,
- selectors: [["evt-specific-lists"]],
- decls: 12,
- vars: 8,
- consts: [[1, "row", "h-100", "m-0"], [1, "bg-light", "col-3", "p-0", "border-right"], ["ngFor", "", 3, "ngForOf"], ["class", "list-item border-bottom border-top", 3, "click", 4, "ngIf"], [1, "col-9", "p-0"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["listTemplate", ""], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "list-item", "border-bottom", "border-top", 3, "click"], [1, "list-item-main", "p-2", "w-100", "d-block", "edition-font"], [3, "iconInfo"], [1, "badge", "badge-pill", "badge-info", "ui-font"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "content", 4, "ngIf"], [1, "list-item", "border-bottom", 3, "ngClass", "click"], [3, "iconInfo", 4, "ngIf"], ["class", "badge badge-pill badge-info ui-font", 4, "ngIf"], ["class", "sub-list ml-3 border-left", 4, "ngIf"], [1, "sub-list", "ml-3", "border-left"]],
- template: function SpecificListsComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, SpecificListsComponent_ng_template_2_Template, 1, 4, "ng-template", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, SpecificListsComponent_div_4_Template, 8, 8, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](7, 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, SpecificListsComponent_ng_container_8_Template, 3, 3, "ng-container", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, SpecificListsComponent_ng_container_9_Template, 2, 1, "ng-container", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, SpecificListsComponent_ng_template_10_Template, 7, 12, "ng-template", null, 8, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 4, ctx.lists$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 6, ctx.relations$).length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", ctx.showRelations);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", true);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgTemplateOutlet"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__["IconComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgClass"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"]],
- styles: [".list-item[_ngcontent-%COMP%]:not(.active):hover, .sub-list-item[_ngcontent-%COMP%]:not(.active):hover {\n cursor: pointer;\n background: rgba(0, 0, 0, 0.1);\n}\n.list-item[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%], .sub-list-item[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%] {\n position: absolute;\n right: 0.5rem;\n margin-top: 0.3rem;\n}\n.toggler[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n.toggler[_ngcontent-%COMP%]:hover {\n opacity: 0.8;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NwZWNpZmljLWxpc3RzLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVJOztFQUNJLGVBQUE7RUFDQSw4QkFBQTtBQUFSO0FBR0k7O0VBQ0ksa0JBQUE7RUFDQSxhQUFBO0VBQ0Esa0JBQUE7QUFBUjtBQUlBO0VBQ0ksZUFBQTtBQURKO0FBR0k7RUFDSSxZQUFBO0FBRFIiLCJmaWxlIjoic3BlY2lmaWMtbGlzdHMuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubGlzdC1pdGVtLFxuLnN1Yi1saXN0LWl0ZW0ge1xuICAgICY6bm90KC5hY3RpdmUpOmhvdmVyIHtcbiAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICBiYWNrZ3JvdW5kOiByZ2JhKDAsIDAsIDAsIC4xKTtcbiAgICB9XG5cbiAgICAuYmFkZ2Uge1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIHJpZ2h0OiAwLjVyZW07XG4gICAgICAgIG1hcmdpbi10b3A6IDAuM3JlbTtcbiAgICB9XG59XG5cbi50b2dnbGVyIHtcbiAgICBjdXJzb3I6IHBvaW50ZXI7XG5cbiAgICAmOmhvdmVyIHtcbiAgICAgICAgb3BhY2l0eTogLjg7XG4gICAgfVxufSJdfQ== */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SpecificListsComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-specific-lists',
- templateUrl: './specific-lists.component.html',
- styleUrls: ['./specific-lists.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "AKfy":
- /*!*****************************************************************!*\
- !*** ./src/app/components/series-stmt/series-stmt.component.ts ***!
- \*****************************************************************/
- /*! exports provided: SeriesStmtComponent */
- /***/
- function AKfy(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SeriesStmtComponent", function () {
- return SeriesStmtComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/header-section/header-section.component */
- "iRdJ");
- function SeriesStmtComponent_ng_container_2_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function SeriesStmtComponent_ng_container_2_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function SeriesStmtComponent_ng_container_2_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function SeriesStmtComponent_ng_container_2_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function SeriesStmtComponent_ng_container_2_ng_container_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- var _c0 = function _c0(a1) {
- return {
- label: "",
- items: a1,
- "class": "title"
- };
- };
- var _c1 = function _c1(a1) {
- return {
- label: "",
- items: a1,
- "class": "biblScope"
- };
- };
- var _c2 = function _c2(a1) {
- return {
- label: "",
- items: a1,
- "class": "editor"
- };
- };
- var _c3 = function _c3(a1) {
- return {
- label: "idno",
- items: a1,
- "class": "idno"
- };
- };
- var _c4 = function _c4(a1) {
- return {
- label: "responsibles",
- items: a1,
- "class": "respStmt",
- itemsSeparator: ", "
- };
- };
- function SeriesStmtComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SeriesStmtComponent_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SeriesStmtComponent_ng_container_2_ng_container_2_Template, 1, 0, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, SeriesStmtComponent_ng_container_2_ng_container_3_Template, 1, 0, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, SeriesStmtComponent_ng_container_2_ng_container_4_Template, 1, 0, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, SeriesStmtComponent_ng_container_2_ng_container_5_Template, 1, 0, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](10, _c0, ctx_r0.data == null ? null : ctx_r0.data.title));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](12, _c1, ctx_r0.data == null ? null : ctx_r0.data.biblScope));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](14, _c2, ctx_r0.data == null ? null : ctx_r0.data.editor));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](16, _c3, ctx_r0.data == null ? null : ctx_r0.data.idno));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](18, _c4, ctx_r0.data == null ? null : ctx_r0.data.respStmt));
- }
- }
- function SeriesStmtComponent_ng_container_3_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
- }
- if (rf & 2) {
- var element_r10 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r10);
- }
- }
- function SeriesStmtComponent_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SeriesStmtComponent_ng_container_3_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.content);
- }
- }
- function SeriesStmtComponent_ng_template_4_evt_header_section_0_ng_container_2_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var itemsSeparator_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3).itemsSeparator;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](itemsSeparator_r14);
- }
- }
- function SeriesStmtComponent_ng_template_4_evt_header_section_0_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SeriesStmtComponent_ng_template_4_evt_header_section_0_ng_container_2_ng_container_2_Template, 2, 1, "ng-container", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var item_r17 = ctx.$implicit;
- var i_r18 = ctx.index;
- var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- var itemsSeparator_r14 = ctx_r21.itemsSeparator;
- var items_r12 = ctx_r21.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r17);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", itemsSeparator_r14 && i_r18 < items_r12.length - 1);
- }
- }
- function SeriesStmtComponent_ng_template_4_evt_header_section_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SeriesStmtComponent_ng_template_4_evt_header_section_0_ng_container_2_Template, 3, 2, "ng-container", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var label_r11 = ctx_r22.label;
- var class_r13 = ctx_r22["class"];
- var items_r12 = ctx_r22.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r11)("additionalClass", class_r13)("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r12);
- }
- }
- function SeriesStmtComponent_ng_template_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, SeriesStmtComponent_ng_template_4_evt_header_section_0_Template, 3, 4, "evt-header-section", 8);
- }
- if (rf & 2) {
- var items_r12 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r12 == null ? null : items_r12.length) > 0);
- }
- }
- var SeriesStmtComponent = function SeriesStmtComponent() {
- _classCallCheck(this, SeriesStmtComponent);
- };
- SeriesStmtComponent.ɵfac = function SeriesStmtComponent_Factory(t) {
- return new (t || SeriesStmtComponent)();
- };
- SeriesStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: SeriesStmtComponent,
- selectors: [["evt-series-stmt"]],
- inputs: {
- data: "data"
- },
- decls: 6,
- vars: 2,
- consts: [[1, "seriesStatement"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["section", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""], [4, "ngFor", "ngForOf"], [4, "ngIf"]],
- template: function SeriesStmtComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SeriesStmtComponent_ng_container_2_Template, 6, 20, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, SeriesStmtComponent_ng_container_3_Template, 2, 1, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, SeriesStmtComponent_ng_template_4_Template, 1, 1, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.structuredData);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", true);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]],
- styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n\n.seriesStatement[_ngcontent-%COMP%] .resp-stmt {\n display: inline-block;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Nlcmllcy1zdG10LmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX21peGlucy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBO0VDMkZFLDhCQUFBO0VBQ0Esa0JBQUE7RUFDQSx3QkFBQTtFQUNBLFdBQUE7RUFDQSxpQkFBQTtFQUNBLGNBQUE7RUFDQSxnQkFBQTtFQUNBLGdCQUFBO0FEM0ZGOztBQURRO0VBQ0kscUJBQUE7QUFJWiIsImZpbGUiOiJzZXJpZXMtc3RtdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb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biAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"]
- });
- SeriesStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["SeriesStmt"])], SeriesStmtComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SeriesStmtComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-series-stmt',
- templateUrl: './series-stmt.component.html',
- styleUrls: ['./series-stmt.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "AytR":
- /*!*****************************************!*\
- !*** ./src/environments/environment.ts ***!
- \*****************************************/
- /*! exports provided: environment */
- /***/
- function AytR(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "environment", function () {
- return environment;
- }); // This file can be replaced during build by using the `fileReplacements` array.
- // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
- // The list of file replacements can be found in `angular.json`.
- var environment = {
- production: false
- };
- /*
- * For easier debugging in development mode, you can import the following file
- * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
- *
- * This import should be commented out in production mode because it will have a negative impact
- * on performance if an error is thrown.
- */
- // import 'zone.js/dist/zone-error'; // Included with Angular CLI.
- /***/
- },
- /***/
- "BhhM":
- /*!**************************************!*\
- !*** ./src/app/pipes/filter.pipe.ts ***!
- \**************************************/
- /*! exports provided: FilterPipe */
- /***/
- function BhhM(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "FilterPipe", function () {
- return FilterPipe;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- var FilterPipe = /*#__PURE__*/function () {
- function FilterPipe() {
- _classCallCheck(this, FilterPipe);
- }
- _createClass(FilterPipe, [{
- key: "transform",
- value: function transform(items, field, value, caseSensitive) {
- if (!items) {
- return [];
- }
- if (!value || value.length === 0) {
- return items;
- }
- try {
- var reg = new RegExp(value, "".concat(caseSensitive ? '' : 'i', "g"));
- var results = items.filter(function (it) {
- return it[field] && value && it[field].match(reg);
- });
- return results.length > 0 ? results : [undefined];
- } catch (e) {
- return [];
- }
- }
- }]);
- return FilterPipe;
- }();
- FilterPipe.ɵfac = function FilterPipe_Factory(t) {
- return new (t || FilterPipe)();
- };
- FilterPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "filter",
- type: FilterPipe,
- pure: true
- });
- FilterPipe.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: FilterPipe,
- factory: FilterPipe.ɵfac
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FilterPipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
- args: [{
- name: 'filter'
- }]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
- }], null, null);
- })();
- /***/
- },
- /***/
- "BlhN":
- /*!*************************************************************!*\
- !*** ./src/app/components/namespace/namespace.component.ts ***!
- \*************************************************************/
- /*! exports provided: NamespaceComponent */
- /***/
- function BlhN(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamespaceComponent", function () {
- return NamespaceComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function NamespaceComponent_li_4_ng_container_3_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var usage_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate2"]("", usage_r1.occurs, " ", usage_r1.occurs === 1 ? "occurence" : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 2, "occurences"), "");
- }
- }
- function NamespaceComponent_li_4_ng_container_3_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var usage_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate2"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 2, "withId"), " ", usage_r1.withId, "");
- }
- }
- function NamespaceComponent_li_4_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, " (");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamespaceComponent_li_4_ng_container_3_ng_container_2_Template, 3, 4, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamespaceComponent_li_4_ng_container_3_ng_container_3_Template, 3, 4, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4, ") ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var usage_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", usage_r1.occurs);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", usage_r1.withId);
- }
- }
- function NamespaceComponent_li_4_evt_content_viewer_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var element_r9 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r9);
- }
- }
- function NamespaceComponent_li_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "strong");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamespaceComponent_li_4_ng_container_3_Template, 5, 2, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, NamespaceComponent_li_4_evt_content_viewer_5_Template, 1, 1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var usage_r1 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](usage_r1.gi);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", usage_r1.occurs || usage_r1.withId);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", usage_r1.content);
- }
- }
- var NamespaceComponent = function NamespaceComponent() {
- _classCallCheck(this, NamespaceComponent);
- };
- NamespaceComponent.ɵfac = function NamespaceComponent_Factory(t) {
- return new (t || NamespaceComponent)();
- };
- NamespaceComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: NamespaceComponent,
- selectors: [["evt-namespace"]],
- inputs: {
- data: "data"
- },
- decls: 5,
- vars: 2,
- consts: [[1, "namespace"], [1, "namespace-name"], [1, "namespace-tagUsage"], [4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]],
- template: function NamespaceComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "ul", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamespaceComponent_li_4_Template, 6, 3, "li", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx.data.name);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.tagUsage);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJuYW1lc3BhY2UuY29tcG9uZW50LnNjc3MifQ== */"]
- });
- NamespaceComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Namespace"])], NamespaceComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamespaceComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-namespace',
- templateUrl: './namespace.component.html',
- styleUrls: ['./namespace.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "BnO0":
- /*!*******************************************************************!*\
- !*** ./src/app/view-modes/reading-text/reading-text.component.ts ***!
- \*******************************************************************/
- /*! exports provided: ReadingTextComponent */
- /***/
- function BnO0(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ReadingTextComponent", function () {
- return ReadingTextComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! angular-gridster2 */
- "Ljk9");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! src/app/services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../panels/text-panel/text-panel.component */
- "CHR5");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/button/button.component */
- "UjKN");
- /* harmony import */
- var _panels_pinboard_panel_pinboard_panel_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../panels/pinboard-panel/pinboard-panel.component */
- "VyoE");
- /* harmony import */
- var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../../ui-components/panel/panel.component */
- "HiHV");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function ReadingTextComponent_gridster_item_5_Template(rf, ctx) {
- if (rf & 1) {
- var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "evt-pinboard-panel", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function ReadingTextComponent_gridster_item_5_Template_evt_pinboard_panel_hide_1_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r2.togglePinnedBoard();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx_r0.pinnedBoardItem);
- }
- }
- function ReadingTextComponent_gridster_item_6_ng_template_9_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "CriticalApparatus"));
- }
- }
- function ReadingTextComponent_gridster_item_6_ng_template_14_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "Sources"));
- }
- }
- function ReadingTextComponent_gridster_item_6_ng_template_19_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "Analogues"));
- }
- }
- function ReadingTextComponent_gridster_item_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "evt-panel", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "ul", 10, 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "li", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "a", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, ReadingTextComponent_gridster_item_6_ng_template_9_Template, 3, 3, "ng-template", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "li", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "a", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](13, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](14, ReadingTextComponent_gridster_item_6_ng_template_14_Template, 3, 3, "ng-template", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](15, "li", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "a", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](17);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](18, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](19, ReadingTextComponent_gridster_item_6_ng_template_19_Template, 3, 3, "ng-template", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](20, "div", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](4);
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx_r1.apparatusesItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("secondary", true)("hideFooter", true)("hideHeader", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavItem", "critical");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 11, "CriticalApparatus"));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavItem", "sources");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](13, 13, "Sources"));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavItem", "analogues");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](18, 15, "Analogues"));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbNavOutlet", _r4);
- }
- }
- var _c0 = function _c0() {
- return {
- icon: "pen-square"
- };
- };
- var _c1 = function _c1() {
- return {
- icon: "thumbtack"
- };
- };
- var ReadingTextComponent = /*#__PURE__*/function () {
- function ReadingTextComponent(evtStatusService) {
- _classCallCheck(this, ReadingTextComponent);
- this.evtStatusService = evtStatusService;
- this.layoutOptions = {};
- this.textPanelItem = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 0
- };
- this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref25) {
- var page = _ref25.page;
- return page.id;
- }));
- this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref26) {
- var editionLevels = _ref26.editionLevels;
- return editionLevels[0];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.options = {};
- this.apparatusesOpened = true;
- this.apparatusesItem = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 1
- };
- this.pinnedBoardOpened = false;
- this.pinnedBoardItem = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 1
- };
- this.subscriptions = [];
- }
- _createClass(ReadingTextComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this.initGridster();
- }
- }, {
- key: "changePage",
- value: function changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- }, {
- key: "changeEditionLevel",
- value: function changeEditionLevel(editionLevel) {
- this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
- }
- }, {
- key: "togglePinnedBoard",
- value: function togglePinnedBoard() {
- this.pinnedBoardOpened = !this.pinnedBoardOpened;
- this.updateGridsterConfig();
- }
- }, {
- key: "toggleApparatuses",
- value: function toggleApparatuses() {
- this.apparatusesOpened = !this.apparatusesOpened;
- this.updateGridsterConfig();
- }
- }, {
- key: "changedOptions",
- value: function changedOptions() {
- if (this.options.api && this.options.api.optionsChanged) {
- this.options.api.optionsChanged();
- }
- }
- }, {
- key: "updateGridsterConfig",
- value: function updateGridsterConfig() {
- this.pinnedBoardItem.x = this.apparatusesOpened ? 2 : this.textPanelItem.x !== 0 ? 0 : 1;
- this.apparatusesItem.x = this.pinnedBoardOpened ? 2 : this.textPanelItem.x !== 0 ? 0 : 1;
- this.changedOptions();
- }
- }, {
- key: "initGridster",
- value: function initGridster() {
- this.layoutOptions = {
- gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
- displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
- compactType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["CompactType"].CompactLeft,
- margin: 0,
- maxCols: 3,
- maxRows: 1,
- draggable: {
- enabled: false
- },
- resizable: {
- enabled: false
- }
- };
- }
- }, {
- key: "ngOnDestroy",
- value: function ngOnDestroy() {
- this.subscriptions.forEach(function (subscription) {
- return subscription.unsubscribe();
- });
- }
- }]);
- return ReadingTextComponent;
- }();
- ReadingTextComponent.ɵfac = function ReadingTextComponent_Factory(t) {
- return new (t || ReadingTextComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]));
- };
- ReadingTextComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: ReadingTextComponent,
- selectors: [["evt-reading-text"]],
- decls: 10,
- vars: 20,
- consts: [[3, "options"], [3, "item"], [3, "pageID", "editionLevelID", "pageChange", "editionLevelChange"], [3, "item", 4, "ngIf"], [1, "global-tools"], ["additionalClasses", "btn-primary shadow rounded-circle mr-1", 3, "type", "toggler", "active", "iconLeft", "btnClick"], ["additionalClasses", "btn-primary shadow rounded-circle", 3, "type", "toggler", "active", "iconLeft", "btnClick"], ["content", "", 3, "hide"], [1, "apparatuses", 3, "secondary", "hideFooter", "hideHeader"], ["content", ""], ["ngbNav", "", 1, "nav-tabs", "nav-fill"], ["apparatuses", "ngbNav"], [3, "ngbNavItem"], ["ngbNavLink", ""], ["ngbNavContent", ""], [1, "mt-2", 3, "ngbNavOutlet"]],
- template: function ReadingTextComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-text-panel", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function ReadingTextComponent_Template_evt_text_panel_pageChange_2_listener($event) {
- return ctx.changePage($event);
- })("editionLevelChange", function ReadingTextComponent_Template_evt_text_panel_editionLevelChange_2_listener($event) {
- return ctx.changeEditionLevel($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, ReadingTextComponent_gridster_item_5_Template, 2, 1, "gridster-item", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, ReadingTextComponent_gridster_item_6_Template, 21, 17, "gridster-item", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "evt-button", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function ReadingTextComponent_Template_evt_button_btnClick_8_listener() {
- return ctx.toggleApparatuses();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "evt-button", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function ReadingTextComponent_Template_evt_button_btnClick_9_listener() {
- return ctx.togglePinnedBoard();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx.layoutOptions);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.textPanelItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 14, ctx.currentPageID$))("editionLevelID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 16, ctx.currentEditionLevel$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.pinnedBoardOpened);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.apparatusesOpened);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("type", "button")("toggler", true)("active", ctx.apparatusesOpened)("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](18, _c0));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("type", "button")("toggler", true)("active", ctx.pinnedBoardOpened)("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](19, _c1));
- }
- },
- directives: [angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__["TextPanelComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], _panels_pinboard_panel_pinboard_panel_component__WEBPACK_IMPORTED_MODULE_7__["PinboardPanelComponent"], _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_8__["PanelComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNav"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavLink"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavContent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavOutlet"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslatePipe"]],
- styles: [".global-tools[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 10px;\n right: 10px;\n z-index: 20;\n}\n\n[_nghost-%COMP%] .global-tools .btn {\n height: 40px;\n width: 40px;\n}\n\n[_nghost-%COMP%] .apparatuses .panel .content {\n padding: 0 !important;\n}\n\n[_nghost-%COMP%] .apparatuses .tab-pane {\n padding: 1rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3JlYWRpbmctdGV4dC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGtCQUFBO0VBQ0EsWUFBQTtFQUNBLFdBQUE7RUFDQSxXQUFBO0FBQ0o7O0FBR0k7RUFDSSxZQUFBO0VBQ0EsV0FBQTtBQUFSOztBQUdRO0VBQ0kscUJBQUE7QUFEWjs7QUFHUTtFQUNJLGFBQUE7QUFEWiIsImZpbGUiOiJyZWFkaW5nLXRleHQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZ2xvYmFsLXRvb2xzIHtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgYm90dG9tOiAxMHB4O1xuICAgIHJpZ2h0OiAxMHB4O1xuICAgIHotaW5kZXg6IDIwO1xufVxuXG46aG9zdCA6Om5nLWRlZXAge1xuICAgIC5nbG9iYWwtdG9vbHMgLmJ0biB7XG4gICAgICAgIGhlaWdodDogNDBweDtcbiAgICAgICAgd2lkdGg6IDQwcHg7XG4gICAgfVxuICAgIC5hcHBhcmF0dXNlcyB7XG4gICAgICAgIC5wYW5lbCAuY29udGVudCB7XG4gICAgICAgICAgICBwYWRkaW5nOiAwICFpbXBvcnRhbnQ7XG4gICAgICAgIH1cbiAgICAgICAgLnRhYi1wYW5lIHtcbiAgICAgICAgICAgIHBhZGRpbmc6IDFyZW07XG4gICAgICAgIH1cbiAgICB9XG59Il19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ReadingTextComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-reading-text',
- templateUrl: './reading-text.component.html',
- styleUrls: ['./reading-text.component.scss']
- }]
- }], function () {
- return [{
- type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "CHR5":
- /*!***********************************************************!*\
- !*** ./src/app/panels/text-panel/text-panel.component.ts ***!
- \***********************************************************/
- /*! exports provided: TextPanelComponent */
- /***/
- function CHR5(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TextPanelComponent", function () {
- return TextPanelComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../app.config */
- "aR35");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/panel/panel.component */
- "HiHV");
- /* harmony import */
- var _components_page_selector_page_selector_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../components/page-selector/page-selector.component */
- "GZCN");
- /* harmony import */
- var _components_edition_level_selector_edition_level_selector_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../../components/edition-level-selector/edition-level-selector.component */
- "Ow/E");
- /* harmony import */
- var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../../ui-components/button/button.component */
- "UjKN");
- /* harmony import */
- var _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../../directives/annotator.directive */
- "STiE");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _components_entities_select_entities_select_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ../../components/entities-select/entities-select.component */
- "g5nV");
- /* harmony import */
- var _components_lems_select_lems_select_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! ../../components/lems-select/lems-select.component */
- "Ox1W");
- /* harmony import */
- var _components_iperlems_select_iperlems_select_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
- /*! ../../components/iperlems-select/iperlems-select.component */
- "Y4jJ");
- /* harmony import */
- var _components_page_page_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
- /*! ../../components/page/page.component */
- "ycSy");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- var _c0 = ["mainContent"];
- function TextPanelComponent_ng_container_7_ng_container_1_evt_page_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-page", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- }
- if (rf & 2) {
- var page_r7 = ctx.$implicit;
- var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", page_r7)("textFlow", ctx_r6.textFlow)("itemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 6, ctx_r6.itemsToHighlight$))("itemsLemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 8, ctx_r6.itemsLemsToHighlight$))("itemsIperlemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 10, ctx_r6.itemsIperlemsToHighlight$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("data-id", page_r7.id);
- }
- }
- function TextPanelComponent_ng_container_7_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, TextPanelComponent_ng_container_7_ng_container_1_evt_page_1_Template, 4, 12, "evt-page", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var currentStatus_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", currentStatus_r3.pages);
- }
- }
- function TextPanelComponent_ng_container_7_evt_page_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-page", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- }
- if (rf & 2) {
- var currentStatus_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().ngIf;
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", currentStatus_r3.currentPage)("editionLevel", currentStatus_r3.editionLevel)("textFlow", ctx_r5.textFlow)("itemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 7, ctx_r5.itemsToHighlight$))("itemsLemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 9, ctx_r5.itemsLemsToHighlight$))("itemsIperlemsToHighlight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 11, ctx_r5.itemsIperlemsToHighlight$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("data-id", currentStatus_r3.currentPage.id);
- }
- }
- function TextPanelComponent_ng_container_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, TextPanelComponent_ng_container_7_ng_container_1_Template, 2, 1, "ng-container", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, TextPanelComponent_ng_container_7_evt_page_3_Template, 4, 13, "evt-page", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, ctx_r1.isMultiplePageFlow$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 4, ctx_r1.isMultiplePageFlow$) === false);
- }
- }
- function TextPanelComponent_evt_button_15_Template(rf, ctx) {
- if (rf & 1) {
- var _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 16);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function TextPanelComponent_evt_button_15_Template_evt_button_btnClick_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11);
- var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r10.toggleProseVerses();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", ctx_r2.proseVersesTogglerIcon)("label", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 2, ctx_r2.textFlow));
- }
- }
- var _c1 = function _c1() {
- return {
- icon: "info-circle"
- };
- };
- var TextPanelComponent = /*#__PURE__*/function () {
- function TextPanelComponent(evtModelService, evtStatus) {
- _classCallCheck(this, TextPanelComponent);
- this.evtModelService = evtModelService;
- this.evtStatus = evtStatus;
- this.currentPage$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
- this.currentPageId$ = this.currentPage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (p) {
- return p === null || p === void 0 ? void 0 : p.id;
- }));
- this.pageChange = this.currentPage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(function (p) {
- return !!p;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])());
- this.currentEdLevel$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
- this.currentEdLevelId$ = this.currentEdLevel$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (e) {
- return e === null || e === void 0 ? void 0 : e.id;
- }));
- this.editionLevelChange = this.currentEdLevel$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(function (e) {
- return !!e;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])());
- this.currentStatus$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.evtModelService.pages$, this.currentPage$, this.currentEdLevel$, this.evtStatus.currentViewMode$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["delay"])(0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(function (_ref27) {
- var _ref28 = _slicedToArray(_ref27, 4),
- pages = _ref28[0],
- currentPage = _ref28[1],
- editionLevel = _ref28[2],
- currentViewMode = _ref28[3];
- return !!pages && !!currentPage && !!editionLevel && !!currentViewMode;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref29) {
- var _ref30 = _slicedToArray(_ref29, 4),
- pages = _ref30[0],
- currentPage = _ref30[1],
- editionLevel = _ref30[2],
- currentViewMode = _ref30[3];
- return {
- pages: pages,
- currentPage: currentPage,
- editionLevel: editionLevel,
- currentViewMode: currentViewMode
- };
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])(function (a, b) {
- return JSON.stringify(a) === JSON.stringify(b);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.itemsToHighlight$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
- this.itemsLemsToHighlight$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
- this.itemsIperlemsToHighlight$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
- this.secondaryContent = '';
- this.showSecondaryContent = false;
- this.textFlow = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.defaultTextFlow || 'prose';
- this.enableProseVersesToggler = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.proseVersesToggler;
- this.isMultiplePageFlow$ = this.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (x) {
- return x.editionLevel.id === 'critical' && x.currentViewMode.id !== 'imageText';
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.updatingPageFromScroll = false;
- this.subscriptions = [];
- }
- _createClass(TextPanelComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- var _this38 = this;
- if (this.editionLevelID === 'critical') {
- this.textFlow = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.defaultTextFlow || 'verses';
- }
- if (!this.enableProseVersesToggler) {
- this.textFlow = undefined;
- }
- this.subscriptions.push(this.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (currentStatus) {
- return currentStatus.currentPage;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(function (page) {
- return !!page;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["delay"])(0)).subscribe(function (page) {
- return _this38._scrollToPage(page.id);
- }));
- }
- }, {
- key: "getSecondaryContent",
- value: function getSecondaryContent() {
- return this.secondaryContent;
- }
- }, {
- key: "isSecondaryContentOpened",
- value: function isSecondaryContentOpened() {
- return this.showSecondaryContent;
- }
- }, {
- key: "toggleSecondaryContent",
- value: function toggleSecondaryContent(newContent) {
- if (this.secondaryContent !== newContent) {
- this.showSecondaryContent = true;
- this.secondaryContent = newContent;
- } else {
- this.showSecondaryContent = false;
- this.secondaryContent = '';
- }
- }
- }, {
- key: "toggleProseVerses",
- value: function toggleProseVerses() {
- this.textFlow = this.textFlow === 'prose' ? 'verses' : 'prose';
- }
- }, {
- key: "ngOnDestroy",
- value: function ngOnDestroy() {
- this.subscriptions.forEach(function (subscription) {
- return subscription.unsubscribe();
- });
- }
- }, {
- key: "updatePage",
- value: function updatePage() {
- var _this39 = this;
- if (this.mainContent && this.editionLevelID === 'critical') {
- var mainContentEl = this.mainContent.nativeElement;
- var pbs = mainContentEl.querySelectorAll('evt-page');
- var pbCount = 0;
- var pbVisible = false;
- var pbId = '';
- var docViewTop = mainContentEl.scrollTop;
- var docViewBottom = docViewTop + mainContentEl.parentElement.clientHeight;
- while (pbCount < pbs.length && !pbVisible) {
- pbId = pbs[pbCount].getAttribute('data-id');
- var pbElem = mainContentEl.querySelector("evt-page[data-id=\"".concat(pbId, "\"]"));
- var pbRect = pbElem.getBoundingClientRect();
- if (pbRect.top && pbRect.top <= docViewBottom && pbRect.top >= docViewTop) {
- pbVisible = true;
- } else {
- pbCount++;
- }
- }
- Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.evtModelService.pages$, this.currentPageId$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (_ref31) {
- var _ref32 = _slicedToArray(_ref31, 2),
- pages = _ref32[0],
- currentPageId = _ref32[1];
- if (pbVisible && currentPageId !== pbId) {
- _this39.updatingPageFromScroll = true;
- _this39.evtStatus.updatePage$.next(pages.find(function (p) {
- return p.id === pbId;
- }));
- }
- });
- }
- }
- }, {
- key: "_scrollToPage",
- value: function _scrollToPage(pageId) {
- if (this.updatingPageFromScroll) {
- this.updatingPageFromScroll = false;
- } else if (this.mainContent) {
- var mainContentEl = this.mainContent.nativeElement;
- var pageEl = mainContentEl.querySelector("[data-id=\"".concat(pageId, "\"]"));
- if (pageEl) {
- pageEl.scrollIntoView();
- } else {
- mainContentEl.parentElement.scrollTop = 0;
- }
- }
- }
- }, {
- key: "proseVersesTogglerIcon",
- get: function get() {
- return {
- icon: this.textFlow === 'prose' ? 'align-left' : 'align-justify',
- iconSet: 'fas'
- };
- }
- }]);
- return TextPanelComponent;
- }();
- TextPanelComponent.ɵfac = function TextPanelComponent_Factory(t) {
- return new (t || TextPanelComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"]));
- };
- TextPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: TextPanelComponent,
- selectors: [["evt-text-panel"]],
- viewQuery: function TextPanelComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.mainContent = _t.first);
- }
- },
- inputs: {
- hideEditionLevelSelector: "hideEditionLevelSelector",
- pageID: "pageID",
- editionLevelID: "editionLevelID"
- },
- outputs: {
- pageChange: "pageChange",
- editionLevelChange: "editionLevelChange"
- },
- decls: 16,
- vars: 13,
- consts: [[3, "showSecondaryContent", "scrollContent"], ["header-left", ""], [3, "pageID", "selectionChange"], [3, "editionLevelID", "selectionChange"], ["label", "Info", "additionalClasses", "btn-primary mr-1", 1, "info-panel", 3, "iconLeft", "active", "btnClick"], ["content", "", "evtAnnotator", ""], ["mainContent", ""], [4, "ngIf"], ["secondary-content", ""], ["footer", ""], [3, "selectionChange"], ["additionalClasses", "ml-1", 3, "iconLeft", "label", "btnClick", 4, "ngIf"], [3, "data", "editionLevel", "textFlow", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", 4, "ngIf"], [3, "data", "textFlow", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", 4, "ngFor", "ngForOf"], [3, "data", "textFlow", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight"], [3, "data", "editionLevel", "textFlow", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight"], ["additionalClasses", "ml-1", 3, "iconLeft", "label", "btnClick"]],
- template: function TextPanelComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("scrollContent", function TextPanelComponent_Template_evt_panel_scrollContent_0_listener() {
- return ctx.updatePage();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-page-selector", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function TextPanelComponent_Template_evt_page_selector_selectionChange_2_listener($event) {
- return ctx.currentPage$.next($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "evt-edition-level-selector", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function TextPanelComponent_Template_evt_edition_level_selector_selectionChange_3_listener($event) {
- return ctx.currentEdLevel$.next($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "evt-button", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function TextPanelComponent_Template_evt_button_btnClick_4_listener() {
- return ctx.toggleSecondaryContent("The Images are published courtesy of the Ministry of Culture \u2013 Prato State Archives and are freely usable for activities of study, research, free expression of thought or creative expression, and promotion of knowledge of cultural heritage. The reproduction rights of the images published \u2013 pursuant to Articles 106, 107, and 108 of the Code of Cultural Heritage and Landscape (Legislative Decree 42/2004 as amended and supplemented) \u2013 belong to the Prato State Archives, therefore all uses of these images, other than those set forth above, must be expressly authorized (https://archiviodistatoprato.cultura.gov.it/servizi/autorizzazioni-a-pubblicare).");
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 5, 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, TextPanelComponent_ng_container_7_Template, 5, 6, "ng-container", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "evt-entities-select", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function TextPanelComponent_Template_evt_entities_select_selectionChange_12_listener($event) {
- return ctx.itemsToHighlight$.next($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "evt-lems-select", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function TextPanelComponent_Template_evt_lems_select_selectionChange_13_listener($event) {
- return ctx.itemsLemsToHighlight$.next($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "evt-iperlems-select", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function TextPanelComponent_Template_evt_iperlems_select_selectionChange_14_listener($event) {
- return ctx.itemsIperlemsToHighlight$.next($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, TextPanelComponent_evt_button_15_Template, 2, 4, "evt-button", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("showSecondaryContent", ctx.isSecondaryContentOpened());
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", ctx.pageID);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("hidden", ctx.hideEditionLevelSelector);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("editionLevelID", ctx.editionLevelID);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](12, _c1))("active", ctx.secondaryContent === "Info");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 10, ctx.currentStatus$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.getSecondaryContent(), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.enableProseVersesToggler);
- }
- },
- directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_6__["PanelComponent"], _components_page_selector_page_selector_component__WEBPACK_IMPORTED_MODULE_7__["PageSelectorComponent"], _components_edition_level_selector_edition_level_selector_component__WEBPACK_IMPORTED_MODULE_8__["EditionLevelSelectorComponent"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_9__["ButtonComponent"], _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_10__["AnnotatorDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["NgIf"], _components_entities_select_entities_select_component__WEBPACK_IMPORTED_MODULE_12__["EntitiesSelectComponent"], _components_lems_select_lems_select_component__WEBPACK_IMPORTED_MODULE_13__["LemsSelectComponent"], _components_iperlems_select_iperlems_select_component__WEBPACK_IMPORTED_MODULE_14__["IperlemsSelectComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["NgForOf"], _components_page_page_component__WEBPACK_IMPORTED_MODULE_15__["PageComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_11__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_16__["TranslatePipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ0ZXh0LXBhbmVsLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TextPanelComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-text-panel',
- templateUrl: './text-panel.component.html',
- styleUrls: ['./text-panel.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"]
- }, {
- type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"]
- }];
- }, {
- mainContent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
- args: ['mainContent']
- }],
- hideEditionLevelSelector: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- pageID: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- pageChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }],
- editionLevelID: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- editionLevelChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "CimZ":
- /*!**************************************************************!*\
- !*** ./src/app/ui-components/directives/escape.directive.ts ***!
- \**************************************************************/
- /*! exports provided: EscapeDirective */
- /***/
- function CimZ(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EscapeDirective", function () {
- return EscapeDirective;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _utils_js_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../../utils/js-utils */
- "zSMA");
- var EscapeDirective = /*#__PURE__*/function () {
- function EscapeDirective() {
- _classCallCheck(this, EscapeDirective);
- this.escape = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- _createClass(EscapeDirective, [{
- key: "keyEvent",
- value: function keyEvent(e) {
- if (e.code === 'Escape' || e.key === 'Escape' || Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["getEventKeyCode"])(e) === 27) {
- this.escape.emit();
- }
- }
- }]);
- return EscapeDirective;
- }();
- EscapeDirective.ɵfac = function EscapeDirective_Factory(t) {
- return new (t || EscapeDirective)();
- };
- EscapeDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: EscapeDirective,
- selectors: [["", "escape", ""]],
- hostBindings: function EscapeDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("keyup", function EscapeDirective_keyup_HostBindingHandler($event) {
- return ctx.keyEvent($event);
- }, false, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresolveWindow"]);
- }
- },
- outputs: {
- escape: "escape"
- }
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EscapeDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
- args: [{
- // tslint:disable-next-line: directive-selector
- selector: '[escape]'
- }]
- }], null, {
- escape: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }],
- keyEvent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
- args: ['window:keyup', ['$event']]
- }]
- });
- })();
- /***/
- },
- /***/
- "CmGG":
- /*!***************************************************!*\
- !*** ./src/app/directives/highlight.directive.ts ***!
- \***************************************************/
- /*! exports provided: HighlightDirective */
- /***/
- function CmGG(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HighlightDirective", function () {
- return HighlightDirective;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- var HighlightDirective = /*#__PURE__*/function () {
- function HighlightDirective(el) {
- _classCallCheck(this, HighlightDirective);
- this.el = el;
- }
- _createClass(HighlightDirective, [{
- key: "highlight",
- value: function highlight(highlightData) {
- if (highlightData.highlight) {
- this.el.nativeElement.classList.add('highlight');
- } else {
- this.el.nativeElement.classList.remove('highlight');
- }
- this.el.nativeElement.style.backgroundColor = highlightData && highlightData.highlight ? highlightData.highlightColor : '';
- }
- }, {
- key: "highlightData",
- set: function set(hd) {
- this.highlight(hd);
- }
- }]);
- return HighlightDirective;
- }();
- HighlightDirective.ɵfac = function HighlightDirective_Factory(t) {
- return new (t || HighlightDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
- };
- HighlightDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: HighlightDirective,
- selectors: [["", "evtHighlight", ""]],
- inputs: {
- highlightData: ["evtHighlight", "highlightData"]
- }
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HighlightDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
- args: [{
- selector: '[evtHighlight]'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
- }];
- }, {
- highlightData: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
- args: ['evtHighlight']
- }]
- });
- })();
- /***/
- },
- /***/
- "D3K6":
- /*!*******************************************************!*\
- !*** ./src/app/services/xml-parsers/msdesc-parser.ts ***!
- \*******************************************************/
- /*! exports provided: DimParser, DepthParser, WidthParser, HeightParser, DimensionsParser, AcquisitionParser, OrigDateParser, OrigPlaceParser, OriginParser, ProvenanceParser, HistoryParser, LayoutParser, LayoutDescParser, SupportParser, CollationParser, ConditionParser, FoliationParser, SupportDescParser, ObjectDescParser, DecoNoteParser, BindingParser, BindingDescParser, SummaryParser, DecoDescParser, HandDescParser, AdditionsParser, ScriptDescParser, SealParser, SealDescParser, TypeNoteParser, TypeDescParser, AccMatParser, MusicNotationParser, PhysDescParser, FinalRubricParser, LocusParser, LocusGrpParser, IncipitParser, ExplicitParser, RubricParser, FiliationParser, MsItemStructParser, MsItemParser, CustEventParser, CustodialHistParser, SourceParser, RecordHistParser, AdminInfoParser, SurrogatesParser, AdditionalParser, RepositoryParser, MsContentsParser, CollectionParser, AltIdentifierParser, MsNameParser, InstitutionParser, MsIdentifierParser, HeadParser, MsFragParser, MsPartParser, MsDescParser */
- /***/
- function D3K6(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DimParser", function () {
- return DimParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DepthParser", function () {
- return DepthParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "WidthParser", function () {
- return WidthParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HeightParser", function () {
- return HeightParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DimensionsParser", function () {
- return DimensionsParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AcquisitionParser", function () {
- return AcquisitionParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "OrigDateParser", function () {
- return OrigDateParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "OrigPlaceParser", function () {
- return OrigPlaceParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "OriginParser", function () {
- return OriginParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ProvenanceParser", function () {
- return ProvenanceParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HistoryParser", function () {
- return HistoryParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LayoutParser", function () {
- return LayoutParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LayoutDescParser", function () {
- return LayoutDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SupportParser", function () {
- return SupportParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CollationParser", function () {
- return CollationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ConditionParser", function () {
- return ConditionParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "FoliationParser", function () {
- return FoliationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SupportDescParser", function () {
- return SupportDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ObjectDescParser", function () {
- return ObjectDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DecoNoteParser", function () {
- return DecoNoteParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "BindingParser", function () {
- return BindingParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "BindingDescParser", function () {
- return BindingDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SummaryParser", function () {
- return SummaryParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DecoDescParser", function () {
- return DecoDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HandDescParser", function () {
- return HandDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AdditionsParser", function () {
- return AdditionsParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ScriptDescParser", function () {
- return ScriptDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SealParser", function () {
- return SealParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SealDescParser", function () {
- return SealDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TypeNoteParser", function () {
- return TypeNoteParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TypeDescParser", function () {
- return TypeDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AccMatParser", function () {
- return AccMatParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MusicNotationParser", function () {
- return MusicNotationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PhysDescParser", function () {
- return PhysDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "FinalRubricParser", function () {
- return FinalRubricParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LocusParser", function () {
- return LocusParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LocusGrpParser", function () {
- return LocusGrpParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "IncipitParser", function () {
- return IncipitParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ExplicitParser", function () {
- return ExplicitParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RubricParser", function () {
- return RubricParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "FiliationParser", function () {
- return FiliationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsItemStructParser", function () {
- return MsItemStructParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsItemParser", function () {
- return MsItemParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CustEventParser", function () {
- return CustEventParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CustodialHistParser", function () {
- return CustodialHistParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SourceParser", function () {
- return SourceParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RecordHistParser", function () {
- return RecordHistParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AdminInfoParser", function () {
- return AdminInfoParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SurrogatesParser", function () {
- return SurrogatesParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AdditionalParser", function () {
- return AdditionalParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RepositoryParser", function () {
- return RepositoryParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsContentsParser", function () {
- return MsContentsParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CollectionParser", function () {
- return CollectionParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AltIdentifierParser", function () {
- return AltIdentifierParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsNameParser", function () {
- return MsNameParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "InstitutionParser", function () {
- return InstitutionParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsIdentifierParser", function () {
- return MsIdentifierParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HeadParser", function () {
- return HeadParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsFragParser", function () {
- return MsFragParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsPartParser", function () {
- return MsPartParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsDescParser", function () {
- return MsDescParser;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! src/app/utils/js-utils */
- "zSMA");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _character_declarations_parser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ./character-declarations-parser */
- "70Sg");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var DimParser_1, DepthParser_1, WidthParser_1, HeightParser_1, DimensionsParser_1, AcquisitionParser_1, OrigDateParser_1, OrigPlaceParser_1, OriginParser_1, ProvenanceParser_1, HistoryParser_1, LayoutParser_1, LayoutDescParser_1, SupportParser_1, CollationParser_1, ConditionParser_1, FoliationParser_1, SupportDescParser_1, ObjectDescParser_1, DecoNoteParser_1, BindingParser_1, BindingDescParser_1, SummaryParser_1, DecoDescParser_1, HandDescParser_1, AdditionsParser_1, ScriptDescParser_1, SealParser_1, SealDescParser_1, TypeNoteParser_1, TypeDescParser_1, AccMatParser_1, MusicNotationParser_1, PhysDescParser_1, FinalRubricParser_1, LocusParser_1, LocusGrpParser_1, IncipitParser_1, ExplicitParser_1, RubricParser_1, FiliationParser_1, MsItemStructParser_1, MsItemParser_1, CustEventParser_1, CustodialHistParser_1, SourceParser_1, RecordHistParser_1, AdminInfoParser_1, SurrogatesParser_1, AdditionalParser_1, RepositoryParser_1, MsContentsParser_1, CollectionParser_1, IdentifierParser_1, AltIdentifierParser_1, MsNameParser_1, InstitutionParser_1, MsIdentifierParser_1, HeadParser_1, MsFragParser_1, MsPartParser_1, MsDescParser_1;
- var GAttrParser = /*#__PURE__*/function (_basic_parsers__WEBPA8) {
- _inherits(GAttrParser, _basic_parsers__WEBPA8);
- var _super175 = _createSuper(GAttrParser);
- function GAttrParser() {
- var _this40;
- _classCallCheck(this, GAttrParser);
- _this40 = _super175.apply(this, arguments);
- _this40.gParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["createParser"])(_character_declarations_parser__WEBPACK_IMPORTED_MODULE_5__["GParser"], _this40.genericParse);
- return _this40;
- }
- return GAttrParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- var DimParser = DimParser_1 = /*#__PURE__*/function (_GAttrParser) {
- _inherits(DimParser, _GAttrParser);
- var _super176 = _createSuper(DimParser);
- function DimParser() {
- _classCallCheck(this, DimParser);
- return _super176.apply(this, arguments);
- }
- _createClass(DimParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(DimParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut = genericElem.attributes,
- dimType = _genericElem$attribut.dimType,
- scope = _genericElem$attribut.scope,
- extent = _genericElem$attribut.extent,
- unit = _genericElem$attribut.unit,
- quantity = _genericElem$attribut.quantity,
- atLeast = _genericElem$attribut.atLeast,
- atMost = _genericElem$attribut.atMost,
- min = _genericElem$attribut.min,
- max = _genericElem$attribut.max;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Dim"],
- scope: scope,
- extent: extent,
- unit: unit,
- quantity: quantity ? parseInt(quantity, 10) : undefined,
- atLeast: atLeast ? parseInt(atLeast, 10) : undefined,
- atMost: atMost ? parseInt(atMost, 10) : undefined,
- min: min ? parseInt(min, 10) : undefined,
- max: max ? parseInt(max, 10) : undefined,
- dimType: dimType,
- gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g')
- });
- }
- }]);
- return DimParser;
- }(GAttrParser);
- DimParser = DimParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('dim', DimParser_1)], DimParser);
- var DepthParser = DepthParser_1 = /*#__PURE__*/function (_GAttrParser2) {
- _inherits(DepthParser, _GAttrParser2);
- var _super177 = _createSuper(DepthParser);
- function DepthParser() {
- _classCallCheck(this, DepthParser);
- return _super177.apply(this, arguments);
- }
- _createClass(DepthParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(DepthParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut2 = genericElem.attributes,
- scope = _genericElem$attribut2.scope,
- extent = _genericElem$attribut2.extent,
- unit = _genericElem$attribut2.unit,
- quantity = _genericElem$attribut2.quantity,
- atLeast = _genericElem$attribut2.atLeast,
- atMost = _genericElem$attribut2.atMost,
- min = _genericElem$attribut2.min,
- max = _genericElem$attribut2.max;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Depth"],
- scope: scope,
- extent: extent,
- unit: unit,
- quantity: quantity ? parseInt(quantity, 10) : undefined,
- atLeast: atLeast ? parseInt(atLeast, 10) : undefined,
- atMost: atMost ? parseInt(atMost, 10) : undefined,
- min: min ? parseInt(min, 10) : undefined,
- max: max ? parseInt(max, 10) : undefined,
- gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g')
- });
- }
- }]);
- return DepthParser;
- }(GAttrParser);
- DepthParser = DepthParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('depth', DepthParser_1)], DepthParser);
- var WidthParser = WidthParser_1 = /*#__PURE__*/function (_GAttrParser3) {
- _inherits(WidthParser, _GAttrParser3);
- var _super178 = _createSuper(WidthParser);
- function WidthParser() {
- _classCallCheck(this, WidthParser);
- return _super178.apply(this, arguments);
- }
- _createClass(WidthParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(WidthParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut3 = genericElem.attributes,
- scope = _genericElem$attribut3.scope,
- extent = _genericElem$attribut3.extent,
- unit = _genericElem$attribut3.unit,
- quantity = _genericElem$attribut3.quantity,
- atLeast = _genericElem$attribut3.atLeast,
- atMost = _genericElem$attribut3.atMost,
- min = _genericElem$attribut3.min,
- max = _genericElem$attribut3.max;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Width"],
- scope: scope,
- extent: extent,
- unit: unit,
- quantity: quantity ? parseInt(quantity, 10) : undefined,
- atLeast: atLeast ? parseInt(atLeast, 10) : undefined,
- atMost: atMost ? parseInt(atMost, 10) : undefined,
- min: min ? parseInt(min, 10) : undefined,
- max: max ? parseInt(max, 10) : undefined,
- gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g')
- });
- }
- }]);
- return WidthParser;
- }(GAttrParser);
- WidthParser = WidthParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('width', WidthParser_1)], WidthParser);
- var HeightParser = HeightParser_1 = /*#__PURE__*/function (_GAttrParser4) {
- _inherits(HeightParser, _GAttrParser4);
- var _super179 = _createSuper(HeightParser);
- function HeightParser() {
- _classCallCheck(this, HeightParser);
- return _super179.apply(this, arguments);
- }
- _createClass(HeightParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(HeightParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut4 = genericElem.attributes,
- scope = _genericElem$attribut4.scope,
- extent = _genericElem$attribut4.extent,
- unit = _genericElem$attribut4.unit,
- quantity = _genericElem$attribut4.quantity,
- atLeast = _genericElem$attribut4.atLeast,
- atMost = _genericElem$attribut4.atMost,
- min = _genericElem$attribut4.min,
- max = _genericElem$attribut4.max;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Height"],
- scope: scope,
- extent: extent,
- unit: unit,
- quantity: quantity ? parseInt(quantity, 10) : undefined,
- atLeast: atLeast ? parseInt(atLeast, 10) : undefined,
- atMost: atMost ? parseInt(atMost, 10) : undefined,
- min: min ? parseInt(min, 10) : undefined,
- max: max ? parseInt(max, 10) : undefined,
- gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g')
- });
- }
- }]);
- return HeightParser;
- }(GAttrParser);
- HeightParser = HeightParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('height', HeightParser_1)], HeightParser);
- var DimensionsParser = DimensionsParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA9) {
- _inherits(DimensionsParser, _basic_parsers__WEBPA9);
- var _super180 = _createSuper(DimensionsParser);
- function DimensionsParser() {
- _classCallCheck(this, DimensionsParser);
- return _super180.apply(this, arguments);
- }
- _createClass(DimensionsParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(DimensionsParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut5 = genericElem.attributes,
- dimensionsType = _genericElem$attribut5.dimensionsType,
- scope = _genericElem$attribut5.scope,
- extent = _genericElem$attribut5.extent,
- unit = _genericElem$attribut5.unit,
- quantity = _genericElem$attribut5.quantity,
- atLeast = _genericElem$attribut5.atLeast,
- atMost = _genericElem$attribut5.atMost,
- min = _genericElem$attribut5.min,
- max = _genericElem$attribut5.max;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Dimensions"],
- dimensionsType: dimensionsType,
- scope: scope,
- extent: extent,
- unit: unit,
- quantity: quantity ? parseInt(quantity, 10) : undefined,
- atLeast: atLeast ? parseInt(atLeast, 10) : undefined,
- atMost: atMost ? parseInt(atMost, 10) : undefined,
- min: min ? parseInt(min, 10) : undefined,
- max: max ? parseInt(max, 10) : undefined,
- height: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'height'),
- width: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'width'),
- depth: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'depth'),
- dim: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'dim')
- });
- }
- }]);
- return DimensionsParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- DimensionsParser = DimensionsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('dimensions', DimensionsParser_1)], DimensionsParser);
- var AcquisitionParser = AcquisitionParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA10) {
- _inherits(AcquisitionParser, _basic_parsers__WEBPA10);
- var _super181 = _createSuper(AcquisitionParser);
- function AcquisitionParser() {
- _classCallCheck(this, AcquisitionParser);
- return _super181.apply(this, arguments);
- }
- _createClass(AcquisitionParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(AcquisitionParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut6 = genericElem.attributes,
- notBefore = _genericElem$attribut6.notBefore,
- notAfter = _genericElem$attribut6.notAfter;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Acquisition"],
- notBefore: notBefore,
- notAfter: notAfter,
- name: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'name', this.genericParse)
- });
- }
- }]);
- return AcquisitionParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- AcquisitionParser = AcquisitionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('acquisition', AcquisitionParser_1)], AcquisitionParser);
- var OrigDateParser = OrigDateParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA11) {
- _inherits(OrigDateParser, _basic_parsers__WEBPA11);
- var _super182 = _createSuper(OrigDateParser);
- function OrigDateParser() {
- _classCallCheck(this, OrigDateParser);
- return _super182.apply(this, arguments);
- }
- _createClass(OrigDateParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(OrigDateParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut7 = genericElem.attributes,
- notBefore = _genericElem$attribut7.notBefore,
- notAfter = _genericElem$attribut7.notAfter,
- when = _genericElem$attribut7.when,
- origDateType = _genericElem$attribut7.origDateType;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["OrigDate"],
- notBefore: notBefore,
- notAfter: notAfter,
- when: when,
- origDateType: origDateType
- });
- }
- }]);
- return OrigDateParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- OrigDateParser = OrigDateParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('origDate', OrigDateParser_1)], OrigDateParser);
- var OrigPlaceParser = OrigPlaceParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA12) {
- _inherits(OrigPlaceParser, _basic_parsers__WEBPA12);
- var _super183 = _createSuper(OrigPlaceParser);
- function OrigPlaceParser() {
- _classCallCheck(this, OrigPlaceParser);
- return _super183.apply(this, arguments);
- }
- _createClass(OrigPlaceParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(OrigPlaceParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut8 = genericElem.attributes,
- key = _genericElem$attribut8.key,
- origPlaceType = _genericElem$attribut8.origPlaceType;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["OrigPlace"],
- key: key,
- origPlaceType: origPlaceType
- });
- }
- }]);
- return OrigPlaceParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- OrigPlaceParser = OrigPlaceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('origPlace', OrigPlaceParser_1)], OrigPlaceParser);
- var OriginParser = OriginParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA13) {
- _inherits(OriginParser, _basic_parsers__WEBPA13);
- var _super184 = _createSuper(OriginParser);
- function OriginParser() {
- _classCallCheck(this, OriginParser);
- return _super184.apply(this, arguments);
- }
- _createClass(OriginParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(OriginParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut9 = genericElem.attributes,
- notBefore = _genericElem$attribut9.notBefore,
- notAfter = _genericElem$attribut9.notAfter,
- evidence = _genericElem$attribut9.evidence,
- resp = _genericElem$attribut9.resp;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Origin"],
- notBefore: notBefore,
- notAfter: notAfter,
- evidence: evidence,
- resp: resp,
- origDate: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origDate'),
- origPlace: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origPlace')
- });
- }
- }]);
- return OriginParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- OriginParser = OriginParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('origin', OriginParser_1)], OriginParser);
- var ProvenanceParser = ProvenanceParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA14) {
- _inherits(ProvenanceParser, _basic_parsers__WEBPA14);
- var _super185 = _createSuper(ProvenanceParser);
- function ProvenanceParser() {
- _classCallCheck(this, ProvenanceParser);
- return _super185.apply(this, arguments);
- }
- _createClass(ProvenanceParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(ProvenanceParser.prototype), "parse", this).call(this, xml);
- var when = genericElem.attributes.when;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Acquisition"],
- when: when
- });
- }
- }]);
- return ProvenanceParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- ProvenanceParser = ProvenanceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('provenance', ProvenanceParser_1)], ProvenanceParser);
- var HistoryParser = HistoryParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA15) {
- _inherits(HistoryParser, _basic_parsers__WEBPA15);
- var _super186 = _createSuper(HistoryParser);
- function HistoryParser() {
- _classCallCheck(this, HistoryParser);
- return _super186.apply(this, arguments);
- }
- _createClass(HistoryParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(HistoryParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["History"],
- acquisition: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'acquisition'),
- origin: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origin'),
- provenance: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'provenance'),
- summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'summary'),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return HistoryParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- HistoryParser = HistoryParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('history', HistoryParser_1)], HistoryParser);
- var LayoutParser = LayoutParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA16) {
- _inherits(LayoutParser, _basic_parsers__WEBPA16);
- var _super187 = _createSuper(LayoutParser);
- function LayoutParser() {
- _classCallCheck(this, LayoutParser);
- return _super187.apply(this, arguments);
- }
- _createClass(LayoutParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(LayoutParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut10 = genericElem.attributes,
- columns = _genericElem$attribut10.columns,
- streams = _genericElem$attribut10.streams,
- ruledLines = _genericElem$attribut10.ruledLines,
- writtenLines = _genericElem$attribut10.writtenLines;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LayoutDesc"],
- columns: columns ? parseInt(columns, 10) : undefined,
- streams: streams ? parseInt(streams, 10) : undefined,
- ruledLines: ruledLines ? parseInt(ruledLines, 10) : undefined,
- writtenLines: writtenLines ? parseInt(writtenLines, 10) : undefined,
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return LayoutParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- LayoutParser = LayoutParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('layout', LayoutParser_1)], LayoutParser);
- var LayoutDescParser = LayoutDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA17) {
- _inherits(LayoutDescParser, _basic_parsers__WEBPA17);
- var _super188 = _createSuper(LayoutDescParser);
- function LayoutDescParser() {
- _classCallCheck(this, LayoutDescParser);
- return _super188.apply(this, arguments);
- }
- _createClass(LayoutDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(LayoutDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LayoutDesc"],
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'),
- ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse),
- summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'provenance'),
- layout: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'layout')
- });
- }
- }]);
- return LayoutDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- LayoutDescParser = LayoutDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('layoutDesc', LayoutDescParser_1)], LayoutDescParser);
- var SupportParser = SupportParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA18) {
- _inherits(SupportParser, _basic_parsers__WEBPA18);
- var _super189 = _createSuper(SupportParser);
- function SupportParser() {
- _classCallCheck(this, SupportParser);
- return _super189.apply(this, arguments);
- }
- _createClass(SupportParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SupportParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Support"],
- material: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'material', this.genericParse),
- watermark: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'watermark', this.genericParse)
- });
- }
- }]);
- return SupportParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- SupportParser = SupportParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('support', SupportParser_1)], SupportParser);
- var CollationParser = CollationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA19) {
- _inherits(CollationParser, _basic_parsers__WEBPA19);
- var _super190 = _createSuper(CollationParser);
- function CollationParser() {
- _classCallCheck(this, CollationParser);
- return _super190.apply(this, arguments);
- }
- _createClass(CollationParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CollationParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Collation"],
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return CollationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- CollationParser = CollationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('collation', CollationParser_1)], CollationParser);
- var ConditionParser = ConditionParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA20) {
- _inherits(ConditionParser, _basic_parsers__WEBPA20);
- var _super191 = _createSuper(ConditionParser);
- function ConditionParser() {
- _classCallCheck(this, ConditionParser);
- return _super191.apply(this, arguments);
- }
- _createClass(ConditionParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ConditionParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Condition"],
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return ConditionParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- ConditionParser = ConditionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('condition', ConditionParser_1)], ConditionParser);
- var FoliationParser = FoliationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA21) {
- _inherits(FoliationParser, _basic_parsers__WEBPA21);
- var _super192 = _createSuper(FoliationParser);
- function FoliationParser() {
- _classCallCheck(this, FoliationParser);
- return _super192.apply(this, arguments);
- }
- _createClass(FoliationParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(FoliationParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Foliation"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getID"])(xml),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return FoliationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- FoliationParser = FoliationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('foliation', FoliationParser_1)], FoliationParser);
- var SupportDescParser = SupportDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA22) {
- _inherits(SupportDescParser, _basic_parsers__WEBPA22);
- var _super193 = _createSuper(SupportDescParser);
- function SupportDescParser() {
- _classCallCheck(this, SupportDescParser);
- return _super193.apply(this, arguments);
- }
- _createClass(SupportDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SupportDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["SupportDesc"],
- material: xml.getAttribute('material'),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'),
- ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse),
- extents: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'extent', this.genericParse),
- support: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'support'),
- collation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'collation'),
- foliation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'foliation'),
- condition: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'condition')
- });
- }
- }]);
- return SupportDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- SupportDescParser = SupportDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('supportDesc', SupportDescParser_1)], SupportDescParser);
- var ObjectDescParser = ObjectDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA23) {
- _inherits(ObjectDescParser, _basic_parsers__WEBPA23);
- var _super194 = _createSuper(ObjectDescParser);
- function ObjectDescParser() {
- _classCallCheck(this, ObjectDescParser);
- return _super194.apply(this, arguments);
- }
- _createClass(ObjectDescParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(ObjectDescParser.prototype), "parse", this).call(this, xml);
- var form = genericElem.attributes.form;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["ObjectDesc"],
- form: form,
- layoutDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'layoutDesc'),
- supportDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'supportDesc'),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return ObjectDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- ObjectDescParser = ObjectDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('objectDesc', ObjectDescParser_1)], ObjectDescParser);
- var DecoNoteParser = DecoNoteParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA24) {
- _inherits(DecoNoteParser, _basic_parsers__WEBPA24);
- var _super195 = _createSuper(DecoNoteParser);
- function DecoNoteParser() {
- _classCallCheck(this, DecoNoteParser);
- return _super195.apply(this, arguments);
- }
- _createClass(DecoNoteParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(DecoNoteParser.prototype), "parse", this).call(this, xml);
- var decoNoteType = genericElem.attributes.decoNoteType;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["DecoNote"],
- decoNoteType: decoNoteType,
- watermark: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'watermark', this.genericParse)
- });
- }
- }]);
- return DecoNoteParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- DecoNoteParser = DecoNoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('decoNote', DecoNoteParser_1)], DecoNoteParser);
- var BindingParser = BindingParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA25) {
- _inherits(BindingParser, _basic_parsers__WEBPA25);
- var _super196 = _createSuper(BindingParser);
- function BindingParser() {
- _classCallCheck(this, BindingParser);
- return _super196.apply(this, arguments);
- }
- _createClass(BindingParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(BindingParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Binding"],
- contemporary: true || false,
- decoNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'decoNote'),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'),
- condition: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'condition', this.genericParse),
- ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse)
- });
- }
- }]);
- return BindingParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- BindingParser = BindingParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('binding', BindingParser_1)], BindingParser);
- var BindingDescParser = BindingDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA26) {
- _inherits(BindingDescParser, _basic_parsers__WEBPA26);
- var _super197 = _createSuper(BindingDescParser);
- function BindingDescParser() {
- _classCallCheck(this, BindingDescParser);
- return _super197.apply(this, arguments);
- }
- _createClass(BindingDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(BindingDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["BindingDesc"],
- condition: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'condition', this.genericParse),
- decoNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'decoNote'),
- binding: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'binding'),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return BindingDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- BindingDescParser = BindingDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('bindingDesc', BindingDescParser_1)], BindingDescParser);
- var SummaryParser = SummaryParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA27) {
- _inherits(SummaryParser, _basic_parsers__WEBPA27);
- var _super198 = _createSuper(SummaryParser);
- function SummaryParser() {
- _classCallCheck(this, SummaryParser);
- return _super198.apply(this, arguments);
- }
- _createClass(SummaryParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SummaryParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Summary"],
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return SummaryParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- SummaryParser = SummaryParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('summary', SummaryParser_1)], SummaryParser);
- var DecoDescParser = DecoDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA28) {
- _inherits(DecoDescParser, _basic_parsers__WEBPA28);
- var _super199 = _createSuper(DecoDescParser);
- function DecoDescParser() {
- _classCallCheck(this, DecoDescParser);
- return _super199.apply(this, arguments);
- }
- _createClass(DecoDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(DecoDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["DecoDesc"],
- decoNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'decoNote'),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'),
- summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'summary'),
- ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse)
- });
- }
- }]);
- return DecoDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- DecoDescParser = DecoDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('decoDesc', DecoDescParser_1)], DecoDescParser);
- var HandDescParser = HandDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA29) {
- _inherits(HandDescParser, _basic_parsers__WEBPA29);
- var _super200 = _createSuper(HandDescParser);
- function HandDescParser() {
- _classCallCheck(this, HandDescParser);
- return _super200.apply(this, arguments);
- }
- _createClass(HandDescParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(HandDescParser.prototype), "parse", this).call(this, xml);
- var hands = genericElem.attributes.hands;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["HandDesc"],
- hands: hands,
- handNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'handNote')
- });
- }
- }]);
- return HandDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- HandDescParser = HandDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('handDesc', HandDescParser_1)], HandDescParser);
- var AdditionsParser = AdditionsParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA30) {
- _inherits(AdditionsParser, _basic_parsers__WEBPA30);
- var _super201 = _createSuper(AdditionsParser);
- function AdditionsParser() {
- _classCallCheck(this, AdditionsParser);
- return _super201.apply(this, arguments);
- }
- _createClass(AdditionsParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(AdditionsParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Additions"],
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return AdditionsParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- AdditionsParser = AdditionsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('additions', AdditionsParser_1)], AdditionsParser);
- var ScriptDescParser = ScriptDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA31) {
- _inherits(ScriptDescParser, _basic_parsers__WEBPA31);
- var _super202 = _createSuper(ScriptDescParser);
- function ScriptDescParser() {
- _classCallCheck(this, ScriptDescParser);
- return _super202.apply(this, arguments);
- }
- _createClass(ScriptDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ScriptDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["ScriptDesc"],
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["parseChildren"])(xml, this.genericParse),
- attributes: this.attributeParser.parse(xml),
- summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'summary'),
- scriptNote: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'scriptNote', this.genericParse)
- });
- }
- }]);
- return ScriptDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- ScriptDescParser = ScriptDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('scriptDesc', ScriptDescParser_1)], ScriptDescParser);
- var SealParser = SealParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA32) {
- _inherits(SealParser, _basic_parsers__WEBPA32);
- var _super203 = _createSuper(SealParser);
- function SealParser() {
- _classCallCheck(this, SealParser);
- return _super203.apply(this, arguments);
- }
- _createClass(SealParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(SealParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut11 = genericElem.attributes,
- n = _genericElem$attribut11.n,
- sealType = _genericElem$attribut11.sealType;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Seal"],
- contemporary: Object(src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["isBoolString"])(xml.getAttribute('contemporary')),
- decoNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'decoNote'),
- sealType: sealType,
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getDefaultN"])(n),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'),
- ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse)
- });
- }
- }]);
- return SealParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- SealParser = SealParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('seal', SealParser_1)], SealParser);
- var SealDescParser = SealDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA33) {
- _inherits(SealDescParser, _basic_parsers__WEBPA33);
- var _super204 = _createSuper(SealDescParser);
- function SealDescParser() {
- _classCallCheck(this, SealDescParser);
- return _super204.apply(this, arguments);
- }
- _createClass(SealDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SealDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["SealDesc"],
- seal: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'seal')
- });
- }
- }]);
- return SealDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- SealDescParser = SealDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('sealDesc', SealDescParser_1)], SealDescParser);
- var TypeNoteParser = TypeNoteParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA34) {
- _inherits(TypeNoteParser, _basic_parsers__WEBPA34);
- var _super205 = _createSuper(TypeNoteParser);
- function TypeNoteParser() {
- _classCallCheck(this, TypeNoteParser);
- return _super205.apply(this, arguments);
- }
- _createClass(TypeNoteParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(TypeNoteParser.prototype), "parse", this).call(this, xml);
- var scope = genericElem.attributes.scope;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["TypeNote"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getID"])(xml),
- scope: scope
- });
- }
- }]);
- return TypeNoteParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- TypeNoteParser = TypeNoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('typeNote', TypeNoteParser_1)], TypeNoteParser);
- var TypeDescParser = TypeDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA35) {
- _inherits(TypeDescParser, _basic_parsers__WEBPA35);
- var _super206 = _createSuper(TypeDescParser);
- function TypeDescParser() {
- _classCallCheck(this, TypeDescParser);
- return _super206.apply(this, arguments);
- }
- _createClass(TypeDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(TypeDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["TypeDesc"],
- summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'summary'),
- typeNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'typeNote')
- });
- }
- }]);
- return TypeDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- TypeDescParser = TypeDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('typeDesc', TypeDescParser_1)], TypeDescParser);
- var AccMatParser = AccMatParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA36) {
- _inherits(AccMatParser, _basic_parsers__WEBPA36);
- var _super207 = _createSuper(AccMatParser);
- function AccMatParser() {
- _classCallCheck(this, AccMatParser);
- return _super207.apply(this, arguments);
- }
- _createClass(AccMatParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(AccMatParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["AccMat"],
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return AccMatParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- AccMatParser = AccMatParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('accMat', AccMatParser_1)], AccMatParser);
- var MusicNotationParser = MusicNotationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA37) {
- _inherits(MusicNotationParser, _basic_parsers__WEBPA37);
- var _super208 = _createSuper(MusicNotationParser);
- function MusicNotationParser() {
- _classCallCheck(this, MusicNotationParser);
- return _super208.apply(this, arguments);
- }
- _createClass(MusicNotationParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(MusicNotationParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MusicNotation"],
- term: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'term', this.genericParse)
- });
- }
- }]);
- return MusicNotationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- MusicNotationParser = MusicNotationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('musicNotation', MusicNotationParser_1)], MusicNotationParser);
- var PhysDescParser = PhysDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA38) {
- _inherits(PhysDescParser, _basic_parsers__WEBPA38);
- var _super209 = _createSuper(PhysDescParser);
- function PhysDescParser() {
- _classCallCheck(this, PhysDescParser);
- return _super209.apply(this, arguments);
- }
- _createClass(PhysDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(PhysDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["PhysDesc"],
- objectDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'objectDesc'),
- bindingDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'bindingDesc'),
- decoDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'decoDesc'),
- handDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'handDesc'),
- accMat: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'accMat'),
- additions: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'additions'),
- musicNotation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'musicNotation'),
- scriptDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'scriptDesc'),
- sealDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'sealDesc'),
- typeDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'typeDesc'),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return PhysDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- PhysDescParser = PhysDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('physDesc', PhysDescParser_1)], PhysDescParser);
- var FinalRubricParser = FinalRubricParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA39) {
- _inherits(FinalRubricParser, _basic_parsers__WEBPA39);
- var _super210 = _createSuper(FinalRubricParser);
- function FinalRubricParser() {
- _classCallCheck(this, FinalRubricParser);
- return _super210.apply(this, arguments);
- }
- _createClass(FinalRubricParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(FinalRubricParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["FinalRubric"],
- lbEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'lb')
- });
- }
- }]);
- return FinalRubricParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- FinalRubricParser = FinalRubricParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('finalRubric', FinalRubricParser_1)], FinalRubricParser);
- var LocusParser = LocusParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA40) {
- _inherits(LocusParser, _basic_parsers__WEBPA40);
- var _super211 = _createSuper(LocusParser);
- function LocusParser() {
- _classCallCheck(this, LocusParser);
- return _super211.apply(this, arguments);
- }
- _createClass(LocusParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(LocusParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut12 = genericElem.attributes,
- scheme = _genericElem$attribut12.scheme,
- from = _genericElem$attribut12.from,
- to = _genericElem$attribut12.to,
- facs = _genericElem$attribut12.facs,
- target = _genericElem$attribut12.target;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Locus"],
- scheme: scheme,
- from: from,
- to: to,
- facs: facs,
- target: target,
- gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g'),
- locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus'),
- hi: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'hi', this.genericParse)
- });
- }
- }]);
- return LocusParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- LocusParser = LocusParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('locus', LocusParser_1)], LocusParser);
- var LocusGrpParser = LocusGrpParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA41) {
- _inherits(LocusGrpParser, _basic_parsers__WEBPA41);
- var _super212 = _createSuper(LocusGrpParser);
- function LocusGrpParser() {
- _classCallCheck(this, LocusGrpParser);
- return _super212.apply(this, arguments);
- }
- _createClass(LocusGrpParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(LocusGrpParser.prototype), "parse", this).call(this, xml);
- var scheme = genericElem.attributes.scheme;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LocusGrp"],
- scheme: scheme,
- locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus')
- });
- }
- }]);
- return LocusGrpParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- LocusGrpParser = LocusGrpParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('locusGrp', LocusGrpParser_1)], LocusGrpParser);
- var IncipitParser = IncipitParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA42) {
- _inherits(IncipitParser, _basic_parsers__WEBPA42);
- var _super213 = _createSuper(IncipitParser);
- function IncipitParser() {
- _classCallCheck(this, IncipitParser);
- return _super213.apply(this, arguments);
- }
- _createClass(IncipitParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(IncipitParser.prototype), "parse", this).call(this, xml);
- var lang = genericElem.attributes.lang;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Incipit"],
- defective: Object(src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["isBoolString"])(xml.getAttribute('defective')),
- lang: lang,
- lbEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'lb'),
- locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus')
- });
- }
- }]);
- return IncipitParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- IncipitParser = IncipitParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('incipit', IncipitParser_1)], IncipitParser);
- var ExplicitParser = ExplicitParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA43) {
- _inherits(ExplicitParser, _basic_parsers__WEBPA43);
- var _super214 = _createSuper(ExplicitParser);
- function ExplicitParser() {
- _classCallCheck(this, ExplicitParser);
- return _super214.apply(this, arguments);
- }
- _createClass(ExplicitParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(ExplicitParser.prototype), "parse", this).call(this, xml);
- var lang = genericElem.attributes.lang;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Explicit"],
- defective: Object(src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["isBoolString"])(xml.getAttribute('defective')),
- lang: lang,
- locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus')
- });
- }
- }]);
- return ExplicitParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- ExplicitParser = ExplicitParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('explicit', ExplicitParser_1)], ExplicitParser);
- var RubricParser = RubricParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA44) {
- _inherits(RubricParser, _basic_parsers__WEBPA44);
- var _super215 = _createSuper(RubricParser);
- function RubricParser() {
- _classCallCheck(this, RubricParser);
- return _super215.apply(this, arguments);
- }
- _createClass(RubricParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(RubricParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut13 = genericElem.attributes,
- lang = _genericElem$attribut13.lang,
- rend = _genericElem$attribut13.rend;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Rubric"],
- lang: lang,
- rend: rend,
- lbEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'lb'),
- locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus'),
- stamp: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'stamp', this.genericParse)
- });
- }
- }]);
- return RubricParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- RubricParser = RubricParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('rubric', RubricParser_1)], RubricParser);
- var FiliationParser = FiliationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA45) {
- _inherits(FiliationParser, _basic_parsers__WEBPA45);
- var _super216 = _createSuper(FiliationParser);
- function FiliationParser() {
- _classCallCheck(this, FiliationParser);
- return _super216.apply(this, arguments);
- }
- _createClass(FiliationParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(FiliationParser.prototype), "parse", this).call(this, xml);
- var filiationType = genericElem.attributes.filiationType;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Filiation"],
- filiationType: filiationType
- });
- }
- }]);
- return FiliationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- FiliationParser = FiliationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('filiation', FiliationParser_1)], FiliationParser);
- var MsItemStructParser = MsItemStructParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA46) {
- _inherits(MsItemStructParser, _basic_parsers__WEBPA46);
- var _super217 = _createSuper(MsItemStructParser);
- function MsItemStructParser() {
- _classCallCheck(this, MsItemStructParser);
- return _super217.apply(this, arguments);
- }
- _createClass(MsItemStructParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(MsItemStructParser.prototype), "parse", this).call(this, xml);
- var n = genericElem.attributes.n;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsItemStruct"],
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getDefaultN"])(n),
- defective: Object(src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["isBoolString"])(xml.getAttribute('defective')),
- authors: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'author', this.genericParse),
- titles: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'title', this.genericParse),
- textLangs: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'textLang', this.genericParse),
- bibl: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'bibl', this.genericParse),
- respStmt: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'respStmt', this.genericParse),
- quote: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'quote', this.genericParse),
- listBibl: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'listBibl', this.genericParse),
- colophons: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'colophon', this.genericParse),
- rubric: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'rubric'),
- incipit: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'incipit'),
- explicit: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'explicit'),
- finalRubric: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'finalRubric'),
- decoNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'decoNote'),
- filiation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'filiation'),
- locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus'),
- noteEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'note')
- });
- }
- }]);
- return MsItemStructParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- MsItemStructParser = MsItemStructParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msItemStruct', MsItemStructParser_1)], MsItemStructParser);
- var MsItemParser = MsItemParser_1 = /*#__PURE__*/function (_MsItemStructParser) {
- _inherits(MsItemParser, _MsItemStructParser);
- var _super218 = _createSuper(MsItemParser);
- function MsItemParser() {
- _classCallCheck(this, MsItemParser);
- return _super218.apply(this, arguments);
- }
- _createClass(MsItemParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(MsItemParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsItem"],
- docAuthors: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'docAuthor', this.genericParse),
- docTitles: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'docTitle', this.genericParse),
- docImprints: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'docImprint', this.genericParse),
- docDate: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'docDate', this.genericParse),
- locusGrp: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locusGrp'),
- gapEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'gap'),
- msItem: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'msItem')
- });
- }
- }]);
- return MsItemParser;
- }(MsItemStructParser);
- MsItemParser = MsItemParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msItem', MsItemParser_1)], MsItemParser);
- var CustEventParser = CustEventParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA47) {
- _inherits(CustEventParser, _basic_parsers__WEBPA47);
- var _super219 = _createSuper(CustEventParser);
- function CustEventParser() {
- _classCallCheck(this, CustEventParser);
- return _super219.apply(this, arguments);
- }
- _createClass(CustEventParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(CustEventParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut14 = genericElem.attributes,
- notBefore = _genericElem$attribut14.notBefore,
- notAfter = _genericElem$attribut14.notAfter,
- when = _genericElem$attribut14.when,
- from = _genericElem$attribut14.from,
- to = _genericElem$attribut14.to,
- custEventType = _genericElem$attribut14.custEventType;
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CustEventParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["CustEvent"],
- notBefore: notBefore,
- notAfter: notAfter,
- when: when,
- from: from,
- to: to,
- custEventType: custEventType
- });
- }
- }]);
- return CustEventParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- CustEventParser = CustEventParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('custEvent', CustEventParser_1)], CustEventParser);
- var CustodialHistParser = CustodialHistParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA48) {
- _inherits(CustodialHistParser, _basic_parsers__WEBPA48);
- var _super220 = _createSuper(CustodialHistParser);
- function CustodialHistParser() {
- _classCallCheck(this, CustodialHistParser);
- return _super220.apply(this, arguments);
- }
- _createClass(CustodialHistParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CustodialHistParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["CustodialHist"],
- custEvent: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'custEvent'),
- ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return CustodialHistParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- CustodialHistParser = CustodialHistParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('custodialHist', CustodialHistParser_1)], CustodialHistParser);
- var SourceParser = SourceParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA49) {
- _inherits(SourceParser, _basic_parsers__WEBPA49);
- var _super221 = _createSuper(SourceParser);
- function SourceParser() {
- _classCallCheck(this, SourceParser);
- return _super221.apply(this, arguments);
- }
- _createClass(SourceParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SourceParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Source"],
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return SourceParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- SourceParser = SourceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('source', SourceParser_1)], SourceParser);
- var RecordHistParser = RecordHistParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA50) {
- _inherits(RecordHistParser, _basic_parsers__WEBPA50);
- var _super222 = _createSuper(RecordHistParser);
- function RecordHistParser() {
- _classCallCheck(this, RecordHistParser);
- return _super222.apply(this, arguments);
- }
- _createClass(RecordHistParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(RecordHistParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["RecordHist"],
- changes: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'change', this.genericParse),
- source: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'source'),
- ab: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'ab', this.genericParse),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return RecordHistParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- RecordHistParser = RecordHistParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('recordHist', RecordHistParser_1)], RecordHistParser);
- var AdminInfoParser = AdminInfoParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA51) {
- _inherits(AdminInfoParser, _basic_parsers__WEBPA51);
- var _super223 = _createSuper(AdminInfoParser);
- function AdminInfoParser() {
- _classCallCheck(this, AdminInfoParser);
- return _super223.apply(this, arguments);
- }
- _createClass(AdminInfoParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(AdminInfoParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["AdminInfo"],
- noteEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'note'),
- availabilities: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'availability', this.genericParse),
- custodialHist: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'custodialHist'),
- recordHist: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'recordHist')
- });
- }
- }]);
- return AdminInfoParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- AdminInfoParser = AdminInfoParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('adminInfo', AdminInfoParser_1)], AdminInfoParser);
- var SurrogatesParser = SurrogatesParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA52) {
- _inherits(SurrogatesParser, _basic_parsers__WEBPA52);
- var _super224 = _createSuper(SurrogatesParser);
- function SurrogatesParser() {
- _classCallCheck(this, SurrogatesParser);
- return _super224.apply(this, arguments);
- }
- _createClass(SurrogatesParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SurrogatesParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Surrogates"],
- bibls: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'bibl', this.genericParse),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return SurrogatesParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- SurrogatesParser = SurrogatesParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('surrogates', SurrogatesParser_1)], SurrogatesParser);
- var AdditionalParser = AdditionalParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA53) {
- _inherits(AdditionalParser, _basic_parsers__WEBPA53);
- var _super225 = _createSuper(AdditionalParser);
- function AdditionalParser() {
- _classCallCheck(this, AdditionalParser);
- return _super225.apply(this, arguments);
- }
- _createClass(AdditionalParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(AdditionalParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Summary"],
- "class": Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["parseChildren"])(xml, this.genericParse),
- attributes: this.attributeParser.parse(xml),
- listBibls: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'listBibl', this.genericParse),
- adminInfo: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'adminInfo'),
- surrogates: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'surrogates')
- });
- }
- }]);
- return AdditionalParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- AdditionalParser = AdditionalParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('additional', AdditionalParser_1)], AdditionalParser);
- var RepositoryParser = RepositoryParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA54) {
- _inherits(RepositoryParser, _basic_parsers__WEBPA54);
- var _super226 = _createSuper(RepositoryParser);
- function RepositoryParser() {
- _classCallCheck(this, RepositoryParser);
- return _super226.apply(this, arguments);
- }
- _createClass(RepositoryParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(RepositoryParser.prototype), "parse", this).call(this, xml);
- var lang = genericElem.attributes.lang;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Repository"],
- lang: lang
- });
- }
- }]);
- return RepositoryParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- RepositoryParser = RepositoryParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('repository', RepositoryParser_1)], RepositoryParser);
- var MsContentsParser = MsContentsParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA55) {
- _inherits(MsContentsParser, _basic_parsers__WEBPA55);
- var _super227 = _createSuper(MsContentsParser);
- function MsContentsParser() {
- _classCallCheck(this, MsContentsParser);
- return _super227.apply(this, arguments);
- }
- _createClass(MsContentsParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(MsContentsParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsContents"],
- summary: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'summary'),
- msItem: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'msItem'),
- msItemStruct: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'msItemStruct'),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p'),
- textLangs: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'textLang', this.genericParse)
- });
- }
- }]);
- return MsContentsParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- MsContentsParser = MsContentsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msContents', MsContentsParser_1)], MsContentsParser);
- var CollectionParser = CollectionParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA56) {
- _inherits(CollectionParser, _basic_parsers__WEBPA56);
- var _super228 = _createSuper(CollectionParser);
- function CollectionParser() {
- _classCallCheck(this, CollectionParser);
- return _super228.apply(this, arguments);
- }
- _createClass(CollectionParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(CollectionParser.prototype), "parse", this).call(this, xml);
- var collectionType = genericElem.attributes.collectionType;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["CollectionEl"],
- collectionType: collectionType
- });
- }
- }]);
- return CollectionParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- CollectionParser = CollectionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('collection', CollectionParser_1)], CollectionParser);
- var IdentifierParser = IdentifierParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA57) {
- _inherits(IdentifierParser, _basic_parsers__WEBPA57);
- var _super229 = _createSuper(IdentifierParser);
- function IdentifierParser() {
- _classCallCheck(this, IdentifierParser);
- return _super229.apply(this, arguments);
- }
- _createClass(IdentifierParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(IdentifierParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Identifier"],
- collection: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'collection'),
- repository: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'repository'),
- idnos: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'idno', this.genericParse),
- regions: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'region', this.genericParse),
- settlements: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'settlement', this.genericParse),
- countries: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'country', this.genericParse)
- });
- }
- }]);
- return IdentifierParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- IdentifierParser = IdentifierParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-identifier-parser', IdentifierParser_1)], IdentifierParser);
- var AltIdentifierParser = AltIdentifierParser_1 = /*#__PURE__*/function (_IdentifierParser) {
- _inherits(AltIdentifierParser, _IdentifierParser);
- var _super230 = _createSuper(AltIdentifierParser);
- function AltIdentifierParser() {
- _classCallCheck(this, AltIdentifierParser);
- return _super230.apply(this, arguments);
- }
- _createClass(AltIdentifierParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(AltIdentifierParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["AltIdentifier"],
- noteEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'note')
- });
- }
- }]);
- return AltIdentifierParser;
- }(IdentifierParser);
- AltIdentifierParser = AltIdentifierParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('altIdentifier', AltIdentifierParser_1)], AltIdentifierParser);
- var MsNameParser = MsNameParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA58) {
- _inherits(MsNameParser, _basic_parsers__WEBPA58);
- var _super231 = _createSuper(MsNameParser);
- function MsNameParser() {
- _classCallCheck(this, MsNameParser);
- return _super231.apply(this, arguments);
- }
- _createClass(MsNameParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(MsNameParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["AltIdentifier"],
- name: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'name', this.genericParse),
- rs: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'rs', this.genericParse),
- gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g')
- });
- }
- }]);
- return MsNameParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- MsNameParser = MsNameParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msName', MsNameParser_1)], MsNameParser);
- var InstitutionParser = InstitutionParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA59) {
- _inherits(InstitutionParser, _basic_parsers__WEBPA59);
- var _super232 = _createSuper(InstitutionParser);
- function InstitutionParser() {
- _classCallCheck(this, InstitutionParser);
- return _super232.apply(this, arguments);
- }
- _createClass(InstitutionParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(InstitutionParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Institution"],
- country: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'country', this.genericParse),
- region: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'region', this.genericParse)
- });
- }
- }]);
- return InstitutionParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- InstitutionParser = InstitutionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('institution', InstitutionParser_1)], InstitutionParser);
- var MsIdentifierParser = MsIdentifierParser_1 = /*#__PURE__*/function (_IdentifierParser2) {
- _inherits(MsIdentifierParser, _IdentifierParser2);
- var _super233 = _createSuper(MsIdentifierParser);
- function MsIdentifierParser() {
- _classCallCheck(this, MsIdentifierParser);
- return _super233.apply(this, arguments);
- }
- _createClass(MsIdentifierParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(MsIdentifierParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsIdentifier"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getID"])(xml),
- institution: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'institution'),
- altIdentifier: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'altIdentifier'),
- msName: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'msName')
- });
- }
- }]);
- return MsIdentifierParser;
- }(IdentifierParser);
- MsIdentifierParser = MsIdentifierParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msIdentifier', MsIdentifierParser_1)], MsIdentifierParser);
- var HeadParser = HeadParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA60) {
- _inherits(HeadParser, _basic_parsers__WEBPA60);
- var _super234 = _createSuper(HeadParser);
- function HeadParser() {
- _classCallCheck(this, HeadParser);
- return _super234.apply(this, arguments);
- }
- _createClass(HeadParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(HeadParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut15 = genericElem.attributes,
- place = _genericElem$attribut15.place,
- rend = _genericElem$attribut15.rend,
- style = _genericElem$attribut15.style,
- rendition = _genericElem$attribut15.rendition,
- facs = _genericElem$attribut15.facs,
- n = _genericElem$attribut15.n;
- return Object.assign(Object.assign({}, genericElem), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Head"],
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getDefaultN"])(n),
- place: place,
- rend: rend,
- rendition: rendition,
- style: style,
- facs: facs,
- lbEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'lb'),
- hi: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'hi', this.genericParse),
- title: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'title', this.genericParse),
- origPlace: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origPlace'),
- origDate: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origDate')
- });
- }
- }]);
- return HeadParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- HeadParser = HeadParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('head', HeadParser_1)], HeadParser);
- var MsFragParser = MsFragParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA61) {
- _inherits(MsFragParser, _basic_parsers__WEBPA61);
- var _super235 = _createSuper(MsFragParser);
- function MsFragParser() {
- _classCallCheck(this, MsFragParser);
- return _super235.apply(this, arguments);
- }
- _createClass(MsFragParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(MsFragParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsFrag"],
- additional: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'additional'),
- altIdentifier: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'altIdentifier'),
- history: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'history'),
- msContents: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'msContents'),
- msIdentifier: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'msIdentifier'),
- physDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'physDesc'),
- pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return MsFragParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"]);
- MsFragParser = MsFragParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msFrag', MsFragParser_1)], MsFragParser);
- var MsPartParser = MsPartParser_1 = /*#__PURE__*/function (_MsFragParser) {
- _inherits(MsPartParser, _MsFragParser);
- var _super236 = _createSuper(MsPartParser);
- function MsPartParser() {
- _classCallCheck(this, MsPartParser);
- return _super236.apply(this, arguments);
- }
- _createClass(MsPartParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(MsPartParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsPart"],
- msParts: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'msPart'),
- head: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'head')
- });
- }
- }]);
- return MsPartParser;
- }(MsFragParser);
- MsPartParser = MsPartParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msPart', MsPartParser_1)], MsPartParser);
- var MsDescParser = MsDescParser_1 = /*#__PURE__*/function (_MsPartParser) {
- _inherits(MsDescParser, _MsPartParser);
- var _super237 = _createSuper(MsDescParser);
- function MsDescParser() {
- var _this41;
- _classCallCheck(this, MsDescParser);
- _this41 = _super237.apply(this, arguments);
- _this41.msDescCounter = 0;
- return _this41;
- }
- _createClass(MsDescParser, [{
- key: "parse",
- value: function parse(xml) {
- var genericElem = _get(_getPrototypeOf(MsDescParser.prototype), "parse", this).call(this, xml);
- var _genericElem$attribut16 = genericElem.attributes,
- n = _genericElem$attribut16.n,
- label = _genericElem$attribut16.label;
- var firstIdnoValue = '';
- var msDesc = Object.assign(Object.assign({}, _get(_getPrototypeOf(MsDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MsDesc"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getID"])(xml),
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["getDefaultN"])(n),
- label: label,
- msFrags: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'msFrag')
- });
- firstIdnoValue = this.getFirstIdnoValue(msDesc);
- msDesc.label = xml.getAttribute('n') || xml.getAttribute('xml:id') || firstIdnoValue;
- return msDesc;
- }
- }, {
- key: "getFirstIdnoValue",
- value: function getFirstIdnoValue(ms) {
- this.msDescCounter++;
- if (ms.msIdentifier.idnos.length > 0) {
- var item = ms.msIdentifier.idnos[0].filter(function (el) {
- var _a, _b;
- return ((_a = el.text) === null || _a === void 0 ? void 0 : _a.trim()) || ((_b = el.content) === null || _b === void 0 ? void 0 : _b.length) > 0;
- });
- if (item[0].text) {
- return item[0].text.trim();
- }
- if (item[0].content.length > 0) {
- return item[0].content[0].text;
- }
- }
- return "MS Desc ".concat(this.msDescCounter);
- }
- }]);
- return MsDescParser;
- }(MsPartParser);
- MsDescParser = MsDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msDesc', MsDescParser_1)], MsDescParser);
- /***/
- },
- /***/
- "DBF2":
- /*!*****************************************************************!*\
- !*** ./src/app/panels/version-panel/version-panel.component.ts ***!
- \*****************************************************************/
- /*! exports provided: VersionPanelComponent */
- /***/
- function DBF2(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "VersionPanelComponent", function () {
- return VersionPanelComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../../ui-components/panel/panel.component */
- "HiHV");
- /* harmony import */
- var _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../directives/annotator.directive */
- "STiE");
- var VersionPanelComponent = /*#__PURE__*/function () {
- function VersionPanelComponent() {
- _classCallCheck(this, VersionPanelComponent);
- this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- _createClass(VersionPanelComponent, [{
- key: "emitHide",
- value: function emitHide() {
- this.hide.emit(true);
- }
- }]);
- return VersionPanelComponent;
- }();
- VersionPanelComponent.ɵfac = function VersionPanelComponent_Factory(t) {
- return new (t || VersionPanelComponent)();
- };
- VersionPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: VersionPanelComponent,
- selectors: [["evt-version-panel"]],
- inputs: {
- version: "version"
- },
- outputs: {
- hide: "hide"
- },
- decls: 8,
- vars: 4,
- consts: [[3, "comparable", "secondary", "closable", "hide"], ["header-left", ""], ["content", "", "evtAnnotator", ""]],
- template: function VersionPanelComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function VersionPanelComponent_Template_evt_panel_hide_0_listener() {
- return ctx.emitHide();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "h1");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "Text of version");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "p");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7, " Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Inmensae subtilitatis, obscuris et malesuada fames. Ambitioni dedisse scripsisse iudicaretur. At nos hinc posthac, sitientis piros Afros. ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("comparable", true)("secondary", true)("closable", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" Version ", ctx.version, " ");
- }
- },
- directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__["PanelComponent"], _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__["AnnotatorDirective"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ2ZXJzaW9uLXBhbmVsLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](VersionPanelComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-version-panel',
- templateUrl: './version-panel.component.html',
- styleUrls: ['./version-panel.component.scss']
- }]
- }], null, {
- version: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- hide: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "DJp8":
- /*!*************************************************************!*\
- !*** ./src/app/view-modes/text-text/text-text.component.ts ***!
- \*************************************************************/
- /*! exports provided: TextTextComponent */
- /***/
- function DJp8(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TextTextComponent", function () {
- return TextTextComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! angular-gridster2 */
- "Ljk9");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! src/app/services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../panels/text-panel/text-panel.component */
- "CHR5");
- function TextTextComponent_gridster_0_Template(rf, ctx) {
- if (rf & 1) {
- var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-text-panel", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function TextTextComponent_gridster_0_Template_evt_text_panel_pageChange_2_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r2.changePage($event);
- })("editionLevelChange", function TextTextComponent_gridster_0_Template_evt_text_panel_editionLevelChange_2_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r4.changeEditionLevel($event, 1);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "gridster-item", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "evt-text-panel", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function TextTextComponent_gridster_0_Template_evt_text_panel_pageChange_5_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r5.changePage($event);
- })("editionLevelChange", function TextTextComponent_gridster_0_Template_evt_text_panel_editionLevelChange_5_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);
- var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r6.changeEditionLevel($event, 2);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](6, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var currentEditionLevels_r1 = ctx.ngIf;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx_r0.options);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx_r0.textPanel1Item);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 7, ctx_r0.currentPageID$))("editionLevelID", currentEditionLevels_r1[0]);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx_r0.textPanel2Item);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](6, 9, ctx_r0.currentPageID$))("editionLevelID", currentEditionLevels_r1[1]);
- }
- }
- var TextTextComponent = /*#__PURE__*/function () {
- function TextTextComponent(evtStatusService) {
- _classCallCheck(this, TextTextComponent);
- this.evtStatusService = evtStatusService;
- this.options = {};
- this.textPanel1Item = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 0
- };
- this.textPanel2Item = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 1
- };
- this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (_ref33) {
- var page = _ref33.page;
- return page.id;
- }));
- this.currentEditionLevels$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (_ref34) {
- var editionLevels = _ref34.editionLevels;
- return editionLevels;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["shareReplay"])(1));
- this.editionLevelPanel1Change$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
- this.editionLevelPanel2Change$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
- this.lastPanelChanged$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](undefined);
- this.editionLevelChange$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["combineLatest"])([this.editionLevelPanel1Change$, this.editionLevelPanel2Change$, this.lastPanelChanged$]);
- this.subscriptions = [];
- }
- _createClass(TextTextComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- var _this42 = this;
- this.initGridster();
- this.editionLevelChange$.subscribe(function (_ref35) {
- var _ref36 = _slicedToArray(_ref35, 3),
- edLvl1 = _ref36[0],
- edLvl2 = _ref36[1],
- changedPanel = _ref36[2];
- if (!edLvl1 || !edLvl2) {
- return;
- }
- if (edLvl1 === edLvl2) {
- if (changedPanel === 1) {
- edLvl2 = _this42.evtStatusService.availableEditionLevels.filter(function (e) {
- return e.id !== edLvl1.id;
- })[0];
- } else if (changedPanel === 2) {
- edLvl1 = _this42.evtStatusService.availableEditionLevels.filter(function (e) {
- return e.id !== edLvl2.id;
- })[0];
- }
- }
- _this42.evtStatusService.updateEditionLevels$.next([edLvl1 === null || edLvl1 === void 0 ? void 0 : edLvl1.id, edLvl2 === null || edLvl2 === void 0 ? void 0 : edLvl2.id]);
- });
- }
- }, {
- key: "changePage",
- value: function changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- }, {
- key: "changeEditionLevel",
- value: function changeEditionLevel(edLvl, changedPanel) {
- if (changedPanel === 1) {
- this.editionLevelPanel1Change$.next(edLvl);
- } else if (changedPanel === 2) {
- this.editionLevelPanel2Change$.next(edLvl);
- }
- this.lastPanelChanged$.next(changedPanel);
- }
- }, {
- key: "initGridster",
- value: function initGridster() {
- this.options = {
- gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
- displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
- margin: 0,
- maxCols: 2,
- maxRows: 1,
- draggable: {
- enabled: true,
- ignoreContent: true,
- dragHandleClass: 'panel-header'
- },
- resizable: {
- enabled: false
- }
- };
- }
- }, {
- key: "ngOnDestroy",
- value: function ngOnDestroy() {
- this.subscriptions.forEach(function (s) {
- return s.unsubscribe();
- });
- }
- }]);
- return TextTextComponent;
- }();
- TextTextComponent.ɵfac = function TextTextComponent_Factory(t) {
- return new (t || TextTextComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"]));
- };
- TextTextComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: TextTextComponent,
- selectors: [["evt-text-text"]],
- decls: 2,
- vars: 3,
- consts: [[3, "options", 4, "ngIf"], [3, "options"], [3, "item"], [3, "pageID", "editionLevelID", "pageChange", "editionLevelChange"]],
- template: function TextTextComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, TextTextComponent_gridster_0_Template, 7, 11, "gridster", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, ctx.currentEditionLevels$));
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_6__["TextPanelComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ0ZXh0LXRleHQuY29tcG9uZW50LnNjc3MifQ== */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TextTextComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-text-text',
- templateUrl: './text-text.component.html',
- styleUrls: ['./text-text.component.scss']
- }]
- }], function () {
- return [{
- type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "EOxZ":
- /*!*************************************************************************************!*\
- !*** ./src/app/components/lem-entry/lem-entry-detail/lem-entry-detail.component.ts ***!
- \*************************************************************************************/
- /*! exports provided: LemEntryDetailComponent */
- /***/
- function EOxZ(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemEntryDetailComponent", function () {
- return LemEntryDetailComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ./../../../models/evt-models */
- "5c0l");
- /* harmony import */
- var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! src/app/services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _lem_entry_readings_lem_entry_readings_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../lem-entry-readings/lem-entry-readings.component */
- "XvlD");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../../pinboard/pinner/pinner.component */
- "j7gH");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _note_note_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../../note/note.component */
- "EpuN");
- /* harmony import */
- var _reading_reading_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../../reading/reading.component */
- "QgGR");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- /* harmony import */
- var _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! ../../../pipes/xml-beautify.pipe */
- "UhR9");
- var LemEntryDetailComponent_1;
- function LemEntryDetailComponent_div_4_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 19);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "sup");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-lem-entry-readings", 20);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var nesLem_r9 = ctx.$implicit;
- var i_r10 = ctx.index;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", i_r10 + 1, " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", nesLem_r9)("template", _r6)("rdgHasCounter", false);
- }
- }
- function LemEntryDetailComponent_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 17);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryDetailComponent_div_4_span_1_Template, 4, 4, "span", 18);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.nestedLems);
- }
- }
- function LemEntryDetailComponent_li_9_ng_template_4_evt_note_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-note", 23);
- }
- if (rf & 2) {
- var note_r13 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", note_r13);
- }
- }
- function LemEntryDetailComponent_li_9_ng_template_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemEntryDetailComponent_li_9_ng_template_4_evt_note_0_Template, 1, 1, "evt-note", 22);
- }
- if (rf & 2) {
- var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r11.data.notes);
- }
- }
- function LemEntryDetailComponent_li_9_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 21);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemEntryDetailComponent_li_9_ng_template_4_Template, 1, 1, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "lemmaNotes"));
- }
- }
- function LemEntryDetailComponent_li_10_ng_template_4_span_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 26);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var el_r16 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", el_r16);
- }
- }
- function LemEntryDetailComponent_li_10_ng_template_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemEntryDetailComponent_li_10_ng_template_4_span_0_Template, 2, 1, "span", 25);
- }
- if (rf & 2) {
- var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r14.notSignificantRdg);
- }
- }
- function LemEntryDetailComponent_li_10_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 24);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemEntryDetailComponent_li_10_ng_template_4_Template, 1, 1, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "ortographicVariants"));
- }
- }
- function LemEntryDetailComponent_ng_template_15_div_0_evt_reading_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 33);
- }
- if (rf & 2) {
- var ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r18.data.lemma);
- }
- }
- function LemEntryDetailComponent_ng_template_15_div_0_span_5_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- var _c0 = function _c0(a0) {
- return {
- rdgHasCounter: a0
- };
- };
- function LemEntryDetailComponent_ng_template_15_div_0_span_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 34);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryDetailComponent_ng_template_15_div_0_span_5_ng_container_1_Template, 1, 0, "ng-container", 35);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r19.rdgHasCounter));
- }
- }
- function LemEntryDetailComponent_ng_template_15_div_0_span_6_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 38);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var metadata_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", metadata_r23.key, ":");
- }
- }
- function LemEntryDetailComponent_ng_template_15_div_0_span_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 36);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryDetailComponent_ng_template_15_div_0_span_6_span_1_Template, 2, 1, "span", 37);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var metadata_r23 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", metadata_r23.key !== "id");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", metadata_r23.value, " ");
- }
- }
- function LemEntryDetailComponent_ng_template_15_div_0_span_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 36);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 39);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "noDataAvailable"));
- }
- }
- function LemEntryDetailComponent_ng_template_15_div_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 28);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemEntryDetailComponent_ng_template_15_div_0_evt_reading_4_Template, 1, 1, "evt-reading", 29);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, LemEntryDetailComponent_ng_template_15_div_0_span_5_Template, 2, 4, "span", 30);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, LemEntryDetailComponent_ng_template_15_div_0_span_6_Template, 3, 2, "span", 31);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](7, "keyvalue");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, LemEntryDetailComponent_ng_template_15_div_0_span_8_Template, 4, 3, "span", 32);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](9, "keyvalue");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 5, "infoForLemma"), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r17.data.nestedLemsIDs.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r17.data.nestedLemsIDs.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](7, 7, ctx_r17.rdgMetadata));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](9, 9, ctx_r17.rdgMetadata).length === 0);
- }
- }
- function LemEntryDetailComponent_ng_template_15_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemEntryDetailComponent_ng_template_15_div_0_Template, 10, 11, "div", 27);
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r4.data.lemma);
- }
- }
- function LemEntryDetailComponent_ng_template_20_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "pre");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "xmlBeautify");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r5.data.originalEncoding));
- }
- }
- function LemEntryDetailComponent_ng_template_22_ng_container_0_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 43);
- }
- if (rf & 2) {
- var c_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- var ctx_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx_r29.data["class"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", c_r28);
- }
- }
- function LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_sup_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "sup");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var c_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
- var ctx_r32 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", ctx_r32.getNestedLemPos(c_r28.id) + 1, " ");
- }
- }
- function LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_sup_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "sup");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var nesID_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- var ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r38.getNestedLemPos(nesID_r36) + 1);
- }
- }
- function LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_sup_2_Template, 2, 1, "sup", 42);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var nesID_r36 = ctx.$implicit;
- var rdgHasCounter_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](4).rdgHasCounter;
- var ctx_r35 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r35.getNestedLemLemma(nesID_r36));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdgHasCounter_r26);
- }
- }
- function LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_Template, 3, 2, "ng-container", 40);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var c_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", c_r28.nestedLemsIDs);
- }
- }
- function LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_sup_2_Template, 2, 1, "sup", 42);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_Template, 2, 1, "ng-container", 42);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var c_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- var rdgHasCounter_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().rdgHasCounter;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", c_r28.lemma);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdgHasCounter_r26);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", c_r28.nestedLemsIDs.length > 0);
- }
- }
- function LemEntryDetailComponent_ng_template_22_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryDetailComponent_ng_template_22_ng_container_0_evt_content_viewer_1_Template, 1, 4, "evt-content-viewer", 41);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_Template, 4, 3, "ng-container", 42);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var c_r28 = ctx.$implicit;
- var ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r27.isLemEntry(c_r28));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r27.isLemEntry(c_r28));
- }
- }
- function LemEntryDetailComponent_ng_template_22_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemEntryDetailComponent_ng_template_22_ng_container_0_Template, 3, 2, "ng-container", 40);
- }
- if (rf & 2) {
- var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r7.data.lemma.content);
- }
- }
- var LemEntryDetailComponent = LemEntryDetailComponent_1 = /*#__PURE__*/function () {
- function LemEntryDetailComponent(evtModelService) {
- _classCallCheck(this, LemEntryDetailComponent);
- this.evtModelService = evtModelService;
- this.nestedLems = [];
- this.rdgHasCounter = false;
- }
- _createClass(LemEntryDetailComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- if (this.data.nestedLemsIDs.length > 0) {
- this.recoverNestedLems(this.data);
- }
- }
- }, {
- key: "recoverNestedLems",
- value: function recoverNestedLems(lem) {
- var _this43 = this;
- var nesLems = lem.lemma.content.filter(function (c) {
- return c.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["LemEntry"];
- });
- nesLems.forEach(function (nesLem) {
- _this43.nestedLems = _this43.nestedLems.concat(nesLem);
- if (nesLem.nestedLemsIDs.length > 0) {
- _this43.recoverNestedLems(nesLem);
- }
- });
- }
- }, {
- key: "isLemEntry",
- value: function isLemEntry(item) {
- return item.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["LemEntry"];
- }
- }, {
- key: "getNestedLemLemma",
- value: function getNestedLemLemma(lemId) {
- return this.nestedLems.find(function (c) {
- return c.id === lemId;
- }).lemma;
- }
- }, {
- key: "getNestedLemPos",
- value: function getNestedLemPos(lemId) {
- return this.nestedLems.findIndex(function (nesLem) {
- return nesLem.id === lemId;
- });
- }
- }, {
- key: "significantRdg",
- get: function get() {
- return this.data.readings.filter(function (rdg) {
- return rdg.significant;
- });
- }
- }, {
- key: "notSignificantRdg",
- get: function get() {
- return this.data.readings.filter(function (rdg) {
- return !rdg.significant;
- });
- }
- }, {
- key: "readings",
- get: function get() {
- return [this.data.lemma].concat(_toConsumableArray(this.significantRdg), _toConsumableArray(this.notSignificantRdg));
- }
- }, {
- key: "rdgMetadata",
- get: function get() {
- var _this44 = this;
- return Object.keys(this.data.attributes).filter(function (key) {
- return key !== 'id';
- }).reduce(function (obj, key) {
- return Object.assign(Object.assign({}, obj), _defineProperty({}, key, _this44.data.attributes[key]));
- }, {});
- }
- }]);
- return LemEntryDetailComponent;
- }();
- LemEntryDetailComponent.ɵfac = function LemEntryDetailComponent_Factory(t) {
- return new (t || LemEntryDetailComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"]));
- };
- LemEntryDetailComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: LemEntryDetailComponent,
- selectors: [["evt-lem-entry-detail"]],
- inputs: {
- data: "data"
- },
- decls: 24,
- vars: 14,
- consts: [[1, "card", "lem-detail-container"], [1, "card-body", "lem-detail-content"], [1, "lem-detail-readings", 3, "data", "template", "rdgHasCounter"], ["class", "lem-detail-nested-readings-container", 4, "ngIf"], ["renderer", "LemsEntryReadings", "pinType", "LemsEntry", 3, "item"], [1, "card-footer", "lem-detail-tabs"], ["ngbNav", "", 1, "nav-pills"], ["lemEntryTab", "ngbNav"], ["ngbNavItem", "lemmaNotes", 4, "ngIf"], ["ngbNavItem", "notSignificantRdg", 4, "ngIf"], ["ngbNavItem", "info"], ["ngbNavLink", "", 1, "lem-detail-btn-new"], ["ngbNavContent", ""], ["ngbNavItem", "xml"], ["ngbNavLink", "", 1, "lem-detail-btn"], [1, "tab-content", 3, "ngbNavOutlet"], ["nestedLemsReadingsTemplate", ""], [1, "lem-detail-nested-readings-container"], ["class", "lem-detail-nested-readings", 4, "ngFor", "ngForOf"], [1, "lem-detail-nested-readings"], [3, "data", "template", "rdgHasCounter"], ["ngbNavItem", "lemmaNotes"], [3, "data", 4, "ngFor", "ngForOf"], [3, "data"], ["ngbNavItem", "notSignificantRdg"], ["class", "d-block", 4, "ngFor", "ngForOf"], [1, "d-block"], ["class", "info-lemma-wrapper-new", 4, "ngIf"], [1, "info-lemma-wrapper-new"], ["class", "info-rdg", 3, "data", 4, "ngIf"], ["class", "info-rdg", 4, "ngIf"], ["class", "d-block ml-2", 4, "ngFor", "ngForOf"], ["class", "d-block ml-2", 4, "ngIf"], [1, "info-rdg", 3, "data"], [1, "info-rdg"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "d-block", "ml-2"], ["class", "info-label", 4, "ngIf"], [1, "info-label"], [1, "font-italic"], [4, "ngFor", "ngForOf"], [3, "class", "content", 4, "ngIf"], [4, "ngIf"], [3, "content"]],
- template: function LemEntryDetailComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-lem-entry-readings", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemEntryDetailComponent_div_4_Template, 2, 1, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-pinner", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "ul", 6, 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, LemEntryDetailComponent_li_9_Template, 5, 3, "li", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](10, LemEntryDetailComponent_li_10_Template, 5, 3, "li", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "li", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](12, "a", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](14, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](15, LemEntryDetailComponent_ng_template_15_Template, 1, 1, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](16, "li", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](17, "a", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](18);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](19, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](20, LemEntryDetailComponent_ng_template_20_Template, 3, 3, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](21, "div", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](22, LemEntryDetailComponent_ng_template_22_Template, 1, 1, "ng-template", null, 16, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- var _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](8);
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx.data)("template", _r6)("rdgHasCounter", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedLemsIDs.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", ctx.data);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.notes.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.notSignificantRdg.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](14, 10, "info"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](19, 12, "xml"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavOutlet", _r1);
- }
- },
- directives: [_lem_entry_readings_lem_entry_readings_component__WEBPACK_IMPORTED_MODULE_5__["LemEntryReadingsComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_7__["PinnerComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNav"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavLink"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavContent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _note_note_component__WEBPACK_IMPORTED_MODULE_9__["NoteComponent"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_10__["ReadingComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgTemplateOutlet"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__["ContentViewerComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["KeyValuePipe"], _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_13__["XmlBeautifyPipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJsZW0tZW50cnktZGV0YWlsLmNvbXBvbmVudC5zY3NzIn0= */"],
- changeDetection: 0
- });
- LemEntryDetailComponent = LemEntryDetailComponent_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(LemEntryDetailComponent_1)], LemEntryDetailComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemEntryDetailComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-lem-entry-detail',
- templateUrl: './lem-entry-detail.component.html',
- styleUrls: ['./lem-entry-detail.component.scss'],
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- [];
- /***/
- },
- /***/
- "EXMU":
- /*!*********************************************************!*\
- !*** ./src/app/components/surplus/surplus.component.ts ***!
- \*********************************************************/
- /*! exports provided: SurplusComponent */
- /***/
- function EXMU(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SurplusComponent", function () {
- return SurplusComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../directives/highlight.directive */
- "CmGG");
- /* harmony import */
- var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../directives/editorial-convention-layout.directive */
- "FJNG");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function SurplusComponent_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var element_r1 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight);
- }
- }
- var SurplusComponent = /*#__PURE__*/function () {
- function SurplusComponent() {
- _classCallCheck(this, SurplusComponent);
- }
- _createClass(SurplusComponent, [{
- key: "editorialConventionData",
- get: function get() {
- var _a;
- return {
- name: 'surplus',
- attributes: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.attributes) || {},
- editionLevel: this.editionLevel,
- defaultsKey: 'surplus'
- };
- }
- }]);
- return SurplusComponent;
- }();
- SurplusComponent.ɵfac = function SurplusComponent_Factory(t) {
- return new (t || SurplusComponent)();
- };
- SurplusComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: SurplusComponent,
- selectors: [["evt-surplus"]],
- inputs: {
- data: "data"
- },
- decls: 2,
- vars: 6,
- consts: [[3, "evtHighlight", "evtEditorialConventionLayout"], [3, "content", "editionLevel", "itemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight"]],
- template: function SurplusComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SurplusComponent_evt_content_viewer_1_Template, 1, 3, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx.data["class"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHighlight", ctx.highlightData)("evtEditorialConventionLayout", ctx.editorialConventionData);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__["HighlightDirective"], _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__["EditorialConventionLayoutDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzdXJwbHVzLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- SurplusComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Surplus"])], SurplusComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SurplusComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-surplus',
- templateUrl: './surplus.component.html',
- styleUrls: ['./surplus.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "EY52":
- /*!*************************************************************************!*\
- !*** ./src/app/services/xml-parsers/prefatory-matter-parser.service.ts ***!
- \*************************************************************************/
- /*! exports provided: PrefatoryMatterParserService */
- /***/
- function EY52(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PrefatoryMatterParserService", function () {
- return PrefatoryMatterParserService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _edition_data_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../edition-data.service */
- "ft15");
- var PrefatoryMatterParserService = /*#__PURE__*/function () {
- function PrefatoryMatterParserService(editionDataService) {
- var _this45 = this;
- _classCallCheck(this, PrefatoryMatterParserService);
- this.editionDataService = editionDataService;
- this.title$ = this.editionDataService.parsedEditionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(function (source) {
- return _this45.parseEditionTitle(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["shareReplay"])(1));
- this.projectInfo$ = this.editionDataService.parsedEditionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(function (source) {
- return _this45.parseProjectInfo(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["shareReplay"])(1));
- }
- _createClass(PrefatoryMatterParserService, [{
- key: "parseEditionTitle",
- value: function parseEditionTitle(source) {
- var _a;
- var titleElems = source.querySelectorAll('titleStmt title');
- return (_a = titleElems[0]) === null || _a === void 0 ? void 0 : _a.textContent;
- }
- }, {
- key: "parseProjectInfo",
- value: function parseProjectInfo(source) {
- return {
- fileDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["queryAndParseElement"])(source, 'fileDesc', true),
- encodingDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["queryAndParseElement"])(source, 'encodingDesc', true),
- profileDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["queryAndParseElement"])(source, 'profileDesc', true),
- revisionDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["queryAndParseElement"])(source, 'revisionDesc', true)
- };
- }
- }]);
- return PrefatoryMatterParserService;
- }();
- PrefatoryMatterParserService.ɵfac = function PrefatoryMatterParserService_Factory(t) {
- return new (t || PrefatoryMatterParserService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_edition_data_service__WEBPACK_IMPORTED_MODULE_3__["EditionDataService"]));
- };
- PrefatoryMatterParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: PrefatoryMatterParserService,
- factory: PrefatoryMatterParserService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PrefatoryMatterParserService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: _edition_data_service__WEBPACK_IMPORTED_MODULE_3__["EditionDataService"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "Eeve":
- /*!*********************************************!*\
- !*** ./src/app/components/g/g.component.ts ***!
- \*********************************************/
- /*! exports provided: GComponent */
- /***/
- function Eeve(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GComponent", function () {
- return GComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function GComponent_ng_container_0_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var element_r3 = ctx.$implicit;
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r3)("editionLevel", ctx_r2.editionLevel)("itemsToHighlight", ctx_r2.itemsToHighlight)("itemsLemsToHighlight", ctx_r2.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r2.itemsIperlemsToHighlight)("textFlow", ctx_r2.textFlow);
- }
- }
- function GComponent_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, GComponent_ng_container_0_evt_content_viewer_1_Template, 1, 6, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.content);
- }
- }
- function GComponent_ng_container_1_ng_container_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var element_r7 = ctx.$implicit;
- var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r7)("editionLevel", ctx_r6.editionLevel)("itemsToHighlight", ctx_r6.itemsToHighlight)("itemsLemsToHighlight", ctx_r6.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r6.itemsIperlemsToHighlight)("textFlow", ctx_r6.textFlow);
- }
- }
- function GComponent_ng_container_1_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, GComponent_ng_container_1_ng_container_2_evt_content_viewer_1_Template, 1, 6, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r4.diplomaticMapping$));
- }
- }
- function GComponent_ng_container_1_ng_container_3_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var element_r9 = ctx.$implicit;
- var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r9)("editionLevel", ctx_r8.editionLevel)("itemsToHighlight", ctx_r8.itemsToHighlight)("itemsLemsToHighlight", ctx_r8.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r8.itemsIperlemsToHighlight)("textFlow", ctx_r8.textFlow);
- }
- }
- function GComponent_ng_container_1_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, GComponent_ng_container_1_ng_container_3_evt_content_viewer_1_Template, 1, 6, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r5.normalizedMapping$));
- }
- }
- function GComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, GComponent_ng_container_1_ng_container_2_Template, 3, 3, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, GComponent_ng_container_1_ng_container_3_Template, 3, 3, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx_r1.editionLevel);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", "diplomatic");
- }
- }
- var GComponent = function GComponent(evtModelService) {
- var _this46 = this;
- _classCallCheck(this, GComponent);
- this.evtModelService = evtModelService;
- this.specialChars$ = this.evtModelService.specialChars$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (specialChars) {
- return specialChars.find(function (_char) {
- return _char.id === _this46.data.charId;
- });
- }));
- this.diplomaticMapping$ = this.specialChars$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (specialChar) {
- var _a;
- var mapping = specialChar === null || specialChar === void 0 ? void 0 : specialChar.mappings.find(function (m) {
- return m.type === 'diplomatic';
- });
- return (_a = mapping === null || mapping === void 0 ? void 0 : mapping.content) !== null && _a !== void 0 ? _a : [];
- }));
- this.normalizedMapping$ = this.specialChars$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (specialChar) {
- var _a;
- var mapping = specialChar === null || specialChar === void 0 ? void 0 : specialChar.mappings.find(function (m) {
- return m.type === 'normalized';
- });
- return (_a = mapping === null || mapping === void 0 ? void 0 : mapping.content) !== null && _a !== void 0 ? _a : [];
- }));
- };
- GComponent.ɵfac = function GComponent_Factory(t) {
- return new (t || GComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]));
- };
- GComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: GComponent,
- selectors: [["evt-g"]],
- inputs: {
- data: "data"
- },
- decls: 2,
- vars: 2,
- consts: [[4, "ngIf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"]],
- template: function GComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, GComponent_ng_container_0_Template, 2, 1, "ng-container", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, GComponent_ng_container_1_Template, 4, 2, "ng-container", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.content.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.content.length === 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgSwitchDefault"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJnLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- GComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["G"])], GComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](GComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-g',
- templateUrl: './g.component.html',
- styleUrls: ['./g.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "EpuN":
- /*!***************************************************!*\
- !*** ./src/app/components/note/note.component.ts ***!
- \***************************************************/
- /*! exports provided: NoteComponent */
- /***/
- function EpuN(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NoteComponent", function () {
- return NoteComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../../pinboard/pinner/pinner.component */
- "j7gH");
- var _c0 = ["popover"];
- function NoteComponent_ng_container_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var element_r5 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r5);
- }
- }
- function NoteComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NoteComponent_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.content);
- }
- }
- var _c1 = function _c1() {
- return ["auto"];
- };
- function NoteComponent_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- var _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "button", 7, 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NoteComponent_ng_container_3_Template_button_click_1_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r8);
- var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- return ctx_r7.onTriggerClicked($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "span", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "span", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate1"]("popoverClass", "evt-note-popover ", ctx_r1.data == null ? null : ctx_r1.data.noteType, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbPopover", _r2)("autoClose", "outside")("placement", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](6, _c1));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-note-type", ctx_r1.data.noteType);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", ctx_r1.data.exponent, " ");
- }
- }
- function NoteComponent_ng_template_4_evt_content_viewer_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var element_r10 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r10);
- }
- }
- function NoteComponent_ng_template_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-pinner", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NoteComponent_ng_template_4_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", ctx_r3.data)("additionalStyle", ctx_r3.pinnerStyle);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.data.content);
- }
- }
- var NoteComponent = /*#__PURE__*/function () {
- function NoteComponent() {
- _classCallCheck(this, NoteComponent);
- this.pinnerStyle = {
- 'margin-right': '-0.65rem',
- 'margin-top': '-0.35rem',
- "float": 'right'
- };
- }
- _createClass(NoteComponent, [{
- key: "onTriggerClicked",
- value: function onTriggerClicked(event) {
- event.stopPropagation();
- }
- }]);
- return NoteComponent;
- }();
- NoteComponent.ɵfac = function NoteComponent_Factory(t) {
- return new (t || NoteComponent)();
- };
- NoteComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: NoteComponent,
- selectors: [["evt-note"]],
- viewQuery: function NoteComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵstaticViewQuery"](_c0, true);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.popover = _t.first);
- }
- },
- inputs: {
- data: "data"
- },
- decls: 6,
- vars: 4,
- consts: [[1, "evt-note", 3, "evtHtmlAttributes"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["popContent", ""], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], ["type", "button", "container", "body", 1, "btn", "btn-link", "popover-toggle", "evt-trigger", 3, "ngbPopover", "autoClose", "popoverClass", "placement", "click"], ["popover", "ngbPopover"], [1, "note-icon"], [1, "arrow"], ["pinType", "Notes", 3, "item", "additionalStyle"], [1, "content"]],
- template: function NoteComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NoteComponent_ng_container_2_Template, 2, 1, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NoteComponent_ng_container_3_Template, 6, 7, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NoteComponent_ng_template_4_Template, 3, 3, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-type", ctx.data == null ? null : ctx.data.noteType);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.noteLayout);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", "plain-text");
- }
- },
- directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__["NgbPopover"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_8__["PinnerComponent"]],
- styles: [".evt-trigger[_ngcontent-%COMP%] {\n text-decoration: none !important;\n color: #000;\n font-size: 0.8rem;\n opacity: 0.8;\n padding: 0;\n vertical-align: super;\n position: relative;\n}\n.evt-trigger[data-note-type=comment][_ngcontent-%COMP%] {\n color: #570e69;\n}\n.evt-trigger[data-note-type=critical][_ngcontent-%COMP%] {\n color: #18469b;\n}\n.evt-trigger[_ngcontent-%COMP%]:hover {\n opacity: 1;\n}\n.evt-trigger[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] {\n min-width: 13px;\n height: 13px;\n display: inline-block;\n border-radius: 4px;\n color: #fff;\n padding: 0.25em 0.6em;\n font-size: 75%;\n font-weight: 700;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n position: relative;\n top: -1px;\n background: black;\n}\n.evt-trigger[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%] {\n width: 0;\n height: 0;\n border: 0 solid transparent;\n border-left-width: 0px;\n border-right-width: 6px;\n border-top: 4px solid black;\n position: absolute;\n top: 12px;\n left: 3px;\n}\n.evt-trigger[data-note-type=comment][_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] {\n background: #570e69;\n border-radius: 6px;\n}\n.evt-trigger[data-note-type=comment][_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%] {\n border-top-color: #570e69;\n}\n.evt-trigger[data-note-type=critical][_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] {\n background: #18469b;\n}\n.evt-trigger[data-note-type=critical][_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%] {\n border-top-color: #18469b;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25vdGUuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0E7RUFDSSxnQ0FBQTtFQUNBLFdBQUE7RUFDQSxpQkFBQTtFQUNBLFlBQUE7RUFDQSxVQUFBO0VBQ0EscUJBQUE7RUFDQSxrQkFBQTtBQUZKO0FBSUk7RUFDSSxjQUFBO0FBRlI7QUFLSTtFQUNJLGNBQUE7QUFIUjtBQU1JO0VBQ0ksVUFBQTtBQUpSO0FBT0k7RUFDSSxlQUFBO0VBQ0EsWUFBQTtFQUNBLHFCQUFBO0VBQ0Esa0JBQUE7RUFDQSxXQUFBO0VBQ0EscUJBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxjQUFBO0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AgIH1cblxuICAgIC5ub3RlLWljb24ge1xuICAgICAgICBtaW4td2lkdGg6IDEzcHg7XG4gICAgICAgIGhlaWdodDogMTNweDtcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgICAgICBib3JkZXItcmFkaXVzOiA0cHg7XG4gICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICBwYWRkaW5nOiAwLjI1ZW0gMC42ZW07XG4gICAgICAgIGZvbnQtc2l6ZTogNzUlO1xuICAgICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgICBsaW5lLWhlaWdodDogMTtcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogYmFzZWxpbmU7XG4gICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgdG9wOiAtMXB4O1xuICAgICAgICBiYWNrZ3JvdW5kOiBibGFjaztcblxuICAgICAgICAuYXJyb3cge1xuICAgICAgICAgICAgd2lkdGg6IDA7XG4gICAgICAgICAgICBoZWlnaHQ6IDA7XG4gICAgICAgICAgICBib3JkZXI6IDAgc29saWQgdHJhbnNwYXJlbnQ7XG4gICAgICAgICAgICBib3JkZXItbGVmdC13aWR0aDogMHB4O1xuICAgICAgICAgICAgYm9yZGVyLXJpZ2h0LXdpZHRoOiA2cHg7XG4gICAgICAgICAgICBib3JkZXItdG9wOiA0cHggc29saWQgYmxhY2s7XG4gICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICB0b3A6IDEycHg7XG4gICAgICAgICAgICBsZWZ0OiAzcHg7XG4gICAgICAgIH1cbiAgICB9XG5cblxuICAgICZbZGF0YS1ub3RlLXR5cGU9J2NvbW1lbnQnXSB7XG4gICAgICAgIC5ub3RlLWljb24ge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogZ2V0LWNvbG9yKGNvbW1lbnROb3Rlcyk7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiA2cHg7XG5cbiAgICAgICAgICAgIC5hcnJvdyB7XG4gICAgICAgICAgICAgICAgYm9yZGVyLXRvcC1jb2xvcjogZ2V0LWNvbG9yKGNvbW1lbnROb3Rlcyk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmW2RhdGEtbm90ZS10eXBlPSdjcml0aWNhbCddIHtcbiAgICAgICAgLm5vdGUtaWNvbiB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiBnZXQtY29sb3IoY3JpdGljYWxOb3Rlcyk7XG5cbiAgICAgICAgICAgIC5hcnJvdyB7XG4gICAgICAgICAgICAgICAgYm9yZGVyLXRvcC1jb2xvcjogZ2V0LWNvbG9yKGNyaXRpY2FsTm90ZXMpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxufSJdfQ== */"]
- });
- NoteComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Note"])], NoteComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NoteComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-note',
- templateUrl: './note.component.html',
- styleUrls: ['./note.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- popover: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"],
- args: ['popover', {
- "static": true
- }]
- }]
- });
- })();
- /***/
- },
- /***/
- "FJNG":
- /*!*********************************************************************!*\
- !*** ./src/app/directives/editorial-convention-layout.directive.ts ***!
- \*********************************************************************/
- /*! exports provided: EditorialConventionLayoutDirective */
- /***/
- function FJNG(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EditorialConventionLayoutDirective", function () {
- return EditorialConventionLayoutDirective;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _services_editorial_conventions_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../services/editorial-conventions.service */
- "IP0A");
- var EditorialConventionLayoutDirective = /*#__PURE__*/function () {
- function EditorialConventionLayoutDirective(editorialConventionsService, el, renderer) {
- _classCallCheck(this, EditorialConventionLayoutDirective);
- this.editorialConventionsService = editorialConventionsService;
- this.el = el;
- this.renderer = renderer;
- }
- _createClass(EditorialConventionLayoutDirective, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this._setLayout();
- }
- }, {
- key: "ngOnChanges",
- value: function ngOnChanges(changes) {
- if (!changes.data.isFirstChange() && changes.data.previousValue !== changes.data.currentValue) {
- this._setLayout();
- }
- }
- }, {
- key: "_setLayout",
- value: function _setLayout() {
- var _this47 = this;
- var layouts = this.editorialConventionsService.getLayouts(this.data.name, this.data.attributes, this.data.defaultsKey);
- this._cleanPreviousLayout();
- if (layouts && this.data.editionLevel) {
- var editionLayout = layouts[this.data.editionLevel];
- if (editionLayout) {
- if (editionLayout.pre) {
- var preEl = document.createElement('span');
- preEl.classList.add('pre');
- preEl.innerHTML = editionLayout.pre;
- this.el.nativeElement.prepend(preEl);
- }
- if (editionLayout.post) {
- var postEl = document.createElement('span');
- postEl.classList.add('post');
- postEl.innerHTML = editionLayout.post;
- this.renderer.appendChild(this.el.nativeElement, postEl);
- }
- if (editionLayout.style) {
- Object.keys(editionLayout.style).forEach(function (key) {
- return _this47.renderer.setStyle(_this47.el.nativeElement, key, editionLayout.style[key]);
- });
- this._oldStyle = editionLayout.style;
- }
- }
- }
- }
- }, {
- key: "_cleanPreviousLayout",
- value: function _cleanPreviousLayout() {
- var _this48 = this;
- var preEl = this.el.nativeElement.querySelector('.pre');
- if (preEl) {
- preEl.remove();
- }
- var postEl = this.el.nativeElement.querySelector('.post');
- if (postEl) {
- postEl.remove();
- }
- if (this._oldStyle) {
- Object.keys(this._oldStyle).forEach(function (key) {
- return _this48.renderer.setStyle(_this48.el.nativeElement, key, '');
- });
- this._oldStyle = undefined;
- }
- }
- }]);
- return EditorialConventionLayoutDirective;
- }();
- EditorialConventionLayoutDirective.ɵfac = function EditorialConventionLayoutDirective_Factory(t) {
- return new (t || EditorialConventionLayoutDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_editorial_conventions_service__WEBPACK_IMPORTED_MODULE_1__["EditorialConventionsService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]));
- };
- EditorialConventionLayoutDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: EditorialConventionLayoutDirective,
- selectors: [["", "evtEditorialConventionLayout", ""]],
- inputs: {
- data: ["evtEditorialConventionLayout", "data"],
- defaultLayouts: "defaultLayouts"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EditorialConventionLayoutDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
- args: [{
- selector: '[evtEditorialConventionLayout]'
- }]
- }], function () {
- return [{
- type: _services_editorial_conventions_service__WEBPACK_IMPORTED_MODULE_1__["EditorialConventionsService"]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
- args: ['evtEditorialConventionLayout']
- }],
- defaultLayouts: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "FSWR":
- /*!***************************************************************!*\
- !*** ./src/app/components/identifier/identifier.component.ts ***!
- \***************************************************************/
- /*! exports provided: IdentifierComponent */
- /***/
- function FSWR(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "IdentifierComponent", function () {
- return IdentifierComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../ui-components/ms-desc-section/ms-desc-section.component */
- "WyXU");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function IdentifierComponent_ng_container_1_span_5_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
- }
- if (rf & 2) {
- var settlements_r9 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", settlements_r9);
- }
- }
- function IdentifierComponent_ng_container_1_span_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_span_5_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var settlements_r7 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", settlements_r7);
- }
- }
- function IdentifierComponent_ng_container_1_ng_container_6_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- }
- function IdentifierComponent_ng_container_1_ng_container_6_span_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
- }
- if (rf & 2) {
- var region_r14 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", region_r14);
- }
- }
- function IdentifierComponent_ng_container_1_ng_container_6_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_ng_container_6_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var regions_r12 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", regions_r12);
- }
- }
- function IdentifierComponent_ng_container_1_ng_container_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_ng_container_6_ng_container_1_Template, 2, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, IdentifierComponent_ng_container_1_ng_container_6_span_2_Template, 2, 1, "span", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r5.data.settlements.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.regions);
- }
- }
- function IdentifierComponent_ng_container_1_ng_container_7_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- }
- function IdentifierComponent_ng_container_1_ng_container_7_span_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
- }
- if (rf & 2) {
- var country_r19 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", country_r19);
- }
- }
- function IdentifierComponent_ng_container_1_ng_container_7_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_ng_container_7_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var countries_r17 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", countries_r17);
- }
- }
- function IdentifierComponent_ng_container_1_ng_container_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_ng_container_7_ng_container_1_Template, 2, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, IdentifierComponent_ng_container_1_ng_container_7_span_2_Template, 2, 1, "span", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r6.data.settlements.length > 0 || ctx_r6.data.regions.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r6.data.countries);
- }
- }
- function IdentifierComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, IdentifierComponent_ng_container_1_span_5_Template, 2, 1, "span", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, IdentifierComponent_ng_container_1_ng_container_6_Template, 3, 2, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, IdentifierComponent_ng_container_1_ng_container_7_Template, 3, 2, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "place")("additionalClass", "settlement")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.settlements);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.regions.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.countries.length > 0);
- }
- }
- function IdentifierComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "repository")("additionalClass", "repository")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r1.data.repository);
- }
- }
- function IdentifierComponent_ng_container_3_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
- }
- if (rf & 2) {
- var c_r21 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", c_r21);
- }
- }
- function IdentifierComponent_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, IdentifierComponent_ng_container_3_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "collection")("additionalClass", "collection")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.collection);
- }
- }
- function IdentifierComponent_ng_container_4_div_4_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
- }
- if (rf & 2) {
- var idno_r25 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", idno_r25);
- }
- }
- function IdentifierComponent_ng_container_4_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_4_div_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var idnos_r23 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", idnos_r23);
- }
- }
- function IdentifierComponent_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, IdentifierComponent_ng_container_4_div_4_Template, 2, 1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "idno")("additionalClass", "idno")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.data.idnos);
- }
- }
- var IdentifierComponent = function IdentifierComponent() {
- _classCallCheck(this, IdentifierComponent);
- };
- IdentifierComponent.ɵfac = function IdentifierComponent_Factory(t) {
- return new (t || IdentifierComponent)();
- };
- IdentifierComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: IdentifierComponent,
- selectors: [["evt-identifier"]],
- inputs: {
- data: "data",
- listClass: "listClass"
- },
- decls: 5,
- vars: 6,
- consts: [[1, "flex-container"], [4, "ngIf"], [1, "flex-item-label"], [3, "label", "additionalClass", "inlineLabel"], [1, "flex-item-information"], [4, "ngFor", "ngForOf"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], ["class", "projectInfo-block", 3, "content", 4, "ngFor", "ngForOf"], [1, "projectInfo-block", 3, "content"]],
- template: function IdentifierComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, IdentifierComponent_ng_container_1_Template, 8, 6, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, IdentifierComponent_ng_container_2_Template, 5, 4, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, IdentifierComponent_ng_container_3_Template, 5, 4, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, IdentifierComponent_ng_container_4_Template, 5, 4, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("has-list-class", ctx.listClass);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.settlements.length) > 0 || (ctx.data == null ? null : ctx.data.regions.length) > 0 || (ctx.data == null ? null : ctx.data.countries.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.repository);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.collection.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.idnos.length) > 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_5__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- styles: [".has-list-class[_ngcontent-%COMP%] {\n margin-left: 2.5rem;\n}\n\n.projectInfo-block[_ngcontent-%COMP%] {\n display: block;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 1326px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2lkZW50aWZpZXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksY0FBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0YiLCJmaWxlIjoiaWRlbnRpZmllci5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5oYXMtbGlzdC1jbGFzcyB7XG4gICAgbWFyZ2luLWxlZnQ6IDIuNXJlbTtcbn1cblxuLnByb2plY3RJbmZvLWJsb2NrIHtcbiAgICBkaXNwbGF5OiBibG9jaztcbn1cblxuLmZsZXgtY29udGFpbmVyIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XG4gICAgZmxleC13cmFwOiB3cmFwO1xufVxuXG4uZmxleC1pdGVtLWxhYmVsIHtcbiAgICBmbGV4LWJhc2lzOiAxMDAlO1xufVxuXG4uZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICBmbGV4LWJhc2lzOiAxMDAlO1xuICAgIG1hcmdpbi1ib3R0b206IDAuN3JlbTtcbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDEzMjZweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgfVxuICAgICAgXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICB9XG59Il19 */"]
- });
- IdentifierComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Identifier"])], IdentifierComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](IdentifierComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-identifier',
- templateUrl: './identifier.component.html',
- styleUrls: ['./identifier.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- listClass: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "FmO3":
- /*!*******************************************************!*\
- !*** ./src/app/components/choice/choice.component.ts ***!
- \*******************************************************/
- /*! exports provided: ChoiceComponent */
- /***/
- function FmO3(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ChoiceComponent", function () {
- return ChoiceComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function ChoiceComponent_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
- }
- if (rf & 2) {
- var element_r3 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r3)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight)("textFlow", ctx_r0.textFlow);
- }
- }
- function ChoiceComponent_ng_template_2_evt_content_viewer_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
- }
- if (rf & 2) {
- var element_r5 = ctx.$implicit;
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r5)("editionLevel", ctx_r4.alternativeEditionLevel)("itemsToHighlight", ctx_r4.itemsToHighlight)("itemsLemsToHighlight", ctx_r4.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r4.itemsIperlemsToHighlight)("textFlow", ctx_r4.textFlow);
- }
- }
- function ChoiceComponent_ng_template_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ChoiceComponent_ng_template_2_evt_content_viewer_0_Template, 1, 6, "evt-content-viewer", 1);
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.alternativeContent);
- }
- }
- var _c0 = function _c0() {
- return ["bottom"];
- };
- var ChoiceComponent = /*#__PURE__*/function () {
- function ChoiceComponent() {
- _classCallCheck(this, ChoiceComponent);
- }
- _createClass(ChoiceComponent, [{
- key: "content",
- get: function get() {
- if (this.editionLevel === 'diplomatic') {
- return this.data.originalContent;
- }
- return this.data.normalizedContent;
- }
- }, {
- key: "alternativeContent",
- get: function get() {
- if (this.editionLevel === 'diplomatic') {
- return this.data.normalizedContent;
- }
- return this.data.originalContent;
- }
- }, {
- key: "alternativeEditionLevel",
- get: function get() {
- return this.editionLevel === 'diplomatic' ? 'interpretative' : 'diplomatic';
- }
- }]);
- return ChoiceComponent;
- }();
- ChoiceComponent.ɵfac = function ChoiceComponent_Factory(t) {
- return new (t || ChoiceComponent)();
- };
- ChoiceComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: ChoiceComponent,
- selectors: [["evt-choice"]],
- inputs: {
- data: "data"
- },
- decls: 4,
- vars: 8,
- consts: [["container", "body", "triggers", "mouseenter:mouseleave", 1, "choice", 3, "evtHtmlAttributes", "ngbPopover", "autoClose", "popoverClass", "placement"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow", 4, "ngFor", "ngForOf"], ["popContent", ""], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow"]],
- template: function ChoiceComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ChoiceComponent_evt_content_viewer_1_Template, 1, 6, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ChoiceComponent_ng_template_2_Template, 1, 1, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- var _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpropertyInterpolate1"]("popoverClass", "choice-popover ", ctx.data.editorialInterventionType, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes)("ngbPopover", _r1)("autoClose", "outside")("placement", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](7, _c0));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-intervention-type", ctx.data.editorialInterventionType);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.content);
- }
- },
- directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__["HtmlAttributesDirective"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbPopover"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"]],
- styles: [".choice[data-intervention-type=normalization][_ngcontent-%COMP%] {\n color: #69513a;\n}\n.choice[data-intervention-type=emendation][_ngcontent-%COMP%] {\n color: #934d4d;\n}\n.choice[_ngcontent-%COMP%]:hover {\n text-decoration: underline;\n}\n .choice-popover {\n background: #fffbf3;\n box-shadow: 0 0 3px 0px rgba(0, 0, 0, 0.25);\n border: 1px solid rgba(0, 0, 0, 0.35);\n}\n .choice-popover .popover-body {\n padding: 0.1rem 0.5rem;\n}\n .choice-popover .arrow::before {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n .choice-popover .arrow::after {\n border-bottom-color: #fffbf3;\n}\n .choice-popover.normalization {\n background: #fffbf3;\n}\n .choice-popover.normalization .arrow::after {\n border-bottom-color: #fffbf3;\n}\n .choice-popover.emendation {\n background: #f99069;\n}\n .choice-popover.emendation .arrow::after {\n border-bottom-color: #f99069;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2Nob2ljZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHSTtFQUNJLGNBQUE7QUFGUjtBQUlJO0VBQ0ksY0FBQTtBQUZSO0FBSUk7RUFDSSwwQkFBQTtBQUZSO0FBTUE7RUFDSSxtQkFBQTtFQUNBLDJDQUFBO0VBQ0EscUNBQUE7QUFISjtBQUtJO0VBQ0ksc0JBQUE7QUFIUjtBQU9RO0VBQ0ksdUNBQUE7QUFMWjtBQVFRO0VBQ0ksNEJBQUE7QUFOWjtBQVVJO0VBQ0ksbUJBQUE7QUFSUjtBQVVRO0VBQ0ksNEJBQUE7QUFSWjtBQVlJO0VBQ0ksbUJBQUE7QUFWUjtBQVlRO0VBQ0ksNEJBQUE7QUFWWiIsImZpbGUiOiJjaG9pY2UuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVud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tLWNvbG9yOiBnZXQtY29sb3Iobm9ybWFsaXphdGlvbkJhY2tncm91bmQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi5lbWVuZGF0aW9uIHtcbiAgICAgICAgYmFja2dyb3VuZDogZ2V0LWNvbG9yKGVtZW5kYXRpb25CYWNrZ3JvdW5kKTtcblxuICAgICAgICAuYXJyb3c6OmFmdGVyIHtcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b20tY29sb3I6IGdldC1jb2xvcihlbWVuZGF0aW9uQmFja2dyb3VuZCk7XG4gICAgICAgIH1cbiAgICB9XG59Il19 */"]
- });
- ChoiceComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Choice"])], ChoiceComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ChoiceComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-choice',
- templateUrl: './choice.component.html',
- styleUrls: ['./choice.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "G9+u":
- /*!************************************!*\
- !*** ./src/app/utils/dom-utils.ts ***!
- \************************************/
- /*! exports provided: isNestedInElem, isDirectlyNestedInElem, isNodeNestedInElem, xpath, balanceXHTML, getElementsBetweenTreeNode, getOuterHTML, getCommonAncestor, createNsResolver */
- /***/
- function G9U(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "isNestedInElem", function () {
- return isNestedInElem;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "isDirectlyNestedInElem", function () {
- return isDirectlyNestedInElem;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "isNodeNestedInElem", function () {
- return isNodeNestedInElem;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "xpath", function () {
- return xpath;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "balanceXHTML", function () {
- return balanceXHTML;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getElementsBetweenTreeNode", function () {
- return getElementsBetweenTreeNode;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getOuterHTML", function () {
- return getOuterHTML;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getCommonAncestor", function () {
- return getCommonAncestor;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "createNsResolver", function () {
- return createNsResolver;
- });
- /**
- * Counter that takes into account the number of parsed elements with [xpath]{@link DOMUtilsService.html#xpath},
- * in order to allow the generation of unique ids when node path is not available.
- */
- var totIdsGenerated = 0;
- /**
- * Function to check if an element is nested into another particular element.
- * @param element The element to be checked
- * @param parentTagName TagName of the element that does not be a parent of the given element
- * @param attributes attributes
- *
- * @returns Whether the given element is nested in a node with given TagName or not
- */
- function isNestedInElem(element, parentTagName, attributes) {
- return !!element && isNodeNestedInElem(element, parentTagName, false, attributes);
- }
- /**
- * Function to check if an element is directly nested into another particular element.
- * @param element The element to be checked
- * @param parentTagName TagName of the element that does not be a parent of the given element
- * @param attributes attributes
- *
- * @returns Whether the given element is nested in a node with given TagName or not
- */
- function isDirectlyNestedInElem(element, parentTagName, attributes) {
- return isNodeNestedInElem(element, parentTagName, true, attributes);
- }
- /**
- * Function to check if an element is nested into another particular element.
- * @param element The element to be checked
- * @param parentTagName TagName of the element that does not be a parent of the given element
- * @param directCheck Whether to check only parentNode or analyize all ancestors
- * @param attributes attributes
- *
- * @returns Whether the given element is nested in a node with given TagName or not
- */
- function isNodeNestedInElem(element, parentTagName, directCheck, attributes) {
- if (element.parentNode !== null) {
- if (element.parentNode.tagName === 'text') {
- return false;
- }
- if (parentTagName === '' || element.parentNode.tagName === parentTagName || element.parentNode.nodeName === parentTagName) {
- if (!attributes || attributes.length === 0) {
- return true;
- }
- if (!element.parentNode.attributes || element.parentNode.attributes.length === 0) {
- return false;
- }
- var matchingAttr = 0;
- attributes.forEach(function (attr) {
- if (element.parentNode.attributes[attr.key] && element.parentNode.attributes[attr.key].value === attr.value) {
- matchingAttr++;
- }
- });
- if (matchingAttr === attributes.length) {
- return true;
- }
- return directCheck ? false : isNestedInElem(element.parentNode, parentTagName, attributes);
- }
- return directCheck ? false : isNestedInElem(element.parentNode, parentTagName, attributes);
- }
- return false;
- }
- /**
- * This method will generate a string representing the xpath of the given element.
- * This string can be use as a unique identifier, since every element as a different xpath.
- * @param el XML element to analyze
- *
- * @returns calculated xpath of the given element
- */
- // tslint:disable-next-line: no-any
- function xpath(el) {
- try {
- if (typeof el === 'string') {
- // document.evaluate(xpathExpression, contextNode, namespaceResolver, resultType, result );
- return document.evaluate(el, document, undefined, 0, undefined).stringValue;
- }
- if (!el || el.nodeType !== 1) {
- return '';
- }
- var sames = [];
- if (el.parentNode) {
- sames = [].filter.call(el.parentNode.children, function (x) {
- return x.tagName === el.tagName;
- });
- }
- var countIndex = sames.length > 1 ? [].indexOf.call(sames, el) + 1 : 1;
- countIndex = "[".concat(countIndex, "]");
- var tagName = el.tagName !== 'tei' ? '-' + el.tagName : '';
- return "".concat(xpath(el.parentNode)).concat(tagName).concat(countIndex);
- } catch (e) {
- totIdsGenerated++; // TODO: remove side effects
- return "-id".concat(totIdsGenerated);
- }
- }
- /**
- * This method will an excerpted or truncated XHTML string and returns a well-balanced XHTML string
- * - It checks for broken tags, e.g. <code><stro</code> [a <code><</code> after the last <code>></code> indicates a broken tag]
- * - It eventually truncates broken tags
- * - It checks for broken elements, e.g. <code><strong>Hello, w</code>
- * - It gets an array of all tags (start, end, and self-closing)
- * - It prepares an empty array where to store broken tags (<code>stack</code>)
- * - It loops over all tags
- * - when it founds an end tag, it pops it off of the stack
- * - when it founds a start tag, it push it onto the stack
- * - then it founds a self-closing tag, it do nothing
- * - At the end of the loop, <code>stack</code> should contain only the start tags of the broken elements, most deeply-nested at the top
- * - It loops over stack array
- * - pops the unmatched tag off the stack
- * - gets just the tag name
- * - and appends the end tag
- *
- * @param XHTMLstring string to balanced
- *
- * @returns well-balanced XHTML string
- */
- function balanceXHTML(XHTMLstring) {
- // Check for broken tags, e.g. <stro
- // Check for a < after the last >, indicating a broken tag
- if (XHTMLstring) {
- if (XHTMLstring.lastIndexOf('<') > XHTMLstring.lastIndexOf('>')) {
- // Truncate broken tag
- XHTMLstring = XHTMLstring.substring(0, XHTMLstring.lastIndexOf('<'));
- } // Check for broken elements, e.g. <strong>Hello, w
- // Get an array of all tags (start, end, and self-closing)
- var tags = XHTMLstring.match(/<(?!\!)[^>]+>/g);
- var stack = [];
- var tagToOpen = [];
- for (var tag in tags) {
- if (tag.search('/') === 1) {
- // </tagName>
- // end tag -- pop off of the stack
- // If the last element of the stack is the corresponding of opening tag
- var tagName = tag.replace(/[<\/>]/ig, '');
- var openTag = stack[stack.length - 1];
- if (openTag && (openTag.search('<' + tagName + ' ') >= 0 || openTag.search('<' + tagName + '>') >= 0)) {
- stack.pop();
- } else {
- // Tag non aperto
- tagToOpen.push(tagName);
- }
- } else if (tag.search('/>') <= 0) {
- // <tagName>
- // start tag -- push onto the stack
- stack.push(tag);
- } else {// <tagName />
- // self-closing tag -- do nothing
- }
- } // stack should now contain only the start tags of the broken elements, most deeply-nested at the top
- while (stack.length > 0) {
- // pop the unmatched tag off the stack
- var endTag = stack.pop(); // get just the tag name
- endTag = endTag.substring(1, endTag.search(/[ >]/)); // append the end tag
- XHTMLstring += '</' + endTag + '>';
- }
- while (tagToOpen.length > 0) {
- var startTag = tagToOpen.shift();
- XHTMLstring = '<' + startTag + '>' + XHTMLstring;
- }
- } // Return the well-balanced XHTML string
- return XHTMLstring ? XHTMLstring : '';
- }
- /**
- * Get all DOM elements contained between the node elements
- *
- * @param start starting node
- * @param end ending node
- *
- * @returns list of nodes contained between start node and end node
- */
- // tslint:disable-next-line: no-any
- function getElementsBetweenTreeNode(start, end) {
- var range = document.createRange();
- range.setStart(start, 0);
- range.setEnd(end, end.length || end.childNodes.length);
- var commonAncestorChild = Array.from(range.commonAncestorContainer.children);
- var startIdx = commonAncestorChild.indexOf(start);
- var endIdx = commonAncestorChild.indexOf(end);
- var rangeNodes = commonAncestorChild.slice(startIdx, endIdx).filter(function (c) {
- return c !== start;
- });
- rangeNodes.forEach(function (c) {
- return c.setAttribute('xpath', xpath(c).replace(/-/g, '/'));
- });
- var fragment = range.cloneContents();
- var nodes = Array.from(fragment.childNodes);
- return nodes;
- }
- function getOuterHTML(element) {
- var outerHTML = element.outerHTML;
- outerHTML = outerHTML ? outerHTML.replace(/ xmlns="http:\/\/www\.tei-c\.org\/ns\/1\.0"/g, '') : outerHTML;
- return outerHTML;
- }
- function getCommonAncestor(node1, node2) {
- var method = 'contains' in node1 ? 'contains' : 'compareDocumentPosition';
- var test = method === 'contains' ? 1 : 0x10;
- node1 = node1.parentNode;
- while (node1) {
- // tslint:disable-next-line:no-bitwise
- if ((node1[method](node2) & test) === test) {
- return node1;
- }
- node1 = node1.parentNode;
- }
- return undefined;
- }
- function createNsResolver(doc) {
- return function (prefix) {
- return prefix === 'ns' ? doc.documentElement.namespaceURI : undefined;
- };
- }
- /***/
- },
- /***/
- "GTTo":
- /*!***************************************************************!*\
- !*** ./src/app/components/title-stmt/title-stmt.component.ts ***!
- \***************************************************************/
- /*! exports provided: TitleStmtComponent */
- /***/
- function GTTo(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TitleStmtComponent", function () {
- return TitleStmtComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../ui-components/header-section/header-section.component */
- "iRdJ");
- function TitleStmtComponent_div_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var el_r10 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", el_r10 == null ? null : el_r10.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r10);
- }
- }
- function TitleStmtComponent_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var el_r11 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", el_r11 == null ? null : el_r11.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r11);
- }
- }
- function TitleStmtComponent_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var author_r12 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", author_r12);
- }
- }
- function TitleStmtComponent_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function TitleStmtComponent_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function TitleStmtComponent_ng_container_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function TitleStmtComponent_ng_container_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function TitleStmtComponent_ng_container_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function TitleStmtComponent_ng_template_8_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var item_r18 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r18);
- }
- }
- function TitleStmtComponent_ng_template_8_evt_header_section_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, TitleStmtComponent_ng_template_8_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var label_r13 = ctx_r19.label;
- var class_r15 = ctx_r19["class"];
- var items_r14 = ctx_r19.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r13)("additionalClass", class_r15);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r14);
- }
- }
- function TitleStmtComponent_ng_template_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, TitleStmtComponent_ng_template_8_evt_header_section_0_Template, 3, 3, "evt-header-section", 9);
- }
- if (rf & 2) {
- var items_r14 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r14 == null ? null : items_r14.length) > 0);
- }
- }
- var _c0 = function _c0(a1) {
- return {
- label: "editors",
- items: a1,
- "class": "editor"
- };
- };
- var _c1 = function _c1(a1) {
- return {
- label: "sponsors",
- items: a1,
- "class": "sponsor"
- };
- };
- var _c2 = function _c2(a1) {
- return {
- label: "funders",
- items: a1,
- "class": "funder"
- };
- };
- var _c3 = function _c3(a1) {
- return {
- label: "principals",
- items: a1,
- "class": "principal"
- };
- };
- var _c4 = function _c4(a1) {
- return {
- label: "responsibles",
- items: a1,
- "class": "principal"
- };
- };
- var TitleStmtComponent = function TitleStmtComponent() {
- _classCallCheck(this, TitleStmtComponent);
- };
- TitleStmtComponent.ɵfac = function TitleStmtComponent_Factory(t) {
- return new (t || TitleStmtComponent)();
- };
- TitleStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: TitleStmtComponent,
- selectors: [["evt-title-stmt"]],
- inputs: {
- data: "data"
- },
- decls: 10,
- vars: 23,
- consts: [["class", "main-title", 3, "evtHtmlAttributes", 4, "ngFor", "ngForOf"], ["class", "sub-title", 3, "evtHtmlAttributes", 4, "ngFor", "ngForOf"], ["class", "author", 4, "ngFor", "ngForOf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["section", ""], [1, "main-title", 3, "evtHtmlAttributes"], [3, "content"], [1, "sub-title", 3, "evtHtmlAttributes"], [1, "author"], [3, "label", "additionalClass", 4, "ngIf"], [3, "label", "additionalClass"], ["content", ""], [3, "content", 4, "ngFor", "ngForOf"]],
- template: function TitleStmtComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, TitleStmtComponent_div_0_Template, 2, 2, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, TitleStmtComponent_div_1_Template, 2, 2, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, TitleStmtComponent_div_2_Template, 2, 1, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, TitleStmtComponent_ng_container_3_Template, 1, 0, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, TitleStmtComponent_ng_container_4_Template, 1, 0, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, TitleStmtComponent_ng_container_5_Template, 1, 0, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, TitleStmtComponent_ng_container_6_Template, 1, 0, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, TitleStmtComponent_ng_container_7_Template, 1, 0, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, TitleStmtComponent_ng_template_8_Template, 1, 1, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- var _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.titles);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.subtitles);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.authors);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r8)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](13, _c0, ctx.data == null ? null : ctx.data.editors));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r8)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](15, _c1, ctx.data == null ? null : ctx.data.sponsors));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r8)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](17, _c2, ctx.data == null ? null : ctx.data.funders));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r8)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](19, _c3, ctx.data == null ? null : ctx.data.principals));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r8)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](21, _c4, ctx.data == null ? null : ctx.data.respStmts));
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_5__["HtmlAttributesDirective"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_7__["HeaderSectionComponent"]],
- styles: [".main-title[_ngcontent-%COMP%], .sub-title[_ngcontent-%COMP%], .author[_ngcontent-%COMP%] {\n display: block;\n text-align: center;\n margin-bottom: 10px;\n}\n\n.main-title[_ngcontent-%COMP%] {\n font-weight: 700;\n font-size: 1.5em;\n}\n\n.sub-title[_ngcontent-%COMP%] {\n font-weight: 700;\n font-size: 1.2em;\n}\n\n.author[_ngcontent-%COMP%] {\n font-size: 1em;\n font-style: italic;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3RpdGxlLXN0bXQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztFQUdJLGNBQUE7RUFDQSxrQkFBQTtFQUNBLG1CQUFBO0FBQ0o7O0FBQ0E7RUFDSSxnQkFBQTtFQUNBLGdCQUFBO0FBRUo7O0FBQ0E7RUFDSSxnQkFBQTtFQUNBLGdCQUFBO0FBRUo7O0FBQ0E7RUFDSSxjQUFBO0VBQ0Esa0JBQUE7QUFFSiIsImZpbGUiOiJ0aXRsZS1zdG10LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLm1haW4tdGl0bGUsXG4uc3ViLXRpdGxlLFxuLmF1dGhvciB7XG4gICAgZGlzcGxheTogYmxvY2s7XG4gICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XG59XG4ubWFpbi10aXRsZSB7XG4gICAgZm9udC13ZWlnaHQ6IDcwMDtcbiAgICBmb250LXNpemU6IDEuNWVtO1xufVxuXG4uc3ViLXRpdGxlIHtcbiAgICBmb250LXdlaWdodDogNzAwO1xuICAgIGZvbnQtc2l6ZTogMS4yZW07XG59XG5cbi5hdXRob3Ige1xuICAgIGZvbnQtc2l6ZTogMWVtO1xuICAgIGZvbnQtc3R5bGU6IGl0YWxpYztcbn1cbiJdfQ== */"]
- });
- TitleStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["TitleStmt"])], TitleStmtComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](TitleStmtComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-title-stmt',
- templateUrl: './title-stmt.component.html',
- styleUrls: ['./title-stmt.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "GZCN":
- /*!*********************************************************************!*\
- !*** ./src/app/components/page-selector/page-selector.component.ts ***!
- \*********************************************************************/
- /*! exports provided: PageSelectorComponent */
- /***/
- function GZCN(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PageSelectorComponent", function () {
- return PageSelectorComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @ng-select/ng-select */
- "ZOsW");
- /* harmony import */
- var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/forms */
- "3Pt+");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- var _c0 = function _c0() {
- return {
- icon: "file-alt",
- additionalClasses: "mr-2"
- };
- };
- var _c1 = function _c1(a0) {
- return {
- value: a0
- };
- };
- function PageSelectorComponent_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- }
- if (rf & 2) {
- var item_r1 = ctx.item;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c0));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](2, 2, item_r1.label, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](8, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 5, ctx_r0.pages$).indexOf(item_r1) + 1)), " ");
- }
- }
- var PageSelectorComponent = /*#__PURE__*/function () {
- function PageSelectorComponent(evtModelService) {
- _classCallCheck(this, PageSelectorComponent);
- this.evtModelService = evtModelService;
- this.pages$ = this.evtModelService.pages$;
- this.selectedPage$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
- this.selectionChange = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.pages$, this.selectedPage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])())]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(function (_ref37) {
- var _ref38 = _slicedToArray(_ref37, 2),
- pages = _ref38[0],
- pageID = _ref38[1];
- return !!pageID && !!pages && pages.length > 0;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref39) {
- var _ref40 = _slicedToArray(_ref39, 2),
- pages = _ref40[0],
- pageID = _ref40[1];
- return pages.find(function (p) {
- return p.id === pageID;
- });
- }));
- }
- _createClass(PageSelectorComponent, [{
- key: "pageID",
- set: function set(p) {
- this._pageID = p;
- this.selectedPage$.next(this._pageID);
- },
- get: function get() {
- return this._pageID;
- }
- }]);
- return PageSelectorComponent;
- }();
- PageSelectorComponent.ɵfac = function PageSelectorComponent_Factory(t) {
- return new (t || PageSelectorComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__["EVTModelService"]));
- };
- PageSelectorComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: PageSelectorComponent,
- selectors: [["evt-page-selector"]],
- inputs: {
- pageID: "pageID"
- },
- outputs: {
- selectionChange: "selectionChange"
- },
- decls: 4,
- vars: 8,
- consts: [["bindLabel", "label", "bindValue", "id", 1, "mr-1", 3, "items", "clearable", "searchable", "ngModel", "change"], ["ng-label-tmp", ""], ["label-left", "", 3, "iconInfo"]],
- template: function PageSelectorComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ng-select", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function PageSelectorComponent_Template_ng_select_change_0_listener($event) {
- return ctx.pageID = $event.id;
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, PageSelectorComponent_ng_template_3_Template, 4, 10, "ng-template", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 4, ctx.pages$))("clearable", false)("searchable", true)("ngModel", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 6, ctx.selectedPage$));
- }
- },
- directives: [_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["ɵh"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__["IconComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslatePipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJwYWdlLXNlbGVjdG9yLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PageSelectorComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-page-selector',
- templateUrl: './page-selector.component.html',
- styleUrls: ['./page-selector.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__["EVTModelService"]
- }];
- }, {
- pageID: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- selectionChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "Gf1x":
- /*!*******************************************************!*\
- !*** ./src/app/services/xml-parsers/header-parser.ts ***!
- \*******************************************************/
- /*! exports provided: RespParser, RespStmtParser, TitleStmtParser, EditionStmtParser, PublicationStmtParser, SeriesStmtParser, NotesStmtParser, SourceDescParser, ExtentParser, FileDescParser, ProjectDescParser, SamplingDeclParser, CorrectionParser, NormalizationParser, PunctuationParser, QuotationParser, HyphenationParser, SegmentationParser, StdValsParser, InterpretationParser, EditorialDeclParser, RenditionParser, TagUsageParser, NamespaceParser, TagsDeclParser, CRefPatternParser, RefStateParser, RefsDeclParser, EncodingDescParser, AbstractParser, CalendarParser, CalendarDescParser, CorrespActionParser, CorrespContextParser, CorrespDescParser, CreationParser, LanguageParser, LangUsageParser, ClassCodeParser, CatRefParser, KeywordsParser, TextClassParser, HandNoteParser, HandNotesParser, TransposeParser, ListTransposeParser, ChannelParser, ConstitutionParser, DerivationParser, DomainParser, FactualityParser, InteractionParser, PreparednessParser, PurposeParser, ChangeParser, TextDescParser, ParticDescParser, SettingParser, SettingDescParser, ListChangeParser, ProfileDescParser, RevisionDescParser */
- /***/
- function Gf1x(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RespParser", function () {
- return RespParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RespStmtParser", function () {
- return RespStmtParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TitleStmtParser", function () {
- return TitleStmtParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EditionStmtParser", function () {
- return EditionStmtParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PublicationStmtParser", function () {
- return PublicationStmtParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SeriesStmtParser", function () {
- return SeriesStmtParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NotesStmtParser", function () {
- return NotesStmtParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SourceDescParser", function () {
- return SourceDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ExtentParser", function () {
- return ExtentParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "FileDescParser", function () {
- return FileDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ProjectDescParser", function () {
- return ProjectDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SamplingDeclParser", function () {
- return SamplingDeclParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CorrectionParser", function () {
- return CorrectionParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NormalizationParser", function () {
- return NormalizationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PunctuationParser", function () {
- return PunctuationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "QuotationParser", function () {
- return QuotationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HyphenationParser", function () {
- return HyphenationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SegmentationParser", function () {
- return SegmentationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "StdValsParser", function () {
- return StdValsParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "InterpretationParser", function () {
- return InterpretationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EditorialDeclParser", function () {
- return EditorialDeclParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RenditionParser", function () {
- return RenditionParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TagUsageParser", function () {
- return TagUsageParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamespaceParser", function () {
- return NamespaceParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TagsDeclParser", function () {
- return TagsDeclParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CRefPatternParser", function () {
- return CRefPatternParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RefStateParser", function () {
- return RefStateParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RefsDeclParser", function () {
- return RefsDeclParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EncodingDescParser", function () {
- return EncodingDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AbstractParser", function () {
- return AbstractParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CalendarParser", function () {
- return CalendarParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CalendarDescParser", function () {
- return CalendarDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CorrespActionParser", function () {
- return CorrespActionParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CorrespContextParser", function () {
- return CorrespContextParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CorrespDescParser", function () {
- return CorrespDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CreationParser", function () {
- return CreationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LanguageParser", function () {
- return LanguageParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LangUsageParser", function () {
- return LangUsageParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ClassCodeParser", function () {
- return ClassCodeParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CatRefParser", function () {
- return CatRefParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "KeywordsParser", function () {
- return KeywordsParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TextClassParser", function () {
- return TextClassParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HandNoteParser", function () {
- return HandNoteParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HandNotesParser", function () {
- return HandNotesParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TransposeParser", function () {
- return TransposeParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ListTransposeParser", function () {
- return ListTransposeParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ChannelParser", function () {
- return ChannelParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ConstitutionParser", function () {
- return ConstitutionParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DerivationParser", function () {
- return DerivationParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DomainParser", function () {
- return DomainParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "FactualityParser", function () {
- return FactualityParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "InteractionParser", function () {
- return InteractionParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PreparednessParser", function () {
- return PreparednessParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PurposeParser", function () {
- return PurposeParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ChangeParser", function () {
- return ChangeParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TextDescParser", function () {
- return TextDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ParticDescParser", function () {
- return ParticDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SettingParser", function () {
- return SettingParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SettingDescParser", function () {
- return SettingDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ListChangeParser", function () {
- return ListChangeParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ProfileDescParser", function () {
- return ProfileDescParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RevisionDescParser", function () {
- return RevisionDescParser;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var src_app_utils_dom_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! src/app/utils/dom-utils */
- "G9+u");
- /* harmony import */
- var src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! src/app/utils/js-utils */
- "zSMA");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _named_entity_parsers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./named-entity-parsers */
- "4Z5S");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var RespParser_1, RespStmtParser_1, TitleStmtParser_1, EditionStmtParser_1, PublicationStmtParser_1, SeriesStmtParser_1, NotesStmtParser_1, SourceDescParser_1, ExtentParser_1, FileDescParser_1, ProjectDescParser_1, SamplingDeclParser_1, CorrectionParser_1, NormalizationParser_1, PunctuationParser_1, QuotationParser_1, HyphenationParser_1, SegmentationParser_1, StdValsParser_1, InterpretationParser_1, EditorialDeclParser_1, RenditionParser_1, TagUsageParser_1, NamespaceParser_1, TagsDeclParser_1, CRefPatternParser_1, RefStateParser_1, RefsDeclParser_1, EncodingDescParser_1, AbstractParser_1, CalendarParser_1, CalendarDescParser_1, CorrespActionParser_1, CorrespContextParser_1, CorrespDescParser_1, CreationParser_1, LanguageParser_1, LangUsageParser_1, ClassCodeParser_1, CatRefParser_1, KeywordsParser_1, TextClassParser_1, HandNoteParser_1, HandNotesParser_1, TransposeParser_1, ListTransposeParser_1, ChannelParser_1, ConstitutionParser_1, DerivationParser_1, DomainParser_1, FactualityParser_1, InteractionParser_1, PreparednessParser_1, PurposeParser_1, ChangeParser_1, TextDescParser_1, ParticDescParser_1, SettingParser_1, SettingDescParser_1, ListChangeParser_1, ProfileDescParser_1, RevisionDescParser_1;
- var RespParser = RespParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA62) {
- _inherits(RespParser, _basic_parsers__WEBPA62);
- var _super238 = _createSuper(RespParser);
- function RespParser() {
- _classCallCheck(this, RespParser);
- return _super238.apply(this, arguments);
- }
- _createClass(RespParser, [{
- key: "parse",
- value: function parse(xml) {
- var _this$attributeParser = this.attributeParser.parse(xml),
- ref = _this$attributeParser.ref,
- when = _this$attributeParser.when;
- var normalizedResp = (ref === null || ref === void 0 ? void 0 : ref.indexOf('http://')) < 0 && (ref === null || ref === void 0 ? void 0 : ref.indexOf('https://')) < 0 ? "http://".concat(ref) : ref !== null && ref !== void 0 ? ref : '';
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(RespParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Resp"],
- normalizedResp: normalizedResp,
- date: when || ''
- });
- }
- }]);
- return RespParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- RespParser = RespParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('resp', RespParser_1)], RespParser);
- var RespStmtParser = RespStmtParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA63) {
- _inherits(RespStmtParser, _basic_parsers__WEBPA63);
- var _super239 = _createSuper(RespStmtParser);
- function RespStmtParser() {
- var _this49;
- _classCallCheck(this, RespStmtParser);
- _this49 = _super239.apply(this, arguments);
- _this49.namedEntityRefParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_named_entity_parsers__WEBPACK_IMPORTED_MODULE_6__["NamedEntityRefParser"], _this49.genericParse);
- return _this49;
- }
- _createClass(RespStmtParser, [{
- key: "parse",
- value: function parse(xml) {
- var _this50 = this;
- var people = Array.from(xml.querySelectorAll(':scope > name, :scope > orgName, :scope > persName')).map(function (p) {
- if (['orgName', 'persName'].includes(p.tagName)) {
- return _this50.namedEntityRefParser.parse(p);
- }
- return _this50.genericParse(p);
- });
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(RespStmtParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["RespStmt"],
- responsibility: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'resp'),
- notes: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'note'),
- people: people
- });
- }
- }]);
- return RespStmtParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- RespStmtParser = RespStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('respStmt', RespStmtParser_1)], RespStmtParser);
- var TitleStmtParser = TitleStmtParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA64) {
- _inherits(TitleStmtParser, _basic_parsers__WEBPA64);
- var _super240 = _createSuper(TitleStmtParser);
- function TitleStmtParser() {
- _classCallCheck(this, TitleStmtParser);
- return _super240.apply(this, arguments);
- }
- _createClass(TitleStmtParser, [{
- key: "parse",
- value: function parse(xml) {
- var title = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'title[type="main"]');
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(TitleStmtParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["TitleStmt"],
- titles: title.length > 0 ? title : Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'title:not([type="sub"])'),
- subtitles: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'title[type="sub"]'),
- authors: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'author'),
- editors: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'editor'),
- sponsors: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'sponsor'),
- funders: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'funder'),
- principals: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'principal'),
- respStmts: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'respStmt')
- });
- }
- }]);
- return TitleStmtParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- TitleStmtParser = TitleStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('titleStmt', TitleStmtParser_1)], TitleStmtParser);
- var EditionStmtParser = EditionStmtParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA65) {
- _inherits(EditionStmtParser, _basic_parsers__WEBPA65);
- var _super241 = _createSuper(EditionStmtParser);
- function EditionStmtParser() {
- _classCallCheck(this, EditionStmtParser);
- return _super241.apply(this, arguments);
- }
- _createClass(EditionStmtParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(EditionStmtParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["EditionStmt"],
- edition: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'edition'),
- respStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'respStmt'),
- structuredData: Array.from(xml.children).filter(function (el) {
- return el.tagName === 'p';
- }).length !== xml.children.length
- });
- }
- }]);
- return EditionStmtParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- EditionStmtParser = EditionStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('editionStmt', EditionStmtParser_1)], EditionStmtParser);
- var PublicationStmtParser = PublicationStmtParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA66) {
- _inherits(PublicationStmtParser, _basic_parsers__WEBPA66);
- var _super242 = _createSuper(PublicationStmtParser);
- function PublicationStmtParser() {
- _classCallCheck(this, PublicationStmtParser);
- return _super242.apply(this, arguments);
- }
- _createClass(PublicationStmtParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(PublicationStmtParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["PublicationStmt"],
- structuredData: Array.from(xml.children).filter(function (el) {
- return el.tagName === 'p';
- }).length !== xml.children.length,
- publisher: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'publisher'),
- distributor: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'distributor'),
- authority: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'authority'),
- pubPlace: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'pubPlace'),
- address: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'address'),
- idno: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'idno'),
- availability: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'availability'),
- date: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'date'),
- licence: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'licence')
- });
- }
- }]);
- return PublicationStmtParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- PublicationStmtParser = PublicationStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('publicationStmt', PublicationStmtParser_1)], PublicationStmtParser);
- var SeriesStmtParser = SeriesStmtParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA67) {
- _inherits(SeriesStmtParser, _basic_parsers__WEBPA67);
- var _super243 = _createSuper(SeriesStmtParser);
- function SeriesStmtParser() {
- _classCallCheck(this, SeriesStmtParser);
- return _super243.apply(this, arguments);
- }
- _createClass(SeriesStmtParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SeriesStmtParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["SeriesStmt"],
- structuredData: Array.from(xml.querySelectorAll(':scope > p')).length === 0,
- title: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'title'),
- idno: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'idno'),
- respStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'respStmt'),
- editor: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'editor'),
- biblScope: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'biblScope')
- });
- }
- }]);
- return SeriesStmtParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- SeriesStmtParser = SeriesStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('seriesStmt', SeriesStmtParser_1)], SeriesStmtParser);
- var NotesStmtParser = NotesStmtParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA68) {
- _inherits(NotesStmtParser, _basic_parsers__WEBPA68);
- var _super244 = _createSuper(NotesStmtParser);
- function NotesStmtParser() {
- _classCallCheck(this, NotesStmtParser);
- return _super244.apply(this, arguments);
- }
- _createClass(NotesStmtParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(NotesStmtParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["NotesStmt"],
- notes: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'note').map(function (el) {
- return Object.assign(Object.assign({}, el), {
- noteLayout: 'plain-text'
- });
- }),
- relatedItems: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'relatedItem')
- });
- }
- }]);
- return NotesStmtParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- NotesStmtParser = NotesStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('notesStmt', NotesStmtParser_1)], NotesStmtParser);
- var SourceDescParser = SourceDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA69) {
- _inherits(SourceDescParser, _basic_parsers__WEBPA69);
- var _super245 = _createSuper(SourceDescParser);
- function SourceDescParser() {
- _classCallCheck(this, SourceDescParser);
- return _super245.apply(this, arguments);
- }
- _createClass(SourceDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SourceDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["SourceDesc"],
- structuredData: Array.from(xml.children).filter(function (el) {
- return el.tagName === 'p';
- }).length !== xml.children.length,
- msDescs: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'msDesc'),
- bibl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'bibl'),
- biblFull: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'biblFull'),
- biblStruct: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'biblStruct'),
- recordingStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'recordingStmt'),
- scriptStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'scriptStmt')
- });
- }
- }]);
- return SourceDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- SourceDescParser = SourceDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('sourceDesc', SourceDescParser_1)], SourceDescParser);
- var ExtentParser = ExtentParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA70) {
- _inherits(ExtentParser, _basic_parsers__WEBPA70);
- var _super246 = _createSuper(ExtentParser);
- function ExtentParser() {
- _classCallCheck(this, ExtentParser);
- return _super246.apply(this, arguments);
- }
- _createClass(ExtentParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ExtentParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Extent"]
- });
- }
- }]);
- return ExtentParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- ExtentParser = ExtentParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('extent', ExtentParser_1)], ExtentParser);
- var FileDescParser = FileDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA71) {
- _inherits(FileDescParser, _basic_parsers__WEBPA71);
- var _super247 = _createSuper(FileDescParser);
- function FileDescParser() {
- var _this51;
- _classCallCheck(this, FileDescParser);
- _this51 = _super247.apply(this, arguments);
- _this51.excludeFromParsing = ['listBibl', 'listEvent', 'listOrg', 'listPerson', 'listPlace', 'listWit'];
- return _this51;
- }
- _createClass(FileDescParser, [{
- key: "parse",
- value: function parse(xml) {
- xml = xml.cloneNode(true);
- Array.from(xml.querySelectorAll(this.excludeFromParsing.toString())).filter(function (list) {
- return !Object(src_app_utils_dom_utils__WEBPACK_IMPORTED_MODULE_1__["isNestedInElem"])(list, list.tagName);
- }).forEach(function (el) {
- return el.remove();
- });
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(FileDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["FileDesc"],
- titleStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'titleStmt'),
- editionStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'editionStmt'),
- publicationStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'publicationStmt'),
- sourceDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'sourceDesc'),
- extent: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'extent'),
- notesStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'notesStmt'),
- seriesStmt: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'seriesStmt')
- });
- }
- }]);
- return FileDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- FileDescParser = FileDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('fileDesc', FileDescParser_1)], FileDescParser);
- var ProjectDescParser = ProjectDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA72) {
- _inherits(ProjectDescParser, _basic_parsers__WEBPA72);
- var _super248 = _createSuper(ProjectDescParser);
- function ProjectDescParser() {
- _classCallCheck(this, ProjectDescParser);
- return _super248.apply(this, arguments);
- }
- _createClass(ProjectDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ProjectDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ProjectDesc"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return ProjectDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- ProjectDescParser = ProjectDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('projectDesc', ProjectDescParser_1)], ProjectDescParser);
- var SamplingDeclParser = SamplingDeclParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA73) {
- _inherits(SamplingDeclParser, _basic_parsers__WEBPA73);
- var _super249 = _createSuper(SamplingDeclParser);
- function SamplingDeclParser() {
- _classCallCheck(this, SamplingDeclParser);
- return _super249.apply(this, arguments);
- }
- _createClass(SamplingDeclParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SamplingDeclParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["SamplingDecl"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return SamplingDeclParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- SamplingDeclParser = SamplingDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('samplingDecl', SamplingDeclParser_1)], SamplingDeclParser);
- var CorrectionParser = CorrectionParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA74) {
- _inherits(CorrectionParser, _basic_parsers__WEBPA74);
- var _super250 = _createSuper(CorrectionParser);
- function CorrectionParser() {
- _classCallCheck(this, CorrectionParser);
- return _super250.apply(this, arguments);
- }
- _createClass(CorrectionParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CorrectionParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Correction"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p'),
- status: xml.getAttribute('status'),
- method: xml.getAttribute('method') || 'silent'
- });
- }
- }]);
- return CorrectionParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- CorrectionParser = CorrectionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correction', CorrectionParser_1)], CorrectionParser);
- var NormalizationParser = NormalizationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA75) {
- _inherits(NormalizationParser, _basic_parsers__WEBPA75);
- var _super251 = _createSuper(NormalizationParser);
- function NormalizationParser() {
- _classCallCheck(this, NormalizationParser);
- return _super251.apply(this, arguments);
- }
- _createClass(NormalizationParser, [{
- key: "parse",
- value: function parse(xml) {
- var _a;
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(NormalizationParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Normalization"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p'),
- sources: ((_a = xml.getAttribute('source')) === null || _a === void 0 ? void 0 : _a.split(' ')) || [],
- method: xml.getAttribute('method') || 'silent'
- });
- }
- }]);
- return NormalizationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- NormalizationParser = NormalizationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('normalization', NormalizationParser_1)], NormalizationParser);
- var PunctuationParser = PunctuationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA76) {
- _inherits(PunctuationParser, _basic_parsers__WEBPA76);
- var _super252 = _createSuper(PunctuationParser);
- function PunctuationParser() {
- _classCallCheck(this, PunctuationParser);
- return _super252.apply(this, arguments);
- }
- _createClass(PunctuationParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(PunctuationParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Punctuation"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p'),
- marks: xml.getAttribute('marks'),
- placement: xml.getAttribute('placement')
- });
- }
- }]);
- return PunctuationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- PunctuationParser = PunctuationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('punctuation', PunctuationParser_1)], PunctuationParser);
- var QuotationParser = QuotationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA77) {
- _inherits(QuotationParser, _basic_parsers__WEBPA77);
- var _super253 = _createSuper(QuotationParser);
- function QuotationParser() {
- _classCallCheck(this, QuotationParser);
- return _super253.apply(this, arguments);
- }
- _createClass(QuotationParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(QuotationParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Quotation"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p'),
- marks: xml.getAttribute('marks')
- });
- }
- }]);
- return QuotationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- QuotationParser = QuotationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('quotation', QuotationParser_1)], QuotationParser);
- var HyphenationParser = HyphenationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA78) {
- _inherits(HyphenationParser, _basic_parsers__WEBPA78);
- var _super254 = _createSuper(HyphenationParser);
- function HyphenationParser() {
- _classCallCheck(this, HyphenationParser);
- return _super254.apply(this, arguments);
- }
- _createClass(HyphenationParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(HyphenationParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Hyphenation"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p'),
- eol: xml.getAttribute('eol')
- });
- }
- }]);
- return HyphenationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- HyphenationParser = HyphenationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('hyphenation', HyphenationParser_1)], HyphenationParser);
- var SegmentationParser = SegmentationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA79) {
- _inherits(SegmentationParser, _basic_parsers__WEBPA79);
- var _super255 = _createSuper(SegmentationParser);
- function SegmentationParser() {
- _classCallCheck(this, SegmentationParser);
- return _super255.apply(this, arguments);
- }
- _createClass(SegmentationParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SegmentationParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Segmentation"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return SegmentationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- SegmentationParser = SegmentationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('segmentation', SegmentationParser_1)], SegmentationParser);
- var StdValsParser = StdValsParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA80) {
- _inherits(StdValsParser, _basic_parsers__WEBPA80);
- var _super256 = _createSuper(StdValsParser);
- function StdValsParser() {
- _classCallCheck(this, StdValsParser);
- return _super256.apply(this, arguments);
- }
- _createClass(StdValsParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(StdValsParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["StdVals"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return StdValsParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- StdValsParser = StdValsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('stdVals', StdValsParser_1)], StdValsParser);
- var InterpretationParser = InterpretationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA81) {
- _inherits(InterpretationParser, _basic_parsers__WEBPA81);
- var _super257 = _createSuper(InterpretationParser);
- function InterpretationParser() {
- _classCallCheck(this, InterpretationParser);
- return _super257.apply(this, arguments);
- }
- _createClass(InterpretationParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(InterpretationParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Interpretation"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p')
- });
- }
- }]);
- return InterpretationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- InterpretationParser = InterpretationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('interpretation', InterpretationParser_1)], InterpretationParser);
- var EditorialDeclParser = EditorialDeclParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA82) {
- _inherits(EditorialDeclParser, _basic_parsers__WEBPA82);
- var _super258 = _createSuper(EditorialDeclParser);
- function EditorialDeclParser() {
- _classCallCheck(this, EditorialDeclParser);
- return _super258.apply(this, arguments);
- }
- _createClass(EditorialDeclParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(EditorialDeclParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["EditorialDecl"],
- structuredData: Array.from(xml.children).filter(function (el) {
- return el.tagName === 'p';
- }).length !== xml.children.length,
- correction: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'correction'),
- hyphenation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'hyphenation'),
- interpretation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'interpretation'),
- normalization: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'normalization'),
- punctuation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'punctuation'),
- quotation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'quotation'),
- segmentation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'segmentation'),
- stdVals: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'stdVals')
- });
- }
- }]);
- return EditorialDeclParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- EditorialDeclParser = EditorialDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('editorialDecl', EditorialDeclParser_1)], EditorialDeclParser);
- var RenditionParser = RenditionParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA83) {
- _inherits(RenditionParser, _basic_parsers__WEBPA83);
- var _super259 = _createSuper(RenditionParser);
- function RenditionParser() {
- _classCallCheck(this, RenditionParser);
- return _super259.apply(this, arguments);
- }
- _createClass(RenditionParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(RenditionParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Rendition"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(xml),
- scope: xml.getAttribute('scope') || '',
- selector: xml.getAttribute('selector') || '',
- scheme: xml.getAttribute('scheme') || undefined,
- schemeVersion: xml.getAttribute('schemeVersion') || ''
- });
- }
- }]);
- return RenditionParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- RenditionParser = RenditionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('rendition', RenditionParser_1)], RenditionParser);
- var TagUsageParser = TagUsageParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA84) {
- _inherits(TagUsageParser, _basic_parsers__WEBPA84);
- var _super260 = _createSuper(TagUsageParser);
- function TagUsageParser() {
- _classCallCheck(this, TagUsageParser);
- return _super260.apply(this, arguments);
- }
- _createClass(TagUsageParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(TagUsageParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["TagUsage"],
- gi: xml.getAttribute('gi'),
- occurs: parseInt(xml.getAttribute('occurs'), 10) || undefined,
- withId: parseInt(xml.getAttribute('withId'), 10) || undefined
- });
- }
- }]);
- return TagUsageParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- TagUsageParser = TagUsageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('tagUsage', TagUsageParser_1)], TagUsageParser);
- var NamespaceParser = NamespaceParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA85) {
- _inherits(NamespaceParser, _basic_parsers__WEBPA85);
- var _super261 = _createSuper(NamespaceParser);
- function NamespaceParser() {
- _classCallCheck(this, NamespaceParser);
- return _super261.apply(this, arguments);
- }
- _createClass(NamespaceParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(NamespaceParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Namespace"],
- name: xml.getAttribute('name') || '',
- tagUsage: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'tagUsage')
- });
- }
- }]);
- return NamespaceParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- NamespaceParser = NamespaceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('namespace', NamespaceParser_1)], NamespaceParser);
- var TagsDeclParser = TagsDeclParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA86) {
- _inherits(TagsDeclParser, _basic_parsers__WEBPA86);
- var _super262 = _createSuper(TagsDeclParser);
- function TagsDeclParser() {
- _classCallCheck(this, TagsDeclParser);
- return _super262.apply(this, arguments);
- }
- _createClass(TagsDeclParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(TagsDeclParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["TagsDecl"],
- rendition: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'rendition'),
- namespace: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'namespace')
- });
- }
- }]);
- return TagsDeclParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- TagsDeclParser = TagsDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('tagsDecl', TagsDeclParser_1)], TagsDeclParser);
- var CRefPatternParser = CRefPatternParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA87) {
- _inherits(CRefPatternParser, _basic_parsers__WEBPA87);
- var _super263 = _createSuper(CRefPatternParser);
- function CRefPatternParser() {
- _classCallCheck(this, CRefPatternParser);
- return _super263.apply(this, arguments);
- }
- _createClass(CRefPatternParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CRefPatternParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CRefPattern"],
- matchPattern: xml.getAttribute('matchPattern'),
- replacementPattern: xml.getAttribute('replacementPattern')
- });
- }
- }]);
- return CRefPatternParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- CRefPatternParser = CRefPatternParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('cRefPattern', CRefPatternParser_1)], CRefPatternParser);
- var RefStateParser = RefStateParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA88) {
- _inherits(RefStateParser, _basic_parsers__WEBPA88);
- var _super264 = _createSuper(RefStateParser);
- function RefStateParser() {
- _classCallCheck(this, RefStateParser);
- return _super264.apply(this, arguments);
- }
- _createClass(RefStateParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(RefStateParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["RefState"],
- ed: xml.getAttribute('ed'),
- unit: xml.getAttribute('unit'),
- length: parseInt(xml.getAttribute('length'), 10) || 0,
- delim: xml.getAttribute('delim')
- });
- }
- }]);
- return RefStateParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- RefStateParser = RefStateParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('refState', RefStateParser_1)], RefStateParser);
- var RefsDeclParser = RefsDeclParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA89) {
- _inherits(RefsDeclParser, _basic_parsers__WEBPA89);
- var _super265 = _createSuper(RefsDeclParser);
- function RefsDeclParser() {
- var _this52;
- _classCallCheck(this, RefsDeclParser);
- _this52 = _super265.apply(this, arguments);
- _this52.cRefPatternParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(CRefPatternParser, _this52.genericParse);
- _this52.refStateParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RefStateParser, _this52.genericParse);
- return _this52;
- }
- _createClass(RefsDeclParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(RefsDeclParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["RefsDecl"],
- structuredData: Array.from(xml.children).filter(function (el) {
- return el.tagName === 'p';
- }).length !== xml.children.length,
- cRefPattern: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'cRefPattern'),
- refState: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'refState')
- });
- }
- }]);
- return RefsDeclParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- RefsDeclParser = RefsDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('refsDecl', RefsDeclParser_1)], RefsDeclParser);
- var EncodingDescParser = EncodingDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA90) {
- _inherits(EncodingDescParser, _basic_parsers__WEBPA90);
- var _super266 = _createSuper(EncodingDescParser);
- function EncodingDescParser() {
- _classCallCheck(this, EncodingDescParser);
- return _super266.apply(this, arguments);
- }
- _createClass(EncodingDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(EncodingDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["EncodingDesc"],
- structuredData: Array.from(xml.children).filter(function (el) {
- return el.tagName === 'p';
- }).length !== xml.children.length,
- projectDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'projectDesc'),
- samplingDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'samplingDecl'),
- editorialDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'editorialDecl'),
- tagsDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'tagsDecl'),
- styleDefDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'styleDefDecl'),
- refsDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'refsDecl'),
- classDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'classDecl'),
- geoDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'geoDecl'),
- unitDecl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'unitDecl'),
- schemaSpec: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'schemaSpec'),
- schemaRef: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'schemaRef')
- });
- }
- }]);
- return EncodingDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- EncodingDescParser = EncodingDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('encodingDesc', EncodingDescParser_1)], EncodingDescParser);
- var AbstractParser = AbstractParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA91) {
- _inherits(AbstractParser, _basic_parsers__WEBPA91);
- var _super267 = _createSuper(AbstractParser);
- function AbstractParser() {
- _classCallCheck(this, AbstractParser);
- return _super267.apply(this, arguments);
- }
- _createClass(AbstractParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(AbstractParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Abstract"],
- resp: xml.getAttribute('resp'),
- lang: xml.getAttribute('xml:lang')
- });
- }
- }]);
- return AbstractParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- AbstractParser = AbstractParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('abstract', AbstractParser_1)], AbstractParser);
- var CalendarParser = CalendarParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA92) {
- _inherits(CalendarParser, _basic_parsers__WEBPA92);
- var _super268 = _createSuper(CalendarParser);
- function CalendarParser() {
- _classCallCheck(this, CalendarParser);
- return _super268.apply(this, arguments);
- }
- _createClass(CalendarParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CalendarParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Calendar"],
- id: xml.getAttribute('xml:id'),
- target: xml.getAttribute('target')
- });
- }
- }]);
- return CalendarParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- CalendarParser = CalendarParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('calendar', CalendarParser_1)], CalendarParser);
- var CalendarDescParser = CalendarDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA93) {
- _inherits(CalendarDescParser, _basic_parsers__WEBPA93);
- var _super269 = _createSuper(CalendarDescParser);
- function CalendarDescParser() {
- _classCallCheck(this, CalendarDescParser);
- return _super269.apply(this, arguments);
- }
- _createClass(CalendarDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CalendarDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CalendarDesc"],
- calendars: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'calendar')
- });
- }
- }]);
- return CalendarDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- CalendarDescParser = CalendarDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('calendarDesc', CalendarDescParser_1)], CalendarDescParser);
- var CorrespActionParser = CorrespActionParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA94) {
- _inherits(CorrespActionParser, _basic_parsers__WEBPA94);
- var _super270 = _createSuper(CorrespActionParser);
- function CorrespActionParser() {
- _classCallCheck(this, CorrespActionParser);
- return _super270.apply(this, arguments);
- }
- _createClass(CorrespActionParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CorrespActionParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CorrespAction"],
- actionType: xml.getAttribute('type')
- });
- }
- }]);
- return CorrespActionParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- CorrespActionParser = CorrespActionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correspAction', CorrespActionParser_1)], CorrespActionParser);
- var CorrespContextParser = CorrespContextParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA95) {
- _inherits(CorrespContextParser, _basic_parsers__WEBPA95);
- var _super271 = _createSuper(CorrespContextParser);
- function CorrespContextParser() {
- _classCallCheck(this, CorrespContextParser);
- return _super271.apply(this, arguments);
- }
- _createClass(CorrespContextParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CorrespContextParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CorrespContext"]
- });
- }
- }]);
- return CorrespContextParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- CorrespContextParser = CorrespContextParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correspContext', CorrespContextParser_1)], CorrespContextParser);
- var CorrespDescParser = CorrespDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA96) {
- _inherits(CorrespDescParser, _basic_parsers__WEBPA96);
- var _super272 = _createSuper(CorrespDescParser);
- function CorrespDescParser() {
- _classCallCheck(this, CorrespDescParser);
- return _super272.apply(this, arguments);
- }
- _createClass(CorrespDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CorrespDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CorrespDesc"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'correspAction, correspContext, note, p')
- });
- }
- }]);
- return CorrespDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- CorrespDescParser = CorrespDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correspDesc', CorrespDescParser_1)], CorrespDescParser);
- var CreationParser = CreationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA97) {
- _inherits(CreationParser, _basic_parsers__WEBPA97);
- var _super273 = _createSuper(CreationParser);
- function CreationParser() {
- _classCallCheck(this, CreationParser);
- return _super273.apply(this, arguments);
- }
- _createClass(CreationParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CreationParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Creation"]
- });
- }
- }]);
- return CreationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- CreationParser = CreationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('creation', CreationParser_1)], CreationParser);
- var LanguageParser = LanguageParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA98) {
- _inherits(LanguageParser, _basic_parsers__WEBPA98);
- var _super274 = _createSuper(LanguageParser);
- function LanguageParser() {
- _classCallCheck(this, LanguageParser);
- return _super274.apply(this, arguments);
- }
- _createClass(LanguageParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(LanguageParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Language"],
- ident: xml.getAttribute('ident'),
- usage: parseInt(xml.getAttribute('usage'), 10) || undefined
- });
- }
- }]);
- return LanguageParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- LanguageParser = LanguageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('language', LanguageParser_1)], LanguageParser);
- var LangUsageParser = LangUsageParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA99) {
- _inherits(LangUsageParser, _basic_parsers__WEBPA99);
- var _super275 = _createSuper(LangUsageParser);
- function LangUsageParser() {
- _classCallCheck(this, LangUsageParser);
- return _super275.apply(this, arguments);
- }
- _createClass(LangUsageParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(LangUsageParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["LangUsage"],
- structuredData: Array.from(xml.querySelectorAll(':scope > p')).length > 0,
- languages: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'language')
- });
- }
- }]);
- return LangUsageParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- LangUsageParser = LangUsageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('langUsage', LangUsageParser_1)], LangUsageParser);
- var ClassCodeParser = ClassCodeParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA100) {
- _inherits(ClassCodeParser, _basic_parsers__WEBPA100);
- var _super276 = _createSuper(ClassCodeParser);
- function ClassCodeParser() {
- _classCallCheck(this, ClassCodeParser);
- return _super276.apply(this, arguments);
- }
- _createClass(ClassCodeParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ClassCodeParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ClassCode"],
- scheme: xml.getAttribute('scheme')
- });
- }
- }]);
- return ClassCodeParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- ClassCodeParser = ClassCodeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('classCode', ClassCodeParser_1)], ClassCodeParser);
- var CatRefParser = CatRefParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA101) {
- _inherits(CatRefParser, _basic_parsers__WEBPA101);
- var _super277 = _createSuper(CatRefParser);
- function CatRefParser() {
- _classCallCheck(this, CatRefParser);
- return _super277.apply(this, arguments);
- }
- _createClass(CatRefParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(CatRefParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CatRef"],
- scheme: xml.getAttribute('scheme'),
- target: xml.getAttribute('target')
- });
- }
- }]);
- return CatRefParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- CatRefParser = CatRefParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('catRef', CatRefParser_1)], CatRefParser);
- var KeywordsParser = KeywordsParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA102) {
- _inherits(KeywordsParser, _basic_parsers__WEBPA102);
- var _super278 = _createSuper(KeywordsParser);
- function KeywordsParser() {
- _classCallCheck(this, KeywordsParser);
- return _super278.apply(this, arguments);
- }
- _createClass(KeywordsParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(KeywordsParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Keywords"],
- scheme: xml.getAttribute('scheme'),
- terms: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'term')
- });
- }
- }]);
- return KeywordsParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- KeywordsParser = KeywordsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('keywords', KeywordsParser_1)], KeywordsParser);
- var TextClassParser = TextClassParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA103) {
- _inherits(TextClassParser, _basic_parsers__WEBPA103);
- var _super279 = _createSuper(TextClassParser);
- function TextClassParser() {
- _classCallCheck(this, TextClassParser);
- return _super279.apply(this, arguments);
- }
- _createClass(TextClassParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(TextClassParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["TextClass"],
- keywords: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'keywords'),
- catRef: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'catRef'),
- classCode: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'classCode')
- });
- }
- }]);
- return TextClassParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- TextClassParser = TextClassParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('textClass', TextClassParser_1)], TextClassParser);
- var HandNoteParser = HandNoteParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA104) {
- _inherits(HandNoteParser, _basic_parsers__WEBPA104);
- var _super280 = _createSuper(HandNoteParser);
- function HandNoteParser() {
- _classCallCheck(this, HandNoteParser);
- return _super280.apply(this, arguments);
- }
- _createClass(HandNoteParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(HandNoteParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["HandNote"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(xml),
- scribe: xml.getAttribute('scribe'),
- scribeRef: xml.getAttribute('scribeRef'),
- script: xml.getAttribute('script'),
- scriptRef: xml.getAttribute('scriptRef'),
- medium: xml.getAttribute('medium'),
- scope: xml.getAttribute('scope')
- });
- }
- }]);
- return HandNoteParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- HandNoteParser = HandNoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('handNote', HandNoteParser_1)], HandNoteParser);
- var HandNotesParser = HandNotesParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA105) {
- _inherits(HandNotesParser, _basic_parsers__WEBPA105);
- var _super281 = _createSuper(HandNotesParser);
- function HandNotesParser() {
- _classCallCheck(this, HandNotesParser);
- return _super281.apply(this, arguments);
- }
- _createClass(HandNotesParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(HandNotesParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["HandNotes"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'keywords')
- });
- }
- }]);
- return HandNotesParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- HandNotesParser = HandNotesParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('handNotes', HandNotesParser_1)], HandNotesParser);
- var TransposeParser = TransposeParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA106) {
- _inherits(TransposeParser, _basic_parsers__WEBPA106);
- var _super282 = _createSuper(TransposeParser);
- function TransposeParser() {
- _classCallCheck(this, TransposeParser);
- return _super282.apply(this, arguments);
- }
- _createClass(TransposeParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(TransposeParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Transpose"],
- content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'ptr')
- });
- }
- }]);
- return TransposeParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- TransposeParser = TransposeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('transpose', TransposeParser_1)], TransposeParser);
- var ListTransposeParser = ListTransposeParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA107) {
- _inherits(ListTransposeParser, _basic_parsers__WEBPA107);
- var _super283 = _createSuper(ListTransposeParser);
- function ListTransposeParser() {
- _classCallCheck(this, ListTransposeParser);
- return _super283.apply(this, arguments);
- }
- _createClass(ListTransposeParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ListTransposeParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ListTranspose"],
- description: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'desc'),
- transposes: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'transpose')
- });
- }
- }]);
- return ListTransposeParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- ListTransposeParser = ListTransposeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('listTranspose', ListTransposeParser_1)], ListTransposeParser);
- var ChannelParser = ChannelParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA108) {
- _inherits(ChannelParser, _basic_parsers__WEBPA108);
- var _super284 = _createSuper(ChannelParser);
- function ChannelParser() {
- _classCallCheck(this, ChannelParser);
- return _super284.apply(this, arguments);
- }
- _createClass(ChannelParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ChannelParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Channel"],
- mode: xml.getAttribute('mode')
- });
- }
- }]);
- return ChannelParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- ChannelParser = ChannelParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('channel', ChannelParser_1)], ChannelParser);
- var ConstitutionParser = ConstitutionParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA109) {
- _inherits(ConstitutionParser, _basic_parsers__WEBPA109);
- var _super285 = _createSuper(ConstitutionParser);
- function ConstitutionParser() {
- _classCallCheck(this, ConstitutionParser);
- return _super285.apply(this, arguments);
- }
- _createClass(ConstitutionParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ConstitutionParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Constitution"],
- constitutionType: xml.getAttribute('type')
- });
- }
- }]);
- return ConstitutionParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- ConstitutionParser = ConstitutionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('constitution', ConstitutionParser_1)], ConstitutionParser);
- var DerivationParser = DerivationParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA110) {
- _inherits(DerivationParser, _basic_parsers__WEBPA110);
- var _super286 = _createSuper(DerivationParser);
- function DerivationParser() {
- _classCallCheck(this, DerivationParser);
- return _super286.apply(this, arguments);
- }
- _createClass(DerivationParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(DerivationParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Derivation"],
- derivationType: xml.getAttribute('type')
- });
- }
- }]);
- return DerivationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- DerivationParser = DerivationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('derivation', DerivationParser_1)], DerivationParser);
- var DomainParser = DomainParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA111) {
- _inherits(DomainParser, _basic_parsers__WEBPA111);
- var _super287 = _createSuper(DomainParser);
- function DomainParser() {
- _classCallCheck(this, DomainParser);
- return _super287.apply(this, arguments);
- }
- _createClass(DomainParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(DomainParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Domain"],
- domainType: xml.getAttribute('type')
- });
- }
- }]);
- return DomainParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- DomainParser = DomainParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('domain', DomainParser_1)], DomainParser);
- var FactualityParser = FactualityParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA112) {
- _inherits(FactualityParser, _basic_parsers__WEBPA112);
- var _super288 = _createSuper(FactualityParser);
- function FactualityParser() {
- _classCallCheck(this, FactualityParser);
- return _super288.apply(this, arguments);
- }
- _createClass(FactualityParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(FactualityParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Factuality"],
- factualityType: xml.getAttribute('type')
- });
- }
- }]);
- return FactualityParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- FactualityParser = FactualityParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('factuality', FactualityParser_1)], FactualityParser);
- var InteractionParser = InteractionParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA113) {
- _inherits(InteractionParser, _basic_parsers__WEBPA113);
- var _super289 = _createSuper(InteractionParser);
- function InteractionParser() {
- _classCallCheck(this, InteractionParser);
- return _super289.apply(this, arguments);
- }
- _createClass(InteractionParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(InteractionParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Interaction"],
- interactionType: xml.getAttribute('type'),
- active: xml.getAttribute('type'),
- passive: xml.getAttribute('type')
- });
- }
- }]);
- return InteractionParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- InteractionParser = InteractionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('interaction', InteractionParser_1)], InteractionParser);
- var PreparednessParser = PreparednessParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA114) {
- _inherits(PreparednessParser, _basic_parsers__WEBPA114);
- var _super290 = _createSuper(PreparednessParser);
- function PreparednessParser() {
- _classCallCheck(this, PreparednessParser);
- return _super290.apply(this, arguments);
- }
- _createClass(PreparednessParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(PreparednessParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Preparedness"],
- preparednessType: xml.getAttribute('type')
- });
- }
- }]);
- return PreparednessParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- PreparednessParser = PreparednessParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('preparedness', PreparednessParser_1)], PreparednessParser);
- var PurposeParser = PurposeParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA115) {
- _inherits(PurposeParser, _basic_parsers__WEBPA115);
- var _super291 = _createSuper(PurposeParser);
- function PurposeParser() {
- _classCallCheck(this, PurposeParser);
- return _super291.apply(this, arguments);
- }
- _createClass(PurposeParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(PurposeParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Purpose"],
- purposeType: xml.getAttribute('type'),
- degree: xml.getAttribute('degree')
- });
- }
- }]);
- return PurposeParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- PurposeParser = PurposeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('purpose', PurposeParser_1)], PurposeParser);
- var ChangeParser = ChangeParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA116) {
- _inherits(ChangeParser, _basic_parsers__WEBPA116);
- var _super292 = _createSuper(ChangeParser);
- function ChangeParser() {
- _classCallCheck(this, ChangeParser);
- return _super292.apply(this, arguments);
- }
- _createClass(ChangeParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ChangeParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Change"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(xml),
- who: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getDefaultAttr"])(xml.getAttribute('who')).replace('#', ''),
- status: xml.getAttribute('status'),
- when: xml.getAttribute('when'),
- notBefore: xml.getAttribute('notBefore'),
- notAfter: xml.getAttribute('notAfter'),
- targets: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getDefaultAttr"])(xml.getAttribute('target')).split(' ').map(function (t) {
- return t.replace('#', '');
- })
- });
- }
- }]);
- return ChangeParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- ChangeParser = ChangeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('change', ChangeParser_1)], ChangeParser);
- var TextDescParser = TextDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA117) {
- _inherits(TextDescParser, _basic_parsers__WEBPA117);
- var _super293 = _createSuper(TextDescParser);
- function TextDescParser() {
- _classCallCheck(this, TextDescParser);
- return _super293.apply(this, arguments);
- }
- _createClass(TextDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(TextDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["TextDesc"],
- channel: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'channel'),
- constitution: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'constitution'),
- derivation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'derivation'),
- domain: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'domain'),
- factuality: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'factuality'),
- interaction: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'interaction'),
- preparedness: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'preparedness'),
- purpose: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'purpose')
- });
- }
- }]);
- return TextDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- TextDescParser = TextDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('textDesc', TextDescParser_1)], TextDescParser);
- var ParticDescParser = ParticDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA118) {
- _inherits(ParticDescParser, _basic_parsers__WEBPA118);
- var _super294 = _createSuper(ParticDescParser);
- function ParticDescParser() {
- _classCallCheck(this, ParticDescParser);
- return _super294.apply(this, arguments);
- }
- _createClass(ParticDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ParticDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ParticDesc"],
- structuredData: Array.from(xml.children).filter(function (el) {
- return el.tagName === 'p';
- }).length !== xml.children.length,
- participants: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'listPerson').concat(Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'listOrg'))
- });
- }
- }]);
- return ParticDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- ParticDescParser = ParticDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('particDesc', ParticDescParser_1)], ParticDescParser);
- var SettingParser = SettingParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA119) {
- _inherits(SettingParser, _basic_parsers__WEBPA119);
- var _super295 = _createSuper(SettingParser);
- function SettingParser() {
- _classCallCheck(this, SettingParser);
- return _super295.apply(this, arguments);
- }
- _createClass(SettingParser, [{
- key: "parse",
- value: function parse(xml) {
- var names = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'name');
- var orgNames = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'orgName');
- var persNames = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'persName');
- var placeNames = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'placeName');
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SettingParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Setting"],
- who: xml.getAttribute('who'),
- name: names.concat(orgNames).concat(persNames).concat(placeNames),
- date: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'date'),
- time: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'time'),
- locale: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'locale'),
- activity: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'activity')
- });
- }
- }]);
- return SettingParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- SettingParser = SettingParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('setting', SettingParser_1)], SettingParser);
- var SettingDescParser = SettingDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA120) {
- _inherits(SettingDescParser, _basic_parsers__WEBPA120);
- var _super296 = _createSuper(SettingDescParser);
- function SettingDescParser() {
- _classCallCheck(this, SettingDescParser);
- return _super296.apply(this, arguments);
- }
- _createClass(SettingDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(SettingDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["SettingDesc"],
- structuredData: Array.from(xml.children).filter(function (el) {
- return el.tagName === 'p';
- }).length !== xml.children.length,
- settings: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'setting'),
- places: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'listPlace')
- });
- }
- }]);
- return SettingDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"]);
- SettingDescParser = SettingDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('settingDesc', SettingDescParser_1)], SettingDescParser);
- var ListChangeParser = ListChangeParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA121) {
- _inherits(ListChangeParser, _basic_parsers__WEBPA121);
- var _super297 = _createSuper(ListChangeParser);
- function ListChangeParser() {
- _classCallCheck(this, ListChangeParser);
- return _super297.apply(this, arguments);
- }
- _createClass(ListChangeParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ListChangeParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ListChange"],
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["complexElements"])(xml.childNodes, true).filter(function (child) {
- return child.tagName !== 'desc';
- }).map(function (child) {
- return Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["parseElement"])(child);
- }),
- description: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElement"])(xml, 'desc'),
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(xml),
- ordered: Object(src_app_utils_js_utils__WEBPACK_IMPORTED_MODULE_2__["isBoolString"])(xml.getAttribute('ordered'))
- });
- }
- }]);
- return ListChangeParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- ListChangeParser = ListChangeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('listChange', ListChangeParser_1)], ListChangeParser);
- var ProfileDescParser = ProfileDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA122) {
- _inherits(ProfileDescParser, _basic_parsers__WEBPA122);
- var _super298 = _createSuper(ProfileDescParser);
- function ProfileDescParser() {
- _classCallCheck(this, ProfileDescParser);
- return _super298.apply(this, arguments);
- }
- _createClass(ProfileDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ProfileDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ProfileDesc"],
- "abstract": Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'abstract'),
- calendarDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'calendarDesc'),
- correspDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'correspDesc'),
- creation: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'creation'),
- handNotes: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'handNotes'),
- langUsage: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'langUsage'),
- listTranspose: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'listTranspose'),
- particDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'particDesc'),
- settingDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'settingDesc'),
- textClass: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'textClass'),
- textDesc: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'textDesc')
- });
- }
- }]);
- return ProfileDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- ProfileDescParser = ProfileDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('profileDesc', ProfileDescParser_1)], ProfileDescParser);
- var RevisionDescParser = RevisionDescParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA123) {
- _inherits(RevisionDescParser, _basic_parsers__WEBPA123);
- var _super299 = _createSuper(RevisionDescParser);
- function RevisionDescParser() {
- _classCallCheck(this, RevisionDescParser);
- return _super299.apply(this, arguments);
- }
- _createClass(RevisionDescParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(RevisionDescParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["RevisionDesc"],
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["complexElements"])(xml.childNodes, true).map(function (child) {
- return Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["parseElement"])(child);
- }),
- status: xml.getAttribute('status')
- });
- }
- }]);
- return RevisionDescParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"]);
- RevisionDescParser = RevisionDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('revisionDesc', RevisionDescParser_1)], RevisionDescParser);
- /***/
- },
- /***/
- "HFpj":
- /*!*********************************************************!*\
- !*** ./src/app/components/ms-part/ms-part.component.ts ***!
- \*********************************************************/
- /*! exports provided: MsPartComponent */
- /***/
- function HFpj(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsPartComponent", function () {
- return MsPartComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../ui-components/ms-desc-section/ms-desc-section.component */
- "WyXU");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../ms-identifier/ms-identifier.component */
- "Ie87");
- /* harmony import */
- var _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../ms-contents/ms-contents.component */
- "xQyG");
- /* harmony import */
- var _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../phys-desc/phys-desc.component */
- "xZwa");
- /* harmony import */
- var _history_history_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../history/history.component */
- "6qKx");
- /* harmony import */
- var _additional_additional_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../additional/additional.component */
- "uIHG");
- function MsPartComponent_div_2_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 11);
- }
- if (rf & 2) {
- var par_r9 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r9);
- }
- }
- function MsPartComponent_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsPartComponent_div_2_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.pEl);
- }
- }
- function MsPartComponent_ng_container_3_div_1_ng_container_4_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 11);
- }
- if (rf & 2) {
- var title_r19 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", title_r19);
- }
- }
- function MsPartComponent_ng_container_3_div_1_ng_container_4_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- var _c0 = function _c0(a0) {
- return [a0];
- };
- function MsPartComponent_ng_container_3_div_1_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsPartComponent_ng_container_3_div_1_ng_container_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsPartComponent_ng_container_3_div_1_ng_container_4_span_2_Template, 2, 0, "span", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var titles_r15 = ctx.$implicit;
- var i_r16 = ctx.index;
- var head_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", titles_r15);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r16 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, head_r10.title.length - 1));
- }
- }
- function MsPartComponent_ng_container_3_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsPartComponent_ng_container_3_div_1_ng_container_4_Template, 3, 4, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var head_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "title")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", head_r10.title);
- }
- }
- function MsPartComponent_ng_container_3_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var head_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "origPlace")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", head_r10.origPlace);
- }
- }
- function MsPartComponent_ng_container_3_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var head_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "origDate")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", head_r10.origDate);
- }
- }
- function MsPartComponent_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsPartComponent_ng_container_3_div_1_Template, 5, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsPartComponent_ng_container_3_div_2_Template, 5, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsPartComponent_ng_container_3_div_3_Template, 5, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var head_r10 = ctx.ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", head_r10.title.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", head_r10.origPlace);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", head_r10.origDate);
- }
- }
- function MsPartComponent_evt_ms_identifier_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-identifier", 12);
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data.msIdentifier);
- }
- }
- function MsPartComponent_evt_ms_contents_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-contents", 12);
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r3.data.msContents);
- }
- }
- function MsPartComponent_evt_phys_desc_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-phys-desc", 12);
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r4.data.physDesc);
- }
- }
- function MsPartComponent_evt_history_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-history", 12);
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r5.data.history);
- }
- }
- function MsPartComponent_evt_additional_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-additional", 12);
- }
- if (rf & 2) {
- var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r6.data.additional);
- }
- }
- function MsPartComponent_ng_container_9_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-ms-part", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var p_r24 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", p_r24);
- }
- }
- var MsPartComponent = function MsPartComponent() {
- _classCallCheck(this, MsPartComponent);
- };
- MsPartComponent.ɵfac = function MsPartComponent_Factory(t) {
- return new (t || MsPartComponent)();
- };
- MsPartComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: MsPartComponent,
- selectors: [["evt-ms-part"]],
- inputs: {
- data: "data"
- },
- decls: 10,
- vars: 10,
- consts: [[1, "msPart"], [3, "label", "underline"], ["class", "flex-container", 4, "ngIf"], [4, "ngIf"], [3, "data", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "flex-container"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "data"]],
- template: function MsPartComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsPartComponent_div_2_Template, 5, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsPartComponent_ng_container_3_Template, 4, 3, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsPartComponent_evt_ms_identifier_4_Template, 1, 1, "evt-ms-identifier", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsPartComponent_evt_ms_contents_5_Template, 1, 1, "evt-ms-contents", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsPartComponent_evt_phys_desc_6_Template, 1, 1, "evt-phys-desc", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, MsPartComponent_evt_history_7_Template, 1, 1, "evt-history", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, MsPartComponent_evt_additional_8_Template, 1, 1, "evt-additional", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, MsPartComponent_ng_container_9_Template, 4, 1, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "msPart")("underline", false);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.pEl.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.head);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msIdentifier);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msContents);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.physDesc);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.history);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.additional);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.msParts);
- }
- },
- directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__["MsIdentifierComponent"], _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_8__["MsContentsComponent"], _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_9__["PhysDescComponent"], _history_history_component__WEBPACK_IMPORTED_MODULE_10__["HistoryComponent"], _additional_additional_component__WEBPACK_IMPORTED_MODULE_11__["AdditionalComponent"], MsPartComponent],
- styles: [".msPart[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 500px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 640px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1000px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLXBhcnQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO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RlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICAgIH1cbiAgICAgIFxuICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgfVxuIH1cbiJdfQ== */"]
- });
- MsPartComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsPart"])], MsPartComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsPartComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-ms-part',
- templateUrl: './ms-part.component.html',
- styleUrls: ['./ms-part.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "HJJq":
- /*!*************************************************************!*\
- !*** ./src/app/components/paragraph/paragraph.component.ts ***!
- \*************************************************************/
- /*! exports provided: ParagraphComponent */
- /***/
- function HJJq(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ParagraphComponent", function () {
- return ParagraphComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../directives/highlight.directive */
- "CmGG");
- function ParagraphComponent_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r0.data.n);
- }
- }
- function ParagraphComponent_evt_content_viewer_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 4);
- }
- if (rf & 2) {
- var el_r2 = ctx.$implicit;
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r2)("editionLevel", ctx_r1.editionLevel)("itemsToHighlight", ctx_r1.itemsToHighlight)("itemsLemsToHighlight", ctx_r1.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r1.itemsIperlemsToHighlight)("evtHighlight", ctx_r1.highlightData)("textFlow", ctx_r1.textFlow);
- }
- }
- var ParagraphComponent = function ParagraphComponent() {
- _classCallCheck(this, ParagraphComponent);
- };
- ParagraphComponent.ɵfac = function ParagraphComponent_Factory(t) {
- return new (t || ParagraphComponent)();
- };
- ParagraphComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: ParagraphComponent,
- selectors: [["evt-paragraph"]],
- inputs: {
- data: "data"
- },
- decls: 3,
- vars: 3,
- consts: [[3, "evtHtmlAttributes"], ["class", "p-num", 4, "ngIf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight", "textFlow", 4, "ngFor", "ngForOf"], [1, "p-num"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight", "textFlow"]],
- template: function ParagraphComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "p", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ParagraphComponent_span_1_Template, 2, 1, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ParagraphComponent_evt_content_viewer_2_Template, 1, 7, "evt-content-viewer", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.n);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__["HighlightDirective"]],
- styles: [".p-num[_ngcontent-%COMP%] {\n font-size: 0.8em;\n padding-right: 0.3rem;\n}\n[data-theme=restore][_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .p-num[_ngcontent-%COMP%] {\n color: #783a3a;\n}\n[data-theme=neutral][_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .p-num[_ngcontent-%COMP%] {\n color: #555;\n}\n[data-theme=modern][_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .p-num[_ngcontent-%COMP%] {\n color: #607d8b;\n}\n[data-theme=classic][_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .p-num[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .p-num[_ngcontent-%COMP%] {\n color: #8f776a;\n}\n.p-num[_ngcontent-%COMP%]::after {\n content: \".\";\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhcmFncmFwaC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIj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1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"]
- });
- ParagraphComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Paragraph"])], ParagraphComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ParagraphComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-paragraph',
- templateUrl: './paragraph.component.html',
- styleUrls: ['./paragraph.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "HPGp":
- /*!*************************************************!*\
- !*** ./src/app/components/gap/gap.component.ts ***!
- \*************************************************/
- /*! exports provided: GapComponent */
- /***/
- function HPGp(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GapComponent", function () {
- return GapComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! src/app/models/evt-models */
- "5c0l");
- /* harmony import */
- var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! src/app/services/component-register.service */
- "d25s");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- var GapComponent = /*#__PURE__*/function () {
- function GapComponent(translateService) {
- _classCallCheck(this, GapComponent);
- this.translateService = translateService;
- }
- _createClass(GapComponent, [{
- key: "content",
- get: function get() {
- if (!!this.data.unit && !!this.data.quantity) {
- switch (this.data.unit) {
- case 'char':
- return "[".concat('.'.repeat(this.data.quantity), "]");
- case 'line':
- return '<span class="line-gap"></span>'.repeat(this.data.quantity);
- case 'word':
- return "[".concat('... '.repeat(this.data.quantity).slice(0, -1), "]");
- default:
- return '[***]';
- }
- } else if (this.data.extent) {
- return "[".concat(this.data.extent, "]");
- }
- return '[***]';
- }
- }, {
- key: "gapDescription$",
- get: function get() {
- var _this53 = this;
- return this.translateService.get([this.data.unit, "".concat(this.data.unit, "s"), 'missingS', 'missingP', this.data.extent, this.data.reason]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (translations) {
- var desc = '';
- if (!!_this53.data.unit || !!_this53.data.quantity) {
- var unit = _this53.data.quantity > 1 ? translations["".concat(_this53.data.unit, "s")] : translations[_this53.data.unit];
- var missing = _this53.data.quantity > 1 ? translations.missingP : translations.missingS;
- desc = _this53.data.quantity ? "".concat(_this53.data.quantity, " ").concat(unit, " ").concat(missing) : "".concat(unit);
- } else if (_this53.data.extent) {
- desc = translations[_this53.data.extent];
- }
- desc += (_this53.data.reason ? " (".concat(translations[_this53.data.reason], ")") : '').trim();
- return translations[_this53.data.extent] === desc ? '' : desc;
- }));
- }
- }]);
- return GapComponent;
- }();
- GapComponent.ɵfac = function GapComponent_Factory(t) {
- return new (t || GapComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__["TranslateService"]));
- };
- GapComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: GapComponent,
- selectors: [["evt-gap"]],
- inputs: {
- data: "data"
- },
- decls: 2,
- vars: 7,
- consts: [["triggers", "mouseenter:mouseleave", 3, "innerHTML", "ngbPopover"]],
- template: function GapComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("gap ", ctx.data["class"], "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("innerHTML", ctx.content, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeHtml"])("ngbPopover", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 5, ctx.gapDescription$));
- }
- },
- directives: [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbPopover"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]],
- styles: [".gap[_ngcontent-%COMP%]:hover {\n background: #ffffcc;\n}\n\n .gap:hover .line-gap {\n background: #ffffcc;\n}\n\n .gap .line-gap {\n display: block;\n position: relative;\n}\n\n .gap .line-gap:before {\n content: \"[\";\n}\n\n .gap .line-gap:after {\n content: \"]\";\n position: absolute;\n right: 0;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2dhcC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLSTtFQUNJLG1CQUphO0FBQXJCOztBQVFJO0VBQ0ksbUJBVGE7QUFJckI7O0FBT0k7RUFDSSxjQUFBO0VBQ0Esa0JBQUE7QUFMUjs7QUFNUTtFQUNJLFlBQUE7QUFKWjs7QUFNUTtFQUNJLFlBQUE7RUFDQSxrQkFBQTtFQUNBLFFBQUE7QUFKWiIsImZpbGUiOiJnYXAuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0ICcuLi8uLi8uLi9hc3NldHMvc2Nzcy9jb2xvcnMnO1xuXG4kZ2FwSG92ZXJCYWNrZ3JvdW5kOiBnZXQtY29sb3IoaGlnaGxpZ2h0Q29sb3IpO1xuXG4uZ2FwIHtcbiAgICAmOmhvdmVyIHtcbiAgICAgICAgYmFja2dyb3VuZDogJGdhcEhvdmVyQmFja2dyb3VuZDtcbiAgICB9XG59XG46Om5nLWRlZXAgLmdhcCB7XG4gICAgJjpob3ZlciAubGluZS1nYXAge1xuICAgICAgICBiYWNrZ3JvdW5kOiAkZ2FwSG92ZXJCYWNrZ3JvdW5kO1xuICAgIH1cbiAgICAubGluZS1nYXAge1xuICAgICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgICAgICAmOmJlZm9yZSB7XG4gICAgICAgICAgICBjb250ZW50OiBcIltcIjtcbiAgICAgICAgfVxuICAgICAgICAmOmFmdGVyIHtcbiAgICAgICAgICAgIGNvbnRlbnQ6IFwiXVwiO1xuICAgICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgICAgICAgICAgcmlnaHQ6IDA7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0= */"]
- });
- GapComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Gap"])], GapComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](GapComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-gap',
- templateUrl: './gap.component.html',
- styleUrls: ['./gap.component.scss']
- }]
- }], function () {
- return [{
- type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__["TranslateService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "HiHV":
- /*!********************************************************!*\
- !*** ./src/app/ui-components/panel/panel.component.ts ***!
- \********************************************************/
- /*! exports provided: PanelComponent */
- /***/
- function HiHV(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PanelComponent", function () {
- return PanelComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _button_button_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../button/button.component */
- "UjKN");
- var _c0 = function _c0() {
- return {
- icon: "times"
- };
- };
- function PanelComponent_div_1_evt_button_6_Template(rf, ctx) {
- if (rf & 1) {
- var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function PanelComponent_div_1_evt_button_6_Template_evt_button_btnClick_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r4);
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- return ctx_r3.emitHide();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](1, _c0));
- }
- }
- function PanelComponent_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "nav", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](3, 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](5, 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, PanelComponent_div_1_evt_button_6_Template, 1, 2, "evt-button", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.closable);
- }
- }
- function PanelComponent_div_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](1, 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- }
- var _c1 = [[["", "content", ""]], [["", "secondary-content", ""]], [["", "header-left", ""]], [["", "header-right", ""]], [["", "footer", ""]]];
- var _c2 = ["[content]", "[secondary-content]", "[header-left]", "[header-right]", "[footer]"];
- var PanelComponent = /*#__PURE__*/function () {
- function PanelComponent() {
- _classCallCheck(this, PanelComponent);
- this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.scrollContent = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- _createClass(PanelComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this.comparable = this.comparable === undefined ? false : this.comparable;
- this.secondary = this.secondary === undefined ? false : this.secondary;
- this.closable = this.closable === undefined ? false : this.closable;
- this.hideHeader = this.hideHeader === undefined ? false : this.hideHeader;
- this.hideFooter = this.hideFooter === undefined ? false : this.hideFooter;
- this.showSecondaryContent = this.showSecondaryContent === undefined ? false : this.showSecondaryContent;
- }
- }, {
- key: "isSecondaryContentOpened",
- value: function isSecondaryContentOpened() {
- return this.showSecondaryContent;
- }
- }, {
- key: "emitHide",
- value: function emitHide() {
- this.hide.emit(true);
- }
- }, {
- key: "onScroll",
- value: function onScroll(event) {
- event.preventDefault();
- this.scrollContent.emit(event);
- }
- }]);
- return PanelComponent;
- }();
- PanelComponent.ɵfac = function PanelComponent_Factory(t) {
- return new (t || PanelComponent)();
- };
- PanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: PanelComponent,
- selectors: [["evt-panel"]],
- inputs: {
- comparable: "comparable",
- secondary: "secondary",
- closable: "closable",
- hideHeader: "hideHeader",
- hideFooter: "hideFooter",
- showSecondaryContent: "showSecondaryContent"
- },
- outputs: {
- hide: "hide",
- scrollContent: "scrollContent"
- },
- ngContentSelectors: _c2,
- decls: 7,
- vars: 16,
- consts: [[1, "panel", "card"], ["class", "panel-header header card-header", 4, "ngIf"], [1, "panel-content", "content", "card-content", 3, "scroll"], [1, "secondary-content", "card-content"], ["class", "footer card-footer", 4, "ngIf"], [1, "panel-header", "header", "card-header"], [1, "navbar"], ["additionalClasses", "rounded-circle btn-close", 3, "iconLeft", "btnClick", 4, "ngIf"], ["additionalClasses", "rounded-circle btn-close", 3, "iconLeft", "btnClick"], [1, "footer", "card-footer"]],
- template: function PanelComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](_c1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PanelComponent_div_1_Template, 7, 1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("scroll", function PanelComponent_Template_div_scroll_2_listener($event) {
- return ctx.onScroll($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](5, 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, PanelComponent_div_6_Template, 2, 0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("comparable", ctx.comparable)("secondary", ctx.secondary);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.hideHeader);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("noFooter", ctx.hideFooter)("noHeader", ctx.hideHeader)("p-4", !ctx.hideHeader || !ctx.hideFooter);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("open", ctx.isSecondaryContentOpened())("noFooter", ctx.hideFooter);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.hideFooter);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbNavbar"], _button_button_component__WEBPACK_IMPORTED_MODULE_3__["ButtonComponent"]],
- styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.panel[_ngcontent-%COMP%] {\n white-space: normal;\n position: relative;\n height: 100%;\n}\n\n.panel[_ngcontent-%COMP%]:not(.comparable) {\n width: 100%;\n}\n\n.panel.comparable[_ngcontent-%COMP%] {\n width: 100%;\n height: 100%;\n}\n\n.panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n height: 42px;\n min-height: 42px;\n font-size: 16px;\n padding: 6px;\n}\n\n.panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%], .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%] {\n padding: 0;\n}\n\n.panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n padding: 3px 6px 6px;\n}\n\n.panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n min-height: -o-calc(100% - 84px);\n min-height: calc(100% - 84px);\n height: -o-calc(100% - 84px);\n height: calc(100% - 84px);\n padding: 0.4rem;\n overflow: auto;\n font-size: 18px;\n}\n\n.panel[_ngcontent-%COMP%] .content.noHeader[_ngcontent-%COMP%] {\n min-height: -o-calc(100% - 42px);\n min-height: calc(100% - 42px);\n height: -o-calc(100% - 42px);\n height: calc(100% - 42px);\n}\n\n.panel[_ngcontent-%COMP%] .content.noFooter[_ngcontent-%COMP%] {\n min-height: -o-calc(100% - 42px);\n min-height: calc(100% - 42px);\n height: -o-calc(100% - 42px);\n height: calc(100% - 42px);\n}\n\n.panel[_ngcontent-%COMP%] .content.noHeader.noFooter[_ngcontent-%COMP%] {\n min-height: -o-calc(100%);\n min-height: calc(100%);\n height: -o-calc(100%);\n height: calc(100%);\n}\n\n.panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n text-align: left;\n margin-top: 42px;\n margin-bottom: 42px;\n display: none;\n position: absolute;\n z-index: 10;\n padding: 20px;\n overflow-y: auto;\n overflow-x: hidden;\n top: 2px;\n right: 3px;\n left: 3px;\n background: rgba(255, 255, 255, 0.95);\n min-height: -o-calc(calc(100% - 84px - 4px));\n min-height: calc(calc(100% - 84px - 4px));\n height: -o-calc(calc(100% - 84px - 4px));\n height: calc(calc(100% - 84px - 4px));\n width: -o-calc(calc(100% - 5px));\n width: calc(calc(100% - 5px));\n}\n\n.panel[_ngcontent-%COMP%] .secondary-content.noFooter[_ngcontent-%COMP%] {\n min-height: -o-calc(calc(100% - 42px - 4px));\n min-height: calc(calc(100% - 42px - 4px));\n height: -o-calc(calc(100% - 42px - 4px));\n height: calc(calc(100% - 42px - 4px));\n}\n\n.panel[_ngcontent-%COMP%] .secondary-content.open[_ngcontent-%COMP%] {\n display: block;\n}\n\n.panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] [_ngcontent-%COMP%]:ng-deep p[_ngcontent-%COMP%] {\n margin-bottom: 0;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] {\n color: #462e2e;\n background-color: #fff;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #0a4553;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border: 2px solid #0a4553;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #783a3a;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border-color: #783a3a;\n}\n\n[data-theme=restore][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] {\n color: #000;\n background-color: #fff;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #45535a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border: 2px solid #45535a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(255, 255, 255, 0.95);\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #555;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border-color: #555;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(255, 255, 255, 0.95);\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] {\n color: #000;\n background-color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #263238;\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border: 2px solid #263238;\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #607d8b;\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border-color: #607d8b;\n}\n\n[data-theme=modern][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] {\n color: #000;\n background-color: #fff;\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #362d28;\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border: 2px solid #362d28;\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .header[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #8f776a;\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] {\n border-color: #8f776a;\n}\n\n[data-theme=classic][_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .panel.secondary[_ngcontent-%COMP%] .secondary-content[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.95);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uLy4uL3BhbmVsLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX21peGlucy5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJCQTtFQUNJ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fVxuICAgICAgICAmLm9wZW4ge1xuICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgIH1cbiAgICAgICAgOm5nLWRlZXAgcCB7XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICB9XG4gICAgfVxuICAgIFxuICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykge1xuICAgICAgICBjb2xvcjogdGhlbWVkKCdwYW5lbFRleHRDb2xvcicpO1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0aGVtZWQoJ3BhbmVsQmFja2dyb3VuZENvbG9yJyk7XG4gICAgICAgIC5oZWFkZXIsXG4gICAgICAgIC5mb290ZXIge1xuICAgICAgICAgICAgY29sb3I6IHRoZW1lZCgnYmFzZUNvbG9yTGlnaHQnKTtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRoZW1lZCgnYmFzZUNvbG9yRGFyaycpO1xuICAgICAgICB9XG4gICAgICAgIC5jb250ZW50IHtcbiAgICAgICAgICAgIGJvcmRlcjogJG1haW5Db250YWluZXItYm9yZGVyLXdpZHRoIHNvbGlkIHRoZW1lZCgnYmFzZUNvbG9yRGFyaycpO1xuICAgICAgICB9XG4gICAgICAgIC5zZWNvbmRhcnktY29udGVudCB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiB0aGVtZWQoJ3BhbmVsU2Vjb25kYXJ5QmFja2dyb3VuZENvbG9yJyk7XG4gICAgICAgIH1cbiAgICAgICAgJi5zZWNvbmRhcnkge1xuICAgICAgICAgICAgLmhlYWRlcixcbiAgICAgICAgICAgIC5mb290ZXIge1xuICAgICAgICAgICAgICAgIGNvbG9yOiB0aGVtZWQoJ3NlY29uZGFyeUNvbG9yTGlnaHQnKTtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0aGVtZWQoJ3NlY29uZGFyeUNvbG9yRGFyaycpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICA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RoZW1lcykge1xuICAgICAgICAvLyAgY29sb3I6IHRoZW1lZCgnYmFzZUNvbG9yRGFyaycpO1xuICAgIC8vICB9XG4vLyAgfVxuLy8gYGBgXG5AbWl4aW4gdGhlbWlmeVNlbGYoJHRoZW1lczogJHRoZW1lcykge1xuICAgIEBlYWNoICR0aGVtZSwgJG1hcCBpbiAkdGhlbWVzIHtcbiAgICAgICAgICZbZGF0YS10aGVtZT1cIiN7JHRoZW1lfVwiXSB7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiAoKSAhZ2xvYmFsO1xuICAgICAgICAgICAgQGVhY2ggJGtleSwgJHN1Ym1hcCBpbiAkbWFwIHtcbiAgICAgICAgICAgICAgICAkdmFsdWU6IG1hcC1nZXQobWFwLWdldCgkdGhlbWVzLCAkdGhlbWUpLCAnI3ska2V5fScpO1xuICAgICAgICAgICAgICAgICR0aGVtZS1tYXA6IG1hcC1tZXJnZSgkdGhlbWUtbWFwLCAoJGtleTogJHZhbHVlKSkgIWdsb2JhbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBjb250ZW50O1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogbnVsbCAhZ2xvYmFsO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PanelComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-panel',
- templateUrl: './panel.component.html',
- styleUrls: ['./panel.component.scss']
- }]
- }], null, {
- comparable: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- secondary: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- closable: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- hideHeader: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- hideFooter: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- showSecondaryContent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- hide: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }],
- scrollContent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "I7fL":
- /*!*********************************************************!*\
- !*** ./src/app/services/annotator/annotator.service.ts ***!
- \*********************************************************/
- /*! exports provided: AnnotatorService */
- /***/
- function I7fL(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AnnotatorService", function () {
- return AnnotatorService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- var AnnotatorService = /*#__PURE__*/function () {
- function AnnotatorService() {
- _classCallCheck(this, AnnotatorService);
- this.textSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
- }
- _createClass(AnnotatorService, [{
- key: "selectedText",
- value: function selectedText() {
- this.textSelection$.next(window.getSelection());
- }
- }]);
- return AnnotatorService;
- }();
- AnnotatorService.ɵfac = function AnnotatorService_Factory(t) {
- return new (t || AnnotatorService)();
- };
- AnnotatorService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: AnnotatorService,
- factory: AnnotatorService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AnnotatorService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "IP0A":
- /*!***********************************************************!*\
- !*** ./src/app/services/editorial-conventions.service.ts ***!
- \***********************************************************/
- /*! exports provided: EditorialConventionsService */
- /***/
- function IP0A(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EditorialConventionsService", function () {
- return EditorialConventionsService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../app.config */
- "aR35");
- var EditorialConventionsService = /*#__PURE__*/function () {
- function EditorialConventionsService() {
- _classCallCheck(this, EditorialConventionsService);
- this.defaultLayouts = {
- addition: {
- diplomatic: {
- style: {
- 'background-color': '#bdecb6'
- }
- }
- },
- additionAbove: {
- interpretative: {
- pre: '\\',
- post: '/'
- },
- diplomatic: {
- style: {
- 'vertical-align': 'super',
- 'font-size': '.7rem',
- 'background-color': '#bdecb6'
- }
- }
- },
- additionBelow: {
- interpretative: {
- pre: '/',
- post: '\\'
- },
- diplomatic: {
- style: {
- 'vertical-align': 'bottom',
- 'font-size': '.7rem',
- 'background-color': '#bdecb6'
- }
- }
- },
- additionInline: {
- interpretative: {
- pre: '|',
- post: '|'
- },
- diplomatic: {
- style: {
- 'background-color': '#bdecb6'
- }
- }
- },
- additionLeft: {
- interpretative: {
- post: '| |',
- style: {
- 'margin-right': '-0.3rem'
- }
- },
- diplomatic: {
- style: {
- 'margin-left': '-1rem',
- 'background-color': '#bdecb6'
- }
- }
- },
- additionRight: {
- interpretative: {
- pre: '| |',
- style: {
- 'margin-left': '-0.3rem'
- }
- },
- diplomatic: {
- style: {
- 'background-color': '#bdecb6'
- }
- }
- },
- damage: {
- diplomatic: {
- style: {
- 'background-color': 'rgba(193, 193, 193, 0.7)'
- }
- }
- },
- deletion: {
- diplomatic: {
- style: {
- 'background-color': '#fdd3d1',
- 'text-decoration': 'line-through'
- }
- },
- interpretative: {
- pre: '[[',
- post: ']]'
- }
- },
- sicCrux: {
- diplomatic: {
- pre: '†',
- post: '†'
- },
- interpretative: {
- pre: '†',
- post: '†'
- },
- critical: {
- pre: '†',
- post: '†'
- }
- },
- surplus: {
- diplomatic: {
- pre: '{',
- post: '}',
- style: {
- 'background-color': '#f6b26a'
- }
- }
- }
- };
- }
- _createClass(EditorialConventionsService, [{
- key: "getLayouts",
- value: function getLayouts(name, attributes, defaultsKey) {
- var _a, _b;
- var defaultKeys = this.defaultLayouts[defaultsKey];
- var layouts = defaultKeys;
- var externalLayouts = (_b = (_a = this._getExternalConfigs().find(function (c) {
- return c.element === name && (!attributes || Object.keys(attributes).concat(Object.keys(c.attributes)).every(function (k) {
- return attributes[k] === c.attributes[k];
- }));
- })) === null || _a === void 0 ? void 0 : _a.layouts) !== null && _b !== void 0 ? _b : undefined;
- if (externalLayouts) {
- Object.keys(externalLayouts).forEach(function (editionLevel) {
- layouts = Object.assign(Object.assign({}, defaultKeys || {}), _defineProperty({}, editionLevel, Object.assign(Object.assign({}, defaultKeys ? defaultKeys[editionLevel] : {}), externalLayouts[editionLevel])));
- });
- }
- return layouts;
- }
- }, {
- key: "_getExternalConfigs",
- value: function _getExternalConfigs() {
- var customs = _app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.editorialConventions;
- return Object.keys(customs).map(function (key) {
- var _a, _b, _c, _d, _e;
- return {
- element: (_b = (_a = customs[key].markup) === null || _a === void 0 ? void 0 : _a.element) !== null && _b !== void 0 ? _b : key,
- attributes: (_d = (_c = customs[key].markup) === null || _c === void 0 ? void 0 : _c.attributes) !== null && _d !== void 0 ? _d : {},
- layouts: (_e = customs[key].layouts) !== null && _e !== void 0 ? _e : {}
- };
- });
- }
- }]);
- return EditorialConventionsService;
- }();
- EditorialConventionsService.ɵfac = function EditorialConventionsService_Factory(t) {
- return new (t || EditorialConventionsService)();
- };
- EditorialConventionsService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: EditorialConventionsService,
- factory: EditorialConventionsService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EditorialConventionsService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "Ie87":
- /*!*********************************************************************!*\
- !*** ./src/app/components/ms-identifier/ms-identifier.component.ts ***!
- \*********************************************************************/
- /*! exports provided: MsIdentifierComponent */
- /***/
- function Ie87(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsIdentifierComponent", function () {
- return MsIdentifierComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../ui-components/ms-desc-section/ms-desc-section.component */
- "WyXU");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _identifier_identifier_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../identifier/identifier.component */
- "FSWR");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function MsIdentifierComponent_ng_container_3_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var m_r4 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", m_r4);
- }
- }
- function MsIdentifierComponent_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsIdentifierComponent_ng_container_3_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "msName")("additionalClass", "msName")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.msName);
- }
- }
- function MsIdentifierComponent_ng_container_4_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "institution")("additionalClass", "institution")("inlineLabel", true);
- }
- }
- function MsIdentifierComponent_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsIdentifierComponent_ng_container_4_div_1_Template, 2, 3, "div", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-content-viewer", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r1.data == null ? null : ctx_r1.data.institution);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r1.data == null ? null : ctx_r1.data.institution);
- }
- }
- function MsIdentifierComponent_ng_container_6_evt_ms_desc_section_3_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 12);
- }
- if (rf & 2) {
- var nt_r9 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", nt_r9);
- }
- }
- function MsIdentifierComponent_ng_container_6_evt_ms_desc_section_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsIdentifierComponent_ng_container_6_evt_ms_desc_section_3_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 17);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var a_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inlineLabel", true)("additionalClass", "itemElement");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", a_r6.noteEl);
- }
- }
- function MsIdentifierComponent_ng_container_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-identifier", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsIdentifierComponent_ng_container_6_evt_ms_desc_section_3_Template, 2, 3, "evt-ms-desc-section", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var a_r6 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "altIdentifier")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", a_r6)("listClass", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", a_r6.noteEl.length > 0);
- }
- }
- var MsIdentifierComponent = function MsIdentifierComponent() {
- _classCallCheck(this, MsIdentifierComponent);
- };
- MsIdentifierComponent.ɵfac = function MsIdentifierComponent_Factory(t) {
- return new (t || MsIdentifierComponent)();
- };
- MsIdentifierComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: MsIdentifierComponent,
- selectors: [["evt-ms-identifier"]],
- inputs: {
- data: "data"
- },
- decls: 7,
- vars: 6,
- consts: [[1, "msIdentifier"], [3, "label", "underline"], [1, "flex-container"], [4, "ngIf"], [3, "data"], [4, "ngFor", "ngForOf"], [1, "flex-item-label"], [3, "label", "additionalClass", "inlineLabel"], [1, "flex-item-information"], ["class", "projectInfo-block", 3, "content", 4, "ngFor", "ngForOf"], [1, "projectInfo-block", 3, "content"], ["class", "flex-item-label", 4, "ngIf"], [3, "content"], [3, "label", "inlineLabel"], [3, "data", "listClass"], [3, "inlineLabel", "additionalClass", 4, "ngIf"], [3, "inlineLabel", "additionalClass"], [3, "content", 4, "ngFor", "ngForOf"]],
- template: function MsIdentifierComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsIdentifierComponent_ng_container_3_Template, 5, 4, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsIdentifierComponent_ng_container_4_Template, 4, 2, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-identifier", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsIdentifierComponent_ng_container_6_Template, 4, 5, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "msIdentifier")("underline", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.msName.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.institution);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx.data);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.altIdentifier);
- }
- },
- directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _identifier_identifier_component__WEBPACK_IMPORTED_MODULE_6__["IdentifierComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"]],
- styles: [".msIdentifier[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.projectInfo-block[_ngcontent-%COMP%] {\n display: block;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 1326px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWlkZW50aWZpZXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksY0FBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0YiLCJmaWxlIjoibXMtaWRlbnRpZmllci5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5tc0lkZW50aWZpZXIge1xuICAgIG1hcmdpbi1ib3R0b206IDJyZW07XG59XG5cbi5wcm9qZWN0SW5mby1ibG9jayB7XG4gICAgZGlzcGxheTogYmxvY2s7XG59XG5cbi5mbGV4LWNvbnRhaW5lciB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICAgIGZsZXgtd3JhcDogd3JhcDtcbn1cblxuLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbn1cblxuLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbiAgICBtYXJnaW4tYm90dG9tOiAwLjdyZW07XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiAxMzI2cHgpIHsgXG4gICAgLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICAgIH1cbiAgICAgIFxuICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgfVxufVxuIl19 */"]
- });
- MsIdentifierComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsIdentifier"])], MsIdentifierComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsIdentifierComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-ms-identifier',
- templateUrl: './ms-identifier.component.html',
- styleUrls: ['./ms-identifier.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "Ilzk":
- /*!*******************************************************!*\
- !*** ./src/app/components/extent/extent.component.ts ***!
- \*******************************************************/
- /*! exports provided: ExtentComponent */
- /***/
- function Ilzk(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ExtentComponent", function () {
- return ExtentComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../ui-components/header-section/header-section.component */
- "iRdJ");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function ExtentComponent_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 4);
- }
- if (rf & 2) {
- var el_r2 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r2);
- }
- }
- function ExtentComponent_evt_header_section_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ExtentComponent_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "extent")("additionalClass", "extent")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.content);
- }
- }
- var ExtentComponent = function ExtentComponent() {
- _classCallCheck(this, ExtentComponent);
- };
- ExtentComponent.ɵfac = function ExtentComponent_Factory(t) {
- return new (t || ExtentComponent)();
- };
- ExtentComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: ExtentComponent,
- selectors: [["evt-extent"]],
- inputs: {
- data: "data"
- },
- decls: 1,
- vars: 1,
- consts: [[3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]],
- template: function ExtentComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ExtentComponent_evt_header_section_0_Template, 3, 4, "evt-header-section", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) > 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__["HeaderSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJleHRlbnQuY29tcG9uZW50LnNjc3MifQ== */"]
- });
- ExtentComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Extent"])], ExtentComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ExtentComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-extent',
- templateUrl: './extent.component.html',
- styleUrls: ['./extent.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "Izqa":
- /*!*********************************************************************!*\
- !*** ./src/app/view-modes/text-versions/text-versions.component.ts ***!
- \*********************************************************************/
- /*! exports provided: TextVersionsComponent */
- /***/
- function Izqa(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TextVersionsComponent", function () {
- return TextVersionsComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! angular-gridster2 */
- "Ljk9");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! src/app/services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../panels/text-panel/text-panel.component */
- "CHR5");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/button/button.component */
- "UjKN");
- /* harmony import */
- var _panels_version_panel_version_panel_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../panels/version-panel/version-panel.component */
- "DBF2");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- var _c0 = ["versionsPanel"];
- function TextVersionsComponent_gridster_8_gridster_item_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "evt-version-panel", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function TextVersionsComponent_gridster_8_gridster_item_1_Template_evt_version_panel_hide_1_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);
- var i_r4 = ctx.index;
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- return ctx_r5.removeVersion(i_r4);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var version_r3 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", version_r3.itemConfig);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("version", version_r3.label);
- }
- }
- function TextVersionsComponent_gridster_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, TextVersionsComponent_gridster_8_gridster_item_1_Template, 2, 2, "gridster-item", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx_r1.versionsOptions);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.getVersions());
- }
- }
- var TextVersionsComponent = /*#__PURE__*/function () {
- function TextVersionsComponent(evtStatusService) {
- _classCallCheck(this, TextVersionsComponent);
- this.evtStatusService = evtStatusService;
- this.versions = [];
- this.options = {};
- this.textPanelItem = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 0
- };
- this.versionsPanelItem = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 1
- };
- this.versionsOptions = {};
- this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref41) {
- var page = _ref41.page;
- return page.id;
- }));
- this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref42) {
- var editionLevels = _ref42.editionLevels;
- return editionLevels[0];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- _createClass(TextVersionsComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this.initGridster();
- this.initPageAndVersions();
- }
- }, {
- key: "changePage",
- value: function changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- }, {
- key: "changeEditionLevel",
- value: function changeEditionLevel(editionLevel) {
- this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
- }
- }, {
- key: "getVersions",
- value: function getVersions() {
- return this.versions;
- }
- }, {
- key: "addVersion",
- value: function addVersion() {
- var newVersion = {
- label: (this.versions.length + 1).toString(),
- itemConfig: {
- cols: 1,
- rows: 1,
- y: 0,
- x: this.versions.length + 1
- }
- };
- this.versions.push(newVersion); // TODO: TEMP
- this.updateGridsterOptions(); // TODO: Come gestiamo la rotta nel caso di più versioni selezionate?
- }
- }, {
- key: "removeVersion",
- value: function removeVersion(index) {
- this.versions.splice(index, 1);
- this.updateGridsterOptions();
- }
- }, {
- key: "initPageAndVersions",
- value: function initPageAndVersions() {// TODO: subscribe to route params
- }
- }, {
- key: "initGridster",
- value: function initGridster() {
- this.options = {
- gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
- displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
- margin: 0,
- maxCols: 2,
- maxRows: 1,
- draggable: {
- enabled: false,
- ignoreContent: false,
- ignoreContentClass: 'panel-content',
- dragHandleClass: 'panel-header'
- },
- resizable: {
- enabled: false
- }
- };
- this.versionsOptions = {
- gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
- displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
- compactType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["CompactType"].CompactLeft,
- scrollToNewItems: true,
- margin: 0,
- maxRows: 1,
- draggable: {
- enabled: true,
- ignoreContent: true,
- dragHandleClass: 'panel-header'
- },
- resizable: {
- enabled: false
- },
- mobileBreakpoint: 0,
- itemResizeCallback: this.updateFixedColWidth.bind(this),
- itemChangeCallback: this.itemChange.bind(this)
- };
- }
- }, {
- key: "itemChange",
- value: function itemChange() {
- var updatedVerList = [];
- var _iterator = _createForOfIteratorHelper(this.versions),
- _step;
- try {
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
- var verItem = _step.value;
- var verIndex = verItem.itemConfig.x;
- updatedVerList[verIndex] = verItem.label;
- } // TODO: Use this list to update URL params
- } catch (err) {
- _iterator.e(err);
- } finally {
- _iterator.f();
- }
- console.log('TODO! Use this list to update URL params', updatedVerList);
- }
- }, {
- key: "updateGridsterOptions",
- value: function updateGridsterOptions() {
- this.options.maxCols = this.versions.length <= 1 ? 2 : 3;
- this.versionsPanelItem.cols = this.versions.length <= 1 ? 1 : 2;
- this.versionsOptions.maxCols = this.versions.length;
- this.versionsOptions.gridType = this.versions.length <= 2 ? angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit : angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].HorizontalFixed;
- this.changedOptions();
- this.updateFixedColWidth();
- }
- }, {
- key: "changedOptions",
- value: function changedOptions() {
- if (this.options.api && this.options.api.optionsChanged) {
- this.options.api.optionsChanged();
- }
- if (this.versionsOptions.api && this.versionsOptions.api.optionsChanged) {
- this.versionsOptions.api.optionsChanged();
- }
- }
- }, {
- key: "updateFixedColWidth",
- value: function updateFixedColWidth() {
- var versionsPanelEl = this.versionsPanel.nativeElement;
- var fixedColWidth = versionsPanelEl.clientWidth * 0.416666666667;
- this.versionsOptions.fixedColWidth = this.versions.length > 2 ? fixedColWidth : undefined;
- this.changedOptions();
- }
- }, {
- key: "versionBtn",
- get: function get() {
- return {
- label: this.versions.length > 0 ? '' : 'addVersion',
- title: this.versions.length > 0 ? 'addVersion' : '',
- additionalClasses: "btn-floating ".concat(this.versions.length > 0 ? 'rounded-circle' : ''),
- icon: {
- iconSet: 'fas',
- icon: 'plus'
- }
- };
- }
- }]);
- return TextVersionsComponent;
- }();
- TextVersionsComponent.ɵfac = function TextVersionsComponent_Factory(t) {
- return new (t || TextVersionsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]));
- };
- TextVersionsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: TextVersionsComponent,
- selectors: [["evt-text-versions"]],
- viewQuery: function TextVersionsComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstaticViewQuery"](_c0, true);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.versionsPanel = _t.first);
- }
- },
- decls: 12,
- vars: 24,
- consts: [[3, "options"], [3, "item"], [3, "pageID", "editionLevelID", "pageChange", "editionLevelChange"], [1, "versionsPanel"], ["versionsPanel", ""], [3, "options", 4, "ngIf"], [1, "btn", 3, "additionalClasses", "label", "iconLeft", "title", "btnClick"], [3, "item", 4, "ngFor", "ngForOf"], [3, "version", "hide"]],
- template: function TextVersionsComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-text-panel", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function TextVersionsComponent_Template_evt_text_panel_pageChange_2_listener($event) {
- return ctx.changePage($event);
- })("editionLevelChange", function TextVersionsComponent_Template_evt_text_panel_editionLevelChange_2_listener($event) {
- return ctx.changeEditionLevel($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 3, 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, TextVersionsComponent_gridster_8_Template, 2, 2, "gridster", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "evt-button", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function TextVersionsComponent_Template_evt_button_btnClick_9_listener() {
- return ctx.addVersion();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](11, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx.options);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.textPanelItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 16, ctx.currentPageID$))("editionLevelID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 18, ctx.currentEditionLevel$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.versionsPanelItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("align-self-center", ctx.getVersions().length === 0)("empty", ctx.getVersions().length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.getVersions().length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("btn-float-right", ctx.getVersions().length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("additionalClasses", ctx.versionBtn == null ? null : ctx.versionBtn.additionalClasses)("label", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 20, ctx.versionBtn == null ? null : ctx.versionBtn.label))("iconLeft", ctx.versionBtn == null ? null : ctx.versionBtn.icon)("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](11, 22, ctx.versionBtn == null ? null : ctx.versionBtn.title));
- }
- },
- directives: [angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__["TextPanelComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _panels_version_panel_version_panel_component__WEBPACK_IMPORTED_MODULE_7__["VersionPanelComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslatePipe"]],
- styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.row[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n.versionsPanel[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n.versionsPanel.empty[_ngcontent-%COMP%] {\n display: flex;\n}\n\n.versionsPanel.empty[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n margin: auto;\n}\n\n.btn-float-right[_ngcontent-%COMP%] {\n position: absolute;\n right: -0.3rem;\n transform: translate(0, -50%);\n top: 50%;\n z-index: 99999;\n opacity: 0.5;\n}\n\n.btn-float-right[_ngcontent-%COMP%]:hover {\n opacity: 1;\n}\n\n[_nghost-%COMP%] .versionsPanel gridster-item {\n height: 100% !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uLy4uL3RleHQtdmVyc2lvbnMuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkJBO0VBQ0kseUJBQUE7RUFDQSx3QkFBQTtBQzFCSjs7QUFBQTtFQUNJLFlBQUE7QUFHSjs7QUFBQTtFQUNJLFlBQUE7QUFHS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4O1xuJHRodW1ibmFpbC13aWR0aDogMTAwcHg7XG5cbi8vIEJvb3RzdHJhcCBWYXJpYWJsZXMgT3ZlcnJpZGVzXG5cbjpyb290IHtcbiAgICAtLXRodW1ibmFpbC1oZWlnaHQ6ICN7JHRodW1ibmFpbC1oZWlnaHR9O1xuICAgIC0tdGh1bWJuYWlsLXdpZHRoOiAjeyR0aHVtYm5haWwtd2lkdGh9O1xufSIsIkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy92YXJpYWJsZXNcIjtcbkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnNcIjtcblxuLnJvdyB7XG4gICAgaGVpZ2h0OiAxMDAlO1xufVxuXG4udmVyc2lvbnNQYW5lbCB7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgICYuZW1wdHkge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuXG4gICAgICAgIC5idG4ge1xuICAgICAgICAgICAgbWFyZ2luOiBhdXRvO1xuICAgICAgICB9XG4gICAgfVxufVxuXG4uYnRuLWZsb2F0LXJpZ2h0IHtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgcmlnaHQ6IC0uM3JlbTtcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZSgwLC01MCUpO1xuICAgIHRvcDogNTAlO1xuICAgIHotaW5kZXg6IDk5OTk5O1xuICAgIG9wYWNpdHk6IC41O1xuICAgICY6aG92ZXIge1xuICAgICAgICBvcGFjaXR5OiAxO1xuICAgIH1cbn1cblxuOmhvc3QgOjpuZy1kZWVwIC52ZXJzaW9uc1BhbmVsIGdyaWRzdGVyLWl0ZW0ge1xuICAgIGhlaWdodDogMTAwJSAhaW1wb3J0YW50O1xufVxuIl19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TextVersionsComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-text-versions',
- templateUrl: './text-versions.component.html',
- styleUrls: ['./text-versions.component.scss']
- }]
- }], function () {
- return [{
- type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]
- }];
- }, {
- versionsPanel: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
- args: ['versionsPanel', {
- "static": true
- }]
- }]
- });
- })();
- /***/
- },
- /***/
- "JIL6":
- /*!**********************************************************************************************!*\
- !*** ./src/app/components/named-entity/named-entity-detail/named-entity-detail.component.ts ***!
- \**********************************************************************************************/
- /*! exports provided: NamedEntityDetailComponent */
- /***/
- function JIL6(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntityDetailComponent", function () {
- return NamedEntityDetailComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../content-viewer/content-viewer.component */
- "t6RO");
- function NamedEntityDetailComponent_span_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", ctx_r0.data.label, ": ");
- }
- }
- function NamedEntityDetailComponent_ng_container_6_li_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r4 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", item_r4.key, ":");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", item_r4.value, " ");
- }
- }
- function NamedEntityDetailComponent_ng_container_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "ul", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntityDetailComponent_ng_container_6_li_3_Template, 4, 2, "li", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "keyvalue");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var element_r2 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 2, element_r2.attributes));
- }
- }
- var NamedEntityDetailComponent = function NamedEntityDetailComponent() {
- _classCallCheck(this, NamedEntityDetailComponent);
- this.iconData = {
- actors: {
- icon: 'users'
- },
- birth: {
- icon: 'birthday-cake'
- },
- bloc: {
- icon: 'map-marker'
- },
- country: {
- icon: 'map-marker'
- },
- death: {
- icon: 'times',
- rotate: 45
- },
- district: {
- icon: 'map-marker'
- },
- geogFeat: {
- icon: 'map-marker'
- },
- geoname: {
- icon: 'map-marker'
- },
- idno: {
- icon: 'barcode'
- },
- note: {
- icon: 'sticky-note'
- },
- occupation: {
- icon: 'briefcase'
- },
- orgname: {
- icon: 'users'
- },
- persname: {
- icon: 'user'
- },
- placename: {
- icon: 'map-marker'
- },
- region: {
- icon: 'map-marker'
- },
- relations: {
- icon: 'share-alt'
- },
- residence: {
- icon: 'home'
- },
- settlement: {
- icon: 'location-arrow'
- },
- sex: {
- icon: 'venus-mars'
- }
- };
- this.defaultIcon = {
- icon: 'info-circle'
- };
- };
- NamedEntityDetailComponent.ɵfac = function NamedEntityDetailComponent_Factory(t) {
- return new (t || NamedEntityDetailComponent)();
- };
- NamedEntityDetailComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: NamedEntityDetailComponent,
- selectors: [["evt-named-entity-detail"]],
- inputs: {
- data: "data"
- },
- decls: 7,
- vars: 6,
- consts: [[3, "title"], [1, "icon"], [3, "iconInfo"], ["class", "label", 4, "ngIf"], [1, "text"], [4, "ngFor", "ngForOf"], [1, "label"], [3, "content"], [1, "attributes-list"]],
- template: function NamedEntityDetailComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "lowercase");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-icon", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamedEntityDetailComponent_span_4_Template, 2, 1, "span", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, NamedEntityDetailComponent_ng_container_6_Template, 5, 4, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 4, "<" + ctx.data.label + ">"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", ctx.iconData[ctx.data.label] || ctx.defaultIcon);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.label);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["LowerCasePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["KeyValuePipe"]],
- styles: [".icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n min-width: 15px;\n cursor: help;\n display: inline-block;\n}\n\n.label[_ngcontent-%COMP%] {\n font-variant: small-caps;\n text-transform: capitalize;\n font-size: 95%;\n}\n\n.attributes-list[_ngcontent-%COMP%] {\n list-style-type: circle;\n margin-bottom: 0.1rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL25hbWVkLWVudGl0eS1kZXRhaWwuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxpQkFBQTtFQUNBLGVBQUE7RUFDQSxZQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJLHdCQUFBO0VBQ0EsMEJBQUE7RUFDQSxjQUFBO0FBQ0o7O0FBRUE7RUFDSSx1QkFBQTtFQUNBLHFCQUFBO0FBQ0oiLCJmaWxlIjoibmFtZWQtZW50aXR5LWRldGFpbC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5pY29uIHtcbiAgICBtYXJnaW4tcmlnaHQ6IDVweDtcbiAgICBtaW4td2lkdGg6IDE1cHg7XG4gICAgY3Vyc29yOiBoZWxwO1xuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbn1cblxuLmxhYmVsIHtcbiAgICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gICAgdGV4dC10cmFuc2Zvcm06IGNhcGl0YWxpemU7XG4gICAgZm9udC1zaXplOiA5NSU7XG59XG5cbi5hdHRyaWJ1dGVzLWxpc3Qge1xuICAgIGxpc3Qtc3R5bGUtdHlwZTogY2lyY2xlO1xuICAgIG1hcmdpbi1ib3R0b206IC4xcmVtO1xufSJdfQ== */"]
- });
- NamedEntityDetailComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["NamedEntityInfo"])], NamedEntityDetailComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamedEntityDetailComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-named-entity-detail',
- templateUrl: './named-entity-detail.component.html',
- styleUrls: ['./named-entity-detail.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "JQLQ":
- /*!************************************!*\
- !*** ./src/app/utils/xml-utils.ts ***!
- \************************************/
- /*! exports provided: parseXml, replaceMultispaces, replaceNewLines, replaceNotWordChar, removeSpaces */
- /***/
- function JQLQ(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "parseXml", function () {
- return parseXml;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "replaceMultispaces", function () {
- return replaceMultispaces;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "replaceNewLines", function () {
- return replaceNewLines;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "replaceNotWordChar", function () {
- return replaceNotWordChar;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "removeSpaces", function () {
- return removeSpaces;
- });
- function parseXml(xmlStr) {
- if (typeof window.DOMParser !== 'undefined') {
- return new window.DOMParser().parseFromString(xmlStr, 'text/xml');
- }
- if (typeof window.ActiveXObject !== 'undefined' && new window.ActiveXObject('Microsoft.XMLDOM')) {
- var xmlDoc = new window.ActiveXObject('Microsoft.XMLDOM');
- xmlDoc.async = 'false';
- xmlDoc.loadXML(xmlStr);
- return xmlDoc;
- }
- throw new Error('No XML parser found');
- }
- function replaceMultispaces(textContent) {
- return textContent.replace(/\s{2,}/g, ' ');
- }
- function replaceNewLines(textContent) {
- return replaceMultispaces(textContent.trim().replace(/\n/g, ' '));
- }
- function replaceNotWordChar(textContent) {
- return textContent && textContent.replace(/[\W_]/, ' ');
- }
- function removeSpaces(textContent) {
- return textContent.replace(/\s/g, '');
- }
- /***/
- },
- /***/
- "KA5I":
- /*!*****************************************************!*\
- !*** ./src/app/services/entities-select.service.ts ***!
- \*****************************************************/
- /*! exports provided: EntitiesSelectService */
- /***/
- function KA5I(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EntitiesSelectService", function () {
- return EntitiesSelectService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../app.config */
- "aR35");
- var EntitiesSelectService = /*#__PURE__*/function () {
- function EntitiesSelectService() {
- _classCallCheck(this, EntitiesSelectService);
- this.updateSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
- this.selectedItems$ = this.updateSelection$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- _createClass(EntitiesSelectService, [{
- key: "getClassNameFromValue",
- value: function getClassNameFromValue(value) {
- return value.toLowerCase().replace(/\s/g, '').replace(/(\[.*?\])/g, '');
- }
- }, {
- key: "getAttributesFromValue",
- value: function getAttributesFromValue(value) {
- return (value.toLowerCase().replace(/\s/g, '').match(/(\[.*?\])/g) || []).map(function (i) {
- return i.replace(/(\[|\]|\')/g, '').split('=');
- }).map(function (i) {
- return {
- key: i[0],
- value: i[1]
- };
- });
- }
- }, {
- key: "matchClassAndAttributes",
- value: function matchClassAndAttributes(valueForCheck, attributesToCheck, classToCheck) {
- var _this54 = this;
- return valueForCheck.split(',').some(function (v) {
- return _this54.matchClass(v, classToCheck) && _this54.matchAttributes(v, attributesToCheck);
- });
- }
- }, {
- key: "matchClass",
- value: function matchClass(classForCheck, classToCheck) {
- return classToCheck === this.getClassNameFromValue(classForCheck);
- }
- }, {
- key: "matchAttributes",
- value: function matchAttributes(attributesForCheck, attributesToCheck) {
- return this.getAttributesFromValue(attributesForCheck).every(function (a) {
- return attributesToCheck[a.key] === a.value;
- });
- }
- }, {
- key: "getHighlightColor",
- value: function getHighlightColor(attributesToCheck, classNameToCheck, selectedItems) {
- var _this55 = this;
- var entitiesSelectItems = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.entitiesSelectItems.reduce(function (i, g) {
- return i.concat(g.items);
- }, []).reduce(function (x, y) {
- var multiValues = [];
- y.value.split(',').forEach(function (t) {
- multiValues.push(Object.assign(Object.assign({}, y), {
- value: t
- }));
- });
- return x.concat(multiValues);
- }, []);
- var bestMatch;
- entitiesSelectItems.forEach(function (item) {
- var score = 0;
- score += _this55.matchClass(item.value, classNameToCheck) ? 1 : 0;
- var attributes = _this55.getAttributesFromValue(item.value);
- score += attributes.length && _this55.matchAttributes(item.value, attributesToCheck) ? 1 : 0;
- if (score > 0 && selectedItems) {
- score += selectedItems.find(function (i) {
- return i.value === item.value;
- }) ? 1 : 0;
- }
- if (score > 0 && (!bestMatch || bestMatch.score < score)) {
- bestMatch = Object.assign(Object.assign({}, item), {
- score: score
- });
- }
- });
- return bestMatch ? bestMatch.color : '';
- }
- }]);
- return EntitiesSelectService;
- }();
- EntitiesSelectService.ɵfac = function EntitiesSelectService_Factory(t) {
- return new (t || EntitiesSelectService)();
- };
- EntitiesSelectService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: EntitiesSelectService,
- factory: EntitiesSelectService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EntitiesSelectService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "LjVO":
- /*!*****************************************************!*\
- !*** ./src/app/services/iperlems-select.service.ts ***!
- \*****************************************************/
- /*! exports provided: IperlemsSelectService */
- /***/
- function LjVO(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "IperlemsSelectService", function () {
- return IperlemsSelectService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../app.config */
- "aR35");
- var IperlemsSelectService = /*#__PURE__*/function () {
- function IperlemsSelectService() {
- _classCallCheck(this, IperlemsSelectService);
- this.updateIperlemsSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
- this.selectedIperlemsItems$ = this.updateIperlemsSelection$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- _createClass(IperlemsSelectService, [{
- key: "getClassNameFromValue",
- value: function getClassNameFromValue(value) {
- return value.toLowerCase().replace(/\s/g, '').replace(/(\[.*?\])/g, '');
- }
- }, {
- key: "getAttributesFromValue",
- value: function getAttributesFromValue(value) {
- return (value.toLowerCase().replace(/\s/g, '').match(/(\[.*?\])/g) || []).map(function (i) {
- return i.replace(/(\[|\]|\')/g, '').split('=');
- }).map(function (i) {
- return {
- key: i[0],
- value: i[1]
- };
- });
- }
- }, {
- key: "matchClassAndAttributes",
- value: function matchClassAndAttributes(valueForCheck, attributesToCheck, classToCheck) {
- var _this56 = this;
- return valueForCheck.split(',').some(function (v) {
- return _this56.matchClass(v, classToCheck) && _this56.matchAttributes(v, attributesToCheck);
- });
- }
- }, {
- key: "matchClass",
- value: function matchClass(classForCheck, classToCheck) {
- return classToCheck === this.getClassNameFromValue(classForCheck);
- }
- }, {
- key: "matchAttributes",
- value: function matchAttributes(attributesForCheck, attributesToCheck) {
- return this.getAttributesFromValue(attributesForCheck).every(function (a) {
- return attributesToCheck[a.key] === a.value;
- });
- }
- }, {
- key: "getHighlightColor",
- value: function getHighlightColor(attributesToCheck, classNameToCheck, selectedIperlemsItems) {
- var _this57 = this;
- var iperlemsSelectItems = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.iperlemsSelectItems.reduce(function (i, g) {
- return i.concat(g.items);
- }, []).reduce(function (x, y) {
- var multiValues = [];
- y.value.split(',').forEach(function (t) {
- multiValues.push(Object.assign(Object.assign({}, y), {
- value: t
- }));
- });
- return x.concat(multiValues);
- }, []);
- var bestMatch;
- iperlemsSelectItems.forEach(function (item) {
- var score = 0;
- score += _this57.matchClass(item.value, classNameToCheck) ? 1 : 0;
- var attributes = _this57.getAttributesFromValue(item.value);
- score += attributes.length && _this57.matchAttributes(item.value, attributesToCheck) ? 1 : 0;
- if (score > 0 && selectedIperlemsItems) {
- score += selectedIperlemsItems.find(function (i) {
- return i.value === item.value;
- }) ? 1 : 0;
- }
- if (score > 0 && (!bestMatch || bestMatch.score < score)) {
- bestMatch = Object.assign(Object.assign({}, item), {
- score: score
- });
- }
- });
- return bestMatch ? bestMatch.color : '';
- }
- }]);
- return IperlemsSelectService;
- }();
- IperlemsSelectService.ɵfac = function IperlemsSelectService_Factory(t) {
- return new (t || IperlemsSelectService)();
- };
- IperlemsSelectService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: IperlemsSelectService,
- factory: IperlemsSelectService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](IperlemsSelectService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "M+Vw":
- /*!*************************************************************************************************************!*\
- !*** ./src/app/components/lemmatized-entity/lemmatized-entity-detail/lemmatized-entity-detail.component.ts ***!
- \*************************************************************************************************************/
- /*! exports provided: LemmatizedEntityDetailComponent */
- /***/
- function MVw(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntityDetailComponent", function () {
- return LemmatizedEntityDetailComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../../ui-components/icon/icon.component */
- "Mijh");
- function LemmatizedEntityDetailComponent_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "Lemma: ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function LemmatizedEntityDetailComponent_span_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, " Note: ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "Forma normalizzata: ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "Iperlemma: ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "Categoria grammaticale: ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](item_r7.value);
- }
- }
- function LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_1_Template, 2, 0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_2_Template, 2, 0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_3_Template, 2, 0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_span_4_Template, 2, 1, "span", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r7.key === "norm" && item_r7.key !== "lemmaRef");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r7.key === "type" && item_r7.key !== "lemmaRef");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r7.key === "pos" && item_r7.key !== "lemmaRef");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r7.key !== "lemmaRef");
- }
- }
- function LemmatizedEntityDetailComponent_ng_container_5_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityDetailComponent_ng_container_5_div_3_li_1_Template, 5, 4, "li", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r7 = ctx.$implicit;
- var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r7.key !== "lemmaRef" && ctx_r6.data.label !== "div");
- }
- }
- function LemmatizedEntityDetailComponent_ng_container_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "ul", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntityDetailComponent_ng_container_5_div_3_Template, 2, 1, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "keyvalue");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var element_r5 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 2, element_r5.attributes));
- }
- }
- function LemmatizedEntityDetailComponent_span_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, " Risorse esterne");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "br");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3, "Consulta il Tesoro della Lingua Italiana delle Origini ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- var _c0 = function _c0() {
- return {
- icon: "external-link-alt",
- iconSet: "fas"
- };
- };
- function LemmatizedEntityDetailComponent_ng_container_8_div_2_li_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r23 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityDetailComponent_ng_container_8_div_2_li_1_Template_span_click_2_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r23);
- var ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- return ctx_r22.openlinkLem();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "a", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4, " Definizione lemma ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-icon", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("pointer", ctx_r20.linkLem);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](3, _c0));
- }
- }
- function LemmatizedEntityDetailComponent_ng_container_8_div_2_li_2_Template(rf, ctx) {
- if (rf & 1) {
- var _r25 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityDetailComponent_ng_container_8_div_2_li_2_Template_span_click_2_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r25);
- var ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- return ctx_r24.openlinkTLIO();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "a", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4, " TLIO ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-icon", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("pointer", ctx_r21.linkLem);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](3, _c0));
- }
- }
- function LemmatizedEntityDetailComponent_ng_container_8_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityDetailComponent_ng_container_8_div_2_li_1_Template, 6, 4, "li", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityDetailComponent_ng_container_8_div_2_li_2_Template, 6, 4, "li", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r19 = ctx.$implicit;
- var ctx_r18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r19.key === "lemmaRef" && ctx_r18.data.label !== "lem" && ctx_r18.data.label != "note" && ctx_r18.data.label === "a" && item_r19.key !== "pos" && item_r19.key !== "norm" && item_r19.key !== "type");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", item_r19.key !== "lemmaRef" && ctx_r18.data.label !== "a" && item_r19.key !== "pos" && item_r19.key !== "norm");
- }
- }
- function LemmatizedEntityDetailComponent_ng_container_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityDetailComponent_ng_container_8_div_2_Template, 3, 2, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "keyvalue");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var element_r15 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, element_r15.attributes));
- }
- } // import { normalizeUrl } from '../../../utils/js-utils';
- var LemmatizedEntityDetailComponent = /*#__PURE__*/function () {
- function LemmatizedEntityDetailComponent() {
- _classCallCheck(this, LemmatizedEntityDetailComponent);
- this.iconData = {
- actors: {
- icon: 'users'
- },
- birth: {
- icon: 'birthday-cake'
- },
- bloc: {
- icon: 'map-marker'
- },
- country: {
- icon: 'map-marker'
- },
- death: {
- icon: 'times',
- rotate: 45
- },
- district: {
- icon: 'map-marker'
- },
- geogFeat: {
- icon: 'map-marker'
- },
- geoname: {
- icon: 'map-marker'
- },
- idno: {
- icon: 'barcode'
- },
- note: {
- icon: 'sticky-note'
- },
- occupation: {
- icon: 'briefcase'
- },
- orgname: {
- icon: 'users'
- },
- persname: {
- icon: 'user'
- },
- placename: {
- icon: 'map-marker'
- },
- region: {
- icon: 'map-marker'
- },
- relations: {
- icon: 'share-alt'
- },
- residence: {
- icon: 'home'
- },
- settlement: {
- icon: 'location-arrow'
- },
- sex: {
- icon: 'venus-mars'
- },
- link: {
- icon: 'external-link-alt',
- iconSet: 'fas'
- }
- };
- this.defaultIcon = {
- icon: 'info-circle'
- };
- }
- _createClass(LemmatizedEntityDetailComponent, [{
- key: "openlinkLem",
- value: function openlinkLem() {
- if (this.linkLem) {
- window.open(this.linkLem);
- }
- }
- }, {
- key: "openlinkTLIO",
- value: function openlinkTLIO() {
- window.open('http://tlio.ovi.cnr.it/TLIO/');
- }
- }, {
- key: "linkLem",
- get: function get() {
- var link = this.data.attributes.lemmaRef;
- return link;
- }
- }]);
- return LemmatizedEntityDetailComponent;
- }();
- LemmatizedEntityDetailComponent.ɵfac = function LemmatizedEntityDetailComponent_Factory(t) {
- return new (t || LemmatizedEntityDetailComponent)();
- };
- LemmatizedEntityDetailComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: LemmatizedEntityDetailComponent,
- selectors: [["evt-lemmatized-entity-detail"]],
- inputs: {
- data: "data"
- },
- decls: 9,
- vars: 8,
- consts: [[3, "title"], ["class", "label", 4, "ngIf"], [1, "text"], [4, "ngFor", "ngForOf"], [1, "label"], [3, "content"], [1, "attributes-list"], [4, "ngIf"], [3, "click"], [1, "ml-2", "external-link-alt"], [3, "iconInfo"]],
- template: function LemmatizedEntityDetailComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "lowercase");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityDetailComponent_span_2_Template, 2, 0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntityDetailComponent_span_3_Template, 2, 0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, LemmatizedEntityDetailComponent_ng_container_5_Template, 5, 4, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, LemmatizedEntityDetailComponent_span_6_Template, 4, 0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, LemmatizedEntityDetailComponent_ng_container_8_Template, 4, 3, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 6, "<" + ctx.data.label + ">"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.label == "lem");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.label == "note");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.label == "lem");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__["IconComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["LowerCasePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["KeyValuePipe"]],
- styles: [".icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n min-width: 15px;\n cursor: help;\n display: inline-block;\n}\n\n.label[_ngcontent-%COMP%] {\n font-variant: small-caps;\n text-transform: capitalize;\n font-size: 95%;\n}\n\n.attributes-list[_ngcontent-%COMP%] {\n list-style-type: circle;\n margin-bottom: 0.1rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXR5LWRldGFpbC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGlCQUFBO0VBQ0EsZUFBQTtFQUNBLFlBQUE7RUFDQSxxQkFBQTtBQUNKOztBQUVBO0VBQ0ksd0JBQUE7RUFDQSwwQkFBQTtFQUNBLGNBQUE7QUFDSjs7QUFFQTtFQUNJLHVCQUFBO0VBQ0EscUJBQUE7QUFDSiIsImZpbGUiOiJsZW1tYXRpemVkLWVudGl0eS1kZXRhaWwuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuaWNvbiB7XG4gICAgbWFyZ2luLXJpZ2h0OiA1cHg7XG4gICAgbWluLXdpZHRoOiAxNXB4O1xuICAgIGN1cnNvcjogaGVscDtcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG59XG5cbi5sYWJlbCB7XG4gICAgZm9udC12YXJpYW50OiBzbWFsbC1jYXBzO1xuICAgIHRleHQtdHJhbnNmb3JtOiBjYXBpdGFsaXplO1xuICAgIGZvbnQtc2l6ZTogOTUlO1xufVxuXG4uYXR0cmlidXRlcy1saXN0IHtcbiAgICBsaXN0LXN0eWxlLXR5cGU6IGNpcmNsZTtcbiAgICBtYXJnaW4tYm90dG9tOiAuMXJlbTtcbn1cblxuIl19 */"]
- });
- LemmatizedEntityDetailComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["LemmatizedEntityInfo"])], LemmatizedEntityDetailComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemmatizedEntityDetailComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-lemmatized-entity-detail',
- templateUrl: './lemmatized-entity-detail.component.html',
- styleUrls: ['./lemmatized-entity-detail.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "Mijh":
- /*!******************************************************!*\
- !*** ./src/app/ui-components/icon/icon.component.ts ***!
- \******************************************************/
- /*! exports provided: IconComponent */
- /***/
- function Mijh(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "IconComponent", function () {
- return IconComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @fortawesome/angular-fontawesome */
- "6NWb");
- function IconComponent_ng_container_0_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMapInterpolate2"]("evt-icon-", ctx_r1.iconInfo.icon, " ", ctx_r1.iconInfo.additionalClasses, "");
- }
- }
- var _c0 = function _c0(a0, a1) {
- return [a0, a1];
- };
- function IconComponent_ng_container_0_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "fa-icon", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMap"](ctx_r2.iconInfo.additionalClasses);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("icon", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](7, _c0, ctx_r2.iconInfo.iconSet, ctx_r2.iconInfo.icon))("rotate", ctx_r2.iconInfo.rotate)("transform", ctx_r2.iconInfo.transform)("mask", ctx_r2.iconInfo.mask);
- }
- }
- function IconComponent_ng_container_0_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "iconSet non supportato");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- }
- function IconComponent_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](1, 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, IconComponent_ng_container_0_ng_container_2_Template, 2, 4, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, IconComponent_ng_container_0_ng_container_3_Template, 2, 10, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, IconComponent_ng_container_0_ng_container_4_Template, 3, 0, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", ctx_r0.iconInfo.iconSet === "evt");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", ctx_r0.iconInfo.iconSet === "fas" || ctx_r0.iconInfo.iconSet === "far");
- }
- }
- var IconComponent = /*#__PURE__*/function () {
- function IconComponent() {
- _classCallCheck(this, IconComponent);
- }
- _createClass(IconComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- if (this.iconInfo) {
- this.iconInfo.iconSet = this.iconInfo.iconSet ? this.iconInfo.iconSet : 'fas'; // Default set is Fontawesome Solid
- this.iconInfo.additionalClasses = this.iconInfo.additionalClasses || '';
- this.iconInfo.rotate = this.iconInfo.rotate !== undefined ? this.iconInfo.rotate : 0;
- }
- }
- }]);
- return IconComponent;
- }();
- IconComponent.ɵfac = function IconComponent_Factory(t) {
- return new (t || IconComponent)();
- };
- IconComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: IconComponent,
- selectors: [["evt-icon"]],
- inputs: {
- iconInfo: "iconInfo"
- },
- decls: 1,
- vars: 1,
- consts: [[4, "ngIf"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "icon", "rotate", "transform", "mask"], [2, "display", "none"]],
- template: function IconComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, IconComponent_ng_container_0_Template, 5, 3, "ng-container", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.iconInfo);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchDefault"], _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FaIconComponent"]],
- styles: ["@charset \"UTF-8\";\n@font-face {\n font-family: \"evt-icons\";\n src: url(\"/assets/fonts/evt-icons.eot?yo01vg\");\n src: url(\"/assets/fonts/evt-icons.eot?yo01vg#iefix\") format(\"embedded-opentype\"), url(\"/evt/assets/fonts/evt-icons.ttf?yo01vg\") format(\"truetype\"), url(\"/assets/fonts/evt-icons.woff?yo01vg\") format(\"woff\"), url(\"/assets/fonts/evt-icons.svg?yo01vg#evt-icons\") format(\"svg\");\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n[class^=evt-icon-][_ngcontent-%COMP%], [class*=\" evt-icon-\"][_ngcontent-%COMP%] {\n \n font-family: \"evt-icons\" !important;\n speak-as: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n \n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.evt-icon-files-empty[_ngcontent-%COMP%]:before {\n content: \"\uE93C\";\n}\n.evt-icon-equalizer[_ngcontent-%COMP%]:before {\n content: \"\uE93D\";\n}\n.evt-icon-square-o[_ngcontent-%COMP%]:before {\n content: \"\uE93E\";\n}\n.evt-icon-copy[_ngcontent-%COMP%]:before {\n content: \"\uE93F\";\n}\n.evt-icon-clone[_ngcontent-%COMP%]:before {\n content: \"\uE940\";\n}\n.evt-icon-quote-right[_ngcontent-%COMP%]:before {\n content: \"\uE941\";\n}\n.evt-icon-fork[_ngcontent-%COMP%]:before {\n content: \"\uE942\";\n}\n.evt-icon-quote-left[_ngcontent-%COMP%]:before {\n content: \"\uE943\";\n}\n.evt-icon-versions[_ngcontent-%COMP%]:before {\n content: \"\uE944\";\n}\n.evt-icon-srcTxt[_ngcontent-%COMP%]:before {\n content: \"\uE945\";\n}\n.evt-icon-bookreader[_ngcontent-%COMP%]:before {\n content: \"\uE904\";\n}\n.evt-icon-collation[_ngcontent-%COMP%]:before {\n content: \"\uE908\";\n}\n.evt-icon-imgTxt[_ngcontent-%COMP%]:before {\n content: \"\uE91C\";\n}\n.evt-icon-txt[_ngcontent-%COMP%]:before {\n content: \"\uE92E\";\n}\n.evt-icon-txtTxt[_ngcontent-%COMP%]:before {\n content: \"\uE92F\";\n}\n.evt-icon-add[_ngcontent-%COMP%]:before {\n content: \"\uE900\";\n}\n.evt-icon-book[_ngcontent-%COMP%]:before {\n content: \"\uE901\";\n}\n.evt-icon-bookmark-alt[_ngcontent-%COMP%]:before {\n content: \"\uE902\";\n}\n.evt-icon-bookmark[_ngcontent-%COMP%]:before {\n content: \"\uE903\";\n}\n.evt-icon-books[_ngcontent-%COMP%]:before {\n content: \"\uE905\";\n}\n.evt-icon-close[_ngcontent-%COMP%]:before {\n content: \"\uE906\";\n}\n.evt-icon-code[_ngcontent-%COMP%]:before {\n content: \"\uE907\";\n}\n.evt-icon-color-legend[_ngcontent-%COMP%]:before {\n content: \"\uE909\";\n}\n.evt-icon-color-lens[_ngcontent-%COMP%]:before {\n content: \"\uE90A\";\n}\n.evt-icon-colors-fill[_ngcontent-%COMP%]:before {\n content: \"\uE90B\";\n}\n.evt-icon-copyright[_ngcontent-%COMP%]:before {\n content: \"\uE90C\";\n}\n.evt-icon-drop-down[_ngcontent-%COMP%]:before {\n content: \"\uE90D\";\n}\n.evt-icon-drop-up[_ngcontent-%COMP%]:before {\n content: \"\uE90E\";\n}\n.evt-icon-filter[_ngcontent-%COMP%]:before {\n content: \"\uE90F\";\n}\n.evt-icon-find-in-page[_ngcontent-%COMP%]:before {\n content: \"\uE910\";\n}\n.evt-icon-font-size-minu-alt[_ngcontent-%COMP%]:before {\n content: \"\uE911\";\n}\n.evt-icon-font-size-minus[_ngcontent-%COMP%]:before {\n content: \"\uE912\";\n}\n.evt-icon-font-size-plus-alt[_ngcontent-%COMP%]:before {\n content: \"\uE913\";\n}\n.evt-icon-font-size-plus[_ngcontent-%COMP%]:before {\n content: \"\uE914\";\n}\n.evt-icon-font-size-reset[_ngcontent-%COMP%]:before {\n content: \"\uE915\";\n}\n.evt-icon-fragment[_ngcontent-%COMP%]:before {\n content: \"\uE916\";\n}\n.evt-icon-heatmap-alt[_ngcontent-%COMP%]:before {\n content: \"\uE917\";\n}\n.evt-icon-heatmap[_ngcontent-%COMP%]:before {\n content: \"\uE918\";\n}\n.evt-icon-help-alt[_ngcontent-%COMP%]:before {\n content: \"\uE919\";\n}\n.evt-icon-help[_ngcontent-%COMP%]:before {\n content: \"\uE91A\";\n}\n.evt-icon-hotspot[_ngcontent-%COMP%]:before {\n content: \"\uE91B\";\n}\n.evt-icon-info-alt-r[_ngcontent-%COMP%]:before {\n content: \"\uE91D\";\n}\n.evt-icon-info-alt-sq[_ngcontent-%COMP%]:before {\n content: \"\uE91E\";\n}\n.evt-icon-info-alt[_ngcontent-%COMP%]:before {\n content: \"\uE91F\";\n}\n.evt-icon-info[_ngcontent-%COMP%]:before {\n content: \"\uE920\";\n}\n.evt-icon-link[_ngcontent-%COMP%]:before {\n content: \"\uE921\";\n}\n.evt-icon-list-alt[_ngcontent-%COMP%]:before {\n content: \"\uE922\";\n}\n.evt-icon-list[_ngcontent-%COMP%]:before {\n content: \"\uE923\";\n}\n.evt-icon-mail[_ngcontent-%COMP%]:before {\n content: \"\uE924\";\n}\n.evt-icon-menu[_ngcontent-%COMP%]:before {\n content: \"\uE925\";\n}\n.evt-icon-paragraph[_ngcontent-%COMP%]:before {\n content: \"\uE929\";\n}\n.evt-icon-search[_ngcontent-%COMP%]:before {\n content: \"\uE92D\";\n}\n.evt-icon-zoom-fit[_ngcontent-%COMP%]:before {\n content: \"\uE930\";\n}\n.evt-icon-zoom-in[_ngcontent-%COMP%]:before {\n content: \"\uE931\";\n}\n.evt-icon-zoom-one[_ngcontent-%COMP%]:before {\n content: \"\uE932\";\n}\n.evt-icon-zoom-out[_ngcontent-%COMP%]:before {\n content: \"\uE933\";\n}\n.evt-icon-zoom[_ngcontent-%COMP%]:before {\n content: \"\uE934\";\n}\n.evt-icon-align[_ngcontent-%COMP%]:before {\n content: \"\uE935\";\n}\n.evt-icon-bookmark-alt2[_ngcontent-%COMP%]:before {\n content: \"\uE936\";\n}\n.evt-icon-bookreader-alt[_ngcontent-%COMP%]:before {\n content: \"\uE937\";\n}\n.evt-icon-font-size-minus-alt[_ngcontent-%COMP%]:before {\n content: \"\uE938\";\n}\n.evt-icon-font-size-reset-alt[_ngcontent-%COMP%]:before {\n content: \"\uE939\";\n}\n.evt-icon-font-size[_ngcontent-%COMP%]:before {\n content: \"\uE93A\";\n}\n.evt-icon-thumbnails[_ngcontent-%COMP%]:before {\n content: \"\uE93B\";\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2ljb24uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsZ0JBQWdCO0FBQWhCO0VBQ0ksd0JBQUE7RUFDQSw4Q0FBQTtFQUNBLDRRQUFBO0VBSUEsbUJBQUE7RUFDQSxrQkFBQTtFQUNBLG1CQUFBO0FBREo7QUFJQTs7RUFFSSwrRUFBQTtFQUNBLG1DQUFBO0VBQ0EsY0FBQTtFQUNBLGtCQUFBO0VBQ0EsbUJBQUE7RUFDQSxvQkFBQTtFQUNBLG9CQUFBO0VBQ0EsY0FBQTtFQUVBLHNDQUFBO0VBQ0EsbUNBQUE7RUFDQSxrQ0FBQTtBQUhKO0FBTUE7RUFDSSxZQUFBO0FBSEo7QUFNQTtFQUNJLFlBQUE7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Y29udGVudDogXCJcXGU5MzVcIjtcbn1cblxuLmV2dC1pY29uLWJvb2ttYXJrLWFsdDI6YmVmb3JlIHtcbiAgICBjb250ZW50OiBcIlxcZTkzNlwiO1xufVxuXG4uZXZ0LWljb24tYm9va3JlYWRlci1hbHQ6YmVmb3JlIHtcbiAgICBjb250ZW50OiBcIlxcZTkzN1wiO1xufVxuXG4uZXZ0LWljb24tZm9udC1zaXplLW1pbnVzLWFsdDpiZWZvcmUge1xuICAgIGNvbnRlbnQ6IFwiXFxlOTM4XCI7XG59XG5cbi5ldnQtaWNvbi1mb250LXNpemUtcmVzZXQtYWx0OmJlZm9yZSB7XG4gICAgY29udGVudDogXCJcXGU5MzlcIjtcbn1cblxuLmV2dC1pY29uLWZvbnQtc2l6ZTpiZWZvcmUge1xuICAgIGNvbnRlbnQ6IFwiXFxlOTNhXCI7XG59XG5cbi5ldnQtaWNvbi10aHVtYm5haWxzOmJlZm9yZSB7XG4gICAgY29udGVudDogXCJcXGU5M2JcIjtcbn0iXX0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](IconComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-icon',
- templateUrl: './icon.component.html',
- styleUrls: ['./icon.component.scss']
- }]
- }], null, {
- iconInfo: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "MpUx":
- /*!***********************************************************************!*\
- !*** ./src/app/services/xml-parsers/named-entities-parser.service.ts ***!
- \***********************************************************************/
- /*! exports provided: NamedEntitiesParserService */
- /***/
- function MpUx(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntitiesParserService", function () {
- return NamedEntitiesParserService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../utils/dom-utils */
- "G9+u");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _named_entity_parsers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./named-entity-parsers */
- "4Z5S");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var NamedEntitiesParserService = /*#__PURE__*/function () {
- function NamedEntitiesParserService() {
- _classCallCheck(this, NamedEntitiesParserService);
- this.tagNamesMap = _named_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["namedEntitiesListsTagNamesMap"];
- }
- _createClass(NamedEntitiesParserService, [{
- key: "parseLists",
- value: function parseLists(document) {
- var listsToParse = Object(_named_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["getListsToParseTagNames"])();
- var listParser = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-named-entities-list-parser'); // We consider only first level lists; inset lists will be considered
- var lists = Array.from(document.querySelectorAll(listsToParse.toString())).filter(function (list) {
- return !Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(list, list.tagName);
- }).map(function (l) {
- return listParser.parse(l);
- });
- return {
- lists: lists,
- entities: lists.map(function (_ref43) {
- var content = _ref43.content;
- return content;
- }).reduce(function (a, b) {
- return a.concat(b);
- }, []),
- relations: lists.map(function (_ref44) {
- var relations = _ref44.relations;
- return relations;
- }).reduce(function (a, b) {
- return a.concat(b);
- }, [])
- };
- }
- }, {
- key: "getResultsByType",
- value: function getResultsByType(lists, entities, type) {
- return {
- lists: lists.filter(function (list) {
- return type.indexOf(list.namedEntityType) >= 0;
- }),
- entities: entities.filter(function (entity) {
- return type.indexOf(entity.namedEntityType) >= 0;
- })
- };
- }
- }, {
- key: "parseNamedEntitiesOccurrences",
- value: function parseNamedEntitiesOccurrences(pages) {
- var _this58 = this;
- return pages.map(function (p) {
- return _this58.getNamedEntitiesOccurrencesInPage(p);
- }).reduce(function (x, y) {
- Object.keys(y).forEach(function (k) {
- if (x[k]) {
- x[k] = x[k].concat([y[k]]);
- } else {
- x[k] = [y[k]];
- }
- });
- return x;
- }, {});
- }
- }, {
- key: "getNamedEntitiesOccurrencesInPage",
- value: function getNamedEntitiesOccurrencesInPage(p) {
- var _this59 = this;
- return p.originalContent.filter(function (e) {
- return e.nodeType === 1;
- }).map(function (e) {
- var occurrences = [];
- if (_this59.tagNamesMap.occurrences.indexOf(e.tagName) >= 0 && e.getAttribute('ref')) {
- // Handle first level page contents
- occurrences.push(_this59.parseNamedEntityOccurrence(e));
- }
- return occurrences.concat(Array.from(e.querySelectorAll(_this59.tagNamesMap.occurrences)).map(function (el) {
- return _this59.parseNamedEntityOccurrence(el);
- }));
- }).filter(function (e) {
- return e.length > 0;
- }).reduce(function (x, y) {
- return x.concat(y);
- }, []).reduce(function (x, y) {
- var refsByDoc = x[y.ref] ? x[y.ref].refsByDoc || [] : [];
- var docRefs = refsByDoc.find(function (r) {
- return r.docId === y.docId;
- });
- if (docRefs) {
- docRefs.refs.push(y.el);
- } else {
- refsByDoc.push({
- docId: y.docId,
- refs: [y.el],
- docLabel: y.docLabel
- });
- }
- return Object.assign(Object.assign({}, x), _defineProperty({}, y.ref, {
- pageId: p.id,
- pageLabel: p.label,
- refsByDoc: refsByDoc
- }));
- }, {});
- }
- }, {
- key: "parseNamedEntityOccurrence",
- value: function parseNamedEntityOccurrence(xml) {
- var doc = xml.closest('text');
- var elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["GenericElemParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
- return {
- ref: xml.getAttribute('ref').replace('#', ''),
- el: elementParser.parse(xml),
- docId: doc ? doc.getAttribute('xml:id') : '',
- docLabel: doc ? doc.getAttribute('n') || doc.getAttribute('xml:id') : ''
- };
- }
- }]);
- return NamedEntitiesParserService;
- }();
- NamedEntitiesParserService.ɵfac = function NamedEntitiesParserService_Factory(t) {
- return new (t || NamedEntitiesParserService)();
- };
- NamedEntitiesParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: NamedEntitiesParserService,
- factory: NamedEntitiesParserService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NamedEntitiesParserService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "Mq1B":
- /*!*********************************************************************!*\
- !*** ./src/app/components/encoding-desc/encoding-desc.component.ts ***!
- \*********************************************************************/
- /*! exports provided: EncodingDescComponent */
- /***/
- function Mq1B(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EncodingDescComponent", function () {
- return EncodingDescComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/header-section/header-section.component */
- "iRdJ");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function EncodingDescComponent_ng_container_1_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EncodingDescComponent_ng_container_1_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EncodingDescComponent_ng_container_1_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EncodingDescComponent_ng_container_1_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EncodingDescComponent_ng_container_1_ng_container_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EncodingDescComponent_ng_container_1_ng_container_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EncodingDescComponent_ng_container_1_ng_container_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EncodingDescComponent_ng_container_1_ng_container_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EncodingDescComponent_ng_container_1_ng_container_9_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EncodingDescComponent_ng_container_1_ng_container_10_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- var _c0 = function _c0(a1) {
- return {
- label: "projectDesc",
- items: a1,
- "class": "projectDesc"
- };
- };
- var _c1 = function _c1(a1) {
- return {
- label: "samplingDecl",
- items: a1,
- "class": "samplingDecl"
- };
- };
- var _c2 = function _c2(a1) {
- return {
- label: "editorialDecl",
- items: a1,
- "class": "editorialDecl"
- };
- };
- var _c3 = function _c3(a1) {
- return {
- label: "tagsDecl",
- items: a1,
- "class": "tagsDecl"
- };
- };
- var _c4 = function _c4(a1) {
- return {
- label: "refsDecl",
- items: a1,
- "class": "refsDecl"
- };
- };
- var _c5 = function _c5(a1) {
- return {
- label: "classDecl",
- items: a1,
- "class": "classDecl"
- };
- };
- var _c6 = function _c6(a1) {
- return {
- label: "geoDecl",
- items: a1,
- "class": "geoDecl"
- };
- };
- var _c7 = function _c7(a1) {
- return {
- label: "unitDecl",
- items: a1,
- "class": "unitDecl"
- };
- };
- var _c8 = function _c8(a1) {
- return {
- label: "schemaSpec",
- items: a1,
- "class": "schemaSpec"
- };
- };
- var _c9 = function _c9(a1) {
- return {
- label: "schemaRef",
- items: a1,
- "class": "schemaRef"
- };
- };
- function EncodingDescComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EncodingDescComponent_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EncodingDescComponent_ng_container_1_ng_container_2_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, EncodingDescComponent_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, EncodingDescComponent_ng_container_1_ng_container_4_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, EncodingDescComponent_ng_container_1_ng_container_5_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, EncodingDescComponent_ng_container_1_ng_container_6_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, EncodingDescComponent_ng_container_1_ng_container_7_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, EncodingDescComponent_ng_container_1_ng_container_8_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, EncodingDescComponent_ng_container_1_ng_container_9_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](10, EncodingDescComponent_ng_container_1_ng_container_10_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](20, _c0, ctx_r0.data == null ? null : ctx_r0.data.projectDesc));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](22, _c1, ctx_r0.data == null ? null : ctx_r0.data.samplingDecl));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](24, _c2, ctx_r0.data == null ? null : ctx_r0.data.editorialDecl));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](26, _c3, ctx_r0.data == null ? null : ctx_r0.data.tagsDecl));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](28, _c4, ctx_r0.data == null ? null : ctx_r0.data.refsDecl));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](30, _c5, ctx_r0.data == null ? null : ctx_r0.data.classDecl));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](32, _c6, ctx_r0.data == null ? null : ctx_r0.data.geoDecl));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](34, _c7, ctx_r0.data == null ? null : ctx_r0.data.unitDecl));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](36, _c8, ctx_r0.data == null ? null : ctx_r0.data.schemaSpec));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](38, _c9, ctx_r0.data == null ? null : ctx_r0.data.schemaRef));
- }
- }
- function EncodingDescComponent_ng_container_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var element_r15 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r15);
- }
- }
- function EncodingDescComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EncodingDescComponent_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.content);
- }
- }
- function EncodingDescComponent_ng_template_3_ng_container_0_h4_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "h4", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var label_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).label;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, label_r16));
- }
- }
- function EncodingDescComponent_ng_template_3_ng_container_0_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var item_r23 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r23);
- }
- }
- function EncodingDescComponent_ng_template_3_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EncodingDescComponent_ng_template_3_ng_container_0_h4_1_Template, 3, 3, "h4", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "evt-header-section", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, EncodingDescComponent_ng_template_3_ng_container_0_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var label_r16 = ctx_r24.label;
- var class_r18 = ctx_r24["class"];
- var items_r17 = ctx_r24.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", label_r16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("additionalClass", class_r18);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r17);
- }
- }
- function EncodingDescComponent_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, EncodingDescComponent_ng_template_3_ng_container_0_Template, 5, 3, "ng-container", 7);
- }
- if (rf & 2) {
- var items_r17 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r17 == null ? null : items_r17.length) > 0);
- }
- }
- var EncodingDescComponent = function EncodingDescComponent() {
- _classCallCheck(this, EncodingDescComponent);
- };
- EncodingDescComponent.ɵfac = function EncodingDescComponent_Factory(t) {
- return new (t || EncodingDescComponent)();
- };
- EncodingDescComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: EncodingDescComponent,
- selectors: [["evt-encoding-desc"]],
- inputs: {
- data: "data"
- },
- decls: 5,
- vars: 2,
- consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["section", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [4, "ngIf"], ["class", "main-section-title", 4, "ngIf"], [3, "additionalClass"], ["content", ""], [1, "main-section-title"]],
- template: function EncodingDescComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0, 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EncodingDescComponent_ng_container_1_Template, 11, 40, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EncodingDescComponent_ng_container_2_Template, 2, 1, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, EncodingDescComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.structuredData);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", true);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"]],
- styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2VuY29kaW5nLWRlc2MuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUMyRkUsOEJBQUE7RUFDQSxrQkFBQTtFQUNBLHdCQUFBO0VBQ0EsV0FBQTtFQUNBLGlCQUFBO0VBQ0EsY0FBQTtFQUNBLGdCQUFBO0VBQ0EsZ0JBQUE7QUQzRkYiLCJmaWxlIjoiZW5jb2RpbmctZGVzYy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnNcIj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tcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"]
- });
- EncodingDescComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["EncodingDesc"])], EncodingDescComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](EncodingDescComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-encoding-desc',
- templateUrl: './encoding-desc.component.html',
- styleUrls: ['./encoding-desc.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "MsgF":
- /*!*******************************************************!*\
- !*** ./src/app/services/xml-parsers/choice-parser.ts ***!
- \*******************************************************/
- /*! exports provided: ChoiceParser */
- /***/
- function MsgF(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ChoiceParser", function () {
- return ChoiceParser;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var ChoiceParser_1;
- var ChoiceParser = ChoiceParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA124) {
- _inherits(ChoiceParser, _basic_parsers__WEBPA124);
- var _super300 = _createSuper(ChoiceParser);
- function ChoiceParser() {
- var _this60;
- _classCallCheck(this, ChoiceParser);
- _this60 = _super300.apply(this, arguments);
- _this60.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], _this60.genericParse);
- return _this60;
- }
- _createClass(ChoiceParser, [{
- key: "parse",
- value: function parse(xml) {
- var attributes = this.attributeParser.parse(xml);
- var choiceComponent = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Choice"],
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
- attributes: attributes,
- editorialInterventionType: this.getEditorialInterventionType(xml),
- originalContent: this.getOriginalContent(xml),
- normalizedContent: this.getNormalizedContent(xml)
- };
- return choiceComponent;
- }
- }, {
- key: "getEditorialInterventionType",
- value: function getEditorialInterventionType(xml) {
- var sicCorEls = Array.from(xml.querySelectorAll('sic, corr')).filter(function (el) {
- return el.parentElement === xml;
- });
- if (sicCorEls.length > 0) {
- return 'emendation';
- }
- var origRegEls = Array.from(xml.querySelectorAll('orig, reg, abbr, expan')).filter(function (el) {
- return el.parentElement === xml;
- });
- if (origRegEls.length > 0) {
- return 'normalization';
- }
- return '';
- }
- }, {
- key: "getOriginalContent",
- value: function getOriginalContent(xml) {
- var _this61 = this;
- return Array.from(xml.querySelectorAll('orig, sic, abbr')).filter(function (el) {
- return el.parentElement === xml;
- }).map(function (el) {
- return _this61.genericParse(el);
- });
- }
- }, {
- key: "getNormalizedContent",
- value: function getNormalizedContent(xml) {
- var _this62 = this;
- return Array.from(xml.querySelectorAll('reg, corr, expan')).filter(function (el) {
- return el.parentElement === xml;
- }).map(function (el) {
- return _this62.genericParse(el);
- });
- }
- }]);
- return ChoiceParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"]);
- ChoiceParser = ChoiceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('choice', ChoiceParser_1)], ChoiceParser);
- /***/
- },
- /***/
- "O0Pb":
- /*!*********************************************************************!*\
- !*** ./src/app/services/xml-parsers/lines-verses-parser.service.ts ***!
- \*********************************************************************/
- /*! exports provided: LinesVersesParserService */
- /***/
- function O0Pb(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LinesVersesParserService", function () {
- return LinesVersesParserService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var LinesVersesParserService = /*#__PURE__*/function () {
- function LinesVersesParserService() {
- _classCallCheck(this, LinesVersesParserService);
- }
- _createClass(LinesVersesParserService, [{
- key: "parseLines",
- value: function parseLines(document) {
- var _this63 = this;
- // Significant verses are those with at least @n or @xml:id attribute
- return Array.from(document.querySelectorAll('lb')).filter(function (el) {
- return el.getAttribute('n') || el.getAttribute('xml:id');
- }).map(function (l) {
- return _this63.parseLine(l);
- });
- }
- }, {
- key: "parseLine",
- value: function parseLine(line) {
- return Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["LBParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]).parse(line);
- }
- }, {
- key: "parseVerses",
- value: function parseVerses(document) {
- var _this64 = this;
- return Array.from(document.querySelectorAll('l')).map(function (v) {
- return _this64.parseLine(v);
- });
- }
- }, {
- key: "parseVerse",
- value: function parseVerse(verse) {
- return Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_2__["VerseParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]).parse(verse);
- }
- }]);
- return LinesVersesParserService;
- }();
- LinesVersesParserService.ɵfac = function LinesVersesParserService_Factory(t) {
- return new (t || LinesVersesParserService)();
- };
- LinesVersesParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: LinesVersesParserService,
- factory: LinesVersesParserService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LinesVersesParserService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "OEwW":
- /*!***************************************************************!*\
- !*** ./src/app/view-modes/image-text/image-text.component.ts ***!
- \***************************************************************/
- /*! exports provided: ImageTextComponent */
- /***/
- function OEwW(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ImageTextComponent", function () {
- return ImageTextComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! angular-gridster2 */
- "Ljk9");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../app.config */
- "aR35");
- /* harmony import */
- var _models_evt_polymorphic_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../models/evt-polymorphic-models */
- "tv3h");
- /* harmony import */
- var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _panels_image_panel_image_panel_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../panels/image-panel/image-panel.component */
- "UksB");
- /* harmony import */
- var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../../panels/text-panel/text-panel.component */
- "CHR5");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- var ImageTextComponent = /*#__PURE__*/function () {
- function ImageTextComponent(evtStatusService, evtModelService) {
- var _this65 = this;
- _classCallCheck(this, ImageTextComponent);
- this.evtStatusService = evtStatusService;
- this.evtModelService = evtModelService;
- this.layoutOptions = {};
- this.imagePanelItem = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 0
- };
- this.textPanelItem = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 1
- };
- this.imageViewer$ = this.evtModelService.surfaces$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (surface) {
- return _this65.getImageViewerType(_app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.files.editionImagesSource, surface);
- }));
- this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref45) {
- var page = _ref45.page;
- return page.id;
- }));
- this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref46) {
- var editionLevels = _ref46.editionLevels;
- return editionLevels[0];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- _createClass(ImageTextComponent, [{
- key: "getImageViewerType",
- value: function getImageViewerType(editionImages, surface) {
- for (var _i2 = 0, _Object$keys = Object.keys(editionImages); _i2 < _Object$keys.length; _i2++) {
- var key = _Object$keys[_i2];
- if (editionImages[key].enabled) {
- return _models_evt_polymorphic_models__WEBPACK_IMPORTED_MODULE_4__["ViewerSource"].getDataType(key, surface);
- }
- }
- var xmlImages = [];
- this.evtModelService.pages$.pipe().subscribe(function (pages) {
- return pages.map(function (page) {
- return xmlImages.push({
- url: page.facsUrl
- });
- });
- });
- return {
- type: 'default',
- value: {
- xmlImages: xmlImages
- }
- };
- }
- }, {
- key: "ngOnInit",
- value: function ngOnInit() {
- this.initGridster();
- }
- }, {
- key: "changePage",
- value: function changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- }, {
- key: "changeEditionLevel",
- value: function changeEditionLevel(editionLevel) {
- this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
- }
- }, {
- key: "initGridster",
- value: function initGridster() {
- this.layoutOptions = {
- gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
- displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
- margin: 0,
- maxCols: 2,
- maxRows: 1,
- draggable: {
- enabled: true,
- ignoreContent: true,
- dragHandleClass: 'panel-header'
- },
- resizable: {
- enabled: false
- }
- };
- }
- }]);
- return ImageTextComponent;
- }();
- ImageTextComponent.ɵfac = function ImageTextComponent_Factory(t) {
- return new (t || ImageTextComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]));
- };
- ImageTextComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: ImageTextComponent,
- selectors: [["evt-image-text"]],
- decls: 9,
- vars: 15,
- consts: [[3, "options"], [3, "item"], [3, "viewerData", "pageID", "pageChange"], [3, "pageID", "editionLevelID", "pageChange", "editionLevelChange"]],
- template: function ImageTextComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-image-panel", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function ImageTextComponent_Template_evt_image_panel_pageChange_2_listener($event) {
- return ctx.changePage($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "evt-text-panel", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function ImageTextComponent_Template_evt_text_panel_pageChange_6_listener($event) {
- return ctx.changePage($event);
- })("editionLevelChange", function ImageTextComponent_Template_evt_text_panel_editionLevelChange_6_listener($event) {
- return ctx.changeEditionLevel($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx.layoutOptions);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.imagePanelItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("viewerData", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 7, ctx.imageViewer$))("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 9, ctx.currentPageID$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.textPanelItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 11, ctx.currentPageID$))("editionLevelID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 13, ctx.currentEditionLevel$));
- }
- },
- directives: [angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_image_panel_image_panel_component__WEBPACK_IMPORTED_MODULE_7__["ImagePanelComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_8__["TextPanelComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_9__["AsyncPipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJpbWFnZS10ZXh0LmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ImageTextComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-image-text',
- templateUrl: './image-text.component.html',
- styleUrls: ['./image-text.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"]
- }, {
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "Ow/E":
- /*!***************************************************************************************!*\
- !*** ./src/app/components/edition-level-selector/edition-level-selector.component.ts ***!
- \***************************************************************************************/
- /*! exports provided: EditionLevelSelectorComponent */
- /***/
- function OwE(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EditionLevelSelectorComponent", function () {
- return EditionLevelSelectorComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../app.config */
- "aR35");
- /* harmony import */
- var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @ng-select/ng-select */
- "ZOsW");
- /* harmony import */
- var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/forms */
- "3Pt+");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function EditionLevelSelectorComponent_ng_template_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- }
- if (rf & 2) {
- var item_r2 = ctx.item;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r0.icon);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, item_r2.label), " ");
- }
- }
- function EditionLevelSelectorComponent_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
- }
- if (rf & 2) {
- var item_r3 = ctx.item;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, item_r3.label), " ");
- }
- }
- var EditionLevelSelectorComponent = /*#__PURE__*/function () {
- function EditionLevelSelectorComponent() {
- _classCallCheck(this, EditionLevelSelectorComponent);
- this.editionLevels = (_app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.availableEditionLevels || []).filter(function (el) {
- return !el.disabled;
- });
- this.selectedEditionLevel$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
- this.selectionChange = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(this.editionLevels), this.selectedEditionLevel$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])())]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(function (_ref47) {
- var _ref48 = _slicedToArray(_ref47, 2),
- edLevels = _ref48[0],
- edLevelID = _ref48[1];
- return !!edLevelID && !!edLevels && edLevels.length > 0;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref49) {
- var _ref50 = _slicedToArray(_ref49, 2),
- edLevels = _ref50[0],
- edLevelID = _ref50[1];
- return !!edLevelID ? edLevels.find(function (p) {
- return p.id === edLevelID;
- }) || edLevels[0] : edLevels[0];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(function (e) {
- return !!e;
- }));
- this.icon = {
- icon: 'layer-group',
- additionalClasses: 'mr-2'
- };
- }
- _createClass(EditionLevelSelectorComponent, [{
- key: "editionLevelID",
- set: function set(p) {
- this._edLevelID = p;
- this.selectedEditionLevel$.next(this._edLevelID);
- },
- get: function get() {
- return this._edLevelID;
- }
- }]);
- return EditionLevelSelectorComponent;
- }();
- EditionLevelSelectorComponent.ɵfac = function EditionLevelSelectorComponent_Factory(t) {
- return new (t || EditionLevelSelectorComponent)();
- };
- EditionLevelSelectorComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: EditionLevelSelectorComponent,
- selectors: [["evt-edition-level-selector"]],
- inputs: {
- editionLevelID: "editionLevelID"
- },
- outputs: {
- selectionChange: "selectionChange"
- },
- decls: 4,
- vars: 6,
- consts: [["bindLabel", "label", "bindValue", "id", 1, "mr-1", 3, "items", "clearable", "searchable", "ngModel", "change"], ["ng-label-tmp", ""], ["ng-option-tmp", ""], ["label-left", "", 3, "iconInfo"]],
- template: function EditionLevelSelectorComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ng-select", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function EditionLevelSelectorComponent_Template_ng_select_change_0_listener($event) {
- return ctx.editionLevelID = $event.id;
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, EditionLevelSelectorComponent_ng_template_2_Template, 3, 4, "ng-template", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, EditionLevelSelectorComponent_ng_template_3_Template, 2, 3, "ng-template", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", ctx.editionLevels)("clearable", false)("searchable", true)("ngModel", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 4, ctx.selectedEditionLevel$));
- }
- },
- directives: [_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["ɵh"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["ɵf"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_6__["IconComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslatePipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJlZGl0aW9uLWxldmVsLXNlbGVjdG9yLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EditionLevelSelectorComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-edition-level-selector',
- templateUrl: './edition-level-selector.component.html',
- styleUrls: ['./edition-level-selector.component.scss']
- }]
- }], null, {
- editionLevelID: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- selectionChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "Ox1W":
- /*!*****************************************************************!*\
- !*** ./src/app/components/lems-select/lems-select.component.ts ***!
- \*****************************************************************/
- /*! exports provided: LemsSelectComponent */
- /***/
- function Ox1W(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemsSelectComponent", function () {
- return LemsSelectComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../../app.config */
- "aR35");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @ng-select/ng-select */
- "ZOsW");
- /* harmony import */
- var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/forms */
- "3Pt+");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function LemsSelectComponent_ng_container_0_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "input", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LemsSelectComponent_ng_container_0_ng_template_3_Template_input_click_2_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- return ctx_r4.toggleSelection();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "label", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("checked", (ctx_r1.selectedLemTypes == null ? null : ctx_r1.selectedLemTypes.length) === ctx_r1.lemsTypes.length);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "selectLemsAll"));
- }
- }
- function LemsSelectComponent_ng_container_0_ng_template_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "input", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r6 = ctx.item;
- var item$_r7 = ctx.item$;
- var index_r8 = ctx.index;
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("id", "item-", index_r8, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", item$_r7.selected);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r6.color);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r2.iconColor);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 6, item_r6.label));
- }
- }
- function LemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "span", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function LemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template_span_click_4_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r18);
- var item_r15 = ctx.$implicit;
- var clear_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).clear;
- return clear_r11(item_r15);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\xD7");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r15 = ctx.$implicit;
- var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r15.color);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r14.iconColor);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r15.label);
- }
- }
- function LemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template, 6, 4, "div", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, items_r10, 0, 1));
- }
- }
- function LemsSelectComponent_ng_container_0_ng_template_5_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", items_r10.length, " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "selected"), "");
- }
- }
- function LemsSelectComponent_ng_container_0_ng_template_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, LemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template, 3, 5, "ng-container", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, LemsSelectComponent_ng_container_0_ng_template_5_div_1_Template, 4, 4, "div", 12);
- }
- if (rf & 2) {
- var items_r10 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length === 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length > 1);
- }
- }
- function LemsSelectComponent_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- var _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ng-select", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function LemsSelectComponent_ng_container_0_Template_ng_select_ngModelChange_1_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22);
- var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r21.selectedLemTypes = $event;
- })("change", function LemsSelectComponent_ng_container_0_Template_ng_select_change_1_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22);
- var ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r23.updateSelectedLemTypes($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, LemsSelectComponent_ng_container_0_ng_template_3_Template, 6, 4, "ng-template", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, LemsSelectComponent_ng_container_0_ng_template_4_Template, 5, 8, "ng-template", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, LemsSelectComponent_ng_container_0_ng_template_5_Template, 2, 2, "ng-template", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", ctx_r0.lemsTypes)("multiple", true)("closeOnSelect", false)("searchable", false)("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 7, "selectLemsItems"))("ngModel", ctx_r0.selectedLemTypes)("disabled", ctx_r0.lemsTypes.length === 0);
- }
- }
- var LemsSelectComponent = /*#__PURE__*/function () {
- function LemsSelectComponent() {
- _classCallCheck(this, LemsSelectComponent);
- this.selectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.lemsTypes = (_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.lemsSelectItems || []).filter(function (g) {
- return !g.disabled;
- }).reduce(function (x, y) {
- return [].concat(_toConsumableArray(x), _toConsumableArray(y.items.filter(function (i) {
- return !i.disabled;
- }).map(function (i) {
- return Object.assign(Object.assign({}, i), {
- group: y.label
- });
- })));
- }, []);
- this.iconColor = {
- icon: 'circle',
- iconSet: 'fas',
- additionalClasses: 'ml-2 mr-1'
- };
- this.selectedLemTypes = [];
- }
- _createClass(LemsSelectComponent, [{
- key: "updateSelectedLemTypes",
- value: function updateSelectedLemTypes(lemsTypes) {
- if (Array.isArray(lemsTypes)) {
- // BUGFIX: There is a bug in ng-select change event and second time the parameter is an event
- this.selectionChange.emit(lemsTypes); // console.log('Prova', AppConfig.evtSettings.edition.lemsSelectItems || [])
- }
- }
- }, {
- key: "toggleSelection",
- value: function toggleSelection() {
- if (this.selectedLemTypes.length < this.lemsTypes.length) {
- this.selectedLemTypes = this.lemsTypes;
- } else {
- this.selectedLemTypes = [];
- }
- this.selectionChange.emit(this.selectedLemTypes); // console.log('Prova 0', AppConfig.evtSettings.edition.lemsSelectItems[0])
- // console.log('Prova 1', AppConfig.evtSettings.edition.lemsSelectItems[1])
- }
- }]);
- return LemsSelectComponent;
- }();
- LemsSelectComponent.ɵfac = function LemsSelectComponent_Factory(t) {
- return new (t || LemsSelectComponent)();
- };
- LemsSelectComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: LemsSelectComponent,
- selectors: [["evt-lems-select"]],
- outputs: {
- selectionChange: "selectionChange"
- },
- decls: 1,
- vars: 1,
- consts: [[4, "ngIf"], ["groupBy", "group", 3, "items", "multiple", "closeOnSelect", "searchable", "placeholder", "ngModel", "disabled", "ngModelChange", "change"], ["ng-header-tmp", ""], ["ng-option-tmp", ""], ["ng-multi-label-tmp", ""], [1, "lem-select-toolbar"], [1, "w-100", "text-dark", "select-all-btn"], ["id", "select-all", "type", "checkbox", 1, "mr-2", 3, "checked", "click"], ["for", "select-all", 1, "m-0"], ["type", "checkbox", 3, "id", "ngModel"], [3, "iconInfo"], [1, "ng-value-label"], ["class", "ng-value", 4, "ngIf"], ["class", "ng-value", 4, "ngFor", "ngForOf"], [1, "ng-value"], ["aria-hidden", "true", 1, "ng-value-icon", "right", 3, "click"]],
- template: function LemsSelectComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, LemsSelectComponent_ng_container_0_Template, 6, 9, "ng-container", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.lemsTypes.length > 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵj"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵi"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["CheckboxControlValueAccessor"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["SlicePipe"]],
- styles: [".ng-select {\n min-width: 150px;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {\n font-size: 90%;\n font-variant: small-caps;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {\n padding-left: 10px !important;\n}\n\n.lem-select-toolbar[_ngcontent-%COMP%] {\n display: flex;\n}\n\n.lem-select-toolbar[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n flex-grow: 1;\n}\n\n.select-all-btn[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbXMtc2VsZWN0LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBO0VBQ0ksZ0JBQUE7QUFBSjs7QUFLUTtFQUNJLGNBQUE7RUFDQSx3QkFBQTtBQUZaOztBQUtRO0VBQ0ksNkJBQUE7QUFIWjs7QUFRQTtFQUNJLGFBQUE7QUFMSjs7QUFPSTtFQUNJLFlBQUE7QUFMUjs7QUFTQTtFQUNJLGVBQUE7QUFOSiIsImZpbGUiOiJsZW1zLXNlbGVjdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIG5nLXNlbGVjdCBvdmVycmlkZXNcbjo6bmctZGVlcCAubmctc2VsZWN0IHtcbiAgICBtaW4td2lkdGg6IDE1MHB4O1xufVxuXG46Om5nLWRlZXAgLm5nLWRyb3Bkb3duLXBhbmVsIHtcbiAgICAubmctZHJvcGRvd24tcGFuZWwtaXRlbXMge1xuICAgICAgICAubmctb3B0Z3JvdXAge1xuICAgICAgICAgICAgZm9udC1zaXplOiA5MCU7XG4gICAgICAgICAgICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gICAgICAgIH1cblxuICAgICAgICAubmctb3B0aW9uIHtcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMTBweCAhaW1wb3J0YW50O1xuICAgICAgICB9XG4gICAgfVxufVxuXG4ubGVtLXNlbGVjdC10b29sYmFyIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuXG4gICAgLmJ0biB7XG4gICAgICAgIGZsZXgtZ3JvdzogMTtcbiAgICB9XG59XG5cbi5zZWxlY3QtYWxsLWJ0biB7XG4gICAgY3Vyc29yOiBwb2ludGVyO1xufVxuXG4iXX0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LemsSelectComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-lems-select',
- templateUrl: './lems-select.component.html',
- styleUrls: ['./lems-select.component.scss']
- }]
- }], null, {
- selectionChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "P7wN":
- /*!********************************************************!*\
- !*** ./src/app/ui-components/modal/modal.component.ts ***!
- \********************************************************/
- /*! exports provided: ModalComponent */
- /***/
- function P7wN(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ModalComponent", function () {
- return ModalComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _services_themes_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../../services/themes.service */
- "onZX");
- /* harmony import */
- var _modal_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ./modal.service */
- "6Xh2");
- /* harmony import */
- var _directives_escape_directive__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../directives/escape.directive */
- "CimZ");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _icon_icon_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../icon/icon.component */
- "Mijh");
- /* harmony import */
- var ng_dynamic_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ng-dynamic-component */
- "CS/5");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- var _c0 = ["modalDialog"];
- function ModalComponent_evt_icon_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 14);
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r1.headerIcon);
- }
- }
- function ModalComponent_div_16_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 15);
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHtml", ctx_r2.bodyHTML, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);
- }
- }
- function ModalComponent_ndc_dynamic_17_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ndc-dynamic", 16);
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ndcDynamicComponent", ctx_r3.bodyComponent);
- }
- }
- function ModalComponent_div_20_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 17);
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("innerHtml", ctx_r4.footerHTML, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);
- }
- }
- function ModalComponent_ndc_dynamic_21_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ndc-dynamic", 16);
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ndcDynamicComponent", ctx_r5.footerComponent);
- }
- }
- var _c1 = [[["", "title", ""]], [["", "body", ""]], [["", "footer", ""]]];
- var _c2 = ["[title]", "[body]", "[footer]"];
- var ModalComponent = /*#__PURE__*/function () {
- function ModalComponent(modalId, title, bodyContentClass, themes, modalService) {
- _classCallCheck(this, ModalComponent);
- this.modalId = modalId;
- this.title = title;
- this.bodyContentClass = bodyContentClass;
- this.themes = themes;
- this.modalService = modalService;
- this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- _createClass(ModalComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this.closeOnShadow = this.closeOnShadow === undefined ? true : this.closeOnShadow;
- this.closeOnEsc = this.closeOnEsc === undefined ? true : this.closeOnEsc;
- this.fixedHeight = this.fixedHeight === undefined ? false : this.fixedHeight;
- }
- }, {
- key: "clickout",
- value: function clickout(event) {
- var modal = this.modalDialog.nativeElement;
- var internalClick = event.path.find(function (o) {
- return o.className && o.className.indexOf && o.className.indexOf(modal.className) >= 0;
- });
- if (this.closeOnShadow && !internalClick) {
- this.closeDialog();
- }
- }
- }, {
- key: "handleEscape",
- value: function handleEscape() {
- if (this.closeOnEsc) {
- this.closeDialog();
- }
- }
- }, {
- key: "closeDialog",
- value: function closeDialog() {
- this.hide.emit(this.modalId);
- this.modalService.close(this.modalId);
- }
- }, {
- key: "dataTheme",
- get: function get() {
- return this.themes.getCurrentTheme().value;
- }
- }]);
- return ModalComponent;
- }();
- ModalComponent.ɵfac = function ModalComponent_Factory(t) {
- return new (t || ModalComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('modalId'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('title'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('bodyContentClass'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_themes_service__WEBPACK_IMPORTED_MODULE_1__["ThemesService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_modal_service__WEBPACK_IMPORTED_MODULE_2__["ModalService"]));
- };
- ModalComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: ModalComponent,
- selectors: [["evt-modal"]],
- viewQuery: function ModalComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstaticViewQuery"](_c0, true);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.modalDialog = _t.first);
- }
- },
- hostVars: 1,
- hostBindings: function ModalComponent_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ModalComponent_click_HostBindingHandler($event) {
- return ctx.clickout($event);
- });
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("data-theme", ctx.dataTheme);
- }
- },
- inputs: {
- closeOnShadow: "closeOnShadow",
- closeOnEsc: "closeOnEsc",
- fixedHeight: "fixedHeight",
- scrollDisabled: "scrollDisabled",
- wider: "wider",
- headerIcon: "headerIcon",
- bodyComponent: "bodyComponent",
- footerComponent: "footerComponent",
- bodyHTML: "bodyHTML",
- footerHTML: "footerHTML"
- },
- outputs: {
- hide: "hide"
- },
- ngContentSelectors: _c2,
- decls: 22,
- vars: 17,
- consts: [["tabindex", "-1", "role", "dialog", "aria-hidden", "true", 1, "modal", "fade", "show", 3, "escape"], ["role", "document", 1, "modal-dialog", "modal-dialog-centered"], ["modalDialog", ""], [1, "modal-content"], [1, "modal-header"], [3, "iconInfo", 4, "ngIf"], [1, "modal-title"], ["type", "button", "data-dismiss", "modal", "aria-label", "Close", 1, "close", 3, "click"], ["aria-hidden", "true"], [1, "modal-body", "p-0"], [3, "innerHtml", 4, "ngIf"], [3, "ndcDynamicComponent", 4, "ngIf"], [1, "modal-footer"], ["class", "modal-footer", 3, "innerHtml", 4, "ngIf"], [3, "iconInfo"], [3, "innerHtml"], [3, "ndcDynamicComponent"], [1, "modal-footer", 3, "innerHtml"]],
- template: function ModalComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](_c1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("escape", function ModalComponent_Template_div_escape_0_listener() {
- return ctx.handleEscape();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1, 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, ModalComponent_evt_icon_5_Template, 1, 1, "evt-icon", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "span", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "button", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ModalComponent_Template_button_click_10_listener() {
- return ctx.closeDialog();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "span", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, "\xD7");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](15, 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](16, ModalComponent_div_16_Template, 1, 1, "div", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](17, ModalComponent_ndc_dynamic_17_Template, 1, 1, "ndc-dynamic", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "div", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](19, 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](20, ModalComponent_div_20_Template, 1, 1, "div", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](21, ModalComponent_ndc_dynamic_21_Template, 1, 1, "ndc-dynamic", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("fixed-height", ctx.fixedHeight);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("wider", ctx.wider);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.headerIcon);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 15, ctx.title), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("no-scroll", ctx.scrollDisabled);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMap"](ctx.bodyContentClass);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.bodyHTML);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.bodyComponent);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.footerHTML);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.footerComponent);
- }
- },
- directives: [_directives_escape_directive__WEBPACK_IMPORTED_MODULE_3__["EscapeDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _icon_icon_component__WEBPACK_IMPORTED_MODULE_5__["IconComponent"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_6__["DynamicComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"]],
- styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.modal[_ngcontent-%COMP%] {\n display: block;\n max-width: 100%;\n font-size: 1rem;\n}\n\n.modal[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]:empty {\n height: 5px;\n background: #fff;\n padding: 0;\n border: 0;\n}\n\n[data-theme=restore][_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] {\n background: rgba(10, 69, 83, 0.5);\n}\n\n[data-theme=restore][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background: #0a4553;\n}\n\n[data-theme=restore][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #e9e9e9;\n}\n\n[data-theme=restore][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n background: #e9e9e9;\n color: #0a4553;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] {\n background: rgba(69, 83, 90, 0.5);\n}\n\n[data-theme=neutral][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] {\n color: #fff;\n background: #45535a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #fff;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n background: #fff;\n color: #45535a;\n}\n\n[data-theme=modern][_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] {\n background: rgba(38, 50, 56, 0.5);\n}\n\n[data-theme=modern][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background: #263238;\n}\n\n[data-theme=modern][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #ECEFF1;\n}\n\n[data-theme=modern][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n background: #ECEFF1;\n color: #263238;\n}\n\n[data-theme=classic][_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .modal[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] {\n background: rgba(54, 45, 40, 0.5);\n}\n\n[data-theme=classic][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] {\n color: #f5ead4;\n background: #362d28;\n}\n\n[data-theme=classic][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n color: #f5ead4;\n}\n\n[data-theme=classic][_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n background: #f5ead4;\n color: #362d28;\n}\n\n.modal[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%] {\n background: transparent;\n}\n\n.modal[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%] {\n max-width: 800px;\n height: 80%;\n}\n\n.modal[_ngcontent-%COMP%] .modal-dialog.wider[_ngcontent-%COMP%] {\n max-width: 80%;\n}\n\n.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] {\n padding: 0.5rem 1rem;\n}\n\n.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] {\n font-size: 1.2em;\n}\n\n.modal[_ngcontent-%COMP%] .modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%] {\n text-shadow: none;\n}\n\n.modal.fixed-height[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%] {\n overflow-y: initial !important;\n}\n\n.modal.fixed-height[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n height: 500px;\n overflow-y: auto;\n}\n\n.modal.fixed-height[_ngcontent-%COMP%] .modal-dialog[_ngcontent-%COMP%] {\n overflow-y: initial !important;\n}\n\n.modal.fixed-height[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] {\n height: 500px;\n overflow-y: auto;\n}\n\n.modal[_ngcontent-%COMP%] .modal-body.no-scroll[_ngcontent-%COMP%] {\n overflow: hidden !important;\n}\n\nbutton[_ngcontent-%COMP%]:focus {\n outline: none;\n}\n\n evt-icon [class^=evt-icon] {\n font-size: 1.3rem;\n vertical-align: bottom;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uLy4uL21vZGFsLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJCQTtFQUNJLHlCQUFBO0VBQ0Esd0JBQUE7QUMxQko7O0FBQ0E7RUFDRSxjQUFBO0VBQ0EsZUFBQTtFQUNBLGVBQUE7QUFFRjs7QUFBRTtFQUNFLFdBQUE7RUFDQSxnQkFBQTtFQUNBLFVBQUE7RUFDQSxTQUFBO0FBRUo7O0FDMEVRO0VEeEVKLGlDQUFBO0FBQ0o7O0FBQ0k7RUFDRSxjQUFBO0VBQ0EsbUJBQUE7QUFDTjs7QUFFSTtFQUNFLGNBQUE7QUFBTjs7QUFHSTtFQUNFLG1CQUFBO0VBQ0EsY0FBQTtBQUROOztBQzREUTtFRHhFSixpQ0FBQTtBQWVKOztBQWJJO0VBQ0UsV0FBQTtFQUNBLG1CQUFBO0FBZU47O0FBWkk7RUFDRSxXQUFBO0FBY047O0FBWEk7RUFDRSxnQkFBQTtFQUNBLGNBQUE7Q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R0aGVtZS1tYXA6IG51bGwgIWdsb2JhbDtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQGZ1bmN0aW9uIHRoZW1lZCgka2V5KSB7XG4gICAgQHJldHVybiBtYXAtZ2V0KCR0aGVtZS1tYXAsICRrZXkpO1xufVxuXG4iXX0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ModalComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-modal',
- templateUrl: './modal.component.html',
- styleUrls: ['./modal.component.scss']
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Attribute"],
- args: ['modalId']
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Attribute"],
- args: ['title']
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Attribute"],
- args: ['bodyContentClass']
- }]
- }, {
- type: _services_themes_service__WEBPACK_IMPORTED_MODULE_1__["ThemesService"]
- }, {
- type: _modal_service__WEBPACK_IMPORTED_MODULE_2__["ModalService"]
- }];
- }, {
- closeOnShadow: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- closeOnEsc: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- fixedHeight: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- scrollDisabled: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- wider: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- headerIcon: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- bodyComponent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- footerComponent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- bodyHTML: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- footerHTML: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- hide: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }],
- modalDialog: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
- args: ['modalDialog', {
- "static": true
- }]
- }],
- dataTheme: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
- args: ['attr.data-theme']
- }],
- clickout: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
- args: ['click', ['$event']]
- }]
- });
- })();
- /***/
- },
- /***/
- "QgGR":
- /*!*********************************************************!*\
- !*** ./src/app/components/reading/reading.component.ts ***!
- \*********************************************************/
- /*! exports provided: ReadingComponent */
- /***/
- function QgGR(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ReadingComponent", function () {
- return ReadingComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _components_mixins__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../components-mixins */
- "qoJN");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function ReadingComponent_evt_content_viewer_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 1);
- }
- if (rf & 2) {
- var element_r1 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx_r0.data["class"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("itemsToHighlight", ctx_r0.itemsToHighlight);
- }
- }
- var ReadingComponent = /*#__PURE__*/function (_components_mixins__W) {
- _inherits(ReadingComponent, _components_mixins__W);
- var _super301 = _createSuper(ReadingComponent);
- function ReadingComponent() {
- _classCallCheck(this, ReadingComponent);
- return _super301.apply(this, arguments);
- }
- return ReadingComponent;
- }(_components_mixins__WEBPACK_IMPORTED_MODULE_4__["Highlightable"]);
- ReadingComponent.ɵfac = function ReadingComponent_Factory(t) {
- return ɵReadingComponent_BaseFactory(t || ReadingComponent);
- };
- ReadingComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: ReadingComponent,
- selectors: [["evt-reading"]],
- inputs: {
- data: "data"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]],
- decls: 1,
- vars: 1,
- consts: [[3, "class", "content", "itemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "itemsToHighlight"]],
- template: function ReadingComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ReadingComponent_evt_content_viewer_0_Template, 1, 5, "evt-content-viewer", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJyZWFkaW5nLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- ReadingComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Reading"])], ReadingComponent);
- var ɵReadingComponent_BaseFactory = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](ReadingComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ReadingComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-reading',
- templateUrl: './reading.component.html',
- styleUrls: ['./reading.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "SG9k":
- /*!*************************************************************************!*\
- !*** ./src/app/components/generic-element/generic-element.component.ts ***!
- \*************************************************************************/
- /*! exports provided: GenericElementComponent */
- /***/
- function SG9k(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GenericElementComponent", function () {
- return GenericElementComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../directives/highlight.directive */
- "CmGG");
- function GenericElementComponent_evt_content_viewer_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 1);
- }
- if (rf & 2) {
- var el_r1 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("genericElement ", ctx_r0.data["class"], "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx_r0.data == null ? null : ctx_r0.data.attributes)("content", el_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight)("evtHighlight", ctx_r0.highlightData)("textFlow", ctx_r0.textFlow);
- }
- }
- var GenericElementComponent = function GenericElementComponent() {
- _classCallCheck(this, GenericElementComponent);
- };
- GenericElementComponent.ɵfac = function GenericElementComponent_Factory(t) {
- return new (t || GenericElementComponent)();
- };
- GenericElementComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: GenericElementComponent,
- selectors: [["evt-generic-element"]],
- inputs: {
- data: "data"
- },
- decls: 1,
- vars: 1,
- consts: [[3, "class", "evtHtmlAttributes", "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight", "textFlow", 4, "ngFor", "ngForOf"], [3, "evtHtmlAttributes", "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "evtHighlight", "textFlow"]],
- template: function GenericElementComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, GenericElementComponent_evt_content_viewer_0_Template, 1, 11, "evt-content-viewer", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__["HtmlAttributesDirective"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_7__["HighlightDirective"]],
- styles: [".app[_ngcontent-%COMP%] {\n background: violet;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2dlbmVyaWMtZWxlbWVudC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQTtFQUNJLGtCQUFBO0FBQUoiLCJmaWxlIjoiZ2VuZXJpYy1lbGVtZW50LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gVEVNUFxuLmFwcCB7XG4gICAgYmFja2dyb3VuZDogdmlvbGV0O1xufSJdfQ== */"]
- });
- GenericElementComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["GenericElement"])], GenericElementComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](GenericElementComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-generic-element',
- templateUrl: './generic-element.component.html',
- styleUrls: ['./generic-element.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "STiE":
- /*!***************************************************!*\
- !*** ./src/app/directives/annotator.directive.ts ***!
- \***************************************************/
- /*! exports provided: AnnotatorDirective */
- /***/
- function STiE(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AnnotatorDirective", function () {
- return AnnotatorDirective;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../services/annotator/annotator.service */
- "I7fL");
- var AnnotatorDirective = /*#__PURE__*/function () {
- function AnnotatorDirective(annotator) {
- _classCallCheck(this, AnnotatorDirective);
- this.annotator = annotator;
- }
- _createClass(AnnotatorDirective, [{
- key: "onMouseup",
- value: function onMouseup() {
- this.annotator.selectedText();
- }
- }]);
- return AnnotatorDirective;
- }();
- AnnotatorDirective.ɵfac = function AnnotatorDirective_Factory(t) {
- return new (t || AnnotatorDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_1__["AnnotatorService"]));
- };
- AnnotatorDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: AnnotatorDirective,
- selectors: [["", "evtAnnotator", ""]],
- hostBindings: function AnnotatorDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("mouseup", function AnnotatorDirective_mouseup_HostBindingHandler() {
- return ctx.onMouseup();
- });
- }
- }
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AnnotatorDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
- args: [{
- selector: '[evtAnnotator]'
- }]
- }], function () {
- return [{
- type: _services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_1__["AnnotatorService"]
- }];
- }, {
- onMouseup: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
- args: ['mouseup']
- }]
- });
- })();
- /***/
- },
- /***/
- "Sy1n":
- /*!**********************************!*\
- !*** ./src/app/app.component.ts ***!
- \**********************************/
- /*! exports provided: AppComponent */
- /***/
- function Sy1n(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AppComponent", function () {
- return AppComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/router */
- "tyNb");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./app.config */
- "aR35");
- /* harmony import */
- var ngx_spinner__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ngx-spinner */
- "JqCM");
- /* harmony import */
- var _shortcuts_shortcuts_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./shortcuts/shortcuts.service */
- "jPca");
- /* harmony import */
- var _services_themes_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ./services/themes.service */
- "onZX");
- /* harmony import */
- var _main_header_main_header_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ./main-header/main-header.component */
- "6rJU");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ./ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ./nav-bar/nav-bar.component */
- "5hVl");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- var _c0 = ["mainSpinner"];
- var _c1 = function _c1(a0) {
- return {
- opened: a0
- };
- };
- function AppComponent_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function AppComponent_ng_container_4_Template_span_click_1_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3);
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r2.toggleToolbar();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "evt-icon", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "evt-nav-bar", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](12, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 4, ctx_r0.navbarOpened$)))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 6, "toggleToolbar"));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 8, ctx_r0.navbarTogglerIcon$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](14, _c1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 10, ctx_r0.navbarOpened$)));
- }
- }
- var _c2 = function _c2(a0) {
- return {
- "has-navbar": a0
- };
- };
- var AppComponent = /*#__PURE__*/function () {
- function AppComponent(router, spinner, shortcutsService, themes) {
- var _this66 = this;
- _classCallCheck(this, AppComponent);
- this.router = router;
- this.spinner = spinner;
- this.shortcutsService = shortcutsService;
- this.themes = themes;
- this.subscriptions = [];
- this.hasNavBar = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.ui.enableNavBar;
- this.navbarOpened$ = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](this.hasNavBar && _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.ui.initNavBarOpened);
- this.navbarTogglerIcon$ = this.navbarOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (opened) {
- return opened ? {
- icon: 'caret-down',
- iconSet: 'fas'
- } : {
- icon: 'caret-up',
- iconSet: 'fas'
- };
- }));
- this.router.events.subscribe(function (event) {
- switch (true) {
- case event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationStart"]:
- _this66.spinner.show();
- break;
- case event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationEnd"]:
- case event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationCancel"]:
- case event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationError"]:
- _this66.spinner.hide();
- break;
- default:
- break;
- }
- });
- }
- _createClass(AppComponent, [{
- key: "toggleToolbar",
- value: function toggleToolbar() {
- this.navbarOpened$.next(!this.navbarOpened$.getValue());
- window.dispatchEvent(new Event('resize')); // Needed to tell Gridster to resize
- }
- }, {
- key: "ngOnDestroy",
- value: function ngOnDestroy() {
- this.subscriptions.forEach(function (subscription) {
- return subscription.unsubscribe();
- });
- }
- }, {
- key: "keyEvent",
- value: function keyEvent(e) {
- this.shortcutsService.handleKeyboardEvent(e);
- }
- }, {
- key: "dataTheme",
- get: function get() {
- return this.themes.getCurrentTheme().value;
- }
- }]);
- return AppComponent;
- }();
- AppComponent.ɵfac = function AppComponent_Factory(t) {
- return new (t || AppComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ngx_spinner__WEBPACK_IMPORTED_MODULE_5__["NgxSpinnerService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_shortcuts_shortcuts_service__WEBPACK_IMPORTED_MODULE_6__["ShortcutsService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_themes_service__WEBPACK_IMPORTED_MODULE_7__["ThemesService"]));
- };
- AppComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: AppComponent,
- selectors: [["evt-root"]],
- viewQuery: function AppComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.mainSpinner = _t.first);
- }
- },
- hostVars: 1,
- hostBindings: function AppComponent_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("keyup", function AppComponent_keyup_HostBindingHandler($event) {
- return ctx.keyEvent($event);
- }, false, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresolveWindow"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("data-theme", ctx.dataTheme);
- }
- },
- decls: 7,
- vars: 6,
- consts: [[1, "temp-panel", 3, "ngClass"], [4, "ngIf"], ["bdColor", "rgba(51,51,51,0.8)"], ["mainSpinner", ""], [1, "navbar-toggler", 3, "ngClass", "title", "click"], [3, "iconInfo"], [3, "ngClass"]],
- template: function AppComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-main-header");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "router-outlet");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, AppComponent_ng_container_4_Template, 8, 16, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "ngx-spinner", 2, 3);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](4, _c2, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, ctx.navbarOpened$)));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.hasNavBar);
- }
- },
- directives: [_main_header_main_header_component__WEBPACK_IMPORTED_MODULE_8__["MainHeaderComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_9__["NgClass"], _angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_9__["NgIf"], ngx_spinner__WEBPACK_IMPORTED_MODULE_5__["NgxSpinnerComponent"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_10__["IconComponent"], _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_11__["NavBarComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_9__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslatePipe"]],
- styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.temp-panel[_ngcontent-%COMP%] {\n height: 100%;\n height: -o-calc(100% - 54px);\n height: calc(100% - 54px);\n}\n\n.has-navbar[_ngcontent-%COMP%] {\n height: -o-calc(100% - 54px - 45px);\n height: calc(100% - 54px - 45px);\n}\n\n.navbar-toggler[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 0;\n height: 30px;\n width: 30px;\n right: 2px;\n z-index: 9;\n opacity: 0.5;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 0.25rem 0.25rem 0 0;\n transition: bottom 0.6s;\n}\n\n.navbar-toggler[_ngcontent-%COMP%]:hover {\n opacity: 1;\n cursor: pointer;\n}\n\n[data-theme=restore][_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: rgba(10, 69, 83, 0.7);\n border-color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%] {\n color: #fff;\n background-color: rgba(0, 0, 0, 0.7);\n border-color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: rgba(38, 50, 56, 0.7);\n border-color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .navbar-toggler[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .navbar-toggler[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: rgba(54, 45, 40, 0.7);\n border-color: #f5ead4;\n}\n\n.navbar-toggler.opened[_ngcontent-%COMP%] {\n bottom: 45px;\n transition: bottom 0.5s;\n}\n\n evt-nav-bar .nav-bar {\n position: fixed;\n bottom: -45px;\n transition: bottom 1s;\n}\n\n evt-nav-bar.opened .nav-bar {\n bottom: 0;\n transition: bottom 0.5s;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uL2FwcC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyIsIi4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyQkE7RUFDSSx5QkFBQTtFQUNBLHdCQUFBO0FDMUJKOztBQUVBO0VBQ0ksWUFBQTtFQ0NGLDRCQUFBO0VBRUEseUJBQUE7QURFRjs7QUFEQTtFQ0hFLG1DQUFBO0VBRUEsZ0NBQUE7QURTRjs7QUFKQTtFQUNJLGtCQUFBO0VBQ0EsU0F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mJhci10b2dnbGVyIHtcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgYm90dG9tOiAwO1xuICAgIGhlaWdodDogMzBweDtcbiAgICB3aWR0aDogMzBweDtcbiAgICByaWdodDogMnB4O1xuICAgIHotaW5kZXg6IDk7XG4gICAgb3BhY2l0eTogMC41O1xuXG4gICAgZGlzcGxheTogZmxleDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgIGJvcmRlci1yYWRpdXM6IDAuMjVyZW0gMC4yNXJlbSAwIDA7XG5cbiAgICB0cmFuc2l0aW9uOiBib3R0b20gMC42cztcblxuICAgICY6aG92ZXIge1xuICAgICAgICBvcGFjaXR5OiAxO1xuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgfVxuXG4gICAgQGluY2x1ZGUgdGhlbWlmeSgkdGhlbWVzKSB7XG4gICAgICAgIGNvbG9yOiB0aGVtZWQoXCJ0b29sc0JhY2tncm91bmRcIik7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEodGhlbWVkKFwidG9vbHNDb2xvclwiKSwgMC43KTtcbiAgICAgICAgYm9yZGVyLWNvbG9yOiB0aGVtZWQoXCJ0b29sc0JhY2tncm91bmRcIik7XG4gICAgfVxuXG4gICAgJi5vcGVuZWQge1xuICAgICAgICBib3R0b206ICRiYXNlLW5hdmJhci1oZWlnaHQ7XG4gICAgICAgIHRyYW5zaXRpb246IGJvdHRvbSAwLjVzO1xuICAgIH1cbn1cblxuOjpuZy1kZWVwIGV2dC1uYXYtYmFyIHtcbiAgICAubmF2LWJhciB7XG4gICAgICAgIHBvc2l0aW9uOiBmaXhlZDtcbiAgICAgICAgYm90dG9tOiAtJGJhc2UtbmF2YmFyLWhlaWdodDtcbiAgICAgICAgdHJhbnNpdGlvbjogYm90dG9tIDFzO1xuICAgIH1cbiAgICAmLm9wZW5lZCAubmF2LWJhciB7XG4gICAgICAgIG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ICAgJltkYXRhLXRoZW1lPVwiI3skdGhlbWV9XCJdIHtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6ICgpICFnbG9iYWw7XG4gICAgICAgICAgICBAZWFjaCAka2V5LCAkc3VibWFwIGluICRtYXAge1xuICAgICAgICAgICAgICAgICR2YWx1ZTogbWFwLWdldChtYXAtZ2V0KCR0aGVtZXMsICR0aGVtZSksICcjeyRrZXl9Jyk7XG4gICAgICAgICAgICAgICAgJHRoZW1lLW1hcDogbWFwLW1lcmdlKCR0aGVtZS1tYXAsICgka2V5OiAkdmFsdWUpKSAhZ2xvYmFsO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgQGNvbnRlbnQ7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiBudWxsICFnbG9iYWw7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBmdW5jdGlvbiB0aGVtZWQoJGtleSkge1xuICAgIEByZXR1cm4gbWFwLWdldCgkdGhlbWUtbWFwLCAka2V5KTtcbn1cblxuIl19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-root',
- templateUrl: './app.component.html',
- styleUrls: ['./app.component.scss']
- }]
- }], function () {
- return [{
- type: _angular_router__WEBPACK_IMPORTED_MODULE_1__["Router"]
- }, {
- type: ngx_spinner__WEBPACK_IMPORTED_MODULE_5__["NgxSpinnerService"]
- }, {
- type: _shortcuts_shortcuts_service__WEBPACK_IMPORTED_MODULE_6__["ShortcutsService"]
- }, {
- type: _services_themes_service__WEBPACK_IMPORTED_MODULE_7__["ThemesService"]
- }];
- }, {
- mainSpinner: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
- args: ['mainSpinner']
- }],
- dataTheme: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
- args: ['attr.data-theme']
- }],
- keyEvent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
- args: ['window:keyup', ['$event']]
- }]
- });
- })();
- /***/
- },
- /***/
- "UAXx":
- /*!***********************************************!*\
- !*** ./src/app/services/xml-parsers/index.ts ***!
- \***********************************************/
- /*! exports provided: ParserRegister, xmlParser, parse */
- /***/
- function UAXx(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ParserRegister", function () {
- return ParserRegister;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "xmlParser", function () {
- return xmlParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "parse", function () {
- return parse;
- });
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var ParserRegister = /*#__PURE__*/function () {
- function ParserRegister() {
- _classCallCheck(this, ParserRegister);
- }
- _createClass(ParserRegister, null, [{
- key: "set",
- // tslint:disable-next-line: no-any
- value: function set(tagName, parserType) {
- ParserRegister.PARSER_MAP[tagName.toLowerCase()] = parserType;
- }
- }, {
- key: "get",
- value: function get(tagName) {
- var name = ParserRegister.mapName(tagName.toLowerCase());
- return Object(_parser_models__WEBPACK_IMPORTED_MODULE_0__["createParser"])(ParserRegister.PARSER_MAP[name], parse);
- }
- }, {
- key: "mapName",
- value: function mapName(tagName) {
- var nes = ['event', 'geogname', 'orgname', 'persname', 'placename'];
- if (nes.includes(tagName)) {
- return 'evt-named-entity-parser';
- }
- var nels = ['listPerson', 'listPlace', 'listOrg', 'listEvent'];
- if (nels.includes(tagName)) {
- return 'evt-named-entities-list-parser';
- }
- var crit = ['app'];
- if (crit.includes(tagName)) {
- return 'evt-apparatus-entry-parser';
- }
- /* add by FS
- const ling = ['rdgGrp'];
- if (ling.includes(tagName)) {
- return 'evt-lem-entry-parser';
- } */
- var neslem = ['w', 'lem'];
- if (neslem.includes(tagName)) {
- return 'evt-lemmatized-entity-parser';
- }
- var nelslem = ['list'];
- if (nelslem.includes(tagName)) {
- return 'evt-lemmatized-entities-list-parser';
- }
- if (!Object.keys(ParserRegister.PARSER_MAP).includes(tagName)) {
- return 'evt-generic-elem-parser';
- }
- return tagName;
- }
- }]);
- return ParserRegister;
- }(); // tslint:disable-next-line: no-any
- ParserRegister.PARSER_MAP = {}; // tslint:disable-next-line: no-any
- function xmlParser(tagName, parserType) {
- // tslint:disable-next-line: no-any
- return function (_) {
- ParserRegister.set(tagName, parserType);
- };
- }
- function parse(xml) {
- if (!xml) {
- return {
- content: [xml]
- };
- } // Text Node
- if (xml.nodeType === 3) {
- return ParserRegister.get('evt-text-parser').parse(xml);
- } // Comment
- if (xml.nodeType === 8) {
- return {};
- }
- var tagName = xml.tagName.toLowerCase();
- var parser = ParserRegister.get(tagName);
- return parser.parse(xml);
- }
- /***/
- },
- /***/
- "UhR9":
- /*!********************************************!*\
- !*** ./src/app/pipes/xml-beautify.pipe.ts ***!
- \********************************************/
- /*! exports provided: XmlBeautifyPipe */
- /***/
- function UhR9(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "XmlBeautifyPipe", function () {
- return XmlBeautifyPipe;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var vkbeautify__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! vkbeautify */
- "NH6c");
- /* harmony import */
- var vkbeautify__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vkbeautify__WEBPACK_IMPORTED_MODULE_1__);
- /* harmony import */
- var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../utils/xml-utils */
- "JQLQ");
- var XmlBeautifyPipe = /*#__PURE__*/function () {
- function XmlBeautifyPipe() {
- _classCallCheck(this, XmlBeautifyPipe);
- }
- _createClass(XmlBeautifyPipe, [{
- key: "transform",
- value: function transform(value) {
- return vkbeautify__WEBPACK_IMPORTED_MODULE_1__["xml"](Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_2__["replaceMultispaces"])('\n' + value));
- }
- }]);
- return XmlBeautifyPipe;
- }();
- XmlBeautifyPipe.ɵfac = function XmlBeautifyPipe_Factory(t) {
- return new (t || XmlBeautifyPipe)();
- };
- XmlBeautifyPipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "xmlBeautify",
- type: XmlBeautifyPipe,
- pure: true
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](XmlBeautifyPipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
- args: [{
- name: 'xmlBeautify'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "UjKN":
- /*!**********************************************************!*\
- !*** ./src/app/ui-components/button/button.component.ts ***!
- \**********************************************************/
- /*! exports provided: ButtonComponent */
- /***/
- function UjKN(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ButtonComponent", function () {
- return ButtonComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _icon_icon_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../icon/icon.component */
- "Mijh");
- function ButtonComponent_evt_icon_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 2);
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r0.iconLeft);
- }
- }
- function ButtonComponent_evt_icon_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 2);
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r1.iconRight);
- }
- }
- var _c0 = [[["", "label-left", ""]]];
- var _c1 = function _c1(a0, a1, a2, a3, a4, a5) {
- return {
- "btn-light": a0,
- "btn-inverted": a1,
- "btn-hovered": a2,
- "shadow-sm": a3,
- transparent: a4,
- active: a5
- };
- };
- var _c2 = ["[label-left]"];
- var ButtonComponent = /*#__PURE__*/function () {
- function ButtonComponent(cdRef) {
- _classCallCheck(this, ButtonComponent);
- this.cdRef = cdRef;
- this.btnClick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- _createClass(ButtonComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this.active = this.active !== undefined ? this.active : false;
- this.disabled = this.disabled !== undefined ? this.disabled : false;
- if (this.iconLeft) {
- this.iconLeft = Object.assign(Object.assign({}, this.iconLeft), {
- additionalClasses: 'icon ' + (this.iconLeft.additionalClasses || '')
- });
- }
- if (this.iconRight) {
- this.iconRight = Object.assign(Object.assign({}, this.iconRight), {
- additionalClasses: 'icon ' + (this.iconRight.additionalClasses || '')
- });
- }
- }
- }, {
- key: "ngOnChanges",
- value: function ngOnChanges(changes) {
- if (changes && changes.active) {
- this.active = changes.active.currentValue;
- this.cdRef.detectChanges();
- }
- }
- }, {
- key: "clickButton",
- value: function clickButton(event) {
- if (!this.disabled) {
- if (this.toggler) {
- this.active = !this.active;
- }
- this.btnClick.emit({
- event: event,
- active: this.active
- });
- }
- }
- }]);
- return ButtonComponent;
- }();
- ButtonComponent.ɵfac = function ButtonComponent_Factory(t) {
- return new (t || ButtonComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]));
- };
- ButtonComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: ButtonComponent,
- selectors: [["evt-button"]],
- inputs: {
- iconLeft: "iconLeft",
- iconRight: "iconRight",
- toggler: "toggler",
- transparent: "transparent",
- inverted: "inverted",
- active: "active",
- additionalStyle: "additionalStyle",
- disabled: "disabled",
- label: "label",
- additionalClasses: "additionalClasses",
- type: "type"
- },
- outputs: {
- btnClick: "btnClick"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
- ngContentSelectors: _c2,
- decls: 5,
- vars: 17,
- consts: [["type", "button", 3, "disabled", "ngClass", "ngStyle", "type", "click"], [3, "iconInfo", 4, "ngIf"], [3, "iconInfo"]],
- template: function ButtonComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](_c0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ButtonComponent_Template_button_click_0_listener($event) {
- return ctx.clickButton($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ButtonComponent_evt_icon_2_Template, 1, 1, "evt-icon", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, ButtonComponent_evt_icon_4_Template, 1, 1, "evt-icon", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMapInterpolate1"]("btn btn-sm ", ctx.additionalClasses, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx.disabled)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction6"](10, _c1, !ctx.transparent, ctx.inverted, ctx.inverted && ctx.active, !ctx.transparent, ctx.transparent, ctx.active))("ngStyle", ctx.additionalStyle)("type", ctx.type);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.iconLeft);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx.label, " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.iconRight);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgClass"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgStyle"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _icon_icon_component__WEBPACK_IMPORTED_MODULE_2__["IconComponent"]],
- styles: [".btn[_ngcontent-%COMP%] {\n outline: none;\n border: none;\n}\n.btn[disabled][_ngcontent-%COMP%] {\n cursor: default;\n}\n.btn.btn-sm[_ngcontent-%COMP%] {\n height: 31px;\n}\n.btn[_ngcontent-%COMP%]:focus {\n box-shadow: none;\n}\n[data-theme=restore][_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n color: #0a4553;\n background-color: #e9e9e9;\n border-color: #e9e9e9;\n}\n[data-theme=neutral][_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n color: #000;\n background-color: #fff;\n border-color: #fff;\n}\n[data-theme=modern][_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n color: #263238;\n background-color: #ECEFF1;\n border-color: #ECEFF1;\n}\n[data-theme=classic][_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n color: #362d28;\n background-color: #f5ead4;\n border-color: #f5ead4;\n}\n.btn[_ngcontent-%COMP%]:hover:not([disabled]) {\n -o-box-shadow: 1px 2px 3px rgba(0, 0, 0, .4) inset !important;\n -ms-box-shadow: 1px 2px 3px rgba(0, 0, 0, .4) inset !important;\n box-shadow: 1px 2px 3px rgba(0, 0, 0, .4) inset !important;\n}\n[data-theme=restore][_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn.active[_ngcontent-%COMP%] {\n background: white;\n}\n[data-theme=neutral][_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn.active[_ngcontent-%COMP%] {\n background: #ffdd00;\n}\n[data-theme=modern][_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn.active[_ngcontent-%COMP%] {\n background: #ffdd00;\n}\n[data-theme=classic][_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn.active[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn.active[_ngcontent-%COMP%] {\n background: #ffdd00;\n}\n.btn.transparent[_ngcontent-%COMP%] {\n background: none !important;\n border-color: transparent !important;\n}\n[data-theme=restore][_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn.transparent.active[_ngcontent-%COMP%] {\n color: white;\n}\n[data-theme=neutral][_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn.transparent.active[_ngcontent-%COMP%] {\n color: #ffdd00;\n}\n[data-theme=modern][_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn.transparent.active[_ngcontent-%COMP%] {\n color: #ffdd00;\n}\n[data-theme=classic][_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn.transparent.active[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn.transparent.active[_ngcontent-%COMP%] {\n color: #ffdd00;\n}\n.btn.btn-inverted[_ngcontent-%COMP%] {\n background: transparent;\n border: none;\n box-shadow: none;\n}\n[data-theme=restore][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #0a4553;\n border-color: #0a4553;\n}\n[data-theme=restore][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=restore] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=restore][_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=restore][_ngcontent-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%] {\n background: rgba(233, 233, 233, 0.2);\n}\n[data-theme=neutral][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #000;\n border-color: #000;\n}\n[data-theme=neutral][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=neutral] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=neutral][_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=neutral][_ngcontent-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%] {\n background: rgba(255, 255, 255, 0.2);\n}\n[data-theme=modern][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #263238;\n border-color: #263238;\n}\n[data-theme=modern][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=modern] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=modern][_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=modern][_ngcontent-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%] {\n background: rgba(236, 239, 241, 0.2);\n}\n[data-theme=classic][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #362d28;\n border-color: #362d28;\n}\n[data-theme=classic][_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=classic] [_nghost-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=classic][_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn.btn-inverted[_ngcontent-%COMP%]:hover, [data-theme=classic][_ngcontent-%COMP%] .btn.btn-inverted.btn-hovered[_ngcontent-%COMP%] {\n background: rgba(245, 234, 212, 0.2);\n}\n.btn.btn-floating[_ngcontent-%COMP%] {\n -o-box-shadow: 0 2px 4px rgba(0, 0, 0, .4) !important;\n -ms-box-shadow: 0 2px 4px rgba(0, 0, 0, .4) !important;\n box-shadow: 0 2px 4px rgba(0, 0, 0, .4) !important;\n}\n[data-theme=restore][_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .btn.btn-floating[_ngcontent-%COMP%] {\n color: #e9e9e9;\n background-color: #0a4553;\n border-color: #0a4553;\n}\n[data-theme=neutral][_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .btn.btn-floating[_ngcontent-%COMP%] {\n color: #fff;\n background-color: #000;\n border-color: #000;\n}\n[data-theme=modern][_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .btn.btn-floating[_ngcontent-%COMP%] {\n color: #ECEFF1;\n background-color: #263238;\n border-color: #263238;\n}\n[data-theme=classic][_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .btn.btn-floating[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .btn.btn-floating[_ngcontent-%COMP%] {\n color: #f5ead4;\n background-color: #362d28;\n border-color: #362d28;\n}\n.btn.btn-floating[_ngcontent-%COMP%]:hover {\n -o-box-shadow: none !important;\n -ms-box-shadow: none !important;\n box-shadow: none !important;\n}\n.btn.btn-floating.rounded-circle[_ngcontent-%COMP%] {\n height: 40px;\n width: 40px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2J1dHRvbi5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9z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b2xvcjogdGhlbWVkKFwidG9vbHNDb2xvclwiKTtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdGhlbWVkKFwidG9vbHNCYWNrZ3JvdW5kXCIpO1xuICAgICAgICBib3JkZXItY29sb3I6IHRoZW1lZChcInRvb2xzQmFja2dyb3VuZFwiKTtcbiAgICB9XG5cbiAgICAmOmhvdmVyOm5vdChbZGlzYWJsZWRdKSB7XG4gICAgICAgIEBpbmNsdWRlIHNldChcImJveC1zaGFkb3dcIiwgXCIxcHggMnB4IDNweCByZ2JhKDAsIDAsIDAsIC40KSBpbnNldCAhaW1wb3J0YW50XCIpO1xuICAgIH1cblxuICAgICYuYWN0aXZlIHtcbiAgICAgICAgQGluY2x1ZGUgdGhlbWlmeSgkdGhlbWVzKSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiB0aGVtZWQoXCJ0b29sc0NvbG9yQWN0aXZlXCIpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi50cmFuc3BhcmVudCB7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmUgIWltcG9ydGFudDtcbiAgICAgICAgYm9yZGVyLWNvbG9yOiB0cmFuc3BhcmVudCAhaW1wb3J0YW50O1xuXG4gICAgICAgICYuYWN0aXZlIHtcbiAgICAgICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykge1xuICAgICAgICAgICAgICAgIGNvbG9yOiB0aGVtZWQoXCJ0b29sc0NvbG9yQWN0aXZlXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi5idG4taW52ZXJ0ZWQge1xuICAgICAgICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBib3gtc2hhZG93OiBub25lO1xuXG4gICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykge1xuICAgICAgICAgICAgY29sb3I6IHRoZW1lZChcInRvb2xzQmFja2dyb3VuZFwiKTtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRoZW1lZChcInRvb2xzQ29sb3JcIik7XG4gICAgICAgICAgICBib3JkZXItY29sb3I6IHRoZW1lZChcInRvb2xzQ29sb3JcIik7XG5cbiAgICAgICAgICAgICY6aG92ZXIsXG4gICAgICAgICAgICAmLmJ0bi1ob3ZlcmVkIHtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiByZ2JhKHRoZW1lZChcInRvb2xzQmFja2dyb3VuZFwiKSwgMC4yKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgICYuYnRuLWZsb2F0aW5nIHtcbiAgICAgICAgQGluY2x1ZGUgc2V0KFwiYm94LXNoYWRvd1wiLCBcIjAgMnB4IDRweCByZ2JhKDAsIDAsIDAsIC40KSAhaW1wb3J0YW50XCIpO1xuICAgICAgICBAaW5jbHVkZSB0aGVtaWZ5KCR0aGVtZXMpIHtcbiAgICAgICAgICAgIGNvbG9yOiB0aGVtZWQoXCJ0b29sc0JhY2tncm91bmRcIik7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0aGVtZWQoXCJ0b29sc0NvbG9yXCIpO1xuICAgICAgICAgICAgYm9yZGVyLWNvbG9yOiB0aGVtZWQoXCJ0b29sc0NvbG9yXCIpO1xuICAgICAgICB9XG4gICAgICAgICY6aG92ZXIge1xuICAgICAgICAgICAgQGluY2x1ZGUgc2V0KFwiYm94LXNoYWRvd1wiLCBcIm5vbmUgIWltcG9ydGFudFwiKTtcbiAgICAgICAgfVxuICAgICAgICAmLnJvdW5kZWQtY2lyY2xlIHtcbiAgICAgICAgICAgIGhlaWdodDogNDBweDtcbiAgICAgICAgICAgIHdpZHRoOiA0MHB4O1xuICAgICAgICB9XG4gICAgfVxufVxuIiwiJHRoZW1lczogKFxuICAgIHJlc3RvcmU6IChcbiAgICAgICAgYmFzZUNvbG9yRGFyazogIzBhNDU1MyxcbiA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Rjb2xvci1taWRkbGU7XG4gICAgfVxuICB9XG5cbiAgJjpob3ZlciB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgfVxufVxuXG5cbkBtaXhpbiBoZWFkZXJTZWN0aW9uVGl0bGUoKSB7XG4gIGJvcmRlci1ib3R0b206IDFweCBkb3R0ZWQgIzY2NjtcbiAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gIGNvbG9yOiAjMDAwO1xuICBmb250LXNpemU6IDEuMnJlbTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1hcmdpbi10b3A6IDE0cHg7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ButtonComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-button',
- templateUrl: './button.component.html',
- styleUrls: ['./button.component.scss']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
- }];
- }, {
- iconLeft: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- iconRight: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- toggler: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- transparent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- inverted: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- active: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- additionalStyle: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- disabled: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- label: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- additionalClasses: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- type: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- btnClick: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "UksB":
- /*!*************************************************************!*\
- !*** ./src/app/panels/image-panel/image-panel.component.ts ***!
- \*************************************************************/
- /*! exports provided: ImagePanelComponent */
- /***/
- function UksB(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ImagePanelComponent", function () {
- return ImagePanelComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! src/app/services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../ui-components/panel/panel.component */
- "HiHV");
- /* harmony import */
- var _components_ms_desc_selector_ms_desc_selector_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../components/ms-desc-selector/ms-desc-selector.component */
- "qKvR");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _components_osd_osd_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../../components/osd/osd.component */
- "ry9e");
- /* harmony import */
- var _components_ms_desc_ms_desc_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../../components/ms-desc/ms-desc.component */
- "ZiLK");
- function ImagePanelComponent_evt_osd_5_Template(rf, ctx) {
- if (rf & 1) {
- var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-osd", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function ImagePanelComponent_evt_osd_5_Template_evt_osd_pageChange_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r4.updatePage($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("viewerData", ctx_r1.viewerData)("page", ctx_r1.pageNumber);
- }
- }
- function ImagePanelComponent_p_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "p");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, "Found no source file");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- }
- function ImagePanelComponent_div_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-ms-desc", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, ctx_r3.currentMsDesc$));
- }
- }
- var ImagePanelComponent = /*#__PURE__*/function () {
- function ImagePanelComponent(evtModelService, evtStatus) {
- _classCallCheck(this, ImagePanelComponent);
- this.evtModelService = evtModelService;
- this.evtStatus = evtStatus;
- this.currentPage$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
- this.currentPageId$ = this.currentPage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (p) {
- return p === null || p === void 0 ? void 0 : p.id;
- }));
- this.currentMsDescId$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
- this.currentMsDesc$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.evtModelService.msDesc$, this.currentMsDescId$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(function (_ref51) {
- var _ref52 = _slicedToArray(_ref51, 2),
- msDesc = _ref52[0],
- currentId = _ref52[1];
- return !!msDesc && !!currentId;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref53) {
- var _ref54 = _slicedToArray(_ref53, 2),
- msDesc = _ref54[0],
- currentId = _ref54[1];
- return msDesc.find(function (m) {
- return m.id === currentId;
- });
- }));
- this.msDescOpen = false;
- }
- _createClass(ImagePanelComponent, [{
- key: "updatePage",
- value: function updatePage(viewerPage) {
- var _this67 = this;
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (pages) {
- return _this67.evtStatus.updatePage$.next(pages[viewerPage - 1]);
- });
- }
- }, {
- key: "setMsDescOpen",
- value: function setMsDescOpen(isOpen) {
- this.msDescOpen = isOpen;
- }
- }, {
- key: "setMsDescID",
- value: function setMsDescID(msDescId) {
- this.currentMsDescId$.next(msDescId);
- }
- }, {
- key: "pageID",
- set: function set(v) {
- var _this68 = this;
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(function (pages) {
- return _this68._pageNumber = pages.findIndex(function (page) {
- return page.id === v;
- });
- });
- }
- }, {
- key: "pageNumber",
- get: function get() {
- return this._pageNumber + 1;
- }
- }]);
- return ImagePanelComponent;
- }();
- ImagePanelComponent.ɵfac = function ImagePanelComponent_Factory(t) {
- return new (t || ImagePanelComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"]));
- };
- ImagePanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: ImagePanelComponent,
- selectors: [["evt-image-panel"]],
- inputs: {
- viewerData: "viewerData",
- pageID: "pageID"
- },
- decls: 9,
- vars: 6,
- consts: [[3, "showSecondaryContent", "hideHeader", "hideFooter"], ["header-left", ""], [3, "selectionChange", "msDescOpen"], ["msDesc", ""], ["content", ""], [3, "viewerData", "page", "pageChange", 4, "ngIf"], [4, "ngIf"], ["secondary-content", ""], [3, "viewerData", "page", "pageChange"], [3, "data"]],
- template: function ImagePanelComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-ms-desc-selector", 2, 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function ImagePanelComponent_Template_evt_ms_desc_selector_selectionChange_2_listener($event) {
- return ctx.setMsDescID($event);
- })("msDescOpen", function ImagePanelComponent_Template_evt_ms_desc_selector_msDescOpen_2_listener($event) {
- return ctx.setMsDescOpen($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, ImagePanelComponent_evt_osd_5_Template, 1, 2, "evt-osd", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, ImagePanelComponent_p_6_Template, 2, 0, "p", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, ImagePanelComponent_div_8_Template, 3, 3, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("showSecondaryContent", ctx.msDescOpen)("hideHeader", false)("hideFooter", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.viewerData);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.viewerData);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.msDescOpen);
- }
- },
- directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_5__["PanelComponent"], _components_ms_desc_selector_ms_desc_selector_component__WEBPACK_IMPORTED_MODULE_6__["MsDescSelectorComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"], _components_osd_osd_component__WEBPACK_IMPORTED_MODULE_8__["OsdComponent"], _components_ms_desc_ms_desc_component__WEBPACK_IMPORTED_MODULE_9__["MsDescComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJpbWFnZS1wYW5lbC5jb21wb25lbnQuc2NzcyJ9 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ImagePanelComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-image-panel',
- templateUrl: './image-panel.component.html',
- styleUrls: ['./image-panel.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_3__["EVTModelService"]
- }, {
- type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_4__["EVTStatusService"]
- }];
- }, {
- viewerData: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- pageID: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "VyoE":
- /*!*******************************************************************!*\
- !*** ./src/app/panels/pinboard-panel/pinboard-panel.component.ts ***!
- \*******************************************************************/
- /*! exports provided: PinboardPanelComponent */
- /***/
- function VyoE(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PinboardPanelComponent", function () {
- return PinboardPanelComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _pinboard_pinboard_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../pinboard/pinboard.service */
- "fqbd");
- /* harmony import */
- var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../ui-components/panel/panel.component */
- "HiHV");
- /* harmony import */
- var _pinboard_pinboard_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../pinboard/pinboard.component */
- "W4vA");
- /* harmony import */
- var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @ng-select/ng-select */
- "ZOsW");
- /* harmony import */
- var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/forms */
- "3Pt+");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function PinboardPanelComponent_ng_template_10_div_0_Template(rf, ctx) {
- if (rf & 1) {
- var _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "span", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function PinboardPanelComponent_ng_template_10_div_0_Template_span_click_3_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);
- var item_r5 = ctx.$implicit;
- var clear_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().clear;
- return clear_r2(item_r5);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "\xD7");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r5 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r5.label);
- }
- }
- function PinboardPanelComponent_ng_template_10_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var items_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", items_r1.length - 2, " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "more"), "...");
- }
- }
- function PinboardPanelComponent_ng_template_10_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, PinboardPanelComponent_ng_template_10_div_0_Template, 5, 1, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "slice");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PinboardPanelComponent_ng_template_10_div_2_Template, 4, 4, "div", 7);
- }
- if (rf & 2) {
- var items_r1 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](1, 2, items_r1, 0, 2));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r1.length > 2);
- }
- }
- var PinboardPanelComponent = /*#__PURE__*/function () {
- function PinboardPanelComponent(pinboard) {
- var _this69 = this;
- _classCallCheck(this, PinboardPanelComponent);
- this.pinboard = pinboard;
- this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.selectedPinTypes = [];
- this.pinboardTypes$ = this.pinboard.getItems().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(function (items) {
- var types = [];
- items.forEach(function (item) {
- var pinType = item.pinType;
- if (pinType && !types.find(function (i) {
- return i.id === item.pinType;
- })) {
- types.push({
- id: pinType,
- label: pinType
- });
- }
- });
- return types;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(function (types) {
- if (_this69.selectedPinTypes && _this69.selectedPinTypes.length > 0) {
- _this69.selectedPinTypes = _toConsumableArray(_this69.selectedPinTypes.filter(function (type) {
- return types.find(function (i) {
- return i.id === type;
- });
- }));
- }
- }));
- }
- _createClass(PinboardPanelComponent, [{
- key: "emitHide",
- value: function emitHide() {
- this.hide.emit();
- }
- }]);
- return PinboardPanelComponent;
- }();
- PinboardPanelComponent.ɵfac = function PinboardPanelComponent_Factory(t) {
- return new (t || PinboardPanelComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_pinboard_pinboard_service__WEBPACK_IMPORTED_MODULE_2__["PinboardService"]));
- };
- PinboardPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: PinboardPanelComponent,
- selectors: [["evt-pinboard-panel"]],
- outputs: {
- hide: "hide"
- },
- decls: 11,
- vars: 19,
- consts: [[3, "closable", "secondary", "hide"], ["header-left", ""], ["content", "", 3, "types"], ["footer", ""], ["bindValue", "id", "bindLabel", "label", 3, "items", "multiple", "closeOnSelect", "searchable", "placeholder", "ngModel", "disabled", "ngModelChange"], ["ng-multi-label-tmp", ""], ["class", "ng-value", 4, "ngFor", "ngForOf"], ["class", "ng-value", 4, "ngIf"], [1, "ng-value"], [1, "ng-value-label"], ["aria-hidden", "true", 1, "ng-value-icon", "right", 3, "click"]],
- template: function PinboardPanelComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function PinboardPanelComponent_Template_evt_panel_hide_0_listener() {
- return ctx.emitHide();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](4, "evt-pinboard", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "ng-select", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function PinboardPanelComponent_Template_ng_select_ngModelChange_6_listener($event) {
- return ctx.selectedPinTypes = $event;
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](8, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, PinboardPanelComponent_ng_template_10_Template, 3, 6, "ng-template", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("closable", true)("secondary", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 11, "pinboard"));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("types", ctx.selectedPinTypes);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 13, ctx.pinboardTypes$))("multiple", true)("closeOnSelect", false)("searchable", true)("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](8, 15, "filterPins"))("ngModel", ctx.selectedPinTypes)("disabled", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 17, ctx.pinboardTypes$).length === 0);
- }
- },
- directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_3__["PanelComponent"], _pinboard_pinboard_component__WEBPACK_IMPORTED_MODULE_4__["PinboardComponent"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_5__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_6__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_6__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_5__["ɵi"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["SlicePipe"]],
- styles: [".pin-types-selector[_ngcontent-%COMP%] .ng-fa-layers-counter[_ngcontent-%COMP%] {\n font-size: 2rem !important;\n top: -7px;\n position: relative;\n left: 1.5rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BpbmJvYXJkLXBhbmVsLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNJO0VBQ0ksMEJBQUE7RUFDQSxTQUFBO0VBQ0Esa0JBQUE7RUFDQSxZQUFBO0FBQVIiLCJmaWxlIjoicGluYm9hcmQtcGFuZWwuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIucGluLXR5cGVzLXNlbGVjdG9yIHtcbiAgICAubmctZmEtbGF5ZXJzLWNvdW50ZXIge1xuICAgICAgICBmb250LXNpemU6IDJyZW0gIWltcG9ydGFudDtcbiAgICAgICAgdG9wOiAtN3B4O1xuICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgICAgIGxlZnQ6IDEuNXJlbTtcbiAgICB9XG59Il19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PinboardPanelComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-pinboard-panel',
- templateUrl: './pinboard-panel.component.html',
- styleUrls: ['./pinboard-panel.component.scss']
- }]
- }], function () {
- return [{
- type: _pinboard_pinboard_service__WEBPACK_IMPORTED_MODULE_2__["PinboardService"]
- }];
- }, {
- hide: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "W4vA":
- /*!************************************************!*\
- !*** ./src/app/pinboard/pinboard.component.ts ***!
- \************************************************/
- /*! exports provided: PinboardComponent */
- /***/
- function W4vA(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PinboardComponent", function () {
- return PinboardComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _pinboard_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ./pinboard.service */
- "fqbd");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../ui-components/button/button.component */
- "UjKN");
- /* harmony import */
- var _components_apparatus_entry_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../components/apparatus-entry/apparatus-entry-readings/apparatus-entry-readings.component */
- "etwH");
- /* harmony import */
- var _components_content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../components/content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function PinboardComponent_div_0_div_1_div_11_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-apparatus-entry-readings", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("data", item_r6);
- }
- }
- function PinboardComponent_div_0_div_1_div_12_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 15);
- }
- if (rf & 2) {
- var element_r11 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", element_r11);
- }
- }
- function PinboardComponent_div_0_div_1_div_12_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PinboardComponent_div_0_div_1_div_12_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", item_r6.content);
- }
- }
- var _c0 = function _c0() {
- return {
- icon: "trash-alt"
- };
- };
- function PinboardComponent_div_0_div_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "span", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "date");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "evt-button", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function PinboardComponent_div_0_div_1_Template_evt_button_btnClick_8_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r14);
- var item_r6 = ctx.$implicit;
- var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- return ctx_r13.removePinnedItem(item_r6);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](10, 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, PinboardComponent_div_0_div_1_div_11_Template, 2, 1, "div", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, PinboardComponent_div_0_div_1_div_12_Template, 2, 1, "div", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r6 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 6, item_r6.pinType), "");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" [", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind2"](7, 8, item_r6.pinDate, "shortDate"), "]");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](13, _c0))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 11, "RemovePin"));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", item_r6.renderer);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", "ApparatusEntryReadings");
- }
- }
- function PinboardComponent_div_0_div_2_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "filteredPinboardEmpty"), " ");
- }
- }
- function PinboardComponent_div_0_div_2_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, "pinboardEmpty"), " ");
- }
- }
- function PinboardComponent_div_0_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PinboardComponent_div_0_div_2_span_1_Template, 3, 3, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PinboardComponent_div_0_div_2_span_2_Template, 3, 3, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r5.types.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r5.types || ctx_r5.types.length === 0);
- }
- }
- function PinboardComponent_div_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, PinboardComponent_div_0_div_1_Template, 13, 14, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PinboardComponent_div_0_div_2_Template, 3, 2, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var itemsPinned_r3 = ctx.ngIf;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", itemsPinned_r3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", itemsPinned_r3.length === 0 && ctx_r0.types);
- }
- }
- function PinboardComponent_ng_template_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, "pinboardLoading"), "\n");
- }
- }
- var PinboardComponent = /*#__PURE__*/function () {
- function PinboardComponent(pinboard) {
- _classCallCheck(this, PinboardComponent);
- this.pinboard = pinboard;
- }
- _createClass(PinboardComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this.initPins();
- }
- }, {
- key: "ngOnChanges",
- value: function ngOnChanges(changes) {
- if (changes.types.currentValue !== changes.types.previousValue) {
- this.initPins();
- }
- }
- }, {
- key: "removePinnedItem",
- value: function removePinnedItem(item) {
- this.pinboard.toggleItem(item);
- }
- }, {
- key: "initPins",
- value: function initPins() {
- this.itemsPinned$ = this.pinboard.getItems(this.types);
- }
- }]);
- return PinboardComponent;
- }();
- PinboardComponent.ɵfac = function PinboardComponent_Factory(t) {
- return new (t || PinboardComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_pinboard_service__WEBPACK_IMPORTED_MODULE_1__["PinboardService"]));
- };
- PinboardComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: PinboardComponent,
- selectors: [["evt-pinboard"]],
- inputs: {
- types: "types"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
- decls: 4,
- vars: 4,
- consts: [["class", "pinnedItems-container", 4, "ngIf", "ngIfElse"], ["loading", ""], [1, "pinnedItems-container"], ["class", "pinnedItem", 4, "ngFor", "ngForOf"], [4, "ngIf"], [1, "pinnedItem"], [1, "pinnedItem-header"], [1, "pin-type"], [1, "pin-date"], [1, "pin-remover", 3, "iconLeft", "title", "btnClick"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], [3, "data"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]],
- template: function PinboardComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, PinboardComponent_div_0_Template, 3, 2, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PinboardComponent_ng_template_2_Template, 2, 3, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- var _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 2, ctx.itemsPinned$))("ngIfElse", _r1);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_3__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgSwitchDefault"], _components_apparatus_entry_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_4__["ApparatusEntryReadingsComponent"], _components_content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["DatePipe"]],
- styles: [".pinnedItem[_ngcontent-%COMP%] {\n position: relative;\n margin-bottom: 0.5rem;\n border-bottom: 1px solid lightgray;\n padding-bottom: 0.5rem;\n}\n.pinnedItem-header[_ngcontent-%COMP%] {\n min-height: 31px;\n}\n.pinnedItem-header[_ngcontent-%COMP%] .pin-type[_ngcontent-%COMP%] {\n font-variant: small-caps;\n}\n.pinnedItem-header[_ngcontent-%COMP%] .pin-type[_ngcontent-%COMP%], .pinnedItem-header[_ngcontent-%COMP%] .pin-date[_ngcontent-%COMP%] {\n font-size: 0.7rem;\n color: grey;\n}\n.pinnedItem-header[_ngcontent-%COMP%] .pin-remover[_ngcontent-%COMP%] {\n float: right;\n position: absolute;\n top: 0;\n right: 0;\n z-index: 99;\n}\n.pinnedItem-header[_ngcontent-%COMP%] .pin-remover[_ngcontent-%COMP%]:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n[_nghost-%COMP%] .pinnedItems-container evt-pinner {\n display: none !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BpbmJvYXJkLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0Usa0JBQUE7RUFDQSxxQkFBQTtFQUNBLGtDQUFBO0VBQ0Esc0JBQUE7QUFDRjtBQUNFO0VBQ0UsZ0JBQUE7QUFDSjtBQUNJO0VBQ0Usd0JBQUE7QUFD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
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PinboardComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-pinboard',
- templateUrl: './pinboard.component.html',
- styleUrls: ['./pinboard.component.scss']
- }]
- }], function () {
- return [{
- type: _pinboard_service__WEBPACK_IMPORTED_MODULE_1__["PinboardService"]
- }];
- }, {
- types: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "Wu1i":
- /*!****************************************!*\
- !*** ./src/app/pipes/humanize.pipe.ts ***!
- \****************************************/
- /*! exports provided: HumanizePipe */
- /***/
- function Wu1i(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HumanizePipe", function () {
- return HumanizePipe;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- var HumanizePipe = /*#__PURE__*/function () {
- function HumanizePipe() {
- _classCallCheck(this, HumanizePipe);
- }
- _createClass(HumanizePipe, [{
- key: "transform",
- value: function transform(value) {
- if (value === '') {
- return value;
- }
- value = value.replace(/([^A-Z])([A-Z])/g, '$1 $2').replace(/([A-Z])([A-Z][^A-Z])/g, '$1 $2');
- return value;
- }
- }]);
- return HumanizePipe;
- }();
- HumanizePipe.ɵfac = function HumanizePipe_Factory(t) {
- return new (t || HumanizePipe)();
- };
- HumanizePipe.ɵpipe = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "humanize",
- type: HumanizePipe,
- pure: true
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HumanizePipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Pipe"],
- args: [{
- name: 'humanize'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "WyXU":
- /*!****************************************************************************!*\
- !*** ./src/app/ui-components/ms-desc-section/ms-desc-section.component.ts ***!
- \****************************************************************************/
- /*! exports provided: MsDescSectionComponent */
- /***/
- function WyXU(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsDescSectionComponent", function () {
- return MsDescSectionComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function MsDescSectionComponent_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, ctx_r0.label), "", ctx_r0.inlineLabel ? ": " : "", "");
- }
- }
- function MsDescSectionComponent_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](1, 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r3);
- }
- }
- function MsDescSectionComponent_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](2, 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r3);
- }
- }
- function MsDescSectionComponent_ng_template_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](0);
- }
- }
- var _c0 = [[["", "content", ""]]];
- var _c1 = ["[content]"];
- var MsDescSectionComponent = function MsDescSectionComponent() {
- _classCallCheck(this, MsDescSectionComponent);
- };
- MsDescSectionComponent.ɵfac = function MsDescSectionComponent_Factory(t) {
- return new (t || MsDescSectionComponent)();
- };
- MsDescSectionComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: MsDescSectionComponent,
- selectors: [["evt-ms-desc-section"]],
- inputs: {
- label: "label",
- additionalClass: "additionalClass",
- inlineLabel: "inlineLabel",
- nestedElement: "nestedElement",
- underline: "underline"
- },
- ngContentSelectors: _c1,
- decls: 7,
- vars: 12,
- consts: [["class", "section-label", 4, "ngIf"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["content", ""], [1, "section-label"], [3, "ngTemplateOutlet"], [1, "section-content"]],
- template: function MsDescSectionComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](_c0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, MsDescSectionComponent_span_1_Template, 3, 4, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](2, 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, MsDescSectionComponent_ng_container_3_Template, 2, 1, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, MsDescSectionComponent_ng_container_4_Template, 3, 1, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, MsDescSectionComponent_ng_template_5_Template, 1, 0, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMapInterpolate1"]("section ", ctx.additionalClass, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("has-inline-label", ctx.inlineLabel)("has-nested-element", ctx.nestedElement)("underline-dotted", ctx.underline);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.label);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", ctx.nestedElement);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", true);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_1__["NgTemplateOutlet"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslatePipe"]],
- styles: [".section[_ngcontent-%COMP%] .section-label[_ngcontent-%COMP%] {\n font-variant: small-caps;\n color: #666;\n}\n.section.has-inline-label[_ngcontent-%COMP%] {\n display: flex;\n}\n.section.has-inline-label.has-nested-element[_ngcontent-%COMP%] {\n display: block;\n}\n.section.has-inline-label[_ngcontent-%COMP%] .section-label[_ngcontent-%COMP%] {\n margin-right: 0.3rem;\n line-height: 1.3;\n}\n.section[_ngcontent-%COMP%]:not(.has-inline-label) .section-label[_ngcontent-%COMP%] {\n display: block;\n margin-top: 1rem;\n}\n.section[_ngcontent-%COMP%]:not(.has-inline-label).underline-dotted {\n border-bottom: 0.07rem dotted #666;\n margin-bottom: 0.3rem;\n font-size: 1.125rem;\n}\n.section[_ngcontent-%COMP%]:not(.has-inline-label):not(.underline-dotted) {\n font-size: 1.37rem;\n}\n.section[_ngcontent-%COMP%] p {\n margin-bottom: 0;\n}\n.itemElement[_ngcontent-%COMP%] {\n margin-left: 1rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWRlc2Mtc2VjdGlvbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDSTtFQUNJLHdCQUFBO0VBQ0EsV0FBQTtBQUFSO0FBRUk7RUFJSSxhQUFBO0FBSFI7QUFBUTtFQUNJLGNBQUE7QUFFWjtBQUNRO0VBQ0ksb0JBQUE7RUFDQSxnQkFBQTtBQUNaO0FBR1E7RUFDSSxjQUFBO0VBQ0EsZ0JBQUE7QUFEWjtBQUdRO0VBQ0ksa0NBQUE7RUFDQSxxQkFBQTtFQUNBLG1CQUFBO0FBRFo7QUFJUTtFQUNJLGtCQUFBO0FBRlo7QUFLSTtFQUNJLGdCQUFBO0FBSFI7QUFNQTtFQUNJLGlCQUFBO0FBSEoiLCJmaWxlIjoibXMtZGVzYy1zZWN0aW9uLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnNlY3Rpb24ge1xuICAgIC5zZWN0aW9uLWxhYmVsIHtcbiAgICAgICAgZm9udC12YXJpYW50OiBzbWFsbC1jYXBzO1xuICAgICAgICBjb2xvcjogIzY2NjtcbiAgICB9XG4gICAgJi5oYXMtaW5saW5lLWxhYmVsIHtcbiAgICAgICAgJi5oYXMtbmVzdGVkLWVsZW1lbnQge1xuICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgIH1cbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgLnNlY3Rpb24tbGFiZWwge1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwLjNyZW07XG4gICAgICAgICAgICBsaW5lLWhlaWdodDogMS4zO1xuICAgICAgICB9XG4gICAgfVxuICAgICY6bm90KC5oYXMtaW5saW5lLWxhYmVsKXtcbiAgICAgICAgLnNlY3Rpb24tbGFiZWwge1xuICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgICAgICBtYXJnaW4tdG9wOiAxcmVtOyAgXG4gICAgICAgIH1cbiAgICAgICAgJi51bmRlcmxpbmUtZG90dGVkIHtcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDAuMDdyZW0gZG90dGVkICM2NjY7XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwLjNyZW07XG4gICAgICAgICAgICBmb250LXNpemU6IDEuMTI1cmVtO1xuICAgICAgICAgICBcbiAgICAgICAgfVxuICAgICAgICAmOm5vdCgudW5kZXJsaW5lLWRvdHRlZCl7XG4gICAgICAgICAgICBmb250LXNpemU6IDEuMzdyZW07XG4gICAgICAgIH1cbiAgICB9XG4gICAgOjpuZy1kZWVwIHAge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgIH1cbn1cbi5pdGVtRWxlbWVudCB7XG4gICAgbWFyZ2luLWxlZnQ6IDFyZW07XG59XG5cbiJdfQ== */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MsDescSectionComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-ms-desc-section',
- templateUrl: './ms-desc-section.component.html',
- styleUrls: ['./ms-desc-section.component.scss']
- }]
- }], null, {
- label: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- additionalClass: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- inlineLabel: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- nestedElement: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- underline: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "XMdj":
- /*!******************************************************************!*\
- !*** ./src/app/services/xml-parsers/facsimile-parser.service.ts ***!
- \******************************************************************/
- /*! exports provided: FacsimileParserService */
- /***/
- function XMdj(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "FacsimileParserService", function () {
- return FacsimileParserService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _facsimile_parser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ./facsimile-parser */
- "quyl");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var FacsimileParserService = /*#__PURE__*/function () {
- function FacsimileParserService() {
- _classCallCheck(this, FacsimileParserService);
- this.zoneParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_facsimile_parser__WEBPACK_IMPORTED_MODULE_2__["ZoneParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
- this.surfaceParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_facsimile_parser__WEBPACK_IMPORTED_MODULE_2__["SurfaceParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
- }
- _createClass(FacsimileParserService, [{
- key: "parseSurfaces",
- value: function parseSurfaces(xml) {
- var _this70 = this;
- if (!xml) {
- return [];
- }
- return Array.from(xml.querySelectorAll('surface')).map(function (s) {
- return _this70.surfaceParser.parse(s);
- });
- }
- }, {
- key: "parseZones",
- value: function parseZones(xml) {
- var _this71 = this;
- if (!xml) {
- return [];
- }
- return Array.from(xml.querySelectorAll('zone')).map(function (z) {
- return _this71.zoneParser.parse(z);
- });
- }
- }]);
- return FacsimileParserService;
- }();
- FacsimileParserService.ɵfac = function FacsimileParserService_Factory(t) {
- return new (t || FacsimileParserService)();
- };
- FacsimileParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: FacsimileParserService,
- factory: FacsimileParserService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FacsimileParserService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "XOBg":
- /*!*******************************************!*\
- !*** ./src/app/app-translation.module.ts ***!
- \*******************************************/
- /*! exports provided: HttpLoaderFactory, AppTranslationModule */
- /***/
- function XOBg(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HttpLoaderFactory", function () {
- return HttpLoaderFactory;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AppTranslationModule", function () {
- return AppTranslationModule;
- });
- /* harmony import */
- var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/common/http */
- "tk/3");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- /* harmony import */
- var _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @ngx-translate/http-loader */
- "mqiu"); // AoT requires an exported function for factories
- function HttpLoaderFactory(http) {
- return new _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_3__["TranslateHttpLoader"](http, './assets/i18n/', '.json');
- }
- var AppTranslationModule = function AppTranslationModule() {
- _classCallCheck(this, AppTranslationModule);
- };
- AppTranslationModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
- type: AppTranslationModule
- });
- AppTranslationModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
- factory: function AppTranslationModule_Factory(t) {
- return new (t || AppTranslationModule)();
- },
- imports: [[_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClientModule"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"].forRoot({
- loader: {
- provide: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateLoader"],
- useFactory: HttpLoaderFactory,
- deps: [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]]
- }
- })], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"]]
- });
- (function () {
- (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](AppTranslationModule, {
- imports: [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClientModule"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"]],
- exports: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"]]
- });
- })();
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](AppTranslationModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"],
- args: [{
- imports: [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClientModule"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"].forRoot({
- loader: {
- provide: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateLoader"],
- useFactory: HttpLoaderFactory,
- deps: [_angular_common_http__WEBPACK_IMPORTED_MODULE_0__["HttpClient"]]
- }
- })],
- exports: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslateModule"]]
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "XvlD":
- /*!*****************************************************************************************!*\
- !*** ./src/app/components/lem-entry/lem-entry-readings/lem-entry-readings.component.ts ***!
- \*****************************************************************************************/
- /*! exports provided: LemEntryReadingsComponent */
- /***/
- function XvlD(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemEntryReadingsComponent", function () {
- return LemEntryReadingsComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! src/app/services/component-register.service */
- "d25s");
- /* harmony import */
- var src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! src/app/services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _reading_reading_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../reading/reading.component */
- "QgGR");
- var LemEntryReadingsComponent_1;
- function LemEntryReadingsComponent_evt_reading_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 4);
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r0.data.lemma);
- }
- }
- function LemEntryReadingsComponent_ng_container_2_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- var _c0 = function _c0(a0) {
- return {
- rdgHasCounter: a0
- };
- };
- function LemEntryReadingsComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryReadingsComponent_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", ctx_r1.template)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r1.rdgHasCounter));
- }
- }
- function LemEntryReadingsComponent_ng_container_3_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var witID_r6 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", witID_r6, "");
- }
- }
- function LemEntryReadingsComponent_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryReadingsComponent_ng_container_3_span_1_Template, 2, 1, "span", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.lemma.witIDs);
- }
- }
- function LemEntryReadingsComponent_span_6_evt_reading_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 4);
- }
- if (rf & 2) {
- var el_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", el_r7);
- }
- }
- function LemEntryReadingsComponent_span_6_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "omit.");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function LemEntryReadingsComponent_span_6_ng_container_3_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var wit_r14 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", wit_r14, " ");
- }
- }
- function LemEntryReadingsComponent_span_6_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryReadingsComponent_span_6_ng_container_3_span_1_Template, 2, 1, "span", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var witID_r12 = ctx.$implicit;
- var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r10.getWits$(witID_r12)));
- }
- }
- function LemEntryReadingsComponent_span_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryReadingsComponent_span_6_evt_reading_1_Template, 1, 1, "evt-reading", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryReadingsComponent_span_6_span_2_Template, 2, 0, "span", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemEntryReadingsComponent_span_6_ng_container_3_Template, 3, 3, "ng-container", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var el_r7 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", el_r7.content.length !== 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", el_r7.content.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", el_r7.witIDs);
- }
- }
- var LemEntryReadingsComponent = LemEntryReadingsComponent_1 = /*#__PURE__*/function () {
- function LemEntryReadingsComponent(evtModelService) {
- _classCallCheck(this, LemEntryReadingsComponent);
- this.evtModelService = evtModelService;
- this.groups$ = this.evtModelService.groups$;
- }
- _createClass(LemEntryReadingsComponent, [{
- key: "getWits$",
- value: function getWits$(witID) {
- return this.groups$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (groups) {
- return groups.filter(function (g) {
- return g.id === witID;
- }).map(function (g) {
- return g.witnesses;
- }).reduce(function (x, y) {
- return [].concat(_toConsumableArray(x), _toConsumableArray(y));
- }, []);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (groupWits) {
- return groupWits.length > 0 ? groupWits : [witID];
- }));
- }
- }, {
- key: "significantRdg",
- get: function get() {
- return this.data.readings.filter(function (rdg) {
- return rdg.significant;
- });
- }
- }]);
- return LemEntryReadingsComponent;
- }();
- LemEntryReadingsComponent.ɵfac = function LemEntryReadingsComponent_Factory(t) {
- return new (t || LemEntryReadingsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"]));
- };
- LemEntryReadingsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: LemEntryReadingsComponent,
- selectors: [["evt-lem-entry-readings"]],
- inputs: {
- data: "data",
- rdgHasCounter: "rdgHasCounter",
- template: "template"
- },
- decls: 7,
- vars: 4,
- consts: [[1, "lem-entry-reading"], [3, "data", 4, "ngIf"], [4, "ngIf"], ["class", "lem-entry-reading", 4, "ngFor", "ngForOf"], [3, "data"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [4, "ngFor", "ngForOf"], ["class", "font-italic", 4, "ngIf"], [1, "font-italic"], ["class", "font-italic", 4, "ngFor", "ngForOf"]],
- template: function LemEntryReadingsComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemEntryReadingsComponent_evt_reading_1_Template, 1, 1, "evt-reading", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryReadingsComponent_ng_container_2_Template, 2, 4, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemEntryReadingsComponent_ng_container_3_Template, 2, 1, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5, "] ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, LemEntryReadingsComponent_span_6_Template, 4, 3, "span", 3);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedLemsIDs.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedLemsIDs.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.lemma.content.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.significantRdg);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_6__["ReadingComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgTemplateOutlet"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJsZW0tZW50cnktcmVhZGluZ3MuY29tcG9uZW50LnNjc3MifQ== */"],
- changeDetection: 0
- });
- LemEntryReadingsComponent = LemEntryReadingsComponent_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(LemEntryReadingsComponent_1)], LemEntryReadingsComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemEntryReadingsComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-lem-entry-readings',
- templateUrl: './lem-entry-readings.component.html',
- styleUrls: ['./lem-entry-readings.component.scss'],
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush
- }]
- }], function () {
- return [{
- type: src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- rdgHasCounter: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- template: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "Y4jJ":
- /*!*************************************************************************!*\
- !*** ./src/app/components/iperlems-select/iperlems-select.component.ts ***!
- \*************************************************************************/
- /*! exports provided: IperlemsSelectComponent */
- /***/
- function Y4jJ(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "IperlemsSelectComponent", function () {
- return IperlemsSelectComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../../app.config */
- "aR35");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @ng-select/ng-select */
- "ZOsW");
- /* harmony import */
- var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/forms */
- "3Pt+");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function IperlemsSelectComponent_ng_container_0_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "input", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function IperlemsSelectComponent_ng_container_0_ng_template_3_Template_input_click_2_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- return ctx_r4.toggleSelection();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "label", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("checked", (ctx_r1.selectedIperlemTypes == null ? null : ctx_r1.selectedIperlemTypes.length) === ctx_r1.iperlemsTypes.length);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "selectIperlemsAll"));
- }
- }
- function IperlemsSelectComponent_ng_container_0_ng_template_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "input", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r6 = ctx.item;
- var item$_r7 = ctx.item$;
- var index_r8 = ctx.index;
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("id", "item-", index_r8, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", item$_r7.selected);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r6.color);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r2.iconColor);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 6, item_r6.label));
- }
- }
- function IperlemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "span", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function IperlemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template_span_click_4_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r18);
- var item_r15 = ctx.$implicit;
- var clear_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).clear;
- return clear_r11(item_r15);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\xD7");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r15 = ctx.$implicit;
- var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r15.color);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r14.iconColor);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r15.label);
- }
- }
- function IperlemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, IperlemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template, 6, 4, "div", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, items_r10, 0, 1));
- }
- }
- function IperlemsSelectComponent_ng_container_0_ng_template_5_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", items_r10.length, " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "selected"), "");
- }
- }
- function IperlemsSelectComponent_ng_container_0_ng_template_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, IperlemsSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template, 3, 5, "ng-container", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, IperlemsSelectComponent_ng_container_0_ng_template_5_div_1_Template, 4, 4, "div", 12);
- }
- if (rf & 2) {
- var items_r10 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length === 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length > 1);
- }
- }
- function IperlemsSelectComponent_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- var _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ng-select", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function IperlemsSelectComponent_ng_container_0_Template_ng_select_ngModelChange_1_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22);
- var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r21.selectedIperlemTypes = $event;
- })("change", function IperlemsSelectComponent_ng_container_0_Template_ng_select_change_1_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22);
- var ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r23.updateSelectedIperlemTypes($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, IperlemsSelectComponent_ng_container_0_ng_template_3_Template, 6, 4, "ng-template", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, IperlemsSelectComponent_ng_container_0_ng_template_4_Template, 5, 8, "ng-template", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, IperlemsSelectComponent_ng_container_0_ng_template_5_Template, 2, 2, "ng-template", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", ctx_r0.iperlemsTypes)("multiple", true)("closeOnSelect", false)("searchable", false)("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 7, "selectIperlemsItems"))("ngModel", ctx_r0.selectedIperlemTypes)("disabled", ctx_r0.iperlemsTypes.length === 0);
- }
- }
- var IperlemsSelectComponent = /*#__PURE__*/function () {
- function IperlemsSelectComponent() {
- _classCallCheck(this, IperlemsSelectComponent);
- this.selectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.iperlemsTypes = (_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.iperlemsSelectItems || []).filter(function (g) {
- return !g.disabled;
- }).reduce(function (x, y) {
- return [].concat(_toConsumableArray(x), _toConsumableArray(y.items.filter(function (i) {
- return !i.disabled;
- }).map(function (i) {
- return Object.assign(Object.assign({}, i), {
- group: y.label
- });
- })));
- }, []);
- this.iconColor = {
- icon: 'circle',
- iconSet: 'fas',
- additionalClasses: 'ml-2 mr-1'
- };
- this.selectedIperlemTypes = [];
- }
- _createClass(IperlemsSelectComponent, [{
- key: "updateSelectedIperlemTypes",
- value: function updateSelectedIperlemTypes(iperlemsTypes) {
- if (Array.isArray(iperlemsTypes)) {
- // BUGFIX: There is a bug in ng-select change event and second time the parameter is an event
- this.selectionChange.emit(iperlemsTypes); // console.log('Prova', AppConfig.evtSettings.edition.iperlemsSelectItems || [])
- }
- }
- }, {
- key: "toggleSelection",
- value: function toggleSelection() {
- if (this.selectedIperlemTypes.length < this.iperlemsTypes.length) {
- this.selectedIperlemTypes = this.iperlemsTypes;
- } else {
- this.selectedIperlemTypes = [];
- }
- this.selectionChange.emit(this.selectedIperlemTypes); // console.log('Prova 0', AppConfig.evtSettings.edition.iperlemsSelectItems[0])
- // console.log('Prova 1', AppConfig.evtSettings.edition.iperlemsSelectItems[1])
- }
- }]);
- return IperlemsSelectComponent;
- }();
- IperlemsSelectComponent.ɵfac = function IperlemsSelectComponent_Factory(t) {
- return new (t || IperlemsSelectComponent)();
- };
- IperlemsSelectComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: IperlemsSelectComponent,
- selectors: [["evt-iperlems-select"]],
- outputs: {
- selectionChange: "selectionChange"
- },
- decls: 1,
- vars: 1,
- consts: [[4, "ngIf"], ["groupBy", "group", 3, "items", "multiple", "closeOnSelect", "searchable", "placeholder", "ngModel", "disabled", "ngModelChange", "change"], ["ng-header-tmp", ""], ["ng-option-tmp", ""], ["ng-multi-label-tmp", ""], [1, "lem-select-toolbar"], [1, "w-100", "text-dark", "select-all-btn"], ["id", "select-all", "type", "checkbox", 1, "mr-2", 3, "checked", "click"], ["for", "select-all", 1, "m-0"], ["type", "checkbox", 3, "id", "ngModel"], [3, "iconInfo"], [1, "ng-value-label"], ["class", "ng-value", 4, "ngIf"], ["class", "ng-value", 4, "ngFor", "ngForOf"], [1, "ng-value"], ["aria-hidden", "true", 1, "ng-value-icon", "right", 3, "click"]],
- template: function IperlemsSelectComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, IperlemsSelectComponent_ng_container_0_Template, 6, 9, "ng-container", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.iperlemsTypes.length > 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵj"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵi"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["CheckboxControlValueAccessor"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["SlicePipe"]],
- styles: [".ng-select {\n min-width: 150px;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {\n font-size: 90%;\n font-variant: small-caps;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {\n padding-left: 10px !important;\n}\n\n.lem-select-toolbar[_ngcontent-%COMP%] {\n display: flex;\n}\n\n.lem-select-toolbar[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n flex-grow: 1;\n}\n\n.select-all-btn[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2lwZXJsZW1zLXNlbGVjdC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQTtFQUNJLGdCQUFBO0FBQUo7O0FBS1E7RUFDSSxjQUFBO0VBQ0Esd0JBQUE7QUFGWjs7QUFLUTtFQUNJLDZCQUFBO0FBSFo7O0FBUUE7RUFDSSxhQUFBO0FBTEo7O0FBT0k7RUFDSSxZQUFBO0FBTFI7O0FBU0E7RUFDSSxlQUFBO0FBTkoiLCJmaWxlIjoiaXBlcmxlbXMtc2VsZWN0LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gbmctc2VsZWN0IG92ZXJyaWRlc1xuOjpuZy1kZWVwIC5uZy1zZWxlY3Qge1xuICAgIG1pbi13aWR0aDogMTUwcHg7XG59XG5cbjo6bmctZGVlcCAubmctZHJvcGRvd24tcGFuZWwge1xuICAgIC5uZy1kcm9wZG93bi1wYW5lbC1pdGVtcyB7XG4gICAgICAgIC5uZy1vcHRncm91cCB7XG4gICAgICAgICAgICBmb250LXNpemU6IDkwJTtcbiAgICAgICAgICAgIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgICAgICAgfVxuXG4gICAgICAgIC5uZy1vcHRpb24ge1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAxMHB4ICFpbXBvcnRhbnQ7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbi5sZW0tc2VsZWN0LXRvb2xiYXIge1xuICAgIGRpc3BsYXk6IGZsZXg7XG5cbiAgICAuYnRuIHtcbiAgICAgICAgZmxleC1ncm93OiAxO1xuICAgIH1cbn1cblxuLnNlbGVjdC1hbGwtYnRuIHtcbiAgICBjdXJzb3I6IHBvaW50ZXI7XG59XG5cbiJdfQ== */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](IperlemsSelectComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-iperlems-select',
- templateUrl: './iperlems-select.component.html',
- styleUrls: ['./iperlems-select.component.scss']
- }]
- }], null, {
- selectionChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "YSoE":
- /*!***********************************************************************************************!*\
- !*** ./src/app/components/lemmatized-entity-relation/lemmatized-entity-relation.component.ts ***!
- \***********************************************************************************************/
- /*! exports provided: LemmatizedEntityRelationComponent */
- /***/
- function YSoE(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntityRelationComponent", function () {
- return LemmatizedEntityRelationComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../lemmatized-entity/lemmatized-entity.component */
- "n4Hk");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../../pipes/humanize.pipe */
- "Wu1i");
- function LemmatizedEntityRelationComponent_small_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "small", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "lowercase");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r0.data.relationType));
- }
- }
- function LemmatizedEntityRelationComponent_ng_template_4_ng_template_0_Template(rf, ctx) {}
- var _c0 = function _c0(a0, a1) {
- return {
- part: a0,
- last: a1
- };
- };
- function LemmatizedEntityRelationComponent_ng_template_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemmatizedEntityRelationComponent_ng_template_4_ng_template_0_Template, 0, 0, "ng-template", 8);
- }
- if (rf & 2) {
- var part_r8 = ctx.$implicit;
- var last_r9 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r8, last_r9));
- }
- }
- function LemmatizedEntityRelationComponent_ng_template_6_ng_template_0_Template(rf, ctx) {}
- function LemmatizedEntityRelationComponent_ng_template_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemmatizedEntityRelationComponent_ng_template_6_ng_template_0_Template, 0, 0, "ng-template", 8);
- }
- if (rf & 2) {
- var part_r11 = ctx.$implicit;
- var last_r12 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r11, last_r12));
- }
- }
- function LemmatizedEntityRelationComponent_ng_template_11_ng_template_0_Template(rf, ctx) {}
- function LemmatizedEntityRelationComponent_ng_template_11_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemmatizedEntityRelationComponent_ng_template_11_ng_template_0_Template, 0, 0, "ng-template", 8);
- }
- if (rf & 2) {
- var part_r14 = ctx.$implicit;
- var last_r15 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r14, last_r15));
- }
- }
- function LemmatizedEntityRelationComponent_evt_lemmatized_entity_13_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-lemmatized-entity", 9);
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r4.selectedEntity)("inList", false);
- }
- }
- function LemmatizedEntityRelationComponent_div_14_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 12);
- }
- if (rf & 2) {
- var el_r18 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r18);
- }
- }
- function LemmatizedEntityRelationComponent_div_14_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityRelationComponent_div_14_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.description);
- }
- }
- function LemmatizedEntityRelationComponent_ng_template_15_Template(rf, ctx) {
- if (rf & 1) {
- var _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityRelationComponent_ng_template_15_Template_span_click_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r22);
- var part_r19 = ctx.part;
- var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- return ctx_r21.toggleEntity(part_r19.entity);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var part_r19 = ctx.part;
- var last_r20 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("relation-entity ", part_r19.entity == null ? null : part_r19.entity.lemmatizedEntityType, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("disabled", !part_r19.entity);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](part_r19.label + (!last_r20 ? ", " : ""));
- }
- }
- var _c1 = function _c1(a0, a1) {
- return {
- "p-3": a0,
- "border-bottom": a1
- };
- };
- var _c2 = function _c2() {
- return {
- icon: "network-wired",
- additionalClasses: "mr-2"
- };
- };
- var LemmatizedEntityRelationComponent = /*#__PURE__*/function () {
- function LemmatizedEntityRelationComponent(evtModelService) {
- _classCallCheck(this, LemmatizedEntityRelationComponent);
- this.evtModelService = evtModelService;
- this.activeParts$ = this.getEntities('activeParts');
- this.mutualParts$ = this.getEntities('mutualParts');
- this.passiveParts$ = this.getEntities('passiveParts');
- }
- _createClass(LemmatizedEntityRelationComponent, [{
- key: "toggleEntity",
- value: function toggleEntity(entity) {
- // TODO: if inEntity, then open entity in list
- if (!this.inEntity) {
- if (this.selectedEntity === entity) {
- this.selectedEntity = undefined;
- } else {
- this.selectedEntity = entity;
- }
- }
- }
- }, {
- key: "getEntities",
- value: function getEntities(partIdsGroup) {
- var _this72 = this;
- return this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (ne) {
- return _this72.data[partIdsGroup].map(function (entityId) {
- var entity = ne.all.lementities.find(function (e) {
- return e.id === entityId;
- });
- return {
- id: entityId,
- entity: entity,
- get label() {
- return entity ? entity.label : entityId;
- }
- };
- });
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (neslem) {
- return neslem.filter(function (e) {
- return !!e;
- });
- }));
- }
- }]);
- return LemmatizedEntityRelationComponent;
- }();
- LemmatizedEntityRelationComponent.ɵfac = function LemmatizedEntityRelationComponent_Factory(t) {
- return new (t || LemmatizedEntityRelationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]));
- };
- LemmatizedEntityRelationComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: LemmatizedEntityRelationComponent,
- selectors: [["evt-lemmatized-entity-relation"]],
- inputs: {
- data: "data",
- inEntity: "inEntity"
- },
- decls: 17,
- vars: 24,
- consts: [[1, "relation", "pb-2", 3, "ngClass", "evtHtmlAttributes"], ["class", "relation-type", 4, "ngIf"], [3, "iconInfo"], ["ngFor", "", 3, "ngForOf"], [3, "data", "inList", 4, "ngIf"], ["class", "relation-description text-secondary", 4, "ngIf"], ["relationParticipant", ""], [1, "relation-type"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "data", "inList"], [1, "relation-description", "text-secondary"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "click"]],
- template: function LemmatizedEntityRelationComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityRelationComponent_small_1_Template, 3, 3, "small", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-icon", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemmatizedEntityRelationComponent_ng_template_4_Template, 1, 5, "ng-template", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, LemmatizedEntityRelationComponent_ng_template_6_Template, 1, 5, "ng-template", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](7, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](9, "lowercase");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](10, "humanize");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](11, LemmatizedEntityRelationComponent_ng_template_11_Template, 1, 5, "ng-template", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](12, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](13, LemmatizedEntityRelationComponent_evt_lemmatized_entity_13_Template, 1, 2, "evt-lemmatized-entity", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](14, LemmatizedEntityRelationComponent_div_14_Template, 2, 1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](15, LemmatizedEntityRelationComponent_ng_template_15_Template, 2, 6, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](20, _c1, !ctx.inEntity, !ctx.inEntity))("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.relationType);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](23, _c2));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 10, ctx.activeParts$));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](7, 12, ctx.mutualParts$));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](9, 14, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](10, 16, ctx.data.name)), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](12, 18, ctx.passiveParts$));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.selectedEntity);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.description.length > 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["NgClass"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_8__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgTemplateOutlet"], _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_9__["LemmatizedEntityComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_10__["ContentViewerComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["LowerCasePipe"], _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_11__["HumanizePipe"]],
- styles: [".relation-entity[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n.relation-entity.disabled[_ngcontent-%COMP%] {\n cursor: default;\n}\n.relation-type[_ngcontent-%COMP%] {\n font-variant: small-caps;\n}\n.relation-description[_ngcontent-%COMP%] {\n font-size: 90%;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbW1hdGl6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
- LemmatizedEntityRelationComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Relation"])], LemmatizedEntityRelationComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemmatizedEntityRelationComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-lemmatized-entity-relation',
- templateUrl: './lemmatized-entity-relation.component.html',
- styleUrls: ['./lemmatized-entity-relation.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- inEntity: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "YwZW":
- /*!*******************************************************!*\
- !*** ./src/app/services/xml-parsers/parser-models.ts ***!
- \*******************************************************/
- /*! exports provided: createParser, getID, getClass, parseChildren, getDefaultN, getDefaultAttr, unhandledElement, complexElements */
- /***/
- function YwZW(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "createParser", function () {
- return createParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getID", function () {
- return getID;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getClass", function () {
- return getClass;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "parseChildren", function () {
- return parseChildren;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getDefaultN", function () {
- return getDefaultN;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getDefaultAttr", function () {
- return getDefaultAttr;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "unhandledElement", function () {
- return unhandledElement;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "complexElements", function () {
- return complexElements;
- });
- /* harmony import */
- var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! ../../utils/dom-utils */
- "G9+u");
- function createParser(c, data) {
- return new c(data);
- }
- function getID(xml) {
- var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
- return xml.getAttribute('xml:id') || prefix + Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_0__["xpath"])(xml);
- }
- function getClass(xml) {
- return xml.tagName ? xml.tagName.toLowerCase() : '';
- }
- function parseChildren(xml, parseFn, excludeEmptyText) {
- return complexElements(xml.childNodes, excludeEmptyText).map(function (child) {
- return parseFn(child);
- });
- }
- function getDefaultN(n) {
- return n || '';
- }
- function getDefaultAttr(attr) {
- return attr || '';
- }
- function unhandledElement(xml, name, parseFn) {
- return Array.from(xml.querySelectorAll(":scope > ".concat(name))).map(function (e) {
- return parseChildren(e, parseFn);
- });
- }
- function complexElements(nodes, excludeEmptyText) {
- var interestingNodes = Array.from(nodes).filter(function (n) {
- return n.nodeType !== 8;
- });
- return excludeEmptyText ? interestingNodes.filter(function (n) {
- return n.nodeType !== 3 || n.textContent.trim();
- }) : interestingNodes;
- }
- /***/
- },
- /***/
- "Z5dB":
- /*!*************************************************!*\
- !*** ./src/app/services/lems-select.service.ts ***!
- \*************************************************/
- /*! exports provided: LemsSelectService */
- /***/
- function Z5dB(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemsSelectService", function () {
- return LemsSelectService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../app.config */
- "aR35");
- var LemsSelectService = /*#__PURE__*/function () {
- function LemsSelectService() {
- _classCallCheck(this, LemsSelectService);
- this.updateLemsSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
- this.selectedLemsItems$ = this.updateLemsSelection$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- _createClass(LemsSelectService, [{
- key: "getClassNameFromValue",
- value: function getClassNameFromValue(value) {
- return value.toLowerCase().replace(/\s/g, '').replace(/(\[.*?\])/g, '');
- }
- }, {
- key: "getAttributesFromValue",
- value: function getAttributesFromValue(value) {
- return (value.toLowerCase().replace(/\s/g, '').match(/(\[.*?\])/g) || []).map(function (i) {
- return i.replace(/(\[|\]|\')/g, '').split('=');
- }).map(function (i) {
- return {
- key: i[0],
- value: i[1]
- };
- });
- }
- }, {
- key: "matchClassAndAttributes",
- value: function matchClassAndAttributes(valueForCheck, attributesToCheck, classToCheck) {
- var _this73 = this;
- return valueForCheck.split(',').some(function (v) {
- return _this73.matchClass(v, classToCheck) && _this73.matchAttributes(v, attributesToCheck);
- });
- }
- }, {
- key: "matchClass",
- value: function matchClass(classForCheck, classToCheck) {
- return classToCheck === this.getClassNameFromValue(classForCheck);
- }
- }, {
- key: "matchAttributes",
- value: function matchAttributes(attributesForCheck, attributesToCheck) {
- return this.getAttributesFromValue(attributesForCheck).every(function (a) {
- return attributesToCheck[a.key] === a.value;
- });
- }
- }, {
- key: "getHighlightColor",
- value: function getHighlightColor(attributesToCheck, classNameToCheck, selectedLemsItems) {
- var _this74 = this;
- var lemsSelectItems = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.lemsSelectItems.reduce(function (i, g) {
- return i.concat(g.items);
- }, []).reduce(function (x, y) {
- var multiValues = [];
- y.value.split(',').forEach(function (t) {
- multiValues.push(Object.assign(Object.assign({}, y), {
- value: t
- }));
- });
- return x.concat(multiValues);
- }, []);
- var bestMatch;
- lemsSelectItems.forEach(function (item) {
- var score = 0;
- score += _this74.matchClass(item.value, classNameToCheck) ? 1 : 0;
- var attributes = _this74.getAttributesFromValue(item.value);
- score += attributes.length && _this74.matchAttributes(item.value, attributesToCheck) ? 1 : 0;
- if (score > 0 && selectedLemsItems) {
- score += selectedLemsItems.find(function (i) {
- return i.value === item.value;
- }) ? 1 : 0;
- }
- if (score > 0 && (!bestMatch || bestMatch.score < score)) {
- bestMatch = Object.assign(Object.assign({}, item), {
- score: score
- });
- }
- });
- return bestMatch ? bestMatch.color : '';
- }
- }]);
- return LemsSelectService;
- }();
- LemsSelectService.ɵfac = function LemsSelectService_Factory(t) {
- return new (t || LemsSelectService)();
- };
- LemsSelectService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: LemsSelectService,
- factory: LemsSelectService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LemsSelectService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "ZAI4":
- /*!*******************************!*\
- !*** ./src/app/app.module.ts ***!
- \*******************************/
- /*! exports provided: initializeApp, AppModule */
- /***/
- function ZAI4(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "initializeApp", function () {
- return initializeApp;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AppModule", function () {
- return AppModule;
- });
- /* harmony import */
- var _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular-slider/ngx-slider */
- "mgaL");
- /* harmony import */
- var _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/cdk-experimental/scrolling */
- "cfqv");
- /* harmony import */
- var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @angular/cdk/scrolling */
- "vxfF");
- /* harmony import */
- var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @angular/common/http */
- "tk/3");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/forms */
- "3Pt+");
- /* harmony import */
- var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/platform-browser */
- "jhN1");
- /* harmony import */
- var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/platform-browser/animations */
- "R1ws");
- /* harmony import */
- var _fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @fortawesome/free-solid-svg-icons */
- "wHSu");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var angular_gridster2__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! angular-gridster2 */
- "Ljk9");
- /* harmony import */
- var ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ng-dynamic-component */
- "CS/5");
- /* harmony import */
- var ngx_spinner__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ngx-spinner */
- "JqCM");
- /* harmony import */
- var _ui_components_ui_components_module__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! ./ui-components/ui-components.module */
- "sMX/");
- /* harmony import */
- var _angular_router__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
- /*! @angular/router */
- "tyNb");
- /* harmony import */
- var _app_routing_module__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
- /*! ./app-routing.module */
- "vY5A");
- /* harmony import */
- var _app_translation_module__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
- /*! ./app-translation.module */
- "XOBg");
- /* harmony import */
- var _app_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
- /*! ./app.component */
- "Sy1n");
- /* harmony import */
- var ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
- /*! ng2-handy-syntax-highlighter */
- "KXWd");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
- /*! ./app.config */
- "aR35");
- /* harmony import */
- var _components_addition_addition_component__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
- /*! ./components/addition/addition.component */
- "9L9p");
- /* harmony import */
- var _components_additional_additional_component__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
- /*! ./components/additional/additional.component */
- "uIHG");
- /* harmony import */
- var _components_apparatus_entry_apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
- /*! ./components/apparatus-entry/apparatus-entry-detail/apparatus-entry-detail.component */
- "xZzZ");
- /* harmony import */
- var _components_apparatus_entry_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
- /*! ./components/apparatus-entry/apparatus-entry-readings/apparatus-entry-readings.component */
- "etwH");
- /* harmony import */
- var _components_apparatus_entry_apparatus_entry_component__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
- /*! ./components/apparatus-entry/apparatus-entry.component */
- "du+M");
- /* harmony import */
- var _components_char_char_component__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
- /*! ./components/char/char.component */
- "vpHg");
- /* harmony import */
- var _components_choice_choice_component__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
- /*! ./components/choice/choice.component */
- "FmO3");
- /* harmony import */
- var _components_content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
- /*! ./components/content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _components_damage_damage_component__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(
- /*! ./components/damage/damage.component */
- "mQVh");
- /* harmony import */
- var _components_deletion_deletion_component__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
- /*! ./components/deletion/deletion.component */
- "lmze");
- /* harmony import */
- var _components_edition_level_selector_edition_level_selector_component__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
- /*! ./components/edition-level-selector/edition-level-selector.component */
- "Ow/E");
- /* harmony import */
- var _components_edition_stmt_edition_stmt_component__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(
- /*! ./components/edition-stmt/edition-stmt.component */
- "Zey5");
- /* harmony import */
- var _components_editorial_decl_editorial_decl_component__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(
- /*! ./components/editorial-decl/editorial-decl.component */
- "1zBk");
- /* harmony import */
- var _components_encoding_desc_encoding_desc_component__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(
- /*! ./components/encoding-desc/encoding-desc.component */
- "Mq1B");
- /* harmony import */
- var _components_entities_select_entities_select_component__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(
- /*! ./components/entities-select/entities-select.component */
- "g5nV");
- /* harmony import */
- var _components_lems_select_lems_select_component__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(
- /*! ./components/lems-select/lems-select.component */
- "Ox1W");
- /* harmony import */
- var _components_iperlems_select_iperlems_select_component__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(
- /*! ./components/iperlems-select/iperlems-select.component */
- "Y4jJ");
- /* harmony import */
- var _components_extent_extent_component__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(
- /*! ./components/extent/extent.component */
- "Ilzk");
- /* harmony import */
- var _components_file_desc_file_desc_component__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(
- /*! ./components/file-desc/file-desc.component */
- "fvJq");
- /* harmony import */
- var _components_g_g_component__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(
- /*! ./components/g/g.component */
- "Eeve");
- /* harmony import */
- var _components_gap_gap_component__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(
- /*! ./components/gap/gap.component */
- "HPGp");
- /* harmony import */
- var _components_generic_element_generic_element_component__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(
- /*! ./components/generic-element/generic-element.component */
- "SG9k");
- /* harmony import */
- var _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(
- /*! ./components/global-lists/global-lists.component */
- "rRcO");
- /* harmony import */
- var _components_specific_lists_specific_lists_component__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(
- /*! ./components/specific-lists/specific-lists.component */
- "9viu");
- /* harmony import */
- var _components_history_history_component__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(
- /*! ./components/history/history.component */
- "6qKx");
- /* harmony import */
- var _components_identifier_identifier_component__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(
- /*! ./components/identifier/identifier.component */
- "FSWR");
- /* harmony import */
- var _components_lb_lb_component__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(
- /*! ./components/lb/lb.component */
- "7Y2x");
- /* harmony import */
- var _components_manuscript_thumbnails_viewer_manuscript_thumbnails_viewer_component__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(
- /*! ./components/manuscript-thumbnails-viewer/manuscript-thumbnails-viewer.component */
- "xUb2");
- /* harmony import */
- var _components_ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(
- /*! ./components/ms-contents/ms-contents.component */
- "xQyG");
- /* harmony import */
- var _components_ms_desc_selector_ms_desc_selector_component__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(
- /*! ./components/ms-desc-selector/ms-desc-selector.component */
- "qKvR");
- /* harmony import */
- var _components_ms_desc_ms_desc_component__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(
- /*! ./components/ms-desc/ms-desc.component */
- "ZiLK");
- /* harmony import */
- var _components_ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(
- /*! ./components/ms-frag/ms-frag.component */
- "6n9f");
- /* harmony import */
- var _components_ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(
- /*! ./components/ms-identifier/ms-identifier.component */
- "Ie87");
- /* harmony import */
- var _components_ms_item_ms_item_component__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(
- /*! ./components/ms-item/ms-item.component */
- "pZd9");
- /* harmony import */
- var _components_ms_part_ms_part_component__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(
- /*! ./components/ms-part/ms-part.component */
- "HFpj");
- /* harmony import */
- var _components_named_entities_list_named_entities_list_component__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(
- /*! ./components/named-entities-list/named-entities-list.component */
- "w3ho");
- /* harmony import */
- var _components_named_entity_ref_named_entity_ref_component__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(
- /*! ./components/named-entity-ref/named-entity-ref.component */
- "0lvV");
- /* harmony import */
- var _components_named_entity_relation_named_entity_relation_component__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(
- /*! ./components/named-entity-relation/named-entity-relation.component */
- "v4aR");
- /* harmony import */
- var _components_named_entity_named_entity_detail_named_entity_detail_component__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(
- /*! ./components/named-entity/named-entity-detail/named-entity-detail.component */
- "JIL6");
- /* harmony import */
- var _components_named_entity_named_entity_occurrence_named_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(
- /*! ./components/named-entity/named-entity-occurrence/named-entity-occurrence.component */
- "wM2G");
- /* harmony import */
- var _components_named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(
- /*! ./components/named-entity/named-entity.component */
- "k8Vd");
- /* harmony import */
- var _components_namespace_namespace_component__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(
- /*! ./components/namespace/namespace.component */
- "BlhN");
- /* harmony import */
- var _components_note_note_component__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(
- /*! ./components/note/note.component */
- "EpuN");
- /* harmony import */
- var _components_notes_stmt_notes_stmt_component__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(
- /*! ./components/notes-stmt/notes-stmt.component */
- "y8/R");
- /* harmony import */
- var _components_original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(
- /*! ./components/original-encoding-viewer/original-encoding-viewer.component */
- "7Sdm");
- /* harmony import */
- var _components_osd_osd_component__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(
- /*! ./components/osd/osd.component */
- "ry9e");
- /* harmony import */
- var _components_page_selector_page_selector_component__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(
- /*! ./components/page-selector/page-selector.component */
- "GZCN");
- /* harmony import */
- var _components_page_page_component__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(
- /*! ./components/page/page.component */
- "ycSy");
- /* harmony import */
- var _components_paragraph_paragraph_component__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(
- /*! ./components/paragraph/paragraph.component */
- "HJJq");
- /* harmony import */
- var _components_phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(
- /*! ./components/phys-desc/phys-desc.component */
- "xZwa");
- /* harmony import */
- var _components_project_desc_project_desc_component__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(
- /*! ./components/project-desc/project-desc.component */
- "/zYb");
- /* harmony import */
- var _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(
- /*! ./components/project-info/project-info.component */
- "s1S/");
- /* harmony import */
- var _components_publication_stmt_publication_stmt_component__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(
- /*! ./components/publication-stmt/publication-stmt.component */
- "wfdk");
- /* harmony import */
- var _components_reading_reading_component__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(
- /*! ./components/reading/reading.component */
- "QgGR");
- /* harmony import */
- var _components_rendition_rendition_component__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(
- /*! ./components/rendition/rendition.component */
- "ka2K");
- /* harmony import */
- var _components_resp_stmt_resp_stmt_component__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(
- /*! ./components/resp-stmt/resp-stmt.component */
- "uazz");
- /* harmony import */
- var _components_sampling_decl_sampling_decl_component__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(
- /*! ./components/sampling-decl/sampling-decl.component */
- "+54W");
- /* harmony import */
- var _components_series_stmt_series_stmt_component__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(
- /*! ./components/series-stmt/series-stmt.component */
- "AKfy");
- /* harmony import */
- var _components_sic_sic_component__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(
- /*! ./components/sic/sic.component */
- "fBrD");
- /* harmony import */
- var _components_supplied_supplied_component__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(
- /*! ./components/supplied/supplied.component */
- "fBFu");
- /* harmony import */
- var _components_surplus_surplus_component__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(
- /*! ./components/surplus/surplus.component */
- "EXMU");
- /* harmony import */
- var _components_tags_decl_tags_decl_component__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(
- /*! ./components/tags-decl/tags-decl.component */
- "rbaJ");
- /* harmony import */
- var _components_text_text_component__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(
- /*! ./components/text/text.component */
- "0uBV");
- /* harmony import */
- var _components_title_stmt_title_stmt_component__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(
- /*! ./components/title-stmt/title-stmt.component */
- "GTTo");
- /* harmony import */
- var _components_verse_verse_component__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(
- /*! ./components/verse/verse.component */
- "ndd2");
- /* harmony import */
- var _components_verses_group_verses_group_component__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(
- /*! ./components/verses-group/verses-group.component */
- "y5KG");
- /* harmony import */
- var _components_word_word_component__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(
- /*! ./components/word/word.component */
- "7igE");
- /* harmony import */
- var _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(
- /*! ./directives/annotator.directive */
- "STiE");
- /* harmony import */
- var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(
- /*! ./directives/editorial-convention-layout.directive */
- "FJNG");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(
- /*! ./directives/highlight.directive */
- "CmGG");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(
- /*! ./directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(
- /*! ./evt-info/evt-info.component */
- "5b7e");
- /* harmony import */
- var _main_header_main_header_component__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(
- /*! ./main-header/main-header.component */
- "6rJU");
- /* harmony import */
- var _main_menu_main_menu_component__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(
- /*! ./main-menu/main-menu.component */
- "9jgp");
- /* harmony import */
- var _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(
- /*! ./nav-bar/nav-bar.component */
- "5hVl");
- /* harmony import */
- var _panels_image_panel_image_panel_component__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(
- /*! ./panels/image-panel/image-panel.component */
- "UksB");
- /* harmony import */
- var _panels_pinboard_panel_pinboard_panel_component__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(
- /*! ./panels/pinboard-panel/pinboard-panel.component */
- "VyoE");
- /* harmony import */
- var _panels_sources_panel_sources_panel_component__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(
- /*! ./panels/sources-panel/sources-panel.component */
- "ZIVV");
- /* harmony import */
- var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(
- /*! ./panels/text-panel/text-panel.component */
- "CHR5");
- /* harmony import */
- var _panels_version_panel_version_panel_component__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(
- /*! ./panels/version-panel/version-panel.component */
- "DBF2");
- /* harmony import */
- var _panels_witness_panel_witness_panel_component__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(
- /*! ./panels/witness-panel/witness-panel.component */
- "9MqL");
- /* harmony import */
- var _pinboard_pinboard_component__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(
- /*! ./pinboard/pinboard.component */
- "W4vA");
- /* harmony import */
- var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(
- /*! ./pinboard/pinner/pinner.component */
- "j7gH");
- /* harmony import */
- var _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(
- /*! ./pipes/filter.pipe */
- "BhhM");
- /* harmony import */
- var _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(
- /*! ./pipes/humanize.pipe */
- "Wu1i");
- /* harmony import */
- var _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(
- /*! ./pipes/starts-with.pipe */
- "6uNG");
- /* harmony import */
- var _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(
- /*! ./pipes/xml-beautify.pipe */
- "UhR9");
- /* harmony import */
- var _services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(
- /*! ./services/annotator/annotator.service */
- "I7fL");
- /* harmony import */
- var _services_idb_service__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(
- /*! ./services/idb.service */
- "y42B");
- /* harmony import */
- var _services_themes_service__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(
- /*! ./services/themes.service */
- "onZX");
- /* harmony import */
- var _services_xml_parsers_generic_parser_service__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(
- /*! ./services/xml-parsers/generic-parser.service */
- "xdSp");
- /* harmony import */
- var _services_xml_parsers_xml_parsers__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(
- /*! ./services/xml-parsers/xml-parsers */
- "7plQ");
- /* harmony import */
- var _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(
- /*! ./shortcuts/shortcuts.component */
- "lP9l");
- /* harmony import */
- var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(
- /*! ./ui-components/ms-desc-section/ms-desc-section.component */
- "WyXU");
- /* harmony import */
- var _view_modes_collation_collation_component__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__(
- /*! ./view-modes/collation/collation.component */
- "tOBz");
- /* harmony import */
- var _view_modes_image_text_image_text_component__WEBPACK_IMPORTED_MODULE_115__ = __webpack_require__(
- /*! ./view-modes/image-text/image-text.component */
- "OEwW");
- /* harmony import */
- var _view_modes_reading_text_reading_text_component__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(
- /*! ./view-modes/reading-text/reading-text.component */
- "BnO0");
- /* harmony import */
- var _view_modes_text_sources_text_sources_component__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__(
- /*! ./view-modes/text-sources/text-sources.component */
- "6tsE");
- /* harmony import */
- var _view_modes_text_text_text_text_component__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(
- /*! ./view-modes/text-text/text-text.component */
- "DJp8");
- /* harmony import */
- var _view_modes_text_versions_text_versions_component__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(
- /*! ./view-modes/text-versions/text-versions.component */
- "Izqa");
- /* harmony import */
- var _components_lem_entry_lem_entry_component__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(
- /*! ./components/lem-entry/lem-entry.component */
- "hV/S");
- /* harmony import */
- var _components_lem_entry_lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__(
- /*! ./components/lem-entry/lem-entry-detail/lem-entry-detail.component */
- "EOxZ");
- /* harmony import */
- var _components_lem_entry_lem_entry_readings_lem_entry_readings_component__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__(
- /*! ./components/lem-entry/lem-entry-readings/lem-entry-readings.component */
- "XvlD");
- /* harmony import */
- var _components_lemmatized_entities_list_lemmatized_entities_list_component__WEBPACK_IMPORTED_MODULE_123__ = __webpack_require__(
- /*! ./components/lemmatized-entities-list/lemmatized-entities-list.component */
- "awNf");
- /* harmony import */
- var _components_lemmatized_entity_ref_lemmatized_entity_ref_component__WEBPACK_IMPORTED_MODULE_124__ = __webpack_require__(
- /*! ./components/lemmatized-entity-ref/lemmatized-entity-ref.component */
- "aK5T");
- /* harmony import */
- var _components_lemmatized_entity_relation_lemmatized_entity_relation_component__WEBPACK_IMPORTED_MODULE_125__ = __webpack_require__(
- /*! ./components/lemmatized-entity-relation/lemmatized-entity-relation.component */
- "YSoE");
- /* harmony import */
- var _components_lemmatized_entity_lemmatized_entity_detail_lemmatized_entity_detail_component__WEBPACK_IMPORTED_MODULE_126__ = __webpack_require__(
- /*! ./components/lemmatized-entity/lemmatized-entity-detail/lemmatized-entity-detail.component */
- "M+Vw");
- /* harmony import */
- var _components_lemmatized_entity_lemmatized_entity_occurrence_lemmatized_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_127__ = __webpack_require__(
- /*! ./components/lemmatized-entity/lemmatized-entity-occurrence/lemmatized-entity-occurrence.component */
- "/gd2");
- /* harmony import */
- var _components_lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_128__ = __webpack_require__(
- /*! ./components/lemmatized-entity/lemmatized-entity.component */
- "n4Hk");
- /* harmony import */
- var _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_129__ = __webpack_require__(
- /*! @fortawesome/angular-fontawesome */
- "6NWb"); // import { MainFooterComponent } from './main-footer/main-footer.component';
- // add by FS
- var routes = [];
- function initializeApp(appConfig) {
- return function () {
- return appConfig.load();
- };
- }
- var AppModule = function AppModule(library) {
- _classCallCheck(this, AppModule);
- library.addIconPacks(_fortawesome_free_solid_svg_icons__WEBPACK_IMPORTED_MODULE_8__["fas"]);
- };
- AppModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({
- type: AppModule,
- bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_17__["AppComponent"]]
- });
- AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({
- factory: function AppModule_Factory(t) {
- return new (t || AppModule)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_129__["FaIconLibrary"]));
- },
- providers: [_services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_107__["AnnotatorService"], _app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"], {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_4__["APP_INITIALIZER"],
- useFactory: initializeApp,
- deps: [_app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"]],
- multi: true
- }, _app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"], _services_xml_parsers_generic_parser_service__WEBPACK_IMPORTED_MODULE_110__["GenericParserService"], _services_idb_service__WEBPACK_IMPORTED_MODULE_108__["IdbService"], _services_themes_service__WEBPACK_IMPORTED_MODULE_109__["ThemesService"], _services_xml_parsers_xml_parsers__WEBPACK_IMPORTED_MODULE_111__["XMLParsers"]],
- imports: [[_app_routing_module__WEBPACK_IMPORTED_MODULE_15__["AppRoutingModule"], _app_translation_module__WEBPACK_IMPORTED_MODULE_16__["AppTranslationModule"], _angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__["BrowserModule"], _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_7__["BrowserAnimationsModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicAttributesModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicModule"], _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_1__["ScrollingModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["FormsModule"], angular_gridster2__WEBPACK_IMPORTED_MODULE_10__["GridsterModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClientModule"], ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_18__["Ng2HandySyntaxHighlighterModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbPopoverModule"], _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_0__["NgxSliderModule"], ngx_spinner__WEBPACK_IMPORTED_MODULE_12__["NgxSpinnerModule"], _angular_router__WEBPACK_IMPORTED_MODULE_14__["RouterModule"].forRoot(routes, {
- useHash: true,
- relativeLinkResolution: 'legacy'
- }), _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_2__["ScrollingModule"], _ui_components_ui_components_module__WEBPACK_IMPORTED_MODULE_13__["UiComponentsModule"]]]
- });
- (function () {
- (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](AppModule, {
- declarations: [_components_addition_addition_component__WEBPACK_IMPORTED_MODULE_20__["AdditionComponent"], _components_additional_additional_component__WEBPACK_IMPORTED_MODULE_21__["AdditionalComponent"], _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_87__["AnnotatorDirective"], _components_apparatus_entry_apparatus_entry_component__WEBPACK_IMPORTED_MODULE_24__["ApparatusEntryComponent"], _components_apparatus_entry_apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_22__["ApparatusEntryDetailComponent"], _components_apparatus_entry_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_23__["ApparatusEntryReadingsComponent"], _app_component__WEBPACK_IMPORTED_MODULE_17__["AppComponent"], _components_char_char_component__WEBPACK_IMPORTED_MODULE_25__["CharComponent"], _components_choice_choice_component__WEBPACK_IMPORTED_MODULE_26__["ChoiceComponent"], _view_modes_collation_collation_component__WEBPACK_IMPORTED_MODULE_114__["CollationComponent"], _components_content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_27__["ContentViewerComponent"], _components_damage_damage_component__WEBPACK_IMPORTED_MODULE_28__["DamageComponent"], _components_deletion_deletion_component__WEBPACK_IMPORTED_MODULE_29__["DeletionComponent"], _components_edition_level_selector_edition_level_selector_component__WEBPACK_IMPORTED_MODULE_30__["EditionLevelSelectorComponent"], _components_edition_stmt_edition_stmt_component__WEBPACK_IMPORTED_MODULE_31__["EditionStmtComponent"], _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_88__["EditorialConventionLayoutDirective"], _components_editorial_decl_editorial_decl_component__WEBPACK_IMPORTED_MODULE_32__["EditorialDeclComponent"], _components_encoding_desc_encoding_desc_component__WEBPACK_IMPORTED_MODULE_33__["EncodingDescComponent"], _components_entities_select_entities_select_component__WEBPACK_IMPORTED_MODULE_34__["EntitiesSelectComponent"], _components_lems_select_lems_select_component__WEBPACK_IMPORTED_MODULE_35__["LemsSelectComponent"], _components_iperlems_select_iperlems_select_component__WEBPACK_IMPORTED_MODULE_36__["IperlemsSelectComponent"], _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_91__["EvtInfoComponent"], _components_extent_extent_component__WEBPACK_IMPORTED_MODULE_37__["ExtentComponent"], _components_file_desc_file_desc_component__WEBPACK_IMPORTED_MODULE_38__["FileDescComponent"], _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_103__["FilterPipe"], _components_gap_gap_component__WEBPACK_IMPORTED_MODULE_40__["GapComponent"], _components_g_g_component__WEBPACK_IMPORTED_MODULE_39__["GComponent"], _components_generic_element_generic_element_component__WEBPACK_IMPORTED_MODULE_41__["GenericElementComponent"], _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_42__["GlobalListsComponent"], _components_specific_lists_specific_lists_component__WEBPACK_IMPORTED_MODULE_43__["SpecificListsComponent"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_89__["HighlightDirective"], _components_history_history_component__WEBPACK_IMPORTED_MODULE_44__["HistoryComponent"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_90__["HtmlAttributesDirective"], _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_104__["HumanizePipe"], _components_identifier_identifier_component__WEBPACK_IMPORTED_MODULE_45__["IdentifierComponent"], _panels_image_panel_image_panel_component__WEBPACK_IMPORTED_MODULE_95__["ImagePanelComponent"], _view_modes_image_text_image_text_component__WEBPACK_IMPORTED_MODULE_115__["ImageTextComponent"], _components_lb_lb_component__WEBPACK_IMPORTED_MODULE_46__["LbComponent"], _main_header_main_header_component__WEBPACK_IMPORTED_MODULE_92__["MainHeaderComponent"], // MainFooterComponent,
- _main_menu_main_menu_component__WEBPACK_IMPORTED_MODULE_93__["MainMenuComponent"], _components_manuscript_thumbnails_viewer_manuscript_thumbnails_viewer_component__WEBPACK_IMPORTED_MODULE_47__["ManuscriptThumbnailsViewerComponent"], _components_ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_48__["MsContentsComponent"], _components_ms_desc_ms_desc_component__WEBPACK_IMPORTED_MODULE_50__["MsDescComponent"], _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_113__["MsDescSectionComponent"], _components_ms_desc_selector_ms_desc_selector_component__WEBPACK_IMPORTED_MODULE_49__["MsDescSelectorComponent"], _components_ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_51__["MsFragComponent"], _components_ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_51__["MsFragComponent"], _components_ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_52__["MsIdentifierComponent"], _components_ms_item_ms_item_component__WEBPACK_IMPORTED_MODULE_53__["MsItemComponent"], _components_ms_part_ms_part_component__WEBPACK_IMPORTED_MODULE_54__["MsPartComponent"], _components_named_entities_list_named_entities_list_component__WEBPACK_IMPORTED_MODULE_55__["NamedEntitiesListComponent"], _components_named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_60__["NamedEntityComponent"], _components_named_entity_named_entity_detail_named_entity_detail_component__WEBPACK_IMPORTED_MODULE_58__["NamedEntityDetailComponent"], _components_named_entity_named_entity_occurrence_named_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_59__["NamedEntityOccurrenceComponent"], _components_named_entity_ref_named_entity_ref_component__WEBPACK_IMPORTED_MODULE_56__["NamedEntityRefComponent"], _components_named_entity_relation_named_entity_relation_component__WEBPACK_IMPORTED_MODULE_57__["NamedEntityRelationComponent"], _components_namespace_namespace_component__WEBPACK_IMPORTED_MODULE_61__["NamespaceComponent"], _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_94__["NavBarComponent"], _components_note_note_component__WEBPACK_IMPORTED_MODULE_62__["NoteComponent"], _components_notes_stmt_notes_stmt_component__WEBPACK_IMPORTED_MODULE_63__["NotesStmtComponent"], _components_original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_64__["OriginalEncodingViewerComponent"], _components_osd_osd_component__WEBPACK_IMPORTED_MODULE_65__["OsdComponent"], _components_page_page_component__WEBPACK_IMPORTED_MODULE_67__["PageComponent"], _components_page_selector_page_selector_component__WEBPACK_IMPORTED_MODULE_66__["PageSelectorComponent"], _components_paragraph_paragraph_component__WEBPACK_IMPORTED_MODULE_68__["ParagraphComponent"], _components_phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_69__["PhysDescComponent"], _pinboard_pinboard_component__WEBPACK_IMPORTED_MODULE_101__["PinboardComponent"], _panels_pinboard_panel_pinboard_panel_component__WEBPACK_IMPORTED_MODULE_96__["PinboardPanelComponent"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_102__["PinnerComponent"], _components_project_desc_project_desc_component__WEBPACK_IMPORTED_MODULE_70__["ProjectDescComponent"], _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_71__["ProjectInfoComponent"], _components_publication_stmt_publication_stmt_component__WEBPACK_IMPORTED_MODULE_72__["PublicationStmtComponent"], _components_reading_reading_component__WEBPACK_IMPORTED_MODULE_73__["ReadingComponent"], _view_modes_reading_text_reading_text_component__WEBPACK_IMPORTED_MODULE_116__["ReadingTextComponent"], _components_rendition_rendition_component__WEBPACK_IMPORTED_MODULE_74__["RenditionComponent"], _components_resp_stmt_resp_stmt_component__WEBPACK_IMPORTED_MODULE_75__["RespStmtComponent"], _components_sampling_decl_sampling_decl_component__WEBPACK_IMPORTED_MODULE_76__["SamplingDeclComponent"], _components_series_stmt_series_stmt_component__WEBPACK_IMPORTED_MODULE_77__["SeriesStmtComponent"], _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_112__["ShortcutsComponent"], _components_sic_sic_component__WEBPACK_IMPORTED_MODULE_78__["SicComponent"], _panels_sources_panel_sources_panel_component__WEBPACK_IMPORTED_MODULE_97__["SourcesPanelComponent"], _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_105__["StartsWithPipe"], _components_supplied_supplied_component__WEBPACK_IMPORTED_MODULE_79__["SuppliedComponent"], _components_surplus_surplus_component__WEBPACK_IMPORTED_MODULE_80__["SurplusComponent"], _components_tags_decl_tags_decl_component__WEBPACK_IMPORTED_MODULE_81__["TagsDeclComponent"], _components_text_text_component__WEBPACK_IMPORTED_MODULE_82__["TextComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_98__["TextPanelComponent"], _view_modes_text_sources_text_sources_component__WEBPACK_IMPORTED_MODULE_117__["TextSourcesComponent"], _view_modes_text_text_text_text_component__WEBPACK_IMPORTED_MODULE_118__["TextTextComponent"], _view_modes_text_versions_text_versions_component__WEBPACK_IMPORTED_MODULE_119__["TextVersionsComponent"], _components_title_stmt_title_stmt_component__WEBPACK_IMPORTED_MODULE_83__["TitleStmtComponent"], _components_verse_verse_component__WEBPACK_IMPORTED_MODULE_84__["VerseComponent"], _components_verses_group_verses_group_component__WEBPACK_IMPORTED_MODULE_85__["VersesGroupComponent"], _panels_version_panel_version_panel_component__WEBPACK_IMPORTED_MODULE_99__["VersionPanelComponent"], _panels_witness_panel_witness_panel_component__WEBPACK_IMPORTED_MODULE_100__["WitnessPanelComponent"], _components_word_word_component__WEBPACK_IMPORTED_MODULE_86__["WordComponent"], _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_106__["XmlBeautifyPipe"], _components_lem_entry_lem_entry_component__WEBPACK_IMPORTED_MODULE_120__["LemEntryComponent"], _components_lem_entry_lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_121__["LemEntryDetailComponent"], _components_lem_entry_lem_entry_readings_lem_entry_readings_component__WEBPACK_IMPORTED_MODULE_122__["LemEntryReadingsComponent"], // add by FS
- _components_lemmatized_entities_list_lemmatized_entities_list_component__WEBPACK_IMPORTED_MODULE_123__["LemmatizedEntitiesListComponent"], _components_lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_128__["LemmatizedEntityComponent"], _components_lemmatized_entity_lemmatized_entity_detail_lemmatized_entity_detail_component__WEBPACK_IMPORTED_MODULE_126__["LemmatizedEntityDetailComponent"], _components_lemmatized_entity_lemmatized_entity_occurrence_lemmatized_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_127__["LemmatizedEntityOccurrenceComponent"], _components_lemmatized_entity_ref_lemmatized_entity_ref_component__WEBPACK_IMPORTED_MODULE_124__["LemmatizedEntityRefComponent"], _components_lemmatized_entity_relation_lemmatized_entity_relation_component__WEBPACK_IMPORTED_MODULE_125__["LemmatizedEntityRelationComponent"]],
- imports: [_app_routing_module__WEBPACK_IMPORTED_MODULE_15__["AppRoutingModule"], _app_translation_module__WEBPACK_IMPORTED_MODULE_16__["AppTranslationModule"], _angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__["BrowserModule"], _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_7__["BrowserAnimationsModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicAttributesModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicModule"], _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_1__["ScrollingModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["FormsModule"], angular_gridster2__WEBPACK_IMPORTED_MODULE_10__["GridsterModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClientModule"], ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_18__["Ng2HandySyntaxHighlighterModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbPopoverModule"], _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_0__["NgxSliderModule"], ngx_spinner__WEBPACK_IMPORTED_MODULE_12__["NgxSpinnerModule"], _angular_router__WEBPACK_IMPORTED_MODULE_14__["RouterModule"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_2__["ScrollingModule"], _ui_components_ui_components_module__WEBPACK_IMPORTED_MODULE_13__["UiComponentsModule"]]
- });
- })();
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](AppModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__["NgModule"],
- args: [{
- declarations: [_components_addition_addition_component__WEBPACK_IMPORTED_MODULE_20__["AdditionComponent"], _components_additional_additional_component__WEBPACK_IMPORTED_MODULE_21__["AdditionalComponent"], _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_87__["AnnotatorDirective"], _components_apparatus_entry_apparatus_entry_component__WEBPACK_IMPORTED_MODULE_24__["ApparatusEntryComponent"], _components_apparatus_entry_apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_22__["ApparatusEntryDetailComponent"], _components_apparatus_entry_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_23__["ApparatusEntryReadingsComponent"], _app_component__WEBPACK_IMPORTED_MODULE_17__["AppComponent"], _components_char_char_component__WEBPACK_IMPORTED_MODULE_25__["CharComponent"], _components_choice_choice_component__WEBPACK_IMPORTED_MODULE_26__["ChoiceComponent"], _view_modes_collation_collation_component__WEBPACK_IMPORTED_MODULE_114__["CollationComponent"], _components_content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_27__["ContentViewerComponent"], _components_damage_damage_component__WEBPACK_IMPORTED_MODULE_28__["DamageComponent"], _components_deletion_deletion_component__WEBPACK_IMPORTED_MODULE_29__["DeletionComponent"], _components_edition_level_selector_edition_level_selector_component__WEBPACK_IMPORTED_MODULE_30__["EditionLevelSelectorComponent"], _components_edition_stmt_edition_stmt_component__WEBPACK_IMPORTED_MODULE_31__["EditionStmtComponent"], _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_88__["EditorialConventionLayoutDirective"], _components_editorial_decl_editorial_decl_component__WEBPACK_IMPORTED_MODULE_32__["EditorialDeclComponent"], _components_encoding_desc_encoding_desc_component__WEBPACK_IMPORTED_MODULE_33__["EncodingDescComponent"], _components_entities_select_entities_select_component__WEBPACK_IMPORTED_MODULE_34__["EntitiesSelectComponent"], _components_lems_select_lems_select_component__WEBPACK_IMPORTED_MODULE_35__["LemsSelectComponent"], _components_iperlems_select_iperlems_select_component__WEBPACK_IMPORTED_MODULE_36__["IperlemsSelectComponent"], _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_91__["EvtInfoComponent"], _components_extent_extent_component__WEBPACK_IMPORTED_MODULE_37__["ExtentComponent"], _components_file_desc_file_desc_component__WEBPACK_IMPORTED_MODULE_38__["FileDescComponent"], _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_103__["FilterPipe"], _components_gap_gap_component__WEBPACK_IMPORTED_MODULE_40__["GapComponent"], _components_g_g_component__WEBPACK_IMPORTED_MODULE_39__["GComponent"], _components_generic_element_generic_element_component__WEBPACK_IMPORTED_MODULE_41__["GenericElementComponent"], _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_42__["GlobalListsComponent"], _components_specific_lists_specific_lists_component__WEBPACK_IMPORTED_MODULE_43__["SpecificListsComponent"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_89__["HighlightDirective"], _components_history_history_component__WEBPACK_IMPORTED_MODULE_44__["HistoryComponent"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_90__["HtmlAttributesDirective"], _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_104__["HumanizePipe"], _components_identifier_identifier_component__WEBPACK_IMPORTED_MODULE_45__["IdentifierComponent"], _panels_image_panel_image_panel_component__WEBPACK_IMPORTED_MODULE_95__["ImagePanelComponent"], _view_modes_image_text_image_text_component__WEBPACK_IMPORTED_MODULE_115__["ImageTextComponent"], _components_lb_lb_component__WEBPACK_IMPORTED_MODULE_46__["LbComponent"], _main_header_main_header_component__WEBPACK_IMPORTED_MODULE_92__["MainHeaderComponent"], // MainFooterComponent,
- _main_menu_main_menu_component__WEBPACK_IMPORTED_MODULE_93__["MainMenuComponent"], _components_manuscript_thumbnails_viewer_manuscript_thumbnails_viewer_component__WEBPACK_IMPORTED_MODULE_47__["ManuscriptThumbnailsViewerComponent"], _components_ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_48__["MsContentsComponent"], _components_ms_desc_ms_desc_component__WEBPACK_IMPORTED_MODULE_50__["MsDescComponent"], _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_113__["MsDescSectionComponent"], _components_ms_desc_selector_ms_desc_selector_component__WEBPACK_IMPORTED_MODULE_49__["MsDescSelectorComponent"], _components_ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_51__["MsFragComponent"], _components_ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_51__["MsFragComponent"], _components_ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_52__["MsIdentifierComponent"], _components_ms_item_ms_item_component__WEBPACK_IMPORTED_MODULE_53__["MsItemComponent"], _components_ms_part_ms_part_component__WEBPACK_IMPORTED_MODULE_54__["MsPartComponent"], _components_named_entities_list_named_entities_list_component__WEBPACK_IMPORTED_MODULE_55__["NamedEntitiesListComponent"], _components_named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_60__["NamedEntityComponent"], _components_named_entity_named_entity_detail_named_entity_detail_component__WEBPACK_IMPORTED_MODULE_58__["NamedEntityDetailComponent"], _components_named_entity_named_entity_occurrence_named_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_59__["NamedEntityOccurrenceComponent"], _components_named_entity_ref_named_entity_ref_component__WEBPACK_IMPORTED_MODULE_56__["NamedEntityRefComponent"], _components_named_entity_relation_named_entity_relation_component__WEBPACK_IMPORTED_MODULE_57__["NamedEntityRelationComponent"], _components_namespace_namespace_component__WEBPACK_IMPORTED_MODULE_61__["NamespaceComponent"], _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_94__["NavBarComponent"], _components_note_note_component__WEBPACK_IMPORTED_MODULE_62__["NoteComponent"], _components_notes_stmt_notes_stmt_component__WEBPACK_IMPORTED_MODULE_63__["NotesStmtComponent"], _components_original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_64__["OriginalEncodingViewerComponent"], _components_osd_osd_component__WEBPACK_IMPORTED_MODULE_65__["OsdComponent"], _components_page_page_component__WEBPACK_IMPORTED_MODULE_67__["PageComponent"], _components_page_selector_page_selector_component__WEBPACK_IMPORTED_MODULE_66__["PageSelectorComponent"], _components_paragraph_paragraph_component__WEBPACK_IMPORTED_MODULE_68__["ParagraphComponent"], _components_phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_69__["PhysDescComponent"], _pinboard_pinboard_component__WEBPACK_IMPORTED_MODULE_101__["PinboardComponent"], _panels_pinboard_panel_pinboard_panel_component__WEBPACK_IMPORTED_MODULE_96__["PinboardPanelComponent"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_102__["PinnerComponent"], _components_project_desc_project_desc_component__WEBPACK_IMPORTED_MODULE_70__["ProjectDescComponent"], _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_71__["ProjectInfoComponent"], _components_publication_stmt_publication_stmt_component__WEBPACK_IMPORTED_MODULE_72__["PublicationStmtComponent"], _components_reading_reading_component__WEBPACK_IMPORTED_MODULE_73__["ReadingComponent"], _view_modes_reading_text_reading_text_component__WEBPACK_IMPORTED_MODULE_116__["ReadingTextComponent"], _components_rendition_rendition_component__WEBPACK_IMPORTED_MODULE_74__["RenditionComponent"], _components_resp_stmt_resp_stmt_component__WEBPACK_IMPORTED_MODULE_75__["RespStmtComponent"], _components_sampling_decl_sampling_decl_component__WEBPACK_IMPORTED_MODULE_76__["SamplingDeclComponent"], _components_series_stmt_series_stmt_component__WEBPACK_IMPORTED_MODULE_77__["SeriesStmtComponent"], _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_112__["ShortcutsComponent"], _components_sic_sic_component__WEBPACK_IMPORTED_MODULE_78__["SicComponent"], _panels_sources_panel_sources_panel_component__WEBPACK_IMPORTED_MODULE_97__["SourcesPanelComponent"], _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_105__["StartsWithPipe"], _components_supplied_supplied_component__WEBPACK_IMPORTED_MODULE_79__["SuppliedComponent"], _components_surplus_surplus_component__WEBPACK_IMPORTED_MODULE_80__["SurplusComponent"], _components_tags_decl_tags_decl_component__WEBPACK_IMPORTED_MODULE_81__["TagsDeclComponent"], _components_text_text_component__WEBPACK_IMPORTED_MODULE_82__["TextComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_98__["TextPanelComponent"], _view_modes_text_sources_text_sources_component__WEBPACK_IMPORTED_MODULE_117__["TextSourcesComponent"], _view_modes_text_text_text_text_component__WEBPACK_IMPORTED_MODULE_118__["TextTextComponent"], _view_modes_text_versions_text_versions_component__WEBPACK_IMPORTED_MODULE_119__["TextVersionsComponent"], _components_title_stmt_title_stmt_component__WEBPACK_IMPORTED_MODULE_83__["TitleStmtComponent"], _components_verse_verse_component__WEBPACK_IMPORTED_MODULE_84__["VerseComponent"], _components_verses_group_verses_group_component__WEBPACK_IMPORTED_MODULE_85__["VersesGroupComponent"], _panels_version_panel_version_panel_component__WEBPACK_IMPORTED_MODULE_99__["VersionPanelComponent"], _panels_witness_panel_witness_panel_component__WEBPACK_IMPORTED_MODULE_100__["WitnessPanelComponent"], _components_word_word_component__WEBPACK_IMPORTED_MODULE_86__["WordComponent"], _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_106__["XmlBeautifyPipe"], _components_lem_entry_lem_entry_component__WEBPACK_IMPORTED_MODULE_120__["LemEntryComponent"], _components_lem_entry_lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_121__["LemEntryDetailComponent"], _components_lem_entry_lem_entry_readings_lem_entry_readings_component__WEBPACK_IMPORTED_MODULE_122__["LemEntryReadingsComponent"], // add by FS
- _components_lemmatized_entities_list_lemmatized_entities_list_component__WEBPACK_IMPORTED_MODULE_123__["LemmatizedEntitiesListComponent"], _components_lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_128__["LemmatizedEntityComponent"], _components_lemmatized_entity_lemmatized_entity_detail_lemmatized_entity_detail_component__WEBPACK_IMPORTED_MODULE_126__["LemmatizedEntityDetailComponent"], _components_lemmatized_entity_lemmatized_entity_occurrence_lemmatized_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_127__["LemmatizedEntityOccurrenceComponent"], _components_lemmatized_entity_ref_lemmatized_entity_ref_component__WEBPACK_IMPORTED_MODULE_124__["LemmatizedEntityRefComponent"], _components_lemmatized_entity_relation_lemmatized_entity_relation_component__WEBPACK_IMPORTED_MODULE_125__["LemmatizedEntityRelationComponent"]],
- imports: [_app_routing_module__WEBPACK_IMPORTED_MODULE_15__["AppRoutingModule"], _app_translation_module__WEBPACK_IMPORTED_MODULE_16__["AppTranslationModule"], _angular_platform_browser__WEBPACK_IMPORTED_MODULE_6__["BrowserModule"], _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_7__["BrowserAnimationsModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicAttributesModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_11__["DynamicModule"], _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_1__["ScrollingModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["FormsModule"], angular_gridster2__WEBPACK_IMPORTED_MODULE_10__["GridsterModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClientModule"], ng2_handy_syntax_highlighter__WEBPACK_IMPORTED_MODULE_18__["Ng2HandySyntaxHighlighterModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbPopoverModule"], _angular_slider_ngx_slider__WEBPACK_IMPORTED_MODULE_0__["NgxSliderModule"], ngx_spinner__WEBPACK_IMPORTED_MODULE_12__["NgxSpinnerModule"], _angular_router__WEBPACK_IMPORTED_MODULE_14__["RouterModule"].forRoot(routes, {
- useHash: true,
- relativeLinkResolution: 'legacy'
- }), _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_2__["ScrollingModule"], _ui_components_ui_components_module__WEBPACK_IMPORTED_MODULE_13__["UiComponentsModule"]],
- providers: [_services_annotator_annotator_service__WEBPACK_IMPORTED_MODULE_107__["AnnotatorService"], _app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"], {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_4__["APP_INITIALIZER"],
- useFactory: initializeApp,
- deps: [_app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"]],
- multi: true
- }, _app_config__WEBPACK_IMPORTED_MODULE_19__["AppConfig"], _services_xml_parsers_generic_parser_service__WEBPACK_IMPORTED_MODULE_110__["GenericParserService"], _services_idb_service__WEBPACK_IMPORTED_MODULE_108__["IdbService"], _services_themes_service__WEBPACK_IMPORTED_MODULE_109__["ThemesService"], _services_xml_parsers_xml_parsers__WEBPACK_IMPORTED_MODULE_111__["XMLParsers"]],
- bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_17__["AppComponent"]],
- entryComponents: [_components_addition_addition_component__WEBPACK_IMPORTED_MODULE_20__["AdditionComponent"], _evt_info_evt_info_component__WEBPACK_IMPORTED_MODULE_91__["EvtInfoComponent"], _components_global_lists_global_lists_component__WEBPACK_IMPORTED_MODULE_42__["GlobalListsComponent"], _components_specific_lists_specific_lists_component__WEBPACK_IMPORTED_MODULE_43__["SpecificListsComponent"], _components_named_entities_list_named_entities_list_component__WEBPACK_IMPORTED_MODULE_55__["NamedEntitiesListComponent"], _components_named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_60__["NamedEntityComponent"], _components_named_entity_named_entity_detail_named_entity_detail_component__WEBPACK_IMPORTED_MODULE_58__["NamedEntityDetailComponent"], _components_named_entity_ref_named_entity_ref_component__WEBPACK_IMPORTED_MODULE_56__["NamedEntityRefComponent"], _components_named_entity_relation_named_entity_relation_component__WEBPACK_IMPORTED_MODULE_57__["NamedEntityRelationComponent"], _components_project_info_project_info_component__WEBPACK_IMPORTED_MODULE_71__["ProjectInfoComponent"], _shortcuts_shortcuts_component__WEBPACK_IMPORTED_MODULE_112__["ShortcutsComponent"], // add by FS
- _components_lemmatized_entities_list_lemmatized_entities_list_component__WEBPACK_IMPORTED_MODULE_123__["LemmatizedEntitiesListComponent"], _components_lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_128__["LemmatizedEntityComponent"], _components_lemmatized_entity_lemmatized_entity_detail_lemmatized_entity_detail_component__WEBPACK_IMPORTED_MODULE_126__["LemmatizedEntityDetailComponent"], _components_lemmatized_entity_ref_lemmatized_entity_ref_component__WEBPACK_IMPORTED_MODULE_124__["LemmatizedEntityRefComponent"], _components_lemmatized_entity_relation_lemmatized_entity_relation_component__WEBPACK_IMPORTED_MODULE_125__["LemmatizedEntityRelationComponent"]]
- }]
- }], function () {
- return [{
- type: _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_129__["FaIconLibrary"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "ZIVV":
- /*!*****************************************************************!*\
- !*** ./src/app/panels/sources-panel/sources-panel.component.ts ***!
- \*****************************************************************/
- /*! exports provided: SourcesPanelComponent */
- /***/
- function ZIVV(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SourcesPanelComponent", function () {
- return SourcesPanelComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../../ui-components/panel/panel.component */
- "HiHV");
- /* harmony import */
- var _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../directives/annotator.directive */
- "STiE");
- var SourcesPanelComponent = function SourcesPanelComponent() {
- _classCallCheck(this, SourcesPanelComponent);
- };
- SourcesPanelComponent.ɵfac = function SourcesPanelComponent_Factory(t) {
- return new (t || SourcesPanelComponent)();
- };
- SourcesPanelComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: SourcesPanelComponent,
- selectors: [["evt-sources-panel"]],
- decls: 6,
- vars: 1,
- consts: [[3, "secondary"], ["header-left", ""], ["content", "", "evtAnnotator", ""]],
- template: function SourcesPanelComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-panel", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3, " Source Text: ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "blockquote");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, " Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Etiam habebis sem dicantur magna mollis euismod. Plura mihi bona sunt, inclinet, amari petere vellent. ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("secondary", true);
- }
- },
- directives: [_ui_components_panel_panel_component__WEBPACK_IMPORTED_MODULE_1__["PanelComponent"], _directives_annotator_directive__WEBPACK_IMPORTED_MODULE_2__["AnnotatorDirective"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzb3VyY2VzLXBhbmVsLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SourcesPanelComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-sources-panel',
- templateUrl: './sources-panel.component.html',
- styleUrls: ['./sources-panel.component.scss']
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "ZSfi":
- /*!*******************************************************************!*\
- !*** ./src/app/services/xml-parsers/lemmatized-entity-parsers.ts ***!
- \*******************************************************************/
- /*! exports provided: lemmatizedEntitiesListsTagNamesMap, getLemListType, getLemListsToParseTagNames, LemmatizedEntitiesListParser, LemmatizedEntityRefParser, EntityParser, ItemParser, EventParser, EntityInfoParser, RelationParser */
- /***/
- function ZSfi(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "lemmatizedEntitiesListsTagNamesMap", function () {
- return lemmatizedEntitiesListsTagNamesMap;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getLemListType", function () {
- return getLemListType;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getLemListsToParseTagNames", function () {
- return getLemListsToParseTagNames;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntitiesListParser", function () {
- return LemmatizedEntitiesListParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntityRefParser", function () {
- return LemmatizedEntityRefParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EntityParser", function () {
- return EntityParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ItemParser", function () {
- return ItemParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EventParser", function () {
- return EventParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EntityInfoParser", function () {
- return EntityInfoParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RelationParser", function () {
- return RelationParser;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var src_app_app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! src/app/app.config */
- "aR35");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../utils/dom-utils */
- "G9+u");
- /* harmony import */
- var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../utils/xml-utils */
- "JQLQ");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var LemmatizedEntitiesListParser_1, LemmatizedEntityRefParser_1, ItemParser_1;
- var lemmatizedEntitiesListsTagNamesMap = {
- lemmas: 'list',
- occurrences: 'w[ref], lem[ref]'
- };
- function getLemListType(tagName) {
- console.log(tagName);
- return tagName.toLowerCase();
- }
- function getLemListsToParseTagNames() {
- var neLemListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.lemmatizedEntitiesLists || {};
- return Object.keys(neLemListsConfig).map(function (i) {
- return neLemListsConfig[i].enabled ? lemmatizedEntitiesListsTagNamesMap[i] : undefined;
- }).filter(function (ne) {
- return !!ne;
- });
- }
- var LemmatizedEntitiesListParser = LemmatizedEntitiesListParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA125) {
- _inherits(LemmatizedEntitiesListParser, _basic_parsers__WEBPA125);
- var _super302 = _createSuper(LemmatizedEntitiesListParser);
- function LemmatizedEntitiesListParser() {
- var _this75;
- _classCallCheck(this, LemmatizedEntitiesListParser);
- _this75 = _super302.apply(this, arguments);
- _this75.neLemListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.lemmatizedEntitiesLists || {};
- _this75.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], _this75.genericParse);
- return _this75;
- }
- _createClass(LemmatizedEntitiesListParser, [{
- key: "parse",
- value: function parse(xml) {
- var _this76 = this;
- var parsedLemList = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntitiesList"],
- id: xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
- label: '',
- lemmatizedEntityType: getLemListType(xml.tagName),
- content: [],
- sublists: [],
- originalEncoding: xml,
- relations: [],
- description: [],
- attributes: this.attributeParser.parse(xml)
- };
- var relationParse = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RelationParser, this.genericParse);
- xml.childNodes.forEach(function (child) {
- if (child.nodeType === 1) {
- switch (child.tagName.toLowerCase()) {
- case 'head':
- parsedLemList.label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(child.textContent);
- break;
- case 'desc':
- parsedLemList.description.push(_this76.genericParse(child));
- break;
- case 'relation':
- if (_this76.neLemListsConfig.relations.enabled) {
- parsedLemList.relations.push(relationParse.parse(child));
- }
- break;
- case 'listrelation':
- if (_this76.neLemListsConfig.relations.enabled) {
- child.querySelectorAll('relation').forEach(function (r) {
- return parsedLemList.relations.push(relationParse.parse(r));
- });
- }
- break;
- default:
- if (getLemListsToParseTagNames().indexOf(child.tagName) >= 0) {
- var subListParser = ___WEBPACK_IMPORTED_MODULE_2__["ParserRegister"].get('evt-lemmatized-entities-list-parser');
- var parsedSubList = subListParser.parse(child);
- parsedLemList.sublists.push(parsedSubList);
- parsedLemList.content = parsedLemList.content.concat(parsedSubList.content);
- parsedLemList.relations = parsedLemList.relations.concat(parsedSubList.relations);
- } else {
- parsedLemList.content.push(_this76.genericParse(child));
- }
- }
- }
- });
- parsedLemList.label = parsedLemList.label || xml.getAttribute('type') || "List of ".concat(parsedLemList.lemmatizedEntityType);
- return parsedLemList;
- }
- }]);
- return LemmatizedEntitiesListParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- LemmatizedEntitiesListParser = LemmatizedEntitiesListParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-lemmatized-entities-list-parser', LemmatizedEntitiesListParser_1)], LemmatizedEntitiesListParser);
- var LemmatizedEntityRefParser = LemmatizedEntityRefParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA126) {
- _inherits(LemmatizedEntityRefParser, _basic_parsers__WEBPA126);
- var _super303 = _createSuper(LemmatizedEntityRefParser);
- function LemmatizedEntityRefParser() {
- var _this77;
- _classCallCheck(this, LemmatizedEntityRefParser);
- _this77 = _super303.apply(this, arguments);
- _this77.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["GenericElemParser"], _this77.genericParse);
- _this77.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], _this77.genericParse);
- return _this77;
- }
- _createClass(LemmatizedEntityRefParser, [{
- key: "parse",
- value: function parse(xml) {
- var ref = xml.getAttribute('ref');
- if (!ref) {
- return this.elementParser.parse(xml);
- }
- var neLemTypeMap = {
- w: 'w',
- lemmas: 'w',
- lem: 'lem',
- item: 'item'
- };
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntityRef"],
- entityLemId: getLemEntityID(ref),
- entityLemType: neLemTypeMap[xml.tagName],
- path: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["parseChildren"])(xml, this.genericParse),
- attributes: this.attributeParser.parse(xml),
- "class": xml.tagName.toLowerCase()
- };
- }
- }]);
- return LemmatizedEntityRefParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- LemmatizedEntityRefParser = LemmatizedEntityRefParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-lemmatized-entity-parser', LemmatizedEntityRefParser_1)], LemmatizedEntityRefParser); // Generic entity parser
- var EntityParser = /*#__PURE__*/function (_basic_parsers__WEBPA127) {
- _inherits(EntityParser, _basic_parsers__WEBPA127);
- var _super304 = _createSuper(EntityParser);
- function EntityParser() {
- var _this78;
- _classCallCheck(this, EntityParser);
- _this78 = _super304.apply(this, arguments); // TODO: try to refactor subclasses to use a function parameter to get labels
- _this78.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeMapParser"], _this78.genericParse);
- return _this78;
- }
- _createClass(EntityParser, [{
- key: "parse",
- value: function parse(xml) {
- var _this79 = this;
- var elId = xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml);
- var label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(xml.textContent) || 'No info';
- var entity = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntity"],
- id: elId,
- sortKey: xml.getAttribute('sortKey') || (label ? label[0] : '') || xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml),
- originalEncoding: xml,
- label: label,
- lemmatizedEntityType: this.getEntityType(xml.tagName),
- content: Array.from(xml.children).map(function (subchild) {
- return _this79.parseEntityInfo(subchild);
- }),
- attributes: this.attributeParsers.parse(xml)
- };
- return entity;
- }
- }, {
- key: "parseEntityInfo",
- value: function parseEntityInfo(xml) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntityInfo"],
- label: xml.nodeType === 1 ? xml.tagName.toLowerCase() : 'info',
- content: [this.genericParse(xml)],
- attributes: xml.nodeType === 1 ? this.attributeParsers.parse(xml) : {}
- };
- }
- }, {
- key: "getEntityType",
- value: function getEntityType(tagName) {
- return tagName.toLowerCase();
- }
- }]);
- return EntityParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- var ItemParser = ItemParser_1 = /*#__PURE__*/function (_EntityParser6) {
- _inherits(ItemParser, _EntityParser6);
- var _super305 = _createSuper(ItemParser);
- function ItemParser() {
- _classCallCheck(this, ItemParser);
- return _super305.apply(this, arguments);
- }
- _createClass(ItemParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(ItemParser.prototype), "parse", this).call(this, xml)), {
- label: this.getLabel(xml)
- });
- }
- }, {
- key: "getLabel",
- value: function getLabel(xml) {
- var itemElement = xml.querySelector('item');
- var wElement = xml.querySelector('w');
- var lemElement = xml.querySelector('lem');
- var label;
- if (itemElement) {
- label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(itemElement.textContent);
- } else if (wElement) {
- label = wElement ? "".concat(Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(wElement.textContent), " ") : '';
- } else if (lemElement) {
- label = lemElement ? "".concat(Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(lemElement.textContent), " ") : '';
- }
- return label;
- }
- }]);
- return ItemParser;
- }(EntityParser);
- ItemParser = ItemParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('item', ItemParser_1)], ItemParser);
- var EventParser = /*#__PURE__*/function (_EntityParser7) {
- _inherits(EventParser, _EntityParser7);
- var _super306 = _createSuper(EventParser);
- function EventParser() {
- _classCallCheck(this, EventParser);
- return _super306.apply(this, arguments);
- }
- _createClass(EventParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(EventParser.prototype), "parse", this).call(this, xml)), {
- label: textLabel('label', xml)
- });
- }
- }, {
- key: "getLabel",
- value: function getLabel(xml) {
- var eventLabelElement = xml.querySelector('label');
- return (eventLabelElement ? Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(eventLabelElement.textContent) : '') || 'No info';
- }
- }]);
- return EventParser;
- }(EntityParser);
- var EntityInfoParser = /*#__PURE__*/function (_basic_parsers__WEBPA128) {
- _inherits(EntityInfoParser, _basic_parsers__WEBPA128);
- var _super307 = _createSuper(EntityInfoParser);
- function EntityInfoParser() {
- var _this80;
- _classCallCheck(this, EntityInfoParser);
- _this80 = _super307.apply(this, arguments);
- _this80.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], _this80.genericParse);
- return _this80;
- }
- _createClass(EntityInfoParser, [{
- key: "parse",
- value: function parse(xml) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntityInfo"],
- label: xml.nodeType === 1 ? xml.tagName.toLowerCase() : 'info',
- content: [this.genericParse(xml)],
- attributes: xml.nodeType === 1 ? this.attributeParsers.parse(xml) : {}
- };
- }
- }]);
- return EntityInfoParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- var RelationParser = /*#__PURE__*/function (_basic_parsers__WEBPA129) {
- _inherits(RelationParser, _basic_parsers__WEBPA129);
- var _super308 = _createSuper(RelationParser);
- function RelationParser() {
- var _this81;
- _classCallCheck(this, RelationParser);
- _this81 = _super308.apply(this, arguments);
- _this81.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], _this81.genericParse);
- _this81.entityInfoParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(EntityInfoParser, _this81.genericParse);
- _this81.textParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["TextParser"], _this81.genericParse);
- return _this81;
- }
- _createClass(RelationParser, [{
- key: "parse",
- value: function parse(xml) {
- var _this82 = this;
- var descriptionEls = xml.querySelectorAll('desc');
- var attributes = this.attributeParsers.parse(xml);
- var name = attributes.name,
- type = attributes.type;
- var active = xml.getAttribute('active') || ''; // TODO: make get attributes return '' as default?
- var mutual = xml.getAttribute('mutual') || '';
- var passive = xml.getAttribute('passive') || '';
- var relation = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Relation"],
- name: name,
- activeParts: active.replace(/#/g, '').split(' '),
- mutualParts: mutual.replace(/#/g, '').split(' '),
- passiveParts: passive.replace(/#/g, '').split(' '),
- relationType: type,
- attributes: attributes,
- content: Array.from(xml.children).map(function (subchild) {
- return _this82.entityInfoParser.parse(subchild);
- }),
- description: []
- };
- if (descriptionEls && descriptionEls.length > 0) {
- descriptionEls.forEach(function (el) {
- return relation.description.push(_this82.genericParse(el));
- });
- } else {
- relation.description = [this.textParser.parse(xml)];
- }
- var parentListEl = xml.parentElement.tagName === 'listRelation' ? xml.parentElement : undefined;
- if (parentListEl) {
- relation.relationType = "".concat(parentListEl.getAttribute('type') || '', " ").concat(relation.relationType || '').trim();
- }
- return relation;
- }
- }]);
- return RelationParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- function getLemEntityID(ref) {
- return ref ? ref.replace(/#/g, '') : '';
- }
- function textLabel(elemName, xml) {
- var el = xml.querySelector(elemName);
- return (el ? Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(el.textContent) : '') || 'No info';
- }
- /***/
- },
- /***/
- "Zey5":
- /*!*******************************************************************!*\
- !*** ./src/app/components/edition-stmt/edition-stmt.component.ts ***!
- \*******************************************************************/
- /*! exports provided: EditionStmtComponent */
- /***/
- function Zey5(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EditionStmtComponent", function () {
- return EditionStmtComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/header-section/header-section.component */
- "iRdJ");
- function EditionStmtComponent_ng_container_1_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function EditionStmtComponent_ng_container_1_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- var _c0 = function _c0(a1) {
- return {
- label: "edition",
- items: a1,
- "class": "edition"
- };
- };
- var _c1 = function _c1(a1) {
- return {
- label: "responsibles",
- items: a1,
- "class": "principal"
- };
- };
- function EditionStmtComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditionStmtComponent_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditionStmtComponent_ng_container_1_ng_container_2_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](4, _c0, ctx_r0.data == null ? null : ctx_r0.data.edition));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](6, _c1, ctx_r0.data == null ? null : ctx_r0.data.respStmt));
- }
- }
- function EditionStmtComponent_ng_container_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var element_r7 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r7);
- }
- }
- function EditionStmtComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditionStmtComponent_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.content);
- }
- }
- function EditionStmtComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var item_r13 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r13);
- }
- }
- function EditionStmtComponent_ng_template_3_evt_header_section_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditionStmtComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var label_r8 = ctx_r14.label;
- var class_r10 = ctx_r14["class"];
- var items_r9 = ctx_r14.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r8)("inlineLabel", true)("additionalClass", class_r10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r9);
- }
- }
- function EditionStmtComponent_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, EditionStmtComponent_ng_template_3_evt_header_section_0_Template, 3, 4, "evt-header-section", 7);
- }
- if (rf & 2) {
- var items_r9 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r9 == null ? null : items_r9.length) > 0);
- }
- }
- var EditionStmtComponent = function EditionStmtComponent() {
- _classCallCheck(this, EditionStmtComponent);
- };
- EditionStmtComponent.ɵfac = function EditionStmtComponent_Factory(t) {
- return new (t || EditionStmtComponent)();
- };
- EditionStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: EditionStmtComponent,
- selectors: [["evt-edition-stmt"]],
- inputs: {
- data: "data"
- },
- decls: 5,
- vars: 2,
- consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["section", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "label", "inlineLabel", "additionalClass", 4, "ngIf"], [3, "label", "inlineLabel", "additionalClass"], ["content", ""]],
- template: function EditionStmtComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0, 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, EditionStmtComponent_ng_container_1_Template, 3, 8, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, EditionStmtComponent_ng_container_2_Template, 2, 1, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, EditionStmtComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.structuredData);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", true);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]],
- styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2VkaXRpb24tc3RtdC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQzJGRSw4QkFBQTtFQUNBLGtCQUFBO0VBQ0Esd0JBQUE7RUFDQSxXQUFBO0VBQ0EsaUJBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxnQkFBQTtBRDNGRiIsImZpbGUiOiJlZGl0aW9uLXN0bXQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0ICcuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnMnO1xuXG4ubWFpbi1zZWN0aW9uLXRpdGxlIHtcbiAgICBAaW5jbHVkZSBoZWFkZXJTZWN0aW9uVGl0bGUoKVxufSIsIi8vIC8vLy8vLy8vLy8vLy8vLy8vLyAvL1xuLy8gR0xPQkFMIFNDU1MgTUlYSU5TIC8vXG4vLyAvLy8vLy8vLy8vLy8vLy8vLy8gLy9cblxuLy8gU2V0IGNhbGN1bGF0ZWQgcHJvcGVydHlcbkBtaXhpbiBjYWxjKCRwcm9wZXJ0eSwgJGV4cHJlc3Npb24sICRpbXBvcnRhbnQ6XCJcIikge1xuICAjeyRwcm9wZXJ0eX06IC1tb3otY2FsYygjeyRleHByZXNzaW9ufSkgI3skaW1wb3J0YW50fTtcbiAgI3skcHJvcGVydHl9OiAtby1jYWxjKCN7JGV4c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91bmQ6ICRjb2xvci1iYXNlO1xuICBib3JkZXItYm90dG9tLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuXG4gICYuYWN0aXZlIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICAgIGJvcmRlci1yaWdodC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcblxuICAgICY6bm90KDpmaXJzdC1jaGlsZCkge1xuICAgICAgYm9yZGVyLWxlZnQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgfVxuICB9XG5cbiAgJjpob3ZlciB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgfVxufVxuXG5cbkBtaXhpbiBoZWFkZXJTZWN0aW9uVGl0bGUoKSB7XG4gIGJvcmRlci1ib3R0b206IDFweCBkb3R0ZWQgIzY2NjtcbiAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gIGNvbG9yOiAjMDAwO1xuICBmb250LXNpemU6IDEuMnJlbTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1hcmdpbi10b3A6IDE0cHg7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"]
- });
- EditionStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["EditionStmt"])], EditionStmtComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](EditionStmtComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-edition-stmt',
- templateUrl: './edition-stmt.component.html',
- styleUrls: ['./edition-stmt.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "ZiLK":
- /*!*********************************************************!*\
- !*** ./src/app/components/ms-desc/ms-desc.component.ts ***!
- \*********************************************************/
- /*! exports provided: MsDescComponent */
- /***/
- function ZiLK(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsDescComponent", function () {
- return MsDescComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../ui-components/ms-desc-section/ms-desc-section.component */
- "WyXU");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../ms-identifier/ms-identifier.component */
- "Ie87");
- /* harmony import */
- var _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../ms-contents/ms-contents.component */
- "xQyG");
- /* harmony import */
- var _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../phys-desc/phys-desc.component */
- "xZwa");
- /* harmony import */
- var _history_history_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../history/history.component */
- "6qKx");
- /* harmony import */
- var _additional_additional_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../additional/additional.component */
- "uIHG");
- /* harmony import */
- var _ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ../ms-frag/ms-frag.component */
- "6n9f");
- /* harmony import */
- var _ms_part_ms_part_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! ../ms-part/ms-part.component */
- "HFpj");
- function MsDescComponent_div_0_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
- }
- if (rf & 2) {
- var par_r10 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r10);
- }
- }
- function MsDescComponent_div_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsDescComponent_div_0_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.pEl);
- }
- }
- function MsDescComponent_ng_container_1_div_1_ng_container_4_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
- }
- if (rf & 2) {
- var title_r20 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", title_r20);
- }
- }
- function MsDescComponent_ng_container_1_div_1_ng_container_4_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- var _c0 = function _c0(a0) {
- return [a0];
- };
- function MsDescComponent_ng_container_1_div_1_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsDescComponent_ng_container_1_div_1_ng_container_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsDescComponent_ng_container_1_div_1_ng_container_4_span_2_Template, 2, 0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var titles_r16 = ctx.$implicit;
- var i_r17 = ctx.index;
- var head_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", titles_r16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r17 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, head_r11.title.length - 1));
- }
- }
- function MsDescComponent_ng_container_1_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsDescComponent_ng_container_1_div_1_ng_container_4_Template, 3, 4, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var head_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "title")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", head_r11.title);
- }
- }
- function MsDescComponent_ng_container_1_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var head_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "origPlace")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", head_r11.origPlace);
- }
- }
- function MsDescComponent_ng_container_1_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var head_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "origDate")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", head_r11.origDate);
- }
- }
- function MsDescComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsDescComponent_ng_container_1_div_1_Template, 5, 3, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsDescComponent_ng_container_1_div_2_Template, 5, 3, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsDescComponent_ng_container_1_div_3_Template, 5, 3, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var head_r11 = ctx.ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (head_r11.title == null ? null : head_r11.title.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", head_r11.origPlace);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", head_r11.origDate);
- }
- }
- function MsDescComponent_evt_ms_identifier_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-identifier", 10);
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data.msIdentifier);
- }
- }
- function MsDescComponent_evt_ms_contents_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-contents", 10);
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r3.data.msContents);
- }
- }
- function MsDescComponent_evt_phys_desc_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-phys-desc", 10);
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r4.data.physDesc);
- }
- }
- function MsDescComponent_evt_history_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-history", 10);
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r5.data.history);
- }
- }
- function MsDescComponent_evt_additional_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-additional", 10);
- }
- if (rf & 2) {
- var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r6.data.additional);
- }
- }
- function MsDescComponent_ng_container_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-frag", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var frag_r25 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", frag_r25);
- }
- }
- function MsDescComponent_ng_container_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-part", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var part_r26 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", part_r26);
- }
- }
- var MsDescComponent = function MsDescComponent() {
- _classCallCheck(this, MsDescComponent);
- };
- MsDescComponent.ɵfac = function MsDescComponent_Factory(t) {
- return new (t || MsDescComponent)();
- };
- MsDescComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: MsDescComponent,
- selectors: [["evt-ms-desc"]],
- inputs: {
- data: "data"
- },
- decls: 9,
- vars: 9,
- consts: [["class", "flex-container", 4, "ngIf"], [4, "ngIf"], [3, "data", 4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "flex-container"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "data"]],
- template: function MsDescComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, MsDescComponent_div_0_Template, 5, 3, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsDescComponent_ng_container_1_Template, 4, 3, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsDescComponent_evt_ms_identifier_2_Template, 1, 1, "evt-ms-identifier", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsDescComponent_evt_ms_contents_3_Template, 1, 1, "evt-ms-contents", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsDescComponent_evt_phys_desc_4_Template, 1, 1, "evt-phys-desc", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsDescComponent_evt_history_5_Template, 1, 1, "evt-history", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsDescComponent_evt_additional_6_Template, 1, 1, "evt-additional", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, MsDescComponent_ng_container_7_Template, 2, 1, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, MsDescComponent_ng_container_8_Template, 2, 1, "ng-container", 3);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.pEl.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.head);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msIdentifier);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.msContents);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.physDesc);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.history);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.additional);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.msFrags);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.msParts);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_5__["MsDescSectionComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _ms_identifier_ms_identifier_component__WEBPACK_IMPORTED_MODULE_7__["MsIdentifierComponent"], _ms_contents_ms_contents_component__WEBPACK_IMPORTED_MODULE_8__["MsContentsComponent"], _phys_desc_phys_desc_component__WEBPACK_IMPORTED_MODULE_9__["PhysDescComponent"], _history_history_component__WEBPACK_IMPORTED_MODULE_10__["HistoryComponent"], _additional_additional_component__WEBPACK_IMPORTED_MODULE_11__["AdditionalComponent"], _ms_frag_ms_frag_component__WEBPACK_IMPORTED_MODULE_12__["MsFragComponent"], _ms_part_ms_part_component__WEBPACK_IMPORTED_MODULE_13__["MsPartComponent"]],
- styles: [".flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 500px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 640px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1000px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWRlc2MuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSxlQUFBO0FBQ0o7O0FBRUE7RUFDSSxnQkFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7RUFDQSxxQkFBQTtBQUNKOztBQUVBO0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1xuICAgIH1cbiAgICAgIFxuICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgfVxufVxuXG5cblxuIl19 */"]
- });
- MsDescComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsDesc"])], MsDescComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsDescComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-ms-desc',
- templateUrl: './ms-desc.component.html',
- styleUrls: ['./ms-desc.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "aK5T":
- /*!*************************************************************************************!*\
- !*** ./src/app/components/lemmatized-entity-ref/lemmatized-entity-ref.component.ts ***!
- \*************************************************************************************/
- /*! exports provided: LemmatizedEntityRefComponent */
- /***/
- function aK5T(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntityRefComponent", function () {
- return LemmatizedEntityRefComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _services_lems_select_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../services/lems-select.service */
- "Z5dB");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../../directives/highlight.directive */
- "CmGG");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ../lemmatized-entity/lemmatized-entity.component */
- "n4Hk");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function LemmatizedEntityRefComponent_evt_content_viewer_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
- }
- if (rf & 2) {
- var element_r2 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r2)("editionLevel", ctx_r0.editionLevel)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight)("textFlow", ctx_r0.textFlow);
- }
- }
- function LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "entityNotFound"));
- }
- }
- function LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_evt_lemmatized_entity_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-lemmatized-entity", 10);
- }
- if (rf & 2) {
- var entity_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inList", true)("data", entity_r7);
- }
- }
- function LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_span_1_Template, 3, 3, "span", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_evt_lemmatized_entity_2_Template, 1, 2, "evt-lemmatized-entity", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var entity_r7 = ctx.ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r7 === "notFound");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r7 !== "notFound");
- }
- }
- function LemmatizedEntityRefComponent_ng_container_7_div_1_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](0, "Loading...");
- }
- }
- function LemmatizedEntityRefComponent_ng_container_7_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityRefComponent_ng_container_7_div_1_ng_container_1_Template, 3, 2, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntityRefComponent_ng_container_7_div_1_ng_template_3_Template, 1, 0, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("lemmatizedEntityRefDetail ", ctx_r3.data.entityLemType, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 5, ctx_r3.entity$))("ngIfElse", _r5);
- }
- }
- function LemmatizedEntityRefComponent_ng_container_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityRefComponent_ng_container_7_div_1_Template, 5, 7, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r1.opened);
- }
- }
- var _c0 = function _c0(a0, a1, a2) {
- return {
- opened: a0,
- lemmaHighlight: a1,
- noDetails: a2
- };
- };
- var _c1 = function _c1(a0, a1, a2) {
- return {
- opened: a0,
- iperlemmaHighlight: a1,
- noDetails: a2
- };
- };
- var LemmatizedEntityRefComponent = /*#__PURE__*/function () {
- function LemmatizedEntityRefComponent(evtStatusService, evtModelService, lemsSelectService) {
- var _this83 = this;
- _classCallCheck(this, LemmatizedEntityRefComponent);
- this.evtStatusService = evtStatusService;
- this.evtModelService = evtModelService;
- this.lemsSelectService = lemsSelectService;
- this.availableLemEntities$ = this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (ne) {
- return ne.all.lementities.length > 0;
- })); // entity$ = this.evtModelService.lemmatizedEntities$.pipe(
- // map(ne => ne.all.lementities.find(e => e.id === this.data.entityLemId) || 'notFound'),
- // );
- this.entity$ = this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (ne) {
- return ne.all.lementities.find(function (e) {
- return e.id === _this83.data.entityLemId;
- }) || 'notFound';
- }));
- this.highlighted$ = this.lemsSelectService.selectedLemsItems$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])(function (items) {
- if (_this83.data) {
- _this83.data["class"] = _this83.data["class"] || '';
- _this83.data.attributes = _this83.data.attributes || {};
- }
- return items;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (items) {
- return items.some(function (i) {
- return i && _this83.data && _this83.lemsSelectService.matchClassAndAttributes(i.value, _this83.data.attributes, _this83.data["class"]);
- });
- }));
- this.opened = false;
- }
- _createClass(LemmatizedEntityRefComponent, [{
- key: "toggleLemEntityData",
- value: function toggleLemEntityData(event) {
- event.stopPropagation();
- this.opened = !this.opened;
- }
- }]);
- return LemmatizedEntityRefComponent;
- }();
- LemmatizedEntityRefComponent.ɵfac = function LemmatizedEntityRefComponent_Factory(t) {
- return new (t || LemmatizedEntityRefComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_lems_select_service__WEBPACK_IMPORTED_MODULE_7__["LemsSelectService"]));
- };
- LemmatizedEntityRefComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: LemmatizedEntityRefComponent,
- selectors: [["evt-lemmatized-entity-ref"]],
- inputs: {
- data: "data"
- },
- decls: 9,
- vars: 32,
- consts: [[3, "ngClass", "evtHighlight", "evtHtmlAttributes", "click"], [3, "content", "editionLevel", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow", 4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "content", "editionLevel", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow"], [3, "class", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["loading", ""], ["class", "d-block p-2 pl-3 font-italic font-weight-light not-found-msg", 4, "ngIf"], [3, "inList", "data", 4, "ngIf"], [1, "d-block", "p-2", "pl-3", "font-italic", "font-weight-light", "not-found-msg"], [3, "inList", "data"]],
- template: function LemmatizedEntityRefComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityRefComponent_Template_span_click_0_listener($event) {
- return ctx.toggleLemEntityData($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityRefComponent_Template_span_click_3_listener($event) {
- return ctx.toggleLemEntityData($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, LemmatizedEntityRefComponent_evt_content_viewer_6_Template, 1, 5, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, LemmatizedEntityRefComponent_ng_container_7_Template, 2, 1, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](8, "async");
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("lemmatizedEntityRef ", ctx.data.entityLemType, " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction3"](24, _c0, ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 14, ctx.evtStatusService.currentLemmatizedEntityId$) === ctx.data.entityLemId && !ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 16, ctx.availableLemEntities$) === false))("evtHighlight", ctx.highlightDataLem)("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("iperlemmatizedEntityRef ", ctx.data.entityLemType, " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction3"](28, _c1, ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 18, ctx.evtStatusService.currentLemmatizedEntityId$) === ctx.data.entityLemId && !ctx.opened, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 20, ctx.availableLemEntities$) === false))("evtHighlight", ctx.highlightDataIperlem)("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](8, 22, ctx.availableLemEntities$));
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["NgClass"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__["HighlightDirective"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_10__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__["ContentViewerComponent"], _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_12__["LemmatizedEntityComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_13__["TranslatePipe"]],
- styles: [".lemmatizedEntityRef[_ngcontent-%COMP%]:not(.noDetails) {\n cursor: pointer;\n}\n.lemmatizedEntityRef[_ngcontent-%COMP%]:not(.noDetails).opened {\n border-bottom: 3px solid #d0d0d0;\n font-weight: 600;\n font-style: italic;\n background-color: rgba(208, 208, 208, 0.5);\n}\n.lemmatizedEntityRef[_ngcontent-%COMP%]:not(.opened):not(:hover) {\n background-color: transparent;\n}\n.lemmatizedEntityRef[_ngcontent-%COMP%]:hover {\n background-color: #d0d0d0;\n}\n.not-found-msg[_ngcontent-%COMP%] {\n font-size: 0.9rem;\n}\n.lemmaHighlight[_ngcontent-%COMP%] {\n background: #d0d0d0 !important;\n}\n.iperlemmaHighlight[_ngcontent-%COMP%] {\n background: #d0d0d0 !important;\n}\n.ne-container.lem[_ngcontent-%COMP%] .ne-occurrence[_ngcontent-%COMP%] {\n border-radius: 4px;\n padding: 4px 6px;\n background: #d0d0d0;\n margin-right: 3px;\n font-size: 10rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 10rem;\n}\n.lemmatizedEntityRef.highlighted[_ngcontent-%COMP%] {\n background-color: #d0d0d0;\n}\n.iperlemmatizedEntityRef.highlighted[_ngcontent-%COMP%] {\n text-decoration: underline;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXR5LXJlZi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLRTtFQUNFLGVBQUE7QUFKSjtBQUtJO0VBQ0UsZ0NBQUE7RUFDQSxnQkFBQTtFQUNBLGtCQUFBO0VBQ0EsMENBQUE7QUFITjtBQU1FO0VBQ0UsNkJBQUE7QUFKSjtBQVFBO0VBQ0kseUJBQUE7QUFMSjtBQXVDQTtFQUNFLGlCQUFBO0FBcENGO0FBdUNBO0VBQ0UsOEJBQUE7QUFwQ0Y7QUF1Q0E7RUFDRSw4QkFBQTtBQXBDRjtBQXVDQTtFQUNFLGtCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxtQkFBQTtFQUNBLGlCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxrQkFBQTtFQUNBLGdDQUFBO0VBQ0EsZUFBQTtFQUNBLGtCQUFBO0FBcENGO0FBdUNBO0VBQ0UseUJBQUE7QUFwQ0Y7QUF1Q0E7RUFDRSwwQkFBQTtBQXBDRiIsImZpbGUiOiJsZW1tYXRpemVkLWVudGl0eS1yZWYuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0IFwiLi4vLi4vLi4vYXNzZXRzL3Njc3MvY29sb3JzXCI7XG5AaW1wb3J0IFwiLi4vLi4vLi4vYXNzZXRzL3Njc3MvdGhlbWVzXCI7XG5AaW1wb3J0I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1czogNHB4O1xuICBwYWRkaW5nOiA0cHggNnB4O1xuICBiYWNrZ3JvdW5kOiByZ2JhKDIwOCwgMjA4LCAyMDgsIDEwKTtcbiAgbWFyZ2luLXJpZ2h0OiAzcHg7XG4gIGZvbnQtc2l6ZTogMTByZW07XG4gIG1hcmdpbi1ib3R0b206IDNweDtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrICFpbXBvcnRhbnQ7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgbGluZS1oZWlnaHQ6IDEwcmVtO1xufVxuXG4ubGVtbWF0aXplZEVudGl0eVJlZi5oaWdobGlnaHRlZCB7XG4gIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMjA4LCAyMDgsIDIwOCwgMTApO1xufVxuXG4uaXBlcmxlbW1hdGl6ZWRFbnRpdHlSZWYuaGlnaGxpZ2h0ZWQge1xuICB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcbn0iXX0= */"]
- });
- LemmatizedEntityRefComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntityRef"])], LemmatizedEntityRefComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemmatizedEntityRefComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-lemmatized-entity-ref',
- templateUrl: './lemmatized-entity-ref.component.html',
- styleUrls: ['./lemmatized-entity-ref.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_5__["EVTStatusService"]
- }, {
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]
- }, {
- type: _services_lems_select_service__WEBPACK_IMPORTED_MODULE_7__["LemsSelectService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "aR35":
- /*!*******************************!*\
- !*** ./src/app/app.config.ts ***!
- \*******************************/
- /*! exports provided: AppConfig */
- /***/
- function aR35(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AppConfig", function () {
- return AppConfig;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- /* harmony import */
- var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common/http */
- "tk/3");
- var AppConfig = /*#__PURE__*/function () {
- function AppConfig(translate, http) {
- _classCallCheck(this, AppConfig);
- this.translate = translate;
- this.http = http;
- this.uiConfigUrl = 'assets/config/ui_config.json';
- this.fileConfigUrl = 'assets/config/file_config.json';
- this.editionConfigUrl = 'assets/config/edition_config.json';
- this.editorialConventionsConfigUrl = 'assets/config/editorial_conventions_config.json';
- }
- _createClass(AppConfig, [{
- key: "load",
- value: function load() {
- var _this84 = this;
- return new Promise(function (resolve) {
- Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["forkJoin"])([_this84.http.get(_this84.uiConfigUrl), _this84.http.get(_this84.editionConfigUrl), _this84.http.get(_this84.fileConfigUrl), _this84.http.get(_this84.editorialConventionsConfigUrl)]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref55) {
- var _ref56 = _slicedToArray(_ref55, 4),
- ui = _ref56[0],
- edition = _ref56[1],
- files = _ref56[2],
- editorialConventions = _ref56[3];
- console.log(ui, edition, files); // Handle default values => TODO: Decide how to handle defaults!!
- if (ui.defaultLocalization) {
- if (ui.availableLanguages.find(function (l) {
- return l.code === ui.defaultLocalization && l.enabled;
- })) {
- _this84.translate.use(ui.defaultLocalization);
- } else {
- var firstAvailableLang = ui.availableLanguages.find(function (l) {
- return l.enabled;
- });
- if (firstAvailableLang) {
- _this84.translate.use(firstAvailableLang.code);
- }
- }
- }
- return {
- ui: ui,
- edition: edition,
- files: files,
- editorialConventions: editorialConventions
- };
- })).subscribe(function (evtConfig) {
- AppConfig.evtSettings = evtConfig;
- console.log('evtConfig', evtConfig);
- resolve();
- });
- });
- }
- }]);
- return AppConfig;
- }();
- AppConfig.ɵfac = function AppConfig_Factory(t) {
- return new (t || AppConfig)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__["TranslateService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"]));
- };
- AppConfig.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: AppConfig,
- factory: AppConfig.ɵfac
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppConfig, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
- }], function () {
- return [{
- type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_3__["TranslateService"]
- }, {
- type: _angular_common_http__WEBPACK_IMPORTED_MODULE_4__["HttpClient"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "awNf":
- /*!*******************************************************************************************!*\
- !*** ./src/app/components/lemmatized-entities-list/lemmatized-entities-list.component.ts ***!
- \*******************************************************************************************/
- /*! exports provided: LemmatizedEntitiesListComponent */
- /***/
- function awNf(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntitiesListComponent", function () {
- return LemmatizedEntitiesListComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/forms */
- "3Pt+");
- /* harmony import */
- var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/button/button.component */
- "UjKN");
- /* harmony import */
- var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/cdk/scrolling */
- "vxfF");
- /* harmony import */
- var _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @angular/cdk-experimental/scrolling */
- "cfqv");
- /* harmony import */
- var _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../lemmatized-entity/lemmatized-entity.component */
- "n4Hk");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- /* harmony import */
- var _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../../pipes/filter.pipe */
- "BhhM");
- /* harmony import */
- var _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ../../pipes/starts-with.pipe */
- "6uNG");
- var _c0 = function _c0() {
- return {
- icon: "search"
- };
- };
- var _c1 = function _c1() {
- return {
- icon: "times"
- };
- };
- function LemmatizedEntitiesListComponent_div_1_form_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "form", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "input", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function LemmatizedEntitiesListComponent_div_1_form_1_Template_input_ngModelChange_1_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6);
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r5.querySearch = $event;
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "evt-button", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function LemmatizedEntitiesListComponent_div_1_form_1_Template_evt_button_btnClick_4_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6);
- var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r7.toggleCaseSensitiveSearch($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-button", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "evt-button", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function LemmatizedEntitiesListComponent_div_1_form_1_Template_evt_button_btnClick_6_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6);
- var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r8.toggleSearch();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 10, "search"))("ngModel", ctx_r3.querySearch);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("type", "submit")("toggler", true)("active", ctx_r3.caseSensitiveSearch)("label", "aA");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](12, _c0))("type", "submit")("disabled", !ctx_r3.querySearch);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](13, _c1));
- }
- }
- function LemmatizedEntitiesListComponent_div_1_nav_2_li_3_Template(rf, ctx) {
- if (rf & 1) {
- var _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 17);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 18);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntitiesListComponent_div_1_nav_2_li_3_Template_span_click_1_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r12);
- var key_r10 = ctx.$implicit;
- var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- return ctx_r11.selectedKey = key_r10;
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var key_r10 = ctx.$implicit;
- var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("active", ctx_r9.selectedKey === key_r10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](key_r10);
- }
- }
- function LemmatizedEntitiesListComponent_div_1_nav_2_Template(rf, ctx) {
- if (rf & 1) {
- var _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "nav");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "evt-button", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function LemmatizedEntitiesListComponent_div_1_nav_2_Template_evt_button_btnClick_2_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r14);
- var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r13.toggleSearch();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntitiesListComponent_div_1_nav_2_li_3_Template, 3, 3, "li", 16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](2, _c0));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.navigationKeys);
- }
- }
- function LemmatizedEntitiesListComponent_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntitiesListComponent_div_1_form_1_Template, 7, 14, "form", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntitiesListComponent_div_1_nav_2_Template, 4, 3, "nav", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.searchOpened);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r0.searchOpened);
- }
- }
- function LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_evt_lemmatized_entity_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-lemmatized-entity", 23);
- }
- if (rf & 2) {
- var entity_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inList", true)("data", entity_r16);
- }
- }
- function LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 24);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noMatches"), " ");
- }
- }
- function LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_evt_lemmatized_entity_1_Template, 1, 2, "evt-lemmatized-entity", 21);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_div_2_Template, 3, 3, "div", 22);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var entity_r16 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !entity_r16);
- }
- }
- function LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "cdk-virtual-scroll-viewport", 19);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_Template, 3, 2, "ng-container", 20);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "filter");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "startsWith");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("cdkVirtualForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind4"](2, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind3"](3, 7, ctx_r1.data == null ? null : ctx_r1.data.content, "sortKey", ctx_r1.querySearch ? "" : ctx_r1.selectedKey), "label", ctx_r1.querySearch, ctx_r1.caseSensitiveSearch))("cdkVirtualForTemplateCacheSize", 0);
- }
- }
- function LemmatizedEntitiesListComponent_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 25);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noEntities"), " ");
- }
- }
- var LemmatizedEntitiesListComponent = /*#__PURE__*/function () {
- function LemmatizedEntitiesListComponent() {
- _classCallCheck(this, LemmatizedEntitiesListComponent);
- this.searchedEntities = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
- this.navigationKeys = [];
- this.searchOpened = false;
- this.querySearch = '';
- this.querySearchSubmitted = '';
- this.caseSensitiveSearch = false;
- }
- _createClass(LemmatizedEntitiesListComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this.initKeys();
- }
- }, {
- key: "ngOnChanges",
- value: function ngOnChanges() {
- this.initKeys();
- }
- }, {
- key: "toggleSearch",
- value: function toggleSearch() {
- this.searchOpened = !this.searchOpened;
- this.querySearch = '';
- this.querySearchSubmitted = '';
- this.searchedEntities.emit(this.querySearch);
- }
- }, {
- key: "toggleCaseSensitiveSearch",
- value: function toggleCaseSensitiveSearch(event) {
- this.caseSensitiveSearch = event.active;
- }
- }, {
- key: "initKeys",
- value: function initKeys() {
- var _this85 = this;
- if (!!this.data && !!this.data.content && this.data.content.length > 0) {
- this.navigationKeys = this.data.content.filter(function (el) {
- return el.lemmatizedEntityType === _this85.data.lemmatizedEntityType;
- }).map(function (el) {
- var _a;
- return (_a = el.sortKey) === null || _a === void 0 ? void 0 : _a.substr(0, 1).toLowerCase();
- }).filter(function (item, i, ar) {
- return item && ar.indexOf(item) === i;
- }).sort();
- this.selectedKey = this.navigationKeys[0] || '';
- }
- }
- }, {
- key: "selectedKey",
- set: function set(k) {
- this._selectedKey = k;
- },
- get: function get() {
- return this._selectedKey;
- }
- }]);
- return LemmatizedEntitiesListComponent;
- }();
- LemmatizedEntitiesListComponent.ɵfac = function LemmatizedEntitiesListComponent_Factory(t) {
- return new (t || LemmatizedEntitiesListComponent)();
- };
- LemmatizedEntitiesListComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: LemmatizedEntitiesListComponent,
- selectors: [["evt-lemmatized-entities-list"]],
- inputs: {
- data: "data"
- },
- outputs: {
- searchedEntities: "searchedEntities"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
- decls: 5,
- vars: 3,
- consts: [[1, "card", "border-0", "ne-list"], ["class", "card-header p-0 m-0", 4, "ngIf"], [1, "card-body", "ne-list-body", "p-0", "m-0"], ["autosize", "", 4, "ngIf"], ["class", "p-3 ne-list-msg", 4, "ngIf"], [1, "card-header", "p-0", "m-0"], ["class", "input-group p-1", 4, "ngIf"], [4, "ngIf"], [1, "input-group", "p-1"], ["type", "input", "name", "search", 1, "form-control", "form-control-sm", "ne-list-search", 3, "placeholder", "ngModel", "ngModelChange"], [1, "input-group-append"], ["additionalClasses", "border", 3, "type", "toggler", "active", "label", "btnClick"], ["additionalClasses", "border", 3, "iconLeft", "type", "disabled"], ["additionalClasses", "border", 3, "iconLeft", "btnClick"], [1, "pagination", "pagination-sm", "justify-content-center", "m-0", "p-1"], ["additionalClasses", "mr-2", 3, "iconLeft", "btnClick"], ["class", "page-item", 3, "active", 4, "ngFor", "ngForOf"], [1, "page-item"], [1, "page-link", 3, "click"], ["autosize", ""], [4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTemplateCacheSize"], [3, "inList", "data", 4, "ngIf"], ["class", "p-3", 4, "ngIf"], [3, "inList", "data"], [1, "p-3"], [1, "p-3", "ne-list-msg"]],
- template: function LemmatizedEntitiesListComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntitiesListComponent_div_1_Template, 3, 2, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntitiesListComponent_cdk_virtual_scroll_viewport_3_Template, 4, 11, "cdk-virtual-scroll-viewport", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemmatizedEntitiesListComponent_div_4_Template, 3, 3, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) === 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgForm"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__["CdkVirtualScrollViewport"], _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_8__["CdkAutoSizeVirtualScroll"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__["CdkVirtualForOf"], _lemmatized_entity_lemmatized_entity_component__WEBPACK_IMPORTED_MODULE_9__["LemmatizedEntityComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslatePipe"], _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_11__["FilterPipe"], _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_12__["StartsWithPipe"]],
- styles: [".card[_ngcontent-%COMP%] {\n height: 100%;\n}\n\ncdk-virtual-scroll-viewport[_ngcontent-%COMP%] {\n height: -o-calc(100%);\n height: calc(100%);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXRpZXMtbGlzdC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQUNJLFlBQUE7QUFESjs7QUFJQTtFQ0NFLHFCQUFBO0VBRUEsa0JBQUE7QURBRiIsImZpbGUiOiJsZW1tYXRpemVkLWVudGl0aWVzLWxpc3QuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0ICcuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnMnO1xuXG4uY2FyZCB7XG4gICAgaGVpZ2h0OiAxMDAlO1xufVxuXG5jZGstdmlydHVhbC1zY3JvbGwtdmlld3BvcnQge1xuICAgIEBpbmNsdWRlIGNhbGMoJ2hlaWdodCcsICcxMDAlJyk7XG59IiwiLy8gLy8vLy8vLy8vLy8vLy8vLy8vIC8vXG4vLyBHTE9CQUwgU0NTUyBNSVhJTlMgLy9cbi8vIC8vLy8vLy8vLy8vLy8vLy8vLyAvL1xuXG4vLyBTZXQgY2FsY3VsYXRlZCBwcm9wZXJ0eVxuQG1peGluIGNhbGMoJHByb3BlcnR5LCAkZXhwcmVzc2lvbiwgJGltcG9ydGFudDpcIlwiKSB7XG4gICN7JHByb3BlcnR5fTogLW1vei1jYWxjKCN7JGV4cHJlc3Npb259KSAjeyRpbXBvcnRhbnR9O1xuICAjeyRwcm9wZXJ0eX06IC1vLWNhbGMoI3skZXhwcmVzc2lvbn0pICN7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9yLWJhc2U7XG4gIGJvcmRlci1ib3R0b20tY29sb3I6ICRjb2xvci1taWRkbGU7XG5cbiAgJi5hY3RpdmUge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgYm9yZGVyLXJpZ2h0LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuXG4gICAgJjpub3QoOmZpcnN0LWNoaWxkKSB7XG4gICAgICBib3JkZXItbGVmdC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICB9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cblxuQG1peGluIGhlYWRlclNlY3Rpb25UaXRsZSgpIHtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"]
- });
- LemmatizedEntitiesListComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["LemmatizedEntitiesList"])], LemmatizedEntitiesListComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemmatizedEntitiesListComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-lemmatized-entities-list',
- templateUrl: './lemmatized-entities-list.component.html',
- styleUrls: ['./lemmatized-entities-list.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- searchedEntities: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "bDt3":
- /*!****************************************************************************!*\
- !*** ./src/app/services/xml-parsers/lemmatized-entities-parser.service.ts ***!
- \****************************************************************************/
- /*! exports provided: LemmatizedEntitiesParserService */
- /***/
- function bDt3(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntitiesParserService", function () {
- return LemmatizedEntitiesParserService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../utils/dom-utils */
- "G9+u");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _lemmatized_entity_parsers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./lemmatized-entity-parsers */
- "ZSfi");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var LemmatizedEntitiesParserService = /*#__PURE__*/function () {
- function LemmatizedEntitiesParserService() {
- _classCallCheck(this, LemmatizedEntitiesParserService);
- this.tagLemNamesMap = _lemmatized_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["lemmatizedEntitiesListsTagNamesMap"];
- }
- _createClass(LemmatizedEntitiesParserService, [{
- key: "parseLemLists",
- value: function parseLemLists(document) {
- var lemListsToParse = Object(_lemmatized_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["getLemListsToParseTagNames"])();
- var lemListParser = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-lemmatized-lementities-list-parser'); // We consider only first level lists; inset lists will be considered
- var lemlists = Array.from(document.querySelectorAll(lemListsToParse.toString())).filter(function (lemlist) {
- return !Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(lemlist, lemlist.tagName);
- }).map(function (l) {
- return lemListParser.parse(l);
- });
- return {
- lemlists: lemlists,
- lementities: lemlists.map(function (_ref57) {
- var content = _ref57.content;
- return content;
- }).reduce(function (a, b) {
- return a.concat(b);
- }, []),
- relations: lemlists.map(function (_ref58) {
- var relations = _ref58.relations;
- return relations;
- }).reduce(function (a, b) {
- return a.concat(b);
- }, [])
- };
- }
- }, {
- key: "getResultsByType",
- value: function getResultsByType(lemlists, lementities, type) {
- return {
- lemlists: lemlists.filter(function (list) {
- return type.indexOf(list.lemmatizedEntityType) >= 0;
- }),
- lementities: lementities.filter(function (entity) {
- return type.indexOf(entity.lemmatizedEntityType) >= 0;
- })
- };
- }
- }, {
- key: "parseLemmatizedEntitiesOccurrences",
- value: function parseLemmatizedEntitiesOccurrences(pages) {
- var _this86 = this;
- return pages.map(function (p) {
- return _this86.getLemmatizedEntitiesOccurrencesInPage(p);
- }).reduce(function (x, y) {
- Object.keys(y).forEach(function (k) {
- if (x[k]) {
- x[k] = x[k].concat([y[k]]);
- } else {
- x[k] = [y[k]];
- }
- });
- return x;
- }, {});
- }
- }, {
- key: "getLemmatizedEntitiesOccurrencesInPage",
- value: function getLemmatizedEntitiesOccurrencesInPage(p) {
- var _this87 = this;
- return p.originalContent.filter(function (e) {
- return e.nodeType === 1;
- }).map(function (e) {
- var occurrences = [];
- if (_this87.tagLemNamesMap.occurrences.indexOf(e.tagName) >= 0 && e.getAttribute('ref')) {
- // Handle first level page contents
- occurrences.push(_this87.parseLemmatizedEntityOccurrence(e));
- }
- return occurrences.concat(Array.from(e.querySelectorAll(_this87.tagLemNamesMap.occurrences)).map(function (el) {
- return _this87.parseLemmatizedEntityOccurrence(el);
- }));
- }).filter(function (e) {
- return e.length > 0;
- }).reduce(function (x, y) {
- return x.concat(y);
- }, []).reduce(function (x, y) {
- var refsByDoc = x[y.ref] ? x[y.ref].refsByDoc || [] : [];
- var docRefs = refsByDoc.find(function (r) {
- return r.docId === y.docId;
- });
- if (docRefs) {
- docRefs.refs.push(y.el);
- } else {
- refsByDoc.push({
- docId: y.docId,
- refs: [y.el],
- docLabel: y.docLabel
- });
- }
- return Object.assign(Object.assign({}, x), _defineProperty({}, y.ref, {
- pageId: p.id,
- pageLabel: p.label,
- refsByDoc: refsByDoc
- }));
- }, {});
- }
- }, {
- key: "parseLemmatizedEntityOccurrence",
- value: function parseLemmatizedEntityOccurrence(xml) {
- var doc = xml.closest('text');
- var elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["GenericElemParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
- return {
- ref: xml.getAttribute('ref').replace('#', ''),
- el: elementParser.parse(xml),
- docId: doc ? doc.getAttribute('xml:id') : '',
- docLabel: doc ? doc.getAttribute('n') || doc.getAttribute('xml:id') : ''
- };
- }
- }]);
- return LemmatizedEntitiesParserService;
- }();
- LemmatizedEntitiesParserService.ɵfac = function LemmatizedEntitiesParserService_Factory(t) {
- return new (t || LemmatizedEntitiesParserService)();
- };
- LemmatizedEntitiesParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: LemmatizedEntitiesParserService,
- factory: LemmatizedEntitiesParserService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LemmatizedEntitiesParserService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "bNiN":
- /*!*******************************************************!*\
- !*** ./src/app/services/xml-parsers/basic-parsers.ts ***!
- \*******************************************************/
- /*! exports provided: EmptyParser, AttrParser, queryAndParseElements, queryAndParseElement, parseElement, GenericElemParser, GenericParser, AttributeParser, AttributeMapParser, TextParser, ParagraphParser, LBParser, NoteParser, PtrParser, VerseParser, VersesGroupParser, SuppliedParser, DamageParser, GapParser, AdditionParser, WordParser, DeletionParser, TermParser */
- /***/
- function bNiN(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EmptyParser", function () {
- return EmptyParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AttrParser", function () {
- return AttrParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "queryAndParseElements", function () {
- return queryAndParseElements;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "queryAndParseElement", function () {
- return queryAndParseElement;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "parseElement", function () {
- return parseElement;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GenericElemParser", function () {
- return GenericElemParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GenericParser", function () {
- return GenericParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AttributeParser", function () {
- return AttributeParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AttributeMapParser", function () {
- return AttributeMapParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TextParser", function () {
- return TextParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ParagraphParser", function () {
- return ParagraphParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LBParser", function () {
- return LBParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NoteParser", function () {
- return NoteParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PtrParser", function () {
- return PtrParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "VerseParser", function () {
- return VerseParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "VersesGroupParser", function () {
- return VersesGroupParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SuppliedParser", function () {
- return SuppliedParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DamageParser", function () {
- return DamageParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GapParser", function () {
- return GapParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AdditionParser", function () {
- return AdditionParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "WordParser", function () {
- return WordParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DeletionParser", function () {
- return DeletionParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TermParser", function () {
- return TermParser;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../utils/dom-utils */
- "G9+u");
- /* harmony import */
- var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../utils/xml-utils */
- "JQLQ");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var GenericElemParser_1, AttributeParser_1, AttributeMapParser_1, TextParser_1, ParagraphParser_1, LBParser_1, NoteParser_1, PtrParser_1, VerseParser_1, VersesGroupParser_1, SuppliedParser_1, DamageParser_1, GapParser_1, AdditionParser_1, WordParser_1, DeletionParser_1, TermParser_1;
- var EmptyParser = function EmptyParser(parseFn) {
- _classCallCheck(this, EmptyParser);
- this.genericParse = parseFn;
- };
- var AttrParser = /*#__PURE__*/function (_EmptyParser) {
- _inherits(AttrParser, _EmptyParser);
- var _super309 = _createSuper(AttrParser);
- function AttrParser() {
- var _this88;
- _classCallCheck(this, AttrParser);
- _this88 = _super309.apply(this, arguments);
- _this88.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, _this88.genericParse);
- return _this88;
- }
- return AttrParser;
- }(EmptyParser);
- function queryAndParseElements(xml, name) {
- var p = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get(name);
- return Array.from(xml.querySelectorAll(":scope > ".concat(name))).map(function (g) {
- return p.parse(g);
- });
- }
- function queryAndParseElement(xml, name, allAnnidationLevels) {
- var el = xml.querySelector("".concat(allAnnidationLevels ? '' : ':scope > ').concat(name));
- var p = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get(name);
- return el && p.parse(el);
- }
- function parseElement(xml) {
- var p = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get(xml.tagName);
- return xml && p.parse(xml);
- }
- var GenericElemParser = GenericElemParser_1 = /*#__PURE__*/function (_AttrParser) {
- _inherits(GenericElemParser, _AttrParser);
- var _super310 = _createSuper(GenericElemParser);
- function GenericElemParser() {
- _classCallCheck(this, GenericElemParser);
- return _super310.apply(this, arguments);
- }
- _createClass(GenericElemParser, [{
- key: "parse",
- value: function parse(xml) {
- return {
- type: Object,
- "class": Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes: this.attributeParser.parse(xml)
- };
- }
- }]);
- return GenericElemParser;
- }(AttrParser);
- GenericElemParser = GenericElemParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('evt-generic-elem-parser', GenericElemParser_1)], GenericElemParser);
- var GenericParser = /*#__PURE__*/function (_GenericElemParser) {
- _inherits(GenericParser, _GenericElemParser);
- var _super311 = _createSuper(GenericParser);
- function GenericParser() {
- var _this89;
- _classCallCheck(this, GenericParser);
- _this89 = _super311.apply(this, arguments);
- _this89.genericElemParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, _this89.genericParse);
- return _this89;
- }
- return GenericParser;
- }(GenericElemParser);
- var AttributeParser = AttributeParser_1 = /*#__PURE__*/function (_EmptyParser2) {
- _inherits(AttributeParser, _EmptyParser2);
- var _super312 = _createSuper(AttributeParser);
- function AttributeParser() {
- _classCallCheck(this, AttributeParser);
- return _super312.apply(this, arguments);
- }
- _createClass(AttributeParser, [{
- key: "parse",
- value: function parse(data) {
- return Array.from(data.attributes).map(function (_ref59) {
- var name = _ref59.name,
- value = _ref59.value;
- return _defineProperty({}, name === 'xml:id' ? 'id' : name.replace(':', '-'), value);
- }).reduce(function (x, y) {
- return Object.assign(Object.assign({}, x), y);
- }, {});
- }
- }]);
- return AttributeParser;
- }(EmptyParser);
- AttributeParser = AttributeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('evt-attribute-parser', AttributeParser_1)], AttributeParser);
- var AttributeMapParser = AttributeMapParser_1 = /*#__PURE__*/function (_EmptyParser3) {
- _inherits(AttributeMapParser, _EmptyParser3);
- var _super313 = _createSuper(AttributeMapParser);
- function AttributeMapParser() {
- _classCallCheck(this, AttributeMapParser);
- return _super313.apply(this, arguments);
- }
- _createClass(AttributeMapParser, [{
- key: "parse",
- value: function parse(xml) {
- var attributes = {};
- Array.from(xml.attributes).forEach(function (attr) {
- attributes[attr.name] = attr.value;
- });
- return attributes;
- }
- }]);
- return AttributeMapParser;
- }(EmptyParser);
- AttributeMapParser = AttributeMapParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('attribute-map-parser', AttributeMapParser_1)], AttributeMapParser);
- var TextParser = TextParser_1 = /*#__PURE__*/function () {
- function TextParser() {
- _classCallCheck(this, TextParser);
- }
- _createClass(TextParser, [{
- key: "parse",
- value: function parse(xml) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Text"],
- text: Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__["replaceMultispaces"])(xml.textContent),
- attributes: {}
- };
- }
- }]);
- return TextParser;
- }();
- TextParser = TextParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('evt-text-parser', TextParser_1)], TextParser);
- var ParagraphParser = ParagraphParser_1 = /*#__PURE__*/function (_EmptyParser4) {
- _inherits(ParagraphParser, _EmptyParser4);
- var _super314 = _createSuper(ParagraphParser);
- function ParagraphParser() {
- _classCallCheck(this, ParagraphParser);
- return _super314.apply(this, arguments);
- }
- _createClass(ParagraphParser, [{
- key: "parse",
- value: function parse(xml) {
- var attributes = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-attribute-parser').parse(xml);
- var paragraphComponent = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Paragraph"],
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes: attributes,
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.n)
- };
- return paragraphComponent;
- }
- }]);
- return ParagraphParser;
- }(EmptyParser);
- ParagraphParser = ParagraphParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('p', ParagraphParser_1)], ParagraphParser);
- var LBParser = LBParser_1 = /*#__PURE__*/function (_EmptyParser5) {
- _inherits(LBParser, _EmptyParser5);
- var _super315 = _createSuper(LBParser);
- function LBParser() {
- var _this90;
- _classCallCheck(this, LBParser);
- _this90 = _super315.apply(this, arguments);
- _this90.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, _this90.genericParse);
- return _this90;
- }
- _createClass(LBParser, [{
- key: "parse",
- value: function parse(xml) {
- var attributes = this.attributeParser.parse(xml);
- var n = attributes.n,
- rend = attributes.rend,
- facs = attributes.facs;
- return {
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(xml),
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(n),
- rend: rend,
- facs: facs,
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Lb"],
- content: [],
- attributes: attributes
- };
- }
- }]);
- return LBParser;
- }(EmptyParser);
- LBParser = LBParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('lb', LBParser_1)], LBParser);
- var NoteParser = NoteParser_1 = /*#__PURE__*/function (_EmptyParser6) {
- _inherits(NoteParser, _EmptyParser6);
- var _super316 = _createSuper(NoteParser);
- function NoteParser() {
- var _this91;
- _classCallCheck(this, NoteParser);
- _this91 = _super316.apply(this, arguments);
- _this91.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, _this91.genericParse);
- return _this91;
- }
- _createClass(NoteParser, [{
- key: "parse",
- value: function parse(xml) {
- var noteLayout = this.isFooterNote(xml) || this.isNamedEntityNote(xml) || ['person', 'place', 'app', 'msDesc', 'item'].some(function (v) {
- return Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, v);
- }) ? 'plain-text' : 'popover';
- var noteType = !xml.getAttribute('type') && Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, 'app') ? 'critical' : 'comment';
- var attributes = this.attributeParser.parse(xml);
- var noteElement = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Note"],
- noteType: noteType,
- noteLayout: noteLayout,
- exponent: attributes.n,
- path: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["xpath"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes: attributes
- };
- return noteElement;
- }
- }, {
- key: "isFooterNote",
- value: function isFooterNote(xml) {
- return Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, 'div', [{
- key: 'type',
- value: 'footer'
- }]);
- }
- }, {
- key: "isNamedEntityNote",
- value: function isNamedEntityNote(xml) {
- return Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, 'relation') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, 'event');
- }
- }]);
- return NoteParser;
- }(EmptyParser);
- NoteParser = NoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('note', NoteParser_1)], NoteParser);
- var PtrParser = PtrParser_1 = /*#__PURE__*/function (_GenericElemParser2) {
- _inherits(PtrParser, _GenericElemParser2);
- var _super317 = _createSuper(PtrParser);
- function PtrParser() {
- var _this92;
- _classCallCheck(this, PtrParser);
- _this92 = _super317.apply(this, arguments);
- _this92.noteParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(NoteParser, _this92.genericParse);
- _this92.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, _this92.genericParse);
- return _this92;
- }
- _createClass(PtrParser, [{
- key: "parse",
- value: function parse(xml) {
- if (xml.getAttribute('type') === 'noteAnchor' && xml.getAttribute('target')) {
- var noteId = xml.getAttribute('target').replace('#', '');
- var rootNode = xml.closest('TEI');
- var noteEl = rootNode.querySelector("note[*|id=\"".concat(noteId, "\"]"));
- return noteEl ? this.noteParser.parse(noteEl) : this.elementParser.parse(xml);
- }
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(PtrParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Ptr"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(xml),
- target: xml.getAttribute('target'),
- cRef: xml.getAttribute('cRef'),
- ptrType: xml.getAttribute('ptrType'),
- rend: xml.getAttribute('rend')
- });
- }
- }]);
- return PtrParser;
- }(GenericElemParser);
- PtrParser = PtrParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('ptr', PtrParser_1)], PtrParser);
- var VerseParser = VerseParser_1 = /*#__PURE__*/function (_EmptyParser7) {
- _inherits(VerseParser, _EmptyParser7);
- var _super318 = _createSuper(VerseParser);
- function VerseParser() {
- var _this93;
- _classCallCheck(this, VerseParser);
- _this93 = _super318.apply(this, arguments);
- _this93.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, _this93.genericParse);
- return _this93;
- }
- _createClass(VerseParser, [{
- key: "parse",
- value: function parse(xml) {
- var attributes = this.attributeParser.parse(xml);
- var lineComponent = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Verse"],
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes: attributes,
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.n)
- };
- return lineComponent;
- }
- }]);
- return VerseParser;
- }(EmptyParser);
- VerseParser = VerseParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('l', VerseParser_1)], VerseParser);
- var VersesGroupParser = VersesGroupParser_1 = /*#__PURE__*/function (_EmptyParser8) {
- _inherits(VersesGroupParser, _EmptyParser8);
- var _super319 = _createSuper(VersesGroupParser);
- function VersesGroupParser() {
- var _this94;
- _classCallCheck(this, VersesGroupParser);
- _this94 = _super319.apply(this, arguments);
- _this94.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, _this94.genericParse);
- return _this94;
- }
- _createClass(VersesGroupParser, [{
- key: "parse",
- value: function parse(xml) {
- var attributes = this.attributeParser.parse(xml);
- var lgComponent = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["VersesGroup"],
- "class": Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes: attributes,
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.n),
- groupType: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.type)
- };
- return lgComponent;
- }
- }]);
- return VersesGroupParser;
- }(EmptyParser);
- VersesGroupParser = VersesGroupParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('lg', VersesGroupParser_1)], VersesGroupParser);
- var SuppliedParser = SuppliedParser_1 = /*#__PURE__*/function (_EmptyParser9) {
- _inherits(SuppliedParser, _EmptyParser9);
- var _super320 = _createSuper(SuppliedParser);
- function SuppliedParser() {
- var _this95;
- _classCallCheck(this, SuppliedParser);
- _this95 = _super320.apply(this, arguments);
- _this95.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, _this95.genericParse);
- return _this95;
- }
- _createClass(SuppliedParser, [{
- key: "parse",
- value: function parse(xml) {
- var attributes = this.attributeParser.parse(xml);
- var reason = attributes.reason,
- source = attributes.source,
- resp = attributes.resp;
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Supplied"],
- reason: reason,
- source: source,
- resp: resp,
- "class": Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes: attributes
- };
- }
- }]);
- return SuppliedParser;
- }(EmptyParser);
- SuppliedParser = SuppliedParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('supplied', SuppliedParser_1)], SuppliedParser);
- var DamageParser = DamageParser_1 = /*#__PURE__*/function (_EmptyParser10) {
- _inherits(DamageParser, _EmptyParser10);
- var _super321 = _createSuper(DamageParser);
- function DamageParser() {
- var _this96;
- _classCallCheck(this, DamageParser);
- _this96 = _super321.apply(this, arguments);
- _this96.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, _this96.genericParse);
- return _this96;
- }
- _createClass(DamageParser, [{
- key: "parse",
- value: function parse(xml) {
- var _a;
- var attributes = this.attributeParser.parse(xml);
- var agent = attributes.agent,
- group = attributes.group,
- degree = attributes.degree;
- return {
- agent: agent,
- group: (_a = parseInt(group, 10)) !== null && _a !== void 0 ? _a : undefined,
- degree: degree,
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Damage"],
- "class": Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes: this.attributeParser.parse(xml)
- };
- }
- }]);
- return DamageParser;
- }(EmptyParser);
- DamageParser = DamageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('damage', DamageParser_1)], DamageParser);
- var GapParser = GapParser_1 = /*#__PURE__*/function (_EmptyParser11) {
- _inherits(GapParser, _EmptyParser11);
- var _super322 = _createSuper(GapParser);
- function GapParser() {
- var _this97;
- _classCallCheck(this, GapParser);
- _this97 = _super322.apply(this, arguments);
- _this97.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, _this97.genericParse);
- return _this97;
- }
- _createClass(GapParser, [{
- key: "parse",
- value: function parse(xml) {
- var attributes = this.attributeParser.parse(xml);
- var reason = attributes.reason,
- agent = attributes.agent,
- quantity = attributes.quantity,
- unit = attributes.unit,
- extent = attributes.extent;
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Gap"],
- reason: reason,
- agent: agent,
- quantity: quantity ? parseInt(quantity, 10) : undefined,
- unit: unit,
- extent: extent,
- "class": Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes: attributes
- };
- }
- }]);
- return GapParser;
- }(EmptyParser);
- GapParser = GapParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('gap', GapParser_1)], GapParser);
- var AdditionParser = AdditionParser_1 = /*#__PURE__*/function (_EmptyParser12) {
- _inherits(AdditionParser, _EmptyParser12);
- var _super323 = _createSuper(AdditionParser);
- function AdditionParser() {
- var _this98;
- _classCallCheck(this, AdditionParser);
- _this98 = _super323.apply(this, arguments);
- _this98.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, _this98.genericParse);
- _this98.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, _this98.genericParse);
- return _this98;
- }
- _createClass(AdditionParser, [{
- key: "parse",
- value: function parse(xml) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Addition"],
- place: xml.getAttribute('place'),
- path: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["xpath"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes: this.attributeParser.parse(xml),
- "class": xml.tagName.toLowerCase()
- };
- }
- }]);
- return AdditionParser;
- }(EmptyParser);
- AdditionParser = AdditionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('add', AdditionParser_1)], AdditionParser);
- var WordParser = WordParser_1 = /*#__PURE__*/function (_EmptyParser13) {
- _inherits(WordParser, _EmptyParser13);
- var _super324 = _createSuper(WordParser);
- function WordParser() {
- var _this99;
- _classCallCheck(this, WordParser);
- _this99 = _super324.apply(this, arguments);
- _this99.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, _this99.genericParse);
- return _this99;
- }
- _createClass(WordParser, [{
- key: "parse",
- value: function parse(xml) {
- var attributes = this.attributeParser.parse(xml);
- var lemma = attributes.lemma;
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Word"],
- lemma: lemma,
- "class": Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes: this.attributeParser.parse(xml)
- };
- }
- }]);
- return WordParser;
- }(EmptyParser);
- WordParser = WordParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('w', WordParser_1)], WordParser);
- var DeletionParser = DeletionParser_1 = /*#__PURE__*/function (_EmptyParser14) {
- _inherits(DeletionParser, _EmptyParser14);
- var _super325 = _createSuper(DeletionParser);
- function DeletionParser() {
- var _this100;
- _classCallCheck(this, DeletionParser);
- _this100 = _super325.apply(this, arguments);
- _this100.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, _this100.genericParse);
- _this100.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, _this100.genericParse);
- return _this100;
- }
- _createClass(DeletionParser, [{
- key: "parse",
- value: function parse(xml) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Deletion"],
- rend: xml.getAttribute('rend'),
- path: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["xpath"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes: this.attributeParser.parse(xml),
- "class": xml.tagName.toLowerCase()
- };
- }
- }]);
- return DeletionParser;
- }(EmptyParser);
- DeletionParser = DeletionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('del', DeletionParser_1)], DeletionParser);
- var TermParser = TermParser_1 = /*#__PURE__*/function (_GenericElemParser3) {
- _inherits(TermParser, _GenericElemParser3);
- var _super326 = _createSuper(TermParser);
- function TermParser() {
- _classCallCheck(this, TermParser);
- return _super326.apply(this, arguments);
- }
- _createClass(TermParser, [{
- key: "parse",
- value: function parse(xml) {
- return Object.assign(Object.assign({}, _get(_getPrototypeOf(TermParser.prototype), "parse", this).call(this, xml)), {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Term"],
- id: xml.getAttribute('xml:id'),
- ref: xml.getAttribute('ref'),
- rend: xml.getAttribute('rend')
- });
- }
- }]);
- return TermParser;
- }(GenericElemParser);
- TermParser = TermParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('term', TermParser_1)], TermParser);
- /***/
- },
- /***/
- "d25s":
- /*!********************************************************!*\
- !*** ./src/app/services/component-register.service.ts ***!
- \********************************************************/
- /*! exports provided: register, ComponentRegisterService */
- /***/
- function d25s(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "register", function () {
- return register;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ComponentRegisterService", function () {
- return ComponentRegisterService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL"); // tslint:disable-next-line: no-any
- var COMPONENT_MAP = {}; // tslint:disable-next-line: no-any
- function register(dataType) {
- // tslint:disable-next-line: no-any
- return function (cls) {
- COMPONENT_MAP[dataType.name] = cls;
- };
- }
- var ComponentRegisterService = /*#__PURE__*/function () {
- function ComponentRegisterService() {
- _classCallCheck(this, ComponentRegisterService);
- }
- _createClass(ComponentRegisterService, [{
- key: "getComponent",
- // tslint:disable-next-line: no-any
- value: function getComponent(dataType) {
- return COMPONENT_MAP[dataType.name];
- }
- }]);
- return ComponentRegisterService;
- }();
- ComponentRegisterService.ɵfac = function ComponentRegisterService_Factory(t) {
- return new (t || ComponentRegisterService)();
- };
- ComponentRegisterService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: ComponentRegisterService,
- factory: ComponentRegisterService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ComponentRegisterService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "du+M":
- /*!*************************************************************************!*\
- !*** ./src/app/components/apparatus-entry/apparatus-entry.component.ts ***!
- \*************************************************************************/
- /*! exports provided: ApparatusEntryComponent */
- /***/
- function duM(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ApparatusEntryComponent", function () {
- return ApparatusEntryComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./apparatus-entry-detail/apparatus-entry-detail.component */
- "xZzZ");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _reading_reading_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../reading/reading.component */
- "QgGR");
- function ApparatusEntryComponent_span_0_evt_reading_2_Template(rf, ctx) {
- if (rf & 1) {
- var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-reading", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function ApparatusEntryComponent_span_0_evt_reading_2_Template_evt_reading_click_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r4);
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r3.toggleAppEntryBox($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r1.data.lemma);
- }
- }
- function ApparatusEntryComponent_span_0_evt_apparatus_entry_detail_3_Template(rf, ctx) {
- if (rf & 1) {
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-apparatus-entry-detail", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function ApparatusEntryComponent_span_0_evt_apparatus_entry_detail_3_Template_evt_apparatus_entry_detail_click_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6);
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r5.stopPropagation($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data);
- }
- }
- var _c0 = function _c0(a0) {
- return {
- "app-detail-opened": a0
- };
- };
- function ApparatusEntryComponent_span_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryComponent_span_0_evt_reading_2_Template, 1, 1, "evt-reading", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, ApparatusEntryComponent_span_0_evt_apparatus_entry_detail_3_Template, 1, 1, "evt-apparatus-entry-detail", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](6, _c0, ctx_r0.opened));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-variance", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 4, ctx_r0.variance$));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data == null ? null : ctx_r0.data.lemma);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx_r0.data == null ? null : ctx_r0.data.lemma) && ctx_r0.opened);
- }
- }
- var ApparatusEntryComponent = /*#__PURE__*/function () {
- function ApparatusEntryComponent(evtModelService, parentDetailComponent) {
- var _this101 = this;
- _classCallCheck(this, ApparatusEntryComponent);
- this.evtModelService = evtModelService;
- this.parentDetailComponent = parentDetailComponent;
- this.opened = false;
- this.nestedApps = [];
- this.variance$ = this.evtModelService.appVariance$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (variances) {
- return variances[_this101.data.id];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.isInsideAppDetail = this.parentDetailComponent ? true : false;
- }
- _createClass(ApparatusEntryComponent, [{
- key: "toggleAppEntryBox",
- value: function toggleAppEntryBox(e) {
- e.stopPropagation();
- this.opened = !this.opened;
- }
- }, {
- key: "closeAppEntryBox",
- value: function closeAppEntryBox() {
- this.opened = false;
- }
- }, {
- key: "stopPropagation",
- value: function stopPropagation(e) {
- e.stopPropagation();
- }
- }]);
- return ApparatusEntryComponent;
- }();
- ApparatusEntryComponent.ɵfac = function ApparatusEntryComponent_Factory(t) {
- return new (t || ApparatusEntryComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["ApparatusEntryDetailComponent"], 8));
- };
- ApparatusEntryComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: ApparatusEntryComponent,
- selectors: [["evt-apparatus-entry"]],
- inputs: {
- data: "data"
- },
- decls: 1,
- vars: 1,
- consts: [["class", "app-entry", 3, "ngClass", 4, "ngIf"], [1, "app-entry", 3, "ngClass"], ["class", "app-entry-lem", 3, "data", "click", 4, "ngIf"], [3, "data", "click", 4, "ngIf"], [1, "app-entry-lem", 3, "data", "click"], [3, "data", "click"]],
- template: function ApparatusEntryComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ApparatusEntryComponent_span_0_Template, 4, 8, "span", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.isInsideAppDetail);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgClass"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_8__["ReadingComponent"], _apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["ApparatusEntryDetailComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]],
- styles: [".app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%] {\n position: relative;\n z-index: 1;\n padding-bottom: 0.313rem;\n}\n[data-theme=restore][_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-bottom: 0;\n}\n[data-theme=neutral][_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-bottom: 0;\n}\n[data-theme=modern][_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-bottom: 0;\n}\n[data-theme=classic][_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-entry.app-detail-opened[_ngcontent-%COMP%] > .app-entry-lem[_ngcontent-%COMP%] {\n border: 1px solid rgba(0, 0, 0, 0.125);\n border-bottom: 0;\n}\n.app-entry-lem[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n[data-theme=restore][_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-entry-lem[_ngcontent-%COMP%] {\n background-color: #ccc;\n}\n[data-theme=neutral][_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-entry-lem[_ngcontent-%COMP%] {\n background-color: #ccc;\n}\n[data-theme=modern][_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-entry-lem[_ngcontent-%COMP%] {\n background-color: #ccc;\n}\n[data-theme=classic][_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-entry-lem[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-entry-lem[_ngcontent-%COMP%] {\n background-color: #ccc;\n}\n.app-entry-lem[_ngcontent-%COMP%] .app-entry-lem[_ngcontent-%COMP%] {\n background-color: gray;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2FwcGFyYXR1cy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0aGVtZS1uYW1lXCJgIGF0dHJpYnV0ZVxuLy8gYW5kIGVtYm9keSBldmVyeSBDU1MgcnVsZSB0aGF0IG5lZWRzIHRvIGJlIHRoZW1pZmllZCB3aXRoaW4gdGhlIG1peGluOlxuLy8gYGBgXG4vLyAgYnRuLXByaW1hcnkge1xuICAgIC8vICBAaW5jbHVkZSB0aGVtaWZ5U2VsZigkdGhlbWVzKSB7XG4gICAgICAgIC8vICBjb2xvcjogdGhlbWVkKCdiYXNlQ29sb3JEYXJrJyk7XG4gICAgLy8gIH1cbi8vICB9XG4vLyBgYGBcbkBtaXhpbiB0aGVtaWZ5U2VsZigkdGhlbWVzOiAkdGhlbWVzKSB7XG4gICAgQGVhY2ggJHRoZW1lLCAkbWFwIGluICR0aGVtZXMge1xuICAgICAgICAgJltkYXRhLXRoZW1lPVwiI3skdGhlbWV9XCJdIHtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6ICgpICFnbG9iYWw7XG4gICAgICAgICAgICBAZWFjaCAka2V5LCAkc3VibWFwIGluICRtYXAge1xuICAgICAgICAgICAgICAgICR2YWx1ZTogbWFwLWdldChtYXAtZ2V0KCR0aGVtZXMsICR0aGVtZSksICcjeyRrZXl9Jyk7XG4gICAgICAgICAgICAgICAgJHRoZW1lLW1hcDogbWFwLW1lcmdlKCR0aGVtZS1tYXAsICgka2V5OiAkdmFsdWUpKSAhZ2xvYmFsO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgQGNvbnRlbnQ7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiBudWxsICFnbG9iYWw7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBmdW5jdGlvbiB0aGVtZWQoJGtleSkge1xuICAgIEByZXR1cm4gbWFwLWdldCgkdGhlbWUtbWFwLCAka2V5KTtcbn1cblxuIl19 */"],
- changeDetection: 0
- });
- ApparatusEntryComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["ApparatusEntry"])], ApparatusEntryComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ApparatusEntryComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-apparatus-entry',
- templateUrl: './apparatus-entry.component.html',
- styleUrls: ['./apparatus-entry.component.scss'],
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]
- }, {
- type: _apparatus_entry_detail_apparatus_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["ApparatusEntryDetailComponent"],
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Optional"]
- }]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "etwH":
- /*!***********************************************************************************************************!*\
- !*** ./src/app/components/apparatus-entry/apparatus-entry-readings/apparatus-entry-readings.component.ts ***!
- \***********************************************************************************************************/
- /*! exports provided: ApparatusEntryReadingsComponent */
- /***/
- function etwH(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ApparatusEntryReadingsComponent", function () {
- return ApparatusEntryReadingsComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! src/app/services/component-register.service */
- "d25s");
- /* harmony import */
- var src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! src/app/services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _reading_reading_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../reading/reading.component */
- "QgGR");
- var ApparatusEntryReadingsComponent_1;
- function ApparatusEntryReadingsComponent_evt_reading_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 4);
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r0.data.lemma);
- }
- }
- function ApparatusEntryReadingsComponent_ng_container_2_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- var _c0 = function _c0(a0) {
- return {
- rdgHasCounter: a0
- };
- };
- function ApparatusEntryReadingsComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryReadingsComponent_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", ctx_r1.template)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r1.rdgHasCounter));
- }
- }
- function ApparatusEntryReadingsComponent_ng_container_3_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var witID_r6 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", witID_r6, "");
- }
- }
- function ApparatusEntryReadingsComponent_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryReadingsComponent_ng_container_3_span_1_Template, 2, 1, "span", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.lemma.witIDs);
- }
- }
- function ApparatusEntryReadingsComponent_span_6_evt_reading_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 4);
- }
- if (rf & 2) {
- var el_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", el_r7);
- }
- }
- function ApparatusEntryReadingsComponent_span_6_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "omit.");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function ApparatusEntryReadingsComponent_span_6_ng_container_3_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var wit_r14 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", wit_r14, " ");
- }
- }
- function ApparatusEntryReadingsComponent_span_6_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryReadingsComponent_span_6_ng_container_3_span_1_Template, 2, 1, "span", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var witID_r12 = ctx.$implicit;
- var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r10.getWits$(witID_r12)));
- }
- }
- function ApparatusEntryReadingsComponent_span_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryReadingsComponent_span_6_evt_reading_1_Template, 1, 1, "evt-reading", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryReadingsComponent_span_6_span_2_Template, 2, 0, "span", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, ApparatusEntryReadingsComponent_span_6_ng_container_3_Template, 3, 3, "ng-container", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var el_r7 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", el_r7.content.length !== 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", el_r7.content.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", el_r7.witIDs);
- }
- }
- var ApparatusEntryReadingsComponent = ApparatusEntryReadingsComponent_1 = /*#__PURE__*/function () {
- function ApparatusEntryReadingsComponent(evtModelService) {
- _classCallCheck(this, ApparatusEntryReadingsComponent);
- this.evtModelService = evtModelService;
- this.groups$ = this.evtModelService.groups$;
- }
- _createClass(ApparatusEntryReadingsComponent, [{
- key: "getWits$",
- value: function getWits$(witID) {
- return this.groups$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (groups) {
- return groups.filter(function (g) {
- return g.id === witID;
- }).map(function (g) {
- return g.witnesses;
- }).reduce(function (x, y) {
- return [].concat(_toConsumableArray(x), _toConsumableArray(y));
- }, []);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (groupWits) {
- return groupWits.length > 0 ? groupWits : [witID];
- }));
- }
- }, {
- key: "significantRdg",
- get: function get() {
- return this.data.readings.filter(function (rdg) {
- return rdg.significant;
- });
- }
- }]);
- return ApparatusEntryReadingsComponent;
- }();
- ApparatusEntryReadingsComponent.ɵfac = function ApparatusEntryReadingsComponent_Factory(t) {
- return new (t || ApparatusEntryReadingsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"]));
- };
- ApparatusEntryReadingsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: ApparatusEntryReadingsComponent,
- selectors: [["evt-apparatus-entry-readings"]],
- inputs: {
- data: "data",
- rdgHasCounter: "rdgHasCounter",
- template: "template"
- },
- decls: 7,
- vars: 4,
- consts: [[1, "app-entry-reading"], [3, "data", 4, "ngIf"], [4, "ngIf"], ["class", "app-entry-reading", 4, "ngFor", "ngForOf"], [3, "data"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [4, "ngFor", "ngForOf"], ["class", "font-italic", 4, "ngIf"], [1, "font-italic"], ["class", "font-italic", 4, "ngFor", "ngForOf"]],
- template: function ApparatusEntryReadingsComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryReadingsComponent_evt_reading_1_Template, 1, 1, "evt-reading", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryReadingsComponent_ng_container_2_Template, 2, 4, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, ApparatusEntryReadingsComponent_ng_container_3_Template, 2, 1, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5, "] ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, ApparatusEntryReadingsComponent_span_6_Template, 4, 3, "span", 3);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedAppsIDs.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedAppsIDs.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.lemma.content.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.significantRdg);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_6__["ReadingComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgTemplateOutlet"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"]],
- styles: [".app-entry-reading[_ngcontent-%COMP%] {\n display: inline-block;\n padding-right: 0.5rem;\n line-height: 1;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2FwcGFyYXR1cy1lbnRyeS1yZWFkaW5ncy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLHFCQUFBO0VBQ0EscUJBQUE7RUFDQSxjQUFBO0FBQ0oiLCJmaWxlIjoiYXBwYXJhdHVzLWVudHJ5LXJlYWRpbmdzLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmFwcC1lbnRyeS1yZWFkaW5nIHtcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgcGFkZGluZy1yaWdodDogMC41cmVtO1xuICAgIGxpbmUtaGVpZ2h0OiAxO1xufSJdfQ== */"],
- changeDetection: 0
- });
- ApparatusEntryReadingsComponent = ApparatusEntryReadingsComponent_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(ApparatusEntryReadingsComponent_1)], ApparatusEntryReadingsComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ApparatusEntryReadingsComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-apparatus-entry-readings',
- templateUrl: './apparatus-entry-readings.component.html',
- styleUrls: ['./apparatus-entry-readings.component.scss'],
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush
- }]
- }], function () {
- return [{
- type: src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- rdgHasCounter: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- template: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "fBFu":
- /*!***********************************************************!*\
- !*** ./src/app/components/supplied/supplied.component.ts ***!
- \***********************************************************/
- /*! exports provided: SuppliedComponent */
- /***/
- function fBFu(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SuppliedComponent", function () {
- return SuppliedComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! src/app/models/evt-models */
- "5c0l");
- /* harmony import */
- var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! src/app/services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function SuppliedComponent_span_0_evt_content_viewer_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
- }
- if (rf & 2) {
- var element_r2 = ctx.$implicit;
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r2)("editionLevel", ctx_r1.editionLevel)("itemsToHighlight", ctx_r1.itemsToHighlight);
- }
- }
- function SuppliedComponent_span_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, "[");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, SuppliedComponent_span_0_evt_content_viewer_2_Template, 1, 3, "evt-content-viewer", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3, "]");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx_r0.data["class"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbPopover", ctx_r0.data == null ? null : ctx_r0.data.reason)("openDelay", 500);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-reason", (ctx_r0.data == null ? null : ctx_r0.data.reason) || "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.content);
- }
- }
- var SuppliedComponent = function SuppliedComponent() {
- _classCallCheck(this, SuppliedComponent);
- };
- SuppliedComponent.ɵfac = function SuppliedComponent_Factory(t) {
- return new (t || SuppliedComponent)();
- };
- SuppliedComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: SuppliedComponent,
- selectors: [["evt-supplied"]],
- inputs: {
- data: "data"
- },
- decls: 1,
- vars: 1,
- consts: [["triggers", "mouseenter:mouseleave", 3, "class", "ngbPopover", "openDelay", 4, "ngIf"], ["triggers", "mouseenter:mouseleave", 3, "ngbPopover", "openDelay"], [3, "content", "editionLevel", "itemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight"]],
- template: function SuppliedComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, SuppliedComponent_span_0_Template, 4, 7, "span", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.editionLevel !== "diplomatic");
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbPopover"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzdXBwbGllZC5jb21wb25lbnQuc2NzcyJ9 */"]
- });
- SuppliedComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Supplied"])], SuppliedComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SuppliedComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-supplied',
- templateUrl: './supplied.component.html',
- styleUrls: ['./supplied.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "fBrD":
- /*!*************************************************!*\
- !*** ./src/app/components/sic/sic.component.ts ***!
- \*************************************************/
- /*! exports provided: SicComponent */
- /***/
- function fBrD(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SicComponent", function () {
- return SicComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../directives/highlight.directive */
- "CmGG");
- /* harmony import */
- var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../directives/editorial-convention-layout.directive */
- "FJNG");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function SicComponent_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var element_r1 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight);
- }
- }
- var SicComponent = /*#__PURE__*/function () {
- function SicComponent() {
- _classCallCheck(this, SicComponent);
- }
- _createClass(SicComponent, [{
- key: "editorialConventionData",
- get: function get() {
- var _a;
- return {
- name: 'sic',
- attributes: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.attributes) || {},
- editionLevel: this.editionLevel,
- defaultsKey: this.defaultsKey
- };
- }
- }, {
- key: "defaultsKey",
- get: function get() {
- switch (this.data.sicType) {
- case 'crux':
- return 'sicCrux';
- }
- }
- }]);
- return SicComponent;
- }();
- SicComponent.ɵfac = function SicComponent_Factory(t) {
- return new (t || SicComponent)();
- };
- SicComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: SicComponent,
- selectors: [["evt-sic"]],
- inputs: {
- data: "data"
- },
- decls: 2,
- vars: 6,
- consts: [[3, "evtHighlight", "evtEditorialConventionLayout"], [3, "content", "editionLevel", "itemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight"]],
- template: function SicComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, SicComponent_evt_content_viewer_1_Template, 1, 3, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx.data["class"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHighlight", ctx.highlightData)("evtEditorialConventionLayout", ctx.editorialConventionData);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_directives_highlight_directive__WEBPACK_IMPORTED_MODULE_4__["HighlightDirective"], _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_5__["EditorialConventionLayoutDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_7__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzaWMuY29tcG9uZW50LnNjc3MifQ== */"]
- });
- SicComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Sic"])], SicComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SicComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-sic',
- templateUrl: './sic.component.html',
- styleUrls: ['./sic.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "fqbd":
- /*!**********************************************!*\
- !*** ./src/app/pinboard/pinboard.service.ts ***!
- \**********************************************/
- /*! exports provided: PinboardService */
- /***/
- function fqbd(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PinboardService", function () {
- return PinboardService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- var PinboardService = /*#__PURE__*/function () {
- function PinboardService() {
- _classCallCheck(this, PinboardService);
- this.items$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]({});
- }
- /**
- * @todo Handle Groups of similar elements
- * @todo Handle page/document/edition reference
- * @todo Handle saving in local storage and retrieving from it on loading
- */
- _createClass(PinboardService, [{
- key: "toggleItem",
- value: function toggleItem(item, additionalData) {
- var itemId = item.id || item.path;
- var items = this.items$.getValue();
- if (items[itemId]) {
- delete items[itemId];
- } else {
- items[itemId] = Object.assign(Object.assign({}, item), {
- renderer: additionalData.renderer,
- pinType: additionalData.pinType || 'GenericPin',
- pinDate: item.pinDate ? item.pinDate : new Date()
- });
- }
- this.items$.next(items);
- }
- }, {
- key: "isItemPinned",
- value: function isItemPinned(item) {
- var itemId = item.id || item.path;
- var items = this.items$.getValue();
- return items[itemId];
- } // tslint:disable-next-line: no-any
- }, {
- key: "getItems",
- value: function getItems(types) {
- return this.items$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (items) {
- var itemsArray = Array.from(Object.keys(items), function (key) {
- return items[key];
- });
- if (types && types.length > 0) {
- itemsArray = itemsArray.filter(function (item) {
- return item.pinType && types.indexOf(item.pinType) >= 0;
- });
- }
- return itemsArray;
- }));
- }
- }]);
- return PinboardService;
- }();
- PinboardService.ɵfac = function PinboardService_Factory(t) {
- return new (t || PinboardService)();
- };
- PinboardService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: PinboardService,
- factory: PinboardService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PinboardService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "ft15":
- /*!**************************************************!*\
- !*** ./src/app/services/edition-data.service.ts ***!
- \**************************************************/
- /*! exports provided: EditionDataService */
- /***/
- function ft15(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EditionDataService", function () {
- return EditionDataService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../app.config */
- "aR35");
- /* harmony import */
- var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../utils/xml-utils */
- "JQLQ");
- /* harmony import */
- var _angular_common_http__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common/http */
- "tk/3");
- var EditionDataService = /*#__PURE__*/function () {
- function EditionDataService(http) {
- _classCallCheck(this, EditionDataService);
- this.http = http;
- this.editionUrls = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.files.editionUrls || [];
- this.parsedEditionSource$ = this.loadAndParseEditionData();
- }
- _createClass(EditionDataService, [{
- key: "loadAndParseEditionData",
- value: function loadAndParseEditionData() {
- var _this102 = this;
- var editionUrl = this.editionUrls[0];
- return this.http.get(editionUrl, {
- responseType: 'text'
- }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__["parseXml"])(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["mergeMap"])(function (editionData) {
- return _this102.loadXIinclude(editionData, editionUrl.substring(0, editionUrl.lastIndexOf('/') + 1));
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["publishReplay"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["refCount"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(function () {
- return _this102.handleLoadingError();
- }));
- }
- }, {
- key: "loadXIinclude",
- value: function loadXIinclude(doc, baseUrlPath) {
- var _this103 = this;
-
- var parametro2 = document.location.href;
- var parametro3 = parametro2.split("p=")[1].split("_")[0];
-
- var parametro = '[href="lettere/' + parametro3 + '.xml"]'; //const filesToInclude = Array.from(doc.getElementsByTagName('xi:include'));
- var filesToInclude = Array.from(doc.querySelectorAll(parametro));
- var xiIncludeLoadsSubs = filesToInclude.map(function (element) {
- return _this103.http.get(baseUrlPath + element.getAttribute('href'), {
- responseType: 'text'
- }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])(function (fileData) {
- var includedDoc = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__["parseXml"])(fileData);
- var fileXpointer = element.getAttribute('xpointer');
- var includedTextElem;
- if (fileXpointer) {
- includedTextElem = doc.querySelector("[*|id=\"".concat(fileXpointer, "\"]")) || includedDoc.querySelector('text');
- } else {
- includedTextElem = includedDoc.querySelector('text');
- } // element.parentNode.replaceChild(includedTextElem, element);
- element.parentNode.appendChild(includedTextElem);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])(function (_) {
- Array.from(element.getElementsByTagName('xi:fallback')).map(function (el) {
- var divEl = document.createElement('div');
- divEl.classList.add('xiinclude-fallback');
- divEl.setAttribute('xml:id', element.getAttribute('xpointer'));
- divEl.innerHTML = "<p>".concat(el.innerHTML, "</p>");
- return divEl;
- }).forEach(function (el) {
- return element.parentNode.replaceChild(el, element);
- });
- return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(doc);
- }));
- });
- if (xiIncludeLoadsSubs.length > 0) {
- return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["forkJoin"])(xiIncludeLoadsSubs).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function () {
- return doc;
- }));
- }
- return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(doc);
- }
- }, {
- key: "handleLoadingError",
- value: function handleLoadingError() {
- // TODO: TEMP
- var errorEl = document.createElement('div');
- if (!this.editionUrls || this.editionUrls.length === 0) {
- errorEl.textContent = 'Missing configuration for edition files. Data cannot be loaded.';
- } else {
- errorEl.textContent = 'There was an error in loading edition files.';
- }
- return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(errorEl);
- }
- }]);
- return EditionDataService;
- }();
- EditionDataService.ɵfac = function EditionDataService_Factory(t) {
- return new (t || EditionDataService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_5__["HttpClient"]));
- };
- EditionDataService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: EditionDataService,
- factory: EditionDataService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EditionDataService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: _angular_common_http__WEBPACK_IMPORTED_MODULE_5__["HttpClient"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "fvJq":
- /*!*************************************************************!*\
- !*** ./src/app/components/file-desc/file-desc.component.ts ***!
- \*************************************************************/
- /*! exports provided: FileDescComponent */
- /***/
- function fvJq(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "FileDescComponent", function () {
- return FileDescComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! src/app/models/evt-models */
- "5c0l");
- /* harmony import */
- var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! src/app/services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../ui-components/header-section/header-section.component */
- "iRdJ");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function FileDescComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function FileDescComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function FileDescComponent_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function FileDescComponent_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function FileDescComponent_ng_container_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function FileDescComponent_ng_container_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function FileDescComponent_ng_container_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function FileDescComponent_ng_template_8_ng_container_0_h4_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "h4");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- var class_r11 = ctx_r14["class"];
- var label_r9 = ctx_r14.label;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("main-section-title ", class_r11, "-title");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 4, label_r9));
- }
- }
- function FileDescComponent_ng_template_8_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, FileDescComponent_ng_template_8_ng_container_0_h4_1_Template, 3, 6, "h4", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "evt-header-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var label_r9 = ctx_r15.label;
- var class_r11 = ctx_r15["class"];
- var content_r10 = ctx_r15.content;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", label_r9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("additionalClass", class_r11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", content_r10);
- }
- }
- function FileDescComponent_ng_template_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, FileDescComponent_ng_template_8_ng_container_0_Template, 5, 3, "ng-container", 3);
- }
- if (rf & 2) {
- var content_r10 = ctx.content;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", content_r10);
- }
- }
- var _c0 = function _c0(a1) {
- return {
- label: "",
- content: a1,
- "class": "titleStmt"
- };
- };
- var _c1 = function _c1(a1) {
- return {
- label: "editionStatement",
- content: a1,
- "class": "editionStmt"
- };
- };
- var _c2 = function _c2(a1) {
- return {
- label: "extent",
- content: a1,
- "class": "extent"
- };
- };
- var _c3 = function _c3(a1) {
- return {
- label: "publicationStatement",
- content: a1,
- "class": "publicationStmt"
- };
- };
- var _c4 = function _c4(a1) {
- return {
- label: "seriesStatement",
- content: a1,
- "class": "seriesStmt"
- };
- };
- var _c5 = function _c5(a1) {
- return {
- label: "notesStatement",
- content: a1,
- "class": "notesStmt"
- };
- };
- var _c6 = function _c6(a1) {
- return {
- label: "sourceDesc",
- content: a1,
- "class": "sourceDesc"
- };
- };
- var FileDescComponent = function FileDescComponent() {
- _classCallCheck(this, FileDescComponent);
- };
- FileDescComponent.ɵfac = function FileDescComponent_Factory(t) {
- return new (t || FileDescComponent)();
- };
- FileDescComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: FileDescComponent,
- selectors: [["evt-file-desc"]],
- inputs: {
- data: "data"
- },
- decls: 10,
- vars: 28,
- consts: [[1, "fileDesc"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["section", ""], [4, "ngIf"], [3, "class", 4, "ngIf"], [3, "additionalClass"], ["content", ""], [3, "content"]],
- template: function FileDescComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, FileDescComponent_ng_container_1_Template, 1, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, FileDescComponent_ng_container_2_Template, 1, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, FileDescComponent_ng_container_3_Template, 1, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, FileDescComponent_ng_container_4_Template, 1, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, FileDescComponent_ng_container_5_Template, 1, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, FileDescComponent_ng_container_6_Template, 1, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, FileDescComponent_ng_container_7_Template, 1, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, FileDescComponent_ng_template_8_Template, 1, 1, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- var _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](14, _c0, ctx.data == null ? null : ctx.data.titleStmt));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](16, _c1, ctx.data == null ? null : ctx.data.editionStmt));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](18, _c2, ctx.data == null ? null : ctx.data.extent));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](20, _c3, ctx.data == null ? null : ctx.data.publicationStmt));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](22, _c4, ctx.data == null ? null : ctx.data.seriesStmt));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](24, _c5, ctx.data == null ? null : ctx.data.notesStmt));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r7)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](26, _c6, ctx.data == null ? null : ctx.data.sourceDesc));
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__["HeaderSectionComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"]],
- styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n\n .fileDesc .sourceDesc-title {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n\n .fileDesc .sourceDesc .section.underline-dotted {\n border-bottom: none !important;\n}\n\n .fileDesc .extent .section-label {\n display: none !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2ZpbGUtZGVzYy5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQzJGRSw4QkFBQTtFQUNBLGtCQUFBO0VBQ0Esd0JBQUE7RUFDQSxXQUFBO0VBQ0EsaUJBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxnQkFBQTtBRDNGRjs7QUFGSTtFQ3NGRiw4QkFBQTtFQUNBLGtCQUFBO0VBQ0Esd0JBQUE7RUFDQSxXQUFBO0VBQ0EsaUJBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxnQkFBQTtBRGhGRjs7QUFUSTtFQUNJLDhCQUFBO0FBV1I7O0FBUkk7RUFDSSx3QkFBQTtBQVVSIiwiZmlsZSI6ImZpbGUtZGVzYy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnNcIjtcblxuLm1haW4tc2VjdGlvbi10aXRsZSB7XG4gICAgQGluY2x1ZGUgaGVhZGVyU2VjdGlvblRpdGxlKCk7XG59XG5cbjo6bmctZGVlcCAuZmlsZURlc2Mge1xuICAgIC5zb3VyY2VEZXNjLXRpdGxlIHtcbiAgICAgICAgQGluY2x1ZGUgaGVhZGVyU2VjdGlvblRpdGxlKCk7XG4gICAgf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iA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"]
- });
- FileDescComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["FileDesc"])], FileDescComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FileDescComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-file-desc',
- templateUrl: './file-desc.component.html',
- styleUrls: ['./file-desc.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "g5nV":
- /*!*************************************************************************!*\
- !*** ./src/app/components/entities-select/entities-select.component.ts ***!
- \*************************************************************************/
- /*! exports provided: EntitiesSelectComponent */
- /***/
- function g5nV(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EntitiesSelectComponent", function () {
- return EntitiesSelectComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../../app.config */
- "aR35");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @ng-select/ng-select */
- "ZOsW");
- /* harmony import */
- var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/forms */
- "3Pt+");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function EntitiesSelectComponent_ng_container_0_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- var _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "input", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function EntitiesSelectComponent_ng_container_0_ng_template_3_Template_input_click_2_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r5);
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- return ctx_r4.toggleSelection();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "label", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("checked", (ctx_r1.selectedTypes == null ? null : ctx_r1.selectedTypes.length) === ctx_r1.entitiesTypes.length);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 2, "selectAll"));
- }
- }
- function EntitiesSelectComponent_ng_container_0_ng_template_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "input", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r6 = ctx.item;
- var item$_r7 = ctx.item$;
- var index_r8 = ctx.index;
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("id", "item-", index_r8, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngModel", item$_r7.selected);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r6.color);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r2.iconColor);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 6, item_r6.label));
- }
- }
- function EntitiesSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-icon", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "span", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function EntitiesSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template_span_click_4_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r18);
- var item_r15 = ctx.$implicit;
- var clear_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).clear;
- return clear_r11(item_r15);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\xD7");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r15 = ctx.$implicit;
- var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("color", item_r15.color);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r14.iconColor);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r15.label);
- }
- }
- function EntitiesSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, EntitiesSelectComponent_ng_container_0_ng_template_5_ng_container_0_div_1_Template, 6, 4, "div", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "slice");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind3"](2, 1, items_r10, 0, 1));
- }
- }
- function EntitiesSelectComponent_ng_container_0_ng_template_5_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var items_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().items;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", items_r10.length, " ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, "selected"), "");
- }
- }
- function EntitiesSelectComponent_ng_container_0_ng_template_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, EntitiesSelectComponent_ng_container_0_ng_template_5_ng_container_0_Template, 3, 5, "ng-container", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, EntitiesSelectComponent_ng_container_0_ng_template_5_div_1_Template, 4, 4, "div", 12);
- }
- if (rf & 2) {
- var items_r10 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length === 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", items_r10.length > 1);
- }
- }
- function EntitiesSelectComponent_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- var _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "ng-select", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngModelChange", function EntitiesSelectComponent_ng_container_0_Template_ng_select_ngModelChange_1_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22);
- var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r21.selectedTypes = $event;
- })("change", function EntitiesSelectComponent_ng_container_0_Template_ng_select_change_1_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r22);
- var ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r23.updateSelectedTypes($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, EntitiesSelectComponent_ng_container_0_ng_template_3_Template, 6, 4, "ng-template", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, EntitiesSelectComponent_ng_container_0_ng_template_4_Template, 5, 8, "ng-template", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, EntitiesSelectComponent_ng_container_0_ng_template_5_Template, 2, 2, "ng-template", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("items", ctx_r0.entitiesTypes)("multiple", true)("closeOnSelect", false)("searchable", false)("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 7, "selectItems"))("ngModel", ctx_r0.selectedTypes)("disabled", ctx_r0.entitiesTypes.length === 0);
- }
- }
- var EntitiesSelectComponent = /*#__PURE__*/function () {
- function EntitiesSelectComponent() {
- _classCallCheck(this, EntitiesSelectComponent);
- this.selectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.entitiesTypes = (_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.entitiesSelectItems || []).filter(function (g) {
- return !g.disabled;
- }).reduce(function (x, y) {
- return [].concat(_toConsumableArray(x), _toConsumableArray(y.items.filter(function (i) {
- return !i.disabled;
- }).map(function (i) {
- return Object.assign(Object.assign({}, i), {
- group: y.label
- });
- })));
- }, []);
- this.iconColor = {
- icon: 'circle',
- iconSet: 'fas',
- additionalClasses: 'ml-2 mr-1'
- };
- this.selectedTypes = [];
- }
- _createClass(EntitiesSelectComponent, [{
- key: "updateSelectedTypes",
- value: function updateSelectedTypes(entitiesTypes) {
- if (Array.isArray(entitiesTypes)) {
- // BUGFIX: There is a bug in ng-select change event and second time the parameter is an event
- this.selectionChange.emit(entitiesTypes);
- }
- }
- }, {
- key: "toggleSelection",
- value: function toggleSelection() {
- if (this.selectedTypes.length < this.entitiesTypes.length) {
- this.selectedTypes = this.entitiesTypes;
- } else {
- this.selectedTypes = [];
- }
- this.selectionChange.emit(this.selectedTypes);
- }
- }]);
- return EntitiesSelectComponent;
- }();
- EntitiesSelectComponent.ɵfac = function EntitiesSelectComponent_Factory(t) {
- return new (t || EntitiesSelectComponent)();
- };
- EntitiesSelectComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: EntitiesSelectComponent,
- selectors: [["evt-entities-select"]],
- outputs: {
- selectionChange: "selectionChange"
- },
- decls: 1,
- vars: 1,
- consts: [[4, "ngIf"], ["groupBy", "group", 3, "items", "multiple", "closeOnSelect", "searchable", "placeholder", "ngModel", "disabled", "ngModelChange", "change"], ["ng-header-tmp", ""], ["ng-option-tmp", ""], ["ng-multi-label-tmp", ""], [1, "entities-select-toolbar"], [1, "w-100", "text-dark", "select-all-btn"], ["id", "select-all", "type", "checkbox", 1, "mr-2", 3, "checked", "click"], ["for", "select-all", 1, "m-0"], ["type", "checkbox", 3, "id", "ngModel"], [3, "iconInfo"], [1, "ng-value-label"], ["class", "ng-value", 4, "ngIf"], ["class", "ng-value", 4, "ngFor", "ngForOf"], [1, "ng-value"], ["aria-hidden", "true", 1, "ng-value-icon", "right", 3, "click"]],
- template: function EntitiesSelectComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, EntitiesSelectComponent_ng_container_0_Template, 6, 9, "ng-container", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.entitiesTypes.length > 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["NgSelectComponent"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵj"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵf"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_3__["ɵi"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["CheckboxControlValueAccessor"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_5__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["SlicePipe"]],
- styles: [".ng-select {\n min-width: 150px;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup {\n font-size: 90%;\n font-variant: small-caps;\n}\n\n .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {\n padding-left: 10px !important;\n}\n\n.entities-select-toolbar[_ngcontent-%COMP%] {\n display: flex;\n}\n\n.entities-select-toolbar[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n flex-grow: 1;\n}\n\n.select-all-btn[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2VudGl0aWVzLXNlbGVjdC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQTtFQUNJLGdCQUFBO0FBQUo7O0FBS1E7RUFDSSxjQUFBO0VBQ0Esd0JBQUE7QUFGWjs7QUFLUTtFQUNJLDZCQUFBO0FBSFo7O0FBUUE7RUFDSSxhQUFBO0FBTEo7O0FBT0k7RUFDSSxZQUFBO0FBTFI7O0FBU0E7RUFDSSxlQUFBO0FBTkoiLCJmaWxlIjoiZW50aXRpZXMtc2VsZWN0LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gbmctc2VsZWN0IG92ZXJyaWRlc1xuOjpuZy1kZWVwIC5uZy1zZWxlY3Qge1xuICAgIG1pbi13aWR0aDogMTUwcHg7XG59XG5cbjo6bmctZGVlcCAubmctZHJvcGRvd24tcGFuZWwge1xuICAgIC5uZy1kcm9wZG93bi1wYW5lbC1pdGVtcyB7XG4gICAgICAgIC5uZy1vcHRncm91cCB7XG4gICAgICAgICAgICBmb250LXNpemU6IDkwJTtcbiAgICAgICAgICAgIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgICAgICAgfVxuXG4gICAgICAgIC5uZy1vcHRpb24ge1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAxMHB4ICFpbXBvcnRhbnQ7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbi5lbnRpdGllcy1zZWxlY3QtdG9vbGJhciB7XG4gICAgZGlzcGxheTogZmxleDtcblxuICAgIC5idG4ge1xuICAgICAgICBmbGV4LWdyb3c6IDE7XG4gICAgfVxufVxuXG4uc2VsZWN0LWFsbC1idG4ge1xuICAgIGN1cnNvcjogcG9pbnRlcjtcbn0iXX0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EntitiesSelectComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-entities-select',
- templateUrl: './entities-select.component.html',
- styleUrls: ['./entities-select.component.scss']
- }]
- }], null, {
- selectionChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "gCbp":
- /*!*********************************************************************!*\
- !*** ./src/app/ui-components/directives/click-outside.directive.ts ***!
- \*********************************************************************/
- /*! exports provided: ClickOutsideDirective */
- /***/
- function gCbp(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ClickOutsideDirective", function () {
- return ClickOutsideDirective;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- var ClickOutsideDirective = /*#__PURE__*/function () {
- function ClickOutsideDirective(elementRef) {
- _classCallCheck(this, ClickOutsideDirective);
- this.elementRef = elementRef;
- this.clickOutside = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- _createClass(ClickOutsideDirective, [{
- key: "onClick",
- value: function onClick(target) {
- var clickedInside = this.elementRef.nativeElement.contains(target);
- if (!clickedInside) {
- this.clickOutside.emit();
- }
- }
- }]);
- return ClickOutsideDirective;
- }();
- ClickOutsideDirective.ɵfac = function ClickOutsideDirective_Factory(t) {
- return new (t || ClickOutsideDirective)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]));
- };
- ClickOutsideDirective.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: ClickOutsideDirective,
- selectors: [["", "clickOutside", ""]],
- hostBindings: function ClickOutsideDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ClickOutsideDirective_click_HostBindingHandler($event) {
- return ctx.onClick($event.target);
- }, false, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresolveDocument"]);
- }
- },
- outputs: {
- clickOutside: "clickOutside"
- }
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ClickOutsideDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
- args: [{
- // tslint:disable-next-line: directive-selector
- selector: '[clickOutside]'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
- }];
- }, {
- clickOutside: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }],
- onClick: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
- args: ['document:click', ['$event.target']]
- }]
- });
- })();
- /***/
- },
- /***/
- "hI0h":
- /*!***********************************************!*\
- !*** ./src/app/services/evt-model.service.ts ***!
- \***********************************************/
- /*! exports provided: EVTModelService */
- /***/
- function hI0h(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EVTModelService", function () {
- return EVTModelService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _edition_data_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./edition-data.service */
- "ft15");
- /* harmony import */
- var _xml_parsers_structure_xml_parser_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./xml-parsers/structure-xml-parser.service */
- "9L/w");
- /* harmony import */
- var _xml_parsers_named_entities_parser_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ./xml-parsers/named-entities-parser.service */
- "MpUx");
- /* harmony import */
- var _xml_parsers_prefatory_matter_parser_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./xml-parsers/prefatory-matter-parser.service */
- "EY52");
- /* harmony import */
- var _xml_parsers_witnesses_parser_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ./xml-parsers/witnesses-parser.service */
- "5DHf");
- /* harmony import */
- var _xml_parsers_apparatus_entries_parser_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ./xml-parsers/apparatus-entries-parser.service */
- "ytha");
- /* harmony import */
- var _xml_parsers_facsimile_parser_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ./xml-parsers/facsimile-parser.service */
- "XMdj");
- /* harmony import */
- var _xml_parsers_character_declarations_parser_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ./xml-parsers/character-declarations-parser.service */
- "t1xl");
- /* harmony import */
- var _xml_parsers_lines_verses_parser_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ./xml-parsers/lines-verses-parser.service */
- "O0Pb");
- /* harmony import */
- var _xml_parsers_ms_desc_parser_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ./xml-parsers/ms-desc-parser.service */
- "9+YD");
- /* harmony import */
- var _xml_parsers_lemmatized_entities_parser_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! ./xml-parsers/lemmatized-entities-parser.service */
- "bDt3");
- var EVTModelService = /*#__PURE__*/function () {
- function EVTModelService(editionDataService, editionStructureParser, namedEntitiesParser, prefatoryMatterParser, witnessesParser, apparatusParser, facsimileParser, characterDeclarationsParser, linesVersesParser, msDescParser, // add by FS
- lemmatizedEntitiesParser) {
- var _this104 = this;
- _classCallCheck(this, EVTModelService);
- this.editionDataService = editionDataService;
- this.editionStructureParser = editionStructureParser;
- this.namedEntitiesParser = namedEntitiesParser;
- this.prefatoryMatterParser = prefatoryMatterParser;
- this.witnessesParser = witnessesParser;
- this.apparatusParser = apparatusParser;
- this.facsimileParser = facsimileParser;
- this.characterDeclarationsParser = characterDeclarationsParser;
- this.linesVersesParser = linesVersesParser;
- this.msDescParser = msDescParser;
- this.lemmatizedEntitiesParser = lemmatizedEntitiesParser;
- this.editionSource$ = this.editionDataService.parsedEditionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.title$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.prefatoryMatterParser.parseEditionTitle(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.projectInfo$ = this.prefatoryMatterParser.projectInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.pages$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.editionStructureParser.parsePages(source).pages;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1)); // NAMED ENTITIES
- this.parsedLists$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.namedEntitiesParser.parseLists(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.persons$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref61) {
- var lists = _ref61.lists,
- entities = _ref61.entities;
- return _this104.namedEntitiesParser.getResultsByType(lists, entities, ['person', 'personGrp']);
- }));
- this.places$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref62) {
- var lists = _ref62.lists,
- entities = _ref62.entities;
- return _this104.namedEntitiesParser.getResultsByType(lists, entities, ['place']);
- }));
- this.organizations$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref63) {
- var lists = _ref63.lists,
- entities = _ref63.entities;
- return _this104.namedEntitiesParser.getResultsByType(lists, entities, ['org']);
- }));
- this.relations$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref64) {
- var relations = _ref64.relations;
- return relations;
- }));
- this.events$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref65) {
- var lists = _ref65.lists,
- entities = _ref65.entities;
- return _this104.namedEntitiesParser.getResultsByType(lists, entities, ['event']);
- }));
- this.verses$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.linesVersesParser.parseVerses(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.lines$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.linesVersesParser.parseLines(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.namedEntities$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.persons$, this.places$, this.organizations$, this.relations$, this.events$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref66) {
- var _ref67 = _slicedToArray(_ref66, 5),
- persons = _ref67[0],
- places = _ref67[1],
- organizations = _ref67[2],
- relations = _ref67[3],
- events = _ref67[4];
- return {
- all: {
- lists: [].concat(_toConsumableArray(persons.lists), _toConsumableArray(places.lists), _toConsumableArray(organizations.lists), _toConsumableArray(events.lists)),
- entities: [].concat(_toConsumableArray(persons.entities), _toConsumableArray(places.entities), _toConsumableArray(organizations.entities), _toConsumableArray(events.entities))
- },
- persons: persons,
- places: places,
- organizations: organizations,
- relations: relations,
- events: events
- };
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.entitiesOccurrences$ = this.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (pages) {
- return _this104.namedEntitiesParser.parseNamedEntitiesOccurrences(pages);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.lemsOccurrences$ = this.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (pages) {
- return _this104.lemmatizedEntitiesParser.parseLemmatizedEntitiesOccurrences(pages);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1)); // WITNESSES
- this.witnessesData$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.witnessesParser.parseWitnessesData(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.witnesses$ = this.witnessesData$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref68) {
- var witnesses = _ref68.witnesses;
- return witnesses;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.groups$ = this.witnessesData$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref69) {
- var groups = _ref69.groups;
- return groups;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1)); // APPARATUS ENTRIES
- this.appEntries$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.apparatusParser.parseAppEntries(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.significantReadings$ = this.appEntries$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (appEntries) {
- return _this104.apparatusParser.getSignificantReadings(appEntries);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.significantReadingsNumber$ = this.significantReadings$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (signRdgs) {
- return _this104.apparatusParser.getSignificantReadingsNumber(signRdgs);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.appVariance$ = this.witnesses$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["switchMap"])(function (witList) {
- return _this104.significantReadingsNumber$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (signRdgsNum) {
- return _this104.apparatusParser.getAppVariance(signRdgsNum, witList);
- }));
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1)); // FACSIMILE
- this.surfaces$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.facsimileParser.parseSurfaces(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.hsLines$ = this.surfaces$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (surfaces) {
- return surfaces.reduce(function (x, y) {
- return x.concat(y.zones.lines);
- }, []);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.hotspots$ = this.surfaces$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (surfaces) {
- return surfaces.reduce(function (x, y) {
- return x.concat(y.zones.hotspots);
- }, []);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1)); // CHAR DECL
- this.characters$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.characterDeclarationsParser.parseChars(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.glyphs$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.characterDeclarationsParser.parseGlyphs(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.specialChars$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.characters$, this.glyphs$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref70) {
- var _ref71 = _slicedToArray(_ref70, 2),
- chars = _ref71[0],
- glyphs = _ref71[1];
- return chars.concat(glyphs);
- }));
- this.msDesc$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.msDescParser.parseMsDesc(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1)); // add by FS
- // LEMMA ENTITIES
- this.parsedLemLists$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (source) {
- return _this104.lemmatizedEntitiesParser.parseLemLists(source);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.item$ = this.parsedLemLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref72) {
- var lemlists = _ref72.lemlists,
- lementities = _ref72.lementities;
- return _this104.lemmatizedEntitiesParser.getResultsByType(lemlists, lementities, ['item', 'lem', 'w']);
- }));
- this.lemmas$ = this.parsedLemLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref73) {
- var lemlists = _ref73.lemlists,
- lementities = _ref73.lementities;
- return _this104.lemmatizedEntitiesParser.getResultsByType(lemlists, lementities, ['item', 'lem', 'w']);
- }));
- this.lemmatizedEntities$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.item$, this.lemmas$, this.relations$]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref74) {
- var _ref75 = _slicedToArray(_ref74, 3),
- item = _ref75[0],
- lemmas = _ref75[1],
- relations = _ref75[2];
- return {
- all: {
- lemlists: [].concat(_toConsumableArray(item.lemlists), _toConsumableArray(lemmas.lemlists)),
- lementities: _toConsumableArray(item.lementities)
- },
- item: item,
- lemmas: lemmas,
- relations: relations
- };
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.entitiesLemOccurrences$ = this.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (pages) {
- return _this104.lemmatizedEntitiesParser.parseLemmatizedEntitiesOccurrences(pages);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- _createClass(EVTModelService, [{
- key: "getPage",
- value: function getPage(pageId) {
- return this.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (pages) {
- return pages.find(function (page) {
- return page.id === pageId;
- });
- }));
- }
- }]);
- return EVTModelService;
- }();
- EVTModelService.ɵfac = function EVTModelService_Factory(t) {
- return new (t || EVTModelService)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_edition_data_service__WEBPACK_IMPORTED_MODULE_3__["EditionDataService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_structure_xml_parser_service__WEBPACK_IMPORTED_MODULE_4__["StructureXmlParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_named_entities_parser_service__WEBPACK_IMPORTED_MODULE_5__["NamedEntitiesParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_prefatory_matter_parser_service__WEBPACK_IMPORTED_MODULE_6__["PrefatoryMatterParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_witnesses_parser_service__WEBPACK_IMPORTED_MODULE_7__["WitnessesParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_apparatus_entries_parser_service__WEBPACK_IMPORTED_MODULE_8__["ApparatusEntriesParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_facsimile_parser_service__WEBPACK_IMPORTED_MODULE_9__["FacsimileParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_character_declarations_parser_service__WEBPACK_IMPORTED_MODULE_10__["CharacterDeclarationsParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_lines_verses_parser_service__WEBPACK_IMPORTED_MODULE_11__["LinesVersesParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_ms_desc_parser_service__WEBPACK_IMPORTED_MODULE_12__["MsDescParserService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_xml_parsers_lemmatized_entities_parser_service__WEBPACK_IMPORTED_MODULE_13__["LemmatizedEntitiesParserService"]));
- };
- EVTModelService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: EVTModelService,
- factory: EVTModelService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EVTModelService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: _edition_data_service__WEBPACK_IMPORTED_MODULE_3__["EditionDataService"]
- }, {
- type: _xml_parsers_structure_xml_parser_service__WEBPACK_IMPORTED_MODULE_4__["StructureXmlParserService"]
- }, {
- type: _xml_parsers_named_entities_parser_service__WEBPACK_IMPORTED_MODULE_5__["NamedEntitiesParserService"]
- }, {
- type: _xml_parsers_prefatory_matter_parser_service__WEBPACK_IMPORTED_MODULE_6__["PrefatoryMatterParserService"]
- }, {
- type: _xml_parsers_witnesses_parser_service__WEBPACK_IMPORTED_MODULE_7__["WitnessesParserService"]
- }, {
- type: _xml_parsers_apparatus_entries_parser_service__WEBPACK_IMPORTED_MODULE_8__["ApparatusEntriesParserService"]
- }, {
- type: _xml_parsers_facsimile_parser_service__WEBPACK_IMPORTED_MODULE_9__["FacsimileParserService"]
- }, {
- type: _xml_parsers_character_declarations_parser_service__WEBPACK_IMPORTED_MODULE_10__["CharacterDeclarationsParserService"]
- }, {
- type: _xml_parsers_lines_verses_parser_service__WEBPACK_IMPORTED_MODULE_11__["LinesVersesParserService"]
- }, {
- type: _xml_parsers_ms_desc_parser_service__WEBPACK_IMPORTED_MODULE_12__["MsDescParserService"]
- }, {
- type: _xml_parsers_lemmatized_entities_parser_service__WEBPACK_IMPORTED_MODULE_13__["LemmatizedEntitiesParserService"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "hV/S":
- /*!*************************************************************!*\
- !*** ./src/app/components/lem-entry/lem-entry.component.ts ***!
- \*************************************************************/
- /*! exports provided: LemEntryComponent */
- /***/
- function hVS(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemEntryComponent", function () {
- return LemEntryComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! src/app/models/evt-models */
- "5c0l");
- /* harmony import */
- var src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! src/app/services/component-register.service */
- "d25s");
- /* harmony import */
- var src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! src/app/services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./lem-entry-detail/lem-entry-detail.component */
- "EOxZ");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _reading_reading_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../reading/reading.component */
- "QgGR");
- function LemEntryComponent_span_0_evt_reading_2_Template(rf, ctx) {
- if (rf & 1) {
- var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-reading", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemEntryComponent_span_0_evt_reading_2_Template_evt_reading_click_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r4);
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r3.toggleLemEntryBox($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r1.data.lemma);
- }
- }
- function LemEntryComponent_span_0_evt_lem_entry_detail_3_Template(rf, ctx) {
- if (rf & 1) {
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-lem-entry-detail", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemEntryComponent_span_0_evt_lem_entry_detail_3_Template_evt_lem_entry_detail_click_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6);
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r5.stopPropagation($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data);
- }
- }
- var _c0 = function _c0(a0) {
- return {
- "lem-detail-opened": a0
- };
- };
- function LemEntryComponent_span_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemEntryComponent_span_0_evt_reading_2_Template, 1, 1, "evt-reading", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemEntryComponent_span_0_evt_lem_entry_detail_3_Template, 1, 1, "evt-lem-entry-detail", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](6, _c0, ctx_r0.opened));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-variance", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 4, ctx_r0.variance$));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data == null ? null : ctx_r0.data.lemma);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx_r0.data == null ? null : ctx_r0.data.lemma) && ctx_r0.opened);
- }
- }
- var LemEntryComponent = /*#__PURE__*/function () {
- function LemEntryComponent(evtModelService, parentDetailComponent) {
- var _this105 = this;
- _classCallCheck(this, LemEntryComponent);
- this.evtModelService = evtModelService;
- this.parentDetailComponent = parentDetailComponent;
- this.opened = false;
- this.nestedLems = [];
- this.variance$ = this.evtModelService.appVariance$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (variances) {
- return variances[_this105.data.id];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.isInsideLemDetail = this.parentDetailComponent ? true : false;
- }
- _createClass(LemEntryComponent, [{
- key: "toggleLemEntryBox",
- value: function toggleLemEntryBox(e) {
- e.stopPropagation();
- this.opened = !this.opened;
- }
- }, {
- key: "closeLemEntryBox",
- value: function closeLemEntryBox() {
- this.opened = false;
- }
- }, {
- key: "stopPropagation",
- value: function stopPropagation(e) {
- e.stopPropagation();
- }
- }]);
- return LemEntryComponent;
- }();
- LemEntryComponent.ɵfac = function LemEntryComponent_Factory(t) {
- return new (t || LemEntryComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["LemEntryDetailComponent"], 8));
- };
- LemEntryComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: LemEntryComponent,
- selectors: [["evt-lem-entry"]],
- inputs: {
- data: "data"
- },
- decls: 1,
- vars: 1,
- consts: [["class", "lem-entry", 3, "ngClass", 4, "ngIf"], [1, "lem-entry", 3, "ngClass"], ["class", "lem-entry-lem", 3, "data", "click", 4, "ngIf"], [3, "data", "click", 4, "ngIf"], [1, "lem-entry-lem", 3, "data", "click"], [3, "data", "click"]],
- template: function LemEntryComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemEntryComponent_span_0_Template, 4, 8, "span", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.isInsideLemDetail);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgClass"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_8__["ReadingComponent"], _lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["LemEntryDetailComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJsZW0tZW50cnkuY29tcG9uZW50LnNjc3MifQ== */"],
- changeDetection: 0
- });
- LemEntryComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(src_app_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(src_app_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemEntry"])], LemEntryComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemEntryComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-lem-entry',
- templateUrl: './lem-entry.component.html',
- styleUrls: ['./lem-entry.component.scss'],
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush
- }]
- }], function () {
- return [{
- type: src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]
- }, {
- type: _lem_entry_detail_lem_entry_detail_component__WEBPACK_IMPORTED_MODULE_6__["LemEntryDetailComponent"],
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Optional"]
- }]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "iRdJ":
- /*!**************************************************************************!*\
- !*** ./src/app/ui-components/header-section/header-section.component.ts ***!
- \**************************************************************************/
- /*! exports provided: HeaderSectionComponent */
- /***/
- function iRdJ(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "HeaderSectionComponent", function () {
- return HeaderSectionComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function HeaderSectionComponent_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 2, ctx_r0.label), "", ctx_r0.inlineLabel ? ": " : "", "");
- }
- }
- var _c0 = [[["", "content", ""]]];
- var _c1 = ["[content]"];
- var HeaderSectionComponent = function HeaderSectionComponent() {
- _classCallCheck(this, HeaderSectionComponent);
- };
- HeaderSectionComponent.ɵfac = function HeaderSectionComponent_Factory(t) {
- return new (t || HeaderSectionComponent)();
- };
- HeaderSectionComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: HeaderSectionComponent,
- selectors: [["evt-header-section"]],
- inputs: {
- label: "label",
- additionalClass: "additionalClass",
- inlineLabel: "inlineLabel"
- },
- ngContentSelectors: _c1,
- decls: 4,
- vars: 6,
- consts: [["class", "section-label", 4, "ngIf"], [1, "section-content"], [1, "section-label"]],
- template: function HeaderSectionComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"](_c0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, HeaderSectionComponent_div_1_Template, 3, 4, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMapInterpolate1"]("section ", ctx.additionalClass, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("has-inline-label", ctx.inlineLabel);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.label);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgIf"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslatePipe"]],
- styles: [".section[_ngcontent-%COMP%] {\n display: block;\n}\n.section[_ngcontent-%COMP%] > .section-label[_ngcontent-%COMP%] {\n display: inline;\n font-variant: small-caps;\n color: #666;\n}\n.section.has-inline-label[_ngcontent-%COMP%] {\n display: flex;\n}\n.section.has-inline-label[_ngcontent-%COMP%] > .section-label[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n.section.has-inline-label[_ngcontent-%COMP%] > .section-content[_ngcontent-%COMP%] {\n display: inline;\n}\n.section[_ngcontent-%COMP%]:not(.has-inline-label) > .section-label[_ngcontent-%COMP%] {\n font-size: 0.9rem;\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n display: block;\n margin-top: 14px;\n}\n.section[_ngcontent-%COMP%] p {\n margin-bottom: 0;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4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1hcmdpbi1ib3R0b206IDVweDtcbiAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICAgICAgbWFyZ2luLXRvcDogMTRweDtcbiAgICAgICAgfVxuICAgIH1cbiAgICA6Om5nLWRlZXAgcCB7XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgfVxufVxuIl19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HeaderSectionComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-header-section',
- templateUrl: './header-section.component.html',
- styleUrls: ['./header-section.component.scss']
- }]
- }], null, {
- label: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- additionalClass: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- inlineLabel: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "j7gH":
- /*!*****************************************************!*\
- !*** ./src/app/pinboard/pinner/pinner.component.ts ***!
- \*****************************************************/
- /*! exports provided: PinnerComponent */
- /***/
- function j7gH(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PinnerComponent", function () {
- return PinnerComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _pinboard_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../pinboard.service */
- "fqbd");
- /* harmony import */
- var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../ui-components/button/button.component */
- "UjKN");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- var _c0 = function _c0() {
- return {
- icon: "thumbtack"
- };
- };
- var PinnerComponent = /*#__PURE__*/function () {
- function PinnerComponent(pinType, renderer, pinboard) {
- _classCallCheck(this, PinnerComponent);
- this.pinType = pinType;
- this.renderer = renderer;
- this.pinboard = pinboard;
- }
- _createClass(PinnerComponent, [{
- key: "isItemPinned",
- value: function isItemPinned() {
- return this.pinboard.isItemPinned(this.item);
- }
- }, {
- key: "togglePin",
- value: function togglePin(btnEvent) {
- btnEvent.event.stopPropagation();
- this.pinboard.toggleItem(this.item, {
- pinType: this.pinType,
- renderer: this.renderer
- });
- }
- }]);
- return PinnerComponent;
- }();
- PinnerComponent.ɵfac = function PinnerComponent_Factory(t) {
- return new (t || PinnerComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('pinType'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('renderer'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_pinboard_service__WEBPACK_IMPORTED_MODULE_1__["PinboardService"]));
- };
- PinnerComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: PinnerComponent,
- selectors: [["evt-pinner"]],
- inputs: {
- item: "item",
- additionalStyle: "additionalStyle"
- },
- decls: 2,
- vars: 9,
- consts: [[1, "evt-pinner", 3, "iconLeft", "title", "ngStyle", "toggler", "transparent", "active", "btnClick"]],
- template: function PinnerComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "evt-button", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function PinnerComponent_Template_evt_button_btnClick_0_listener($event) {
- return ctx.togglePin($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](8, _c0))("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 6, "PinItem"))("ngStyle", ctx.additionalStyle)("toggler", true)("transparent", true)("active", ctx.isItemPinned());
- }
- },
- directives: [_ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_2__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgStyle"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_4__["TranslatePipe"]],
- styles: [".evt-pinner[_ngcontent-%COMP%] {\n float: right;\n}\n\n .evt-pinner .btn {\n opacity: 0.4;\n}\n\n .evt-pinner .btn:hover {\n -o-box-shadow: none !important;\n -ms-box-shadow: none !important;\n box-shadow: none !important;\n opacity: 0.9 !important;\n}\n\n .evt-pinner .btn.active {\n opacity: 1;\n}\n\n[data-theme=restore][_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=restore] [_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=restore][_ngcontent-%COMP%] .evt-pinner .btn.active {\n color: #0a4553 !important;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=neutral] [_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=neutral][_ngcontent-%COMP%] .evt-pinner .btn.active {\n color: #000 !important;\n}\n\n[data-theme=modern][_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=modern] [_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=modern][_ngcontent-%COMP%] .evt-pinner .btn.active {\n color: #263238 !important;\n}\n\n[data-theme=classic][_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=classic] [_nghost-%COMP%] .evt-pinner .btn.active, [data-theme=classic][_ngcontent-%COMP%] .evt-pinner .btn.active {\n color: #362d28 !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Bpbm5lci5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQTtFQUNJLFlBQUE7QUFGSjs7QUFLSTtFQUNJLFlBQUE7QUFGUjs7QUFHUTtFQ01OLDhCQUFBO0VBR0EsK0JBQUE7RUFDQSwyQkFBQTtFRFJVLHVCQUFBO0FBSVo7O0FBRlE7RUFDSSxVQUFBO0FBSVo7O0FFdUVRO0VGekVRLHlCQUFBO0FBS2hCOztBRW9FUTtFRnpFUSxzQkFBQTtBQVFoQjs7QUVpRVE7RUZ6RVEseUJBQUE7QUFXaEI7O0FFOERRO0VGekVRLHlCQUFBO0FBY2hCIiwiZmlsZSI6InBpbm5lci5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy90aGVtZXNcIjtcbkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnNcIjtcblxuLmV2dC1waW5uZXIge1xuICAgIGZsb2F0OiByaWdodDtcbn1cbjo6bmctZGVlcCAuZXZ0LXBpbm5lciB7XG4gICAgLmJ0biB7XG4gICAgICAgIG9wYWNpdHk6IDAuNDtcbiAgICAgICAgJjpob3ZlciB7XG4gICAgICAgICAgICBAaW5jbHVkZSBzZXQoXCJib3gtc2hhZG93XCIsIFwibm9uZSAhaW1wb3J0YW50XCIpO1xuICAgICAgICAgICAgb3BhY2l0e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ICAgICAvLyAgY29sb3I6IHRoZW1lZCgnYmFzZUNvbG9yRGFyaycpO1xuICAgIC8vICB9XG4vLyAgfVxuLy8gYGBgXG5AbWl4aW4gdGhlbWlmeVNlbGYoJHRoZW1lczogJHRoZW1lcykge1xuICAgIEBlYWNoICR0aGVtZSwgJG1hcCBpbiAkdGhlbWVzIHtcbiAgICAgICAgICZbZGF0YS10aGVtZT1cIiN7JHRoZW1lfVwiXSB7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiAoKSAhZ2xvYmFsO1xuICAgICAgICAgICAgQGVhY2ggJGtleSwgJHN1Ym1hcCBpbiAkbWFwIHtcbiAgICAgICAgICAgICAgICAkdmFsdWU6IG1hcC1nZXQobWFwLWdldCgkdGhlbWVzLCAkdGhlbWUpLCAnI3ska2V5fScpO1xuICAgICAgICAgICAgICAgICR0aGVtZS1tYXA6IG1hcC1tZXJnZSgkdGhlbWUtbWFwLCAoJGtleTogJHZhbHVlKSkgIWdsb2JhbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBjb250ZW50O1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogbnVsbCAhZ2xvYmFsO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PinnerComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-pinner',
- templateUrl: './pinner.component.html',
- styleUrls: ['./pinner.component.scss']
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Attribute"],
- args: ['pinType']
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Attribute"],
- args: ['renderer']
- }]
- }, {
- type: _pinboard_service__WEBPACK_IMPORTED_MODULE_1__["PinboardService"]
- }];
- }, {
- item: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- additionalStyle: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "jPca":
- /*!************************************************!*\
- !*** ./src/app/shortcuts/shortcuts.service.ts ***!
- \************************************************/
- /*! exports provided: ShortcutsService */
- /***/
- function jPca(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ShortcutsService", function () {
- return ShortcutsService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _utils_js_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../utils/js-utils */
- "zSMA");
- var ShortcutsService = /*#__PURE__*/function () {
- function ShortcutsService() {
- _classCallCheck(this, ShortcutsService);
- }
- _createClass(ShortcutsService, [{
- key: "handleKeyboardEvent",
- value: function handleKeyboardEvent(e) {
- var eKeyCode = Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["getEventKeyCode"])(e);
- if (e.altKey) {
- // ALT pressed
- switch (eKeyCode) {
- // TODO: MODE VIEW
- case 49:
- // alt+1
- // First view mode
- break;
- case 50:
- // alt+2
- // Second view mode
- break;
- case 51:
- // alt+3
- // Third view mode
- break;
- case 52:
- // alt+1
- // Fourth view mode
- break;
- // other useful
- case 73:
- // alt+i
- // Open PROJECT INFO
- break;
- case 76:
- // alt+l
- // Open Lists
- break;
- case 69:
- // alt + e
- if (e.shiftKey) {// alt + shift + e
- // Open EVT Info
- }
- break;
- case 66:
- // Open bookmark
- break;
- case 83:
- {
- // alt + s
- if (e.shiftKey) {// alt + shift + s
- // Open shortcuts
- }
- break;
- }
- }
- } else {
- if (e.ctrlKey && eKeyCode === 32) {// GM: CTRL+space
- // TODO: toggle bottom navbar
- } else if ((eKeyCode === 102 || eKeyCode === 70) && (e.ctrlKey || e.metaKey) && e.altKey && e.shiftKey) {// CTRL+ALT+SHIF+f - CMD+ALT+SHIF+f
- // TODO: go fullscreen
- } else if ((eKeyCode === 102 || eKeyCode === 70) && (e.ctrlKey || e.metaKey) && e.altKey) {// CTRL+f - CMD+f
- // TODO: Toggle search
- } else {
- switch (eKeyCode) {
- case 37:
- // left arrow
- // TODO: Nav left
- break;
- case 39:
- // right arrow
- // TODO: Nav right
- break;
- case 38:
- // up
- // TODO: Nav to previous document
- break;
- case 40:
- // down
- // TODO: Nav to following document
- break;
- case 27:
- // escape
- break;
- case 13:
- // input
- break;
- }
- }
- }
- }
- }]);
- return ShortcutsService;
- }();
- ShortcutsService.ɵfac = function ShortcutsService_Factory(t) {
- return new (t || ShortcutsService)();
- };
- ShortcutsService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: ShortcutsService,
- factory: ShortcutsService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ShortcutsService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "jz3b":
- /*!****************************************************!*\
- !*** ./src/app/services/xml-parsers/app-parser.ts ***!
- \****************************************************/
- /*! exports provided: RdgParser, AppParser */
- /***/
- function jz3b(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RdgParser", function () {
- return RdgParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AppParser", function () {
- return AppParser;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var src_app_app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! src/app/app.config */
- "aR35");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../utils/dom-utils */
- "G9+u");
- /* harmony import */
- var _utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../utils/xml-utils */
- "JQLQ");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var RdgParser_1, AppParser_1;
- var RdgParser = RdgParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA130) {
- _inherits(RdgParser, _basic_parsers__WEBPA130);
- var _super327 = _createSuper(RdgParser);
- function RdgParser() {
- var _this106;
- _classCallCheck(this, RdgParser);
- _this106 = _super327.apply(this, arguments);
- _this106.readingGroupTagName = 'rdgGrp';
- _this106.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], _this106.genericParse);
- return _this106;
- }
- _createClass(RdgParser, [{
- key: "parse",
- value: function parse(rdg) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Reading"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(rdg),
- attributes: this.attributeParser.parse(rdg),
- witIDs: this.parseReadingWitnesses(rdg) || [],
- content: this.parseAppReadingContent(rdg),
- significant: this.isReadingSignificant(rdg),
- "class": rdg.tagName.toLowerCase()
- };
- }
- }, {
- key: "parseReadingWitnesses",
- value: function parseReadingWitnesses(rdg) {
- var _a;
- return (_a = rdg.getAttribute('wit')) === null || _a === void 0 ? void 0 : _a.split('#').map(function (el) {
- return Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["removeSpaces"])(el);
- }).filter(function (el) {
- return el.length !== 0;
- });
- }
- }, {
- key: "parseAppReadingContent",
- value: function parseAppReadingContent(rdg) {
- var _this107 = this;
- return Array.from(rdg.childNodes).map(function (child) {
- return _this107.genericParse(child);
- });
- }
- }, {
- key: "isReadingSignificant",
- value: function isReadingSignificant(rdg) {
- var notSignificantReadings = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.notSignificantVariants;
- var isSignificant = true;
- if (notSignificantReadings.length > 0) {
- isSignificant = this.isSignificant(notSignificantReadings, rdg.attributes);
- if (isSignificant && rdg.parentElement.tagName === this.readingGroupTagName) {
- isSignificant = this.isSignificant(notSignificantReadings, rdg.parentElement.attributes);
- }
- }
- return isSignificant;
- }
- }, {
- key: "isSignificant",
- value: function isSignificant(notSignificantReading, attributes) {
- return !Array.from(attributes).some(function (_ref76) {
- var name = _ref76.name,
- value = _ref76.value;
- return notSignificantReading.includes("".concat(name, "=").concat(value));
- });
- }
- }]);
- return RdgParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- RdgParser = RdgParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('rdg', RdgParser_1)], RdgParser);
- var AppParser = AppParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA131) {
- _inherits(AppParser, _basic_parsers__WEBPA131);
- var _super328 = _createSuper(AppParser);
- function AppParser() {
- var _this108;
- _classCallCheck(this, AppParser);
- _this108 = _super328.apply(this, arguments);
- _this108.noteTagName = 'note';
- _this108.appEntryTagName = 'app';
- _this108.readingTagName = 'rdg';
- _this108.lemmaTagName = 'lem';
- _this108.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], _this108.genericParse);
- _this108.noteParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["NoteParser"], _this108.genericParse);
- _this108.rdgParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RdgParser, _this108.genericParse);
- return _this108;
- }
- _createClass(AppParser, [{
- key: "parse",
- value: function parse(appEntry) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["ApparatusEntry"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(appEntry),
- attributes: this.attributeParser.parse(appEntry),
- content: [],
- lemma: this.parseLemma(appEntry),
- readings: this.parseReadings(appEntry),
- notes: this.parseAppNotes(appEntry),
- originalEncoding: Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["getOuterHTML"])(appEntry),
- "class": appEntry.tagName.toLowerCase(),
- nestedAppsIDs: this.getNestedAppsIDs(appEntry)
- };
- }
- }, {
- key: "getNestedAppsIDs",
- value: function getNestedAppsIDs(app) {
- var nesApps = app.querySelectorAll('app');
- return Array.from(nesApps).map(function (a) {
- return Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(a);
- });
- }
- }, {
- key: "parseAppNotes",
- value: function parseAppNotes(appEntry) {
- var _this109 = this;
- var notes = Array.from(appEntry.children).filter(function (_ref77) {
- var tagName = _ref77.tagName;
- return tagName === _this109.noteTagName;
- }).map(function (note) {
- return _this109.noteParser.parse(note);
- });
- return notes;
- }
- }, {
- key: "parseLemma",
- value: function parseLemma(appEntry) {
- return appEntry.querySelector("".concat(this.lemmaTagName)) ? this.rdgParser.parse(appEntry.querySelector("".concat(this.lemmaTagName))) : undefined;
- }
- }, {
- key: "parseReadings",
- value: function parseReadings(appEntry) {
- var _this110 = this;
- return Array.from(appEntry.querySelectorAll("".concat(this.readingTagName))).filter(function (el) {
- return el.closest(_this110.appEntryTagName) === appEntry;
- }).map(function (rdg) {
- return _this110.rdgParser.parse(rdg);
- });
- }
- }]);
- return AppParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"]);
- AppParser = AppParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-apparatus-entry-parser', AppParser_1)], AppParser);
- /***/
- },
- /***/
- "k8Vd":
- /*!*******************************************************************!*\
- !*** ./src/app/components/named-entity/named-entity.component.ts ***!
- \*******************************************************************/
- /*! exports provided: NamedEntityComponent */
- /***/
- function k8Vd(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntityComponent", function () {
- return NamedEntityComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../../pinboard/pinner/pinner.component */
- "j7gH");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _named_entity_occurrence_named_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ./named-entity-occurrence/named-entity-occurrence.component */
- "wM2G");
- /* harmony import */
- var _original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! ../original-encoding-viewer/original-encoding-viewer.component */
- "7Sdm");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- var _c0 = ["entityDetails"];
- var _c1 = function _c1() {
- return {
- icon: "caret-down",
- additionalClasses: "icon toggler mr-2"
- };
- };
- function NamedEntityComponent_div_0_evt_icon_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c1));
- }
- }
- var _c2 = function _c2() {
- return {
- icon: "caret-right",
- additionalClasses: "icon toggler mr-2"
- };
- };
- function NamedEntityComponent_div_0_evt_icon_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c2));
- }
- }
- var _c3 = function _c3() {
- return {
- icon: "user",
- additionalClasses: "icon mr-1"
- };
- };
- function NamedEntityComponent_div_0_evt_icon_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c3));
- }
- }
- var _c4 = function _c4() {
- return {
- icon: "map-marker",
- additionalClasses: "icon mr-1"
- };
- };
- function NamedEntityComponent_div_0_evt_icon_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c4));
- }
- }
- function NamedEntityComponent_div_0_div_8_ng_template_7_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 17);
- }
- if (rf & 2) {
- var detail_r11 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", detail_r11);
- }
- }
- function NamedEntityComponent_div_0_div_8_ng_template_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityComponent_div_0_div_8_ng_template_7_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r7.data.content);
- }
- }
- function NamedEntityComponent_div_0_div_8_ng_template_12_div_0_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noOccurrences"));
- }
- }
- function NamedEntityComponent_div_0_div_8_ng_template_12_div_0_evt_named_entity_occurrence_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-named-entity-occurrence", 22);
- }
- if (rf & 2) {
- var occurrence_r16 = ctx.$implicit;
- var ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("occurrence", occurrence_r16)("entityId", ctx_r15.data.id);
- }
- }
- function NamedEntityComponent_div_0_div_8_ng_template_12_div_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 19);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityComponent_div_0_div_8_ng_template_12_div_0_span_1_Template, 3, 3, "span", 20);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamedEntityComponent_div_0_div_8_ng_template_12_div_0_evt_named_entity_occurrence_2_Template, 1, 2, "evt-named-entity-occurrence", 21);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var occurrences_r13 = ctx.ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", occurrences_r13.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", occurrences_r13);
- }
- }
- function NamedEntityComponent_div_0_div_8_ng_template_12_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NamedEntityComponent_div_0_div_8_ng_template_12_div_0_Template, 3, 2, "div", 18);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
- }
- if (rf & 2) {
- var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 1, ctx_r8.occurrences$));
- }
- }
- function NamedEntityComponent_div_0_div_8_ng_template_17_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-original-encoding-viewer", 24);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("originalEncoding", ctx_r9.data.originalEncoding);
- }
- }
- function NamedEntityComponent_div_0_div_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul", 8, 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "li", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "a", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](6, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, NamedEntityComponent_div_0_div_8_ng_template_7_Template, 2, 1, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "li", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](9, "a", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](11, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](12, NamedEntityComponent_div_0_div_8_ng_template_12_Template, 2, 3, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](13, "li", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "a", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](15);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](16, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](17, NamedEntityComponent_div_0_div_8_ng_template_17_Template, 2, 1, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](18, "div", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](2);
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("activeId", ctx_r5.selectedSection);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "info_" + ctx_r5.data.id)("disabled", ctx_r5.data.content.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](6, 9, "Info"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "occurrences_" + ctx_r5.data.id);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](11, 11, "Occorrenze"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "xml_" + ctx_r5.data.id);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](16, 13, "XMLSource"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavOutlet", _r6);
- }
- }
- var _c5 = function _c5(a0, a1) {
- return {
- inList: a0,
- contentOpened: a1
- };
- };
- function NamedEntityComponent_div_0_Template(rf, ctx) {
- if (rf & 1) {
- var _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NamedEntityComponent_div_0_Template_div_click_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r18);
- var ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- return ctx_r17.tabSelected($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NamedEntityComponent_div_0_Template_div_click_1_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r18);
- var ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- return ctx_r19.toggleContent();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamedEntityComponent_div_0_evt_icon_2_Template, 1, 2, "evt-icon", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntityComponent_div_0_evt_icon_3_Template, 1, 2, "evt-icon", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamedEntityComponent_div_0_evt_icon_4_Template, 1, 2, "evt-icon", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, NamedEntityComponent_div_0_evt_icon_5_Template, 1, 2, "evt-icon", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](7, "evt-pinner", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, NamedEntityComponent_div_0_div_8_Template, 19, 15, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("card ne-container ", ctx_r0.data.namedEntityType, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](12, _c5, ctx_r0.inList, ctx_r0.contentOpened))("evtHtmlAttributes", ctx_r0.data == null ? null : ctx_r0.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.inList && ctx_r0.contentOpened);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.inList && !ctx_r0.contentOpened);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.namedEntityType === "person");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.namedEntityType === "place");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", ctx_r0.data.label, " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", ctx_r0.data);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.contentOpened);
- }
- }
- var NamedEntityComponent = /*#__PURE__*/function () {
- function NamedEntityComponent(evtModelService) {
- var _this111 = this;
- _classCallCheck(this, NamedEntityComponent);
- this.evtModelService = evtModelService;
- this.occurrences$ = this.evtModelService.entitiesOccurrences$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (occ) {
- return occ[_this111.data.id] || [];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.relations$ = this.evtModelService.relations$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (el) {
- return el.filter(function (rel) {
- return rel.activeParts.indexOf(_this111.data.id) >= 0 || rel.passiveParts.indexOf(_this111.data.id) >= 0 || rel.mutualParts.indexOf(_this111.data.id) >= 0;
- });
- }));
- this.contentOpened = true;
- }
- _createClass(NamedEntityComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- if (this.inList) {
- this.contentOpened = false;
- }
- }
- }, {
- key: "toggleContent",
- value: function toggleContent() {
- if (this.inList) {
- this.contentOpened = !this.contentOpened;
- }
- }
- }, {
- key: "tabSelected",
- value: function tabSelected(event) {
- event.stopPropagation();
- }
- }, {
- key: "selectedSection",
- get: function get() {
- if (this.contentOpened) {
- return "".concat(this.data && this.data.content.length === 0 ? 'occurrences' : 'info', "_").concat(this.data.id);
- }
- return '';
- }
- }]);
- return NamedEntityComponent;
- }();
- NamedEntityComponent.ɵfac = function NamedEntityComponent_Factory(t) {
- return new (t || NamedEntityComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]));
- };
- NamedEntityComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: NamedEntityComponent,
- selectors: [["evt-named-entity"]],
- viewQuery: function NamedEntityComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵviewQuery"](_c0, true);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.entityDetails = _t.first);
- }
- },
- inputs: {
- data: "data",
- inList: "inList"
- },
- decls: 1,
- vars: 1,
- consts: [[3, "class", "ngClass", "evtHtmlAttributes", "click", 4, "ngIf"], [3, "ngClass", "evtHtmlAttributes", "click"], [1, "card-header", "ne-header", 3, "click"], [3, "iconInfo", 4, "ngIf"], ["renderer", "NamedEntity", "pinType", "NamedEntities", 3, "item"], ["class", "card-body ne-content", 4, "ngIf"], [3, "iconInfo"], [1, "card-body", "ne-content"], ["ngbNav", "", 1, "entity-details", 3, "activeId"], ["entityDetails", "ngbNav"], [3, "ngbNavItem", "disabled"], ["ngbNavLink", "", 1, "ui-font"], ["ngbNavContent", ""], [3, "ngbNavItem"], [3, "ngbNavOutlet"], [1, "ne-detail-content"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], ["class", "ne-detail-content ui-font", 4, "ngIf"], [1, "ne-detail-content", "ui-font"], [4, "ngIf"], [3, "occurrence", "entityId", 4, "ngFor", "ngForOf"], [3, "occurrence", "entityId"], [1, "ne-detail-content", "no-padding"], [3, "originalEncoding"]],
- template: function NamedEntityComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NamedEntityComponent_div_0_Template, 9, 15, "div", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgClass"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__["HtmlAttributesDirective"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_8__["PinnerComponent"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_9__["IconComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__["NgbNav"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__["NgbNavLink"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__["NgbNavContent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__["NgbNavOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__["ContentViewerComponent"], _named_entity_occurrence_named_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_12__["NamedEntityOccurrenceComponent"], _original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_13__["OriginalEncodingViewerComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_14__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"]],
- styles: ["[_nghost-%COMP%] .ne-container {\n font-size: 90%;\n border-top-left-radius: 0;\n}\n[_nghost-%COMP%] .ne-container.inList {\n border-radius: 0;\n margin-bottom: 1px;\n}\n[_nghost-%COMP%] .ne-container.inList .ne-header {\n padding: 5px 7px;\n border-top-right-radius: 0;\n cursor: pointer;\n}\n[_nghost-%COMP%] .ne-container.contentOpened .ne-header {\n border-bottom: 3px double #000 !important;\n}\n[_nghost-%COMP%] .ne-container.person {\n border-color: #FFF0F2;\n}\n[_nghost-%COMP%] .ne-container.person * {\n border-color: #FFF0F2;\n}\n[_nghost-%COMP%] .ne-container.person .ne-header, [_nghost-%COMP%] .ne-container.person .ne-content {\n background: #FFF0F2;\n}\n[_nghost-%COMP%] .ne-container.person .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.person .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.person .nav-item:focus, [_nghost-%COMP%] .ne-container.person .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.person .entity-details .nav-link {\n color: #000;\n background-color: #FFF0F2;\n border-color: #ffcdd2;\n}\n[_nghost-%COMP%] .ne-container.person .entity-details .nav-link.active {\n background-color: #ffcdd2;\n}\n[_nghost-%COMP%] .ne-container.person .entity-details .nav-link:hover:not(.active):not(.disabled) {\n background: rgba(255, 205, 210, 0.5);\n}\n[_nghost-%COMP%] .ne-container.person .entity-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.person .ne-detail-content {\n background-color: #ffcdd2;\n}\n[_nghost-%COMP%] .ne-container.person .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.person .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.person .ne-occurrence:hover {\n background: rgba(255, 255, 255, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.person .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-container.place {\n border-color: #c8e6c9;\n}\n[_nghost-%COMP%] .ne-container.place * {\n border-color: #c8e6c9;\n}\n[_nghost-%COMP%] .ne-container.place .ne-header, [_nghost-%COMP%] .ne-container.place .ne-content {\n background: #c8e6c9;\n}\n[_nghost-%COMP%] .ne-container.place .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.place .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.place .nav-item:focus, [_nghost-%COMP%] .ne-container.place .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.place .entity-details .nav-link {\n color: #000;\n background-color: #c8e6c9;\n border-color: #A5D6A7;\n}\n[_nghost-%COMP%] .ne-container.place .entity-details .nav-link.active {\n background-color: #A5D6A7;\n}\n[_nghost-%COMP%] .ne-container.place .entity-details .nav-link:hover:not(.active):not(.disabled) {\n background: rgba(165, 214, 167, 0.5);\n}\n[_nghost-%COMP%] .ne-container.place .entity-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.place .ne-detail-content {\n background-color: #A5D6A7;\n}\n[_nghost-%COMP%] .ne-container.place .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.place .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.place .ne-occurrence:hover {\n background: rgba(255, 255, 255, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.place .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-container.org {\n border-color: #FFCC80;\n}\n[_nghost-%COMP%] .ne-container.org * {\n border-color: #FFCC80;\n}\n[_nghost-%COMP%] .ne-container.org .ne-header, [_nghost-%COMP%] .ne-container.org .ne-content {\n background: #FFCC80;\n}\n[_nghost-%COMP%] .ne-container.org .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.org .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.org .nav-item:focus, [_nghost-%COMP%] .ne-container.org .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.org .entity-details .nav-link {\n color: #000;\n background-color: #FFCC80;\n border-color: #FFB74D;\n}\n[_nghost-%COMP%] .ne-container.org .entity-details .nav-link.active {\n background-color: #FFB74D;\n}\n[_nghost-%COMP%] .ne-container.org .entity-details .nav-link:hover:not(.active):not(.disabled) {\n background: rgba(255, 183, 77, 0.5);\n}\n[_nghost-%COMP%] .ne-container.org .entity-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.org .ne-detail-content {\n background-color: #FFB74D;\n}\n[_nghost-%COMP%] .ne-container.org .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.org .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.org .ne-occurrence:hover {\n background: rgba(255, 255, 255, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.org .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-container.event {\n border-color: #ffffb0;\n}\n[_nghost-%COMP%] .ne-container.event * {\n border-color: #ffffb0;\n}\n[_nghost-%COMP%] .ne-container.event .ne-header, [_nghost-%COMP%] .ne-container.event .ne-content {\n background: #ffffb0;\n}\n[_nghost-%COMP%] .ne-container.event .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.event .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.event .nav-item:focus, [_nghost-%COMP%] .ne-container.event .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.event .entity-details .nav-link {\n color: #000;\n background-color: #ffffb0;\n border-color: #fcfc60;\n}\n[_nghost-%COMP%] .ne-container.event .entity-details .nav-link.active {\n background-color: #fcfc60;\n}\n[_nghost-%COMP%] .ne-container.event .entity-details .nav-link:hover:not(.active):not(.disabled) {\n background: rgba(252, 252, 96, 0.5);\n}\n[_nghost-%COMP%] .ne-container.event .entity-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.event .ne-detail-content {\n background-color: #fcfc60;\n}\n[_nghost-%COMP%] .ne-container.event .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.event .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.event .ne-occurrence:hover {\n background: rgba(255, 255, 255, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.event .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-header {\n padding: 3.5px 7px;\n border-top-left-radius: 0;\n}\n[_nghost-%COMP%] .ne-content {\n padding: 0;\n font-size: 80%;\n}\n[_nghost-%COMP%] .ne-detail-content {\n padding: 1rem;\n}\n[_nghost-%COMP%] .ne-detail-content.no-padding {\n padding: 0;\n}\n[_nghost-%COMP%] .ne-content .entity-details .nav-link {\n padding: 5px;\n border: none;\n}\n[_nghost-%COMP%] pre {\n padding-top: 0;\n margin: 0;\n \n}\n[_nghost-%COMP%] pre code {\n font-size: 85% !important;\n}\npre[_ngcontent-%COMP%] {\n white-space: pre-wrap;\n white-space: -moz-pre-wrap;\n white-space: -pre-wrap;\n white-space: -o-pre-wrap;\n word-wrap: break-word;\n width: 100%;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25hbWVkLWVudGl0eS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzRkU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gIC8qIGJhY2tncm91bmQ6ICNmZmY7Ki9cbiAgY29kZSB7XG4gICAgZm9udC1zaXplOiA4NSUgIWltcG9ydGFudDtcbiAgfVxufVxuXG5wcmUge1xuICB3aGl0ZS1zcGFjZTogcHJlLXdyYXA7XG4gIHdoaXRlLXNwYWNlOiAtbW96LXByZS13cmFwO1xuICB3aGl0ZS1zcGFjZTogLXByZS13cmFwO1xuICB3aGl0ZS1zcGFjZTogLW8tcHJlLXdyYXA7XG4gIHdvcmQtd3JhcDogYnJlYWstd29yZDtcbiAgd2lkdGg6IDEwMCU7XG59Il19 */"]
- });
- NamedEntityComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["NamedEntity"])], NamedEntityComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamedEntityComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-named-entity',
- templateUrl: './named-entity.component.html',
- styleUrls: ['./named-entity.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- inList: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- entityDetails: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"],
- args: ['entityDetails']
- }]
- });
- })();
- /***/
- },
- /***/
- "ka2K":
- /*!*************************************************************!*\
- !*** ./src/app/components/rendition/rendition.component.ts ***!
- \*************************************************************/
- /*! exports provided: RenditionComponent */
- /***/
- function ka2K(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RenditionComponent", function () {
- return RenditionComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _utils_js_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../utils/js-utils */
- "zSMA");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function RenditionComponent_ng_container_1_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "label");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](6, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 3, "scope"), ": ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate2"]("", ctx_r2.data.scope, " ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](6, 5, ctx_r2.scopeDescription$), "");
- }
- }
- function RenditionComponent_ng_container_1_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "label");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 2, "selector"), ": ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r3.data.selector);
- }
- }
- function RenditionComponent_ng_container_1_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "label");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 3, "scheme"), ": ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate2"]("", ctx_r4.data.scheme, " ", ctx_r4.data.schemeVersion, "");
- }
- }
- function RenditionComponent_ng_container_1_evt_content_viewer_9_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var element_r6 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r6);
- }
- }
- function RenditionComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, RenditionComponent_ng_container_1_div_1_Template, 7, 7, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, RenditionComponent_ng_container_1_div_2_Template, 6, 4, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, RenditionComponent_ng_container_1_div_3_Template, 6, 5, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](5, "label");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](7, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, RenditionComponent_ng_container_1_evt_content_viewer_9_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.scope);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.selector);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.scheme);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](7, 5, "rules"), ": ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.content);
- }
- }
- function RenditionComponent_ng_container_2_evt_content_viewer_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var element_r8 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r8);
- }
- }
- function RenditionComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "label");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, RenditionComponent_ng_container_2_evt_content_viewer_5_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", ctx_r1.data.id, ":");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.content);
- }
- }
- var RenditionComponent = /*#__PURE__*/function () {
- function RenditionComponent(translateService) {
- _classCallCheck(this, RenditionComponent);
- this.translateService = translateService;
- }
- _createClass(RenditionComponent, [{
- key: "scopeDescription$",
- get: function get() {
- if (this.data.scope) {
- var descKey = Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_6__["snakeToCamelCased"])("rendition-".concat(this.data.scope, "-desc"));
- return this.translateService.get(descKey).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(function (translation) {
- return translation === descKey ? '' : "(".concat(translation, ")");
- }));
- }
- return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["of"])('');
- }
- }]);
- return RenditionComponent;
- }();
- RenditionComponent.ɵfac = function RenditionComponent_Factory(t) {
- return new (t || RenditionComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"]));
- };
- RenditionComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: RenditionComponent,
- selectors: [["evt-rendition"]],
- inputs: {
- data: "data"
- },
- decls: 3,
- vars: 2,
- consts: [[1, "rendition"], [4, "ngIf"], ["class", "rendition-section rendition-scope", 4, "ngIf"], ["class", "rendition-section rendition-selector", 4, "ngIf"], ["class", "rendition-section rendition-scheme", 4, "ngIf"], [1, "rendition-section", "rendition-content"], [3, "content", 4, "ngFor", "ngForOf"], [1, "rendition-section", "rendition-scope"], [1, "rendition-section", "rendition-selector"], [1, "rendition-section", "rendition-scheme"], [3, "content"]],
- template: function RenditionComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, RenditionComponent_ng_container_1_Template, 10, 7, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, RenditionComponent_ng_container_2_Template, 6, 2, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.scope || ctx.data.selector || ctx.data.scheme);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.data.scope && !ctx.data.selector && !ctx.data.scheme && ctx.data.id);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_9__["ContentViewerComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["AsyncPipe"]],
- styles: [".rendition[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n.rendition-section[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n}\n.rendition[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n margin-bottom: 0;\n margin-right: 5px;\n font-weight: bolder;\n font-variant: all-small-caps;\n}\n .rendition-content span * {\n font-family: monospace;\n font-size: 0.9em;\n font-weight: lighter;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3JlbmRpdGlvbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLG1CQUFBO0FBQ0o7QUFDSTtFQUNJLGFBQUE7RUFDQSx1QkFBQTtFQUNBLDJCQUFBO0FBQ1I7QUFFSTtFQUNJLGdCQUFBO0VBQ0EsaUJBQUE7RUFDQSxtQkFBQTtFQUNBLDRCQUFBO0FBQVI7QUFJQTtFQUNJLHNCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxvQkFBQTtBQURKIiwiZmlsZSI6InJlbmRpdGlvbi5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5yZW5kaXRpb24ge1xuICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XG5cbiAgICAmLXNlY3Rpb24ge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBmbGV4LXN0YXJ0O1xuICAgIH1cblxuICAgIGxhYmVsIHtcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMDtcbiAgICAgICAgbWFyZ2luLXJpZ2h0OiA1cHg7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiBib2xkZXI7XG4gICAgICAgIGZvbnQtdmFyaWFudDogYWxsLXNtYWxsLWNhcHM7XG4gICAgfVxufVxuXG46Om5nLWRlZXAgLnJlbmRpdGlvbi1jb250ZW50IHNwYW4gKiB7XG4gICAgZm9udC1mYW1pbHk6IG1vbm9zcGFjZTtcbiAgICBmb250LXNpemU6IDAuOWVtO1xuICAgIGZvbnQtd2VpZ2h0OiBsaWdodGVyO1xufVxuIl19 */"]
- });
- RenditionComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_5__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Rendition"])], RenditionComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](RenditionComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-rendition',
- templateUrl: './rendition.component.html',
- styleUrls: ['./rendition.component.scss']
- }]
- }], function () {
- return [{
- type: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__["TranslateService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "lP9l":
- /*!**************************************************!*\
- !*** ./src/app/shortcuts/shortcuts.component.ts ***!
- \**************************************************/
- /*! exports provided: ShortcutsComponent */
- /***/
- function lP9l(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ShortcutsComponent", function () {
- return ShortcutsComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function ShortcutsComponent_div_1_span_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r3 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("type", item_r3.type);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", item_r3.text, " ");
- }
- }
- function ShortcutsComponent_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, ShortcutsComponent_div_1_span_5_Template, 2, 2, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var shortcut_r1 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, shortcut_r1.label), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", shortcut_r1.instructions);
- }
- }
- var ShortcutsComponent = /*#__PURE__*/function () {
- function ShortcutsComponent() {
- _classCallCheck(this, ShortcutsComponent);
- // tslint:disable-next-line: no-any
- this.shortcuts = []; // TODO: get rid of instructions
- this.initShortcuts();
- }
- _createClass(ShortcutsComponent, [{
- key: "initShortcuts",
- value: function initShortcuts() {
- this.shortcuts.push({
- label: 'OpenProjectInfo',
- instructions: [{
- type: 'key',
- text: 'ALT'
- }, {
- text: '+'
- }, {
- type: 'key',
- text: 'I'
- }]
- });
- this.shortcuts.push({
- label: 'OpenLists',
- instructions: [{
- type: 'key',
- text: 'ALT'
- }, {
- text: '+'
- }, {
- type: 'key',
- text: 'L'
- }]
- });
- this.shortcuts.push({
- label: 'OpenCurrentBookmark',
- instructions: [{
- type: 'key',
- text: 'ALT'
- }, {
- text: '+'
- }, {
- type: 'key',
- text: 'B'
- }]
- });
- this.shortcuts.push({
- label: 'OpenEVTInfo',
- instructions: [{
- type: 'key',
- text: 'ALT'
- }, {
- text: '+'
- }, {
- type: 'key',
- text: 'SHIFT'
- }, {
- text: '+'
- }, {
- type: 'key',
- text: 'E'
- }]
- });
- this.shortcuts.push({
- label: 'OpenShortcuts',
- instructions: [{
- type: 'key',
- text: 'ALT'
- }, {
- text: '+'
- }, {
- type: 'key',
- text: 'SHIFT'
- }, {
- text: '+'
- }, {
- type: 'key',
- text: 'S'
- }]
- }); // this.shortcuts.push({
- // label: 'ChangeView',
- // instructions: [
- // { type: 'key', text: 'ALT' },
- // { text: '+' },
- // { type: 'key', text: '1' },
- // { text: '/' },
- // { type: 'key', text: 'ALT' },
- // { text: '+' },
- // { type: 'key', text: '2' },
- // { text: '/' },
- // { type: 'key', text: 'ALT' },
- // { text: '+' },
- // { type: 'key', text: '3' },
- // { text: '...' }]
- // });
- // this.shortcuts.push({
- // label: 'ChangePage',
- // instructions: [
- // { type: 'key', text: '←' },
- // { text: 'and' },
- // { type: 'key', text: '→' }]
- // });
- // this.shortcuts.push({
- // label: 'ChangeDocument',
- // instructions: [
- // { type: 'key', text: '↑' },
- // { text: 'and' },
- // { type: 'key', text: '↓' }]
- // });
- // this.shortcuts.push({
- // label: 'FullScreen',
- // instructions: [
- // { type: 'key', text: 'ctrl' },
- // { text: '/' },
- // { type: 'key', text: 'cmd' },
- // { text: '+' },
- // { type: 'key', text: 'alt' },
- // { text: '+' },
- // { type: 'key', text: 'shift' },
- // { text: '+' },
- // { type: 'key', text: 'f' }]
- // });
- // this.shortcuts.push({
- // label: 'FullScreen',
- // instructions: [
- // { type: 'key', text: 'ctrl' },
- // { text: '/' },
- // { type: 'key', text: 'cmd' },
- // { text: '+' },
- // { type: 'key', text: 'alt' },
- // { text: '+' },
- // { type: 'key', text: 'f' }]
- // });
- this.shortcuts.push({
- label: 'CloseModalIfOpened',
- instructions: [{
- type: 'key',
- text: 'ESC'
- }]
- });
- }
- }]);
- return ShortcutsComponent;
- }();
- ShortcutsComponent.ɵfac = function ShortcutsComponent_Factory(t) {
- return new (t || ShortcutsComponent)();
- };
- ShortcutsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: ShortcutsComponent,
- selectors: [["evt-shortcuts"]],
- decls: 2,
- vars: 1,
- consts: [[1, "container"], ["class", "row mb-2 border-bottom pb-2 pt-2", 4, "ngFor", "ngForOf"], [1, "row", "mb-2", "border-bottom", "pb-2", "pt-2"], [1, "col"], ["class", "shortcuts-instruction-item", 4, "ngFor", "ngForOf"], [1, "shortcuts-instruction-item"]],
- template: function ShortcutsComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ShortcutsComponent_div_1_Template, 6, 4, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.shortcuts);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["NgForOf"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_2__["TranslatePipe"]],
- styles: [".shortcuts-instruction-item[type=key][_ngcontent-%COMP%] {\n background: transparent linear-gradient(to bottom, #f0f0f0, #fcfcfc) repeat scroll 0% 0%;\n border-radius: 3px;\n color: #303030;\n border-width: 1px 1px 2px;\n border-style: solid;\n border-color: #e0e0e0;\n -o-border-image: none;\n border-image: none;\n white-space: nowrap;\n font-variant: small-caps;\n font-family: monospace;\n padding: 0px 3px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Nob3J0Y3V0cy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQUNJLHdGQUFBO0VBQ0Esa0JBQUE7RUFDQSxjQUFBO0VBQ0EseUJBQUE7RUFDQSxtQkFBQTtFQUNBLHFCQUFBO0VBQ0EscUJBQUE7S0FBQSxrQkFBQTtFQUNBLG1CQUFBO0VBQ0Esd0JBQUE7RUFDQSxzQkFBQTtFQUNBLGdCQUFBO0FBREoiLCJmaWxlIjoic2hvcnRjdXRzLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCAnLi4vLi4vYXNzZXRzL3Njc3MvbWl4aW5zJztcblxuLnNob3J0Y3V0cy1pbnN0cnVjdGlvbi1pdGVtW3R5cGU9XCJrZXlcIl0ge1xuICAgIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50IGxpbmVhci1ncmFkaWVudCh0byBib3R0b20sIHJnYigyNDAsIDI0MCwgMjQwKSwgcmdiKDI1MiwgMjUyLCAyNTIpKSByZXBlYXQgc2Nyb2xsIDAlIDAlO1xuICAgIGJvcmRlci1yYWRpdXM6IDNweDtcbiAgICBjb2xvcjogcmdiKDQ4LCA0OCwgNDgpO1xuICAgIGJvcmRlci13aWR0aDogMXB4IDFweCAycHg7XG4gICAgYm9yZGVyLXN0eWxlOiBzb2xpZDtcbiAgICBib3JkZXItY29sb3I6IHJnYigyMjQsIDIyNCwgMjI0KTtcbiAgICBib3JkZXItaW1hZ2U6IG5vbmU7XG4gICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gICAgZm9udC1mYW1pbHk6IG1vbm9zcGFjZTtcbiAgICBwYWRkaW5nOiAwcHggM3B4O1xufSJdfQ== */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ShortcutsComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-shortcuts',
- templateUrl: './shortcuts.component.html',
- styleUrls: ['./shortcuts.component.scss']
- }]
- }], function () {
- return [];
- }, null);
- })();
- /***/
- },
- /***/
- "lmze":
- /*!***********************************************************!*\
- !*** ./src/app/components/deletion/deletion.component.ts ***!
- \***********************************************************/
- /*! exports provided: DeletionComponent */
- /***/
- function lmze(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DeletionComponent", function () {
- return DeletionComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../directives/highlight.directive */
- "CmGG");
- /* harmony import */
- var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../directives/editorial-convention-layout.directive */
- "FJNG");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function DeletionComponent_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var element_r1 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight);
- }
- }
- var DeletionComponent = /*#__PURE__*/function () {
- function DeletionComponent() {
- _classCallCheck(this, DeletionComponent);
- }
- _createClass(DeletionComponent, [{
- key: "editorialConventionData",
- get: function get() {
- return {
- name: 'del',
- attributes: this.data.attributes,
- editionLevel: this.editionLevel,
- defaultsKey: 'deletion'
- };
- }
- }]);
- return DeletionComponent;
- }();
- DeletionComponent.ɵfac = function DeletionComponent_Factory(t) {
- return new (t || DeletionComponent)();
- };
- DeletionComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: DeletionComponent,
- selectors: [["evt-deletion"]],
- inputs: {
- data: "data"
- },
- decls: 2,
- vars: 6,
- consts: [[1, "del", 3, "evtHtmlAttributes", "evtHighlight", "evtEditorialConventionLayout"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight"]],
- template: function DeletionComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, DeletionComponent_evt_content_viewer_1_Template, 1, 5, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes)("evtHighlight", ctx.highlightData)("evtEditorialConventionLayout", ctx.editorialConventionData);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-edition", ctx.editionLevel)("data-rend", ctx.data.rend);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_4__["HtmlAttributesDirective"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_5__["HighlightDirective"], _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_6__["EditorialConventionLayoutDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_8__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJkZWxldGlvbi5jb21wb25lbnQuc2NzcyJ9 */"]
- });
- DeletionComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Deletion"])], DeletionComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DeletionComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-deletion',
- templateUrl: './deletion.component.html',
- styleUrls: ['./deletion.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "mQVh":
- /*!*******************************************************!*\
- !*** ./src/app/components/damage/damage.component.ts ***!
- \*******************************************************/
- /*! exports provided: DamageComponent */
- /***/
- function mQVh(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "DamageComponent", function () {
- return DamageComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../directives/editorial-convention-layout.directive */
- "FJNG");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function DamageComponent_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var element_r1 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight);
- }
- }
- var DamageComponent = /*#__PURE__*/function () {
- function DamageComponent() {
- _classCallCheck(this, DamageComponent);
- }
- _createClass(DamageComponent, [{
- key: "editorialConventionData",
- get: function get() {
- var _a;
- return {
- name: 'damage',
- attributes: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.attributes) || {},
- editionLevel: this.editionLevel,
- defaultsKey: 'damage'
- };
- }
- }]);
- return DamageComponent;
- }();
- DamageComponent.ɵfac = function DamageComponent_Factory(t) {
- return new (t || DamageComponent)();
- };
- DamageComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: DamageComponent,
- selectors: [["evt-damage"]],
- inputs: {
- data: "data"
- },
- decls: 2,
- vars: 5,
- consts: [[3, "evtEditorialConventionLayout"], [3, "content", "editionLevel", "itemsToHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight"]],
- template: function DamageComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, DamageComponent_evt_content_viewer_1_Template, 1, 3, "evt-content-viewer", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx.data["class"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtEditorialConventionLayout", ctx.editorialConventionData);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_directives_editorial_convention_layout_directive__WEBPACK_IMPORTED_MODULE_4__["EditorialConventionLayoutDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJkYW1hZ2UuY29tcG9uZW50LnNjc3MifQ== */"]
- });
- DamageComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Damage"])], DamageComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DamageComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-damage',
- templateUrl: './damage.component.html',
- styleUrls: ['./damage.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "n4Hk":
- /*!*****************************************************************************!*\
- !*** ./src/app/components/lemmatized-entity/lemmatized-entity.component.ts ***!
- \*****************************************************************************/
- /*! exports provided: LemmatizedEntityComponent */
- /***/
- function n4Hk(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "LemmatizedEntityComponent", function () {
- return LemmatizedEntityComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _utils_js_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../utils/js-utils */
- "zSMA");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../../pinboard/pinner/pinner.component */
- "j7gH");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _lemmatized_entity_occurrence_lemmatized_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! ./lemmatized-entity-occurrence/lemmatized-entity-occurrence.component */
- "/gd2");
- /* harmony import */
- var _original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
- /*! ../original-encoding-viewer/original-encoding-viewer.component */
- "7Sdm");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb"); // import { Attribute } from '@angular/core';
- // import { LemmatizedEntityLabel } from './../../models/evt-models';
- var _c0 = ["lemDetails"];
- var _c1 = function _c1() {
- return {
- icon: "caret-down",
- additionalClasses: "icon toggler mr-2"
- };
- };
- function LemmatizedEntityComponent_div_0_evt_icon_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c1));
- }
- }
- var _c2 = function _c2() {
- return {
- icon: "caret-right",
- additionalClasses: "icon toggler mr-2"
- };
- };
- function LemmatizedEntityComponent_div_0_evt_icon_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c2));
- }
- }
- var _c3 = function _c3() {
- return {
- icon: "map-marker",
- additionalClasses: "icon mr-1"
- };
- };
- function LemmatizedEntityComponent_div_0_evt_icon_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c3));
- }
- }
- function LemmatizedEntityComponent_div_0_evt_icon_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-icon", 6);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](1, _c3));
- }
- }
- function LemmatizedEntityComponent_div_0_div_8_ng_template_7_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 17);
- }
- if (rf & 2) {
- var detail_r11 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", detail_r11);
- }
- }
- function LemmatizedEntityComponent_div_0_div_8_ng_template_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityComponent_div_0_div_8_ng_template_7_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r7.data.content);
- }
- }
- function LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noLemOccurrences"));
- }
- }
- function LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_evt_lemmatized_entity_occurrence_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-lemmatized-entity-occurrence", 22);
- }
- if (rf & 2) {
- var occurrence_r16 = ctx.$implicit;
- var ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("occurrence", occurrence_r16)("entityLemId", ctx_r15.data.id);
- }
- }
- function LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 19);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_span_1_Template, 3, 3, "span", 20);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_evt_lemmatized_entity_occurrence_2_Template, 1, 2, "evt-lemmatized-entity-occurrence", 21);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var occurrences_r13 = ctx.ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", occurrences_r13.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", occurrences_r13);
- }
- }
- function LemmatizedEntityComponent_div_0_div_8_ng_template_12_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemmatizedEntityComponent_div_0_div_8_ng_template_12_div_0_Template, 3, 2, "div", 18);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
- }
- if (rf & 2) {
- var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 1, ctx_r8.occurrences$));
- }
- }
- function LemmatizedEntityComponent_div_0_div_8_ng_template_17_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-original-encoding-viewer", 24);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("originalEncoding", ctx_r9.data.originalEncoding);
- }
- }
- function LemmatizedEntityComponent_div_0_div_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul", 8, 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "li", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "a", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](6, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, LemmatizedEntityComponent_div_0_div_8_ng_template_7_Template, 2, 1, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "li", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](9, "a", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](11, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](12, LemmatizedEntityComponent_div_0_div_8_ng_template_12_Template, 2, 3, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](13, "li", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](14, "a", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](15);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](16, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](17, LemmatizedEntityComponent_div_0_div_8_ng_template_17_Template, 2, 1, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](18, "div", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](2);
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("activeId", ctx_r5.selectedSection);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "info_" + ctx_r5.data.id)("disabled", ctx_r5.data.content.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](6, 9, "Info"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "occurrences_" + ctx_r5.data.id);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](11, 11, "Occorrenze"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavItem", "xml_" + ctx_r5.data.id);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](16, 13, "XMLSource"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavOutlet", _r6);
- }
- }
- var _c4 = function _c4(a0, a1) {
- return {
- inList: a0,
- contentOpened: a1
- };
- };
- function LemmatizedEntityComponent_div_0_Template(rf, ctx) {
- if (rf & 1) {
- var _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityComponent_div_0_Template_div_click_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r18);
- var ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- return ctx_r17.tabSelected($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function LemmatizedEntityComponent_div_0_Template_div_click_1_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r18);
- var ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- return ctx_r19.toggleContent();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, LemmatizedEntityComponent_div_0_evt_icon_2_Template, 1, 2, "evt-icon", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, LemmatizedEntityComponent_div_0_evt_icon_3_Template, 1, 2, "evt-icon", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, LemmatizedEntityComponent_div_0_evt_icon_4_Template, 1, 2, "evt-icon", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, LemmatizedEntityComponent_div_0_evt_icon_5_Template, 1, 2, "evt-icon", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](7, "evt-pinner", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, LemmatizedEntityComponent_div_0_div_8_Template, 19, 15, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("card ne-container ", ctx_r0.data.lemmatizedEntityType, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](12, _c4, ctx_r0.inList, ctx_r0.contentOpened))("evtHtmlAttributes", ctx_r0.data == null ? null : ctx_r0.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.inList && ctx_r0.contentOpened);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.inList && !ctx_r0.contentOpened);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.lemmatizedEntityType === "lem");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.lemmatizedEntityType === "w");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", ctx_r0.data.label, " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", ctx_r0.data);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.contentOpened);
- }
- }
- var LemmatizedEntityComponent = /*#__PURE__*/function () {
- function LemmatizedEntityComponent(evtModelService) {
- var _this112 = this;
- _classCallCheck(this, LemmatizedEntityComponent);
- this.evtModelService = evtModelService;
- this.occurrences$ = this.evtModelService.lemsOccurrences$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (occ) {
- return occ[_this112.data.id] || [];
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.relations$ = this.evtModelService.relations$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (el) {
- return el.filter(function (rel) {
- return rel.activeParts.indexOf(_this112.data.id) >= 0 || rel.passiveParts.indexOf(_this112.data.id) >= 0 || rel.mutualParts.indexOf(_this112.data.id) >= 0;
- });
- }));
- this.contentOpened = true;
- }
- _createClass(LemmatizedEntityComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- if (this.inList) {
- this.contentOpened = false;
- }
- }
- }, {
- key: "toggleContent",
- value: function toggleContent() {
- if (this.inList) {
- this.contentOpened = !this.contentOpened;
- }
- }
- }, {
- key: "tabSelected",
- value: function tabSelected(event) {
- event.stopPropagation();
- }
- }, {
- key: "openlinkLem",
- value: function openlinkLem() {
- if (this.linkLem) {
- window.open(this.linkLem, '_blank');
- }
- }
- }, {
- key: "selectedSection",
- get: function get() {
- if (this.contentOpened) {
- return "".concat(this.data && this.data.content.length === 0 ? 'occurrences' : 'info', "_").concat(this.data.id);
- }
- return '';
- }
- }, {
- key: "linkLem",
- get: function get() {
- return Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_5__["normalizeUrl"])('http://tlio.ovi.cnr.it/TLIO/');
- }
- }]);
- return LemmatizedEntityComponent;
- }();
- LemmatizedEntityComponent.ɵfac = function LemmatizedEntityComponent_Factory(t) {
- return new (t || LemmatizedEntityComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]));
- };
- LemmatizedEntityComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: LemmatizedEntityComponent,
- selectors: [["evt-lemmatized-entity"]],
- viewQuery: function LemmatizedEntityComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵviewQuery"](_c0, true);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵloadQuery"]()) && (ctx.lemDetails = _t.first);
- }
- },
- inputs: {
- data: "data",
- inList: "inList"
- },
- decls: 1,
- vars: 1,
- consts: [[3, "class", "ngClass", "evtHtmlAttributes", "click", 4, "ngIf"], [3, "ngClass", "evtHtmlAttributes", "click"], [1, "card-header", "ne-header", 3, "click"], [3, "iconInfo", 4, "ngIf"], ["renderer", "LemmatizedEntity", "pinType", "LemmatizedEntities", 3, "item"], ["class", "card-body ne-content", 4, "ngIf"], [3, "iconInfo"], [1, "card-body", "ne-content"], ["ngbNav", "", 1, "lem-details", 3, "activeId"], ["lemDetails", "ngbNav"], [3, "ngbNavItem", "disabled"], ["ngbNavLink", "", 1, "ui-font"], ["ngbNavContent", ""], [3, "ngbNavItem"], [3, "ngbNavOutlet"], [1, "ne-detail-content"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], ["class", "ne-detail-content ui-font", 4, "ngIf"], [1, "ne-detail-content", "ui-font"], [4, "ngIf"], [3, "occurrence", "entityLemId", 4, "ngFor", "ngForOf"], [3, "occurrence", "entityLemId"], [1, "ne-detail-content", "no-padding"], [3, "originalEncoding"]],
- template: function LemmatizedEntityComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, LemmatizedEntityComponent_div_0_Template, 9, 15, "div", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgClass"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_8__["HtmlAttributesDirective"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_9__["PinnerComponent"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_10__["IconComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__["NgbNav"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__["NgbNavLink"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__["NgbNavContent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_11__["NgbNavOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_12__["ContentViewerComponent"], _lemmatized_entity_occurrence_lemmatized_entity_occurrence_component__WEBPACK_IMPORTED_MODULE_13__["LemmatizedEntityOccurrenceComponent"], _original_encoding_viewer_original_encoding_viewer_component__WEBPACK_IMPORTED_MODULE_14__["OriginalEncodingViewerComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_15__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]],
- styles: ["[_nghost-%COMP%] .ne-container {\n font-size: 90%;\n border-top-left-radius: 0;\n}\n[_nghost-%COMP%] .ne-container.inList {\n border-radius: 0;\n margin-bottom: 1px;\n}\n[_nghost-%COMP%] .ne-container.inList .ne-header {\n padding: 5px 7px;\n border-top-right-radius: 0;\n cursor: pointer;\n}\n[_nghost-%COMP%] .ne-container.contentOpened .ne-header {\n border-bottom: 3px double #000 !important;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.lem .nav-item:focus, [_nghost-%COMP%] .ne-container.lem .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.lem ul.lem-details.nav li.nav-item a.ui-font.nav-link.active {\n color: #000 !important;\n}\n[_nghost-%COMP%] .ne-container.lem .lem-details .nav-link {\n color: #000 !important;\n}\n[_nghost-%COMP%] .ne-container.lem .lem-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-occurrence:hover {\n background: rgba(167, 108, 108, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.lem .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-container.w .ne-header {\n position: relative;\n}\n[_nghost-%COMP%] .ne-container.w .ne-header evt-pinner {\n position: absolute;\n top: 0;\n right: 0;\n}\n[_nghost-%COMP%] .ne-container.w .nav-item:focus, [_nghost-%COMP%] .ne-container.w .nav-item a:focus {\n outline: none !important;\n}\n[_nghost-%COMP%] .ne-container.w ul.lem-details.nav li.nav-item a.ui-font.nav-link.active {\n color: #000 !important;\n}\n[_nghost-%COMP%] .ne-container.w .lem-details .nav-link {\n color: #000 !important;\n}\n[_nghost-%COMP%] .ne-container.w .lem-details .nav-link.disabled {\n pointer-events: auto;\n cursor: not-allowed;\n}\n[_nghost-%COMP%] .ne-container.w .ne-occurrence {\n border-radius: 4px;\n padding: 4px 6px;\n background: rgba(255, 255, 255, 0.5);\n margin-right: 3px;\n font-size: 0.7rem;\n margin-bottom: 3px;\n display: inline-block !important;\n cursor: pointer;\n line-height: 0.9rem;\n}\n[_nghost-%COMP%] .ne-container.w .ne-occurrence .ne-occurrence-count {\n top: -1px;\n position: relative;\n margin-left: 5px;\n border: 1px solid transparent;\n}\n[_nghost-%COMP%] .ne-container.w .ne-occurrence:hover {\n background: rgba(167, 108, 108, 0.8) !important;\n}\n[_nghost-%COMP%] .ne-container.w .ne-occurrence:hover .ne-occurrence-count {\n border: 1px solid #ccc;\n}\n[_nghost-%COMP%] .ne-header {\n padding: 3.5px 7px;\n border-top-left-radius: 0;\n}\n[_nghost-%COMP%] .ne-content {\n padding: 0;\n font-size: 80%;\n}\n[_nghost-%COMP%] .ne-detail-content {\n padding: 1rem;\n}\n[_nghost-%COMP%] .ne-detail-content.no-padding {\n padding: 0;\n}\n[_nghost-%COMP%] .ne-content .lem-details .nav-link {\n padding: 5px;\n border: none;\n}\n[_nghost-%COMP%] pre {\n padding-top: 0;\n margin: 0;\n background: #fff;\n}\n[_nghost-%COMP%] pre code {\n font-size: 85% !important;\n}\npre[_ngcontent-%COMP%] {\n white-space: pre-wrap;\n white-space: -moz-pre-wrap;\n white-space: -pre-wrap;\n white-space: -o-pre-wrap;\n word-wrap: break-word;\n width: 100%;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXR5LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtGRTtF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0ZS1zcGFjZTogLW8tcHJlLXdyYXA7XG4gIHdvcmQtd3JhcDogYnJlYWstd29yZDtcbiAgd2lkdGg6IDEwMCU7XG59Il19 */"]
- });
- LemmatizedEntityComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LemmatizedEntity"])], LemmatizedEntityComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](LemmatizedEntityComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-lemmatized-entity',
- templateUrl: './lemmatized-entity.component.html',
- styleUrls: ['./lemmatized-entity.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- inList: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- lemDetails: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewChild"],
- args: ['lemDetails']
- }]
- });
- })();
- /***/
- },
- /***/
- "nUY+":
- /*!***********************************************************!*\
- !*** ./src/app/services/xml-parsers/editorial-parsers.ts ***!
- \***********************************************************/
- /*! exports provided: SurplusParser, SicParser */
- /***/
- function nUY(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SurplusParser", function () {
- return SurplusParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SicParser", function () {
- return SicParser;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var SurplusParser_1, SicParser_1;
- var SurplusParser = SurplusParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA132) {
- _inherits(SurplusParser, _basic_parsers__WEBPA132);
- var _super329 = _createSuper(SurplusParser);
- function SurplusParser() {
- var _this113;
- _classCallCheck(this, SurplusParser);
- _this113 = _super329.apply(this, arguments);
- _this113.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], _this113.genericParse);
- return _this113;
- }
- _createClass(SurplusParser, [{
- key: "parse",
- value: function parse(xml) {
- var attributes = this.attributeParser.parse(xml);
- var reason = attributes.reason;
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Surplus"],
- reason: reason,
- "class": Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
- attributes: attributes
- };
- }
- }]);
- return SurplusParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"]);
- SurplusParser = SurplusParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('surplus', SurplusParser_1)], SurplusParser);
- var SicParser = SicParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA133) {
- _inherits(SicParser, _basic_parsers__WEBPA133);
- var _super330 = _createSuper(SicParser);
- function SicParser() {
- var _this114;
- _classCallCheck(this, SicParser);
- _this114 = _super330.apply(this, arguments);
- _this114.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], _this114.genericParse);
- return _this114;
- }
- _createClass(SicParser, [{
- key: "parse",
- value: function parse(xml) {
- var attributes = this.attributeParser.parse(xml);
- var type = attributes.type;
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Sic"],
- sicType: type || '',
- "class": Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
- attributes: attributes
- };
- }
- }]);
- return SicParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"]);
- SicParser = SicParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('sic', SicParser_1)], SicParser);
- /***/
- },
- /***/
- "ndd2":
- /*!*****************************************************!*\
- !*** ./src/app/components/verse/verse.component.ts ***!
- \*****************************************************/
- /*! exports provided: VerseComponent */
- /***/
- function ndd2(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "VerseComponent", function () {
- return VerseComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../app.config */
- "aR35");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../../directives/highlight.directive */
- "CmGG");
- function VerseComponent_evt_content_viewer_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
- }
- if (rf & 2) {
- var el_r1 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("evtHighlight", ctx_r0.highlightData)("textFlow", ctx_r0.textFlow);
- }
- }
- var VerseComponent = /*#__PURE__*/function () {
- function VerseComponent(evtModelService) {
- _classCallCheck(this, VerseComponent);
- this.evtModelService = evtModelService;
- this.verseNumberPrinter = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.verseNumberPrinter || 5;
- }
- _createClass(VerseComponent, [{
- key: "displayBlock$",
- get: function get() {
- var _this115 = this;
- return this.evtModelService.lines$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (lines) {
- return lines.length > 0;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (hasLines) {
- // In diplomatic and interpretative edition, if the text doesn't have any line, verses are shown as block items,
- // unless current text flow is prose
- // In critical edition verses are always shown as block items, unless current text flow is prose
- switch (_this115.editionLevel) {
- case 'diplomatic':
- case 'interpretative':
- return _this115.textFlow === 'verses' || !hasLines;
- case 'critical':
- return _this115.textFlow !== 'prose';
- }
- }));
- }
- }, {
- key: "showNumber",
- get: function get() {
- var num = parseInt(this.data.n, 10);
- return !isNaN(num) && num % this.verseNumberPrinter !== 0;
- }
- }]);
- return VerseComponent;
- }();
- VerseComponent.ɵfac = function VerseComponent_Factory(t) {
- return new (t || VerseComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]));
- };
- VerseComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: VerseComponent,
- selectors: [["evt-verse"]],
- inputs: {
- data: "data"
- },
- decls: 6,
- vars: 11,
- consts: [[1, "verse", "l", 3, "evtHtmlAttributes"], [1, "verse-num"], [3, "content", "editionLevel", "itemsToHighlight", "evtHighlight", "textFlow", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "evtHighlight", "textFlow"]],
- template: function VerseComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, VerseComponent_evt_content_viewer_5_Template, 1, 5, "evt-content-viewer", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("display-block", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 7, ctx.displayBlock$));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("hidden", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 9, ctx.displayBlock$) && ctx.showNumber);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx.data.n);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_9__["ContentViewerComponent"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_10__["HighlightDirective"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["AsyncPipe"]],
- styles: [".verse[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%] {\n position: relative;\n z-index: 1;\n margin-right: 5px;\n display: inline-flex;\n justify-content: center;\n min-width: 16px;\n height: 16px;\n color: #ffffff;\n font-size: 0.7em;\n}\n.verse[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%]:before {\n content: \"\";\n width: 100%;\n height: 100%;\n background: #800000;\n border-radius: 100%;\n border: 1px solid #000000;\n position: absolute;\n z-index: -1;\n}\n.verse.display-block[_ngcontent-%COMP%] {\n display: block;\n}\n[data-theme=restore][_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%] {\n color: #783a3a;\n}\n[data-theme=neutral][_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%] {\n color: #555;\n}\n[data-theme=modern][_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%] {\n color: #607d8b;\n}\n[data-theme=classic][_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%] {\n color: #8f776a;\n}\n.verse.display-block[_ngcontent-%COMP%] .verse-num[_ngcontent-%COMP%]:before {\n background: none;\n border: none;\n}\n.verse.display-block[_ngcontent-%COMP%] .verse-num.hidden[_ngcontent-%COMP%] {\n visibility: hidden;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3ZlcnNlLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlJO0VBQ0ksa0JBQUE7RUFDQSxVQUFBO0VBQ0EsaUJBQUE7RUFDQSxvQkFBQTtFQUNBLHVCQUFBO0VBQ0EsZUFBQTtFQUNBLFlBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7QUFIUjtBQUlRO0VBQ0ksV0FBQTtFQUNBLFdBQUE7RUFDQSxZQUFBO0VBQ0EsbUJBQUE7RUFDQSxtQkFBQTtFQUNBLHlCQUFBO0VBQ0Esa0JBQUE7RUFDQSxXQUFBO0FBRlo7QUFLSTtFQUNJLGNBQUE7QUFIUjtBQ2tFUTtFRDVEUSxjQUFBO0FBSGhCO0FDK0RRO0VENURRLFdBQUE7QUFBaEI7QUM0RFE7RUQ1RFEsY0FBQTtBQUdoQjtBQ3lEUTtFRDVEUSxjQUFBO0FBTWhCO0FBSlk7RUFDSSxnQkFBQTtFQUNBLFlBQUE7QUFNaEI7QUFKWTtFQUNJLGtCQUFBO0FBTWhCIiwiZmlsZSI6InZlcnNlLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCBcIi4uLy4uLy4uL2Fzc2V0cy9zY3NzL2NvbG9yc1wiO1xuQGltcG9ydCBcIi4uLy4uLy4uL2Fzc2V0cy9zY3NzL3RoZW1lc1wiO1xuXG4udmVyc2Uge1xuICAgIC52ZXJzZS1udW0ge1xuICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgICAgIHotaW5kZXg6IDE7XG4gICAgICAgIG1hcmdpbi1yaWdodDogNXB4O1xuICAgICAgICBkaXNwbGF5OiBpbmxpbmUtZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgICAgIG1pbi13aWR0aDogMTZweDtcbiAgICAgICAgaGVpZ2h0OiAxNnB4O1xuICAgICAgICBjb2xvcjogZ2V0LWNvbG9yKHZlcnNlc0NvbG9yKTtcbiAgICAgICAgZm9udC1zaXplOiAwLjdlbTtcbiAgICAgICAgJjpiZWZvcmUge1xuICAgICAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgICAgICAgIGJhY2tncm91bmQ6IGdldC1jb2xvcih2ZXJzZXNCYWNrZ3JvdW5kKTtcbiAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDEwMCU7XG4gICAgICAgICAgICBib3JkZXI6IDFweCBzb2xpZCBnZXQtY29sb3IodmVyc2VzQm9yZGVyKTtcbiAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgIHotaW5kZXg6IC0xO1xuICAgICAgICB9XG4gICAgfVxuICAgICYuZGlzcGxheS1ibG9jayB7XG4gICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICAudmVyc2UtbnVtIHtcbiAgICAgICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykgeyAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIGNvbG9yOiB0aGVtZWQoJ3NlY29uZGFyeUNvbG9yRGFyaycpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAmOmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogbm9uZTtcbiAgICAgICAgICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAg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y8gYGBgXG5AbWl4aW4gdGhlbWlmeVNlbGYoJHRoZW1lczogJHRoZW1lcykge1xuICAgIEBlYWNoICR0aGVtZSwgJG1hcCBpbiAkdGhlbWVzIHtcbiAgICAgICAgICZbZGF0YS10aGVtZT1cIiN7JHRoZW1lfVwiXSB7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiAoKSAhZ2xvYmFsO1xuICAgICAgICAgICAgQGVhY2ggJGtleSwgJHN1Ym1hcCBpbiAkbWFwIHtcbiAgICAgICAgICAgICAgICAkdmFsdWU6IG1hcC1nZXQobWFwLWdldCgkdGhlbWVzLCAkdGhlbWUpLCAnI3ska2V5fScpO1xuICAgICAgICAgICAgICAgICR0aGVtZS1tYXA6IG1hcC1tZXJnZSgkdGhlbWUtbWFwLCAoJGtleTogJHZhbHVlKSkgIWdsb2JhbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBjb250ZW50O1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogbnVsbCAhZ2xvYmFsO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"]
- });
- VerseComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_5__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Verse"])], VerseComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](VerseComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-verse',
- templateUrl: './verse.component.html',
- styleUrls: ['./verse.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_6__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "onZX":
- /*!********************************************!*\
- !*** ./src/app/services/themes.service.ts ***!
- \********************************************/
- /*! exports provided: ThemesService */
- /***/
- function onZX(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ThemesService", function () {
- return ThemesService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- var ThemesService = /*#__PURE__*/function () {
- function ThemesService() {
- _classCallCheck(this, ThemesService);
- this.themes = [{
- value: 'restore',
- label: 'themeRestore'
- }, {
- value: 'classic',
- label: 'themeClassic'
- }, {
- value: 'neutral',
- label: 'themeNeutral'
- }, {
- value: 'modern',
- label: 'themeModern'
- }];
- this.selectTheme(this.themes[0]);
- }
- _createClass(ThemesService, [{
- key: "selectTheme",
- value: function selectTheme(theme) {
- this.currentTheme = theme;
- document.body.setAttribute('data-theme', theme.value); // Needed to let ngb-popover and ngb-modals work properly with themes
- }
- }, {
- key: "getAvailableThemes",
- value: function getAvailableThemes() {
- return this.themes;
- }
- }, {
- key: "getCurrentTheme",
- value: function getCurrentTheme() {
- return this.currentTheme;
- }
- }]);
- return ThemesService;
- }();
- ThemesService.ɵfac = function ThemesService_Factory(t) {
- return new (t || ThemesService)();
- };
- ThemesService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: ThemesService,
- factory: ThemesService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ThemesService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [];
- }, null);
- })();
- /***/
- },
- /***/
- "pZd9":
- /*!*********************************************************!*\
- !*** ./src/app/components/ms-item/ms-item.component.ts ***!
- \*********************************************************/
- /*! exports provided: MsItemComponent */
- /***/
- function pZd9(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsItemComponent", function () {
- return MsItemComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/ms-desc-section/ms-desc-section.component */
- "WyXU");
- function MsItemComponent_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4, ":");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r0.data.locus);
- }
- }
- function MsItemComponent_evt_ms_desc_section_3_ng_container_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
- }
- if (rf & 2) {
- var title_r16 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", title_r16);
- }
- }
- function MsItemComponent_evt_ms_desc_section_3_ng_container_2_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- var _c0 = function _c0(a0) {
- return [a0];
- };
- function MsItemComponent_evt_ms_desc_section_3_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_3_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_3_ng_container_2_span_2_Template, 2, 0, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var titles_r12 = ctx.$implicit;
- var i_r13 = ctx.index;
- var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", titles_r12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r13 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r10.data.titles.length - 1));
- }
- }
- function MsItemComponent_evt_ms_desc_section_3_ng_container_3_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
- }
- if (rf & 2) {
- var docTitle_r21 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", docTitle_r21);
- }
- }
- function MsItemComponent_evt_ms_desc_section_3_ng_container_3_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function MsItemComponent_evt_ms_desc_section_3_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_3_ng_container_3_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_3_ng_container_3_span_2_Template, 2, 0, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var docTitles_r17 = ctx.$implicit;
- var i_r18 = ctx.index;
- var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", docTitles_r17);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r18 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r11.data.docTitles.length - 1));
- }
- }
- function MsItemComponent_evt_ms_desc_section_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_3_ng_container_2_Template, 3, 4, "ng-container", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsItemComponent_evt_ms_desc_section_3_ng_container_3_Template, 3, 4, "ng-container", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inlineLabel", true)("nestedElement", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.titles);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.docTitles);
- }
- }
- function MsItemComponent_evt_ms_desc_section_5_ng_container_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
- }
- if (rf & 2) {
- var textLang_r27 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", textLang_r27);
- }
- }
- function MsItemComponent_evt_ms_desc_section_5_ng_container_2_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function MsItemComponent_evt_ms_desc_section_5_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_5_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_5_ng_container_2_span_2_Template, 2, 0, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var textLangs_r23 = ctx.$implicit;
- var i_r24 = ctx.index;
- var ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", textLangs_r23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r24 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r22.data.textLangs.length - 1));
- }
- }
- function MsItemComponent_evt_ms_desc_section_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_5_ng_container_2_Template, 3, 4, "ng-container", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "textLang")("inlineLabel", true)("nestedElement", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.textLangs);
- }
- }
- function MsItemComponent_evt_ms_desc_section_6_span_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
- }
- if (rf & 2) {
- var author_r35 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", author_r35);
- }
- }
- function MsItemComponent_evt_ms_desc_section_6_span_2_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function MsItemComponent_evt_ms_desc_section_6_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_6_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_6_span_2_span_2_Template, 2, 0, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var authors_r31 = ctx.$implicit;
- var i_r32 = ctx.index;
- var ctx_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", authors_r31);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r32 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r28.data.authors.length - 1));
- }
- }
- function MsItemComponent_evt_ms_desc_section_6_span_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function MsItemComponent_evt_ms_desc_section_6_span_4_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
- }
- if (rf & 2) {
- var docAuthor_r40 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", docAuthor_r40);
- }
- }
- function MsItemComponent_evt_ms_desc_section_6_span_4_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- function MsItemComponent_evt_ms_desc_section_6_span_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_6_span_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_6_span_4_span_2_Template, 2, 0, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var docAuthors_r36 = ctx.$implicit;
- var i_r37 = ctx.index;
- var ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", docAuthors_r36);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r37 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r30.data.docAuthors.length - 1));
- }
- }
- function MsItemComponent_evt_ms_desc_section_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_6_span_2_Template, 3, 4, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsItemComponent_evt_ms_desc_section_6_span_3_Template, 2, 0, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsItemComponent_evt_ms_desc_section_6_span_4_Template, 3, 4, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "author")("inlineLabel", true)("nestedElement", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.data.authors);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r3.data.authors.length > 0 && ctx_r3.data.docAuthors.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.data.docAuthors);
- }
- }
- function MsItemComponent_evt_ms_desc_section_7_span_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
- }
- if (rf & 2) {
- var date_r44 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", date_r44);
- }
- }
- function MsItemComponent_evt_ms_desc_section_7_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_7_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var dates_r42 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", dates_r42);
- }
- }
- function MsItemComponent_evt_ms_desc_section_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_7_span_2_Template, 2, 1, "span", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "docDate")("inlineLabel", true)("nestedElement", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.data.docDate);
- }
- }
- function MsItemComponent_evt_ms_desc_section_8_span_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
- }
- if (rf & 2) {
- var colophon_r48 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", colophon_r48);
- }
- }
- function MsItemComponent_evt_ms_desc_section_8_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_8_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var colophons_r46 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", colophons_r46);
- }
- }
- function MsItemComponent_evt_ms_desc_section_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_8_span_2_Template, 2, 1, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "colophon")("inlineLabel", true)("nestedElement", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.colophons);
- }
- }
- function MsItemComponent_evt_ms_desc_section_9_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "incipit")("inlineLabel", true)("nestedElement", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r6.data.incipit);
- }
- }
- function MsItemComponent_evt_ms_desc_section_10_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 17);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "explicit")("inlineLabel", true)("nestedElement", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r7.data.explicit);
- }
- }
- function MsItemComponent_evt_ms_desc_section_11_span_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
- }
- if (rf & 2) {
- var docImprint_r52 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", docImprint_r52);
- }
- }
- function MsItemComponent_evt_ms_desc_section_11_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_11_span_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var docImprints_r50 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", docImprints_r50);
- }
- }
- function MsItemComponent_evt_ms_desc_section_11_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1, 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsItemComponent_evt_ms_desc_section_11_span_2_Template, 2, 1, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "docImprint")("inlineLabel", true)("nestedElement", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r8.data.docImprints);
- }
- }
- function MsItemComponent_evt_ms_desc_section_12_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 8);
- }
- if (rf & 2) {
- var n_r54 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", n_r54);
- }
- }
- function MsItemComponent_evt_ms_desc_section_12_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-ms-desc-section", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_evt_ms_desc_section_12_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "note")("inlineLabel", true)("nestedElement", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r9.data.noteEl);
- }
- }
- var MsItemComponent = function MsItemComponent() {
- _classCallCheck(this, MsItemComponent);
- };
- MsItemComponent.ɵfac = function MsItemComponent_Factory(t) {
- return new (t || MsItemComponent)();
- };
- MsItemComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: MsItemComponent,
- selectors: [["evt-ms-item"]],
- inputs: {
- data: "data",
- nested1: "nested1",
- nested2: "nested2"
- },
- decls: 13,
- vars: 14,
- consts: [[1, "flex-container", "section-msItem"], ["class", "flex-item-locus", 4, "ngIf"], [1, "flex-item-information"], [3, "inlineLabel", "nestedElement", 4, "ngIf"], [1, "msItem-information"], [3, "label", "inlineLabel", "nestedElement", 4, "ngIf"], [1, "flex-item-locus"], [1, "locus"], [3, "content"], [3, "inlineLabel", "nestedElement"], ["content", ""], [4, "ngFor", "ngForOf"], [3, "content", 4, "ngFor", "ngForOf"], [4, "ngIf"], [3, "label", "inlineLabel", "nestedElement"], ["content", "", 4, "ngFor", "ngForOf"], [1, "incipit", 3, "content"], [1, "explicit", 3, "content"]],
- template: function MsItemComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsItemComponent_div_1_Template, 5, 1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsItemComponent_evt_ms_desc_section_3_Template, 4, 4, "evt-ms-desc-section", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](4, 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsItemComponent_evt_ms_desc_section_5_Template, 3, 4, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsItemComponent_evt_ms_desc_section_6_Template, 5, 6, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, MsItemComponent_evt_ms_desc_section_7_Template, 3, 4, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, MsItemComponent_evt_ms_desc_section_8_Template, 3, 4, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, MsItemComponent_evt_ms_desc_section_9_Template, 2, 4, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](10, MsItemComponent_evt_ms_desc_section_10_Template, 2, 4, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](11, MsItemComponent_evt_ms_desc_section_11_Template, 3, 4, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](12, MsItemComponent_evt_ms_desc_section_12_Template, 2, 4, "evt-ms-desc-section", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("has-nested1", ctx.nested1)("has-nested2", ctx.nested2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.locus);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.titles == null ? null : ctx.data.titles.length) > 0 || (ctx.data == null ? null : ctx.data.docTitles == null ? null : ctx.data.docTitles.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.textLangs == null ? null : ctx.data.textLangs.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.authors == null ? null : ctx.data.authors.length) > 0 || (ctx.data == null ? null : ctx.data.docAuthors == null ? null : ctx.data.docAuthors.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.docDate == null ? null : ctx.data.docDate.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.colophons == null ? null : ctx.data.colophons.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.incipit);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.explicit);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.docImprints == null ? null : ctx.data.docImprints.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.noteEl == null ? null : ctx.data.noteEl.length) > 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_6__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"]],
- styles: [".flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-locus[_ngcontent-%COMP%] {\n flex-basis: 20%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n padding-right: 1rem;\n}\n\n.has-nested1[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.has-nested1[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.section-msItem[_ngcontent-%COMP%] {\n margin-bottom: 1rem;\n}\n\n.has-nested1[_ngcontent-%COMP%] {\n margin-left: 20%;\n}\n\n.has-nested2[_ngcontent-%COMP%] {\n margin-left: 36%;\n}\n\n.title[_ngcontent-%COMP%] {\n font-style: italic;\n}\n\n.locus[_ngcontent-%COMP%] {\n font-weight: bold;\n}\n\n.msItem-information[_ngcontent-%COMP%] {\n font-size: 0.95rem;\n}\n\n@media (min-width: 450px) {\n .has-nested1[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n .has-nested1[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 639px) {\n .has-nested1[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n .has-nested1[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 800px) {\n .has-nested1[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-locus[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n .has-nested1[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%], .has-nested2[_ngcontent-%COMP%] .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWl0ZW0uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSxlQUFBO0FBQ0o7O0FBRUE7RUFDSSxlQUFBO0FBQ0o7O0FBRUE7RUFDSSxlQUFBO0VBQ0EsbUJBQUE7QUFDSjs7QUFHSTtFQUNJLGdCQUFBO0FBQVI7O0FBR0k7RUFDSSxnQkFBQTtBQURSOztBQUtBO0VBQ0ksbUJBQUE7QUFGSjs7QUFLQTtFQUNJLGdCQUFBO0FBRko7O0FBS0E7RUFDSSxnQkFBQTtBQUZKOztBQUtBO0VBQ0ksa0JBQUE7QUFGSjs7QUFLQTtFQUNJLGlCQUFBO0FBRko7O0FBS0E7RUFDSSxrQkFBQTtBQUZKOztBQUtBO0VBRVE7SUFDSSxlQUFBO0VBSFY7RUFNTTtJQUNJLGVBQUE7RUFKVjtBQUNGOztBQVFBO0VBRV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A0NTBweCkge1xuICAgIC5oYXMtbmVzdGVkMSwgLmhhcy1uZXN0ZWQye1xuICAgICAgICAuZmxleC1pdGVtLWxvY3VzIHtcbiAgICAgICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICAgICAgfVxuICAgICAgICBcbiAgICAgICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA2MzlweCkge1xuICAgIC5oYXMtbmVzdGVkMSwgLmhhcy1uZXN0ZWQye1xuICAgICAgICAuZmxleC1pdGVtLWxvY3VzIHtcbiAgICAgICAgICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICAgICAgZmxleC1iYXNpczogMTAwJTtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDgwMHB4KSB7XG4gICAgLmhhcy1uZXN0ZWQxLCAuaGFzLW5lc3RlZDJ7XG4gICAgICAgIC5mbGV4LWl0ZW0tbG9jdXMge1xuICAgICAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgICB9XG4gICAgICAgIFxuICAgICAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICAgICAgfVxuICAgIH1cbn0iXX0= */"]
- });
- MsItemComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsItem"])], MsItemComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsItemComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-ms-item',
- templateUrl: './ms-item.component.html',
- styleUrls: ['./ms-item.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- nested1: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- nested2: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "qKvR":
- /*!***************************************************************************!*\
- !*** ./src/app/components/ms-desc-selector/ms-desc-selector.component.ts ***!
- \***************************************************************************/
- /*! exports provided: MsDescSelectorComponent */
- /***/
- function qKvR(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsDescSelectorComponent", function () {
- return MsDescSelectorComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! src/app/services/evt-model.service */
- "hI0h");
- var _c0 = ["ngSelectComponent"];
- var MsDescSelectorComponent = /*#__PURE__*/function () {
- function MsDescSelectorComponent(evtModelService) {
- _classCallCheck(this, MsDescSelectorComponent);
- this.evtModelService = evtModelService;
- this.msDesc$ = this.evtModelService.msDesc$;
- this.selectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.msDescOpen = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- _createClass(MsDescSelectorComponent, [{
- key: "openMsDescContent",
- value: function openMsDescContent() {
- this.selectionChange.emit(this.msDescID);
- this.msDescOpen.emit(true);
- }
- }, {
- key: "resetMsDesc",
- value: function resetMsDesc() {
- this.msDescOpen.emit(false);
- }
- }, {
- key: "msDescID",
- set: function set(p) {
- this._msDescID = p;
- },
- get: function get() {
- return this._msDescID;
- }
- }]);
- return MsDescSelectorComponent;
- }();
- MsDescSelectorComponent.ɵfac = function MsDescSelectorComponent_Factory(t) {
- return new (t || MsDescSelectorComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_1__["EVTModelService"]));
- };
- MsDescSelectorComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: MsDescSelectorComponent,
- selectors: [["evt-ms-desc-selector"]],
- viewQuery: function MsDescSelectorComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.ngSelectComponent = _t.first);
- }
- },
- inputs: {
- msDescID: "msDescID"
- },
- outputs: {
- selectionChange: "selectionChange",
- msDescOpen: "msDescOpen"
- },
- decls: 0,
- vars: 0,
- template: function MsDescSelectorComponent_Template(rf, ctx) {},
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJtcy1kZXNjLXNlbGVjdG9yLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MsDescSelectorComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-ms-desc-selector',
- templateUrl: './ms-desc-selector.component.html',
- styleUrls: ['./ms-desc-selector.component.scss']
- }]
- }], function () {
- return [{
- type: src_app_services_evt_model_service__WEBPACK_IMPORTED_MODULE_1__["EVTModelService"]
- }];
- }, {
- selectionChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }],
- msDescOpen: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }],
- ngSelectComponent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
- args: ['ngSelectComponent']
- }],
- msDescID: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "qoJN":
- /*!*************************************************!*\
- !*** ./src/app/components/components-mixins.ts ***!
- \*************************************************/
- /*! exports provided: Highlightable, EditionlevelSusceptible, TextFlowSusceptible */
- /***/
- function qoJN(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "Highlightable", function () {
- return Highlightable;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "EditionlevelSusceptible", function () {
- return EditionlevelSusceptible;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TextFlowSusceptible", function () {
- return TextFlowSusceptible;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL"); // tslint:disable-next-line: directive-class-suffix
- var Highlightable = function Highlightable() {
- _classCallCheck(this, Highlightable);
- };
- Highlightable.ɵfac = function Highlightable_Factory(t) {
- return new (t || Highlightable)();
- };
- Highlightable.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: Highlightable,
- inputs: {
- highlightData: "highlightData",
- highlightDataLem: "highlightDataLem",
- highlightDataIperlem: "highlightDataIperlem",
- itemsToHighlight: "itemsToHighlight",
- itemsLemsToHighlight: "itemsLemsToHighlight",
- itemsIperlemsToHighlight: "itemsIperlemsToHighlight"
- }
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](Highlightable, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"]
- }], null, {
- highlightData: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- highlightDataLem: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- highlightDataIperlem: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- itemsToHighlight: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- itemsLemsToHighlight: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- itemsIperlemsToHighlight: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })(); // tslint:disable-next-line: directive-class-suffix
- var EditionlevelSusceptible = function EditionlevelSusceptible() {
- _classCallCheck(this, EditionlevelSusceptible);
- };
- EditionlevelSusceptible.ɵfac = function EditionlevelSusceptible_Factory(t) {
- return new (t || EditionlevelSusceptible)();
- };
- EditionlevelSusceptible.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: EditionlevelSusceptible,
- inputs: {
- editionLevel: "editionLevel"
- }
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EditionlevelSusceptible, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"]
- }], null, {
- editionLevel: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })(); // tslint:disable-next-line: directive-class-suffix
- var TextFlowSusceptible = function TextFlowSusceptible() {
- _classCallCheck(this, TextFlowSusceptible);
- };
- TextFlowSusceptible.ɵfac = function TextFlowSusceptible_Factory(t) {
- return new (t || TextFlowSusceptible)();
- };
- TextFlowSusceptible.ɵdir = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: TextFlowSusceptible,
- inputs: {
- textFlow: "textFlow"
- }
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TextFlowSusceptible, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"]
- }], null, {
- textFlow: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "quyl":
- /*!**********************************************************!*\
- !*** ./src/app/services/xml-parsers/facsimile-parser.ts ***!
- \**********************************************************/
- /*! exports provided: ZoneParser, GraphicParser, SurfaceParser */
- /***/
- function quyl(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ZoneParser", function () {
- return ZoneParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GraphicParser", function () {
- return GraphicParser;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "SurfaceParser", function () {
- return SurfaceParser;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _basic_parsers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./basic-parsers */
- "bNiN");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var ZoneParser_1, GraphicParser_1, SurfaceParser_1;
- var ZoneParser = ZoneParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA134) {
- _inherits(ZoneParser, _basic_parsers__WEBPA134);
- var _super331 = _createSuper(ZoneParser);
- function ZoneParser() {
- var _this116;
- _classCallCheck(this, ZoneParser);
- _this116 = _super331.apply(this, arguments);
- _this116.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], _this116.genericParse);
- return _this116;
- }
- _createClass(ZoneParser, [{
- key: "parse",
- value: function parse(xml) {
- var _a, _b;
- var coords;
- var attributes = this.attributeParser.parse(xml);
- if (xml.getAttribute('points')) {
- coords = attributes.points.split(' ').map(function (stringPoint) {
- var points = stringPoint.split(',');
- return {
- x: parseInt(points[0], 10),
- y: parseInt(points[1], 10)
- };
- });
- } else {
- var ul = {
- x: parseFloat(attributes.ulx) || undefined,
- y: parseFloat(attributes.uly) || undefined
- };
- var lr = {
- x: parseFloat(attributes.lrx) || undefined,
- y: parseFloat(attributes.lry) || undefined
- };
- var ur = {
- x: lr.x,
- y: ul.y
- };
- var ll = {
- x: ul.x,
- y: lr.y
- };
- coords = [ul, ur, lr, ll];
- }
- var id = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getID"])(xml);
- var surface = xml.closest('surface');
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Zone"],
- attributes: attributes,
- id: id,
- coords: coords,
- corresp: (_b = (_a = attributes.corresp) === null || _a === void 0 ? void 0 : _a.replace('#', '')) !== null && _b !== void 0 ? _b : id,
- rend: attributes.rend,
- rendition: attributes.rendition,
- rotate: attributes.rotate ? parseInt(attributes.rotate, 10) || 0 : 0,
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
- surface: surface ? Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getID"])(surface) : ''
- };
- }
- }]);
- return ZoneParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"]);
- ZoneParser = ZoneParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('zone', ZoneParser_1)], ZoneParser);
- var GraphicParser = GraphicParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA135) {
- _inherits(GraphicParser, _basic_parsers__WEBPA135);
- var _super332 = _createSuper(GraphicParser);
- function GraphicParser() {
- var _this117;
- _classCallCheck(this, GraphicParser);
- _this117 = _super332.apply(this, arguments);
- _this117.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], _this117.genericParse);
- return _this117;
- }
- _createClass(GraphicParser, [{
- key: "parse",
- value: function parse(xml) {
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Graphic"],
- url: xml.getAttribute('url') || '',
- height: xml.getAttribute('height') || '',
- width: xml.getAttribute('width') || '',
- attributes: this.attributeParser.parse(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse)
- };
- }
- }]);
- return GraphicParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"]);
- GraphicParser = GraphicParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('graphic', GraphicParser_1)], GraphicParser);
- var SurfaceParser = SurfaceParser_1 = /*#__PURE__*/function (_basic_parsers__WEBPA136) {
- _inherits(SurfaceParser, _basic_parsers__WEBPA136);
- var _super333 = _createSuper(SurfaceParser);
- function SurfaceParser() {
- var _this118;
- _classCallCheck(this, SurfaceParser);
- _this118 = _super333.apply(this, arguments);
- _this118.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], _this118.genericParse);
- _this118.graphicParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(GraphicParser, _this118.genericParse);
- _this118.zoneParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(ZoneParser, _this118.genericParse);
- return _this118;
- }
- _createClass(SurfaceParser, [{
- key: "parse",
- value: function parse(xml) {
- var _this119 = this;
- var _a;
- var zones = Array.from(xml.querySelectorAll('zone')).map(function (z) {
- return _this119.zoneParser.parse(z);
- });
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Surface"],
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getID"])(xml),
- corresp: (_a = xml.getAttribute('corresp')) === null || _a === void 0 ? void 0 : _a.replace('#', ''),
- graphics: Array.from(xml.querySelectorAll('graphic')).map(function (g) {
- return _this119.graphicParser.parse(g);
- }),
- zones: {
- lines: zones.filter(function (z) {
- return z.rendition === 'Line';
- }),
- hotspots: zones.filter(function (z) {
- return z.rendition === 'HotSpot';
- })
- },
- attributes: this.attributeParser.parse(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse)
- };
- }
- }]);
- return SurfaceParser;
- }(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"]);
- SurfaceParser = SurfaceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('surface', SurfaceParser_1)], SurfaceParser);
- /***/
- },
- /***/
- "rRcO":
- /*!*******************************************************************!*\
- !*** ./src/app/components/global-lists/global-lists.component.ts ***!
- \*******************************************************************/
- /*! exports provided: GlobalListsComponent */
- /***/
- function rRcO(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GlobalListsComponent", function () {
- return GlobalListsComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function GlobalListsComponent_ng_template_2_ng_template_0_Template(rf, ctx) {}
- var _c0 = function _c0(a0) {
- return {
- list: a0,
- last: false
- };
- };
- function GlobalListsComponent_ng_template_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, GlobalListsComponent_ng_template_2_ng_template_0_Template, 0, 0, "ng-template", 9);
- }
- if (rf & 2) {
- var list_r6 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r4)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](2, _c0, list_r6));
- }
- }
- var _c1 = function _c1() {
- return {
- icon: "network-wired",
- additionalClasses: "mr-1"
- };
- };
- function GlobalListsComponent_div_4_Template(rf, ctx) {
- if (rf & 1) {
- var _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function GlobalListsComponent_div_4_Template_div_click_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);
- var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r8.openRelations();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "evt-icon", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](7, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c1));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 3, "relations"), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](7, 5, ctx_r1.relations$).length);
- }
- }
- function GlobalListsComponent_ng_container_8_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 15);
- }
- if (rf & 2) {
- var relation_r11 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", relation_r11);
- }
- }
- function GlobalListsComponent_ng_container_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, GlobalListsComponent_ng_container_8_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, ctx_r2.relations$));
- }
- }
- function GlobalListsComponent_ng_container_9_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 15);
- }
- if (rf & 2) {
- var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", ctx_r12.selectedList);
- }
- }
- function GlobalListsComponent_ng_container_9_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, GlobalListsComponent_ng_container_9_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 16);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r3.selectedList);
- }
- }
- var _c2 = function _c2(a0) {
- return {
- icon: a0,
- additionalClasses: "mr-1"
- };
- };
- function GlobalListsComponent_ng_template_10_evt_icon_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-icon", 12);
- }
- if (rf & 2) {
- var list_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().list;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](1, _c2, list_r13.icon));
- }
- }
- function GlobalListsComponent_ng_template_10_span_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var list_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().list;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](list_r13.content == null ? null : list_r13.content.length);
- }
- }
- function GlobalListsComponent_ng_template_10_div_6_ng_template_1_ng_template_0_Template(rf, ctx) {}
- var _c3 = function _c3(a0, a1) {
- return {
- list: a0,
- last: a1
- };
- };
- function GlobalListsComponent_ng_template_10_div_6_ng_template_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, GlobalListsComponent_ng_template_10_div_6_ng_template_1_ng_template_0_Template, 0, 0, "ng-template", 9);
- }
- if (rf & 2) {
- var sublist_r21 = ctx.$implicit;
- var last_r22 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
- var _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r4)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction2"](2, _c3, sublist_r21, last_r22));
- }
- }
- function GlobalListsComponent_ng_template_10_div_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 21);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, GlobalListsComponent_ng_template_10_div_6_ng_template_1_Template, 1, 5, "ng-template", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var list_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().list;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", list_r13.sublists);
- }
- }
- var _c4 = function _c4(a0, a1, a2, a3) {
- return {
- hidden: a0,
- "bg-dark": a1,
- "text-light": a2,
- "border-bottom": a3
- };
- };
- function GlobalListsComponent_ng_template_10_Template(rf, ctx) {
- if (rf & 1) {
- var _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 17);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function GlobalListsComponent_ng_template_10_Template_div_click_0_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r26);
- var list_r13 = ctx.list;
- var ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r25.openList($event, list_r13);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, GlobalListsComponent_ng_template_10_evt_icon_2_Template, 1, 3, "evt-icon", 18);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, GlobalListsComponent_ng_template_10_span_5_Template, 2, 1, "span", 19);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, GlobalListsComponent_ng_template_10_div_6_Template, 2, 1, "div", 20);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var list_r13 = ctx.list;
- var last_r14 = ctx.last;
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction4"](7, _c4, (list_r13.content == null ? null : list_r13.content.length) === 0, ctx_r5.selectedList === list_r13, ctx_r5.selectedList === list_r13, !last_r14));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", list_r13.icon);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 5, list_r13.label), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", (list_r13.content == null ? null : list_r13.content.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", list_r13.sublists.length > 0);
- }
- }
- var GlobalListsComponent = /*#__PURE__*/function () {
- function GlobalListsComponent(evtModelService) {
- var _this120 = this;
- _classCallCheck(this, GlobalListsComponent);
- this.evtModelService = evtModelService;
- this.lists$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(function (ne) {
- return ne.persons.lists.concat(ne.places.lists, ne.organizations.lists, ne.events.lists);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(function (lists) {
- return lists.map(function (list) {
- return Object.assign(Object.assign({}, list), {
- icon: _this120.listsIcons[list.namedEntityType] || 'list'
- });
- });
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(function (lists) {
- if (!_this120.selectedList && lists[0]) {
- _this120.openList(undefined, lists[0]);
- }
- }));
- this.relations$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(function (ne) {
- return ne.relations;
- }));
- this.showRelations = false;
- this.listsIcons = {
- person: 'user',
- place: 'map-marker',
- org: 'users',
- event: 'calendar'
- };
- }
- _createClass(GlobalListsComponent, [{
- key: "openList",
- value: function openList(event, list) {
- if (event) {
- event.stopPropagation();
- }
- if (this.selectedList !== list) {
- this.selectedList = list;
- }
- this.showRelations = false;
- }
- }, {
- key: "openRelations",
- value: function openRelations() {
- this.showRelations = true;
- this.selectedList = undefined;
- }
- }]);
- return GlobalListsComponent;
- }();
- GlobalListsComponent.ɵfac = function GlobalListsComponent_Factory(t) {
- return new (t || GlobalListsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]));
- };
- GlobalListsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: GlobalListsComponent,
- selectors: [["evt-global-lists"]],
- decls: 12,
- vars: 8,
- consts: [[1, "row", "h-100", "m-0"], [1, "bg-light", "col-3", "p-0", "border-right"], ["ngFor", "", 3, "ngForOf"], ["class", "list-item border-bottom border-top", 3, "click", 4, "ngIf"], [1, "col-9", "p-0"], [3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["listTemplate", ""], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "list-item", "border-bottom", "border-top", 3, "click"], [1, "list-item-main", "p-2", "w-100", "d-block", "edition-font"], [3, "iconInfo"], [1, "badge", "badge-pill", "badge-info", "ui-font"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "content", 4, "ngIf"], [1, "list-item", "border-bottom", 3, "ngClass", "click"], [3, "iconInfo", 4, "ngIf"], ["class", "badge badge-pill badge-info ui-font", 4, "ngIf"], ["class", "sub-list ml-3 border-left", 4, "ngIf"], [1, "sub-list", "ml-3", "border-left"]],
- template: function GlobalListsComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, GlobalListsComponent_ng_template_2_Template, 1, 4, "ng-template", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, GlobalListsComponent_div_4_Template, 8, 8, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](7, 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, GlobalListsComponent_ng_container_8_Template, 3, 3, "ng-container", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](9, GlobalListsComponent_ng_container_9_Template, 2, 1, "ng-container", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, GlobalListsComponent_ng_template_10_Template, 7, 12, "ng-template", null, 8, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 4, ctx.lists$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 6, ctx.relations$).length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitch", ctx.showRelations);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngSwitchCase", true);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgTemplateOutlet"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_4__["IconComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgClass"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__["TranslatePipe"]],
- styles: [".list-item[_ngcontent-%COMP%]:not(.active):hover, .sub-list-item[_ngcontent-%COMP%]:not(.active):hover {\n cursor: pointer;\n background: rgba(0, 0, 0, 0.1);\n}\n.list-item[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%], .sub-list-item[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%] {\n position: absolute;\n right: 0.5rem;\n margin-top: 0.3rem;\n}\n.toggler[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n.toggler[_ngcontent-%COMP%]:hover {\n opacity: 0.8;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2dsb2JhbC1saXN0cy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFSTs7RUFDSSxlQUFBO0VBQ0EsOEJBQUE7QUFBUjtBQUdJOztFQUNJLGtCQUFBO0VBQ0EsYUFBQTtFQUNBLGtCQUFBO0FBQVI7QUFJQTtFQUNJLGVBQUE7QUFESjtBQUdJO0VBQ0ksWUFBQTtBQURSIiwiZmlsZSI6Imdsb2JhbC1saXN0cy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5saXN0LWl0ZW0sXG4uc3ViLWxpc3QtaXRlbSB7XG4gICAgJjpub3QoLmFjdGl2ZSk6aG92ZXIge1xuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgICAgIGJhY2tncm91bmQ6IHJnYmEoMCwgMCwgMCwgLjEpO1xuICAgIH1cblxuICAgIC5iYWRnZSB7XG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgcmlnaHQ6IDAuNXJlbTtcbiAgICAgICAgbWFyZ2luLXRvcDogMC4zcmVtO1xuICAgIH1cbn1cblxuLnRvZ2dsZXIge1xuICAgIGN1cnNvcjogcG9pbnRlcjtcblxuICAgICY6aG92ZXIge1xuICAgICAgICBvcGFjaXR5OiAuODtcbiAgICB9XG59Il19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GlobalListsComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-global-lists',
- templateUrl: './global-lists.component.html',
- styleUrls: ['./global-lists.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "rbaJ":
- /*!*************************************************************!*\
- !*** ./src/app/components/tags-decl/tags-decl.component.ts ***!
- \*************************************************************/
- /*! exports provided: TagsDeclComponent */
- /***/
- function rbaJ(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "TagsDeclComponent", function () {
- return TagsDeclComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../ui-components/header-section/header-section.component */
- "iRdJ");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function TagsDeclComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function TagsDeclComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function TagsDeclComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
- }
- if (rf & 2) {
- var item_r9 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r9);
- }
- }
- function TagsDeclComponent_ng_template_3_evt_header_section_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, TagsDeclComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var label_r4 = ctx_r10.label;
- var class_r6 = ctx_r10["class"];
- var items_r5 = ctx_r10.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r4)("additionalClass", class_r6)("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r5);
- }
- }
- function TagsDeclComponent_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, TagsDeclComponent_ng_template_3_evt_header_section_0_Template, 3, 4, "evt-header-section", 3);
- }
- if (rf & 2) {
- var items_r5 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r5 == null ? null : items_r5.length) > 0);
- }
- }
- var _c0 = function _c0(a1) {
- return {
- label: "rendition",
- items: a1,
- "class": "rendition"
- };
- };
- var _c1 = function _c1(a1) {
- return {
- label: "namespace",
- items: a1,
- "class": "namespace"
- };
- };
- var TagsDeclComponent = function TagsDeclComponent() {
- _classCallCheck(this, TagsDeclComponent);
- };
- TagsDeclComponent.ɵfac = function TagsDeclComponent_Factory(t) {
- return new (t || TagsDeclComponent)();
- };
- TagsDeclComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: TagsDeclComponent,
- selectors: [["evt-tags-decl"]],
- inputs: {
- data: "data"
- },
- decls: 5,
- vars: 8,
- consts: [[1, "tagsDecl"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["section", ""], [3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]],
- template: function TagsDeclComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, TagsDeclComponent_ng_container_1_Template, 1, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, TagsDeclComponent_ng_container_2_Template, 1, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, TagsDeclComponent_ng_template_3_Template, 1, 1, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- var _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](4, _c0, ctx.data == null ? null : ctx.data.rendition));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](6, _c1, ctx.data == null ? null : ctx.data.namespace));
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_5__["HeaderSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJ0YWdzLWRlY2wuY29tcG9uZW50LnNjc3MifQ== */"]
- });
- TagsDeclComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["TagsDecl"])], TagsDeclComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](TagsDeclComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-tags-decl',
- templateUrl: './tags-decl.component.html',
- styleUrls: ['./tags-decl.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "ry9e":
- /*!*************************************************!*\
- !*** ./src/app/components/osd/osd.component.ts ***!
- \*************************************************/
- /*! exports provided: OsdComponent */
- /***/
- function ry9e(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "OsdComponent", function () {
- return OsdComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_polymorphic_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-polymorphic-models */
- "tv3h");
- /* harmony import */
- var _utils_js_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../utils/js-utils */
- "zSMA");
- /* harmony import */
- var _angular_common_http__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common/http */
- "tk/3");
- var _c0 = ["osd"];
- /*
- Observable<OsdTileSource[]>
- "@id": "https://www.e-codices.unifr.ch:443/loris/bge/bge-gr0044/bge-gr0044_e001.jp2/full/full/0/default.jpg",
- "@type": "dctypes:Image",
- "format": "image/jpeg",
- "height": 7304,
- "width": 5472,
- "service": {
- "@context": "http://iiif.io/api/image/2/context.json",
- "@id": "https://www.e-codices.unifr.ch/loris/bge/bge-gr0044/bge-gr0044_e001.jp2",
- "profile": "http://iiif.io/api/image/2/level2.json"
- }
- }
-
- To:
- {
- '@context': 'http://iiif.io/api/image/2/context.json',
- '@id': 'https://www.e-codices.unifr.ch/loris/bge/bge-gr0044/bge-gr0044_e001.jp2',
- 'profile': ['http://iiif.io/api/image/2/level2.json'],
- 'protocol': 'http://iiif.io/api/image',
- 'height': 7304,
- 'width': 5472,
- }
- */
- var OsdComponent = /*#__PURE__*/function () {
- function OsdComponent(http) {
- var _this121 = this;
- _classCallCheck(this, OsdComponent);
- this.http = http;
- this.optionsChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]({});
- this.sourceChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]([]);
- this.pageChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.subscriptions = [];
- this.subscriptions.push(this.pageChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])()).subscribe(function (x) {
- if (!!_this121.viewer) {
- _this121.viewer.goToPage(x - 1);
- }
- }));
- }
- _createClass(OsdComponent, [{
- key: "ngAfterViewInit",
- value: function ngAfterViewInit() {
- var _this122 = this;
- this.viewerId = Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_4__["uuid"])('openseadragon');
- this.div.nativeElement.id = this.viewerId;
- this.tileSources = _models_evt_polymorphic_models__WEBPACK_IMPORTED_MODULE_3__["ViewerSource"].getTileSource(this.sourceChange, this._viewerDataType, this.http);
- var commonOptions = {
- visibilityRatio: 0.1,
- minZoomLevel: 0.5,
- defaultZoomLevel: 1,
- sequenceMode: true,
- prefixUrl: 'assets/osd/images/',
- id: this.div.nativeElement.id,
- navigatorBackground: '#606060',
- showNavigator: false,
- gestureSettingsMouse: {
- clickToZoom: false,
- dblClickToZoom: true
- }
- };
- this.subscriptions.push(Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.optionsChange, this.tileSources]).subscribe(function (_ref78) {
- var _ref79 = _slicedToArray(_ref78, 2),
- _ = _ref79[0],
- tileSources = _ref79[1];
- if (!!tileSources) {
- _this122.viewer = OpenSeadragon(Object.assign(Object.assign({}, commonOptions), {
- tileSources: tileSources
- }));
- } else {
- _this122.viewer = OpenSeadragon(Object.assign(Object.assign({}, commonOptions), _this122.options));
- }
- _this122.viewer.addHandler('page', function (_ref80) {
- var page = _ref80.page;
- _this122.pageChange.next(page + 1);
- });
- }));
- }
- }, {
- key: "ngOnDestroy",
- value: function ngOnDestroy() {
- this.subscriptions.forEach(function (s) {
- return s.unsubscribe();
- });
- }
- }, {
- key: "options",
- set: function set(v) {
- if (v !== this._options) {
- this._options = v;
- this.optionsChange.next(this._options);
- }
- },
- get: function get() {
- return this._options;
- }
- }, {
- key: "viewerData",
- set: function set(v) {
- this._viewerDataType = v.type;
- this._viewerSource = _models_evt_polymorphic_models__WEBPACK_IMPORTED_MODULE_3__["ViewerSource"].getSource(v, v.type);
- this.sourceChange.next(this._viewerSource);
- }
- }, {
- key: "page",
- set: function set(v) {
- if (v !== this._page) {
- this._page = v;
- this.pageChange.next(this._page);
- }
- },
- get: function get() {
- return this._page;
- }
- }]);
- return OsdComponent;
- }();
- OsdComponent.ɵfac = function OsdComponent_Factory(t) {
- return new (t || OsdComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_5__["HttpClient"]));
- };
- OsdComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: OsdComponent,
- selectors: [["evt-osd"]],
- viewQuery: function OsdComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstaticViewQuery"](_c0, true, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.div = _t.first);
- }
- },
- inputs: {
- options: "options",
- viewerData: "viewerData",
- page: "page",
- text: "text"
- },
- outputs: {
- pageChange: "pageChange"
- },
- decls: 2,
- vars: 0,
- consts: [[1, "full-height"], ["osd", ""]],
- template: function OsdComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 0, 1);
- }
- },
- styles: [".full-height[_ngcontent-%COMP%] {\n height: 100vh;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL29zZC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGFBQUE7QUFDSiIsImZpbGUiOiJvc2QuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZnVsbC1oZWlnaHQge1xuICAgIGhlaWdodDogMTAwdmg7XG59Il19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](OsdComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-osd',
- templateUrl: './osd.component.html',
- styleUrls: ['./osd.component.scss']
- }]
- }], function () {
- return [{
- type: _angular_common_http__WEBPACK_IMPORTED_MODULE_5__["HttpClient"]
- }];
- }, {
- div: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
- args: ['osd', {
- read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"],
- "static": true
- }]
- }],
- options: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- viewerData: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- page: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- pageChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }],
- text: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "s1S/":
- /*!*******************************************************************!*\
- !*** ./src/app/components/project-info/project-info.component.ts ***!
- \*******************************************************************/
- /*! exports provided: ProjectInfoComponent */
- /***/
- function s1S(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ProjectInfoComponent", function () {
- return ProjectInfoComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- function ProjectInfoComponent_ng_container_2_ng_template_1_Template(rf, ctx) {}
- function ProjectInfoComponent_ng_container_2_ng_template_2_Template(rf, ctx) {}
- function ProjectInfoComponent_ng_container_2_ng_template_3_Template(rf, ctx) {}
- function ProjectInfoComponent_ng_container_2_ng_template_4_Template(rf, ctx) {}
- var _c0 = function _c0(a1) {
- return {
- key: "fileDesc",
- data: a1
- };
- };
- var _c1 = function _c1(a1) {
- return {
- key: "encodingDesc",
- data: a1
- };
- };
- var _c2 = function _c2(a1) {
- return {
- key: "profileDesc",
- data: a1
- };
- };
- var _c3 = function _c3(a1) {
- return {
- key: "revisionDesc",
- data: a1
- };
- };
- function ProjectInfoComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ProjectInfoComponent_ng_container_2_ng_template_1_Template, 0, 0, "ng-template", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ProjectInfoComponent_ng_container_2_ng_template_2_Template, 0, 0, "ng-template", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, ProjectInfoComponent_ng_container_2_ng_template_3_Template, 0, 0, "ng-template", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, ProjectInfoComponent_ng_container_2_ng_template_4_Template, 0, 0, "ng-template", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var projectInfo_r3 = ctx.ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- var _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](8, _c0, projectInfo_r3.fileDesc));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](10, _c1, projectInfo_r3.encodingDesc));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](12, _c2, projectInfo_r3.profileDesc));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](14, _c3, projectInfo_r3.revisionDesc));
- }
- }
- var _c4 = function _c4(a0, a1, a2) {
- return {
- hidden: a0,
- "bg-dark": a1,
- "text-light": a2
- };
- };
- function ProjectInfoComponent_ng_template_6_Template(rf, ctx) {
- if (rf & 1) {
- var _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ProjectInfoComponent_ng_template_6_Template_div_click_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11);
- var key_r8 = ctx.key;
- var data_r9 = ctx.data;
- var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r10.openSection(key_r8, data_r9);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "span", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var key_r8 = ctx.key;
- var data_r9 = ctx.data;
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction3"](4, _c4, !data_r9 || (data_r9.content == null ? null : data_r9.content.length) === 0, (ctx_r2.selectedSection == null ? null : ctx_r2.selectedSection.key) === key_r8, (ctx_r2.selectedSection == null ? null : ctx_r2.selectedSection.key) === key_r8));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, key_r8), " ");
- }
- }
- var ProjectInfoComponent = /*#__PURE__*/function () {
- function ProjectInfoComponent(evtModelService) {
- var _this123 = this;
- _classCallCheck(this, ProjectInfoComponent);
- this.evtModelService = evtModelService;
- this.projectInfo$ = this.evtModelService.projectInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["first"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(function (info) {
- return _this123.openSection('fileDesc', info.fileDesc);
- }));
- }
- _createClass(ProjectInfoComponent, [{
- key: "openSection",
- value: function openSection(key, content) {
- this.selectedSection = {
- key: key,
- content: content
- };
- }
- }]);
- return ProjectInfoComponent;
- }();
- ProjectInfoComponent.ɵfac = function ProjectInfoComponent_Factory(t) {
- return new (t || ProjectInfoComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]));
- };
- ProjectInfoComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: ProjectInfoComponent,
- selectors: [["evt-project-info"]],
- decls: 8,
- vars: 4,
- consts: [[1, "project-info-container", "row", "h-100", "m-0"], [1, "project-info-tabs", "bg-light", "col-3", "p-0", "h-100", "border-right"], [4, "ngIf"], [1, "project-info-content", "col-9", "p-3", "h-100"], [3, "content"], ["sectionTemplate", ""], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "section-item", "border-bottom", 3, "ngClass", "click"], [1, "p-2", "w-100", "d-block", "edition-font"]],
- template: function ProjectInfoComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ProjectInfoComponent_ng_container_2_Template, 5, 16, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](5, "evt-content-viewer", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, ProjectInfoComponent_ng_template_6_Template, 4, 8, "ng-template", null, 5, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 2, ctx.projectInfo$));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", ctx.selectedSection == null ? null : ctx.selectedSection.content);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_4__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgClass"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_5__["TranslatePipe"]],
- styles: [".project-info-container[_ngcontent-%COMP%] {\n overflow: hidden;\n}\n\n.project-info-tabs[_ngcontent-%COMP%], .project-info-content[_ngcontent-%COMP%] {\n overflow: auto;\n}\n\n.section-item[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n\n.section-item[_ngcontent-%COMP%]:not(.active):hover {\n cursor: pointer;\n background: rgba(0, 0, 0, 0.1);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3QtaW5mby5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGdCQUFBO0FBQ0o7O0FBRUE7O0VBRUksY0FBQTtBQUNKOztBQUVBO0VBQ0ksZUFBQTtBQUNKOztBQUNJO0VBQ0ksZUFBQTtFQUNBLDhCQUFBO0FBQ1IiLCJmaWxlIjoicHJvamVjdC1pbmZvLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnByb2plY3QtaW5mby1jb250YWluZXIge1xuICAgIG92ZXJmbG93OiBoaWRkZW47XG59XG5cbi5wcm9qZWN0LWluZm8tdGFicyxcbi5wcm9qZWN0LWluZm8tY29udGVudCB7XG4gICAgb3ZlcmZsb3c6IGF1dG87XG59XG5cbi5zZWN0aW9uLWl0ZW0ge1xuICAgIGN1cnNvcjogcG9pbnRlcjtcblxuICAgICY6bm90KC5hY3RpdmUpOmhvdmVyIHtcbiAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICBiYWNrZ3JvdW5kOiByZ2JhKDAsIDAsIDAsIDAuMSk7XG4gICAgfVxufVxuIl19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ProjectInfoComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-project-info',
- templateUrl: './project-info.component.html',
- styleUrls: ['./project-info.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]
- }];
- }, null);
- })();
- /***/
- },
- /***/
- "sMX/":
- /*!*******************************************************!*\
- !*** ./src/app/ui-components/ui-components.module.ts ***!
- \*******************************************************/
- /*! exports provided: UiComponentsModule */
- /***/
- function sMX(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "UiComponentsModule", function () {
- return UiComponentsModule;
- });
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @fortawesome/angular-fontawesome */
- "6NWb");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @ng-select/ng-select */
- "ZOsW");
- /* harmony import */
- var ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ng-dynamic-component */
- "CS/5");
- /* harmony import */
- var _app_translation_module__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../app-translation.module */
- "XOBg");
- /* harmony import */
- var _button_button_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ./button/button.component */
- "UjKN");
- /* harmony import */
- var _directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ./directives/click-outside.directive */
- "gCbp");
- /* harmony import */
- var _directives_escape_directive__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ./directives/escape.directive */
- "CimZ");
- /* harmony import */
- var _header_section_header_section_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ./header-section/header-section.component */
- "iRdJ");
- /* harmony import */
- var _icon_icon_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ./icon/icon.component */
- "Mijh");
- /* harmony import */
- var _modal_modal_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ./modal/modal.component */
- "P7wN");
- /* harmony import */
- var _panel_panel_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! ./panel/panel.component */
- "HiHV");
- var UiComponentsModule = function UiComponentsModule() {
- _classCallCheck(this, UiComponentsModule);
- };
- UiComponentsModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
- type: UiComponentsModule
- });
- UiComponentsModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
- factory: function UiComponentsModule_Factory(t) {
- return new (t || UiComponentsModule)();
- },
- imports: [[_angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"], _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeModule"], _app_translation_module__WEBPACK_IMPORTED_MODULE_6__["AppTranslationModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicAttributesModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbModule"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"]], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"]]
- });
- (function () {
- (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](UiComponentsModule, {
- declarations: [_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], _directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_8__["ClickOutsideDirective"], _directives_escape_directive__WEBPACK_IMPORTED_MODULE_9__["EscapeDirective"], _header_section_header_section_component__WEBPACK_IMPORTED_MODULE_10__["HeaderSectionComponent"], _icon_icon_component__WEBPACK_IMPORTED_MODULE_11__["IconComponent"], _modal_modal_component__WEBPACK_IMPORTED_MODULE_12__["ModalComponent"], _panel_panel_component__WEBPACK_IMPORTED_MODULE_13__["PanelComponent"]],
- imports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"], _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeModule"], _app_translation_module__WEBPACK_IMPORTED_MODULE_6__["AppTranslationModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicAttributesModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbModule"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"]],
- exports: [_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], _directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_8__["ClickOutsideDirective"], _directives_escape_directive__WEBPACK_IMPORTED_MODULE_9__["EscapeDirective"], _header_section_header_section_component__WEBPACK_IMPORTED_MODULE_10__["HeaderSectionComponent"], _icon_icon_component__WEBPACK_IMPORTED_MODULE_11__["IconComponent"], _modal_modal_component__WEBPACK_IMPORTED_MODULE_12__["ModalComponent"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"], _panel_panel_component__WEBPACK_IMPORTED_MODULE_13__["PanelComponent"]]
- });
- })();
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](UiComponentsModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"],
- args: [{
- declarations: [_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], _directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_8__["ClickOutsideDirective"], _directives_escape_directive__WEBPACK_IMPORTED_MODULE_9__["EscapeDirective"], _header_section_header_section_component__WEBPACK_IMPORTED_MODULE_10__["HeaderSectionComponent"], _icon_icon_component__WEBPACK_IMPORTED_MODULE_11__["IconComponent"], _modal_modal_component__WEBPACK_IMPORTED_MODULE_12__["ModalComponent"], _panel_panel_component__WEBPACK_IMPORTED_MODULE_13__["PanelComponent"]],
- imports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__["CommonModule"], _fortawesome_angular_fontawesome__WEBPACK_IMPORTED_MODULE_2__["FontAwesomeModule"], _app_translation_module__WEBPACK_IMPORTED_MODULE_6__["AppTranslationModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicAttributesModule"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_5__["DynamicModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbModule"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"]],
- exports: [_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], _directives_click_outside_directive__WEBPACK_IMPORTED_MODULE_8__["ClickOutsideDirective"], _directives_escape_directive__WEBPACK_IMPORTED_MODULE_9__["EscapeDirective"], _header_section_header_section_component__WEBPACK_IMPORTED_MODULE_10__["HeaderSectionComponent"], _icon_icon_component__WEBPACK_IMPORTED_MODULE_11__["IconComponent"], _modal_modal_component__WEBPACK_IMPORTED_MODULE_12__["ModalComponent"], _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__["NgSelectModule"], _panel_panel_component__WEBPACK_IMPORTED_MODULE_13__["PanelComponent"]],
- entryComponents: [_modal_modal_component__WEBPACK_IMPORTED_MODULE_12__["ModalComponent"]]
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "t1xl":
- /*!*******************************************************************************!*\
- !*** ./src/app/services/xml-parsers/character-declarations-parser.service.ts ***!
- \*******************************************************************************/
- /*! exports provided: CharacterDeclarationsParserService */
- /***/
- function t1xl(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CharacterDeclarationsParserService", function () {
- return CharacterDeclarationsParserService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- /* harmony import */
- var _character_declarations_parser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ./character-declarations-parser */
- "70Sg");
- /* harmony import */
- var _parser_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./parser-models */
- "YwZW");
- var CharacterDeclarationsParserService = /*#__PURE__*/function () {
- function CharacterDeclarationsParserService() {
- _classCallCheck(this, CharacterDeclarationsParserService);
- this.charParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_character_declarations_parser__WEBPACK_IMPORTED_MODULE_2__["CharParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
- this.glyphParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_character_declarations_parser__WEBPACK_IMPORTED_MODULE_2__["GlyphParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
- }
- _createClass(CharacterDeclarationsParserService, [{
- key: "parseChars",
- value: function parseChars(xml) {
- var _this124 = this;
- if (!xml) {
- return [];
- }
- return Array.from(xml.querySelectorAll('char')).map(function (c) {
- return _this124.charParser.parse(c);
- });
- }
- }, {
- key: "parseGlyphs",
- value: function parseGlyphs(xml) {
- var _this125 = this;
- if (!xml) {
- return [];
- }
- return Array.from(xml.querySelectorAll('glyph')).map(function (g) {
- return _this125.glyphParser.parse(g);
- });
- }
- }]);
- return CharacterDeclarationsParserService;
- }();
- CharacterDeclarationsParserService.ɵfac = function CharacterDeclarationsParserService_Factory(t) {
- return new (t || CharacterDeclarationsParserService)();
- };
- CharacterDeclarationsParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: CharacterDeclarationsParserService,
- factory: CharacterDeclarationsParserService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CharacterDeclarationsParserService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "t6RO":
- /*!***********************************************************************!*\
- !*** ./src/app/components/content-viewer/content-viewer.component.ts ***!
- \***********************************************************************/
- /*! exports provided: ContentViewerComponent */
- /***/
- function t6RO(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ContentViewerComponent", function () {
- return ContentViewerComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_entities_select_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/entities-select.service */
- "KA5I");
- /* harmony import */
- var _services_lems_select_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../services/lems-select.service */
- "Z5dB");
- /* harmony import */
- var _services_iperlems_select_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../services/iperlems-select.service */
- "LjVO");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var ng_dynamic_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ng-dynamic-component */
- "CS/5");
- var _c0 = ["container"];
- function ContentViewerComponent_ng_container_0_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](0);
- }
- }
- function ContentViewerComponent_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ContentViewerComponent_ng_container_0_ng_container_1_Template, 1, 0, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var context_r3 = ctx.ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- var _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1)("ngTemplateOutletContext", context_r3);
- }
- }
- function ContentViewerComponent_ng_template_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ndc-dynamic", 3);
- }
- if (rf & 2) {
- var parsedContent_r5 = ctx.parsedContent;
- var inputs_r6 = ctx.inputs;
- var outputs_r7 = ctx.outputs;
- var attributes_r8 = ctx.attributes;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ndcDynamicComponent", parsedContent_r5.type)("ndcDynamicInputs", inputs_r6)("ndcDynamicOutputs", outputs_r7)("ndcDynamicAttributes", attributes_r8);
- }
- }
- var ContentViewerComponent = /*#__PURE__*/function () {
- function ContentViewerComponent(componentRegister, entitiesSelectService, lemsSelectService, iperlemsSelectService) {
- var _this126 = this;
- _classCallCheck(this, ContentViewerComponent);
- this.componentRegister = componentRegister;
- this.entitiesSelectService = entitiesSelectService;
- this.lemsSelectService = lemsSelectService;
- this.iperlemsSelectService = iperlemsSelectService;
- this.contentChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
- this.itemsToHighlightChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]([]);
- this.itemsLemsToHighlightChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]([]);
- this.itemsIperlemsToHighlightChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]([]);
- this.editionLevelChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"]('');
- this.textFlowChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined); // tslint:disable-next-line: no-any
- this.parsedContent = this.contentChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (data) {
- var _a;
- return Object.assign(Object.assign({}, data), {
- type: _this126.componentRegister.getComponent((_a = data === null || data === void 0 ? void 0 : data.type) !== null && _a !== void 0 ? _a : _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["GenericElement"]) || _this126.componentRegister.getComponent(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["GenericElement"])
- });
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1)); // tslint:disable-next-line: no-any
- this.inputs = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.contentChange, this.itemsToHighlightChange, this.itemsLemsToHighlightChange, this.itemsIperlemsToHighlightChange, this.editionLevelChange, this.textFlowChange]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref81) {
- var _ref82 = _slicedToArray(_ref81, 6),
- data = _ref82[0],
- itemsToHighlight = _ref82[1],
- itemsLemsToHighlight = _ref82[2],
- itemsIperlemsToHighlight = _ref82[3],
- editionLevel = _ref82[4],
- textFlow = _ref82[5];
- if (_this126.toBeHighlighted()) {
- return {
- data: data,
- highlightData: _this126.getHighlightData(data, itemsToHighlight),
- highlightDataLem: _this126.getHighlightDataLem(data, itemsLemsToHighlight),
- highlightDataIperlem: _this126.getHighlightDataIperlem(data, itemsIperlemsToHighlight),
- itemsToHighlight: itemsToHighlight,
- itemsLemsToHighlight: itemsLemsToHighlight,
- itemsIperlemsToHighlight: itemsIperlemsToHighlight,
- editionLevel: editionLevel,
- textFlow: textFlow
- };
- }
- return {
- data: data,
- editionLevel: editionLevel,
- textFlow: textFlow
- };
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1)); // tslint:disable-next-line: ban-types
- this.outputs = this.contentChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function () {
- return {};
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.attributes = this.contentChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(function (parsedContent) {
- return !!parsedContent;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (parsedContent) {
- return Object.assign(Object.assign({}, parsedContent.attributes || {}), {
- "class": "edition-font ".concat(parsedContent["class"] || '')
- });
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.context$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([this.parsedContent, this.inputs, this.outputs, this.attributes]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref83) {
- var _ref84 = _slicedToArray(_ref83, 4),
- parsedContent = _ref84[0],
- inputs = _ref84[1],
- outputs = _ref84[2],
- attributes = _ref84[3];
- return {
- parsedContent: parsedContent,
- inputs: inputs,
- outputs: outputs,
- attributes: attributes
- };
- }));
- }
- _createClass(ContentViewerComponent, [{
- key: "toBeHighlighted",
- value: function toBeHighlighted() {
- return true; // TODO: Decide when an item should be highlighted
- }
- }, {
- key: "getHighlightData",
- value: function getHighlightData(data, ith) {
- var _this127 = this;
- var _a, _b;
- return {
- highlight: (_a = ith === null || ith === void 0 ? void 0 : ith.some(function (i) {
- var _a;
- return _this127.entitiesSelectService.matchClassAndAttributes(i.value, (_a = data === null || data === void 0 ? void 0 : data.attributes) !== null && _a !== void 0 ? _a : {}, data === null || data === void 0 ? void 0 : data["class"]);
- })) !== null && _a !== void 0 ? _a : false,
- highlightColor: this.entitiesSelectService.getHighlightColor((_b = data === null || data === void 0 ? void 0 : data.attributes) !== null && _b !== void 0 ? _b : {}, data === null || data === void 0 ? void 0 : data["class"], ith)
- };
- }
- }, {
- key: "getHighlightDataLem",
- value: function getHighlightDataLem(data, ithlems) {
- var _this128 = this;
- var _a, _b;
- return {
- highlight: (_a = ithlems === null || ithlems === void 0 ? void 0 : ithlems.some(function (i) {
- var _a;
- return _this128.lemsSelectService.matchClassAndAttributes(i.value, (_a = data === null || data === void 0 ? void 0 : data.attributes) !== null && _a !== void 0 ? _a : {}, data === null || data === void 0 ? void 0 : data["class"]);
- })) !== null && _a !== void 0 ? _a : false,
- highlightColor: this.lemsSelectService.getHighlightColor((_b = data === null || data === void 0 ? void 0 : data.attributes) !== null && _b !== void 0 ? _b : {}, data === null || data === void 0 ? void 0 : data["class"], ithlems)
- };
- }
- }, {
- key: "getHighlightDataIperlem",
- value: function getHighlightDataIperlem(data, ithiperlems) {
- var _this129 = this;
- var _a, _b;
- return {
- highlight: (_a = ithiperlems === null || ithiperlems === void 0 ? void 0 : ithiperlems.some(function (i) {
- var _a;
- return _this129.iperlemsSelectService.matchClassAndAttributes(i.value, (_a = data === null || data === void 0 ? void 0 : data.attributes) !== null && _a !== void 0 ? _a : {}, data === null || data === void 0 ? void 0 : data["class"]);
- })) !== null && _a !== void 0 ? _a : false,
- highlightColor: this.iperlemsSelectService.getHighlightColor((_b = data === null || data === void 0 ? void 0 : data.attributes) !== null && _b !== void 0 ? _b : {}, data === null || data === void 0 ? void 0 : data["class"], ithiperlems)
- };
- }
- }, {
- key: "ngOnDestroy",
- value: function ngOnDestroy() {
- if (this.componentRef) {
- this.componentRef.destroy();
- this.componentRef = undefined;
- }
- }
- }, {
- key: "content",
- set: function set(v) {
- this.v = v;
- this.contentChange.next(v);
- },
- get: function get() {
- return this.v;
- }
- }, {
- key: "itemsToHighlight",
- set: function set(i) {
- this.ith = i;
- this.itemsToHighlightChange.next(i);
- },
- get: function get() {
- return this.ith;
- }
- }, {
- key: "itemsLemsToHighlight",
- set: function set(i) {
- this.ithlems = i;
- this.itemsLemsToHighlightChange.next(i);
- },
- get: function get() {
- return this.ithlems;
- }
- }, {
- key: "itemsIperlemsToHighlight",
- set: function set(i) {
- this.ithiperlems = i;
- this.itemsIperlemsToHighlightChange.next(i);
- },
- get: function get() {
- return this.ithiperlems;
- }
- }, {
- key: "editionLevel",
- set: function set(el) {
- this.edLevel = el;
- this.editionLevelChange.next(el);
- },
- get: function get() {
- return this.edLevel;
- }
- }, {
- key: "textFlow",
- set: function set(t) {
- this.txtFlow = t;
- this.textFlowChange.next(t);
- },
- get: function get() {
- return this.txtFlow;
- }
- }]);
- return ContentViewerComponent;
- }();
- ContentViewerComponent.ɵfac = function ContentViewerComponent_Factory(t) {
- return new (t || ContentViewerComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["ComponentRegisterService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_entities_select_service__WEBPACK_IMPORTED_MODULE_5__["EntitiesSelectService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_lems_select_service__WEBPACK_IMPORTED_MODULE_6__["LemsSelectService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_iperlems_select_service__WEBPACK_IMPORTED_MODULE_7__["IperlemsSelectService"]));
- };
- ContentViewerComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: ContentViewerComponent,
- selectors: [["evt-content-viewer"]],
- viewQuery: function ContentViewerComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, true, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.container = _t.first);
- }
- },
- inputs: {
- content: "content",
- itemsToHighlight: "itemsToHighlight",
- itemsLemsToHighlight: "itemsLemsToHighlight",
- itemsIperlemsToHighlight: "itemsIperlemsToHighlight",
- editionLevel: "editionLevel",
- textFlow: "textFlow"
- },
- decls: 4,
- vars: 3,
- consts: [[4, "ngIf"], ["dynamicTemplate", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "ndcDynamicComponent", "ndcDynamicInputs", "ndcDynamicOutputs", "ndcDynamicAttributes"]],
- template: function ContentViewerComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, ContentViewerComponent_ng_container_0_Template, 2, 2, "ng-container", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ContentViewerComponent_ng_template_2_Template, 1, 4, "ng-template", null, 1, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, ctx.context$));
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgTemplateOutlet"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_9__["DynamicComponent"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_9__["DynamicIoDirective"], ng_dynamic_component__WEBPACK_IMPORTED_MODULE_9__["DynamicAttributesDirective"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_8__["AsyncPipe"]],
- encapsulation: 2
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ContentViewerComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-content-viewer',
- templateUrl: './content-viewer.component.html'
- }]
- }], function () {
- return [{
- type: _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["ComponentRegisterService"]
- }, {
- type: _services_entities_select_service__WEBPACK_IMPORTED_MODULE_5__["EntitiesSelectService"]
- }, {
- type: _services_lems_select_service__WEBPACK_IMPORTED_MODULE_6__["LemsSelectService"]
- }, {
- type: _services_iperlems_select_service__WEBPACK_IMPORTED_MODULE_7__["IperlemsSelectService"]
- }];
- }, {
- content: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- itemsToHighlight: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- itemsLemsToHighlight: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- itemsIperlemsToHighlight: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- container: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
- args: ['container', {
- read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]
- }]
- }],
- editionLevel: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- textFlow: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "tOBz":
- /*!*************************************************************!*\
- !*** ./src/app/view-modes/collation/collation.component.ts ***!
- \*************************************************************/
- /*! exports provided: CollationComponent */
- /***/
- function tOBz(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CollationComponent", function () {
- return CollationComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var angular_gridster2__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! angular-gridster2 */
- "Ljk9");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! src/app/services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../panels/text-panel/text-panel.component */
- "CHR5");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/button/button.component */
- "UjKN");
- /* harmony import */
- var _panels_witness_panel_witness_panel_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../panels/witness-panel/witness-panel.component */
- "9MqL");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- var _c0 = ["collationPanel"];
- function CollationComponent_gridster_7_gridster_item_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "evt-witness-panel", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("hide", function CollationComponent_gridster_7_gridster_item_1_Template_evt_witness_panel_hide_1_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6);
- var i_r4 = ctx.index;
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- return ctx_r5.removeWitness(i_r4);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var witness_r3 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", witness_r3.itemConfig);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("witness", witness_r3.label);
- }
- }
- function CollationComponent_gridster_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CollationComponent_gridster_7_gridster_item_1_Template, 2, 2, "gridster-item", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx_r1.collationOptions);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r1.getWitnesses());
- }
- }
- var CollationComponent = /*#__PURE__*/function () {
- function CollationComponent(evtStatusService) {
- _classCallCheck(this, CollationComponent);
- this.evtStatusService = evtStatusService;
- this.witnesses = [];
- this.options = {};
- this.textPanelItem = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 0
- };
- this.collationPanelItem = {
- cols: 1,
- rows: 1,
- y: 0,
- x: 1
- };
- this.collationOptions = {};
- this.subscriptions = [];
- this.currentPageID$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (_ref85) {
- var page = _ref85.page;
- return page.id;
- }));
- }
- _createClass(CollationComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this.initGridster();
- }
- }, {
- key: "changePage",
- value: function changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- }, {
- key: "getWitnesses",
- value: function getWitnesses() {
- return this.witnesses;
- }
- }, {
- key: "addWitness",
- value: function addWitness() {
- var id = (this.witnesses.length + 1).toString(); // TODO: TEMP
- var newWit = {
- label: id,
- itemConfig: {
- cols: 1,
- rows: 1,
- y: 0,
- x: this.witnesses.length + 1,
- id: id
- }
- };
- this.witnesses.push(newWit); // TODO: TEMP
- this.updateGridsterOptions(); // TODO: Come gestiamo la rotta nel caso di testimoni collazionati?
- }
- }, {
- key: "removeWitness",
- value: function removeWitness(index) {
- this.witnesses.splice(index, 1);
- this.updateGridsterOptions();
- }
- }, {
- key: "initGridster",
- value: function initGridster() {
- this.options = {
- gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
- displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
- margin: 0,
- maxCols: 2,
- maxRows: 1,
- draggable: {
- enabled: false
- },
- resizable: {
- enabled: false
- }
- };
- this.collationOptions = {
- gridType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit,
- displayGrid: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["DisplayGrid"].None,
- compactType: angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["CompactType"].CompactLeft,
- scrollToNewItems: true,
- margin: 0,
- maxRows: 1,
- draggable: {
- enabled: true,
- ignoreContent: true,
- dragHandleClass: 'panel-header'
- },
- resizable: {
- enabled: false
- },
- mobileBreakpoint: 0,
- itemResizeCallback: this.updateFixedColWidth.bind(this),
- itemChangeCallback: this.itemChange.bind(this)
- };
- }
- }, {
- key: "itemChange",
- value: function itemChange() {
- var updatedWitList = [];
- var _iterator2 = _createForOfIteratorHelper(this.witnesses),
- _step2;
- try {
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
- var witItem = _step2.value;
- var witIndex = witItem.itemConfig.x;
- updatedWitList[witIndex] = witItem.label;
- } // TODO: Use this list to update URL params
- } catch (err) {
- _iterator2.e(err);
- } finally {
- _iterator2.f();
- }
- console.log('TODO! Use this list to update URL params', updatedWitList);
- }
- }, {
- key: "updateGridsterOptions",
- value: function updateGridsterOptions() {
- this.options.maxCols = this.witnesses.length <= 1 ? 2 : 3;
- this.collationPanelItem.cols = this.witnesses.length <= 1 ? 1 : 2;
- this.collationOptions.maxCols = this.witnesses.length;
- this.collationOptions.gridType = this.witnesses.length <= 2 ? angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].Fit : angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridType"].HorizontalFixed;
- this.changedOptions();
- this.updateFixedColWidth();
- }
- }, {
- key: "changedOptions",
- value: function changedOptions() {
- if (this.options.api && this.options.api.optionsChanged) {
- this.options.api.optionsChanged();
- }
- if (this.collationOptions.api && this.collationOptions.api.optionsChanged) {
- this.collationOptions.api.optionsChanged();
- }
- }
- }, {
- key: "updateFixedColWidth",
- value: function updateFixedColWidth() {
- var collationPanelEl = this.collationPanel.nativeElement;
- var fixedColWidth = collationPanelEl.clientWidth * 0.416666666667;
- this.collationOptions.fixedColWidth = this.witnesses.length > 2 ? fixedColWidth : undefined;
- this.changedOptions();
- }
- }, {
- key: "ngOnDestroy",
- value: function ngOnDestroy() {
- this.subscriptions.forEach(function (subscription) {
- return subscription.unsubscribe();
- });
- }
- }, {
- key: "witnessBtn",
- get: function get() {
- return {
- label: this.witnesses.length > 0 ? '' : 'addWitness',
- title: this.witnesses.length > 0 ? 'addWitness' : '',
- additionalClasses: "btn-floating ".concat(this.witnesses.length > 0 ? 'rounded-circle' : ''),
- icon: {
- iconSet: 'fas',
- icon: 'plus'
- }
- };
- }
- }]);
- return CollationComponent;
- }();
- CollationComponent.ɵfac = function CollationComponent_Factory(t) {
- return new (t || CollationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]));
- };
- CollationComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: CollationComponent,
- selectors: [["evt-collation"]],
- viewQuery: function CollationComponent_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstaticViewQuery"](_c0, true);
- }
- if (rf & 2) {
- var _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.collationPanel = _t.first);
- }
- },
- decls: 11,
- vars: 23,
- consts: [[3, "options"], [3, "item"], [3, "pageID", "hideEditionLevelSelector", "editionLevelID", "pageChange"], [1, "collationPanel"], ["collationPanel", ""], [3, "options", 4, "ngIf"], [1, "btn", 3, "additionalClasses", "label", "iconLeft", "title", "btnClick"], [3, "item", 4, "ngFor", "ngForOf"], [3, "witness", "hide"]],
- template: function CollationComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "gridster", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "evt-text-panel", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("pageChange", function CollationComponent_Template_evt_text_panel_pageChange_2_listener($event) {
- return ctx.changePage($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "gridster-item", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 3, 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, CollationComponent_gridster_7_Template, 2, 2, "gridster", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "evt-button", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function CollationComponent_Template_evt_button_btnClick_8_listener() {
- return ctx.addWitness();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](10, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("options", ctx.options);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.textPanelItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("pageID", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 17, ctx.currentPageID$))("hideEditionLevelSelector", true)("editionLevelID", "critical");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("item", ctx.collationPanelItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("align-self-center", ctx.getWitnesses().length === 0)("empty", ctx.getWitnesses().length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.getWitnesses().length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("btn-float-right", ctx.getWitnesses().length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("additionalClasses", ctx.witnessBtn == null ? null : ctx.witnessBtn.additionalClasses)("label", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 19, ctx.witnessBtn == null ? null : ctx.witnessBtn.label))("iconLeft", ctx.witnessBtn == null ? null : ctx.witnessBtn.icon)("title", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](10, 21, ctx.witnessBtn == null ? null : ctx.witnessBtn.title));
- }
- },
- directives: [angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterComponent"], angular_gridster2__WEBPACK_IMPORTED_MODULE_1__["GridsterItemComponent"], _panels_text_panel_text_panel_component__WEBPACK_IMPORTED_MODULE_4__["TextPanelComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _panels_witness_panel_witness_panel_component__WEBPACK_IMPORTED_MODULE_7__["WitnessPanelComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"], _ngx_translate_core__WEBPACK_IMPORTED_MODULE_8__["TranslatePipe"]],
- styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.row[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n.collationPanel[_ngcontent-%COMP%] {\n height: 100%;\n}\n\n.collationPanel.empty[_ngcontent-%COMP%] {\n display: flex;\n}\n\n.collationPanel.empty[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] {\n margin: auto;\n}\n\n.btn-float-right[_ngcontent-%COMP%] {\n position: absolute;\n right: -0.3rem;\n transform: translate(0, -50%);\n top: 50%;\n z-index: 99999;\n opacity: 0.5;\n}\n\n.btn-float-right[_ngcontent-%COMP%]:hover {\n opacity: 1;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uLy4uL2NvbGxhdGlvbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyQkE7RUFDSSx5QkFBQTtFQUNBLHdCQUFBO0FDMUJKOztBQUFBO0VBQ0ksWUFBQTtBQUdKOztBQUFBO0VBQ0ksWUFBQTtBQUdKOztBQUZJO0VBQ0ksYUFBQTtBQUlSOztBQUZRO0VBQ0ksWUFBQTtBQUlaOztBQUNBO0VBQ0ksa0JBQUE7RUFDQSxjQUFBO0VBQ0EsNkJBQUE7RUFDQSxRQUFBO0VBQ0EsY0FBQTtFQUNBLFlBQUE7QUFFSjs7QUFESTtFQUNJLFVBQUE7QUFHUiIsImZpbGUiOiJjb2xsYXRpb24uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIvLyAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vIC8vXG4vLyBHTE9CQUwgU0NTUyBWQVJJQUJMRVMgQU5EIEJPT1RTVFJBUCBWQVJJQUJMRVMgT1ZFUlJJREVTIC8vXG4vLyAvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vIC8vXG5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H1cbn1cblxuLmJ0bi1mbG9hdC1yaWdodCB7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHJpZ2h0OiAtLjNyZW07XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUoMCwtNTAlKTtcbiAgICB0b3A6IDUwJTtcbiAgICB6LWluZGV4OiA5OTk5OTtcbiAgICBvcGFjaXR5OiAuNTtcbiAgICAmOmhvdmVyIHtcbiAgICAgICAgb3BhY2l0eTogMTtcbiAgICB9XG59Il19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CollationComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-collation',
- templateUrl: './collation.component.html',
- styleUrls: ['./collation.component.scss']
- }]
- }], function () {
- return [{
- type: src_app_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]
- }];
- }, {
- collationPanel: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
- args: ['collationPanel', {
- "static": true
- }]
- }]
- });
- })();
- /***/
- },
- /***/
- "tv3h":
- /*!**************************************************!*\
- !*** ./src/app/models/evt-polymorphic-models.ts ***!
- \**************************************************/
- /*! exports provided: ViewerSource */
- /***/
- function tv3h(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ViewerSource", function () {
- return ViewerSource;
- });
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _app_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ../app.config */
- "aR35");
- /* harmony import */
- var _utils_js_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../utils/js-utils */
- "zSMA");
- var ViewerController = /*#__PURE__*/function () {
- function ViewerController(classes) {
- _classCallCheck(this, ViewerController);
- this.factories = Object.fromEntries(Object.entries(classes).map(function (_ref86) {
- var _ref87 = _slicedToArray(_ref86, 2),
- key = _ref87[0],
- value = _ref87[1];
- return [key, new value()];
- }));
- }
- _createClass(ViewerController, [{
- key: "getSource",
- value: function getSource(source, type) {
- return this.factories[type].getSource(source);
- }
- }, {
- key: "getTileSource",
- value: function getTileSource(change, type, http) {
- return this.factories[type].getTileSource(change, http);
- }
- }, {
- key: "getDataType",
- value: function getDataType(type, data) {
- return this.factories[type].getDataType(type, data);
- }
- }]);
- return ViewerController;
- }();
- var ManifestSource = /*#__PURE__*/function () {
- function ManifestSource() {
- _classCallCheck(this, ManifestSource);
- }
- _createClass(ManifestSource, [{
- key: "getDataType",
- value: function getDataType(key) {
- return {
- type: key,
- value: {
- manifestURL: _app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.files.editionImagesSource[key].value
- }
- };
- }
- }, {
- key: "getSource",
- value: function getSource(source) {
- return source.value.manifestURL;
- }
- }, {
- key: "getTileSource",
- value: function getTileSource(change, http) {
- var _this130 = this;
- return change.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["filter"])(function (url) {
- return !!url;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["distinctUntilChanged"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["switchMap"])(function (url) {
- return http.get(url);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["map"])(function (manifest) {
- return manifest // get the resource fields in the manifest json structure
- .sequences.map(function (seq) {
- return seq.canvases.map(function (canv) {
- return canv.images;
- }).reduce(function (x, y) {
- return x.concat(y);
- }, []);
- }).reduce(function (x, y) {
- return x.concat(y);
- }, []).map(function (res) {
- return res.resource;
- }).map(_this130.buildTileSource);
- }));
- }
- }, {
- key: "buildTileSource",
- value: function buildTileSource(manifestResource) {
- return {
- '@context': manifestResource.service['@context'],
- '@id': manifestResource.service['@id'],
- profile: [manifestResource.service['@profile']],
- protocol: 'http://iiif.io/api/image',
- height: manifestResource.height,
- width: manifestResource.width
- };
- }
- }]);
- return ManifestSource;
- }();
- var XMLSource = /*#__PURE__*/function () {
- function XMLSource() {
- _classCallCheck(this, XMLSource);
- }
- _createClass(XMLSource, [{
- key: "getDataType",
- value: function getDataType(key, data) {
- var localImagesFolder = _app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.files.imagesFolderUrl;
- var xmlImages = data.map(function (s) {
- return s[_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.files.editionImagesSource[key].value] ? {
- url: Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_2__["isUrl"])(s.corresp) ? s.corresp : localImagesFolder + s.corresp
- } : {
- width: s[key][0].width,
- height: s[key][0].height,
- url: Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_2__["isUrl"])(s[key][0].url) ? s[key][0].url : localImagesFolder + s[key][0].url
- };
- });
- return {
- type: key,
- value: {
- xmlImages: xmlImages
- }
- };
- }
- }, {
- key: "getSource",
- value: function getSource(source) {
- return source.value.xmlImages;
- }
- }, {
- key: "getTileSource",
- value: function getTileSource(change) {
- var _this131 = this;
- return change.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["map"])(function (value) {
- return value.map(_this131.buildTileSource);
- }));
- }
- }, {
- key: "buildTileSource",
- value: function buildTileSource(resource) {
- return {
- type: 'image',
- url: resource.url,
- width: resource.width,
- height: resource.height
- };
- }
- }]);
- return XMLSource;
- }();
- var ViewerModels = Object.freeze({
- manifest: ManifestSource,
- graphics: XMLSource,
- "default": XMLSource
- });
- var ViewerSource = new ViewerController(ViewerModels);
- /***/
- },
- /***/
- "uIHG":
- /*!***************************************************************!*\
- !*** ./src/app/components/additional/additional.component.ts ***!
- \***************************************************************/
- /*! exports provided: AdditionalComponent */
- /***/
- function uIHG(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AdditionalComponent", function () {
- return AdditionalComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../ui-components/ms-desc-section/ms-desc-section.component */
- "WyXU");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function AdditionalComponent_div_2_evt_content_viewer_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
- }
- if (rf & 2) {
- var s_r9 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", s_r9);
- }
- }
- function AdditionalComponent_div_2_div_4_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var change_r12 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", change_r12);
- }
- }
- function AdditionalComponent_div_2_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, AdditionalComponent_div_2_div_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var changes_r10 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", changes_r10);
- }
- }
- function AdditionalComponent_div_2_evt_content_viewer_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var par_r13 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r13);
- }
- }
- function AdditionalComponent_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_2_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, AdditionalComponent_div_2_div_4_Template, 2, 1, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, AdditionalComponent_div_2_evt_content_viewer_5_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "recordHist")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.adminInfo.recordHist == null ? null : ctx_r0.data.adminInfo.recordHist.source);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.adminInfo.recordHist == null ? null : ctx_r0.data.adminInfo.recordHist.changes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.adminInfo.recordHist == null ? null : ctx_r0.data.adminInfo.recordHist.pEl);
- }
- }
- function AdditionalComponent_div_3_evt_content_viewer_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
- }
- if (rf & 2) {
- var ce_r16 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ce_r16);
- }
- }
- function AdditionalComponent_div_3_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var par_r17 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r17);
- }
- }
- function AdditionalComponent_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_3_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, AdditionalComponent_div_3_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "custodialHist")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.adminInfo.custodialHist == null ? null : ctx_r1.data.adminInfo.custodialHist.custEvent);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.adminInfo.custodialHist == null ? null : ctx_r1.data.adminInfo.custodialHist.pEl);
- }
- }
- function AdditionalComponent_div_4_div_3_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var availability_r21 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", availability_r21);
- }
- }
- function AdditionalComponent_div_4_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, AdditionalComponent_div_4_div_3_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var availabilities_r19 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", availabilities_r19);
- }
- }
- function AdditionalComponent_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_4_div_3_Template, 2, 1, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "availability")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.data.adminInfo.availabilities);
- }
- }
- function AdditionalComponent_div_5_evt_content_viewer_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var n_r23 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", n_r23);
- }
- }
- function AdditionalComponent_div_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_5_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "adminInfo")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r3.data.adminInfo.noteEl);
- }
- }
- function AdditionalComponent_div_6_div_3_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var listBibl_r27 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", listBibl_r27);
- }
- }
- function AdditionalComponent_div_6_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, AdditionalComponent_div_6_div_3_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var listBibls_r25 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", listBibls_r25);
- }
- }
- function AdditionalComponent_div_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_6_div_3_Template, 2, 1, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "listBibl")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.data.listBibls);
- }
- }
- function AdditionalComponent_div_7_evt_content_viewer_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var par_r30 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r30);
- }
- }
- function AdditionalComponent_div_7_div_4_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 10);
- }
- if (rf & 2) {
- var bibl_r33 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", bibl_r33);
- }
- }
- function AdditionalComponent_div_7_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, AdditionalComponent_div_7_div_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var bibls_r31 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", bibls_r31);
- }
- }
- function AdditionalComponent_div_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_7_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, AdditionalComponent_div_7_div_4_Template, 2, 1, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "surrogates")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.surrogates == null ? null : ctx_r5.data.surrogates.pEl);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.surrogates == null ? null : ctx_r5.data.surrogates.bibls);
- }
- }
- var AdditionalComponent = function AdditionalComponent() {
- _classCallCheck(this, AdditionalComponent);
- };
- AdditionalComponent.ɵfac = function AdditionalComponent_Factory(t) {
- return new (t || AdditionalComponent)();
- };
- AdditionalComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: AdditionalComponent,
- selectors: [["evt-additional"]],
- inputs: {
- data: "data"
- },
- decls: 8,
- vars: 8,
- consts: [[1, "additional"], [3, "label", "underline"], ["class", "flex-container", 4, "ngIf"], [1, "flex-container"], [1, "flex-item-label", 3, "label", "inlineLabel"], [1, "flex-item-information"], ["class", "projectInfo-block", 3, "content", 4, "ngFor", "ngForOf"], [4, "ngFor", "ngForOf"], [3, "content", 4, "ngFor", "ngForOf"], [1, "projectInfo-block", 3, "content"], [3, "content"]],
- template: function AdditionalComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, AdditionalComponent_div_2_Template, 6, 5, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, AdditionalComponent_div_3_Template, 5, 4, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, AdditionalComponent_div_4_Template, 4, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, AdditionalComponent_div_5_Template, 4, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, AdditionalComponent_div_6_Template, 4, 3, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, AdditionalComponent_div_7_Template, 5, 4, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "additional")("underline", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.adminInfo == null ? null : ctx.data.adminInfo.recordHist);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.adminInfo == null ? null : ctx.data.adminInfo.custodialHist);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.adminInfo == null ? null : ctx.data.adminInfo.availabilities == null ? null : ctx.data.adminInfo.availabilities.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.adminInfo == null ? null : ctx.data.adminInfo.noteEl == null ? null : ctx.data.adminInfo.noteEl.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.listBibls.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.surrogates);
- }
- },
- directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- styles: [".additional[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.projectInfo-block[_ngcontent-%COMP%] {\n display: block;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 1400px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL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lO1xuICAgIH1cbiB9XG4iXX0= */"]
- });
- AdditionalComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Additional"])], AdditionalComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](AdditionalComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-additional',
- templateUrl: './additional.component.html',
- styleUrls: ['./additional.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "uazz":
- /*!*************************************************************!*\
- !*** ./src/app/components/resp-stmt/resp-stmt.component.ts ***!
- \*************************************************************/
- /*! exports provided: RespStmtComponent */
- /***/
- function uazz(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "RespStmtComponent", function () {
- return RespStmtComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function RespStmtComponent_ng_container_1_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("(", ctx_r3.data.responsibility.date, ") ");
- }
- }
- function RespStmtComponent_ng_container_1_evt_content_viewer_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 5);
- }
- if (rf & 2) {
- var el_r5 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r5);
- }
- }
- function RespStmtComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function RespStmtComponent_ng_container_1_Template_span_click_1_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r7);
- var ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- return ctx_r6.openNormalizedResp(ctx_r6.data.responsibility);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, RespStmtComponent_ng_container_1_ng_container_2_Template, 2, 1, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, RespStmtComponent_ng_container_1_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("has-link", ctx_r0.data.responsibility.normalizedResp);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.data.responsibility.date);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.data.responsibility.content);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", " ", " ");
- }
- }
- function RespStmtComponent_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var subj_r8 = ctx.$implicit;
- var i_r9 = ctx.index;
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", subj_r8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](i_r9 < (ctx_r1.data == null ? null : ctx_r1.data.people.length) - 1 ? ", " : "");
- }
- }
- function RespStmtComponent_evt_content_viewer_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 5);
- }
- if (rf & 2) {
- var note_r10 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", note_r10);
- }
- }
- var RespStmtComponent = /*#__PURE__*/function () {
- function RespStmtComponent() {
- _classCallCheck(this, RespStmtComponent);
- }
- _createClass(RespStmtComponent, [{
- key: "openNormalizedResp",
- value: function openNormalizedResp(resp) {
- if (resp.normalizedResp) {
- window.open(resp.normalizedResp, '_blank');
- }
- }
- }]);
- return RespStmtComponent;
- }();
- RespStmtComponent.ɵfac = function RespStmtComponent_Factory(t) {
- return new (t || RespStmtComponent)();
- };
- RespStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: RespStmtComponent,
- selectors: [["evt-resp-stmt"]],
- inputs: {
- data: "data"
- },
- decls: 4,
- vars: 3,
- consts: [[1, "resp-stmt"], [4, "ngIf"], [4, "ngFor", "ngForOf"], [3, "content", 4, "ngFor", "ngForOf"], [1, "responsibility", 3, "click"], [3, "content"]],
- template: function RespStmtComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, RespStmtComponent_ng_container_1_Template, 5, 5, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, RespStmtComponent_span_2_Template, 4, 2, "span", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, RespStmtComponent_evt_content_viewer_3_Template, 1, 1, "evt-content-viewer", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.responsibility);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.people);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.notes);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]],
- styles: [".responsibility[_ngcontent-%COMP%] {\n font-weight: bold;\n}\n.responsibility.has-link[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Jlc3Atc3RtdC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGlCQUFBO0FBQ0o7QUFBSTtFQUNJLGVBQUE7QUFFUiIsImZpbGUiOiJyZXNwLXN0bXQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIucmVzcG9uc2liaWxpdHkge1xuICAgIGZvbnQtd2VpZ2h0OiBib2xkO1xuICAgICYuaGFzLWxpbmsge1xuICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgfVxufVxuIl19 */"]
- });
- RespStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["RespStmt"])], RespStmtComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](RespStmtComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-resp-stmt',
- templateUrl: './resp-stmt.component.html',
- styleUrls: ['./resp-stmt.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "v4aR":
- /*!*************************************************************************************!*\
- !*** ./src/app/components/named-entity-relation/named-entity-relation.component.ts ***!
- \*************************************************************************************/
- /*! exports provided: NamedEntityRelationComponent */
- /***/
- function v4aR(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntityRelationComponent", function () {
- return NamedEntityRelationComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../../ui-components/icon/icon.component */
- "Mijh");
- /* harmony import */
- var _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../named-entity/named-entity.component */
- "k8Vd");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../../pipes/humanize.pipe */
- "Wu1i");
- function NamedEntityRelationComponent_small_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "small", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "lowercase");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r0.data.relationType));
- }
- }
- function NamedEntityRelationComponent_ng_template_4_ng_template_0_Template(rf, ctx) {}
- var _c0 = function _c0(a0, a1) {
- return {
- part: a0,
- last: a1
- };
- };
- function NamedEntityRelationComponent_ng_template_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NamedEntityRelationComponent_ng_template_4_ng_template_0_Template, 0, 0, "ng-template", 8);
- }
- if (rf & 2) {
- var part_r8 = ctx.$implicit;
- var last_r9 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r8, last_r9));
- }
- }
- function NamedEntityRelationComponent_ng_template_6_ng_template_0_Template(rf, ctx) {}
- function NamedEntityRelationComponent_ng_template_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NamedEntityRelationComponent_ng_template_6_ng_template_0_Template, 0, 0, "ng-template", 8);
- }
- if (rf & 2) {
- var part_r11 = ctx.$implicit;
- var last_r12 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r11, last_r12));
- }
- }
- function NamedEntityRelationComponent_ng_template_11_ng_template_0_Template(rf, ctx) {}
- function NamedEntityRelationComponent_ng_template_11_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NamedEntityRelationComponent_ng_template_11_ng_template_0_Template, 0, 0, "ng-template", 8);
- }
- if (rf & 2) {
- var part_r14 = ctx.$implicit;
- var last_r15 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](2, _c0, part_r14, last_r15));
- }
- }
- function NamedEntityRelationComponent_evt_named_entity_13_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-named-entity", 9);
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r4.selectedEntity)("inList", false);
- }
- }
- function NamedEntityRelationComponent_div_14_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 12);
- }
- if (rf & 2) {
- var el_r18 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r18);
- }
- }
- function NamedEntityRelationComponent_div_14_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityRelationComponent_div_14_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r5.data.description);
- }
- }
- function NamedEntityRelationComponent_ng_template_15_Template(rf, ctx) {
- if (rf & 1) {
- var _r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NamedEntityRelationComponent_ng_template_15_Template_span_click_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r22);
- var part_r19 = ctx.part;
- var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- return ctx_r21.toggleEntity(part_r19.entity);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var part_r19 = ctx.part;
- var last_r20 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate1"]("relation-entity ", part_r19.entity == null ? null : part_r19.entity.namedEntityType, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("disabled", !part_r19.entity);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](part_r19.label + (!last_r20 ? ", " : ""));
- }
- }
- var _c1 = function _c1(a0, a1) {
- return {
- "p-3": a0,
- "border-bottom": a1
- };
- };
- var _c2 = function _c2() {
- return {
- icon: "network-wired",
- additionalClasses: "mr-2"
- };
- };
- var NamedEntityRelationComponent = /*#__PURE__*/function () {
- function NamedEntityRelationComponent(evtModelService) {
- _classCallCheck(this, NamedEntityRelationComponent);
- this.evtModelService = evtModelService;
- this.activeParts$ = this.getEntities('activeParts');
- this.mutualParts$ = this.getEntities('mutualParts');
- this.passiveParts$ = this.getEntities('passiveParts');
- }
- _createClass(NamedEntityRelationComponent, [{
- key: "toggleEntity",
- value: function toggleEntity(entity) {
- // TODO: if inEntity, then open entity in list
- if (!this.inEntity) {
- if (this.selectedEntity === entity) {
- this.selectedEntity = undefined;
- } else {
- this.selectedEntity = entity;
- }
- }
- }
- }, {
- key: "getEntities",
- value: function getEntities(partIdsGroup) {
- var _this132 = this;
- return this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (ne) {
- return _this132.data[partIdsGroup].map(function (entityId) {
- var entity = ne.all.entities.find(function (e) {
- return e.id === entityId;
- });
- return {
- id: entityId,
- entity: entity,
- get label() {
- return entity ? entity.label : entityId;
- }
- };
- });
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (nes) {
- return nes.filter(function (e) {
- return !!e;
- });
- }));
- }
- }]);
- return NamedEntityRelationComponent;
- }();
- NamedEntityRelationComponent.ɵfac = function NamedEntityRelationComponent_Factory(t) {
- return new (t || NamedEntityRelationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]));
- };
- NamedEntityRelationComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: NamedEntityRelationComponent,
- selectors: [["evt-named-entity-relation"]],
- inputs: {
- data: "data",
- inEntity: "inEntity"
- },
- decls: 17,
- vars: 24,
- consts: [[1, "relation", "pb-2", 3, "ngClass", "evtHtmlAttributes"], ["class", "relation-type", 4, "ngIf"], [3, "iconInfo"], ["ngFor", "", 3, "ngForOf"], [3, "data", "inList", 4, "ngIf"], ["class", "relation-description text-secondary", 4, "ngIf"], ["relationParticipant", ""], [1, "relation-type"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "data", "inList"], [1, "relation-description", "text-secondary"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "click"]],
- template: function NamedEntityRelationComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntityRelationComponent_small_1_Template, 3, 3, "small", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-icon", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamedEntityRelationComponent_ng_template_4_Template, 1, 5, "ng-template", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, NamedEntityRelationComponent_ng_template_6_Template, 1, 5, "ng-template", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](7, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](9, "lowercase");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](10, "humanize");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](11, NamedEntityRelationComponent_ng_template_11_Template, 1, 5, "ng-template", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](12, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](13, NamedEntityRelationComponent_evt_named_entity_13_Template, 1, 2, "evt-named-entity", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](14, NamedEntityRelationComponent_div_14_Template, 2, 1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](15, NamedEntityRelationComponent_ng_template_15_Template, 2, 6, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction2"](20, _c1, !ctx.inEntity, !ctx.inEntity))("evtHtmlAttributes", ctx.data == null ? null : ctx.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.relationType);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconInfo", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](23, _c2));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 10, ctx.activeParts$));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](7, 12, ctx.mutualParts$));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](9, 14, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](10, 16, ctx.data.name)), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](12, 18, ctx.passiveParts$));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.selectedEntity);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.description.length > 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["NgClass"], _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_7__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _ui_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_8__["IconComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgTemplateOutlet"], _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_9__["NamedEntityComponent"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_10__["ContentViewerComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_6__["AsyncPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["LowerCasePipe"], _pipes_humanize_pipe__WEBPACK_IMPORTED_MODULE_11__["HumanizePipe"]],
- styles: [".relation-entity[_ngcontent-%COMP%] {\n cursor: pointer;\n}\n.relation-entity.disabled[_ngcontent-%COMP%] {\n cursor: default;\n}\n.relation-entity.person[_ngcontent-%COMP%] {\n background: #FFF0F1;\n border-bottom-color: #FFF0F2;\n}\n.relation-entity.person.active[_ngcontent-%COMP%] {\n background-color: #FFF0F2;\n border-right-color: #FFF0F2;\n}\n.relation-entity.person.active[_ngcontent-%COMP%]:not(:first-child) {\n border-left-color: #FFF0F2;\n}\n.relation-entity.person[_ngcontent-%COMP%]:hover {\n background-color: #FFF0F2;\n}\n.relation-entity.place[_ngcontent-%COMP%] {\n background: #EEF7EF;\n border-bottom-color: #c8e6c9;\n}\n.relation-entity.place.active[_ngcontent-%COMP%] {\n background-color: #c8e6c9;\n border-right-color: #c8e6c9;\n}\n.relation-entity.place.active[_ngcontent-%COMP%]:not(:first-child) {\n border-left-color: #c8e6c9;\n}\n.relation-entity.place[_ngcontent-%COMP%]:hover {\n background-color: #c8e6c9;\n}\n.relation-entity.org[_ngcontent-%COMP%] {\n background: #FFE9C9;\n border-bottom-color: #FFCC80;\n}\n.relation-entity.org.active[_ngcontent-%COMP%] {\n background-color: #FFCC80;\n border-right-color: #FFCC80;\n}\n.relation-entity.org.active[_ngcontent-%COMP%]:not(:first-child) {\n border-left-color: #FFCC80;\n}\n.relation-entity.org[_ngcontent-%COMP%]:hover {\n background-color: #FFCC80;\n}\n.relation-entity.event[_ngcontent-%COMP%] {\n background: #fffdc9;\n border-bottom-color: #ffffb0;\n}\n.relation-entity.event.active[_ngcontent-%COMP%] {\n background-color: #ffffb0;\n border-right-color: #ffffb0;\n}\n.relation-entity.event.active[_ngcontent-%COMP%]:not(:first-child) {\n border-left-color: #ffffb0;\n}\n.relation-entity.event[_ngcontent-%COMP%]:hover {\n background-color: #ffffb0;\n}\n.relation-type[_ngcontent-%COMP%] {\n font-variant: small-caps;\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XJpYW50OiBzbWFsbC1jYXBzO1xuICBjb2xvcjogIzAwMDtcbiAgZm9udC1zaXplOiAxLjJyZW07XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBtYXJnaW4tdG9wOiAxNHB4O1xuICB0ZXh0LWFsaWduOiBsZWZ0O1xufSJdfQ== */"]
- });
- NamedEntityRelationComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Relation"])], NamedEntityRelationComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamedEntityRelationComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-named-entity-relation',
- templateUrl: './named-entity-relation.component.html',
- styleUrls: ['./named-entity-relation.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- inEntity: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "vY5A":
- /*!***************************************!*\
- !*** ./src/app/app-routing.module.ts ***!
- \***************************************/
- /*! exports provided: AppRoutingModule */
- /***/
- function vY5A(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "AppRoutingModule", function () {
- return AppRoutingModule;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/router */
- "tyNb");
- /* harmony import */
- var _view_modes_collation_collation_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ./view-modes/collation/collation.component */
- "tOBz");
- /* harmony import */
- var _view_modes_image_text_image_text_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ./view-modes/image-text/image-text.component */
- "OEwW");
- /* harmony import */
- var _view_modes_reading_text_reading_text_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ./view-modes/reading-text/reading-text.component */
- "BnO0");
- /* harmony import */
- var _view_modes_text_sources_text_sources_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ./view-modes/text-sources/text-sources.component */
- "6tsE");
- /* harmony import */
- var _view_modes_text_text_text_text_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ./view-modes/text-text/text-text.component */
- "DJp8");
- /* harmony import */
- var _view_modes_text_versions_text_versions_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ./view-modes/text-versions/text-versions.component */
- "Izqa");
- var appRoutes = [{
- path: 'imageText',
- component: _view_modes_image_text_image_text_component__WEBPACK_IMPORTED_MODULE_3__["ImageTextComponent"]
- }, {
- path: 'readingText',
- component: _view_modes_reading_text_reading_text_component__WEBPACK_IMPORTED_MODULE_4__["ReadingTextComponent"]
- }, {
- path: 'textText',
- component: _view_modes_text_text_text_text_component__WEBPACK_IMPORTED_MODULE_6__["TextTextComponent"]
- }, {
- path: 'collation',
- component: _view_modes_collation_collation_component__WEBPACK_IMPORTED_MODULE_2__["CollationComponent"]
- }, {
- path: 'textSources',
- component: _view_modes_text_sources_text_sources_component__WEBPACK_IMPORTED_MODULE_5__["TextSourcesComponent"]
- }, {
- path: 'textVersions',
- component: _view_modes_text_versions_text_versions_component__WEBPACK_IMPORTED_MODULE_7__["TextVersionsComponent"]
- }];
- var AppRoutingModule = function AppRoutingModule() {
- _classCallCheck(this, AppRoutingModule);
- };
- AppRoutingModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
- type: AppRoutingModule
- });
- AppRoutingModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
- factory: function AppRoutingModule_Factory(t) {
- return new (t || AppRoutingModule)();
- },
- imports: [[_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(appRoutes, {
- relativeLinkResolution: 'legacy'
- })], _angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
- });
- (function () {
- (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](AppRoutingModule, {
- imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]],
- exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
- });
- })();
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppRoutingModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
- args: [{
- imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(appRoutes, {
- relativeLinkResolution: 'legacy'
- })],
- exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]]
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "vpHg":
- /*!***************************************************!*\
- !*** ./src/app/components/char/char.component.ts ***!
- \***************************************************/
- /*! exports provided: CharComponent */
- /***/
- function vpHg(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "CharComponent", function () {
- return CharComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function CharComponent_div_3_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 7);
- }
- if (rf & 2) {
- var element_r3 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r3);
- }
- }
- function CharComponent_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "span", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, CharComponent_div_3_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var mapping_r1 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate2"]("", mapping_r1.type, " ", mapping_r1.subtype, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("data-type", mapping_r1.type)("data-subtype", mapping_r1.subtype);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", mapping_r1.content);
- }
- }
- var CharComponent = function CharComponent() {
- _classCallCheck(this, CharComponent);
- };
- CharComponent.ɵfac = function CharComponent_Factory(t) {
- return new (t || CharComponent)();
- };
- CharComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: CharComponent,
- selectors: [["evt-char"]],
- inputs: {
- data: "data"
- },
- decls: 4,
- vars: 2,
- consts: [[1, "char"], [1, "char-name"], ["class", "char-mapping", 4, "ngFor", "ngForOf"], [1, "char-mapping"], [1, "char-mapping-label"], [1, "char-mapping-value"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"]],
- template: function CharComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, CharComponent_div_3_Template, 5, 5, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx.data.name);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.mappings);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"]],
- styles: [".char[_ngcontent-%COMP%] {\n padding: 10px;\n border: 1px solid #efefef;\n margin: 2px;\n}\n\n.char-name[_ngcontent-%COMP%] {\n font-weight: bolder;\n}\n\n.char-mapping[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n padding: 0;\n}\n\n.char-mapping-label[_ngcontent-%COMP%], .char-mapping-value[_ngcontent-%COMP%] {\n box-sizing: border-box;\n flex-grow: 1;\n width: 100%;\n overflow: hidden;\n}\n\n.char-mapping-label[_ngcontent-%COMP%] {\n width: 20%;\n font-variant: small-caps;\n}\n\n.char-mapping-value[_ngcontent-%COMP%] {\n width: 80%;\n}\n\n.char-mapping-value[data-type=codepoint][_ngcontent-%COMP%] {\n font-family: monospace;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NoYXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxhQUFBO0VBQ0EseUJBQUE7RUFDQSxXQUFBO0FBQ0o7O0FBRUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLGVBQUE7RUFDQSxTQUFBO0VBQ0EsVUFBQTtBQUNKOztBQUVBOztFQUVJLHNCQUFBO0VBRUEsWUFBQTtFQUNBLFdBQUE7RUFDQSxnQkFBQTtBQUNKOztBQUdBO0VBQ0ksVUFBQTtFQUNBLHdCQUFBO0FBQUo7O0FBR0E7RUFDSSxVQUFBO0FBQUo7O0FBRUk7RUFDSSxzQkFBQTtBQUFSIiwiZmlsZSI6ImNoYXIuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY2hhciB7XG4gICAgcGFkZGluZzogMTBweDtcbiAgICBib3JkZXI6IDFweCBzb2xpZCAjZWZlZmVmO1xuICAgIG1hcmdpbjogMnB4O1xufVxuXG4uY2hhci1uYW1lIHtcbiAgICBmb250LXdlaWdodDogYm9sZGVyO1xufVxuXG4uY2hhci1tYXBwaW5nIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtd3JhcDogd3JhcDtcbiAgICBtYXJnaW46IDA7XG4gICAgcGFkZGluZzogMDtcbn1cblxuLmNoYXItbWFwcGluZy1sYWJlbCxcbi5jaGFyLW1hcHBpbmctdmFsdWUge1xuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gICAgLXdlYmtpdC1ib3gtZmxleDogMTtcbiAgICBmbGV4LWdyb3c6IDE7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcblxufVxuXG4uY2hhci1tYXBwaW5nLWxhYmVsIHtcbiAgICB3aWR0aDogMjAlO1xuICAgIGZvbnQtdmFyaWFudDogc21hbGwtY2Fwcztcbn1cblxuLmNoYXItbWFwcGluZy12YWx1ZSB7XG4gICAgd2lkdGg6IDgwJTtcblxuICAgICZbZGF0YS10eXBlPVwiY29kZXBvaW50XCJdIHtcbiAgICAgICAgZm9udC1mYW1pbHk6IG1vbm9zcGFjZTtcbiAgICB9XG59Il19 */"]
- });
- CharComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Char"])], CharComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](CharComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-char',
- templateUrl: './char.component.html',
- styleUrls: ['./char.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "w3ho":
- /*!*********************************************************************************!*\
- !*** ./src/app/components/named-entities-list/named-entities-list.component.ts ***!
- \*********************************************************************************/
- /*! exports provided: NamedEntitiesListComponent */
- /***/
- function w3ho(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntitiesListComponent", function () {
- return NamedEntitiesListComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/forms */
- "3Pt+");
- /* harmony import */
- var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/button/button.component */
- "UjKN");
- /* harmony import */
- var _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/cdk/scrolling */
- "vxfF");
- /* harmony import */
- var _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @angular/cdk-experimental/scrolling */
- "cfqv");
- /* harmony import */
- var _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../named-entity/named-entity.component */
- "k8Vd");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- /* harmony import */
- var _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../../pipes/filter.pipe */
- "BhhM");
- /* harmony import */
- var _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! ../../pipes/starts-with.pipe */
- "6uNG");
- var _c0 = function _c0() {
- return {
- icon: "search"
- };
- };
- var _c1 = function _c1() {
- return {
- icon: "times"
- };
- };
- function NamedEntitiesListComponent_div_1_form_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "form", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "input", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("ngModelChange", function NamedEntitiesListComponent_div_1_form_1_Template_input_ngModelChange_1_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6);
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r5.querySearch = $event;
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "evt-button", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function NamedEntitiesListComponent_div_1_form_1_Template_evt_button_btnClick_4_listener($event) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6);
- var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r7.toggleCaseSensitiveSearch($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-button", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "evt-button", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function NamedEntitiesListComponent_div_1_form_1_Template_evt_button_btnClick_6_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r6);
- var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r8.toggleSearch();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("placeholder", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 10, "search"))("ngModel", ctx_r3.querySearch);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("type", "submit")("toggler", true)("active", ctx_r3.caseSensitiveSearch)("label", "aA");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](12, _c0))("type", "submit")("disabled", !ctx_r3.querySearch);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](13, _c1));
- }
- }
- function NamedEntitiesListComponent_div_1_nav_2_li_3_Template(rf, ctx) {
- if (rf & 1) {
- var _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 17);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 18);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function NamedEntitiesListComponent_div_1_nav_2_li_3_Template_span_click_1_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r12);
- var key_r10 = ctx.$implicit;
- var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- return ctx_r11.selectedKey = key_r10;
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var key_r10 = ctx.$implicit;
- var ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("active", ctx_r9.selectedKey === key_r10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](key_r10);
- }
- }
- function NamedEntitiesListComponent_div_1_nav_2_Template(rf, ctx) {
- if (rf & 1) {
- var _r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "nav");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "ul", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "evt-button", 15);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("btnClick", function NamedEntitiesListComponent_div_1_nav_2_Template_evt_button_btnClick_2_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r14);
- var ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- return ctx_r13.toggleSearch();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntitiesListComponent_div_1_nav_2_li_3_Template, 3, 3, "li", 16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction0"](2, _c0));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.navigationKeys);
- }
- }
- function NamedEntitiesListComponent_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntitiesListComponent_div_1_form_1_Template, 7, 14, "form", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamedEntitiesListComponent_div_1_nav_2_Template, 4, 3, "nav", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r0.searchOpened);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r0.searchOpened);
- }
- }
- function NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_evt_named_entity_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-named-entity", 23);
- }
- if (rf & 2) {
- var entity_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("inList", true)("data", entity_r16);
- }
- }
- function NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 24);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noMatches"), " ");
- }
- }
- function NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_evt_named_entity_1_Template, 1, 2, "evt-named-entity", 21);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_div_2_Template, 3, 3, "div", 22);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var entity_r16 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", entity_r16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !entity_r16);
- }
- }
- function NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "cdk-virtual-scroll-viewport", 19);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_ng_container_1_Template, 3, 2, "ng-container", 20);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "filter");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "startsWith");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("cdkVirtualForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind4"](2, 2, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind3"](3, 7, ctx_r1.data == null ? null : ctx_r1.data.content, "sortKey", ctx_r1.querySearch ? "" : ctx_r1.selectedKey), "label", ctx_r1.querySearch, ctx_r1.caseSensitiveSearch))("cdkVirtualForTemplateCacheSize", 0);
- }
- }
- function NamedEntitiesListComponent_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 25);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "noEntities"), " ");
- }
- }
- var NamedEntitiesListComponent = /*#__PURE__*/function () {
- function NamedEntitiesListComponent() {
- _classCallCheck(this, NamedEntitiesListComponent);
- this.searchedEntities = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
- this.navigationKeys = [];
- this.searchOpened = false;
- this.querySearch = '';
- this.querySearchSubmitted = '';
- this.caseSensitiveSearch = false;
- }
- _createClass(NamedEntitiesListComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this.initKeys();
- }
- }, {
- key: "ngOnChanges",
- value: function ngOnChanges() {
- this.initKeys();
- }
- }, {
- key: "toggleSearch",
- value: function toggleSearch() {
- this.searchOpened = !this.searchOpened;
- this.querySearch = '';
- this.querySearchSubmitted = '';
- this.searchedEntities.emit(this.querySearch);
- }
- }, {
- key: "toggleCaseSensitiveSearch",
- value: function toggleCaseSensitiveSearch(event) {
- this.caseSensitiveSearch = event.active;
- }
- }, {
- key: "initKeys",
- value: function initKeys() {
- var _this133 = this;
- if (!!this.data && !!this.data.content && this.data.content.length > 0) {
- this.navigationKeys = this.data.content.filter(function (el) {
- return el.namedEntityType === _this133.data.namedEntityType;
- }).map(function (el) {
- var _a;
- return (_a = el.sortKey) === null || _a === void 0 ? void 0 : _a.substr(0, 1).toLowerCase();
- }).filter(function (item, i, ar) {
- return item && ar.indexOf(item) === i;
- }).sort();
- this.selectedKey = this.navigationKeys[0] || '';
- }
- }
- }, {
- key: "selectedKey",
- set: function set(k) {
- this._selectedKey = k;
- },
- get: function get() {
- return this._selectedKey;
- }
- }]);
- return NamedEntitiesListComponent;
- }();
- NamedEntitiesListComponent.ɵfac = function NamedEntitiesListComponent_Factory(t) {
- return new (t || NamedEntitiesListComponent)();
- };
- NamedEntitiesListComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: NamedEntitiesListComponent,
- selectors: [["evt-named-entities-list"]],
- inputs: {
- data: "data"
- },
- outputs: {
- searchedEntities: "searchedEntities"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
- decls: 5,
- vars: 3,
- consts: [[1, "card", "border-0", "ne-list"], ["class", "card-header p-0 m-0", 4, "ngIf"], [1, "card-body", "ne-list-body", "p-0", "m-0"], ["autosize", "", 4, "ngIf"], ["class", "p-3 ne-list-msg", 4, "ngIf"], [1, "card-header", "p-0", "m-0"], ["class", "input-group p-1", 4, "ngIf"], [4, "ngIf"], [1, "input-group", "p-1"], ["type", "input", "name", "search", 1, "form-control", "form-control-sm", "ne-list-search", 3, "placeholder", "ngModel", "ngModelChange"], [1, "input-group-append"], ["additionalClasses", "border", 3, "type", "toggler", "active", "label", "btnClick"], ["additionalClasses", "border", 3, "iconLeft", "type", "disabled"], ["additionalClasses", "border", 3, "iconLeft", "btnClick"], [1, "pagination", "pagination-sm", "justify-content-center", "m-0", "p-1"], ["additionalClasses", "mr-2", 3, "iconLeft", "btnClick"], ["class", "page-item", 3, "active", 4, "ngFor", "ngForOf"], [1, "page-item"], [1, "page-link", 3, "click"], ["autosize", ""], [4, "cdkVirtualFor", "cdkVirtualForOf", "cdkVirtualForTemplateCacheSize"], [3, "inList", "data", 4, "ngIf"], ["class", "p-3", 4, "ngIf"], [3, "inList", "data"], [1, "p-3"], [1, "p-3", "ne-list-msg"]],
- template: function NamedEntitiesListComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NamedEntitiesListComponent_div_1_Template, 3, 2, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, NamedEntitiesListComponent_cdk_virtual_scroll_viewport_3_Template, 4, 11, "cdk-virtual-scroll-viewport", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, NamedEntitiesListComponent_div_4_Template, 3, 3, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.content == null ? null : ctx.data.content.length) === 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵangular_packages_forms_forms_y"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatusGroup"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgForm"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__["CdkVirtualScrollViewport"], _angular_cdk_experimental_scrolling__WEBPACK_IMPORTED_MODULE_8__["CdkAutoSizeVirtualScroll"], _angular_cdk_scrolling__WEBPACK_IMPORTED_MODULE_7__["CdkVirtualForOf"], _named_entity_named_entity_component__WEBPACK_IMPORTED_MODULE_9__["NamedEntityComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_10__["TranslatePipe"], _pipes_filter_pipe__WEBPACK_IMPORTED_MODULE_11__["FilterPipe"], _pipes_starts_with_pipe__WEBPACK_IMPORTED_MODULE_12__["StartsWithPipe"]],
- styles: [".card[_ngcontent-%COMP%] {\n height: 100%;\n}\n\ncdk-virtual-scroll-viewport[_ngcontent-%COMP%] {\n height: -o-calc(100%);\n height: calc(100%);\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25hbWVkLWVudGl0aWVzLWxpc3QuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUFDSSxZQUFBO0FBREo7O0FBSUE7RUNDRSxxQkFBQTtFQUVBLGtCQUFBO0FEQUYiLCJmaWxlIjoibmFtZWQtZW50aXRpZXMtbGlzdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgJy4uLy4uLy4uL2Fzc2V0cy9zY3NzL21peGlucyc7XG5cbi5jYXJkIHtcbiAgICBoZWlnaHQ6IDEwMCU7XG59XG5cbmNkay12aXJ0dWFsLXNjcm9sbC12aWV3cG9ydCB7XG4gICAgQGluY2x1ZGUgY2FsYygnaGVpZ2h0JywgJzEwMCUnKTtcbn0iLCIvLyAvLy8vLy8vLy8vLy8vLy8vLy8gLy9cbi8vIEdMT0JBTCBTQ1NTIE1JWElOUyAvL1xuLy8gLy8vLy8vLy8vLy8vLy8vLy8vIC8vXG5cbi8vIFNldCBjYWxjdWxhdGVkIHByb3BlcnR5XG5AbWl4aW4gY2FsYygkcHJvcGVydHksICRleHByZXNzaW9uLCAkaW1wb3J0YW50OlwiXCIpIHtcbiAgI3skcHJvcGVydHl9OiAtbW96LWNhbGMoI3skZXhwcmVzc2lvbn0pICN7JGltcG9ydGFudH07XG4gICN7JHByb3BlcnR5fTogLW8tY2FsYygjeyRleHByZXNzaW9ufSk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29sb3ItYmFzZTtcbiAgYm9yZGVyLWJvdHRvbS1jb2xvcjogJGNvbG9yLW1pZGRsZTtcblxuICAmLmFjdGl2ZSB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICBib3JkZXItcmlnaHQtY29sb3I6ICRjb2xvci1taWRkbGU7XG5cbiAgICAmOm5vdCg6Zmlyc3QtY2hpbGQpIHtcbiAgICAgIGJvcmRlci1sZWZ0LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICAgIH1cbiAgfVxuXG4gICY6aG92ZXIge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gIH1cbn1cblxuXG5AbWl4aW4gaGVhZGVyU2VjdGlvblRpdGxlKCkge1xuICBib3JkZXItYm90dG9tOiAxcHggZG90dGVkICM2NjY7XG4gIG1hcmdpbi1ib3R0b206IDVweDtcbiAgZm9udC12YXJpYW50OiBzbWFsbC1jYXBzO1xuICBjb2xvcjogIzAwMDtcbiAgZm9udC1zaXplOiAxLjJyZW07XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBtYXJnaW4tdG9wOiAxNHB4O1xuICB0ZXh0LWFsaWduOiBsZWZ0O1xufSJdfQ== */"]
- });
- NamedEntitiesListComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["NamedEntitiesList"])], NamedEntitiesListComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NamedEntitiesListComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-named-entities-list',
- templateUrl: './named-entities-list.component.html',
- styleUrls: ['./named-entities-list.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }],
- searchedEntities: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Output"]
- }]
- });
- })();
- /***/
- },
- /***/
- "wM2G":
- /*!******************************************************************************************************!*\
- !*** ./src/app/components/named-entity/named-entity-occurrence/named-entity-occurrence.component.ts ***!
- \******************************************************************************************************/
- /*! exports provided: NamedEntityOccurrenceComponent */
- /***/
- function wM2G(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NamedEntityOccurrenceComponent", function () {
- return NamedEntityOccurrenceComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../../services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../content-viewer/content-viewer.component */
- "t6RO");
- function NamedEntityOccurrenceComponent_span_0_ng_template_5_div_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "evt-content-viewer", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ref_r6 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", ref_r6);
- }
- }
- function NamedEntityOccurrenceComponent_span_0_ng_template_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, NamedEntityOccurrenceComponent_span_0_ng_template_5_div_0_Template, 2, 1, "div", 5);
- }
- if (rf & 2) {
- var refByDoc_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", refByDoc_r1.refs);
- }
- }
- var _c0 = function _c0() {
- return ["auto"];
- };
- function NamedEntityOccurrenceComponent_span_0_Template(rf, ctx) {
- if (rf & 1) {
- var _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function NamedEntityOccurrenceComponent_span_0_Template_span_click_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9);
- var refByDoc_r1 = ctx.$implicit;
- var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r8.goToOccurrenceRef(refByDoc_r1);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "span", 2, 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, NamedEntityOccurrenceComponent_span_0_ng_template_5_Template, 1, 1, "ng-template", null, 4, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var refByDoc_r1 = ctx.$implicit;
- var _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" ", ctx_r0.occurrence.pageLabel, " ", refByDoc_r1.docLabel ? "(" + refByDoc_r1.docLabel + ")" : "", " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbPopover", _r3)("autoClose", "outside")("placement", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c0));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", refByDoc_r1.refs == null ? null : refByDoc_r1.refs.length, " ");
- }
- }
- var NamedEntityOccurrenceComponent = /*#__PURE__*/function () {
- function NamedEntityOccurrenceComponent(evtModelService, evtStatusService) {
- _classCallCheck(this, NamedEntityOccurrenceComponent);
- this.evtModelService = evtModelService;
- this.evtStatusService = evtStatusService;
- }
- _createClass(NamedEntityOccurrenceComponent, [{
- key: "goToOccurrenceRef",
- value: function goToOccurrenceRef(ref) {
- var _this134 = this;
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["take"])(1)).subscribe(function (pages) {
- var page = pages.find(function (p) {
- return p.id === _this134.occurrence.pageId;
- });
- _this134.evtStatusService.updateDocument$.next(ref.docId);
- _this134.evtStatusService.updatePage$.next(page);
- _this134.evtStatusService.currentNamedEntityId$.next(_this134.entityId);
- });
- }
- }]);
- return NamedEntityOccurrenceComponent;
- }();
- NamedEntityOccurrenceComponent.ɵfac = function NamedEntityOccurrenceComponent_Factory(t) {
- return new (t || NamedEntityOccurrenceComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]));
- };
- NamedEntityOccurrenceComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: NamedEntityOccurrenceComponent,
- selectors: [["evt-named-entity-occurrence"]],
- inputs: {
- occurrence: "occurrence",
- entityId: "entityId"
- },
- decls: 1,
- vars: 1,
- consts: [["class", "ne-occurrence", 3, "click", 4, "ngFor", "ngForOf"], [1, "ne-occurrence", 3, "click"], ["popoverClass", "evt-note", "container", "body", 1, "badge", "badge-info", "badge-light", "ne-occurrence-count", 3, "ngbPopover", "autoClose", "placement"], ["popover", "ngbPopover"], ["popContent", ""], [4, "ngFor", "ngForOf"], [3, "content"]],
- template: function NamedEntityOccurrenceComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, NamedEntityOccurrenceComponent_span_0_Template, 7, 7, "span", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.occurrence.refsByDoc);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbPopover"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJuYW1lZC1lbnRpdHktb2NjdXJyZW5jZS5jb21wb25lbnQuc2NzcyJ9 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NamedEntityOccurrenceComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-named-entity-occurrence',
- templateUrl: './named-entity-occurrence.component.html',
- styleUrls: ['./named-entity-occurrence.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_2__["EVTModelService"]
- }, {
- type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_3__["EVTStatusService"]
- }];
- }, {
- occurrence: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- entityId: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "wfdk":
- /*!***************************************************************************!*\
- !*** ./src/app/components/publication-stmt/publication-stmt.component.ts ***!
- \***************************************************************************/
- /*! exports provided: PublicationStmtComponent */
- /***/
- function wfdk(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PublicationStmtComponent", function () {
- return PublicationStmtComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/header-section/header-section.component */
- "iRdJ");
- function PublicationStmtComponent_ng_container_1_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function PublicationStmtComponent_ng_container_1_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function PublicationStmtComponent_ng_container_1_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function PublicationStmtComponent_ng_container_1_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function PublicationStmtComponent_ng_container_1_ng_container_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function PublicationStmtComponent_ng_container_1_ng_container_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function PublicationStmtComponent_ng_container_1_ng_container_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function PublicationStmtComponent_ng_container_1_ng_container_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- function PublicationStmtComponent_ng_container_1_ng_container_9_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- var _c0 = function _c0(a1) {
- return {
- label: "publisher",
- items: a1,
- "class": "publisher"
- };
- };
- var _c1 = function _c1(a1) {
- return {
- label: "distributor",
- items: a1,
- "class": "distributor"
- };
- };
- var _c2 = function _c2(a1) {
- return {
- label: "authority",
- items: a1,
- "class": "authority"
- };
- };
- var _c3 = function _c3(a1) {
- return {
- label: "publicationPlace",
- items: a1,
- "class": "pubPlace"
- };
- };
- var _c4 = function _c4(a1) {
- return {
- label: "address",
- items: a1,
- "class": "address"
- };
- };
- var _c5 = function _c5(a1) {
- return {
- label: "idno",
- items: a1,
- "class": "idno"
- };
- };
- var _c6 = function _c6(a1) {
- return {
- label: "availability",
- items: a1,
- "class": "availability"
- };
- };
- var _c7 = function _c7(a1) {
- return {
- label: "date",
- items: a1,
- "class": "date"
- };
- };
- var _c8 = function _c8(a1) {
- return {
- label: "licence",
- items: a1,
- "class": "licence"
- };
- };
- function PublicationStmtComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, PublicationStmtComponent_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, PublicationStmtComponent_ng_container_1_ng_container_2_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, PublicationStmtComponent_ng_container_1_ng_container_3_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PublicationStmtComponent_ng_container_1_ng_container_4_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, PublicationStmtComponent_ng_container_1_ng_container_5_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, PublicationStmtComponent_ng_container_1_ng_container_6_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, PublicationStmtComponent_ng_container_1_ng_container_7_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, PublicationStmtComponent_ng_container_1_ng_container_8_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, PublicationStmtComponent_ng_container_1_ng_container_9_Template, 1, 0, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](18, _c0, ctx_r0.data == null ? null : ctx_r0.data.publisher));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](20, _c1, ctx_r0.data == null ? null : ctx_r0.data.distributor));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](22, _c2, ctx_r0.data == null ? null : ctx_r0.data.authority));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](24, _c3, ctx_r0.data == null ? null : ctx_r0.data.pubPlace));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](26, _c4, ctx_r0.data == null ? null : ctx_r0.data.address));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](28, _c5, ctx_r0.data == null ? null : ctx_r0.data.idno));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](30, _c6, ctx_r0.data == null ? null : ctx_r0.data.availability));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](32, _c7, ctx_r0.data == null ? null : ctx_r0.data.date));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r2)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](34, _c8, ctx_r0.data == null ? null : ctx_r0.data.licence));
- }
- }
- function PublicationStmtComponent_ng_container_2_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var element_r14 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", element_r14);
- }
- }
- function PublicationStmtComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, PublicationStmtComponent_ng_container_2_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.content);
- }
- }
- function PublicationStmtComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 6);
- }
- if (rf & 2) {
- var item_r20 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r20);
- }
- }
- function PublicationStmtComponent_ng_template_3_evt_header_section_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, PublicationStmtComponent_ng_template_3_evt_header_section_0_evt_content_viewer_2_Template, 1, 1, "evt-content-viewer", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- var label_r15 = ctx_r21.label;
- var class_r17 = ctx_r21["class"];
- var items_r16 = ctx_r21.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", label_r15)("additionalClass", class_r17)("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", items_r16);
- }
- }
- function PublicationStmtComponent_ng_template_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, PublicationStmtComponent_ng_template_3_evt_header_section_0_Template, 3, 4, "evt-header-section", 7);
- }
- if (rf & 2) {
- var items_r16 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r16 == null ? null : items_r16.length) > 0);
- }
- }
- var PublicationStmtComponent = function PublicationStmtComponent() {
- _classCallCheck(this, PublicationStmtComponent);
- };
- PublicationStmtComponent.ɵfac = function PublicationStmtComponent_Factory(t) {
- return new (t || PublicationStmtComponent)();
- };
- PublicationStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: PublicationStmtComponent,
- selectors: [["evt-publication-stmt"]],
- inputs: {
- data: "data"
- },
- decls: 5,
- vars: 2,
- consts: [[3, "ngSwitch"], [4, "ngSwitchCase"], [4, "ngSwitchDefault"], ["section", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""]],
- template: function PublicationStmtComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0, 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, PublicationStmtComponent_ng_container_1_Template, 10, 36, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, PublicationStmtComponent_ng_container_2_Template, 2, 1, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, PublicationStmtComponent_ng_template_3_Template, 1, 1, "ng-template", null, 3, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitch", ctx.data == null ? null : ctx.data.structuredData);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngSwitchCase", true);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitch"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchCase"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgSwitchDefault"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]],
- styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3B1YmxpY2F0aW9uLXN0bXQuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUMyRkUsOEJBQUE7RUFDQSxrQkFBQTtFQUNBLHdCQUFBO0VBQ0EsV0FBQTtFQUNBLGlCQUFBO0VBQ0EsY0FBQTtFQUNBLGdCQUFBO0VBQ0EsZ0JBQUE7QUQzRkYiLCJmaWxlIjoicHVibGljYXRpb24tc3RtdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgJy4uLy4uLy4uL2Fzc2V0cy9zY3NzL21peGlucyc7XG5cbi5tYWluLXNlY3Rpb24tdGl0bGUge1xuICAgIEBpbmNsdWRlIGhlYWRlclNlY3Rpb25UaXRsZSgpXG59IiwiLy8gLy8vLy8vLy8vLy8vLy8vLy8vIC8vXG4vLyBHTE9CQUwgU0NTUyBNSVhJTlMgLy9cbi8vIC8vLy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GVyLWxlZnQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgfVxuICB9XG5cbiAgJjpob3ZlciB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgfVxufVxuXG5AbWl4aW4gaXBlcmxlbW1hdGl6ZWRFbnRpdHlSZWZDb2xvcnMoJGNvbG9yLWJhc2UsICRjb2xvci1taWRkbGUsICRjb2xvci1kYXJrZXIpIHtcbiAgYmFja2dyb3VuZDogJGNvbG9yLWJhc2U7XG4gIGJvcmRlci1ib3R0b20tY29sb3I6ICRjb2xvci1taWRkbGU7XG5cbiAgJi5hY3RpdmUge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgYm9yZGVyLXJpZ2h0LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuXG4gICAgJjpub3QoOmZpcnN0LWNoaWxkKSB7XG4gICAgICBib3JkZXItbGVmdC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICB9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cblxuQG1peGluIGhlYWRlclNlY3Rpb25UaXRsZSgpIHtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"]
- });
- PublicationStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["PublicationStmt"])], PublicationStmtComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](PublicationStmtComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-publication-stmt',
- templateUrl: './publication-stmt.component.html',
- styleUrls: ['./publication-stmt.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "xQyG":
- /*!*****************************************************************!*\
- !*** ./src/app/components/ms-contents/ms-contents.component.ts ***!
- \*****************************************************************/
- /*! exports provided: MsContentsComponent */
- /***/
- function xQyG(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "MsContentsComponent", function () {
- return MsContentsComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../ui-components/ms-desc-section/ms-desc-section.component */
- "WyXU");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ms_item_ms_item_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../ms-item/ms-item.component */
- "pZd9");
- function MsContentsComponent_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r0.data.summary);
- }
- }
- function MsContentsComponent_ng_container_4_span_5_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
- }
- if (rf & 2) {
- var textLang_r10 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", textLang_r10);
- }
- }
- function MsContentsComponent_ng_container_4_span_5_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1, ", ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- }
- var _c0 = function _c0(a0) {
- return [a0];
- };
- function MsContentsComponent_ng_container_4_span_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsContentsComponent_ng_container_4_span_5_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsContentsComponent_ng_container_4_span_5_span_2_Template, 2, 0, "span", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var textLangs_r6 = ctx.$implicit;
- var i_r7 = ctx.index;
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", textLangs_r6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", i_r7 < _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r5.data.textLangs.length - 1));
- }
- }
- function MsContentsComponent_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsContentsComponent_ng_container_4_span_5_Template, 3, 4, "span", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "textLang")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data.textLangs);
- }
- }
- function MsContentsComponent_ng_container_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "items")("inlineLabel", true);
- }
- }
- function MsContentsComponent_ng_container_6_evt_ms_item_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-item", 13);
- }
- if (rf & 2) {
- var ms_r14 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ms_r14)("nested1", true);
- }
- }
- function MsContentsComponent_ng_container_6_ng_container_3_evt_ms_item_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-ms-item", 15);
- }
- if (rf & 2) {
- var item_r17 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", item_r17)("nested2", true);
- }
- }
- function MsContentsComponent_ng_container_6_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, MsContentsComponent_ng_container_6_ng_container_3_evt_ms_item_1_Template, 1, 2, "evt-ms-item", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ms_r15 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ms_r15.msItem);
- }
- }
- function MsContentsComponent_ng_container_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-item", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, MsContentsComponent_ng_container_6_evt_ms_item_2_Template, 1, 2, "evt-ms-item", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsContentsComponent_ng_container_6_ng_container_3_Template, 2, 1, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var m_r11 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", m_r11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", m_r11.msItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", m_r11.msItem);
- }
- }
- function MsContentsComponent_div_7_evt_content_viewer_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
- }
- if (rf & 2) {
- var par_r19 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r19);
- }
- }
- function MsContentsComponent_div_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-ms-desc-section", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsContentsComponent_div_7_evt_content_viewer_5_Template, 1, 1, "evt-content-viewer", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "summary")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.data.pEl);
- }
- }
- var MsContentsComponent = function MsContentsComponent() {
- _classCallCheck(this, MsContentsComponent);
- };
- MsContentsComponent.ɵfac = function MsContentsComponent_Factory(t) {
- return new (t || MsContentsComponent)();
- };
- MsContentsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: MsContentsComponent,
- selectors: [["evt-ms-contents"]],
- inputs: {
- data: "data"
- },
- decls: 8,
- vars: 7,
- consts: [[1, "msContents"], [3, "label", "underline"], [1, "flex-container"], [4, "ngIf"], [4, "ngFor", "ngForOf"], ["class", "flex-container", 4, "ngIf"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content"], [3, "content", 4, "ngFor", "ngForOf"], [3, "data"], [3, "data", "nested1", 4, "ngFor", "ngForOf"], [3, "data", "nested1"], [3, "data", "nested2", 4, "ngFor", "ngForOf"], [3, "data", "nested2"]],
- template: function MsContentsComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "div", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, MsContentsComponent_ng_container_3_Template, 5, 3, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, MsContentsComponent_ng_container_4_Template, 6, 3, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, MsContentsComponent_ng_container_5_Template, 3, 2, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, MsContentsComponent_ng_container_6_Template, 4, 3, "ng-container", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, MsContentsComponent_div_7_Template, 6, 3, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "msContents")("underline", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.summary);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.textLangs.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.msItem.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.msItem);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.pEl.length) > 0);
- }
- },
- directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"], _ms_item_ms_item_component__WEBPACK_IMPORTED_MODULE_7__["MsItemComponent"]],
- styles: [".msContents[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 505px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 639px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1050px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWNvbnRlbnRzLmNvbXBvbmVudC5zY3NzIl0sIm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VsIHtcbiAgICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gIH1cblxuICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgIGZsZXgtYmFzaXM6MTAwJVxuICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiAxMDUwcHgpIHsgXG4gIC5mbGV4LWl0ZW0tbGFiZWwge1xuICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgIH1cbiAgICBcbiAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gIH1cbn1cbiJdfQ== */"]
- });
- MsContentsComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["MsContents"])], MsContentsComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](MsContentsComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-ms-contents',
- templateUrl: './ms-contents.component.html',
- styleUrls: ['./ms-contents.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "xUb2":
- /*!***************************************************************************************************!*\
- !*** ./src/app/components/manuscript-thumbnails-viewer/manuscript-thumbnails-viewer.component.ts ***!
- \***************************************************************************************************/
- /*! exports provided: ManuscriptThumbnailsViewerComponent */
- /***/
- function xUb2(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ManuscriptThumbnailsViewerComponent", function () {
- return ManuscriptThumbnailsViewerComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _services_evt_status_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../services/evt-status.service */
- "7Ht4");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../ui-components/button/button.component */
- "UjKN");
- function ManuscriptThumbnailsViewerComponent_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainer"](0);
- }
- }
- var _c0 = function _c0(a0) {
- return {
- "clicked-item": a0
- };
- };
- var _c1 = function _c1(a0) {
- return {
- "clicked-item-par": a0
- };
- };
- function ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_div_2_div_1_Template(rf, ctx) {
- if (rf & 1) {
- var _r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_div_2_div_1_Template_div_click_0_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r11);
- var item_r9 = ctx.$implicit;
- var ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
- return ctx_r10.goToThumbPage(item_r9);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "img", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r9 = ctx.$implicit;
- var ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("src", item_r9.url, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](6, _c0, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 4, ctx_r8.currentItem$) === item_r9));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](8, _c1, item_r9.active));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](item_r9.name);
- }
- }
- function ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_div_2_div_1_Template, 5, 10, "div", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var row_r7 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", row_r7);
- }
- }
- var _c2 = function _c2(a0) {
- return {
- "active": a0
- };
- };
- function ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_div_2_Template, 2, 1, "div", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var page_r4 = ctx.$implicit;
- var i_r5 = ctx.index;
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate1"]("id", "page_", i_r5 + 1, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](3, _c2, ctx_r3.indexPage === i_r5));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", page_r4);
- }
- }
- var _c3 = function _c3() {
- return {
- icon: "caret-left"
- };
- };
- var _c4 = function _c4() {
- return {
- icon: "caret-right"
- };
- };
- function ManuscriptThumbnailsViewerComponent_ng_template_2_Template(rf, ctx) {
- if (rf & 1) {
- var _r13 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_Template, 3, 5, "ng-container", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "evt-button", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function ManuscriptThumbnailsViewerComponent_ng_template_2_Template_evt_button_btnClick_3_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);
- var ctx_r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r12.goToPrevPage();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "evt-button", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("btnClick", function ManuscriptThumbnailsViewerComponent_ng_template_2_Template_evt_button_btnClick_6_listener() {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r13);
- var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- return ctx_r14.goToNextPage();
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r2.grid);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("hidden", ctx_r2.grid.length <= 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconRight", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c3));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"]("", ctx_r2.indexPage + 1, "/", ctx_r2.grid.length, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconLeft", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](7, _c4));
- }
- }
- var ManuscriptThumbnailsViewerComponent = /*#__PURE__*/function () {
- function ManuscriptThumbnailsViewerComponent(evtStatusService) {
- var _this135 = this;
- _classCallCheck(this, ManuscriptThumbnailsViewerComponent);
- this.evtStatusService = evtStatusService;
- this.clickedItem = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.pages = [];
- this.col = 1;
- this.row = 1;
- this.indexPage = 0;
- this.grid = [];
- this.currentItem$ = this.evtStatusService.currentPage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(function (p) {
- return _this135.items.find(function (i) {
- return i.id === p.id;
- });
- }));
- }
- _createClass(ManuscriptThumbnailsViewerComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- this._setup();
- }
- }, {
- key: "ngOnChanges",
- value: function ngOnChanges(changes) {
- if (Object.keys(changes).some(function (k) {
- return changes[k].currentValue !== changes[k].previousValue;
- })) {
- this._setup();
- }
- }
- }, {
- key: "_setup",
- value: function _setup() {
- var _this136 = this;
- this.items = this.pages.map(function (page) {
- return {
- url: page.url,
- name: page.label,
- id: page.id
- };
- });
- this.col = this.isValid(this.col) ? this.col : 1;
- this.row = this.isValid(this.row) ? this.row : 1;
- var gridSize = this.col * this.row;
- this.grid = Array(Math.ceil(this.items.length / gridSize)).fill(1).map(function (_, i) {
- return _this136.items.slice(i * gridSize, i * gridSize + gridSize);
- }).map(function (p) {
- return Array(_this136.row).fill(1).map(function (_, i) {
- return p.slice(i * _this136.col, i * _this136.col + _this136.col);
- });
- });
- }
- }, {
- key: "isValid",
- value: function isValid(value) {
- return !(isNaN(value) || value <= 0);
- }
- }, {
- key: "goToPrevPage",
- value: function goToPrevPage() {
- this.indexPage = Math.max(0, this.indexPage - 1);
- }
- }, {
- key: "goToNextPage",
- value: function goToNextPage() {
- this.indexPage = Math.min(this.indexPage + 1, this.grid.length - 1);
- }
- }, {
- key: "goToThumbPage",
- value: function goToThumbPage(item) {
- this.evtStatusService.updatePage$.next(this.pages.find(function (p) {
- return p.id === item.id;
- }));
- this.clickedItem.emit(item);
- }
- }]);
- return ManuscriptThumbnailsViewerComponent;
- }();
- ManuscriptThumbnailsViewerComponent.ɵfac = function ManuscriptThumbnailsViewerComponent_Factory(t) {
- return new (t || ManuscriptThumbnailsViewerComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_services_evt_status_service__WEBPACK_IMPORTED_MODULE_2__["EVTStatusService"]));
- };
- ManuscriptThumbnailsViewerComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: ManuscriptThumbnailsViewerComponent,
- selectors: [["evt-manuscript-thumbnails"]],
- inputs: {
- pages: "pages",
- col: "col",
- row: "row"
- },
- outputs: {
- clickedItem: "clickedItem"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]],
- decls: 4,
- vars: 1,
- consts: [[1, "thumbnails-view"], [4, "ngTemplateOutlet"], ["fullGrid", ""], [4, "ngFor", "ngForOf"], [1, "change-page-container", 3, "hidden"], [3, "iconRight", "btnClick"], [1, "current-page"], [3, "iconLeft", "btnClick"], [1, "page", 3, "id", "ngClass"], ["class", "d-flex row flex-row bd-highlight mb-3", 4, "ngFor", "ngForOf"], [1, "d-flex", "row", "flex-row", "bd-highlight", "mb-3"], ["class", "p-2 bd-highlight item-content ", 3, "click", 4, "ngFor", "ngForOf"], [1, "p-2", "bd-highlight", "item-content", 3, "click"], ["alt", "page", 1, "evt-img-page", 3, "src", "ngClass"], [1, "item-page-index", 3, "ngClass"]],
- template: function ManuscriptThumbnailsViewerComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, ManuscriptThumbnailsViewerComponent_ng_container_1_Template, 1, 0, "ng-container", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, ManuscriptThumbnailsViewerComponent_ng_template_2_Template, 7, 8, "ng-template", null, 2, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- var _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngTemplateOutlet", _r1);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["NgTemplateOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], _ui_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__["ButtonComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgClass"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_3__["AsyncPipe"]],
- styles: ["[_ngcontent-%COMP%]:root {\n --thumbnail-height: 150px;\n --thumbnail-width: 100px;\n}\n\n.thumbnails-view[_ngcontent-%COMP%] {\n height: 100%;\n overflow: auto;\n position: relative;\n}\n\n[data-theme=restore][_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .thumbnails-view[_ngcontent-%COMP%] {\n background-color: #783a3a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .thumbnails-view[_ngcontent-%COMP%] {\n background-color: #555;\n}\n\n[data-theme=modern][_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .thumbnails-view[_ngcontent-%COMP%] {\n background-color: #607d8b;\n}\n\n[data-theme=classic][_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .thumbnails-view[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .thumbnails-view[_ngcontent-%COMP%] {\n background-color: #8f776a;\n}\n\n.change-page-container[_ngcontent-%COMP%] {\n padding: 10px;\n position: absolute;\n bottom: 0;\n width: 100%;\n}\n\n[data-theme=restore][_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .change-page-container[_ngcontent-%COMP%] {\n background-color: #0a4553;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .change-page-container[_ngcontent-%COMP%] {\n background-color: #45535a;\n}\n\n[data-theme=modern][_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .change-page-container[_ngcontent-%COMP%] {\n background-color: #263238;\n}\n\n[data-theme=classic][_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .change-page-container[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .change-page-container[_ngcontent-%COMP%] {\n background-color: #362d28;\n}\n\n.page[_ngcontent-%COMP%] {\n display: none;\n padding: 0 20px;\n}\n\n.active[_ngcontent-%COMP%] {\n display: block;\n}\n\n.item-content[_ngcontent-%COMP%] {\n position: relative;\n}\n\np.item-page-index[_ngcontent-%COMP%] {\n position: absolute;\n top: 70%;\n width: -o-calc(100% - 16px);\n width: calc(100% - 16px);\n text-align: center;\n}\n\n[data-theme=restore][_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] p.item-page-index[_ngcontent-%COMP%] {\n background-color: #e9e9e9;\n color: #783a3a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] p.item-page-index[_ngcontent-%COMP%] {\n background-color: #fff;\n color: #555;\n}\n\n[data-theme=modern][_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] p.item-page-index[_ngcontent-%COMP%] {\n background-color: #ECEFF1;\n color: #607d8b;\n}\n\n[data-theme=classic][_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] p.item-page-index[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] p.item-page-index[_ngcontent-%COMP%] {\n background-color: #f5ead4;\n color: #8f776a;\n}\n\n[data-theme=restore][_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=restore] [_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=restore][_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par) {\n background: #783a3a;\n color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=neutral] [_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=neutral][_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par) {\n background: #555;\n color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=modern] [_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=modern][_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par) {\n background: #607d8b;\n color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=classic] [_nghost-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par), [data-theme=classic][_ngcontent-%COMP%] .item-content[_ngcontent-%COMP%]:hover p.item-page-index[_ngcontent-%COMP%]:not(.clicked-item-par) {\n background: #8f776a;\n color: #f5ead4;\n}\n\n.pages-controller[_ngcontent-%COMP%] {\n width: 20px;\n margin: 5px;\n border-radius: 3px;\n}\n\n[data-theme=restore][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n color: #f5ead4;\n}\n\n[data-theme=restore][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n border: 3px solid #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n border: 3px solid #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n border: 3px solid #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .pages-controller[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .pages-controller[_ngcontent-%COMP%] {\n border: 3px solid #f5ead4;\n}\n\n[data-theme=restore][_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .clicked-item[_ngcontent-%COMP%] {\n border: 2px solid #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .clicked-item[_ngcontent-%COMP%] {\n border: 2px solid #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .clicked-item[_ngcontent-%COMP%] {\n border: 2px solid #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .clicked-item[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .clicked-item[_ngcontent-%COMP%] {\n border: 2px solid #f5ead4;\n}\n\n[data-theme=restore][_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .clicked-item-par[_ngcontent-%COMP%] {\n background-color: #e9e9e9;\n color: #783a3a;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .clicked-item-par[_ngcontent-%COMP%] {\n background-color: #fff;\n color: #555;\n}\n\n[data-theme=modern][_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .clicked-item-par[_ngcontent-%COMP%] {\n background-color: #ECEFF1;\n color: #607d8b;\n}\n\n[data-theme=classic][_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .clicked-item-par[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .clicked-item-par[_ngcontent-%COMP%] {\n background-color: #f5ead4;\n color: #8f776a;\n}\n\n.current-page[_ngcontent-%COMP%] {\n display: inline;\n padding: 0 10px;\n}\n\n[data-theme=restore][_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .current-page[_ngcontent-%COMP%] {\n color: #e9e9e9;\n}\n\n[data-theme=neutral][_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .current-page[_ngcontent-%COMP%] {\n color: #fff;\n}\n\n[data-theme=modern][_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .current-page[_ngcontent-%COMP%] {\n color: #ECEFF1;\n}\n\n[data-theme=classic][_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .current-page[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .current-page[_ngcontent-%COMP%] {\n color: #f5ead4;\n}\n\n.evt-img-page[_ngcontent-%COMP%] {\n min-height: 150px;\n min-width: 100px;\n max-height: 150px;\n max-width: 100px;\n cursor: pointer;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uLy4uL21hbnVzY3JpcHQtdGh1bWJuYWlscy12aWV3ZXIuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fdGhlbWVzLnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkJBO0VBQ0kseUJBQUE7RUFDQSx3QkFBQTtBQzFCSjs7QUFDQTtFQUNJLFlBQUE7RUFJQSxjQUFBO0VBQ0Esa0JBQUE7QUFESjs7QUNnRlE7RURsRkEseUJBQUE7QUFLUjs7QUM2RVE7RURsRkEsc0JBQUE7QUFRUjs7QUMwRVE7RURsRkEseUJBQUE7QUFXUjs7QUN1RVE7RURsRkEseUJBQUE7QUFjUjs7QUFUQTtFQUNJLGFBQUE7RUFJQSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0FBU0o7O0FDNkRRO0VEMUVBLHlCQUFBO0FBZ0JSOztBQzBEUTtFRDFFQSx5QkFBQ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yLW1pZGRsZTtcblxuICAgICY6bm90KDpmaXJzdC1jaGlsZCkge1xuICAgICAgYm9yZGVyLWxlZnQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgfVxuICB9XG5cbiAgJjpob3ZlciB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgfVxufVxuXG5cbkBtaXhpbiBoZWFkZXJTZWN0aW9uVGl0bGUoKSB7XG4gIGJvcmRlci1ib3R0b206IDFweCBkb3R0ZWQgIzY2NjtcbiAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gIGNvbG9yOiAjMDAwO1xuICBmb250LXNpemU6IDEuMnJlbTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1hcmdpbi10b3A6IDE0cHg7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ManuscriptThumbnailsViewerComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-manuscript-thumbnails',
- templateUrl: './manuscript-thumbnails-viewer.component.html',
- styleUrls: ['./manuscript-thumbnails-viewer.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_status_service__WEBPACK_IMPORTED_MODULE_2__["EVTStatusService"]
- }];
- }, {
- clickedItem: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
- }],
- pages: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- col: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- row: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "xZwa":
- /*!*************************************************************!*\
- !*** ./src/app/components/phys-desc/phys-desc.component.ts ***!
- \*************************************************************/
- /*! exports provided: PhysDescComponent */
- /***/
- function xZwa(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PhysDescComponent", function () {
- return PhysDescComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../ui-components/ms-desc-section/ms-desc-section.component */
- "WyXU");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- function PhysDescComponent_ng_container_2_div_1_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
- }
- if (rf & 2) {
- var parag_r14 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", parag_r14);
- }
- }
- function PhysDescComponent_ng_container_2_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PhysDescComponent_ng_container_2_div_1_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "description")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", objectDesc_r5.pEl);
- }
- }
- function PhysDescComponent_ng_container_2_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "supportDesc")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", objectDesc_r5.supportDesc.support || objectDesc_r5.supportDesc);
- }
- }
- function PhysDescComponent_ng_container_2_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "condition")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", objectDesc_r5.supportDesc.condition);
- }
- }
- function PhysDescComponent_ng_container_2_div_4_div_4_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
- }
- if (rf & 2) {
- var extent_r21 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", extent_r21);
- }
- }
- function PhysDescComponent_ng_container_2_div_4_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, PhysDescComponent_ng_container_2_div_4_div_4_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var extents_r19 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", extents_r19);
- }
- }
- function PhysDescComponent_ng_container_2_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PhysDescComponent_ng_container_2_div_4_div_4_Template, 2, 1, "div", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "extent")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.extents);
- }
- }
- function PhysDescComponent_ng_container_2_div_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "foliation")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", objectDesc_r5.supportDesc.foliation);
- }
- }
- function PhysDescComponent_ng_container_2_div_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "collation")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", objectDesc_r5.supportDesc.collation);
- }
- }
- function PhysDescComponent_ng_container_2_div_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var objectDesc_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "layoutDesc")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", objectDesc_r5.layoutDesc);
- }
- }
- function PhysDescComponent_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, PhysDescComponent_ng_container_2_div_1_Template, 5, 3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, PhysDescComponent_ng_container_2_div_2_Template, 5, 3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, PhysDescComponent_ng_container_2_div_3_Template, 5, 3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PhysDescComponent_ng_container_2_div_4_Template, 5, 3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, PhysDescComponent_ng_container_2_div_5_Template, 5, 3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, PhysDescComponent_ng_container_2_div_6_Template, 5, 3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, PhysDescComponent_ng_container_2_div_7_Template, 5, 3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var objectDesc_r5 = ctx.ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (objectDesc_r5.pEl == null ? null : objectDesc_r5.pEl.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.support) || (objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.pEl.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.condition);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.extents.length) > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.foliation);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", objectDesc_r5.supportDesc == null ? null : objectDesc_r5.supportDesc.collation);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", objectDesc_r5.layoutDesc);
- }
- }
- function PhysDescComponent_div_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "handDesc")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r1.data.handDesc);
- }
- }
- function PhysDescComponent_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "decoDesc")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r2.data.decoDesc);
- }
- }
- function PhysDescComponent_div_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "evt-content-viewer", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "bindingDesc")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", ctx_r3.data.bindingDesc);
- }
- }
- function PhysDescComponent_div_6_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 9);
- }
- if (rf & 2) {
- var par_r27 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", par_r27);
- }
- }
- function PhysDescComponent_div_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](2, "evt-ms-desc-section", 6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](3, "div", 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PhysDescComponent_div_6_evt_content_viewer_4_Template, 1, 1, "evt-content-viewer", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "description")("inlineLabel", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.data.pEl);
- }
- }
- var PhysDescComponent = function PhysDescComponent() {
- _classCallCheck(this, PhysDescComponent);
- };
- PhysDescComponent.ɵfac = function PhysDescComponent_Factory(t) {
- return new (t || PhysDescComponent)();
- };
- PhysDescComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: PhysDescComponent,
- selectors: [["evt-phys-desc"]],
- inputs: {
- data: "data"
- },
- decls: 7,
- vars: 7,
- consts: [[1, "phyDesc"], [3, "label", "underline"], [4, "ngIf"], ["class", "flex-container", 4, "ngIf"], [1, "flex-container"], [1, "flex-item-label"], [3, "label", "inlineLabel"], [1, "flex-item-information"], [3, "content", 4, "ngFor", "ngForOf"], [3, "content"], [4, "ngFor", "ngForOf"]],
- template: function PhysDescComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-ms-desc-section", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, PhysDescComponent_ng_container_2_Template, 8, 7, "ng-container", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, PhysDescComponent_div_3_Template, 5, 3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, PhysDescComponent_div_4_Template, 5, 3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, PhysDescComponent_div_5_Template, 5, 3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, PhysDescComponent_div_6_Template, 5, 3, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "phyDesc")("underline", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.objectDesc);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.handDesc);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.decoDesc);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data == null ? null : ctx.data.bindingDesc);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.pEl.length) > 0);
- }
- },
- directives: [_ui_components_ms_desc_section_ms_desc_section_component__WEBPACK_IMPORTED_MODULE_4__["MsDescSectionComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_6__["ContentViewerComponent"]],
- styles: [".phyDesc[_ngcontent-%COMP%] {\n margin-bottom: 2rem;\n}\n\n.flex-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n}\n\n.flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n margin-bottom: 0.7rem;\n}\n\n@media (min-width: 594px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n\n@media (min-width: 640px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 100%;\n }\n}\n\n@media (min-width: 1190px) {\n .flex-item-label[_ngcontent-%COMP%] {\n flex-basis: 20%;\n }\n\n .flex-item-information[_ngcontent-%COMP%] {\n flex-basis: 80%;\n }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BoeXMtZGVzYy5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLG1CQUFBO0FBQ0o7O0FBRUE7RUFDSSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSxlQUFBO0FBQ0o7O0FBRUE7RUFDSSxnQkFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7RUFDQSxxQkFBQTtBQUNKOztBQUVBO0VBQ0k7SUFDSSxlQUFBO0VBQ047O0VBRUU7SUFDSSxlQUFBO0VBQ047QUFDRjs7QUFFQTtFQUNJO0lBQ0ksZ0JBQUE7RUFBTjs7RUFHRTtJQUNJLGdCQUFBO0VBQU47QUFDRjs7QUFHQTtFQUNJO0lBQ0ksZUFBQTtFQUROOztFQUlFO0lBQ0ksZUFBQTtFQUROO0FBQ0YiLCJmaWxlIjoicGh5cy1kZXNjLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnBoeURlc2Mge1xuICAgIG1hcmdpbi1ib3R0b206IDJyZW07XG59XG5cbi5mbGV4LWNvbnRhaW5lciB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICAgIGZsZXgtd3JhcDogd3JhcDtcbn1cblxuLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbn1cblxuLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbiAgICBtYXJnaW4tYm90dG9tOiAwLjdyZW07XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA1OTRweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgfVxuICAgICAgXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA2NDBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMTAwJTtcbiAgICB9XG5cbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczoxMDAlXG4gICAgfVxuIH1cblxuQG1lZGlhIChtaW4td2lkdGg6IDExOTBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgfVxuICAgICAgXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICB9XG4gfVxuIl19 */"]
- });
- PhysDescComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["PhysDesc"])], PhysDescComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](PhysDescComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-phys-desc',
- templateUrl: './phys-desc.component.html',
- styleUrls: ['./phys-desc.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "xZzZ":
- /*!*******************************************************************************************************!*\
- !*** ./src/app/components/apparatus-entry/apparatus-entry-detail/apparatus-entry-detail.component.ts ***!
- \*******************************************************************************************************/
- /*! exports provided: ApparatusEntryDetailComponent */
- /***/
- function xZzZ(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ApparatusEntryDetailComponent", function () {
- return ApparatusEntryDetailComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../apparatus-entry-readings/apparatus-entry-readings.component */
- "etwH");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! ../../../pinboard/pinner/pinner.component */
- "j7gH");
- /* harmony import */
- var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! @ng-bootstrap/ng-bootstrap */
- "1kSV");
- /* harmony import */
- var _note_note_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../../note/note.component */
- "EpuN");
- /* harmony import */
- var _reading_reading_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
- /*! ../../reading/reading.component */
- "QgGR");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
- /*! ../../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
- /*! @ngx-translate/core */
- "sYmb");
- /* harmony import */
- var _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
- /*! ../../../pipes/xml-beautify.pipe */
- "UhR9");
- var ApparatusEntryDetailComponent_1;
- function ApparatusEntryDetailComponent_div_4_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 18);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "sup");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-apparatus-entry-readings", 19);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var nesApp_r9 = ctx.$implicit;
- var i_r10 = ctx.index;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", i_r10 + 1, " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", nesApp_r9)("template", _r6)("rdgHasCounter", false);
- }
- }
- function ApparatusEntryDetailComponent_div_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_div_4_span_1_Template, 4, 4, "span", 17);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r0.nestedApps);
- }
- }
- function ApparatusEntryDetailComponent_li_9_ng_template_4_evt_note_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-note", 22);
- }
- if (rf & 2) {
- var note_r13 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", note_r13);
- }
- }
- function ApparatusEntryDetailComponent_li_9_ng_template_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ApparatusEntryDetailComponent_li_9_ng_template_4_evt_note_0_Template, 1, 1, "evt-note", 21);
- }
- if (rf & 2) {
- var ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r11.data.notes);
- }
- }
- function ApparatusEntryDetailComponent_li_9_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 20);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, ApparatusEntryDetailComponent_li_9_ng_template_4_Template, 1, 1, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "criticalNotes"));
- }
- }
- function ApparatusEntryDetailComponent_li_10_ng_template_4_span_0_span_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 27);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var witID_r18 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", witID_r18, " ");
- }
- }
- function ApparatusEntryDetailComponent_li_10_ng_template_4_span_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 25);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 22);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_li_10_ng_template_4_span_0_span_2_Template, 2, 1, "span", 26);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var el_r16 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", el_r16);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", el_r16.witIDs);
- }
- }
- function ApparatusEntryDetailComponent_li_10_ng_template_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ApparatusEntryDetailComponent_li_10_ng_template_4_span_0_Template, 3, 2, "span", 24);
- }
- if (rf & 2) {
- var ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r14.notSignificantRdg);
- }
- }
- function ApparatusEntryDetailComponent_li_10_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "li", 23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "a", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, ApparatusEntryDetailComponent_li_10_ng_template_4_Template, 1, 1, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "ortographicVariants"));
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_div_0_evt_reading_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 36);
- }
- if (rf & 2) {
- var ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r21.data.lemma);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_div_0_span_5_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainer"](0);
- }
- }
- var _c0 = function _c0(a0) {
- return {
- rdgHasCounter: a0
- };
- };
- function ApparatusEntryDetailComponent_ng_template_15_div_0_span_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 37);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_div_0_span_5_ng_container_1_Template, 1, 0, "ng-container", 38);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngTemplateOutlet", _r6)("ngTemplateOutletContext", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpureFunction1"](2, _c0, ctx_r22.rdgHasCounter));
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_div_0_span_6_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 41);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var metadata_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", metadata_r26.key, ":");
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_div_0_span_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 39);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_div_0_span_6_span_1_Template, 2, 1, "span", 40);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var metadata_r26 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", metadata_r26.key !== "id");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", metadata_r26.value, " ");
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_div_0_span_8_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 39);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 27);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "noDataAvailable"));
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_div_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 31);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, ApparatusEntryDetailComponent_ng_template_15_div_0_evt_reading_4_Template, 1, 1, "evt-reading", 32);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, ApparatusEntryDetailComponent_ng_template_15_div_0_span_5_Template, 2, 4, "span", 33);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, ApparatusEntryDetailComponent_ng_template_15_div_0_span_6_Template, 3, 2, "span", 34);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](7, "keyvalue");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](8, ApparatusEntryDetailComponent_ng_template_15_div_0_span_8_Template, 4, 3, "span", 35);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](9, "keyvalue");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 5, "metadataForLemma"), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r19.data.nestedAppsIDs.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r19.data.nestedAppsIDs.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](7, 7, ctx_r19.rdgMetadata));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](9, 9, ctx_r19.rdgMetadata).length === 0);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_evt_reading_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 36);
- }
- if (rf & 2) {
- var rdg_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3).$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", rdg_r29);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 47);
- }
- if (rf & 2) {
- var c_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", c_r39);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_evt_reading_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-reading", 36);
- }
- if (rf & 2) {
- var c_r39 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", c_r39.lemma);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_evt_content_viewer_1_Template, 1, 1, "evt-content-viewer", 46);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_evt_reading_2_Template, 1, 1, "evt-reading", 32);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var c_r39 = ctx.$implicit;
- var ctx_r38 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](6);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r38.isAppEntry(c_r39));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r38.isAppEntry(c_r39));
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_ng_container_1_Template, 3, 2, "ng-container", 30);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var rdg_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3).$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", rdg_r29.content);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_evt_reading_1_Template, 1, 1, "evt-reading", 32);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_ng_container_2_Template, 2, 1, "ng-container", 44);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var ctx_r31 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r31.data.nestedAppsIDs.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r31.data.nestedAppsIDs.length > 0);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_span_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 48);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, "omit"));
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_span_6_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 39);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 41);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var rdg_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 2, "wit"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", rdg_r29.attributes.wit, " ");
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_7_span_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 39);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span", 41);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var metadata_r46 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", metadata_r46.key, ":");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", metadata_r46.value, " ");
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_7_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_7_span_1_Template, 4, 2, "span", 35);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var metadata_r46 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", metadata_r46.key !== "wit");
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 43);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_4_Template, 3, 2, "ng-container", 44);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_span_5_Template, 3, 3, "span", 45);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](6, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_span_6_Template, 5, 4, "span", 35);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](7, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_ng_container_7_Template, 2, 1, "ng-container", 30);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](8, "keyvalue");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var rdg_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- var ctx_r30 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 5, "metadataFor"), " ");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdg_r29.content.length !== 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdg_r29.content.length === 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdg_r29.attributes.wit);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](8, 7, ctx_r30.rdgMetadata));
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_ng_container_5_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_div_1_Template, 9, 9, "div", 42);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "keyvalue");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var rdg_r29 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, rdg_r29.attributes).length !== 0);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_15_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ApparatusEntryDetailComponent_ng_template_15_div_0_Template, 10, 11, "div", 28);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 29);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](4, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](5, ApparatusEntryDetailComponent_ng_template_15_ng_container_5_Template, 3, 3, "ng-container", 30);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r4.data.lemma);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](4, 3, "moreInfoAboutApp"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r4.readings);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_20_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "pre");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](2, "xmlBeautify");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](2, 1, ctx_r5.data.originalEncoding));
- }
- }
- function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_evt_content_viewer_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 50);
- }
- if (rf & 2) {
- var c_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- var ctx_r53 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMap"](ctx_r53.data["class"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", c_r52);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_sup_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "sup");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var c_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
- var ctx_r56 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"]("", ctx_r56.getNestedAppPos(c_r52.id) + 1, " ");
- }
- }
- function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_sup_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "sup");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var nesID_r60 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- var ctx_r62 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r62.getNestedAppPos(nesID_r60) + 1);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 22);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_sup_2_Template, 2, 1, "sup", 44);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var nesID_r60 = ctx.$implicit;
- var rdgHasCounter_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](4).rdgHasCounter;
- var ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r59.getNestedAppLemma(nesID_r60));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdgHasCounter_r50);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_ng_container_1_Template, 3, 2, "ng-container", 30);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var c_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", c_r52.nestedAppsIDs);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-reading", 22);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_sup_2_Template, 2, 1, "sup", 44);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](3, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_ng_container_3_Template, 2, 1, "ng-container", 44);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var c_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- var rdgHasCounter_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().rdgHasCounter;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", c_r52.lemma);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", rdgHasCounter_r50);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", c_r52.nestedAppsIDs.length > 0);
- }
- }
- function ApparatusEntryDetailComponent_ng_template_22_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerStart"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_evt_content_viewer_1_Template, 1, 4, "evt-content-viewer", 49);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_ng_container_2_Template, 4, 3, "ng-container", 44);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementContainerEnd"]();
- }
- if (rf & 2) {
- var c_r52 = ctx.$implicit;
- var ctx_r51 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx_r51.isAppEntry(c_r52));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx_r51.isAppEntry(c_r52));
- }
- }
- function ApparatusEntryDetailComponent_ng_template_22_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, ApparatusEntryDetailComponent_ng_template_22_ng_container_0_Template, 3, 2, "ng-container", 30);
- }
- if (rf & 2) {
- var ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r7.data.lemma.content);
- }
- }
- var ApparatusEntryDetailComponent = ApparatusEntryDetailComponent_1 = /*#__PURE__*/function () {
- function ApparatusEntryDetailComponent(evtModelService) {
- _classCallCheck(this, ApparatusEntryDetailComponent);
- this.evtModelService = evtModelService;
- this.nestedApps = [];
- this.rdgHasCounter = false;
- }
- _createClass(ApparatusEntryDetailComponent, [{
- key: "ngOnInit",
- value: function ngOnInit() {
- if (this.data.nestedAppsIDs.length > 0) {
- this.recoverNestedApps(this.data);
- }
- }
- }, {
- key: "recoverNestedApps",
- value: function recoverNestedApps(app) {
- var _this137 = this;
- var nesApps = app.lemma.content.filter(function (c) {
- return c.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["ApparatusEntry"];
- });
- nesApps.forEach(function (nesApp) {
- _this137.nestedApps = _this137.nestedApps.concat(nesApp);
- if (nesApp.nestedAppsIDs.length > 0) {
- _this137.recoverNestedApps(nesApp);
- }
- });
- }
- }, {
- key: "isAppEntry",
- value: function isAppEntry(item) {
- return item.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["ApparatusEntry"];
- }
- /* gestire questo FS */
- }, {
- key: "getNestedAppLemma",
- value: function getNestedAppLemma(appId) {
- return this.nestedApps.find(function (c) {
- return c.id === appId;
- }).lemma;
- }
- }, {
- key: "getNestedAppPos",
- value: function getNestedAppPos(appId) {
- return this.nestedApps.findIndex(function (nesApp) {
- return nesApp.id === appId;
- });
- }
- }, {
- key: "significantRdg",
- get: function get() {
- return this.data.readings.filter(function (rdg) {
- return rdg.significant;
- });
- }
- }, {
- key: "notSignificantRdg",
- get: function get() {
- return this.data.readings.filter(function (rdg) {
- return !rdg.significant;
- });
- }
- }, {
- key: "readings",
- get: function get() {
- return [this.data.lemma].concat(_toConsumableArray(this.significantRdg), _toConsumableArray(this.notSignificantRdg));
- }
- }, {
- key: "rdgMetadata",
- get: function get() {
- var _this138 = this;
- return Object.keys(this.data.attributes).filter(function (key) {
- return key !== 'id';
- }).reduce(function (obj, key) {
- return Object.assign(Object.assign({}, obj), _defineProperty({}, key, _this138.data.attributes[key]));
- }, {});
- }
- }]);
- return ApparatusEntryDetailComponent;
- }();
- ApparatusEntryDetailComponent.ɵfac = function ApparatusEntryDetailComponent_Factory(t) {
- return new (t || ApparatusEntryDetailComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"]));
- };
- ApparatusEntryDetailComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: ApparatusEntryDetailComponent,
- selectors: [["evt-apparatus-entry-detail"]],
- inputs: {
- data: "data"
- },
- decls: 24,
- vars: 14,
- consts: [[1, "card", "app-detail-container"], [1, "card-body", "app-detail-content"], [1, "app-detail-readings", 3, "data", "template", "rdgHasCounter"], ["class", "app-detail-nested-readings-container", 4, "ngIf"], ["renderer", "ApparatusEntryReadings", "pinType", "ApparatusEntry", 3, "item"], [1, "card-footer", "app-detail-tabs"], ["ngbNav", "", 1, "nav-pills"], ["appEntryTab", "ngbNav"], ["ngbNavItem", "criticalNotes", 4, "ngIf"], ["ngbNavItem", "notSignificantRdg", 4, "ngIf"], ["ngbNavItem", "info"], ["ngbNavLink", "", 1, "app-detail-btn"], ["ngbNavContent", ""], ["ngbNavItem", "xml"], [1, "tab-content", 3, "ngbNavOutlet"], ["nestedAppsReadingsTemplate", ""], [1, "app-detail-nested-readings-container"], ["class", "app-detail-nested-readings", 4, "ngFor", "ngForOf"], [1, "app-detail-nested-readings"], [3, "data", "template", "rdgHasCounter"], ["ngbNavItem", "criticalNotes"], [3, "data", 4, "ngFor", "ngForOf"], [3, "data"], ["ngbNavItem", "notSignificantRdg"], ["class", "d-block", 4, "ngFor", "ngForOf"], [1, "d-block"], ["class", "font-italic", 4, "ngFor", "ngForOf"], [1, "font-italic"], ["class", "info-lemma-wrapper", 4, "ngIf"], [1, "more-info-label"], [4, "ngFor", "ngForOf"], [1, "info-lemma-wrapper"], ["class", "info-rdg", 3, "data", 4, "ngIf"], ["class", "info-rdg", 4, "ngIf"], ["class", "d-block ml-2", 4, "ngFor", "ngForOf"], ["class", "d-block ml-2", 4, "ngIf"], [1, "info-rdg", 3, "data"], [1, "info-rdg"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "d-block", "ml-2"], ["class", "info-label", 4, "ngIf"], [1, "info-label"], ["class", "mb-2", 4, "ngIf"], [1, "mb-2"], [4, "ngIf"], ["class", "font-italic info-rdg", 4, "ngIf"], ["class", "info-rdg", 3, "content", 4, "ngIf"], [1, "info-rdg", 3, "content"], [1, "font-italic", "info-rdg"], [3, "class", "content", 4, "ngIf"], [3, "content"]],
- template: function ApparatusEntryDetailComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "evt-apparatus-entry-readings", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, ApparatusEntryDetailComponent_div_4_Template, 2, 1, "div", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](5, "evt-pinner", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "div", 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](7, "ul", 6, 7);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](9, ApparatusEntryDetailComponent_li_9_Template, 5, 3, "li", 8);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](10, ApparatusEntryDetailComponent_li_10_Template, 5, 3, "li", 9);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](11, "li", 10);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](12, "a", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](14, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](15, ApparatusEntryDetailComponent_ng_template_15_Template, 6, 5, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](16, "li", 13);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](17, "a", 11);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](18);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](19, "translate");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](20, ApparatusEntryDetailComponent_ng_template_20_Template, 3, 3, "ng-template", 12);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](21, "div", 14);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](22, ApparatusEntryDetailComponent_ng_template_22_Template, 1, 1, "ng-template", null, 15, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplateRefExtractor"]);
- }
- if (rf & 2) {
- var _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](8);
- var _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](23);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx.data)("template", _r6)("rdgHasCounter", true);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.nestedAppsIDs.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("item", ctx.data);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.data.notes.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.notSignificantRdg.length > 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](14, 10, "info"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](5);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](19, 12, "xml"));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngbNavOutlet", _r1);
- }
- },
- directives: [_apparatus_entry_readings_apparatus_entry_readings_component__WEBPACK_IMPORTED_MODULE_5__["ApparatusEntryReadingsComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], _pinboard_pinner_pinner_component__WEBPACK_IMPORTED_MODULE_7__["PinnerComponent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNav"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavLink"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavContent"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavOutlet"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], _note_note_component__WEBPACK_IMPORTED_MODULE_9__["NoteComponent"], _reading_reading_component__WEBPACK_IMPORTED_MODULE_10__["ReadingComponent"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgTemplateOutlet"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_11__["ContentViewerComponent"]],
- pipes: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__["TranslatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["KeyValuePipe"], _pipes_xml_beautify_pipe__WEBPACK_IMPORTED_MODULE_13__["XmlBeautifyPipe"]],
- styles: [".app-detail-container[_ngcontent-%COMP%] {\n top: -0.063rem;\n z-index: 0;\n border-radius: 0;\n cursor: auto;\n}\n[data-theme=restore][_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-detail-container[_ngcontent-%COMP%] {\n background-color: #f9f7f5;\n}\n[data-theme=neutral][_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-detail-container[_ngcontent-%COMP%] {\n background-color: #f5f5f5;\n}\n[data-theme=modern][_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-detail-container[_ngcontent-%COMP%] {\n background-color: #f1f4f5;\n}\n[data-theme=classic][_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-detail-container[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-detail-container[_ngcontent-%COMP%] {\n background-color: #f9f7f5;\n}\n.app-detail-content[_ngcontent-%COMP%], .app-detail-tabs[_ngcontent-%COMP%] {\n background-color: transparent;\n font-size: 1.063rem;\n}\n.app-detail-content[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n padding: 0.313rem;\n}\n.app-detail-readings[_ngcontent-%COMP%] {\n display: block;\n}\n.app-detail-nested-readings[_ngcontent-%COMP%] {\n display: block;\n margin-left: 0.938rem;\n font-size: 1rem;\n}\n.app-detail-tabs[_ngcontent-%COMP%] {\n font-size: 1rem;\n margin: 0 0.313rem 0 0.313rem;\n padding: 0.313rem 0 0 0;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] {\n background-color: transparent;\n color: #000000;\n line-height: 1;\n padding: 0.25rem 0.375rem;\n cursor: pointer;\n border-radius: 0;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%] {\n color: #000000;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .nav-pills[_ngcontent-%COMP%], .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n margin-right: -0.313rem;\n margin-left: -0.313rem;\n}\n[data-theme=restore][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=restore][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n background-color: #f2ede9;\n}\n[data-theme=neutral][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=neutral][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n background-color: #e7e7e7;\n}\n[data-theme=modern][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=modern][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n background-color: #eaecec;\n}\n[data-theme=classic][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%], [data-theme=classic][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n background-color: #f2ede9;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] {\n padding: 0.625rem 0.813rem;\n max-height: 12.5rem;\n overflow: auto;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%] {\n padding-bottom: 0.438rem;\n margin-bottom: 0.625rem;\n}\n[data-theme=restore][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}\n[data-theme=neutral][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}\n[data-theme=modern][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}\n[data-theme=classic][_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-lemma-wrapper[_ngcontent-%COMP%] {\n border-bottom: 1px solid rgba(0, 0, 0, 0.125);\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-rdg[_ngcontent-%COMP%] {\n font-style: italic;\n font-weight: 600;\n font-size: 1.063rem;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .info-label[_ngcontent-%COMP%] {\n font-size: 0.813rem;\n text-transform: uppercase;\n font-weight: 600;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] .more-info-label[_ngcontent-%COMP%] {\n display: block;\n font-size: 0.813rem;\n font-weight: 600;\n text-transform: uppercase;\n margin-bottom: 0.25rem;\n}\n.app-detail-tabs[_ngcontent-%COMP%] .tab-content[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]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W5jbHVkZSB0aGVtaWZ5KCR0aGVtZXMpIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRoZW1lZChcImFwcEVudHJ5Qm94QWN0aXZlVGFiQmdcIik7XG4gICAgICAgIH1cbiAgICB9XG4gICAgLnRhYi1jb250ZW50IHtcbiAgICAgICAgcGFkZGluZzogMC42MjVyZW0gMC44MTNyZW07XG4gICAgICAgIG1heC1oZWlnaHQ6IDEyLjVyZW07XG4gICAgICAgIG92ZXJmbG93OiBhdXRvO1xuICAgICAgICAuaW5mby1sZW1tYS13cmFwcGVyIHtcbiAgICAgICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykge1xuICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCB0aGVtZWQoXCJiYXNlQm9yZGVyXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IDAuNDM4cmVtO1xuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMC42MjVyZW07XG4gICAgICAgIH1cbiAgICAgICAgLmluZm8tcmRnIHtcbiAgICAgICAgICAgIGZvbnQtc3R5bGU6IGl0YWxpYztcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiA2MDA7XG4gICAgICAgICAgICBmb250LXNpemU6IDEuMDYzcmVtO1xuICAgICAgICB9XG4gICAgICAgIC5pbmZvLWxhYmVsIHtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMC44MTNyZW07XG4gICAgICAgICAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDYwMDtcbiAgICAgICAgfVxuICAgICAgICAubW9yZS1pbmZvLWxhYmVsIHtcbiAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICAgICAgZm9udC1zaXplOiAwLjgxM3JlbTtcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiA2MDA7XG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YGBgXG4vLyAgYnRuLXByaW1hcnkge1xuICAgIC8vICBAaW5jbHVkZSB0aGVtaWZ5U2VsZigkdGhlbWVzKSB7XG4gICAgICAgIC8vICBjb2xvcjogdGhlbWVkKCdiYXNlQ29sb3JEYXJrJyk7XG4gICAgLy8gIH1cbi8vICB9XG4vLyBgYGBcbkBtaXhpbiB0aGVtaWZ5U2VsZigkdGhlbWVzOiAkdGhlbWVzKSB7XG4gICAgQGVhY2ggJHRoZW1lLCAkbWFwIGluICR0aGVtZXMge1xuICAgICAgICAgJltkYXRhLXRoZW1lPVwiI3skdGhlbWV9XCJdIHtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6ICgpICFnbG9iYWw7XG4gICAgICAgICAgICBAZWFjaCAka2V5LCAkc3VibWFwIGluICRtYXAge1xuICAgICAgICAgICAgICAgICR2YWx1ZTogbWFwLWdldChtYXAtZ2V0KCR0aGVtZXMsICR0aGVtZSksICcjeyRrZXl9Jyk7XG4gICAgICAgICAgICAgICAgJHRoZW1lLW1hcDogbWFwLW1lcmdlKCR0aGVtZS1tYXAsICgka2V5OiAkdmFsdWUpKSAhZ2xvYmFsO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgQGNvbnRlbnQ7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiBudWxsICFnbG9iYWw7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBmdW5jdGlvbiB0aGVtZWQoJGtleSkge1xuICAgIEByZXR1cm4gbWFwLWdldCgkdGhlbWUtbWFwLCAka2V5KTtcbn1cblxuIl19 */"],
- changeDetection: 0
- });
- ApparatusEntryDetailComponent = ApparatusEntryDetailComponent_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(ApparatusEntryDetailComponent_1)], ApparatusEntryDetailComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ApparatusEntryDetailComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-apparatus-entry-detail',
- templateUrl: './apparatus-entry-detail.component.html',
- styleUrls: ['./apparatus-entry-detail.component.scss'],
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectionStrategy"].OnPush
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_4__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "xdSp":
- /*!****************************************************************!*\
- !*** ./src/app/services/xml-parsers/generic-parser.service.ts ***!
- \****************************************************************/
- /*! exports provided: GenericParserService */
- /***/
- function xdSp(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "GenericParserService", function () {
- return GenericParserService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- var GenericParserService = /*#__PURE__*/function () {
- function GenericParserService() {
- _classCallCheck(this, GenericParserService);
- }
- _createClass(GenericParserService, [{
- key: "parse",
- value: function parse(xml) {
- return Object(___WEBPACK_IMPORTED_MODULE_1__["parse"])(xml);
- }
- }]);
- return GenericParserService;
- }();
- GenericParserService.ɵfac = function GenericParserService_Factory(t) {
- return new (t || GenericParserService)();
- };
- GenericParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: GenericParserService,
- factory: GenericParserService.ɵfac
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](GenericParserService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
- }], null, null);
- })();
- /***/
- },
- /***/
- "y42B":
- /*!*****************************************!*\
- !*** ./src/app/services/idb.service.ts ***!
- \*****************************************/
- /*! exports provided: IdbService */
- /***/
- function y42B(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "IdbService", function () {
- return IdbService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var dexie__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! dexie */
- "Texg");
- var IdbService = /*#__PURE__*/function (_dexie__WEBPACK_IMPOR) {
- _inherits(IdbService, _dexie__WEBPACK_IMPOR);
- var _super334 = _createSuper(IdbService);
- function IdbService() {
- var _this139;
- _classCallCheck(this, IdbService);
- _this139 = _super334.call(this, 'EVT-Annotator');
- _this139.version(1).stores({
- Annotations: '++id'
- });
- _this139.db = _this139.table('Annotations');
- return _this139;
- }
- _createClass(IdbService, [{
- key: "getAll",
- value: function getAll() {
- return this.db.toArray();
- }
- }, {
- key: "add",
- value: function add(data) {
- return this.db.add(data);
- }
- }, {
- key: "update",
- value: function update(id, data) {
- return this.db.update(id, data);
- }
- }, {
- key: "remove",
- value: function remove(id) {
- return this.db["delete"](id);
- }
- }]);
- return IdbService;
- }(dexie__WEBPACK_IMPORTED_MODULE_1__["default"]);
- IdbService.ɵfac = function IdbService_Factory(t) {
- return new (t || IdbService)();
- };
- IdbService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: IdbService,
- factory: IdbService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](IdbService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [];
- }, null);
- })();
- /***/
- },
- /***/
- "y5KG":
- /*!*******************************************************************!*\
- !*** ./src/app/components/verses-group/verses-group.component.ts ***!
- \*******************************************************************/
- /*! exports provided: VersesGroupComponent */
- /***/
- function y5KG(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "VersesGroupComponent", function () {
- return VersesGroupComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! rxjs/operators */
- "kU1M");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../../services/evt-model.service */
- "hI0h");
- /* harmony import */
- var _directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../directives/html-attributes.directive */
- "0Bbq");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
- /*! ../../directives/highlight.directive */
- "CmGG");
- function VersesGroupComponent_evt_content_viewer_4_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](0, "evt-content-viewer", 3);
- }
- if (rf & 2) {
- var el_r1 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", el_r1)("editionLevel", ctx_r0.editionLevel)("itemsToHighlight", ctx_r0.itemsToHighlight)("evtHighlight", ctx_r0.highlightData);
- }
- }
- var VersesGroupComponent = /*#__PURE__*/function () {
- function VersesGroupComponent(evtModelService) {
- _classCallCheck(this, VersesGroupComponent);
- this.evtModelService = evtModelService;
- }
- _createClass(VersesGroupComponent, [{
- key: "displayBlock$",
- get: function get() {
- var _this140 = this;
- return this.evtModelService.lines$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (lines) {
- return lines.length > 0;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(function (hasLines) {
- // In diplomatic and interpretative edition, if the text doesn't have any line, verses group are shown as block items
- // In critical edition verses are always shown as block items
- switch (_this140.editionLevel) {
- case 'diplomatic':
- case 'interpretative':
- return !hasLines;
- case 'critical':
- return true;
- }
- }));
- }
- }]);
- return VersesGroupComponent;
- }();
- VersesGroupComponent.ɵfac = function VersesGroupComponent_Factory(t) {
- return new (t || VersesGroupComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]));
- };
- VersesGroupComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: VersesGroupComponent,
- selectors: [["evt-verses-group"]],
- inputs: {
- data: "data"
- },
- decls: 5,
- vars: 11,
- consts: [[3, "evtHtmlAttributes"], [1, "verses-group-num"], [3, "content", "editionLevel", "itemsToHighlight", "evtHighlight", 4, "ngFor", "ngForOf"], [3, "content", "editionLevel", "itemsToHighlight", "evtHighlight"]],
- template: function VersesGroupComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "span", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](2, "span", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](4, VersesGroupComponent_evt_content_viewer_4_Template, 1, 4, "evt-content-viewer", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassMapInterpolate2"]("verses-group ", ctx.data["class"], " ", ctx.data.groupType, "");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("display-block", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](1, 9, ctx.displayBlock$));
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("evtHtmlAttributes", ctx.data.attributes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx.data.n);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data.content);
- }
- },
- directives: [_directives_html_attributes_directive__WEBPACK_IMPORTED_MODULE_6__["HtmlAttributesDirective"], _angular_common__WEBPACK_IMPORTED_MODULE_7__["NgForOf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_8__["ContentViewerComponent"], _directives_highlight_directive__WEBPACK_IMPORTED_MODULE_9__["HighlightDirective"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_7__["AsyncPipe"]],
- styles: [".verses-group[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n display: none;\n}\n.verses-group.display-block[_ngcontent-%COMP%] {\n margin-bottom: 1.3rem;\n display: block;\n}\n.verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n background: none;\n border: none;\n margin-right: 5px;\n display: inline-flex;\n vertical-align: middle;\n justify-content: center;\n align-items: center;\n min-width: 16px;\n height: 16px;\n padding: 1px;\n text-align: center;\n font-size: 0.7em;\n line-height: 1.4em;\n}\n[data-theme=restore][_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=restore] [_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=restore][_ngcontent-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n color: #783a3a;\n}\n[data-theme=neutral][_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=neutral] [_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=neutral][_ngcontent-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n color: #555;\n}\n[data-theme=modern][_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=modern] [_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=modern][_ngcontent-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n color: #607d8b;\n}\n[data-theme=classic][_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=classic] [_nghost-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%], [data-theme=classic][_ngcontent-%COMP%] .verses-group.display-block[_ngcontent-%COMP%] .verses-group-num[_ngcontent-%COMP%] {\n color: #8f776a;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3ZlcnNlcy1ncm91cC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJSTtFQUNJLGFBQUE7QUFIUjtBQUtJO0VBQ0kscUJBQUE7RUFDQSxjQUFBO0FBSFI7QUFLUTtFQUNJLGdCQUFBO0VBQ0EsWUFBQTtFQUNBLGlCQUFBO0VBQ0Esb0JBQUE7RUFDQSxzQkFBQTtFQUNBLHVCQUFBO0VBQ0EsbUJBQUE7RUFFQSxlQUFBO0VBQ0EsWUFBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtFQUVBLGdCQUFBO0VBQ0Esa0JBQUE7QUFMWjtBQ29FUTtFRDdEUSxjQUFBO0FBSmhCO0FDaUVRO0VEN0RRLFdBQUE7QUFEaEI7QUM4RFE7RUQ3RFEsY0FBQTtBQUVoQjtBQzJEUTtFRDdEUSxjQUFBO0FBS2hCIiwiZmlsZSI6InZlcnNlcy1ncm91cC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9jb2xvcnNcIjtcbkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy90aGVtZXNcIjtcblxuLnZlcnNlcy1ncm91cCB7XG4gICAgLnZlcnNlcy1ncm91cC1udW0ge1xuICAgICAgICBkaXNwbGF5OiBub25lO1xuICAgIH1cbiAgICAmLmRpc3BsYXktYmxvY2sge1xuICAgICAgICBtYXJnaW4tYm90dG9tOiAxLjNyZW07XG4gICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuXG4gICAgICAgIC52ZXJzZXMtZ3JvdXAtbnVtIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQ6IG5vbmU7XG4gICAgICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDVweDtcbiAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1mbGV4O1xuICAgICAgICAgICAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbiAgICAgICAgICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcblxuICAgICAgICAgICAgbWluLXdpZHRoOiAxNnB4O1xuICAgICAgICAgICAgaGVpZ2h0OiAxNnB4O1xuICAgICAgICAgICAgcGFkZGluZzogMXB4O1xuICAgICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuXG4gICAgICAgICAgICBmb250LXNpemU6IDAuN2VtO1xuICAgICAgICAgICAgbGluZS1oZWlnaHQ6IDEuNGVtO1xuICAgICAgICAgICAgQGluY2x1ZGUgdGhlbWlmeSgkdGhlbWVzKSB7XG4gICAgICAgICAgICAgICAgY29sb3I6IHRoZW1lZChcInNlY29uZGFyeUNvbG9yRGFya1wiKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbn1cbiIsIiR0aGVtZXM6IChcbiAgICByZXN0b3JlOiAoXG4gICAgICAgIGJhc2VDb2xvckRhcms6ICMwYTQ1NTMsXG4gICAgICAgIGJhc2VDb2xvckxpZ2h0OiAjZTllOWU5LFxuICAgICAgICBiYXNlQm9yZGVyOiByZ2JhKDAsIDAsIDAsIDAuMTI1KSxcbiAgICAgICAgc2Vjb25kYXJ5Q29sb3JEYXJrOiBy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WUtbWFwOiBtYXAtbWVyZ2UoJHRoZW1lLW1hcCwgKCRrZXk6ICR2YWx1ZSkpICFnbG9iYWw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBAY29udGVudDtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6IG51bGwgIWdsb2JhbDtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQGZ1bmN0aW9uIHRoZW1lZCgka2V5KSB7XG4gICAgQHJldHVybiBtYXAtZ2V0KCR0aGVtZS1tYXAsICRrZXkpO1xufVxuXG4iXX0= */"]
- });
- VersesGroupComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_4__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_3__["VersesGroup"])], VersesGroupComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](VersesGroupComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-verses-group',
- templateUrl: './verses-group.component.html',
- styleUrls: ['./verses-group.component.scss']
- }]
- }], function () {
- return [{
- type: _services_evt_model_service__WEBPACK_IMPORTED_MODULE_5__["EVTModelService"]
- }];
- }, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "y8/R":
- /*!***************************************************************!*\
- !*** ./src/app/components/notes-stmt/notes-stmt.component.ts ***!
- \***************************************************************/
- /*! exports provided: NotesStmtComponent */
- /***/
- function y8R(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "NotesStmtComponent", function () {
- return NotesStmtComponent;
- });
- /* harmony import */
- var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! tslib */
- "mrSG");
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _models_evt_models__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ../../models/evt-models */
- "5c0l");
- /* harmony import */
- var _services_component_register_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../../services/component-register.service */
- "d25s");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
- /*! ../../ui-components/header-section/header-section.component */
- "iRdJ");
- function NotesStmtComponent_div_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var note_r2 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", note_r2);
- }
- }
- function NotesStmtComponent_evt_header_section_1_div_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div");
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](1, "evt-content-viewer", 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var item_r4 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", item_r4);
- }
- }
- function NotesStmtComponent_evt_header_section_1_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "evt-header-section", 3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](1, "div", 4);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](2, NotesStmtComponent_evt_header_section_1_div_2_Template, 2, 1, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- var ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("label", "relatedItems")("additionalClass", "relatedItems")("inlineLabel", false);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r1.data == null ? null : ctx_r1.data.relatedItems);
- }
- }
- var NotesStmtComponent = function NotesStmtComponent() {
- _classCallCheck(this, NotesStmtComponent);
- };
- NotesStmtComponent.ɵfac = function NotesStmtComponent_Factory(t) {
- return new (t || NotesStmtComponent)();
- };
- NotesStmtComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: NotesStmtComponent,
- selectors: [["evt-notes-stmt"]],
- inputs: {
- data: "data"
- },
- decls: 2,
- vars: 2,
- consts: [[4, "ngFor", "ngForOf"], [3, "label", "additionalClass", "inlineLabel", 4, "ngIf"], [3, "content"], [3, "label", "additionalClass", "inlineLabel"], ["content", ""]],
- template: function NotesStmtComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](0, NotesStmtComponent_div_0_Template, 2, 1, "div", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](1, NotesStmtComponent_evt_header_section_1_Template, 3, 4, "evt-header-section", 1);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx.data == null ? null : ctx.data.notes);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (ctx.data == null ? null : ctx.data.relatedItems == null ? null : ctx.data.relatedItems.length) > 0);
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_5__["ContentViewerComponent"], _ui_components_header_section_header_section_component__WEBPACK_IMPORTED_MODULE_6__["HeaderSectionComponent"]],
- styles: [".main-section-title[_ngcontent-%COMP%] {\n border-bottom: 1px dotted #666;\n margin-bottom: 5px;\n font-variant: small-caps;\n color: #000;\n font-size: 1.2rem;\n display: block;\n margin-top: 14px;\n text-align: left;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25vdGVzLXN0bXQuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUMyRkUsOEJBQUE7RUFDQSxrQkFBQTtFQUNBLHdCQUFBO0VBQ0EsV0FBQTtFQUNBLGlCQUFBO0VBQ0EsY0FBQTtFQUNBLGdCQUFBO0VBQ0EsZ0JBQUE7QUQzRkYiLCJmaWxlIjoibm90ZXMtc3RtdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250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S4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"]
- });
- NotesStmtComponent = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([Object(_services_component_register_service__WEBPACK_IMPORTED_MODULE_3__["register"])(_models_evt_models__WEBPACK_IMPORTED_MODULE_2__["NotesStmt"])], NotesStmtComponent);
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](NotesStmtComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"],
- args: [{
- selector: 'evt-notes-stmt',
- templateUrl: './notes-stmt.component.html',
- styleUrls: ['./notes-stmt.component.scss']
- }]
- }], null, {
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "ycSy":
- /*!***************************************************!*\
- !*** ./src/app/components/page/page.component.ts ***!
- \***************************************************/
- /*! exports provided: PageComponent */
- /***/
- function ycSy(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "PageComponent", function () {
- return PageComponent;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! rxjs */
- "qCKp");
- /* harmony import */
- var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! @angular/common */
- "ofXK");
- /* harmony import */
- var _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! ../content-viewer/content-viewer.component */
- "t6RO");
- /* harmony import */
- var ngx_spinner__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
- /*! ngx-spinner */
- "JqCM");
- function PageComponent_evt_content_viewer_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "evt-content-viewer", 2);
- }
- if (rf & 2) {
- var element_r2 = ctx.$implicit;
- var ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("content", element_r2)("editionLevel", ctx_r0.editionLevel == null ? null : ctx_r0.editionLevel.id)("itemsToHighlight", ctx_r0.itemsToHighlight)("itemsLemsToHighlight", ctx_r0.itemsLemsToHighlight)("itemsIperlemsToHighlight", ctx_r0.itemsIperlemsToHighlight)("textFlow", ctx_r0.textFlow);
- }
- }
- function PageComponent_ngx_spinner_2_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ngx-spinner", 3);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("fullScreen", false);
- }
- }
- var _c0 = function _c0() {
- return [];
- };
- var PageComponent = /*#__PURE__*/function () {
- function PageComponent() {
- _classCallCheck(this, PageComponent);
- this.pageDataChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
- this.busy = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(false); // TODO: manage loading
- }
- _createClass(PageComponent, [{
- key: "data",
- set: function set(v) {
- this.d = v;
- this.pageDataChange.next(this.d);
- },
- get: function get() {
- return this.d;
- }
- }]);
- return PageComponent;
- }();
- PageComponent.ɵfac = function PageComponent_Factory(t) {
- return new (t || PageComponent)();
- };
- PageComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: PageComponent,
- selectors: [["evt-page"]],
- inputs: {
- itemsToHighlight: "itemsToHighlight",
- itemsLemsToHighlight: "itemsLemsToHighlight",
- itemsIperlemsToHighlight: "itemsIperlemsToHighlight",
- editionLevel: "editionLevel",
- textFlow: "textFlow",
- data: "data"
- },
- decls: 4,
- vars: 7,
- consts: [[3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow", 4, "ngFor", "ngForOf"], ["name", "pageSpinner", "type", "ball-beat", "bdColor", "rgba(51,51,51,0.3)", "size", "medium", 3, "fullScreen", 4, "ngIf"], [3, "content", "editionLevel", "itemsToHighlight", "itemsLemsToHighlight", "itemsIperlemsToHighlight", "textFlow"], ["name", "pageSpinner", "type", "ball-beat", "bdColor", "rgba(51,51,51,0.3)", "size", "medium", 3, "fullScreen"]],
- template: function PageComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, PageComponent_evt_content_viewer_0_Template, 1, 6, "evt-content-viewer", 0);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](1, "async");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, PageComponent_ngx_spinner_2_Template, 1, 1, "ngx-spinner", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](3, "async");
- }
- if (rf & 2) {
- var tmp_0_0 = null;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ((tmp_0_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 2, ctx.pageDataChange)) == null ? null : tmp_0_0.parsedContent) || _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction0"](6, _c0));
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](3, 4, ctx.busy));
- }
- },
- directives: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], _content_viewer_content_viewer_component__WEBPACK_IMPORTED_MODULE_3__["ContentViewerComponent"], ngx_spinner__WEBPACK_IMPORTED_MODULE_4__["NgxSpinnerComponent"]],
- pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_2__["AsyncPipe"]],
- styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJwYWdlLmNvbXBvbmVudC5zY3NzIn0= */"]
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PageComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
- args: [{
- selector: 'evt-page',
- templateUrl: './page.component.html',
- styleUrls: ['./page.component.scss']
- }]
- }], null, {
- itemsToHighlight: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- itemsLemsToHighlight: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- itemsIperlemsToHighlight: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- editionLevel: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- textFlow: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }],
- data: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
- }]
- });
- })();
- /***/
- },
- /***/
- "ytha":
- /*!**************************************************************************!*\
- !*** ./src/app/services/xml-parsers/apparatus-entries-parser.service.ts ***!
- \**************************************************************************/
- /*! exports provided: ApparatusEntriesParserService */
- /***/
- function ytha(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "ApparatusEntriesParserService", function () {
- return ApparatusEntriesParserService;
- });
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var ___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! . */
- "UAXx");
- var ApparatusEntriesParserService = /*#__PURE__*/function () {
- function ApparatusEntriesParserService() {
- _classCallCheck(this, ApparatusEntriesParserService);
- this.appEntryTagName = 'app';
- }
- _createClass(ApparatusEntriesParserService, [{
- key: "parseAppEntries",
- value: function parseAppEntries(document) {
- var appParser = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-apparatus-entry-parser');
- return Array.from(document.querySelectorAll(this.appEntryTagName)).map(function (appEntry) {
- return appParser.parse(appEntry);
- });
- }
- }, {
- key: "getSignificantReadings",
- value: function getSignificantReadings(apps) {
- var signRdgs = {};
- apps.forEach(function (app) {
- signRdgs[app.id] = app.readings.concat(app.lemma).filter(function (rdg) {
- return rdg.significant;
- });
- });
- return signRdgs;
- }
- }, {
- key: "getSignificantReadingsNumber",
- value: function getSignificantReadingsNumber(signRdgs) {
- var signRdgsNumber = {};
- Object.keys(signRdgs).forEach(function (app) {
- signRdgsNumber[app] = signRdgs[app].length;
- });
- return signRdgsNumber;
- }
- }, {
- key: "getAppVariance",
- value: function getAppVariance(signRdgsNum, witList) {
- var appsVariance = {};
- if (Object.keys(witList).length > 1) {
- Object.keys(signRdgsNum).forEach(function (x) {
- appsVariance[x] = signRdgsNum[x] / Object.keys(witList).length;
- });
- }
- return appsVariance;
- }
- }]);
- return ApparatusEntriesParserService;
- }();
- ApparatusEntriesParserService.ɵfac = function ApparatusEntriesParserService_Factory(t) {
- return new (t || ApparatusEntriesParserService)();
- };
- ApparatusEntriesParserService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: ApparatusEntriesParserService,
- factory: ApparatusEntriesParserService.ɵfac,
- providedIn: 'root'
- });
- /*@__PURE__*/
- (function () {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ApparatusEntriesParserService, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"],
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /***/
- },
- /***/
- "zSMA":
- /*!***********************************!*\
- !*** ./src/app/utils/js-utils.ts ***!
- \***********************************/
- /*! exports provided: flat, uuid, mapToArray, arrayToMap, uniqueObjCharKeys, uniqueArrayCharKeys, mergeDeep, getEventKeyCode, normalizeUrl, isBoolString, snakeToCamelCased, isUrl */
- /***/
- function zSMA(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "flat", function () {
- return flat;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "uuid", function () {
- return uuid;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "mapToArray", function () {
- return mapToArray;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "arrayToMap", function () {
- return arrayToMap;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "uniqueObjCharKeys", function () {
- return uniqueObjCharKeys;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "uniqueArrayCharKeys", function () {
- return uniqueArrayCharKeys;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "mergeDeep", function () {
- return mergeDeep;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "getEventKeyCode", function () {
- return getEventKeyCode;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "normalizeUrl", function () {
- return normalizeUrl;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "isBoolString", function () {
- return isBoolString;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "snakeToCamelCased", function () {
- return snakeToCamelCased;
- });
- /* harmony export (binding) */
- __webpack_require__.d(__webpack_exports__, "isUrl", function () {
- return isUrl;
- });
- function flat(a) {
- return a.reduce(function (x, y) {
- return x.concat(y);
- }, []);
- }
- function uuid(prefix) {
- return !!prefix ? "".concat(prefix, "-").concat(Math.random()) : "".concat(Math.random());
- }
- function mapToArray(m) {
- return Object.keys(m).map(function (id) {
- return m[id];
- });
- }
- function arrayToMap(arr, key) {
- var map = {};
- arr.forEach(function (x) {
- return map[x["".concat(key)]] = x;
- });
- return map;
- }
- function uniqueObjCharKeys(m) {
- var keys = [];
- Object.keys(m).forEach(function (key) {
- if (keys.indexOf(key[0].toLowerCase()) < 0) {
- keys.push(key[0].toLowerCase());
- }
- });
- keys.sort();
- return keys;
- }
- function uniqueArrayCharKeys(a) {
- var keys = [];
- a.forEach(function (key) {
- if (keys.indexOf(key[0].toLowerCase()) < 0) {
- keys.push(key[0].toLowerCase());
- }
- });
- keys.sort(function (strA, strB) {
- return strA.toLowerCase().localeCompare(strB.toLowerCase());
- });
- return keys;
- }
- /**
- * Performs a deep merge of objects and returns new object. Does not modify
- * objects (immutable) and merges arrays via concatenation.
- *
- * @param objects - Objects to merge
- * @returns New object with merged key/values
- */
- function mergeDeep() {
- var isObject = function isObject(obj) {
- return obj && typeof obj === 'object';
- };
- var cb = function cb(prev, obj) {
- Object.keys(obj).forEach(function (key) {
- var pVal = prev[key];
- var oVal = obj[key];
- if (Array.isArray(pVal) && Array.isArray(oVal)) {
- prev[key] = [].concat(_toConsumableArray(pVal), _toConsumableArray(oVal)).filter(function (element, index, array) {
- return array.indexOf(element) === index;
- });
- } else if (isObject(pVal) && isObject(oVal)) {
- prev[key] = mergeDeep(pVal, oVal);
- } else {
- prev[key] = oVal;
- }
- });
- return prev;
- };
- for (var _len = arguments.length, objects = new Array(_len), _key = 0; _key < _len; _key++) {
- objects[_key] = arguments[_key];
- }
- return objects.reduce(cb, {});
- }
- function getEventKeyCode(event) {
- var code;
- if (event.key !== undefined) {
- code = event.key;
- } else if (event.keyIdentifier !== undefined) {
- code = event.keyIdentifier;
- } else if (event.keyCode !== undefined) {
- code = event.keyCode;
- }
- return code;
- }
- function normalizeUrl(url) {
- return url && url.indexOf('http') < 0 ? 'http://' + url : url;
- }
- function isBoolString(s) {
- return s === 'true';
- }
- function snakeToCamelCased(str) {
- return str.replace(/-([a-z])/g, function (g) {
- return g[1].toUpperCase();
- });
- }
- function isUrl(path) {
- return /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/.test(path);
- }
- /***/
- },
- /***/
- "zUnb":
- /*!*********************!*\
- !*** ./src/main.ts ***!
- \*********************/
- /*! no exports provided */
- /***/
- function zUnb(module, __webpack_exports__, __webpack_require__) {
- "use strict";
- __webpack_require__.r(__webpack_exports__);
- /* harmony import */
- var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
- /*! @angular/core */
- "fXoL");
- /* harmony import */
- var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- /*! ./environments/environment */
- "AytR");
- /* harmony import */
- var _app_app_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
- /*! ./app/app.module */
- "ZAI4");
- /* harmony import */
- var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
- /*! @angular/platform-browser */
- "jhN1");
- if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].production) {
- Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["enableProdMode"])();
- }
- _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__["platformBrowser"]().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_2__["AppModule"])["catch"](function (err) {
- return console.error(err);
- });
- /***/
- },
- /***/
- "zn8P":
- /*!******************************************************!*\
- !*** ./$$_lazy_route_resource lazy namespace object ***!
- \******************************************************/
- /*! no static exports found */
- /***/
- function zn8P(module, exports) {
- function webpackEmptyAsyncContext(req) {
- // Here Promise.resolve().then() is used instead of new Promise() to prevent
- // uncaught exception popping up in devtools
- return Promise.resolve().then(function () {
- var e = new Error("Cannot find module '" + req + "'");
- e.code = 'MODULE_NOT_FOUND';
- throw e;
- });
- }
- webpackEmptyAsyncContext.keys = function () {
- return [];
- };
- webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
- module.exports = webpackEmptyAsyncContext;
- webpackEmptyAsyncContext.id = "zn8P";
- /***/
- }
- }, [[0, "runtime", "vendor"]]]);
- })();
- //# sourceMappingURL=main-es5.js.map
|