1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546 |
- (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{
- /***/ "+54W":
- /*!*********************************************************************!*\
- !*** ./src/app/components/sampling-decl/sampling-decl.component.ts ***!
- \*********************************************************************/
- /*! exports provided: SamplingDeclComponent */
- /***/ (function(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) {
- const content_r1 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", content_r1);
- } }
- let SamplingDeclComponent = class 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(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) {
- const 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) {
- const ref_r6 = ctx.$implicit;
- const 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) {
- const refByDoc_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", refByDoc_r1.refs);
- } }
- const _c0 = function () { return ["auto"]; };
- function LemmatizedEntityOccurrenceComponent_span_0_Template(rf, ctx) { if (rf & 1) {
- const _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); const refByDoc_r1 = ctx.$implicit; const 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) {
- const refByDoc_r1 = ctx.$implicit;
- const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
- const 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, " ");
- } }
- class LemmatizedEntityOccurrenceComponent {
- constructor(evtModelService, evtStatusService) {
- this.evtModelService = evtModelService;
- this.evtStatusService = evtStatusService;
- }
- goToOccurrenceRef(ref) {
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["take"])(1)).subscribe(pages => {
- const page = pages.find(p => p.id === this.occurrence.pageId);
- this.evtStatusService.updateDocument$.next(ref.docId);
- this.evtStatusService.updatePage$.next(page);
- this.evtStatusService.currentLemmatizedEntityId$.next(this.entityLemId);
- });
- }
- }
- 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(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) {
- const content_r1 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", content_r1);
- } }
- let ProjectDescComponent = class 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(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");
- class HtmlAttributesDirective {
- constructor(el, renderer) {
- this.el = el;
- this.renderer = renderer;
- }
- ngOnInit() {
- Object.keys(this.attributes).forEach(key => {
- this.renderer.setAttribute(this.el.nativeElement, `data-${key}`, this.attributes[key]);
- });
- }
- }
- 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(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) {
- const element_r2 = ctx.$implicit;
- const 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) {
- const 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) {
- const 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) {
- const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
- const 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) {
- const 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);
- } }
- const _c0 = function (a0, a1, a2) { return { opened: a0, entityHighlight: a1, noDetails: a2 }; };
- let NamedEntityRefComponent = class NamedEntityRefComponent {
- constructor(evtStatusService, evtModelService, entitiesSelectService) {
- this.evtStatusService = evtStatusService;
- this.evtModelService = evtModelService;
- this.entitiesSelectService = entitiesSelectService;
- this.availableEntities$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => ne.all.entities.length > 0));
- this.entity$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => ne.all.entities.find(e => e.id === this.data.entityId) || 'notFound'));
- this.highlighted$ = this.entitiesSelectService.selectedItems$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])(items => {
- if (this.data) {
- this.data.class = this.data.class || '';
- this.data.attributes = this.data.attributes || {};
- }
- return items;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(items => items.some(i => i && this.data &&
- this.entitiesSelectService.matchClassAndAttributes(i.value, this.data.attributes, this.data.class))));
- this.opened = false;
- }
- toggleEntityData(event) {
- event.stopPropagation();
- this.opened = !this.opened;
- }
- };
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25hbWVkLWVudGl0eS1yZWYuY29tcG9uZW50LnNjc3MiLCIuLi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jogJGNvbG9yLW1pZGRsZTtcbiAgfVxufVxuXG5AbWl4aW4gaXBlcmxlbW1hdGl6ZWRFbnRpdHlSZWZDb2xvcnMoJGNvbG9yLWJhc2UsICRjb2xvci1taWRkbGUsICRjb2xvci1kYXJrZXIpIHtcbiAgYmFja2dyb3VuZDogJGNvbG9yLWJhc2U7XG4gIGJvcmRlci1ib3R0b20tY29sb3I6ICRjb2xvci1taWRkbGU7XG5cbiAgJi5hY3RpdmUge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgYm9yZGVyLXJpZ2h0LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuXG4gICAgJjpub3QoOmZpcnN0LWNoaWxkKSB7XG4gICAgICBib3JkZXItbGVmdC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICB9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cblxuQG1peGluIGhlYWRlclNlY3Rpb25UaXRsZSgpIHtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
- 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(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) {
- const 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);
- } }
- let TextComponent = class 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(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);
- } }
- const _c0 = function (a1) { return { label: "correction", items: a1, class: "correction" }; };
- const _c1 = function (a1) { return { label: "normalization", items: a1, class: "normalization" }; };
- const _c2 = function (a1) { return { label: "punctuation", items: a1, class: "punctuation" }; };
- const _c3 = function (a1) { return { label: "quotation", items: a1, class: "quotation" }; };
- const _c4 = function (a1) { return { label: "hyphenation", items: a1, class: "hyphenation" }; };
- const _c5 = function (a1) { return { label: "segmentation", items: a1, class: "segmentation" }; };
- const _c6 = function (a1) { return { label: "stdVals", items: a1, class: "stdVals" }; };
- const _c7 = function (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) {
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const label_r14 = ctx_r20.label;
- const class_r16 = ctx_r20.class;
- const 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) {
- const items_r15 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r15 == null ? null : items_r15.length) > 0);
- } }
- let EditorialDeclComponent = class 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(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;
- const 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() {
- const neListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.namedEntitiesLists || {};
- return Object.keys(neListsConfig)
- .map((i) => neListsConfig[i].enabled ? namedEntitiesListsTagNamesMap[i] : undefined)
- .filter(ne => !!ne);
- }
- let NamedEntitiesListParser = NamedEntitiesListParser_1 = class NamedEntitiesListParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.neListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.namedEntitiesLists || {};
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
- }
- parse(xml) {
- const 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),
- };
- const relationParse = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RelationParser, this.genericParse);
- xml.childNodes.forEach((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(this.genericParse(child));
- break;
- case 'relation':
- if (this.neListsConfig.relations.enabled) {
- parsedList.relations.push(relationParse.parse(child));
- }
- break;
- case 'listrelation':
- if (this.neListsConfig.relations.enabled) {
- child.querySelectorAll('relation').forEach(r => parsedList.relations.push(relationParse.parse(r)));
- }
- break;
- default:
- if (getListsToParseTagNames().indexOf(child.tagName) >= 0) {
- const subListParser = ___WEBPACK_IMPORTED_MODULE_2__["ParserRegister"].get('evt-named-entities-list-parser');
- const 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(this.genericParse(child));
- }
- }
- }
- });
- parsedList.label = parsedList.label || xml.getAttribute('type') || `List of ${parsedList.namedEntityType}`;
- return parsedList;
- }
- };
- NamedEntitiesListParser = NamedEntitiesListParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-named-entities-list-parser', NamedEntitiesListParser_1)
- ], NamedEntitiesListParser);
- let NamedEntityRefParser = NamedEntityRefParser_1 = class NamedEntityRefParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["GenericElemParser"], this.genericParse);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
- }
- parse(xml) {
- const ref = xml.getAttribute('ref');
- if (!ref) {
- return this.elementParser.parse(xml);
- }
- const 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(),
- };
- }
- };
- 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
- class EntityParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- // TODO: try to refactor subclasses to use a function parameter to get labels
- this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeMapParser"], this.genericParse);
- }
- parse(xml) {
- const elId = xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml);
- const label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(xml.textContent) || 'No info';
- const 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,
- namedEntityType: this.getEntityType(xml.tagName),
- content: Array.from(xml.children).map((subchild) => this.parseEntityInfo(subchild)),
- attributes: this.attributeParsers.parse(xml),
- };
- return entity;
- }
- 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) : {},
- };
- }
- getEntityType(tagName) { return tagName.toLowerCase(); }
- }
- let PersonParser = PersonParser_1 = class PersonParser extends EntityParser {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { label: this.getLabel(xml) });
- }
- getLabel(xml) {
- const nameElement = xml.querySelector('name');
- const forenameElement = xml.querySelector('forename');
- const surnameElement = xml.querySelector('surname');
- const persNameElement = xml.querySelector('persName');
- const occupationElement = xml.querySelector('occupation');
- let 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 ? `${Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(forenameElement.textContent)} ` : '';
- label += surnameElement ? `${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 ? ` (${Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(occupationElement.textContent)})` : '';
- return label;
- }
- };
- PersonParser = PersonParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('person', PersonParser_1)
- ], PersonParser);
- let PersonGroupParser = PersonGroupParser_1 = class PersonGroupParser extends EntityParser {
- parse(xml) { return Object.assign(Object.assign({}, super.parse(xml)), { label: this.getLabel(xml) }); }
- getLabel(xml) {
- const role = xml.getAttribute('role');
- let 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;
- }
- };
- PersonGroupParser = PersonGroupParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('personGrp', PersonGroupParser_1)
- ], PersonGroupParser);
- let PlaceParser = PlaceParser_1 = class PlaceParser extends EntityParser {
- parse(xml) { return Object.assign(Object.assign({}, super.parse(xml)), { label: this.getLabel(xml) }); }
- getLabel(xml) {
- const placeNameElement = xml.querySelector('placeName');
- const settlementElement = xml.querySelector('settlement');
- let 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;
- }
- };
- PlaceParser = PlaceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('place', PlaceParser_1)
- ], PlaceParser);
- class EventParser extends EntityParser {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { label: textLabel('label', xml) });
- }
- getLabel(xml) {
- const eventLabelElement = xml.querySelector('label');
- return (eventLabelElement ? Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(eventLabelElement.textContent) : '') || 'No info';
- }
- }
- let OrganizationParser = OrganizationParser_1 = class OrganizationParser extends EntityParser {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { label: textLabel('orgName', xml) });
- }
- };
- OrganizationParser = OrganizationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('org', OrganizationParser_1)
- ], OrganizationParser);
- class EntityInfoParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
- }
- 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) : {},
- };
- }
- }
- class RelationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
- this.entityInfoParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(EntityInfoParser, this.genericParse);
- this.textParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["TextParser"], this.genericParse);
- }
- parse(xml) {
- const descriptionEls = xml.querySelectorAll('desc');
- const attributes = this.attributeParsers.parse(xml);
- const { name, type } = attributes;
- const active = xml.getAttribute('active') || ''; // TODO: make get attributes return '' as default?
- const mutual = xml.getAttribute('mutual') || '';
- const passive = xml.getAttribute('passive') || '';
- const relation = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Relation"],
- name,
- activeParts: active.replace(/#/g, '').split(' '),
- mutualParts: mutual.replace(/#/g, '').split(' '),
- passiveParts: passive.replace(/#/g, '').split(' '),
- relationType: type,
- attributes,
- content: Array.from(xml.children).map((subchild) => this.entityInfoParser.parse(subchild)),
- description: [],
- };
- if (descriptionEls && descriptionEls.length > 0) {
- descriptionEls.forEach((el) => relation.description.push(this.genericParse(el)));
- }
- else {
- relation.description = [this.textParser.parse(xml)];
- }
- const parentListEl = xml.parentElement.tagName === 'listRelation' ? xml.parentElement : undefined;
- if (parentListEl) {
- relation.relationType = `${(parentListEl.getAttribute('type') || '')} ${(relation.relationType || '')}`.trim();
- }
- return relation;
- }
- }
- function getEntityID(ref) { return ref ? ref.replace(/#/g, '') : ''; }
- function textLabel(elemName, xml) {
- const 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(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");
- class WitnessesParserService {
- constructor(genericParserService) {
- 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"]);
- }
- parseWitnessesData(document) {
- const lists = Array.from(document.querySelectorAll(this.witListTagName));
- return {
- witnesses: this.parseWitnessesList(lists),
- groups: this.parseWitnessesGroups(lists),
- };
- }
- parseWitnessesList(lists) {
- const parsedList = lists.filter((list) => !Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(list, list.tagName))
- .map((list) => this.parseWitnesses(list))
- .reduce((x, y) => x.concat(y), []);
- return parsedList;
- }
- parseWitnesses(list) {
- return Array.from(list.querySelectorAll(this.witTagName))
- .map((wit) => this.parseWitness(wit));
- }
- parseWitness(wit) {
- const id = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(wit);
- return {
- id,
- name: this.parseWitnessName(wit) || id,
- attributes: this.attributeParser.parse(wit),
- content: this.parseWitnessContent(wit),
- groupId: this.parseParentGroupId(wit),
- };
- }
- parseWitnessName(wit) {
- // TODO use ‘?’ operator after update tu angular 9
- const witNameEl = wit.querySelector(`*[${this.witNameAttr}]`);
- if (witNameEl) {
- return Array.from(witNameEl.childNodes)
- .map((child) => this.genericParserService.parse(child));
- }
- return witNameEl;
- }
- parseWitnessContent(wit) {
- return Array.from(wit.childNodes)
- .filter((child) => child.nodeName !== this.witListTagName && child.textContent.trim().length !== 0)
- .map((child) => this.genericParserService.parse(child));
- }
- parseWitnessesGroups(lists) {
- const parsedGroups = lists.filter((list) => Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(list, list.tagName))
- .map((list) => this.parseWitnessGroup(list));
- return parsedGroups;
- }
- 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),
- };
- }
- parseGroupName(list) {
- const groupEl = Array.from(list.children)
- .find((child) => child.nodeName === this.groupTagName);
- return groupEl && groupEl.textContent;
- }
- parseGroupWitnesses(list) {
- return Array.from(list.children)
- .filter(({ nodeName }) => nodeName === this.witListTagName || nodeName === this.witTagName)
- .map((child) => child.getAttribute('xml:id'));
- }
- parseParentGroupId(element) {
- let 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));
- }
- }
- 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(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");
- class 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(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; });
- class GenericElement {
- }
- class NamedEntitiesList extends GenericElement {
- }
- class NamedEntity extends GenericElement {
- }
- class LemmatizedEntitiesList extends GenericElement {
- }
- class LemmatizedEntity extends GenericElement {
- }
- class LemmatizedEntityInfo extends GenericElement {
- }
- class LemmatizedEntityRef extends GenericElement {
- }
- class NamedEntityInfo extends GenericElement {
- }
- class Relation extends GenericElement {
- }
- class NamedEntityRef extends GenericElement {
- }
- class ApparatusEntry extends GenericElement {
- }
- /* add LemEntry FS */
- class LemEntry extends GenericElement {
- }
- class Reading extends GenericElement {
- }
- class Text extends GenericElement {
- }
- class Note extends GenericElement {
- }
- class Paragraph extends GenericElement {
- }
- class Lb extends GenericElement {
- }
- class Surface extends GenericElement {
- }
- class Zone extends GenericElement {
- }
- class ZoneLine extends Zone {
- }
- class ZoneHotSpot extends Zone {
- }
- class Graphic extends GenericElement {
- }
- class Char extends GenericElement {
- }
- class G extends GenericElement {
- }
- class Choice extends GenericElement {
- }
- class Verse extends GenericElement {
- }
- class VersesGroup extends GenericElement {
- }
- class Supplied extends GenericElement {
- }
- class Damage extends GenericElement {
- }
- class Surplus extends GenericElement {
- }
- class Gap extends GenericElement {
- }
- class Addition extends GenericElement {
- }
- class Sic extends GenericElement {
- }
- class Word extends GenericElement {
- }
- class Deletion extends GenericElement {
- }
- class MsFrag extends GenericElement {
- }
- class MsPart extends MsFrag {
- }
- class MsDesc extends MsPart {
- }
- // TODO: fix classes MsDesc, MsPart and MsFrag
- class Identifier extends GenericElement {
- }
- class AltIdentifier extends Identifier {
- }
- class MsIdentifier extends Identifier {
- }
- class MsContents extends GenericElement {
- }
- class PhysDesc extends GenericElement {
- }
- class History extends GenericElement {
- }
- class Head extends GenericElement {
- }
- class Institution extends GenericElement {
- }
- class Repository extends GenericElement {
- }
- class MsName extends GenericElement {
- }
- class CollectionEl extends GenericElement {
- }
- class MsItemStruct extends GenericElement {
- }
- class MsItem extends MsItemStruct {
- }
- class Summary extends GenericElement {
- }
- class Acquisition extends GenericElement {
- }
- class Origin extends GenericElement {
- }
- class OrigDate extends GenericElement {
- }
- class OrigPlace extends GenericElement {
- }
- class Provenance extends GenericElement {
- }
- class ObjectDesc extends GenericElement {
- }
- class LayoutDesc extends GenericElement {
- }
- class Layout extends GenericElement {
- }
- class SupportDesc extends GenericElement {
- }
- class Condition extends GenericElement {
- }
- class Collation extends GenericElement {
- }
- class Foliation extends GenericElement {
- }
- class Support extends GenericElement {
- }
- class BindingDesc extends GenericElement {
- }
- class Binding extends GenericElement {
- }
- class DecoDesc extends GenericElement {
- }
- class Additions extends GenericElement {
- }
- class HandDesc extends GenericElement {
- }
- class ScriptDesc extends GenericElement {
- }
- class Seal extends GenericElement {
- }
- class SealDesc extends GenericElement {
- }
- class TypeDesc extends GenericElement {
- }
- class TypeNote extends GenericElement {
- }
- class MusicNotation extends GenericElement {
- }
- class AccMat extends GenericElement {
- }
- class Additional extends GenericElement {
- }
- class AdminInfo extends GenericElement {
- }
- class CustodialHist extends GenericElement {
- }
- class CustEvent extends GenericElement {
- }
- class RecordHist extends GenericElement {
- }
- class Source extends GenericElement {
- }
- class Surrogates extends GenericElement {
- }
- class Rubric extends GenericElement {
- }
- class FinalRubric extends GenericElement {
- }
- class Incipit extends GenericElement {
- }
- class Explicit extends GenericElement {
- }
- class Locus extends GenericElement {
- }
- class LocusGrp extends GenericElement {
- }
- class DecoNote extends GenericElement {
- }
- class Filiation extends GenericElement {
- }
- class Dimensions extends GenericElement {
- }
- class Height extends GenericElement {
- }
- class Width extends GenericElement {
- }
- class Depth extends GenericElement {
- }
- class Dim extends GenericElement {
- }
- class FileDesc extends GenericElement {
- }
- class TitleStmt extends GenericElement {
- }
- class RespStmt extends GenericElement {
- }
- class Resp extends GenericElement {
- }
- class EditionStmt extends GenericElement {
- }
- class PublicationStmt extends GenericElement {
- }
- class SeriesStmt extends GenericElement {
- }
- class NotesStmt extends GenericElement {
- }
- class SourceDesc extends GenericElement {
- }
- class Extent extends GenericElement {
- }
- class EncodingDesc extends GenericElement {
- }
- class ProjectDesc extends GenericElement {
- }
- class SamplingDecl extends GenericElement {
- }
- class Correction extends ProjectDesc {
- }
- class Normalization extends ProjectDesc {
- }
- class Punctuation extends ProjectDesc {
- }
- class Quotation extends ProjectDesc {
- }
- class Hyphenation extends ProjectDesc {
- }
- class Segmentation extends GenericElement {
- }
- class StdVals extends GenericElement {
- }
- class Interpretation extends GenericElement {
- }
- class EditorialDecl extends GenericElement {
- }
- class Rendition extends GenericElement {
- }
- class TagUsage extends GenericElement {
- }
- class Namespace extends GenericElement {
- }
- class TagsDecl extends GenericElement {
- }
- class RefsDecl extends GenericElement {
- }
- class RefState extends GenericElement {
- }
- class CRefPattern extends GenericElement {
- }
- class Abstract extends GenericElement {
- }
- class Calendar extends GenericElement {
- }
- class CalendarDesc extends GenericElement {
- }
- class CorrespAction extends GenericElement {
- }
- class CorrespContext extends GenericElement {
- }
- class CorrespDesc extends GenericElement {
- }
- class Creation extends GenericElement {
- }
- class Language extends GenericElement {
- }
- class LangUsage extends GenericElement {
- }
- class CatRef extends GenericElement {
- }
- class ClassCode extends GenericElement {
- }
- class Term extends GenericElement {
- }
- class Keywords extends GenericElement {
- }
- class TextClass extends GenericElement {
- }
- class HandNote extends GenericElement {
- }
- class HandNotes extends GenericElement {
- }
- class Ptr extends GenericElement {
- }
- class Transpose extends GenericElement {
- }
- class ListTranspose extends GenericElement {
- }
- class Channel extends GenericElement {
- }
- class Constitution extends GenericElement {
- }
- class Derivation extends GenericElement {
- }
- class Domain extends GenericElement {
- }
- class Factuality extends GenericElement {
- }
- class Interaction extends GenericElement {
- }
- class Preparedness extends GenericElement {
- }
- class Purpose extends GenericElement {
- }
- class TextDesc extends GenericElement {
- }
- class ParticDesc extends GenericElement {
- }
- class Setting extends GenericElement {
- }
- class SettingDesc extends GenericElement {
- }
- class ProfileDesc extends GenericElement {
- }
- class Change extends GenericElement {
- }
- class ListChange extends GenericElement {
- }
- class RevisionDesc extends GenericElement {
- }
- class ProjectInfo {
- }
- /***/ }),
- /***/ "5hVl":
- /*!**********************************************!*\
- !*** ./src/app/nav-bar/nav-bar.component.ts ***!
- \**********************************************/
- /*! exports provided: NavBarComponent */
- /***/ (function(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");
- const _c0 = ["thumbnailsContainer"];
- const _c1 = function () { return { icon: "th" }; };
- function NavBarComponent_evt_button_1_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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) {
- const 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"));
- } }
- const _c2 = function () { return { icon: "rainbow", rotate: 270 }; };
- function NavBarComponent_evt_button_2_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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) {
- const 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) {
- const _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); const 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) {
- const pageSliderOptions_r9 = ctx.ngIf;
- const 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) {
- const _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); const 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) {
- const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- let tmp_1_0 = null;
- let 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"]();
- } }
- const _c3 = function () { return { icon: "step-backward" }; };
- const _c4 = function () { return { icon: "caret-left" }; };
- const _c5 = function () { return { icon: "caret-right" }; };
- const _c6 = function () { return { icon: "step-forward" }; };
- class NavBarComponent {
- constructor(evtStatusService, cdref, evtModelService) {
- 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"])(([pages, page]) => pages.findIndex((p) => p.id === page.id) === 0));
- this.nextNavigationDisabled$ = this.currentPageInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([pages, page]) => pages.findIndex((p) => p.id === page.id) === pages.length - 1));
- this.currentPage$ = this.currentPageInfo$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([pages, page]) => pages.findIndex((p) => 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"])(([thumbnailsPanelOpened, viscollPanelOpened]) => 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"])(([navigationDisabled, pages]) => ({
- floor: 0,
- ceil: pages.length - 1,
- showSelectionBar: true,
- 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,
- })));
- }
- ngAfterViewChecked() {
- this.calculateThumbsPerPage();
- }
- changePage(event) {
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe((pages) => this.evtStatusService.updatePage$.next(pages[event.value]));
- }
- goToFirstPage() {
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe((pages) => this.evtStatusService.updatePage$.next(pages[0]));
- }
- goToPrevPage() {
- Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
- this.evtModelService.pages$,
- this.evtStatusService.currentPage$,
- ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(([pages, page]) => {
- const pageIndex = pages.findIndex((p) => p.id === page.id);
- if (pageIndex > 0) {
- this.evtStatusService.updatePage$.next(pages[pageIndex - 1]);
- }
- });
- }
- goToNextPage() {
- Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["combineLatest"])([
- this.evtModelService.pages$,
- this.evtStatusService.currentPage$,
- ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(([pages, page]) => {
- const pageIndex = pages.findIndex((p) => p.id === page.id);
- if (pageIndex < pages.length - 1) {
- this.evtStatusService.updatePage$.next(pages[pageIndex + 1]);
- }
- });
- }
- goToLastPage() {
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe((pages) => this.evtStatusService.updatePage$.next(pages[pages.length - 1]));
- }
- toggleThumbnailsPanel() {
- this.thumbnailsPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(opened => {
- this.thumbnailsPanelOpened$.next(!opened);
- });
- this.viscollPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(opened => {
- if (opened) {
- this.viscollPanelOpened$.next(!opened);
- }
- });
- }
- toggleViscollPanel() {
- this.viscollPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(opened => {
- this.viscollPanelOpened$.next(!opened);
- });
- this.thumbnailsPanelOpened$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe(opened => {
- if (opened) {
- this.thumbnailsPanelOpened$.next(!opened);
- }
- });
- }
- calculateThumbsPerPage() {
- var _a;
- const thContainer = (_a = this.thumbnailsContainer) === null || _a === void 0 ? void 0 : _a.nativeElement;
- if (thContainer) {
- const thMaxHeight = parseInt(window.getComputedStyle(document.documentElement).getPropertyValue('--thumbnail-height'), 10);
- const 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();
- }
- }
- }
- 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) {
- let _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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uL25hdi1iYXIuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fdGhlbWVzLnNjc3MiLCIuLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkJBO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WN0aXZlIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICAgIGJvcmRlci1yaWdodC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcblxuICAgICY6bm90KDpmaXJzdC1jaGlsZCkge1xuICAgICAgYm9yZGVyLWxlZnQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgfVxuICB9XG5cbiAgJjpob3ZlciB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgfVxufVxuXG5cbkBtaXhpbiBoZWFkZXJTZWN0aW9uVGl0bGUoKSB7XG4gIGJvcmRlci1ib3R0b206IDFweCBkb3R0ZWQgIzY2NjtcbiAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gIGNvbG9yOiAjMDAwO1xuICBmb250LXNpemU6IDEuMnJlbTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1hcmdpbi10b3A6IDE0cHg7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"] });
- /*@__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(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");
- class ModalService {
- constructor(ngbModal) {
- this.ngbModal = ngbModal;
- this.openedModals = {};
- }
- open(componentToOpen, options) {
- options = Object.assign(Object.assign({}, options || {}), { keyboard: false });
- const modalRef = this.ngbModal.open(componentToOpen, options);
- if (options && options.id) {
- this.openedModals[options.id] = modalRef;
- }
- return modalRef;
- }
- close(modalRef) {
- if (typeof modalRef === 'string') {
- this.openedModals[modalRef].close();
- }
- else {
- modalRef.close();
- }
- }
- }
- 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(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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const altIdentifier_r9 = ctx.ngIf;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r6.data.additional);
- } }
- let MsFragComponent = class 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(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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- let HistoryComponent = class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2hpc3RvcnkuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksY0FBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0Y7O0FBRUE7RUFDSTtJQUNJLGdCQUFBO0VBQU47O0VBR0U7SUFDSSxnQkFBQTtFQUFOO0FBQ0Y7O0FBR0E7RUFDSTtJQUNJLGVBQUE7RUFETjs7RUFJRTtJQUNJLGVBQUE7RUFETjtBQUNGIiwiZmlsZSI6Imhpc3RvcnkuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuaGlzdG9yeSB7XG4gICAgbWFyZ2luLWJvdHRvbTogMnJlbTtcbn1cblxuLnByb2plY3RJbmZvLWJsb2NrIHtcbiAgICBkaXNwbGF5OiBibG9jaztcbn1cblxuLmZsZXgtY29udGFpbmVyIHtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XG4gICAgZmxleC13cmFwOiB3cmFwO1xufVxuXG4uZmxleC1pdGVtLWxhYmVsIHtcbiAgICBmbGV4LWJhc2lzOiAxMDAlO1xufVxuXG4uZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICBmbGV4LWJhc2lzOiAxMDAlO1xuICAgIG1hcmdpbi1ib3R0b206IDAuN3JlbTtcbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDYxMnB4KSB7IFxuICAgIC5mbGV4LWl0ZW0tbGFiZWwge1xuICAgICAgICBmbGV4LWJhc2lzOiAyMCU7XG4gICAgICB9XG4gICAgICBcbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczogODAlO1xuICAgIH1cbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDY0MHB4KSB7IFxuICAgIC5mbGV4LWl0ZW0tbGFiZWwge1xuICAgICAgICBmbGV4LWJhc2lzOiAxMDAlO1xuICAgIH1cblxuICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICBmbGV4LWJhc2lzOjEwMCVcbiAgICB9XG4gfVxuXG5AbWVkaWEgKG1pbi13aWR0aDogMTIyNHB4KSB7IFxuICAgIC5mbGV4LWl0ZW0tbGFiZWwge1xuICAgICAgICBmbGV4LWJhc2lzOiAyMCU7XG4gICAgICB9XG4gICAgICBcbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczogODAlO1xuICAgIH1cbiB9XG4iXX0= */"] });
- 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(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");
- const _c0 = function () { 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) {
- const 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) {
- const 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);
- } }
- const _c1 = function (a0) { return { icon: a0, iconSet: "evt", additionalClasses: "viewMode-selector" }; };
- function MainHeaderComponent_evt_button_10_Template(rf, ctx) { if (rf & 1) {
- const _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); const viewMode_r4 = ctx.$implicit; const 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) {
- const viewMode_r4 = ctx.$implicit;
- const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- let 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) {
- const _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); const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r7.handleItemClicked($event); });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- } }
- const _c2 = function () { return { icon: "ellipsis-v" }; };
- class MainHeaderComponent {
- constructor(themes, evtModelService, evtStatusService) {
- 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"])(([configTitle, editionTitle]) => { 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((e => !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 = [];
- }
- get editionHome() { return Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_4__["normalizeUrl"])(this.editionConfig.editionHome); }
- get logoUrl() {
- var _a, _b, _c;
- const 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';
- }
- selectViewMode(viewMode) {
- this.evtStatusService.updateViewMode$.next(viewMode);
- }
- toggleMainMenu(clickEvent) {
- clickEvent.event.stopPropagation();
- this.mainMenuOpened = !this.mainMenuOpened;
- }
- handleItemClicked(itemClicked) {
- if (itemClicked) {
- this.mainMenuOpened = (itemClicked === 'theme' || itemClicked === 'language');
- }
- }
- // tslint:disable-next-line: variable-name
- trackViewModes(_index, item) {
- return item.id;
- }
- openEditionHome() {
- if (this.editionHome) {
- window.open(this.editionHome, '_blank');
- }
- }
- ngOnDestroy() {
- this.subscriptions.forEach(subscription => subscription.unsubscribe());
- }
- }
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uL21haW4taGVhZGVyLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJCQTtFQUNJLHlCQUFBO0VBQ0Esd0JBQUE7QUMxQko7O0FBQUE7RUFDSSxZREdpQjtFQ0ZqQixjQUFBO0FBR0o7O0FDaUZRO0VEakZBLGNBQUE7RUFDQSx5QkFBQTtBQUdSOztBQURRO0VB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AgICAgICAgJHZhbHVlOiBtYXAtZ2V0KG1hcC1nZXQoJHRoZW1lcywgJHRoZW1lKSwgJyN7JGtleX0nKTtcbiAgICAgICAgICAgICAgICAkdGhlbWUtbWFwOiBtYXAtbWVyZ2UoJHRoZW1lLW1hcCwgKCRrZXk6ICR2YWx1ZSkpICFnbG9iYWw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBAY29udGVudDtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6IG51bGwgIWdsb2JhbDtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQGZ1bmN0aW9uIHRoZW1lZCgka2V5KSB7XG4gICAgQHJldHVybiBtYXAtZ2V0KCR0aGVtZS1tYXAsICRrZXkpO1xufVxuXG4iXX0= */"] });
- /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵ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(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");
- class TextSourcesComponent {
- constructor(evtStatusService) {
- 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"])(({ page }) => page.id));
- this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ editionLevels }) => editionLevels[0]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- ngOnInit() {
- this.initGridster();
- }
- changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- changeEditionLevel(editionLevel) {
- this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
- }
- 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,
- },
- };
- }
- }
- 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(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");
- class StartsWithPipe {
- transform(items, field, value) {
- if (!items) {
- return [];
- }
- if (!value || value.length === 0) {
- return items;
- }
- return items.filter(it => it[field] && it[field].toLowerCase()[0] === value);
- }
- }
- 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(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;
- let CharParser = CharParser_1 = class CharParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
- }
- 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),
- };
- }
- getName(xml) {
- const charNameEl = xml.querySelector('charName');
- if (charNameEl) {
- return charNameEl.textContent;
- }
- const localPropName = Array.from(xml.querySelectorAll('localProp'))
- .find(el => 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')) : '';
- }
- getEntityName(xml) {
- const localPropName = Array.from(xml.querySelectorAll('localProp'))
- .find(el => 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')) : '';
- }
- getMappings(xml) {
- return Array.from(xml.querySelectorAll('mapping'))
- .map(el => ({
- 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: this.attributeParser.parse(el),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(el, this.genericParse),
- }));
- }
- getLocalProps(xml) {
- return Array.from(xml.querySelectorAll('localProp'))
- .map(el => ({
- name: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('name')),
- value: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultAttr"])(el.getAttribute('value')),
- }));
- }
- graphicsParser(xml) {
- const 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(el => graphicParser.parse(el));
- }
- };
- CharParser = CharParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('char', CharParser_1)
- ], CharParser);
- let GlyphParser = GlyphParser_1 = class GlyphParser extends CharParser {
- 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),
- };
- }
- getName(xml) {
- const charNameEl = xml.querySelector('glyphName');
- if (charNameEl) {
- return charNameEl.textContent;
- }
- const localPropName = Array.from(xml.querySelectorAll('localProp'))
- .find(el => 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')) : '';
- }
- };
- GlyphParser = GlyphParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('glyph', GlyphParser_1)
- ], GlyphParser);
- let GParser = GParser_1 = class GParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
- }
- 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('#', ''),
- };
- }
- };
- 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(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");
- class EVTStatusService {
- constructor(evtModelService, router, route) {
- 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((e => !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"])((params) => 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"])((params) => params.p)), this.updatePage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(p => p.id))),
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])((pages) => !!pages && pages.length > 0)),
- ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(([id, pages]) => !id ? pages[0] : pages.find((p) => 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"])((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"])((editionLevels) => (editionLevels === null || editionLevels === void 0 ? void 0 : editionLevels.length) > 0 ? editionLevels : [this.defaultEditionLevelId]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])((editionLevels) => editionLevels.filter(el => !!el))), this.updateEditionLevels$);
- this.currentWitnesses$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["merge"])(this.route.queryParams.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])((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"])((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"])((x, y) => JSON.stringify(x) === JSON.stringify(y)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["shareReplay"])(1), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(([viewMode, document, page, editionLevels, witnesses, versions,]) => {
- if (viewMode.id === 'textText') {
- if (editionLevels.length === 1) {
- editionLevels.push(this.availableEditionLevels.filter(e => e.id !== editionLevels[0])[0].id);
- }
- }
- else if (viewMode.id === 'collation') {
- editionLevels = [];
- }
- else if (editionLevels.length > 1) {
- editionLevels = editionLevels.slice(0, 1);
- }
- return {
- viewMode,
- document,
- page,
- editionLevels,
- witnesses,
- versions,
- };
- }));
- this.currentUrl$ = this.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(currentStatus => this.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(currentStatus => {
- const { view, params } = this.getUrlFromStatus(currentStatus);
- if (Object.keys(params).length > 0) {
- this.router.navigate([`/${view}`], { queryParams: params });
- }
- else {
- this.router.navigate([`/${view}`]);
- }
- });
- this.router.events.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])(event => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationStart"]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["first"])()).subscribe((event) => {
- const currentViewMode = this.updateViewMode$.getValue();
- if (!currentViewMode) {
- const pathMatch = event.url.match(/(?<!\?.+)(?<=\/)[\w-]+(?=[/\r\n?]|$)/gm);
- if (pathMatch) {
- this.updateViewMode$.next(this.availableViewModes.find(vm => vm.id === pathMatch[0]));
- }
- else {
- this.updateViewMode$.next(this.defaultViewMode);
- }
- }
- });
- this.currentNamedEntityId$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])(id => !!id), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["switchMap"])(id => Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["timer"])(5000).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(() => id)))).subscribe(() => this.currentNamedEntityId$.next(undefined));
- this.currentLemmatizedEntityId$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["filter"])(id => !!id), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["switchMap"])(id => Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["timer"])(5000).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(() => id)))).subscribe(() => this.currentLemmatizedEntityId$.next(undefined));
- }
- get defaultEditionLevelId() {
- var _a, _b, _c;
- const defaultConfig = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.defaultEdition;
- const availableEditionLevels = (_b = (_a = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.availableEditionLevels) === null || _a === void 0 ? void 0 : _a.filter((e => !e.disabled))) !== null && _b !== void 0 ? _b : [];
- let defaultEdition = availableEditionLevels[0];
- if (defaultConfig) {
- defaultEdition = (_c = availableEditionLevels.find(e => e.id === defaultConfig)) !== null && _c !== void 0 ? _c : defaultEdition;
- }
- return defaultEdition === null || defaultEdition === void 0 ? void 0 : defaultEdition.id;
- }
- get availableViewModes() {
- var _a, _b;
- return (_b = (_a = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.availableViewModes) === null || _a === void 0 ? void 0 : _a.filter((e => !e.disabled))) !== null && _b !== void 0 ? _b : [];
- }
- get defaultViewMode() {
- var _a;
- const defaultConfig = _app_config__WEBPACK_IMPORTED_MODULE_4__["AppConfig"].evtSettings.edition.defaultViewMode;
- let defaultViewMode = this.availableViewModes[0];
- if (defaultConfig) {
- defaultViewMode = (_a = this.availableViewModes.find(e => e.id === defaultConfig)) !== null && _a !== void 0 ? _a : defaultViewMode;
- }
- return defaultViewMode;
- }
- // add by FS
- getUrlFromStatus(status) {
- var _a, _b;
- const 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((key) => (params[key] === '') && delete params[key]);
- return {
- view: status.viewMode.id,
- params,
- };
- }
- }
- 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(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) {
- const 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) {
- const 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"), " ");
- } }
- class OriginalEncodingViewerComponent {
- ngOnInit() {
- if (this.originalEncoding && this.originalEncoding.outerHTML) {
- this.encodingType = 'xml';
- }
- }
- }
- 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(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) {
- const 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);
- } }
- let LbComponent = class LbComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- }
- get displayBlock$() {
- return this.evtModelService.lines$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(lines => lines.length > 0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(hasLines => {
- // If line has no information about number or the ID line is shown as a block item, no matters what
- if (!this.data.attributes.id && !this.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 (this.editionLevel) {
- case 'diplomatic':
- case 'interpretative':
- return this.textFlow === 'verses' ? false : hasLines;
- case 'critical':
- return this.textFlow === 'prose';
- }
- }));
- }
- };
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xiLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdJO0VBQ0ksaUJBQUE7RUFDQSxnQkFBQTtFQUNBLGtCQUFBO0VBQ0EsWUFBQTtFQUNBLHFCQUFBO0FBRlI7QUNtRlE7RUQ5RUksY0FBQTtBQUZaO0FDZ0ZRO0VEOUVJLFdBQUE7QUFDWjtBQzZFUTtFRDlFSSxjQUFBO0FBSVo7QUMwRVE7RUQ5RUksY0FBQTtBQU9aIiwiZmlsZSI6ImxiLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGltcG9ydCAnLi4vLi4vLi4vYXNzZXRzL3Njc3MvdGhlbWVzJztcblxuLmxiIHtcbiAgICAubGluZU4ge1xuICAgICAgICB0ZXh0LWFsaWduOiByaWdodDtcbiAgICAgICAgZm9udC1zaXplOiAuOGVtO1xuICAgICAgICBtYXJnaW4tcmlnaHQ6IDEwcHg7XG4gICAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuXG4gICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJH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meVNlbGYoJHRoZW1lczogJHRoZW1lcykge1xuICAgIEBlYWNoICR0aGVtZSwgJG1hcCBpbiAkdGhlbWVzIHtcbiAgICAgICAgICZbZGF0YS10aGVtZT1cIiN7JHRoZW1lfVwiXSB7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiAoKSAhZ2xvYmFsO1xuICAgICAgICAgICAgQGVhY2ggJGtleSwgJHN1Ym1hcCBpbiAkbWFwIHtcbiAgICAgICAgICAgICAgICAkdmFsdWU6IG1hcC1nZXQobWFwLWdldCgkdGhlbWVzLCAkdGhlbWUpLCAnI3ska2V5fScpO1xuICAgICAgICAgICAgICAgICR0aGVtZS1tYXA6IG1hcC1tZXJnZSgkdGhlbWUtbWFwLCAoJGtleTogJHZhbHVlKSkgIWdsb2JhbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBjb250ZW50O1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogbnVsbCAhZ2xvYmFsO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"] });
- 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(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) {
- const el_r1 = ctx.$implicit;
- const 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);
- } }
- let WordComponent = class WordComponent {
- constructor() {
- this.opened = false;
- }
- get word() {
- if (this.editionLevel === 'diplomatic' || this.editionLevel === 'interpretative') {
- return this.data.content;
- }
- const lbIndex = this.data.content.findIndex((el) => el.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Lb"]);
- if (lbIndex >= 0) {
- const wordContent = [...this.data.content];
- wordContent.splice(lbIndex, 1);
- wordContent.push(this.data.content[lbIndex]);
- return wordContent;
- }
- return this.data.content;
- }
- toggleLemData(event) {
- event.stopPropagation();
- this.opened = !this.opened;
- }
- };
- 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(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 (_) => {
- return class extends _ {
- constructor() {
- super(...arguments);
- this.declarations = declarations;
- }
- };
- };
- }
- let XMLParsers = class 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(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");
- class MsDescParserService {
- constructor() {
- this.msDescParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_3__["createParser"])(_msdesc_parser__WEBPACK_IMPORTED_MODULE_2__["MsDescParser"], ___WEBPACK_IMPORTED_MODULE_1__["parse"]);
- }
- parseMsDesc(xml) {
- return Array.from(xml.querySelectorAll('msDesc')).map(s => this.msDescParser.parse(s));
- }
- }
- 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(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");
- class StructureXmlParserService {
- constructor(genericParserService) {
- this.genericParserService = genericParserService;
- this.frontOrigContentAttr = 'document_front';
- this.frontTagName = 'front';
- this.pageTagName = 'pb';
- this.bodyTagName = 'body';
- }
- parsePages(el) {
- if (!el) {
- return { pages: [] };
- }
- const front = el.querySelector(this.frontTagName);
- const body = el.querySelector(this.bodyTagName);
- const pbs = Array.from(el.querySelectorAll(this.pageTagName)).filter((p) => !p.getAttribute('ed'));
- const frontPbs = pbs.filter((p) => Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(p, this.frontTagName));
- const bodyPbs = pbs.filter((p) => Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(p, this.bodyTagName));
- const doc = el.firstElementChild.ownerDocument;
- if (frontPbs.length > 0 && bodyPbs.length > 0) {
- return {
- pages: pbs.map((pb, idx, arr) => this.parseDocumentPage(doc, pb, arr[idx + 1], 'text')),
- };
- }
- const frontPages = frontPbs.length === 0 && front && this.isMarkedAsOrigContent(front)
- ? [this.parseSinglePage(doc, front, 'page_front', this.frontTagName, 'facs_front')]
- : frontPbs.map((pb, idx, arr) => this.parseDocumentPage(doc, pb, arr[idx + 1], this.frontTagName));
- const bodyPages = bodyPbs.length === 0
- ? [this.parseSinglePage(doc, body, 'page1', 'mainText', 'facs1')] // TODO: tranlsate mainText
- : bodyPbs.map((pb, idx, arr) => this.parseDocumentPage(doc, pb, arr[idx + 1], this.bodyTagName));
- return {
- pages: [...frontPages, ...bodyPages],
- };
- }
- parseDocumentPage(doc, pb, nextPb, ancestorTagName) {
- /* 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
- const nextNode = nextPb || Array.from(doc.querySelectorAll(ancestorTagName)).reverse()[0].lastChild;
- const originalContent = Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["getElementsBetweenTreeNode"])(pb, nextNode)
- .filter((n) => n.tagName !== this.pageTagName)
- .filter((c) => ![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,
- 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]),
- };
- }
- parseSinglePage(doc, el, id, label, facs) {
- const originalContent = Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["getElementsBetweenTreeNode"])(el.firstChild, el.lastChild);
- return {
- id,
- label,
- facs,
- originalContent,
- parsedContent: this.parsePageContent(doc, originalContent),
- url: this.getPageUrl(id),
- facsUrl: this.getPageUrl(facs),
- };
- }
- getPageUrl(id) {
- // TODO: check if exists <graphic> element connected to page and return its url
- // TODO: handle multiple version of page
- const image = id.split('.')[0];
- return `${_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.files.imagesFolderUrl}/${image}.jpg`;
- }
- parsePageContent(doc, pageContent) {
- return pageContent
- .map((node) => {
- const origEl = getEditionOrigNode(node, doc);
- if (origEl.nodeName === this.frontTagName || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(origEl, this.frontTagName)) {
- if (this.hasOriginalContent(origEl)) {
- return Array.from(origEl.querySelectorAll(`[type=${this.frontOrigContentAttr}]`))
- .map((c) => this.genericParserService.parse(c));
- }
- if (this.isMarkedAsOrigContent(origEl)) {
- return [this.genericParserService.parse(origEl)];
- }
- return [];
- }
- if (origEl.tagName === 'text' && origEl.querySelectorAll && origEl.querySelectorAll(this.frontTagName).length > 0) {
- return this.parsePageContent(doc, Array.from(origEl.children));
- }
- return [this.genericParserService.parse(origEl)];
- })
- .reduce((x, y) => x.concat(y), []);
- }
- hasOriginalContent(el) {
- return el.querySelectorAll(`[type=${this.frontOrigContentAttr}]`).length > 0;
- }
- 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 }]));
- }
- }
- 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')) {
- const path = doc.documentElement.namespaceURI ? el.getAttribute('xpath').replace(/\//g, '/ns:') : el.getAttribute('xpath');
- const 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(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) {
- const element_r1 = ctx.$implicit;
- const 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);
- } }
- let AdditionComponent = class AdditionComponent {
- get editorialConventionData() {
- return {
- name: 'add',
- attributes: this.data.attributes,
- editionLevel: this.editionLevel,
- defaultsKey: this._getDefaultLayoutsKeys(),
- };
- }
- _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';
- }
- }
- };
- 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(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");
- class WitnessPanelComponent {
- constructor() {
- this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- emitHide() {
- this.hide.emit(true);
- }
- }
- 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(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) {
- const _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); const 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) {
- const 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) {
- const 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) {
- const _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); const language_r10 = ctx.$implicit; const 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) {
- const language_r10 = ctx.$implicit;
- const 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));
- } }
- const _c0 = function () { 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) {
- const 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) {
- const _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); const theme_r13 = ctx.$implicit; const 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) {
- const theme_r13 = ctx.$implicit;
- const 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);
- } }
- const _c1 = function () { return { icon: "paint-brush", additionalClasses: "icon" }; };
- const _c2 = function () { return { icon: "keyboard", additionalClasses: "icon" }; };
- const _c3 = function () { return { icon: "copyright", additionalClasses: "icon" }; };
- class MainMenuComponent {
- constructor(themes, translate, modalService, evtModelService) {
- 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((l) => l.enabled);
- }
- ngOnInit() {
- this.loadUiConfig();
- this.isOpened = true;
- }
- closeMenu() {
- if (this.isOpened) {
- this.isOpened = false;
- this.itemClicked.emit('close');
- }
- }
- loadUiConfig() {
- this.initDynamicItems();
- }
- initDynamicItems() {
- // 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: () => this.openGlobalDialogInfo(),
- },
- {
- id: 'openLists',
- iconInfo: {
- icon: 'clipboard-list',
- additionalClasses: 'icon',
- },
- label: 'openLists',
- enabled$: this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => this.editionConfig.showLists && ne.all.entities.length > 0)),
- callback: () => this.openGlobalDialogLists(),
- },
- ];
- }
- openGlobalDialogInfo() {
- this.itemClicked.emit('globalInfo');
- const modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], { id: 'project-info', animation: false });
- const 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"];
- }
- openGlobalDialogLists() {
- this.itemClicked.emit('lists');
- const modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], { id: 'global-lists' });
- const 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.');
- // }
- // }
- openShortCuts() {
- this.itemClicked.emit('shortcuts');
- const modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], { id: 'shortcuts' });
- const 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
- selectLanguage(event, languageSelected) {
- event.stopPropagation();
- this.translate.use(languageSelected.code);
- this.itemClicked.emit('language');
- }
- getAvailableLanguages() {
- return this.availableLangs;
- }
- // THEMES
- selectTheme(event, theme) {
- event.stopPropagation();
- this.itemClicked.emit('theme');
- this.themes.selectTheme(theme);
- }
- getAvailableThemes() {
- return this.themes.getAvailableThemes();
- }
- getCurrentTheme() {
- return this.themes.getCurrentTheme();
- }
- openEVTInfo() {
- this.itemClicked.emit('evtInfo');
- const modalRef = this.modalService.open(_ui_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_8__["ModalComponent"], { id: 'evtInfo' });
- const 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
- trackMenuItem(_index, item) {
- return item.id;
- }
- // tslint:disable-next-line: variable-name
- trackLanguages(_index, item) {
- return item.code;
- }
- // tslint:disable-next-line: variable-name
- trackTheme(_index, item) {
- return item.value;
- }
- ngOnDestroy() {
- this.subscriptions.forEach(subscription => subscription.unsubscribe());
- }
- }
- 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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AgICAgICAgICAgPiBzcGFuIHtcbiAgICAgICAgICAgICAgICBjb2xvcjogIzQ0NDQ0NDtcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDEuMXJlbTtcbiAgICAgICAgICAgICAgICBoZWlnaHQ6IDQwcHg7XG4gICAgICAgICAgICAgICAgcGFkZGluZzogNi41cHggMjBweCAwIDIwcHg7XG4gICAgICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgICAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICAgICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgICAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcblxuICAgICAgICAgICAgICAgICYubm8tYWN0aW9uIHtcbiAgICAgICAgICAgICAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpob3ZlciB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2Y0ZjVmNTtcbiAgICAgICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYuaW5hY3RpdmUgKiB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2Y1ZjVmNTtcbiAgICAgICAgICAgICAgICBjb2xvcjogI2NjYztcbiAgICAgICAgICAgICAgICBjdXJzb3I6IGRlZmF1bHQ7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBpbWcuZmxhZywgLnRoZW1lLWl0ZW0ge1xuICAgICAgICBoZWlnaHQ6IDIwcHg7XG4gICAgICAgIHdpZHRoOiAyMHB4O1xuICAgICAgICBib3JkZXItcmFkaXVzOiAxMDBweDtcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgIzRFNDQzQztcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1x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G4gICAgQHJldHVybiBtYXAtZ2V0KCR0aGVtZS1tYXAsICRrZXkpO1xufVxuXG4iXX0= */"] });
- /*@__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(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) { }
- const _c0 = function (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) {
- const lemlist_r6 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- const _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));
- } }
- const _c1 = function () { return { icon: "network-wired", additionalClasses: "mr-1" }; };
- function SpecificListsComponent_div_4_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- const _c2 = function (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) {
- const 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) {
- const 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) { }
- const _c3 = function (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) {
- const sublist_r21 = ctx.$implicit;
- const last_r22 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
- const _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) {
- const 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);
- } }
- const _c4 = function (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) {
- const _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); const lemlist_r13 = ctx.lemlist; const 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) {
- const lemlist_r13 = ctx.lemlist;
- const last_r14 = ctx.last;
- const 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);
- } }
- class SpecificListsComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.lists$ = this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(ne => (ne.lemmas.lemlists)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(lemlists => (lemlists.map(lemlist => (Object.assign(Object.assign({}, lemlist), { icon: this.listsIcons[lemlist.lemmatizedEntityType] || 'lemlist' }))))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(lemlists => {
- if (!this.selectedList && lemlists[0]) {
- this.openLemList(undefined, lemlists[0]);
- }
- }));
- this.relations$ = this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(ne => ne.relations));
- this.showRelations = false;
- this.listsIcons = {
- lem: 'user',
- place: 'map-marker',
- org: 'users',
- event: 'calendar',
- };
- }
- openLemList(event, lemlist) {
- if (event) {
- event.stopPropagation();
- }
- if (this.selectedList !== lemlist) {
- this.selectedList = lemlist;
- }
- this.showRelations = false;
- }
- openRelations() {
- this.showRelations = true;
- this.selectedList = undefined;
- }
- }
- 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(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);
- } }
- const _c0 = function (a1) { return { label: "", items: a1, class: "title" }; };
- const _c1 = function (a1) { return { label: "", items: a1, class: "biblScope" }; };
- const _c2 = function (a1) { return { label: "", items: a1, class: "editor" }; };
- const _c3 = function (a1) { return { label: "idno", items: a1, class: "idno" }; };
- const _c4 = function (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) {
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const item_r17 = ctx.$implicit;
- const i_r18 = ctx.index;
- const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- const itemsSeparator_r14 = ctx_r21.itemsSeparator;
- const 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) {
- const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const label_r11 = ctx_r22.label;
- const class_r13 = ctx_r22.class;
- const 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) {
- const items_r12 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r12 == null ? null : items_r12.length) > 0);
- } }
- let SeriesStmtComponent = class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Nlcmllcy1zdG10LmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX21peGlucy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBO0VDMkZFLDhCQUFBO0VBQ0Esa0JBQUE7RUFDQSx3QkFBQTtFQUNBLFdBQUE7RUFDQSxpQkFBQTtFQUNBLGNBQUE7RUFDQSxnQkFBQTtFQUNBLGdCQUFBO0FEM0ZGOztBQURRO0VBQ0kscUJBQUE7QUFJWiIsImZpbGUiOiJzZXJpZXMtc3RtdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgXCIuLi8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GRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
- 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(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`.
- const 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(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");
- class FilterPipe {
- transform(items, field, value, caseSensitive) {
- if (!items) {
- return [];
- }
- if (!value || value.length === 0) {
- return items;
- }
- try {
- const reg = new RegExp(value, `${caseSensitive ? '' : 'i'}g`);
- const results = items.filter(it => it[field] && value && it[field].match(reg));
- return results.length > 0 ? results : [undefined];
- }
- catch (e) {
- return [];
- }
- }
- }
- 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(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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- let NamespaceComponent = class 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(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) {
- const _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); const 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) {
- const 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) {
- const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](4);
- const 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);
- } }
- const _c0 = function () { return { icon: "pen-square" }; };
- const _c1 = function () { return { icon: "thumbtack" }; };
- class ReadingTextComponent {
- constructor(evtStatusService) {
- 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"])(({ page }) => page.id));
- this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ editionLevels }) => 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 = [];
- }
- ngOnInit() {
- this.initGridster();
- }
- changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- changeEditionLevel(editionLevel) {
- this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
- }
- togglePinnedBoard() {
- this.pinnedBoardOpened = !this.pinnedBoardOpened;
- this.updateGridsterConfig();
- }
- toggleApparatuses() {
- this.apparatusesOpened = !this.apparatusesOpened;
- this.updateGridsterConfig();
- }
- changedOptions() {
- if (this.options.api && this.options.api.optionsChanged) {
- this.options.api.optionsChanged();
- }
- }
- 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();
- }
- 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,
- },
- };
- }
- ngOnDestroy() {
- this.subscriptions.forEach(subscription => subscription.unsubscribe());
- }
- }
- 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(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");
- const _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) {
- const page_r7 = ctx.$implicit;
- const 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) {
- const 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) {
- const currentStatus_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().ngIf;
- const 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) {
- const 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) {
- const _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); const 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) {
- const 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));
- } }
- const _c1 = function () { return { icon: "info-circle" }; };
- class TextPanelComponent {
- constructor(evtModelService, evtStatus) {
- 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"])(p => p === null || p === void 0 ? void 0 : p.id));
- this.pageChange = this.currentPage$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(p => !!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"])(e => e === null || e === void 0 ? void 0 : e.id));
- this.editionLevelChange = this.currentEdLevel$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(e => !!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"])(([pages, currentPage, editionLevel, currentViewMode]) => !!pages && !!currentPage && !!editionLevel && !!currentViewMode), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([pages, currentPage, editionLevel, currentViewMode]) => ({ pages, currentPage, editionLevel, currentViewMode })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["distinctUntilChanged"])((a, b) => 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"])((x) => x.editionLevel.id === 'critical' && x.currentViewMode.id !== 'imageText'), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.updatingPageFromScroll = false;
- this.subscriptions = [];
- }
- get proseVersesTogglerIcon() {
- return { icon: this.textFlow === 'prose' ? 'align-left' : 'align-justify', iconSet: 'fas' };
- }
- ngOnInit() {
- 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"])(currentStatus => currentStatus.currentPage), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(page => !!page), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["delay"])(0)).subscribe((page) => this._scrollToPage(page.id)));
- }
- getSecondaryContent() {
- return this.secondaryContent;
- }
- isSecondaryContentOpened() {
- return this.showSecondaryContent;
- }
- toggleSecondaryContent(newContent) {
- if (this.secondaryContent !== newContent) {
- this.showSecondaryContent = true;
- this.secondaryContent = newContent;
- }
- else {
- this.showSecondaryContent = false;
- this.secondaryContent = '';
- }
- }
- toggleProseVerses() {
- this.textFlow = this.textFlow === 'prose' ? 'verses' : 'prose';
- }
- ngOnDestroy() {
- this.subscriptions.forEach(subscription => subscription.unsubscribe());
- }
- updatePage() {
- if (this.mainContent && this.editionLevelID === 'critical') {
- const mainContentEl = this.mainContent.nativeElement;
- const pbs = mainContentEl.querySelectorAll('evt-page');
- let pbCount = 0;
- let pbVisible = false;
- let pbId = '';
- const docViewTop = mainContentEl.scrollTop;
- const docViewBottom = docViewTop + mainContentEl.parentElement.clientHeight;
- while (pbCount < pbs.length && !pbVisible) {
- pbId = pbs[pbCount].getAttribute('data-id');
- const pbElem = mainContentEl.querySelector(`evt-page[data-id="${pbId}"]`);
- const 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(([pages, currentPageId]) => {
- if (pbVisible && currentPageId !== pbId) {
- this.updatingPageFromScroll = true;
- this.evtStatus.updatePage$.next(pages.find(p => p.id === pbId));
- }
- });
- }
- }
- _scrollToPage(pageId) {
- if (this.updatingPageFromScroll) {
- this.updatingPageFromScroll = false;
- }
- else if (this.mainContent) {
- const mainContentEl = this.mainContent.nativeElement;
- const pageEl = mainContentEl.querySelector(`[data-id="${pageId}"]`);
- if (pageEl) {
- pageEl.scrollIntoView();
- }
- else {
- mainContentEl.parentElement.scrollTop = 0;
- }
- }
- }
- }
- 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) {
- let _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("Le immagini sono pubblicate su concessione del Ministero della cultura \u2013 Archivio di Stato di Prato e sono liberamente utilizzabili per attivit\u00E0 di studio, ricerca, libera manifestazione del pensiero o espressione creativa, promozione della conoscenza del patrimonio culturale. I diritti di riproduzione delle immagini pubblicate \u2013 ai sensi degli articoli 106, 107 e 108 del Codice dei beni culturali e del paesaggio (D.Lgs. 42/2004 e s.m.i.) \u2013 appartengono dell\u2019Archivio di Stato di Prato, pertanto tutti gli usi di queste immagini, diversi da quelli sopra esposti, debbono essere espressamente autorizzati (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(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");
- class EscapeDirective {
- constructor() {
- this.escape = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- keyEvent(e) {
- if (e.code === 'Escape' || e.key === 'Escape' || Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_1__["getEventKeyCode"])(e) === 27) {
- this.escape.emit();
- }
- }
- }
- 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(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");
- class HighlightDirective {
- constructor(el) {
- this.el = el;
- }
- set highlightData(hd) {
- this.highlight(hd);
- }
- 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 : '';
- }
- }
- 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(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;
- class GAttrParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- constructor() {
- super(...arguments);
- this.gParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["createParser"])(_character_declarations_parser__WEBPACK_IMPORTED_MODULE_5__["GParser"], this.genericParse);
- }
- }
- let DimParser = DimParser_1 = class DimParser extends GAttrParser {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { dimType, scope, extent, unit, quantity, atLeast, atMost, min, max } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Dim"], scope,
- extent,
- 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, gEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'g') });
- }
- };
- DimParser = DimParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('dim', DimParser_1)
- ], DimParser);
- let DepthParser = DepthParser_1 = class DepthParser extends GAttrParser {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { scope, extent, unit, quantity, atLeast, atMost, min, max } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Depth"], scope,
- extent,
- 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') });
- }
- };
- DepthParser = DepthParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('depth', DepthParser_1)
- ], DepthParser);
- let WidthParser = WidthParser_1 = class WidthParser extends GAttrParser {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { scope, extent, unit, quantity, atLeast, atMost, min, max } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Width"], scope,
- extent,
- 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') });
- }
- };
- WidthParser = WidthParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('width', WidthParser_1)
- ], WidthParser);
- let HeightParser = HeightParser_1 = class HeightParser extends GAttrParser {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { scope, extent, unit, quantity, atLeast, atMost, min, max } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Height"], scope,
- extent,
- 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') });
- }
- };
- HeightParser = HeightParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('height', HeightParser_1)
- ], HeightParser);
- let DimensionsParser = DimensionsParser_1 = class DimensionsParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { dimensionsType, scope, extent, unit, quantity, atLeast, atMost, min, max } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Dimensions"], dimensionsType,
- scope,
- extent,
- 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') });
- }
- };
- DimensionsParser = DimensionsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('dimensions', DimensionsParser_1)
- ], DimensionsParser);
- let AcquisitionParser = AcquisitionParser_1 = class AcquisitionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { notBefore, notAfter } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Acquisition"], notBefore,
- notAfter, name: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'name', this.genericParse) });
- }
- };
- AcquisitionParser = AcquisitionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('acquisition', AcquisitionParser_1)
- ], AcquisitionParser);
- let OrigDateParser = OrigDateParser_1 = class OrigDateParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { notBefore, notAfter, when, origDateType } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["OrigDate"], notBefore,
- notAfter,
- when,
- origDateType });
- }
- };
- OrigDateParser = OrigDateParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('origDate', OrigDateParser_1)
- ], OrigDateParser);
- let OrigPlaceParser = OrigPlaceParser_1 = class OrigPlaceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { key, origPlaceType } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["OrigPlace"], key,
- origPlaceType });
- }
- };
- OrigPlaceParser = OrigPlaceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('origPlace', OrigPlaceParser_1)
- ], OrigPlaceParser);
- let OriginParser = OriginParser_1 = class OriginParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { notBefore, notAfter, evidence, resp } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Origin"], notBefore,
- notAfter,
- evidence,
- resp, origDate: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origDate'), origPlace: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'origPlace') });
- }
- };
- OriginParser = OriginParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('origin', OriginParser_1)
- ], OriginParser);
- let ProvenanceParser = ProvenanceParser_1 = class ProvenanceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { when } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Acquisition"], when });
- }
- };
- ProvenanceParser = ProvenanceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('provenance', ProvenanceParser_1)
- ], ProvenanceParser);
- let HistoryParser = HistoryParser_1 = class HistoryParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- HistoryParser = HistoryParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('history', HistoryParser_1)
- ], HistoryParser);
- let LayoutParser = LayoutParser_1 = class LayoutParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { columns, streams, ruledLines, writtenLines } = genericElem.attributes;
- 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') });
- }
- };
- LayoutParser = LayoutParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('layout', LayoutParser_1)
- ], LayoutParser);
- let LayoutDescParser = LayoutDescParser_1 = class LayoutDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- LayoutDescParser = LayoutDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('layoutDesc', LayoutDescParser_1)
- ], LayoutDescParser);
- let SupportParser = SupportParser_1 = class SupportParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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) });
- }
- };
- SupportParser = SupportParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('support', SupportParser_1)
- ], SupportParser);
- let CollationParser = CollationParser_1 = class CollationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Collation"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
- }
- };
- CollationParser = CollationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('collation', CollationParser_1)
- ], CollationParser);
- let ConditionParser = ConditionParser_1 = class ConditionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Condition"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
- }
- };
- ConditionParser = ConditionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('condition', ConditionParser_1)
- ], ConditionParser);
- let FoliationParser = FoliationParser_1 = class FoliationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- FoliationParser = FoliationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('foliation', FoliationParser_1)
- ], FoliationParser);
- let SupportDescParser = SupportDescParser_1 = class SupportDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- SupportDescParser = SupportDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('supportDesc', SupportDescParser_1)
- ], SupportDescParser);
- let ObjectDescParser = ObjectDescParser_1 = class ObjectDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { form } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["ObjectDesc"], 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') });
- }
- };
- ObjectDescParser = ObjectDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('objectDesc', ObjectDescParser_1)
- ], ObjectDescParser);
- let DecoNoteParser = DecoNoteParser_1 = class DecoNoteParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { decoNoteType } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["DecoNote"], decoNoteType, watermark: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'watermark', this.genericParse) });
- }
- };
- DecoNoteParser = DecoNoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('decoNote', DecoNoteParser_1)
- ], DecoNoteParser);
- let BindingParser = BindingParser_1 = class BindingParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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) });
- }
- };
- BindingParser = BindingParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('binding', BindingParser_1)
- ], BindingParser);
- let BindingDescParser = BindingDescParser_1 = class BindingDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- BindingDescParser = BindingDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('bindingDesc', BindingDescParser_1)
- ], BindingDescParser);
- let SummaryParser = SummaryParser_1 = class SummaryParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Summary"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
- }
- };
- SummaryParser = SummaryParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('summary', SummaryParser_1)
- ], SummaryParser);
- let DecoDescParser = DecoDescParser_1 = class DecoDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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) });
- }
- };
- DecoDescParser = DecoDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('decoDesc', DecoDescParser_1)
- ], DecoDescParser);
- let HandDescParser = HandDescParser_1 = class HandDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { hands } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["HandDesc"], hands, handNote: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'handNote') });
- }
- };
- HandDescParser = HandDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('handDesc', HandDescParser_1)
- ], HandDescParser);
- let AdditionsParser = AdditionsParser_1 = class AdditionsParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Additions"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
- }
- };
- AdditionsParser = AdditionsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('additions', AdditionsParser_1)
- ], AdditionsParser);
- let ScriptDescParser = ScriptDescParser_1 = class ScriptDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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) });
- }
- };
- ScriptDescParser = ScriptDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('scriptDesc', ScriptDescParser_1)
- ], ScriptDescParser);
- let SealParser = SealParser_1 = class SealParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { n, sealType } = genericElem.attributes;
- 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, 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) });
- }
- };
- SealParser = SealParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('seal', SealParser_1)
- ], SealParser);
- let SealDescParser = SealDescParser_1 = class SealDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["SealDesc"], seal: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'seal') });
- }
- };
- SealDescParser = SealDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('sealDesc', SealDescParser_1)
- ], SealDescParser);
- let TypeNoteParser = TypeNoteParser_1 = class TypeNoteParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { scope } = genericElem.attributes;
- 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 });
- }
- };
- TypeNoteParser = TypeNoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('typeNote', TypeNoteParser_1)
- ], TypeNoteParser);
- let TypeDescParser = TypeDescParser_1 = class TypeDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- TypeDescParser = TypeDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('typeDesc', TypeDescParser_1)
- ], TypeDescParser);
- let AccMatParser = AccMatParser_1 = class AccMatParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["AccMat"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
- }
- };
- AccMatParser = AccMatParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('accMat', AccMatParser_1)
- ], AccMatParser);
- let MusicNotationParser = MusicNotationParser_1 = class MusicNotationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["MusicNotation"], term: Object(_parser_models__WEBPACK_IMPORTED_MODULE_6__["unhandledElement"])(xml, 'term', this.genericParse) });
- }
- };
- MusicNotationParser = MusicNotationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('musicNotation', MusicNotationParser_1)
- ], MusicNotationParser);
- let PhysDescParser = PhysDescParser_1 = class PhysDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- PhysDescParser = PhysDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('physDesc', PhysDescParser_1)
- ], PhysDescParser);
- let FinalRubricParser = FinalRubricParser_1 = class FinalRubricParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["FinalRubric"], lbEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'lb') });
- }
- };
- FinalRubricParser = FinalRubricParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('finalRubric', FinalRubricParser_1)
- ], FinalRubricParser);
- let LocusParser = LocusParser_1 = class LocusParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { scheme, from, to, facs, target } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Locus"], scheme,
- from,
- to,
- facs,
- 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) });
- }
- };
- LocusParser = LocusParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('locus', LocusParser_1)
- ], LocusParser);
- let LocusGrpParser = LocusGrpParser_1 = class LocusGrpParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { scheme } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["LocusGrp"], scheme, locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus') });
- }
- };
- LocusGrpParser = LocusGrpParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('locusGrp', LocusGrpParser_1)
- ], LocusGrpParser);
- let IncipitParser = IncipitParser_1 = class IncipitParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { lang } = genericElem.attributes;
- 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, lbEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'lb'), locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus') });
- }
- };
- IncipitParser = IncipitParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('incipit', IncipitParser_1)
- ], IncipitParser);
- let ExplicitParser = ExplicitParser_1 = class ExplicitParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { lang } = genericElem.attributes;
- 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, locus: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElement"])(xml, 'locus') });
- }
- };
- ExplicitParser = ExplicitParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('explicit', ExplicitParser_1)
- ], ExplicitParser);
- let RubricParser = RubricParser_1 = class RubricParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { lang, rend } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Rubric"], lang,
- 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) });
- }
- };
- RubricParser = RubricParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('rubric', RubricParser_1)
- ], RubricParser);
- let FiliationParser = FiliationParser_1 = class FiliationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { filiationType } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Filiation"], filiationType });
- }
- };
- FiliationParser = FiliationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('filiation', FiliationParser_1)
- ], FiliationParser);
- let MsItemStructParser = MsItemStructParser_1 = class MsItemStructParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { n } = genericElem.attributes;
- 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') });
- }
- };
- MsItemStructParser = MsItemStructParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msItemStruct', MsItemStructParser_1)
- ], MsItemStructParser);
- let MsItemParser = MsItemParser_1 = class MsItemParser extends MsItemStructParser {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- MsItemParser = MsItemParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msItem', MsItemParser_1)
- ], MsItemParser);
- let CustEventParser = CustEventParser_1 = class CustEventParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { notBefore, notAfter, when, from, to, custEventType } = genericElem.attributes;
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["CustEvent"], notBefore,
- notAfter,
- when,
- from,
- to,
- custEventType });
- }
- };
- CustEventParser = CustEventParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('custEvent', CustEventParser_1)
- ], CustEventParser);
- let CustodialHistParser = CustodialHistParser_1 = class CustodialHistParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- CustodialHistParser = CustodialHistParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('custodialHist', CustodialHistParser_1)
- ], CustodialHistParser);
- let SourceParser = SourceParser_1 = class SourceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Source"], pEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'p') });
- }
- };
- SourceParser = SourceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('source', SourceParser_1)
- ], SourceParser);
- let RecordHistParser = RecordHistParser_1 = class RecordHistParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- RecordHistParser = RecordHistParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('recordHist', RecordHistParser_1)
- ], RecordHistParser);
- let AdminInfoParser = AdminInfoParser_1 = class AdminInfoParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- AdminInfoParser = AdminInfoParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('adminInfo', AdminInfoParser_1)
- ], AdminInfoParser);
- let SurrogatesParser = SurrogatesParser_1 = class SurrogatesParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- SurrogatesParser = SurrogatesParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('surrogates', SurrogatesParser_1)
- ], SurrogatesParser);
- let AdditionalParser = AdditionalParser_1 = class AdditionalParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- AdditionalParser = AdditionalParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('additional', AdditionalParser_1)
- ], AdditionalParser);
- let RepositoryParser = RepositoryParser_1 = class RepositoryParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { lang } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Repository"], lang });
- }
- };
- RepositoryParser = RepositoryParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('repository', RepositoryParser_1)
- ], RepositoryParser);
- let MsContentsParser = MsContentsParser_1 = class MsContentsParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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) });
- }
- };
- MsContentsParser = MsContentsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msContents', MsContentsParser_1)
- ], MsContentsParser);
- let CollectionParser = CollectionParser_1 = class CollectionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { collectionType } = genericElem.attributes;
- return Object.assign(Object.assign({}, genericElem), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["CollectionEl"], collectionType });
- }
- };
- CollectionParser = CollectionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('collection', CollectionParser_1)
- ], CollectionParser);
- let IdentifierParser = IdentifierParser_1 = class IdentifierParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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) });
- }
- };
- IdentifierParser = IdentifierParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-identifier-parser', IdentifierParser_1)
- ], IdentifierParser);
- let AltIdentifierParser = AltIdentifierParser_1 = class AltIdentifierParser extends IdentifierParser {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["AltIdentifier"], noteEl: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_4__["queryAndParseElements"])(xml, 'note') });
- }
- };
- AltIdentifierParser = AltIdentifierParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('altIdentifier', AltIdentifierParser_1)
- ], AltIdentifierParser);
- let MsNameParser = MsNameParser_1 = class MsNameParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- MsNameParser = MsNameParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msName', MsNameParser_1)
- ], MsNameParser);
- let InstitutionParser = InstitutionParser_1 = class InstitutionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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) });
- }
- };
- InstitutionParser = InstitutionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('institution', InstitutionParser_1)
- ], InstitutionParser);
- let MsIdentifierParser = MsIdentifierParser_1 = class MsIdentifierParser extends IdentifierParser {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- MsIdentifierParser = MsIdentifierParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msIdentifier', MsIdentifierParser_1)
- ], MsIdentifierParser);
- let HeadParser = HeadParser_1 = class HeadParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- const genericElem = super.parse(xml);
- const { place, rend, style, rendition, facs, n } = genericElem.attributes;
- 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,
- rend,
- rendition,
- style,
- 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') });
- }
- };
- HeadParser = HeadParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('head', HeadParser_1)
- ], HeadParser);
- let MsFragParser = MsFragParser_1 = class MsFragParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_4__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- MsFragParser = MsFragParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msFrag', MsFragParser_1)
- ], MsFragParser);
- let MsPartParser = MsPartParser_1 = class MsPartParser extends MsFragParser {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- MsPartParser = MsPartParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('msPart', MsPartParser_1)
- ], MsPartParser);
- let MsDescParser = MsDescParser_1 = class MsDescParser extends MsPartParser {
- constructor() {
- super(...arguments);
- this.msDescCounter = 0;
- }
- parse(xml) {
- const genericElem = super.parse(xml);
- const { n, label } = genericElem.attributes;
- let firstIdnoValue = '';
- const msDesc = Object.assign(Object.assign({}, super.parse(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, 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;
- }
- getFirstIdnoValue(ms) {
- this.msDescCounter++;
- if (ms.msIdentifier.idnos.length > 0) {
- const item = ms.msIdentifier.idnos[0].filter((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 ${this.msDescCounter}`;
- }
- };
- 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(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");
- class VersionPanelComponent {
- constructor() {
- this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- emitHide() {
- this.hide.emit(true);
- }
- }
- 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(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) {
- const _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); const 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); const 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); const 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); const 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) {
- const currentEditionLevels_r1 = ctx.ngIf;
- const 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]);
- } }
- class TextTextComponent {
- constructor(evtStatusService) {
- 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"])(({ page }) => page.id));
- this.currentEditionLevels$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(({ editionLevels }) => 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 = [];
- }
- ngOnInit() {
- this.initGridster();
- this.editionLevelChange$.subscribe(([edLvl1, edLvl2, changedPanel]) => {
- if (!edLvl1 || !edLvl2) {
- return;
- }
- if (edLvl1 === edLvl2) {
- if (changedPanel === 1) {
- edLvl2 = this.evtStatusService.availableEditionLevels.filter(e => e.id !== edLvl1.id)[0];
- }
- else if (changedPanel === 2) {
- edLvl1 = this.evtStatusService.availableEditionLevels.filter(e => e.id !== edLvl2.id)[0];
- }
- }
- this.evtStatusService.updateEditionLevels$.next([edLvl1 === null || edLvl1 === void 0 ? void 0 : edLvl1.id, edLvl2 === null || edLvl2 === void 0 ? void 0 : edLvl2.id]);
- });
- }
- changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- changeEditionLevel(edLvl, changedPanel) {
- if (changedPanel === 1) {
- this.editionLevelPanel1Change$.next(edLvl);
- }
- else if (changedPanel === 2) {
- this.editionLevelPanel2Change$.next(edLvl);
- }
- this.lastPanelChanged$.next(changedPanel);
- }
- 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,
- },
- };
- }
- ngOnDestroy() {
- this.subscriptions.forEach(s => s.unsubscribe());
- }
- }
- 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(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) {
- const nesLem_r9 = ctx.$implicit;
- const i_r10 = ctx.index;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- const _c0 = function (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) {
- const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const c_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- const 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) {
- const c_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
- const 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) {
- const nesID_r36 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- const 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) {
- const nesID_r36 = ctx.$implicit;
- const rdgHasCounter_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](4).rdgHasCounter;
- const 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) {
- const 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) {
- const c_r28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- const 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) {
- const c_r28 = ctx.$implicit;
- const 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) {
- const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r7.data.lemma.content);
- } }
- let LemEntryDetailComponent = LemEntryDetailComponent_1 = class LemEntryDetailComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.nestedLems = [];
- this.rdgHasCounter = false;
- }
- get significantRdg() {
- return this.data.readings.filter((rdg) => rdg.significant);
- }
- get notSignificantRdg() {
- return this.data.readings.filter((rdg) => !rdg.significant);
- }
- get readings() {
- return [this.data.lemma, ...this.significantRdg, ...this.notSignificantRdg];
- }
- get rdgMetadata() {
- return Object.keys(this.data.attributes).filter((key) => key !== 'id')
- .reduce((obj, key) => (Object.assign(Object.assign({}, obj), { [key]: this.data.attributes[key] })), {});
- }
- ngOnInit() {
- if (this.data.nestedLemsIDs.length > 0) {
- this.recoverNestedLems(this.data);
- }
- }
- recoverNestedLems(lem) {
- const nesLems = lem.lemma.content.filter((c) => c.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["LemEntry"]);
- nesLems.forEach((nesLem) => {
- this.nestedLems = this.nestedLems.concat(nesLem);
- if (nesLem.nestedLemsIDs.length > 0) {
- this.recoverNestedLems(nesLem);
- }
- });
- }
- isLemEntry(item) {
- return item.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["LemEntry"];
- }
- getNestedLemLemma(lemId) {
- return this.nestedLems.find((c) => c.id === lemId).lemma;
- }
- getNestedLemPos(lemId) {
- return this.nestedLems.findIndex((nesLem) => nesLem.id === lemId);
- }
- };
- 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) {
- const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](8);
- const _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(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) {
- const element_r1 = ctx.$implicit;
- const 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);
- } }
- let SurplusComponent = class SurplusComponent {
- get editorialConventionData() {
- var _a;
- return {
- name: 'surplus',
- attributes: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.attributes) || {},
- editionLevel: this.editionLevel,
- defaultsKey: 'surplus',
- };
- }
- };
- 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(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");
- class PrefatoryMatterParserService {
- constructor(editionDataService) {
- this.editionDataService = editionDataService;
- this.title$ = this.editionDataService.parsedEditionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])((source) => this.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"])((source) => this.parseProjectInfo(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["shareReplay"])(1));
- }
- parseEditionTitle(source) {
- var _a;
- const titleElems = source.querySelectorAll('titleStmt title');
- return (_a = titleElems[0]) === null || _a === void 0 ? void 0 : _a.textContent;
- }
- 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),
- };
- }
- }
- 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(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) {
- const element_r3 = ctx.$implicit;
- const 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) {
- const 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) {
- const element_r7 = ctx.$implicit;
- const 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) {
- const 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) {
- const element_r9 = ctx.$implicit;
- const 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) {
- const 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) {
- const 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");
- } }
- let GComponent = class GComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.specialChars$ = this.evtModelService.specialChars$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((specialChars) => specialChars.find(char => char.id === this.data.charId)));
- this.diplomaticMapping$ = this.specialChars$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((specialChar) => {
- var _a;
- const mapping = specialChar === null || specialChar === void 0 ? void 0 : specialChar.mappings.find(m => 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"])((specialChar) => {
- var _a;
- const mapping = specialChar === null || specialChar === void 0 ? void 0 : specialChar.mappings.find(m => 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(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");
- const _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) {
- const 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) {
- const 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);
- } }
- const _c1 = function () { return ["auto"]; };
- function NoteComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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) {
- const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const 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) {
- const 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);
- } }
- let NoteComponent = class NoteComponent {
- constructor() {
- this.pinnerStyle = {
- 'margin-right': '-0.65rem',
- 'margin-top': '-0.35rem',
- float: 'right',
- };
- }
- onTriggerClicked(event) {
- event.stopPropagation();
- }
- };
- 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) {
- let _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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25vdGUuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0E7RUFDSSxnQ0FBQTtFQUNBLFdBQUE7RUFDQSxpQkFBQTtFQUNBLFlBQUE7RUFDQSxVQUFBO0VBQ0EscUJBQUE7RUFDQSxrQkFBQTtBQUZKO0FBSUk7RUFDSSxjQUFBO0FBRlI7QUFLSTtFQUNJLGNBQUE7QUFIUjtBQU1JO0VBQ0ksVUFBQTtBQUpSO0FBT0k7RUFDSSxlQUFBO0VBQ0EsWUFBQTtFQUNBLHFCQUFBO0VBQ0Esa0J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KGNyaXRpY2FsTm90ZXMpO1xuICAgIH1cblxuICAgICY6aG92ZXIge1xuICAgICAgICBvcGFjaXR5OiAxO1xuICAgIH1cblxuICAgIC5ub3RlLWljb24ge1xuICAgICAgICBtaW4td2lkdGg6IDEzcHg7XG4gICAgICAgIGhlaWdodDogMTNweDtcbiAgICAgICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICAgICAgICBib3JkZXItcmFkaXVzOiA0cHg7XG4gICAgICAgIGNvbG9yOiAjZmZmO1xuICAgICAgICBwYWRkaW5nOiAwLjI1ZW0gMC42ZW07XG4gICAgICAgIGZvbnQtc2l6ZTogNzUlO1xuICAgICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgICBsaW5lLWhlaWdodDogMTtcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogYmFzZWxpbmU7XG4gICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgdG9wOiAtMXB4O1xuICAgICAgICBiYWNrZ3JvdW5kOiBibGFjaztcblxuICAgICAgICAuYXJyb3cge1xuICAgICAgICAgICAgd2lkdGg6IDA7XG4gICAgICAgICAgICBoZWlnaHQ6IDA7XG4gICAgICAgICAgICBib3JkZXI6IDAgc29saWQgdHJhbnNwYXJlbnQ7XG4gICAgICAgICAgICBib3JkZXItbGVmdC13aWR0aDogMHB4O1xuICAgICAgICAgICAgYm9yZGVyLXJpZ2h0LXdpZHRoOiA2cHg7XG4gICAgICAgICAgICBib3JkZXItdG9wOiA0cHggc29saWQgYmxhY2s7XG4gICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICB0b3A6IDEycHg7XG4gICAgICAgICAgICBsZWZ0OiAzcHg7XG4gICAgICAgIH1cbiAgICB9XG5cblxuICAgICZbZGF0YS1ub3RlLXR5cGU9J2NvbW1lbnQnXSB7XG4gICAgICAgIC5ub3RlLWljb24ge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogZ2V0LWNvbG9yKGNvbW1lbnROb3Rlcyk7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiA2cHg7XG5cbiAgICAgICAgICAgIC5hcnJvdyB7XG4gICAgICAgICAgICAgICAgYm9yZGVyLXRvcC1jb2xvcjogZ2V0LWNvbG9yKGNvbW1lbnROb3Rlcyk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmW2RhdGEtbm90ZS10eXBlPSdjcml0aWNhbCddIHtcbiAgICAgICAgLm5vdGUtaWNvbiB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiBnZXQtY29sb3IoY3JpdGljYWxOb3Rlcyk7XG5cbiAgICAgICAgICAgIC5hcnJvdyB7XG4gICAgICAgICAgICAgICAgYm9yZGVyLXRvcC1jb2xvcjogZ2V0LWNvbG9yKGNyaXRpY2FsTm90ZXMpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxufSJdfQ== */"] });
- 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(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");
- class EditorialConventionLayoutDirective {
- constructor(editorialConventionsService, el, renderer) {
- this.editorialConventionsService = editorialConventionsService;
- this.el = el;
- this.renderer = renderer;
- }
- ngOnInit() {
- this._setLayout();
- }
- ngOnChanges(changes) {
- if (!changes.data.isFirstChange() && changes.data.previousValue !== changes.data.currentValue) {
- this._setLayout();
- }
- }
- _setLayout() {
- const layouts = this.editorialConventionsService.getLayouts(this.data.name, this.data.attributes, this.data.defaultsKey);
- this._cleanPreviousLayout();
- if (layouts && this.data.editionLevel) {
- const editionLayout = layouts[this.data.editionLevel];
- if (editionLayout) {
- if (editionLayout.pre) {
- const preEl = document.createElement('span');
- preEl.classList.add('pre');
- preEl.innerHTML = editionLayout.pre;
- this.el.nativeElement.prepend(preEl);
- }
- if (editionLayout.post) {
- const 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(key => this.renderer.setStyle(this.el.nativeElement, key, editionLayout.style[key]));
- this._oldStyle = editionLayout.style;
- }
- }
- }
- }
- _cleanPreviousLayout() {
- const preEl = this.el.nativeElement.querySelector('.pre');
- if (preEl) {
- preEl.remove();
- }
- const postEl = this.el.nativeElement.querySelector('.post');
- if (postEl) {
- postEl.remove();
- }
- if (this._oldStyle) {
- Object.keys(this._oldStyle).forEach(key => this.renderer.setStyle(this.el.nativeElement, key, ''));
- this._oldStyle = undefined;
- }
- }
- }
- 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(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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- let IdentifierComponent = class 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(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) {
- const element_r3 = ctx.$implicit;
- const 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) {
- const element_r5 = ctx.$implicit;
- const 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) {
- const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r2.alternativeContent);
- } }
- const _c0 = function () { return ["bottom"]; };
- let ChoiceComponent = class ChoiceComponent {
- get content() {
- if (this.editionLevel === 'diplomatic') {
- return this.data.originalContent;
- }
- return this.data.normalizedContent;
- }
- get alternativeContent() {
- if (this.editionLevel === 'diplomatic') {
- return this.data.normalizedContent;
- }
- return this.data.originalContent;
- }
- get alternativeEditionLevel() {
- return this.editionLevel === 'diplomatic' ? 'interpretative' : 'diplomatic';
- }
- };
- 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) {
- const _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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2Nob2ljZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmd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C4xcmVtIDAuNXJlbTtcbiAgICB9XG5cbiAgICAuYXJyb3cge1xuICAgICAgICAmOjpiZWZvcmUge1xuICAgICAgICAgICAgYm9yZGVyLWJvdHRvbS1jb2xvcjogcmdiYSgwLCAwLCAwLCAwLjUpO1xuICAgICAgICB9XG5cbiAgICAgICAgJjo6YWZ0ZXIge1xuICAgICAgICAgICAgYm9yZGVyLWJvdHRvbS1jb2xvcjogI2ZmZmJmMztcbiAgICAgICAgfVxuICAgIH1cblxuICAgICYubm9ybWFsaXphdGlvbiB7XG4gICAgICAgIGJhY2tncm91bmQ6IGdldC1jb2xvcihub3JtYWxpemF0aW9uQmFja2dyb3VuZCk7XG5cbiAgICAgICAgLmFycm93OjphZnRlciB7XG4gICAgICAgICAgICBib3JkZXItYm90dG9tLWNvbG9yOiBnZXQtY29sb3Iobm9ybWFsaXphdGlvbkJhY2tncm91bmQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi5lbWVuZGF0aW9uIHtcbiAgICAgICAgYmFja2dyb3VuZDogZ2V0LWNvbG9yKGVtZW5kYXRpb25CYWNrZ3JvdW5kKTtcblxuICAgICAgICAuYXJyb3c6OmFmdGVyIHtcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b20tY29sb3I6IGdldC1jb2xvcihlbWVuZGF0aW9uQmFja2dyb3VuZCk7XG4gICAgICAgIH1cbiAgICB9XG59Il19 */"] });
- 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(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.
- */
- let 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;
- }
- let matchingAttr = 0;
- attributes.forEach(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 '';
- }
- let sames = [];
- if (el.parentNode) {
- sames = [].filter.call(el.parentNode.children, (x) => {
- return x.tagName === el.tagName;
- });
- }
- let countIndex = sames.length > 1 ? ([].indexOf.call(sames, el) + 1) : 1;
- countIndex = `[${countIndex}]`;
- const tagName = el.tagName !== 'tei' ? '-' + el.tagName : '';
- return `${xpath(el.parentNode)}${tagName}${countIndex}`;
- }
- catch (e) {
- totIdsGenerated++; // TODO: remove side effects
- return `-id${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)
- const tags = XHTMLstring.match(/<(?!\!)[^>]+>/g);
- const stack = [];
- const tagToOpen = [];
- for (const 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
- const tagName = tag.replace(/[<\/>]/ig, '');
- const 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
- let endTag = stack.pop();
- // get just the tag name
- endTag = endTag.substring(1, endTag.search(/[ >]/));
- // append the end tag
- XHTMLstring += '</' + endTag + '>';
- }
- while (tagToOpen.length > 0) {
- const 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) {
- const range = document.createRange();
- range.setStart(start, 0);
- range.setEnd(end, end.length || end.childNodes.length);
- const commonAncestorChild = Array.from(range.commonAncestorContainer.children);
- const startIdx = commonAncestorChild.indexOf(start);
- const endIdx = commonAncestorChild.indexOf(end);
- const rangeNodes = commonAncestorChild.slice(startIdx, endIdx).filter((c) => c !== start);
- rangeNodes.forEach((c) => c.setAttribute('xpath', xpath(c).replace(/-/g, '/')));
- const fragment = range.cloneContents();
- const nodes = Array.from(fragment.childNodes);
- return nodes;
- }
- function getOuterHTML(element) {
- let outerHTML = element.outerHTML;
- outerHTML = outerHTML ? outerHTML.replace(/ xmlns="http:\/\/www\.tei-c\.org\/ns\/1\.0"/g, '') : outerHTML;
- return outerHTML;
- }
- function getCommonAncestor(node1, node2) {
- const method = 'contains' in node1 ? 'contains' : 'compareDocumentPosition';
- const 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 (prefix) => prefix === 'ns' ? doc.documentElement.namespaceURI : undefined;
- }
- /***/ }),
- /***/ "GTTo":
- /*!***************************************************************!*\
- !*** ./src/app/components/title-stmt/title-stmt.component.ts ***!
- \***************************************************************/
- /*! exports provided: TitleStmtComponent */
- /***/ (function(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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const label_r13 = ctx_r19.label;
- const class_r15 = ctx_r19.class;
- const 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) {
- const items_r14 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r14 == null ? null : items_r14.length) > 0);
- } }
- const _c0 = function (a1) { return { label: "editors", items: a1, class: "editor" }; };
- const _c1 = function (a1) { return { label: "sponsors", items: a1, class: "sponsor" }; };
- const _c2 = function (a1) { return { label: "funders", items: a1, class: "funder" }; };
- const _c3 = function (a1) { return { label: "principals", items: a1, class: "principal" }; };
- const _c4 = function (a1) { return { label: "responsibles", items: a1, class: "principal" }; };
- let TitleStmtComponent = class 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) {
- const _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(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");
- const _c0 = function () { return { icon: "file-alt", additionalClasses: "mr-2" }; };
- const _c1 = function (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) {
- const item_r1 = ctx.item;
- const 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)), " ");
- } }
- class PageSelectorComponent {
- constructor(evtModelService) {
- 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"])(([pages, pageID]) => !!pageID && !!pages && pages.length > 0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([pages, pageID]) => pages.find(p => p.id === pageID)));
- }
- set pageID(p) {
- this._pageID = p;
- this.selectedPage$.next(this._pageID);
- }
- get pageID() { return this._pageID; }
- }
- 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(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;
- let RespParser = RespParser_1 = class RespParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- const { ref, when } = this.attributeParser.parse(xml);
- const normalizedResp = (ref === null || ref === void 0 ? void 0 : ref.indexOf('http://')) < 0 && (ref === null || ref === void 0 ? void 0 : ref.indexOf('https://')) < 0 ? `http://${ref}` : ref !== null && ref !== void 0 ? ref : '';
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Resp"], normalizedResp, date: when || '' });
- }
- };
- RespParser = RespParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('resp', RespParser_1)
- ], RespParser);
- let RespStmtParser = RespStmtParser_1 = class RespStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- constructor() {
- super(...arguments);
- this.namedEntityRefParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_named_entity_parsers__WEBPACK_IMPORTED_MODULE_6__["NamedEntityRefParser"], this.genericParse);
- }
- parse(xml) {
- const people = Array.from(xml.querySelectorAll(':scope > name, :scope > orgName, :scope > persName'))
- .map(p => {
- if (['orgName', 'persName'].includes(p.tagName)) {
- return this.namedEntityRefParser.parse(p);
- }
- return this.genericParse(p);
- });
- return Object.assign(Object.assign({}, super.parse(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 });
- }
- };
- RespStmtParser = RespStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('respStmt', RespStmtParser_1)
- ], RespStmtParser);
- let TitleStmtParser = TitleStmtParser_1 = class TitleStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- const title = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'title[type="main"]');
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- TitleStmtParser = TitleStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('titleStmt', TitleStmtParser_1)
- ], TitleStmtParser);
- let EditionStmtParser = EditionStmtParser_1 = class EditionStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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(el => el.tagName === 'p').length !== xml.children.length });
- }
- };
- EditionStmtParser = EditionStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('editionStmt', EditionStmtParser_1)
- ], EditionStmtParser);
- let PublicationStmtParser = PublicationStmtParser_1 = class PublicationStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["PublicationStmt"], structuredData: Array.from(xml.children).filter(el => 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') });
- }
- };
- PublicationStmtParser = PublicationStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('publicationStmt', PublicationStmtParser_1)
- ], PublicationStmtParser);
- let SeriesStmtParser = SeriesStmtParser_1 = class SeriesStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- SeriesStmtParser = SeriesStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('seriesStmt', SeriesStmtParser_1)
- ], SeriesStmtParser);
- let NotesStmtParser = NotesStmtParser_1 = class NotesStmtParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["NotesStmt"], notes: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'note').map(el => (Object.assign(Object.assign({}, el), { noteLayout: 'plain-text' }))), relatedItems: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'relatedItem') });
- }
- };
- NotesStmtParser = NotesStmtParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('notesStmt', NotesStmtParser_1)
- ], NotesStmtParser);
- let SourceDescParser = SourceDescParser_1 = class SourceDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["SourceDesc"], structuredData: Array.from(xml.children).filter(el => 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') });
- }
- };
- SourceDescParser = SourceDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('sourceDesc', SourceDescParser_1)
- ], SourceDescParser);
- let ExtentParser = ExtentParser_1 = class ExtentParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Extent"] });
- }
- };
- ExtentParser = ExtentParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('extent', ExtentParser_1)
- ], ExtentParser);
- let FileDescParser = FileDescParser_1 = class FileDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- constructor() {
- super(...arguments);
- this.excludeFromParsing = [
- 'listBibl',
- 'listEvent',
- 'listOrg',
- 'listPerson',
- 'listPlace',
- 'listWit',
- ];
- }
- parse(xml) {
- xml = xml.cloneNode(true);
- Array.from(xml.querySelectorAll(this.excludeFromParsing.toString()))
- .filter((list) => !Object(src_app_utils_dom_utils__WEBPACK_IMPORTED_MODULE_1__["isNestedInElem"])(list, list.tagName))
- .forEach(el => el.remove());
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- FileDescParser = FileDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('fileDesc', FileDescParser_1)
- ], FileDescParser);
- let ProjectDescParser = ProjectDescParser_1 = class ProjectDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ProjectDesc"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p') });
- }
- };
- ProjectDescParser = ProjectDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('projectDesc', ProjectDescParser_1)
- ], ProjectDescParser);
- let SamplingDeclParser = SamplingDeclParser_1 = class SamplingDeclParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["SamplingDecl"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p') });
- }
- };
- SamplingDeclParser = SamplingDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('samplingDecl', SamplingDeclParser_1)
- ], SamplingDeclParser);
- let CorrectionParser = CorrectionParser_1 = class CorrectionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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' });
- }
- };
- CorrectionParser = CorrectionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correction', CorrectionParser_1)
- ], CorrectionParser);
- let NormalizationParser = NormalizationParser_1 = class NormalizationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- var _a;
- return Object.assign(Object.assign({}, super.parse(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' });
- }
- };
- NormalizationParser = NormalizationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('normalization', NormalizationParser_1)
- ], NormalizationParser);
- let PunctuationParser = PunctuationParser_1 = class PunctuationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- PunctuationParser = PunctuationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('punctuation', PunctuationParser_1)
- ], PunctuationParser);
- let QuotationParser = QuotationParser_1 = class QuotationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- QuotationParser = QuotationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('quotation', QuotationParser_1)
- ], QuotationParser);
- let HyphenationParser = HyphenationParser_1 = class HyphenationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- HyphenationParser = HyphenationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('hyphenation', HyphenationParser_1)
- ], HyphenationParser);
- let SegmentationParser = SegmentationParser_1 = class SegmentationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Segmentation"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p') });
- }
- };
- SegmentationParser = SegmentationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('segmentation', SegmentationParser_1)
- ], SegmentationParser);
- let StdValsParser = StdValsParser_1 = class StdValsParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["StdVals"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p') });
- }
- };
- StdValsParser = StdValsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('stdVals', StdValsParser_1)
- ], StdValsParser);
- let InterpretationParser = InterpretationParser_1 = class InterpretationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Interpretation"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'p') });
- }
- };
- InterpretationParser = InterpretationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('interpretation', InterpretationParser_1)
- ], InterpretationParser);
- let EditorialDeclParser = EditorialDeclParser_1 = class EditorialDeclParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["EditorialDecl"], structuredData: Array.from(xml.children).filter(el => 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') });
- }
- };
- EditorialDeclParser = EditorialDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('editorialDecl', EditorialDeclParser_1)
- ], EditorialDeclParser);
- let RenditionParser = RenditionParser_1 = class RenditionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') || '' });
- }
- };
- RenditionParser = RenditionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('rendition', RenditionParser_1)
- ], RenditionParser);
- let TagUsageParser = TagUsageParser_1 = class TagUsageParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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 });
- }
- };
- TagUsageParser = TagUsageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('tagUsage', TagUsageParser_1)
- ], TagUsageParser);
- let NamespaceParser = NamespaceParser_1 = class NamespaceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- NamespaceParser = NamespaceParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('namespace', NamespaceParser_1)
- ], NamespaceParser);
- let TagsDeclParser = TagsDeclParser_1 = class TagsDeclParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- TagsDeclParser = TagsDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('tagsDecl', TagsDeclParser_1)
- ], TagsDeclParser);
- let CRefPatternParser = CRefPatternParser_1 = class CRefPatternParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CRefPattern"], matchPattern: xml.getAttribute('matchPattern'), replacementPattern: xml.getAttribute('replacementPattern') });
- }
- };
- CRefPatternParser = CRefPatternParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('cRefPattern', CRefPatternParser_1)
- ], CRefPatternParser);
- let RefStateParser = RefStateParser_1 = class RefStateParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- RefStateParser = RefStateParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('refState', RefStateParser_1)
- ], RefStateParser);
- let RefsDeclParser = RefsDeclParser_1 = class RefsDeclParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- constructor() {
- super(...arguments);
- this.cRefPatternParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(CRefPatternParser, this.genericParse);
- this.refStateParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RefStateParser, this.genericParse);
- }
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["RefsDecl"], structuredData: Array.from(xml.children).filter(el => 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') });
- }
- };
- RefsDeclParser = RefsDeclParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('refsDecl', RefsDeclParser_1)
- ], RefsDeclParser);
- let EncodingDescParser = EncodingDescParser_1 = class EncodingDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["EncodingDesc"], structuredData: Array.from(xml.children).filter(el => 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') });
- }
- };
- EncodingDescParser = EncodingDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('encodingDesc', EncodingDescParser_1)
- ], EncodingDescParser);
- let AbstractParser = AbstractParser_1 = class AbstractParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Abstract"], resp: xml.getAttribute('resp'), lang: xml.getAttribute('xml:lang') });
- }
- };
- AbstractParser = AbstractParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('abstract', AbstractParser_1)
- ], AbstractParser);
- let CalendarParser = CalendarParser_1 = class CalendarParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Calendar"], id: xml.getAttribute('xml:id'), target: xml.getAttribute('target') });
- }
- };
- CalendarParser = CalendarParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('calendar', CalendarParser_1)
- ], CalendarParser);
- let CalendarDescParser = CalendarDescParser_1 = class CalendarDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CalendarDesc"], calendars: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'calendar') });
- }
- };
- CalendarDescParser = CalendarDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('calendarDesc', CalendarDescParser_1)
- ], CalendarDescParser);
- let CorrespActionParser = CorrespActionParser_1 = class CorrespActionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CorrespAction"], actionType: xml.getAttribute('type') });
- }
- };
- CorrespActionParser = CorrespActionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correspAction', CorrespActionParser_1)
- ], CorrespActionParser);
- let CorrespContextParser = CorrespContextParser_1 = class CorrespContextParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CorrespContext"] });
- }
- };
- CorrespContextParser = CorrespContextParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correspContext', CorrespContextParser_1)
- ], CorrespContextParser);
- let CorrespDescParser = CorrespDescParser_1 = class CorrespDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CorrespDesc"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'correspAction, correspContext, note, p') });
- }
- };
- CorrespDescParser = CorrespDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('correspDesc', CorrespDescParser_1)
- ], CorrespDescParser);
- let CreationParser = CreationParser_1 = class CreationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Creation"] });
- }
- };
- CreationParser = CreationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('creation', CreationParser_1)
- ], CreationParser);
- let LanguageParser = LanguageParser_1 = class LanguageParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Language"], ident: xml.getAttribute('ident'), usage: parseInt(xml.getAttribute('usage'), 10) || undefined });
- }
- };
- LanguageParser = LanguageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('language', LanguageParser_1)
- ], LanguageParser);
- let LangUsageParser = LangUsageParser_1 = class LangUsageParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- LangUsageParser = LangUsageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('langUsage', LangUsageParser_1)
- ], LangUsageParser);
- let ClassCodeParser = ClassCodeParser_1 = class ClassCodeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ClassCode"], scheme: xml.getAttribute('scheme') });
- }
- };
- ClassCodeParser = ClassCodeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('classCode', ClassCodeParser_1)
- ], ClassCodeParser);
- let CatRefParser = CatRefParser_1 = class CatRefParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["CatRef"], scheme: xml.getAttribute('scheme'), target: xml.getAttribute('target') });
- }
- };
- CatRefParser = CatRefParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('catRef', CatRefParser_1)
- ], CatRefParser);
- let KeywordsParser = KeywordsParser_1 = class KeywordsParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- KeywordsParser = KeywordsParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('keywords', KeywordsParser_1)
- ], KeywordsParser);
- let TextClassParser = TextClassParser_1 = class TextClassParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- TextClassParser = TextClassParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('textClass', TextClassParser_1)
- ], TextClassParser);
- let HandNoteParser = HandNoteParser_1 = class HandNoteParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- HandNoteParser = HandNoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('handNote', HandNoteParser_1)
- ], HandNoteParser);
- let HandNotesParser = HandNotesParser_1 = class HandNotesParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["HandNotes"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'keywords') });
- }
- };
- HandNotesParser = HandNotesParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('handNotes', HandNotesParser_1)
- ], HandNotesParser);
- let TransposeParser = TransposeParser_1 = class TransposeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Transpose"], content: Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'ptr') });
- }
- };
- TransposeParser = TransposeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('transpose', TransposeParser_1)
- ], TransposeParser);
- let ListTransposeParser = ListTransposeParser_1 = class ListTransposeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- ListTransposeParser = ListTransposeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('listTranspose', ListTransposeParser_1)
- ], ListTransposeParser);
- let ChannelParser = ChannelParser_1 = class ChannelParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Channel"], mode: xml.getAttribute('mode') });
- }
- };
- ChannelParser = ChannelParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('channel', ChannelParser_1)
- ], ChannelParser);
- let ConstitutionParser = ConstitutionParser_1 = class ConstitutionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Constitution"], constitutionType: xml.getAttribute('type') });
- }
- };
- ConstitutionParser = ConstitutionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('constitution', ConstitutionParser_1)
- ], ConstitutionParser);
- let DerivationParser = DerivationParser_1 = class DerivationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Derivation"], derivationType: xml.getAttribute('type') });
- }
- };
- DerivationParser = DerivationParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('derivation', DerivationParser_1)
- ], DerivationParser);
- let DomainParser = DomainParser_1 = class DomainParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Domain"], domainType: xml.getAttribute('type') });
- }
- };
- DomainParser = DomainParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('domain', DomainParser_1)
- ], DomainParser);
- let FactualityParser = FactualityParser_1 = class FactualityParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Factuality"], factualityType: xml.getAttribute('type') });
- }
- };
- FactualityParser = FactualityParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('factuality', FactualityParser_1)
- ], FactualityParser);
- let InteractionParser = InteractionParser_1 = class InteractionParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Interaction"], interactionType: xml.getAttribute('type'), active: xml.getAttribute('type'), passive: xml.getAttribute('type') });
- }
- };
- InteractionParser = InteractionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('interaction', InteractionParser_1)
- ], InteractionParser);
- let PreparednessParser = PreparednessParser_1 = class PreparednessParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Preparedness"], preparednessType: xml.getAttribute('type') });
- }
- };
- PreparednessParser = PreparednessParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('preparedness', PreparednessParser_1)
- ], PreparednessParser);
- let PurposeParser = PurposeParser_1 = class PurposeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["Purpose"], purposeType: xml.getAttribute('type'), degree: xml.getAttribute('degree') });
- }
- };
- PurposeParser = PurposeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('purpose', PurposeParser_1)
- ], PurposeParser);
- let ChangeParser = ChangeParser_1 = class ChangeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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(t => t.replace('#', '')) });
- }
- };
- ChangeParser = ChangeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('change', ChangeParser_1)
- ], ChangeParser);
- let TextDescParser = TextDescParser_1 = class TextDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- TextDescParser = TextDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('textDesc', TextDescParser_1)
- ], TextDescParser);
- let ParticDescParser = ParticDescParser_1 = class ParticDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ParticDesc"], structuredData: Array.from(xml.children).filter(el => 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')) });
- }
- };
- ParticDescParser = ParticDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('particDesc', ParticDescParser_1)
- ], ParticDescParser);
- let SettingParser = SettingParser_1 = class SettingParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- const names = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'name');
- const orgNames = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'orgName');
- const persNames = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'persName');
- const placeNames = Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["queryAndParseElements"])(xml, 'placeName');
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- SettingParser = SettingParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('setting', SettingParser_1)
- ], SettingParser);
- let SettingDescParser = SettingDescParser_1 = class SettingDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericElemParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["SettingDesc"], structuredData: Array.from(xml.children).filter(el => 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') });
- }
- };
- SettingDescParser = SettingDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('settingDesc', SettingDescParser_1)
- ], SettingDescParser);
- let ListChangeParser = ListChangeParser_1 = class ListChangeParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["ListChange"], content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["complexElements"])(xml.childNodes, true).filter((child) => child.tagName !== 'desc')
- .map(child => 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')) });
- }
- };
- ListChangeParser = ListChangeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('listChange', ListChangeParser_1)
- ], ListChangeParser);
- let ProfileDescParser = ProfileDescParser_1 = class ProfileDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- ProfileDescParser = ProfileDescParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_3__["xmlParser"])('profileDesc', ProfileDescParser_1)
- ], ProfileDescParser);
- let RevisionDescParser = RevisionDescParser_1 = class RevisionDescParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_5__["GenericParser"] {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_4__["RevisionDesc"], content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["complexElements"])(xml.childNodes, true).map(child => Object(_basic_parsers__WEBPACK_IMPORTED_MODULE_5__["parseElement"])(child)), status: xml.getAttribute('status') });
- }
- };
- 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(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) {
- const 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) {
- const 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) {
- const 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"]();
- } }
- const _c0 = function (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) {
- const titles_r15 = ctx.$implicit;
- const i_r16 = ctx.index;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const p_r24 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", p_r24);
- } }
- let MsPartComponent = class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLXBhcnQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0Y7O0FBRUE7RUFDSTtJQUNJLGdCQUFBO0VBQU47O0VBR0U7SUFDSSxnQkFBQTtFQUFOO0FBQ0Y7O0FBR0E7R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AgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgfVxuIH1cbiJdfQ== */"] });
- 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(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) {
- const 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) {
- const el_r2 = ctx.$implicit;
- const 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);
- } }
- let ParagraphComponent = class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhcmFncmFwaC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQUNFLGdCQUFBO0VBQ0EscUJBQUE7QUFERjtBQ3NGUTtFRGxGSixjQUFBO0FBREo7QUNtRlE7RURsRkosV0FBQTtBQUVKO0FDZ0ZRO0VEbEZKLGNBQUE7QUFLSjtBQzZFUTtFRGxGSixjQUFBO0FBUUo7QUFMRTtFQUNFLFlBQUE7QUFPSiIsImZpbGUiOiJwYXJhZ3JhcGguY29tcG9uZW50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aGluIHRoZSBtaXhpbjpcbi8vIGBgYFxuLy8gIGJ0bi1wcmltYXJ5IHtcbiAgICAvLyAgQGluY2x1ZGUgdGhlbWlmeVNlbGYoJHRoZW1lcykge1xuICAgICAgICAvLyAgY29sb3I6IHRoZW1lZCgnYmFzZUNvbG9yRGFyaycpO1xuICAgIC8vICB9XG4vLyAgfVxuLy8gYGBgXG5AbWl4aW4gdGhlbWlmeVNlbGYoJHRoZW1lczogJHRoZW1lcykge1xuICAgIEBlYWNoICR0aGVtZSwgJG1hcCBpbiAkdGhlbWVzIHtcbiAgICAgICAgICZbZGF0YS10aGVtZT1cIiN7JHRoZW1lfVwiXSB7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiAoKSAhZ2xvYmFsO1xuICAgICAgICAgICAgQGVhY2ggJGtleSwgJHN1Ym1hcCBpbiAkbWFwIHtcbiAgICAgICAgICAgICAgICAkdmFsdWU6IG1hcC1nZXQobWFwLWdldCgkdGhlbWVzLCAkdGhlbWUpLCAnI3ska2V5fScpO1xuICAgICAgICAgICAgICAgICR0aGVtZS1tYXA6IG1hcC1tZXJnZSgkdGhlbWUtbWFwLCAoJGtleTogJHZhbHVlKSkgIWdsb2JhbDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBjb250ZW50O1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogbnVsbCAhZ2xvYmFsO1xuICAgICAgICB9XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"] });
- 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(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");
- let GapComponent = class GapComponent {
- constructor(translateService) {
- this.translateService = translateService;
- }
- get content() {
- if (!!this.data.unit && !!this.data.quantity) {
- switch (this.data.unit) {
- case 'char':
- return `[${'.'.repeat(this.data.quantity)}]`;
- case 'line':
- return '<span class="line-gap"></span>'.repeat(this.data.quantity);
- case 'word':
- return `[${'... '.repeat(this.data.quantity).slice(0, -1)}]`;
- default:
- return '[***]';
- }
- }
- else if (this.data.extent) {
- return `[${this.data.extent}]`;
- }
- return '[***]';
- }
- get gapDescription$() {
- return this.translateService.get([this.data.unit, `${this.data.unit}s`, 'missingS', 'missingP', this.data.extent, this.data.reason])
- .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((translations) => {
- let desc = '';
- if (!!this.data.unit || !!this.data.quantity) {
- const unit = this.data.quantity > 1 ? translations[`${this.data.unit}s`] : translations[this.data.unit];
- const missing = this.data.quantity > 1 ? translations.missingP : translations.missingS;
- desc = this.data.quantity ? `${this.data.quantity} ${unit} ${missing}` : `${unit}`;
- }
- else if (this.data.extent) {
- desc = translations[this.data.extent];
- }
- desc += (this.data.reason ? ` (${translations[this.data.reason]})` : '').trim();
- return translations[this.data.extent] === desc ? '' : desc;
- }));
- }
- };
- 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(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");
- const _c0 = function () { return { icon: "times" }; };
- function PanelComponent_div_1_evt_button_6_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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) {
- const 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"]();
- } }
- const _c1 = [[["", "content", ""]], [["", "secondary-content", ""]], [["", "header-left", ""]], [["", "header-right", ""]], [["", "footer", ""]]];
- const _c2 = ["[content]", "[secondary-content]", "[header-left]", "[header-right]", "[footer]"];
- class PanelComponent {
- constructor() {
- this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.scrollContent = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- 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;
- }
- isSecondaryContentOpened() {
- return this.showSecondaryContent;
- }
- emitHide() {
- this.hide.emit(true);
- }
- onScroll(event) {
- event.preventDefault();
- this.scrollContent.emit(event);
- }
- }
- 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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iAgICAmOm5vdCguY29tcGFyYWJsZSkge1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICB9XG4gICAgd2hpdGUtc3BhY2U6IG5vcm1hbDtcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgICYuY29tcGFyYWJsZSB7XG4gICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICBoZWlnaHQ6IDEwMCU7XG4gICAgfVxuICAgIC5oZWFkZXIsXG4gICAgLmZvb3RlciB7XG4gICAgICAgIGhlaWdodDogJG1haW5Db250YWluZXItbWVudS1oZWlnaHQ7XG4gICAgICAgIG1pbi1oZWlnaHQ6ICRtYWluQ29udGFpbmVyLW1lbnUtaGVpZ2h0O1xuICAgICAgICBmb250LXNpemU6IDE2cHg7XG4gICAgICAgIHBhZGRpbmc6IDZweDtcbiAgICAgICAgLm5hdmJhciB7XG4gICAgICAgICAgICBwYWRkaW5nOiAwO1xuICAgICAgICB9XG4gICAgfVxuICAgIC5mb290ZXIge1xuICAgICAgICBwYWRkaW5nOiAzcHggNnB4IDZweDtcbiAgICB9XG4gICAgLmNvbnRlbnQge1xuICAgICAgICBAaW5jbHVkZSBjYWxjKG1pbi1oZWlnaHQsICN7c2V0SW5zaWRlRnJhbWVIZWlnaHQoJG1haW5Db250YWluZXItdG9wLW1lbnUsICRtYWluQ29udGFpbmVyLWJvdHRvbS1tZW51KX0pO1xuICAgICAgICBAaW5jbHVkZSBjYWxjKGhlaWdodCwgI3tzZXRJbnNpZGVGcmFtZUhlaWdodCgkbWFpbkNvbnRhaW5lci10b3AtbWVudSwgJG1haW5Db250YWluZXItYm90dG9tLW1lbnUpfSk7XG4gICAgICAgICYubm9IZWFkZXIge1xuICAgICAgICAgICAgQGluY2x1ZGUgY2FsYyhtaW4taGVpZ2h0LCAje3NldEluc2lkZUZyYW1lSGVpZ2h0KGZhbHNlLCAkbWFpbkNvbnRhaW5lci1ib3R0b20tbWVudSl9KTtcbiA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GMobWluLWhlaWdodCwgI3tjYWxjKCN7c2V0SW5zaWRlRnJhbWVIZWlnaHQoJG1haW5Db250YWluZXItdG9wLW1lbnUsIGZhbHNlKX0gLSAjeygkbWFpbkNvbnRhaW5lci1ib3JkZXItd2lkdGgqMil9KX0pO1xuICAgICAgICAgICAgQGluY2x1ZGUgY2FsYyhoZWlnaHQsICN7Y2FsYygje3NldEluc2lkZUZyYW1lSGVpZ2h0KCRtYWluQ29udGFpbmVyLXRvcC1tZW51LCBmYWxzZSl9IC0gI3soJG1haW5Db250YWluZXItYm9yZGVyLXdpZHRoKjIpfSl9KTtcbiAgICAgICAgfVxuICAgICAgICAmLm9wZW4ge1xuICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgIH1cbiAgICAgICAgOm5nLWRlZXAgcCB7XG4gICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICB9XG4gICAgfVxuICAgIFxuICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykge1xuICAgICAgICBjb2xvcjogdGhlbWVkKCdwYW5lbFRleHRDb2xvcicpO1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0aGVtZWQoJ3BhbmVsQmFja2dyb3VuZENvbG9yJyk7XG4gICAgICAgIC5oZWFkZXIsXG4gICAgICAgIC5mb290ZXIge1xuICAgICAgICAgICAgY29sb3I6IHRoZW1lZCgnYmFzZUNvbG9yTGlnaHQnKTtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRoZW1lZCgnYmFzZUNvbG9yRGFyaycpO1xuICAgICAgICB9XG4gICAgICAgIC5jb250ZW50IHtcbiAgICAgICAgICAgIGJvcmRlcjogJG1haW5Db250YWluZXItYm9yZGVyLXdpZHRoIHNvbGlkIHRoZW1lZCgnYmFzZUNvbG9yRGFyaycpO1xuICAgICAgICB9XG4gICAgICAgIC5zZWNvbmRhcnktY29udGVudCB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kO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QoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"] });
- /*@__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(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");
- class AnnotatorService {
- constructor() {
- this.textSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
- }
- selectedText() {
- this.textSelection$.next(window.getSelection());
- }
- }
- 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(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");
- class EditorialConventionsService {
- constructor() {
- 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',
- },
- },
- },
- };
- }
- getLayouts(name, attributes, defaultsKey) {
- var _a, _b;
- const defaultKeys = this.defaultLayouts[defaultsKey];
- let layouts = defaultKeys;
- const externalLayouts = (_b = (_a = this._getExternalConfigs().find(c => {
- return c.element === name &&
- (!attributes || Object.keys(attributes).concat(Object.keys(c.attributes)).every(k => 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(editionLevel => {
- layouts = Object.assign(Object.assign({}, defaultKeys || {}), { [editionLevel]: Object.assign(Object.assign({}, defaultKeys ? defaultKeys[editionLevel] : {}), externalLayouts[editionLevel]) });
- });
- }
- return layouts;
- }
- _getExternalConfigs() {
- const customs = _app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.editorialConventions;
- return Object.keys(customs).map((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 : {},
- });
- });
- }
- }
- 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(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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- let MsIdentifierComponent = class 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(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) {
- const 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) {
- const 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);
- } }
- let ExtentComponent = class 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(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");
- const _c0 = ["versionsPanel"];
- function TextVersionsComponent_gridster_8_gridster_item_1_Template(rf, ctx) { if (rf & 1) {
- const _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); const i_r4 = ctx.index; const 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) {
- const 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) {
- const 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());
- } }
- class TextVersionsComponent {
- constructor(evtStatusService) {
- 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"])(({ page }) => page.id));
- this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ editionLevels }) => editionLevels[0]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- get versionBtn() {
- return {
- label: this.versions.length > 0 ? '' : 'addVersion',
- title: this.versions.length > 0 ? 'addVersion' : '',
- additionalClasses: `btn-floating ${this.versions.length > 0 ? 'rounded-circle' : ''}`,
- icon: { iconSet: 'fas', icon: 'plus' },
- };
- }
- ngOnInit() {
- this.initGridster();
- this.initPageAndVersions();
- }
- changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- changeEditionLevel(editionLevel) {
- this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
- }
- getVersions() {
- return this.versions;
- }
- addVersion() {
- const 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?
- }
- removeVersion(index) {
- this.versions.splice(index, 1);
- this.updateGridsterOptions();
- }
- initPageAndVersions() {
- // TODO: subscribe to route params
- }
- 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),
- };
- }
- itemChange() {
- const updatedVerList = [];
- for (const verItem of this.versions) {
- const verIndex = verItem.itemConfig.x;
- updatedVerList[verIndex] = verItem.label;
- }
- // TODO: Use this list to update URL params
- console.log('TODO! Use this list to update URL params', updatedVerList);
- }
- 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();
- }
- 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();
- }
- }
- updateFixedColWidth() {
- const versionsPanelEl = this.versionsPanel.nativeElement;
- const fixedColWidth = versionsPanelEl.clientWidth * 0.416666666667;
- this.versionsOptions.fixedColWidth = this.versions.length > 2 ? fixedColWidth : undefined;
- this.changedOptions();
- }
- }
- 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) {
- let _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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2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W9uc1BhbmVsIGdyaWRzdGVyLWl0ZW0ge1xuICAgIGhlaWdodDogMTAwJSAhaW1wb3J0YW50O1xufVxuIl19 */"] });
- /*@__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(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) {
- const 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) {
- const 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) {
- const 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));
- } }
- let NamedEntityDetailComponent = class NamedEntityDetailComponent {
- constructor() {
- 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(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')) {
- const 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(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");
- class EntitiesSelectService {
- constructor() {
- this.updateSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
- this.selectedItems$ = this.updateSelection$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- getClassNameFromValue(value) {
- return value.toLowerCase().replace(/\s/g, '').replace(/(\[.*?\])/g, '');
- }
- getAttributesFromValue(value) {
- return (value.toLowerCase().replace(/\s/g, '').match(/(\[.*?\])/g) || [])
- .map(i => i.replace(/(\[|\]|\')/g, '').split('=')).map(i => ({ key: i[0], value: i[1] }));
- }
- matchClassAndAttributes(valueForCheck, attributesToCheck, classToCheck) {
- return valueForCheck.split(',')
- .some(v => this.matchClass(v, classToCheck) && this.matchAttributes(v, attributesToCheck));
- }
- matchClass(classForCheck, classToCheck) {
- return classToCheck === this.getClassNameFromValue(classForCheck);
- }
- matchAttributes(attributesForCheck, attributesToCheck) {
- return this.getAttributesFromValue(attributesForCheck).every(a => attributesToCheck[a.key] === a.value);
- }
- getHighlightColor(attributesToCheck, classNameToCheck, selectedItems) {
- const entitiesSelectItems = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.entitiesSelectItems
- .reduce((i, g) => i.concat(g.items), [])
- .reduce((x, y) => {
- const multiValues = [];
- y.value.split(',').forEach(t => {
- multiValues.push(Object.assign(Object.assign({}, y), { value: t }));
- });
- return x.concat(multiValues);
- }, []);
- let bestMatch;
- entitiesSelectItems.forEach(item => {
- let score = 0;
- score += this.matchClass(item.value, classNameToCheck) ? 1 : 0;
- const attributes = this.getAttributesFromValue(item.value);
- score += attributes.length && this.matchAttributes(item.value, attributesToCheck) ? 1 : 0;
- if (score > 0 && selectedItems) {
- score += selectedItems.find(i => i.value === item.value) ? 1 : 0;
- }
- if (score > 0 && (!bestMatch || bestMatch.score < score)) {
- bestMatch = Object.assign(Object.assign({}, item), { score });
- }
- });
- return bestMatch ? bestMatch.color : '';
- }
- }
- 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(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");
- class IperlemsSelectService {
- constructor() {
- this.updateIperlemsSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
- this.selectedIperlemsItems$ = this.updateIperlemsSelection$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- getClassNameFromValue(value) {
- return value.toLowerCase().replace(/\s/g, '').replace(/(\[.*?\])/g, '');
- }
- getAttributesFromValue(value) {
- return (value.toLowerCase().replace(/\s/g, '').match(/(\[.*?\])/g) || [])
- .map(i => i.replace(/(\[|\]|\')/g, '').split('=')).map(i => ({ key: i[0], value: i[1] }));
- }
- matchClassAndAttributes(valueForCheck, attributesToCheck, classToCheck) {
- return valueForCheck.split(',')
- .some(v => this.matchClass(v, classToCheck) && this.matchAttributes(v, attributesToCheck));
- }
- matchClass(classForCheck, classToCheck) {
- return classToCheck === this.getClassNameFromValue(classForCheck);
- }
- matchAttributes(attributesForCheck, attributesToCheck) {
- return this.getAttributesFromValue(attributesForCheck).every(a => attributesToCheck[a.key] === a.value);
- }
- getHighlightColor(attributesToCheck, classNameToCheck, selectedIperlemsItems) {
- const iperlemsSelectItems = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.iperlemsSelectItems
- .reduce((i, g) => i.concat(g.items), [])
- .reduce((x, y) => {
- const multiValues = [];
- y.value.split(',').forEach(t => {
- multiValues.push(Object.assign(Object.assign({}, y), { value: t }));
- });
- return x.concat(multiValues);
- }, []);
- let bestMatch;
- iperlemsSelectItems.forEach(item => {
- let score = 0;
- score += this.matchClass(item.value, classNameToCheck) ? 1 : 0;
- const attributes = this.getAttributesFromValue(item.value);
- score += attributes.length && this.matchAttributes(item.value, attributesToCheck) ? 1 : 0;
- if (score > 0 && selectedIperlemsItems) {
- score += selectedIperlemsItems.find(i => i.value === item.value) ? 1 : 0;
- }
- if (score > 0 && (!bestMatch || bestMatch.score < score)) {
- bestMatch = Object.assign(Object.assign({}, item), { score });
- }
- });
- return bestMatch ? bestMatch.color : '';
- }
- }
- 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(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) {
- const 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) {
- const 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) {
- const item_r7 = ctx.$implicit;
- const 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) {
- const 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"]();
- } }
- const _c0 = function () { return { icon: "external-link-alt", iconSet: "fas" }; };
- function LemmatizedEntityDetailComponent_ng_container_8_div_2_li_1_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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) {
- const 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) {
- const _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); const 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) {
- const 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) {
- const item_r19 = ctx.$implicit;
- const 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) {
- const 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';
- let LemmatizedEntityDetailComponent = class LemmatizedEntityDetailComponent {
- constructor() {
- 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' };
- }
- get linkLem() {
- var link = this.data.attributes.lemmaRef;
- return link;
- }
- openlinkLem() {
- if (this.linkLem) {
- window.open(this.linkLem);
- }
- }
- openlinkTLIO() {
- window.open('http://tlio.ovi.cnr.it/TLIO/');
- }
- };
- 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(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) {
- const 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, "");
- } }
- const _c0 = function (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) {
- const 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) {
- const 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");
- } }
- class IconComponent {
- 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;
- }
- }
- }
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2ljb24uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsZ0JBQWdCO0FBQWhCO0VBQ0ksd0JBQUE7RUFDQSw4Q0FBQTtFQUNBLDRRQUFBO0VBSUEsbUJBQUE7RUFDQSxrQkFBQTtFQUNBLG1CQUFBO0FBREo7QUFJQTs7RUFFSSwrRUFBQTtFQUNBLG1DQUFBO0VBQ0EsY0FBQTtFQUNBLGtCQUFBO0VBQ0EsbUJBQUE7RUFDQSxvQkFBQTtFQUNBLG9CQUFBO0VBQ0EsY0FBQTtFQUVBLHNDQUFBO0VBQ0EsbUNBQUE7RUFDQSxrQ0FBQTtBQUhKO0FBTUE7RUFDSSxZQUFBO0FBSEo7QUFNQTtFQUNJLFlBQUE7QUFISjtBQU1BO0VBQ0ksWUFBQTtBQUhKO0FBTUE7RUFDSSxZQUFBO0FBSEo7QUFNQTtFQUNJLFlBQUE7QUFISjtBQU1BO0VBQ0ksWUFBQTtBQUhKO0FBTUE7RUFDSSxZQUFBO0FBSEo7QUFNQTtFQUNJLFlBQUE7QUFISjtBQU1BO0VBQ0ksWUFBQTtBQUhKO0FBTUE7RUFDSSxZQUFBO0FBSEo7QUFNQTtFQUNJLFlBQUE7QUFISjtBQU1BO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nRlbnQ6IFwiXFxlOTM4XCI7XG59XG5cbi5ldnQtaWNvbi1mb250LXNpemUtcmVzZXQtYWx0OmJlZm9yZSB7XG4gICAgY29udGVudDogXCJcXGU5MzlcIjtcbn1cblxuLmV2dC1pY29uLWZvbnQtc2l6ZTpiZWZvcmUge1xuICAgIGNvbnRlbnQ6IFwiXFxlOTNhXCI7XG59XG5cbi5ldnQtaWNvbi10aHVtYm5haWxzOmJlZm9yZSB7XG4gICAgY29udGVudDogXCJcXGU5M2JcIjtcbn0iXX0= */"] });
- /*@__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(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");
- class NamedEntitiesParserService {
- constructor() {
- this.tagNamesMap = _named_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["namedEntitiesListsTagNamesMap"];
- }
- parseLists(document) {
- const listsToParse = Object(_named_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["getListsToParseTagNames"])();
- const listParser = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-named-entities-list-parser');
- // We consider only first level lists; inset lists will be considered
- const lists = Array.from(document.querySelectorAll(listsToParse.toString()))
- .filter((list) => !Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(list, list.tagName))
- .map((l) => listParser.parse(l));
- return {
- lists,
- entities: lists.map(({ content }) => content).reduce((a, b) => a.concat(b), []),
- relations: lists.map(({ relations }) => relations).reduce((a, b) => a.concat(b), []),
- };
- }
- getResultsByType(lists, entities, type) {
- return {
- lists: lists.filter(list => type.indexOf(list.namedEntityType) >= 0),
- entities: entities.filter(entity => type.indexOf(entity.namedEntityType) >= 0),
- };
- }
- parseNamedEntitiesOccurrences(pages) {
- return pages.map(p => this.getNamedEntitiesOccurrencesInPage(p))
- .reduce((x, y) => {
- Object.keys(y).forEach(k => {
- if (x[k]) {
- x[k] = x[k].concat([y[k]]);
- }
- else {
- x[k] = [y[k]];
- }
- });
- return x;
- }, {});
- }
- getNamedEntitiesOccurrencesInPage(p) {
- return p.originalContent
- .filter(e => e.nodeType === 1)
- .map(e => {
- const occurrences = [];
- if (this.tagNamesMap.occurrences.indexOf(e.tagName) >= 0 && e.getAttribute('ref')) { // Handle first level page contents
- occurrences.push(this.parseNamedEntityOccurrence(e));
- }
- return occurrences.concat(Array.from(e.querySelectorAll(this.tagNamesMap.occurrences))
- .map(el => this.parseNamedEntityOccurrence(el)));
- })
- .filter(e => e.length > 0)
- .reduce((x, y) => x.concat(y), [])
- .reduce((x, y) => {
- const refsByDoc = x[y.ref] ? x[y.ref].refsByDoc || [] : [];
- const docRefs = refsByDoc.find(r => 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), { [y.ref]: {
- pageId: p.id,
- pageLabel: p.label,
- refsByDoc,
- } });
- }, {});
- }
- parseNamedEntityOccurrence(xml) {
- const doc = xml.closest('text');
- const 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') : '',
- };
- }
- }
- 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(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);
- } }
- const _c0 = function (a1) { return { label: "projectDesc", items: a1, class: "projectDesc" }; };
- const _c1 = function (a1) { return { label: "samplingDecl", items: a1, class: "samplingDecl" }; };
- const _c2 = function (a1) { return { label: "editorialDecl", items: a1, class: "editorialDecl" }; };
- const _c3 = function (a1) { return { label: "tagsDecl", items: a1, class: "tagsDecl" }; };
- const _c4 = function (a1) { return { label: "refsDecl", items: a1, class: "refsDecl" }; };
- const _c5 = function (a1) { return { label: "classDecl", items: a1, class: "classDecl" }; };
- const _c6 = function (a1) { return { label: "geoDecl", items: a1, class: "geoDecl" }; };
- const _c7 = function (a1) { return { label: "unitDecl", items: a1, class: "unitDecl" }; };
- const _c8 = function (a1) { return { label: "schemaSpec", items: a1, class: "schemaSpec" }; };
- const _c9 = function (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) {
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const ctx_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const label_r16 = ctx_r24.label;
- const class_r18 = ctx_r24.class;
- const 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) {
- const items_r17 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r17 == null ? null : items_r17.length) > 0);
- } }
- let EncodingDescComponent = class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2VuY29kaW5nLWRlc2MuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUMyRkUsOEJBQUE7RUFDQSxrQkFBQTtFQUNBLHdCQUFBO0VBQ0EsV0FBQTtFQUNBLGlCQUFBO0VBQ0EsY0FBQTtFQUNBLGdCQUFBO0VBQ0EsZ0JBQUE7QUQzRkYiLCJmaWxlIjoiZW5jb2RpbmctZGVzYy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnNcIjt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cbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
- 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(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;
- let ChoiceParser = ChoiceParser_1 = class ChoiceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
- }
- parse(xml) {
- const attributes = this.attributeParser.parse(xml);
- const choiceComponent = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Choice"],
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
- attributes,
- editorialInterventionType: this.getEditorialInterventionType(xml),
- originalContent: this.getOriginalContent(xml),
- normalizedContent: this.getNormalizedContent(xml),
- };
- return choiceComponent;
- }
- getEditorialInterventionType(xml) {
- const sicCorEls = Array.from(xml.querySelectorAll('sic, corr'))
- .filter(el => el.parentElement === xml);
- if (sicCorEls.length > 0) {
- return 'emendation';
- }
- const origRegEls = Array.from(xml.querySelectorAll('orig, reg, abbr, expan'))
- .filter(el => el.parentElement === xml);
- if (origRegEls.length > 0) {
- return 'normalization';
- }
- return '';
- }
- getOriginalContent(xml) {
- return Array.from(xml.querySelectorAll('orig, sic, abbr'))
- .filter(el => el.parentElement === xml)
- .map(el => this.genericParse(el));
- }
- getNormalizedContent(xml) {
- return Array.from(xml.querySelectorAll('reg, corr, expan'))
- .filter(el => el.parentElement === xml)
- .map(el => this.genericParse(el));
- }
- };
- 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(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");
- class LinesVersesParserService {
- parseLines(document) {
- // Significant verses are those with at least @n or @xml:id attribute
- return Array.from(document.querySelectorAll('lb'))
- .filter(el => el.getAttribute('n') || el.getAttribute('xml:id'))
- .map((l) => this.parseLine(l));
- }
- 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);
- }
- parseVerses(document) {
- return Array.from(document.querySelectorAll('l'))
- .map((v) => this.parseLine(v));
- }
- 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);
- }
- }
- 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(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");
- class ImageTextComponent {
- constructor(evtStatusService, evtModelService) {
- 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"])((surface) => this.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"])(({ page }) => page.id));
- this.currentEditionLevel$ = this.evtStatusService.currentStatus$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ editionLevels }) => editionLevels[0]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- getImageViewerType(editionImages, surface) {
- for (const key of Object.keys(editionImages)) {
- if (editionImages[key].enabled) {
- return _models_evt_polymorphic_models__WEBPACK_IMPORTED_MODULE_4__["ViewerSource"].getDataType(key, surface);
- }
- }
- const xmlImages = [];
- this.evtModelService.pages$.pipe().subscribe((pages) => pages.map(page => xmlImages.push({ url: page.facsUrl })));
- return { type: 'default', value: { xmlImages } };
- }
- ngOnInit() {
- this.initGridster();
- }
- changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- changeEditionLevel(editionLevel) {
- this.evtStatusService.updateEditionLevels$.next([editionLevel === null || editionLevel === void 0 ? void 0 : editionLevel.id]);
- }
- 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,
- },
- };
- }
- }
- 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(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) {
- const item_r2 = ctx.item;
- const 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) {
- const item_r3 = ctx.item;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](1, 1, item_r3.label), " ");
- } }
- class EditionLevelSelectorComponent {
- constructor() {
- this.editionLevels = (_app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.availableEditionLevels || []).filter((el) => !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"])(([edLevels, edLevelID]) => !!edLevelID && !!edLevels && edLevels.length > 0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([edLevels, edLevelID]) => !!edLevelID ? edLevels.find(p => p.id === edLevelID) || edLevels[0] : edLevels[0]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(e => !!e));
- this.icon = {
- icon: 'layer-group',
- additionalClasses: 'mr-2',
- };
- }
- set editionLevelID(p) {
- this._edLevelID = p;
- this.selectedEditionLevel$.next(this._edLevelID);
- }
- get editionLevelID() { return this._edLevelID; }
- }
- 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(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) {
- const _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); const 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) {
- const 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) {
- const item_r6 = ctx.item;
- const item$_r7 = ctx.item$;
- const index_r8 = ctx.index;
- const 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) {
- const _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); const item_r15 = ctx.$implicit; const clear_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).clear; return clear_r11(item_r15); });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\u00D7");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- } if (rf & 2) {
- const item_r15 = ctx.$implicit;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const _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); const 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); const 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) {
- const 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);
- } }
- class LemsSelectComponent {
- constructor() {
- this.selectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.lemsTypes = (_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.lemsSelectItems || [])
- .filter(g => !g.disabled)
- .reduce((x, y) => [...x, ...y.items.filter(i => !i.disabled).map(i => (Object.assign(Object.assign({}, i), { group: y.label })))], []);
- this.iconColor = {
- icon: 'circle',
- iconSet: 'fas',
- additionalClasses: 'ml-2 mr-1',
- };
- this.selectedLemTypes = [];
- }
- 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 || [])
- }
- }
- 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])
- }
- }
- 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(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");
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ndcDynamicComponent", ctx_r5.footerComponent);
- } }
- const _c1 = [[["", "title", ""]], [["", "body", ""]], [["", "footer", ""]]];
- const _c2 = ["[title]", "[body]", "[footer]"];
- class ModalComponent {
- constructor(modalId, title, bodyContentClass, themes, modalService) {
- 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"]();
- }
- get dataTheme() { return this.themes.getCurrentTheme().value; }
- 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;
- }
- clickout(event) {
- const modal = this.modalDialog.nativeElement;
- const internalClick = event.path.find((o) => {
- return o.className && o.className.indexOf && o.className.indexOf(modal.className) >= 0;
- });
- if (this.closeOnShadow && !internalClick) {
- this.closeDialog();
- }
- }
- handleEscape() {
- if (this.closeOnEsc) {
- this.closeDialog();
- }
- }
- closeDialog() {
- this.hide.emit(this.modalId);
- this.modalService.close(this.modalId);
- }
- }
- 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) {
- let _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, "\u00D7");
- _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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uLy4uL21vZGFsLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJCQTtFQUNJLHlCQUFBO0VBQ0Esd0JBQUE7QUMxQko7O0FBQ0E7RUFDRSxjQUFBO0VBQ0EsZUFBQTtFQUNBLGVBQUE7QUFFRjs7QUFBRTtFQUNFLFdBQUE7RUFDQSxnQkFBQTtFQUNBLFVBQUE7RUFDQSxTQUFBO0FBRUo7O0FDMEVRO0VEeEVKLGlDQUFBO0FBQ0o7O0FBQ0k7RUFDRSxjQUFBO0VBQ0EsbUJBQUE7QUFDTjs7QUFFSTtFQUNFLGNBQUE7QUFBTjs7QUFHSTtFQUNFLG1CQUFBO0VBQ0EsY0FBQTtBQUROOztBQzREUTtFRHhFSixpQ0FBQTtBQWVKOztBQWJJO0VBQ0UsV0FBQTtFQUNBLG1CQUFBO0FBZ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FnbG9iYWw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBAY29udGVudDtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6IG51bGwgIWdsb2JhbDtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQGZ1bmN0aW9uIHRoZW1lZCgka2V5KSB7XG4gICAgQHJldHVybiBtYXAtZ2V0KCR0aGVtZS1tYXAsICRrZXkpO1xufVxuXG4iXX0= */"] });
- /*@__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(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) {
- const element_r1 = ctx.$implicit;
- const 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);
- } }
- let ReadingComponent = class ReadingComponent extends _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);
- const ɵ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(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) {
- const el_r1 = ctx.$implicit;
- const 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);
- } }
- let GenericElementComponent = class 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(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");
- class AnnotatorDirective {
- constructor(annotator) {
- this.annotator = annotator;
- }
- onMouseup() {
- this.annotator.selectedText();
- }
- }
- 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(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");
- const _c0 = ["mainSpinner"];
- const _c1 = function (a0) { return { opened: a0 }; };
- function AppComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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) {
- const 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$)));
- } }
- const _c2 = function (a0) { return { "has-navbar": a0 }; };
- class AppComponent {
- constructor(router, spinner, shortcutsService, themes) {
- 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"])((opened) => opened ? { icon: 'caret-down', iconSet: 'fas' } : { icon: 'caret-up', iconSet: 'fas' }));
- this.router.events.subscribe((event) => {
- switch (true) {
- case event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["NavigationStart"]:
- this.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"]:
- this.spinner.hide();
- break;
- default:
- break;
- }
- });
- }
- get dataTheme() { return this.themes.getCurrentTheme().value; }
- toggleToolbar() {
- this.navbarOpened$.next(!this.navbarOpened$.getValue());
- window.dispatchEvent(new Event('resize')); // Needed to tell Gridster to resize
- }
- ngOnDestroy() {
- this.subscriptions.forEach(subscription => subscription.unsubscribe());
- }
- keyEvent(e) {
- this.shortcutsService.handleKeyboardEvent(e);
- }
- }
- 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) {
- let _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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uL2FwcC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyIsIi4uLy4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kge1xuICAgIC8vICBAaW5jbHVkZSB0aGVtaWZ5U2VsZigkdGhlbWVzKSB7XG4gICAgICAgIC8vICBjb2xvcjogdGhlbWVkKCdiYXNlQ29sb3JEYXJrJyk7XG4gICAgLy8gIH1cbi8vICB9XG4vLyBgYGBcbkBtaXhpbiB0aGVtaWZ5U2VsZigkdGhlbWVzOiAkdGhlbWVzKSB7XG4gICAgQGVhY2ggJHRoZW1lLCAkbWFwIGluICR0aGVtZXMge1xuICAgICAgICAgJltkYXRhLXRoZW1lPVwiI3skdGhlbWV9XCJdIHtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6ICgpICFnbG9iYWw7XG4gICAgICAgICAgICBAZWFjaCAka2V5LCAkc3VibWFwIGluICRtYXAge1xuICAgICAgICAgICAgICAgICR2YWx1ZTogbWFwLWdldChtYXAtZ2V0KCR0aGVtZXMsICR0aGVtZSksICcjeyRrZXl9Jyk7XG4gICAgICAgICAgICAgICAgJHRoZW1lLW1hcDogbWFwLW1lcmdlKCR0aGVtZS1tYXAsICgka2V5OiAkdmFsdWUpKSAhZ2xvYmFsO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgQGNvbnRlbnQ7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiBudWxsICFnbG9iYWw7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBmdW5jdGlvbiB0aGVtZWQoJGtleSkge1xuICAgIEByZXR1cm4gbWFwLWdldCgkdGhlbWUtbWFwLCAka2V5KTtcbn1cblxuIl19 */"] });
- /*@__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(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");
- class ParserRegister {
- // tslint:disable-next-line: no-any
- static set(tagName, parserType) {
- ParserRegister.PARSER_MAP[tagName.toLowerCase()] = parserType;
- }
- static get(tagName) {
- const name = ParserRegister.mapName(tagName.toLowerCase());
- return Object(_parser_models__WEBPACK_IMPORTED_MODULE_0__["createParser"])(ParserRegister.PARSER_MAP[name], parse);
- }
- static mapName(tagName) {
- const nes = ['event', 'geogname', 'orgname', 'persname', 'placename'];
- if (nes.includes(tagName)) {
- return 'evt-named-entity-parser';
- }
- const nels = ['listPerson', 'listPlace', 'listOrg', 'listEvent'];
- if (nels.includes(tagName)) {
- return 'evt-named-entities-list-parser';
- }
- const 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';
- } */
- const neslem = ['w', 'lem'];
- if (neslem.includes(tagName)) {
- return 'evt-lemmatized-entity-parser';
- }
- const 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;
- }
- }
- // 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 (_) => {
- 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 {};
- }
- const tagName = xml.tagName.toLowerCase();
- const parser = ParserRegister.get(tagName);
- return parser.parse(xml);
- }
- /***/ }),
- /***/ "UhR9":
- /*!********************************************!*\
- !*** ./src/app/pipes/xml-beautify.pipe.ts ***!
- \********************************************/
- /*! exports provided: XmlBeautifyPipe */
- /***/ (function(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");
- class XmlBeautifyPipe {
- transform(value) {
- return vkbeautify__WEBPACK_IMPORTED_MODULE_1__["xml"](Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_2__["replaceMultispaces"])('\n' + value));
- }
- }
- 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(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) {
- const 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) {
- const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("iconInfo", ctx_r1.iconRight);
- } }
- const _c0 = [[["", "label-left", ""]]];
- const _c1 = function (a0, a1, a2, a3, a4, a5) { return { "btn-light": a0, "btn-inverted": a1, "btn-hovered": a2, "shadow-sm": a3, transparent: a4, active: a5 }; };
- const _c2 = ["[label-left]"];
- class ButtonComponent {
- constructor(cdRef) {
- this.cdRef = cdRef;
- this.btnClick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- 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 || '') });
- }
- }
- ngOnChanges(changes) {
- if (changes && changes.active) {
- this.active = changes.active.currentValue;
- this.cdRef.detectChanges();
- }
- }
- clickButton(event) {
- if (!this.disabled) {
- if (this.toggler) {
- this.active = !this.active;
- }
- this.btnClick.emit({ event, active: this.active });
- }
- }
- }
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2J1dHRvbi5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQTtFQUNJLGFBQUE7RUFDQSxZQUFBO0FBRko7QUFJSTtFQUNJLGVBQUE7QUFGUjtBQUtJO0VBQ0ksWUFBQTtBQUhSO0FBTUk7RUFDSSxnQkFBQTtBQUpSO0FDNkVRO0VEckVBLGNBQUE7RUFDQSx5QkFBQTtFQUNBLHFCQUFBO0FBTFI7QUN3RVE7RURyRUEsV0FBQTtFQUNBLHNCQUFBO0VBQ0Esa0JBQUE7QUFBUjtBQ21FUTtFRHJFQSxjQUFBO0VBQ0EseUJB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IpO1xuICAgIH1cblxuICAgICYuYWN0aXZlIHtcbiAgICAgICAgQGluY2x1ZGUgdGhlbWlmeSgkdGhlbWVzKSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kOiB0aGVtZWQoXCJ0b29sc0NvbG9yQWN0aXZlXCIpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi50cmFuc3BhcmVudCB7XG4gICAgICAgIGJhY2tncm91bmQ6IG5vbmUgIWltcG9ydGFudDtcbiAgICAgICAgYm9yZGVyLWNvbG9yOiB0cmFuc3BhcmVudCAhaW1wb3J0YW50O1xuXG4gICAgICAgICYuYWN0aXZlIHtcbiAgICAgICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykge1xuICAgICAgICAgICAgICAgIGNvbG9yOiB0aGVtZWQoXCJ0b29sc0NvbG9yQWN0aXZlXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgJi5idG4taW52ZXJ0ZWQge1xuICAgICAgICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDtcbiAgICAgICAgYm9yZGVyOiBub25lO1xuICAgICAgICBib3gtc2hhZG93OiBub25lO1xuXG4gICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykge1xuICAgICAgICAgICAgY29sb3I6IHRoZW1lZChcInRvb2xzQmFja2dyb3VuZFwiKTtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRoZW1lZChcInRvb2xzQ29sb3JcIik7XG4gICAgICAgICAgICBib3JkZXItY29sb3I6IHRoZW1lZChcInRvb2xzQ29sb3JcIik7XG5cbiAgICAgICAgICAgICY6aG92ZXIsXG4gICAgICAgICAgICAmLmJ0bi1ob3ZlcmVkIHtcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kOiByZ2JhKHRoZW1lZChcInRvb2xzQmFja2dyb3VuZFwiKSwgMC4yKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH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ogYmxvY2s7XG4gIG1hcmdpbi10b3A6IDE0cHg7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"] });
- /*@__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(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) {
- const _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); const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return ctx_r4.updatePage($event); });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- } if (rf & 2) {
- const 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) {
- const 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$));
- } }
- class ImagePanelComponent {
- constructor(evtModelService, evtStatus) {
- 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"])(p => 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"])(([msDesc, currentId]) => !!msDesc && !!currentId), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([msDesc, currentId]) => msDesc.find(m => m.id === currentId)));
- this.msDescOpen = false;
- }
- set pageID(v) {
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe((pages) => this._pageNumber = pages.findIndex(page => page.id === v));
- }
- get pageNumber() { return this._pageNumber + 1; }
- updatePage(viewerPage) {
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["take"])(1)).subscribe((pages) => this.evtStatus.updatePage$.next(pages[viewerPage - 1]));
- }
- setMsDescOpen(isOpen) {
- this.msDescOpen = isOpen;
- }
- setMsDescID(msDescId) {
- this.currentMsDescId$.next(msDescId);
- }
- }
- 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(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) {
- const _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); const item_r5 = ctx.$implicit; const clear_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().clear; return clear_r2(item_r5); });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "\u00D7");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- } if (rf & 2) {
- const 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) {
- const 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) {
- const 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);
- } }
- class PinboardPanelComponent {
- constructor(pinboard) {
- 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"])(items => {
- const types = [];
- items.forEach(item => {
- const pinType = item.pinType;
- if (pinType && !types.find(i => i.id === item.pinType)) {
- types.push({ id: pinType, label: pinType });
- }
- });
- return types;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(types => {
- if (this.selectedPinTypes && this.selectedPinTypes.length > 0) {
- this.selectedPinTypes = [...this.selectedPinTypes.filter(type => types.find(i => i.id === type))];
- }
- }));
- }
- emitHide() {
- this.hide.emit();
- }
- }
- 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(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) {
- const 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) {
- const 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) {
- const 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);
- } }
- const _c0 = function () { return { icon: "trash-alt" }; };
- function PinboardComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
- const _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); const item_r6 = ctx.$implicit; const 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) {
- const 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) {
- const 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) {
- const itemsPinned_r3 = ctx.ngIf;
- const 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");
- } }
- class PinboardComponent {
- constructor(pinboard) {
- this.pinboard = pinboard;
- }
- ngOnInit() {
- this.initPins();
- }
- ngOnChanges(changes) {
- if (changes.types.currentValue !== changes.types.previousValue) {
- this.initPins();
- }
- }
- removePinnedItem(item) {
- this.pinboard.toggleItem(item);
- }
- initPins() {
- this.itemsPinned$ = this.pinboard.getItems(this.types);
- }
- }
- 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) {
- const _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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3BpbmJvYXJkLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0Usa0JBQUE7RUFDQSxxQkFBQTtFQUNBLGtDQUFBO0VBQ0Esc0JBQUE7QUFDRjtBQUNFO0VBQ0UsZ0JBQUE7QUFDSjtBQUNJO0VBQ0Usd0JBQUE7QUFDTjtBQUVJOztFQUVFLGlCQUFBO0VBQ0EsV0FBQTtBQUFOO0FBR0k7RUFDRSxZQUFBO0VBQ0Esa0JBQUE7RUFDQSxNQUFBO0VBQ0EsUUFBQTtFQUNBLFdBQUE7QUFETjtBQUdNO0VBQ0UsOEJBQUE7QUFEUjtBQVFFO0VBQ0Usd0JBQUE7QUFMSiIsImZpbGUiOiJwaW5ib2FyZC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5waW5uZWRJdGVtIHtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBtYXJnaW4tYm90dG9tOiAwLjVyZW07XG4gIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCBsaWdodGdyYXk7XG4gIHBhZGRpbmctYm90dG9tOiAuNXJlbTtcblxuICAmLWhlYWRlciB7XG4gICAgbWluLWhlaWdodDogMzFweDtcblxuICAgIC5waW4tdHlwZSB7XG4gICAgICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gICAgfVxuXG4gICAgLnBpbi10eXBlLFxuICAgIC5waW4tZGF0ZSB7XG4gICAgICBmb250LXNpemU6IC43cmVtO1xuICAgICAgY29sb3I6IGdyZXk7XG4gICAgfVxuXG4gICAgLnBpbi1yZW1vdmVyIHtcbiAgICAgIGZsb2F0OiByaWdodDtcbiAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgIHRvcDogMDtcbiAgICAgIHJpZ2h0OiAwO1xuICAgICAgei1pbmRleDogOTk7XG5cbiAgICAgICY6aG92ZXIge1xuICAgICAgICBiYWNrZ3JvdW5kOiByZ2JhKDAsIDAsIDAsIC4xKTtcbiAgICAgIH1cbiAgICB9XG4gIH1cbn1cblxuOmhvc3QgOjpuZy1kZWVwIC5waW5uZWRJdGVtcy1jb250YWluZXIge1xuICBldnQtcGlubmVyIHtcbiAgICBkaXNwbGF5OiBub25lICFpbXBvcnRhbnQ7XG4gIH1cbn0iXX0= */"] });
- /*@__PURE__*/ (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(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");
- class HumanizePipe {
- 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;
- }
- }
- 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(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) {
- const 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"]();
- const _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"]();
- const _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);
- } }
- const _c0 = [[["", "content", ""]]];
- const _c1 = ["[content]"];
- class 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(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");
- class FacsimileParserService {
- constructor() {
- 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"]);
- }
- parseSurfaces(xml) {
- if (!xml) {
- return [];
- }
- return Array.from(xml.querySelectorAll('surface')).map(s => this.surfaceParser.parse(s));
- }
- parseZones(xml) {
- if (!xml) {
- return [];
- }
- return Array.from(xml.querySelectorAll('zone')).map(z => this.zoneParser.parse(z));
- }
- }
- 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(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');
- }
- class 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(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) {
- const 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);
- } }
- const _c0 = function (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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const witID_r12 = ctx.$implicit;
- const 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) {
- const 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);
- } }
- let LemEntryReadingsComponent = LemEntryReadingsComponent_1 = class LemEntryReadingsComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.groups$ = this.evtModelService.groups$;
- }
- get significantRdg() {
- return this.data.readings.filter((rdg) => rdg.significant);
- }
- getWits$(witID) {
- return this.groups$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((groups) => {
- return groups.filter((g) => g.id === witID).map((g) => g.witnesses).reduce((x, y) => ([...x, ...y]), []);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((groupWits) => groupWits.length > 0 ? groupWits : [witID]));
- }
- };
- 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(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) {
- const _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); const 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) {
- const 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) {
- const item_r6 = ctx.item;
- const item$_r7 = ctx.item$;
- const index_r8 = ctx.index;
- const 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) {
- const _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); const item_r15 = ctx.$implicit; const clear_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).clear; return clear_r11(item_r15); });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\u00D7");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- } if (rf & 2) {
- const item_r15 = ctx.$implicit;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const _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); const 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); const 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) {
- const 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);
- } }
- class IperlemsSelectComponent {
- constructor() {
- this.selectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.iperlemsTypes = (_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.iperlemsSelectItems || [])
- .filter(g => !g.disabled)
- .reduce((x, y) => [...x, ...y.items.filter(i => !i.disabled).map(i => (Object.assign(Object.assign({}, i), { group: y.label })))], []);
- this.iconColor = {
- icon: 'circle',
- iconSet: 'fas',
- additionalClasses: 'ml-2 mr-1',
- };
- this.selectedIperlemTypes = [];
- }
- 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 || [])
- }
- }
- 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])
- }
- }
- 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(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) {
- const 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) { }
- const _c0 = function (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) {
- const part_r8 = ctx.$implicit;
- const last_r9 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const part_r11 = ctx.$implicit;
- const last_r12 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const part_r14 = ctx.$implicit;
- const last_r15 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const _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); const part_r19 = ctx.part; const 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) {
- const part_r19 = ctx.part;
- const 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 ? ", " : ""));
- } }
- const _c1 = function (a0, a1) { return { "p-3": a0, "border-bottom": a1 }; };
- const _c2 = function () { return { icon: "network-wired", additionalClasses: "mr-2" }; };
- let LemmatizedEntityRelationComponent = class LemmatizedEntityRelationComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.activeParts$ = this.getEntities('activeParts');
- this.mutualParts$ = this.getEntities('mutualParts');
- this.passiveParts$ = this.getEntities('passiveParts');
- }
- toggleEntity(entity) {
- // TODO: if inEntity, then open entity in list
- if (!this.inEntity) {
- if (this.selectedEntity === entity) {
- this.selectedEntity = undefined;
- }
- else {
- this.selectedEntity = entity;
- }
- }
- }
- getEntities(partIdsGroup) {
- return this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => this.data[partIdsGroup].map(entityId => {
- const entity = ne.all.lementities.find(e => e.id === entityId);
- return {
- id: entityId,
- entity,
- get label() {
- return (entity ? entity.label : entityId);
- },
- };
- })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(neslem => neslem.filter(e => !!e)));
- }
- };
- 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[_ngc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ZvbnQtdmFyaWFudDogc21hbGwtY2Fwcztcbn1cblxuLnJlbGF0aW9uLWRlc2NyaXB0aW9uIHtcbiAgICBmb250LXNpemU6IDkwJTtcbn0iXX0= */"] });
- 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(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, prefix = '') { 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(child => parseFn(child));
- }
- function getDefaultN(n) { return n || ''; }
- function getDefaultAttr(attr) { return attr || ''; }
- function unhandledElement(xml, name, parseFn) {
- return Array.from(xml.querySelectorAll(`:scope > ${name}`)).map(e => parseChildren(e, parseFn));
- }
- function complexElements(nodes, excludeEmptyText) {
- const interestingNodes = Array.from(nodes).filter((n) => n.nodeType !== 8);
- return excludeEmptyText ? interestingNodes.filter((n) => n.nodeType !== 3 || n.textContent.trim()) : interestingNodes;
- }
- /***/ }),
- /***/ "Z5dB":
- /*!*************************************************!*\
- !*** ./src/app/services/lems-select.service.ts ***!
- \*************************************************/
- /*! exports provided: LemsSelectService */
- /***/ (function(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");
- class LemsSelectService {
- constructor() {
- this.updateLemsSelection$ = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
- this.selectedLemsItems$ = this.updateLemsSelection$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- getClassNameFromValue(value) {
- return value.toLowerCase().replace(/\s/g, '').replace(/(\[.*?\])/g, '');
- }
- getAttributesFromValue(value) {
- return (value.toLowerCase().replace(/\s/g, '').match(/(\[.*?\])/g) || [])
- .map(i => i.replace(/(\[|\]|\')/g, '').split('=')).map(i => ({ key: i[0], value: i[1] }));
- }
- matchClassAndAttributes(valueForCheck, attributesToCheck, classToCheck) {
- return valueForCheck.split(',')
- .some(v => this.matchClass(v, classToCheck) && this.matchAttributes(v, attributesToCheck));
- }
- matchClass(classForCheck, classToCheck) {
- return classToCheck === this.getClassNameFromValue(classForCheck);
- }
- matchAttributes(attributesForCheck, attributesToCheck) {
- return this.getAttributesFromValue(attributesForCheck).every(a => attributesToCheck[a.key] === a.value);
- }
- getHighlightColor(attributesToCheck, classNameToCheck, selectedLemsItems) {
- const lemsSelectItems = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.lemsSelectItems
- .reduce((i, g) => i.concat(g.items), [])
- .reduce((x, y) => {
- const multiValues = [];
- y.value.split(',').forEach(t => {
- multiValues.push(Object.assign(Object.assign({}, y), { value: t }));
- });
- return x.concat(multiValues);
- }, []);
- let bestMatch;
- lemsSelectItems.forEach(item => {
- let score = 0;
- score += this.matchClass(item.value, classNameToCheck) ? 1 : 0;
- const attributes = this.getAttributesFromValue(item.value);
- score += attributes.length && this.matchAttributes(item.value, attributesToCheck) ? 1 : 0;
- if (score > 0 && selectedLemsItems) {
- score += selectedLemsItems.find(i => i.value === item.value) ? 1 : 0;
- }
- if (score > 0 && (!bestMatch || bestMatch.score < score)) {
- bestMatch = Object.assign(Object.assign({}, item), { score });
- }
- });
- return bestMatch ? bestMatch.color : '';
- }
- }
- 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(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
- const routes = [];
- function initializeApp(appConfig) {
- return () => appConfig.load();
- }
- class AppModule {
- constructor(library) {
- 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(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");
- class 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(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;
- const lemmatizedEntitiesListsTagNamesMap = {
- lemmas: 'list',
- occurrences: 'w[ref], lem[ref]',
- };
- function getLemListType(tagName) {
- console.log(tagName);
- return tagName.toLowerCase();
- }
- function getLemListsToParseTagNames() {
- const neLemListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.lemmatizedEntitiesLists || {};
- return Object.keys(neLemListsConfig)
- .map((i) => neLemListsConfig[i].enabled ? lemmatizedEntitiesListsTagNamesMap[i] : undefined)
- .filter(ne => !!ne);
- }
- let LemmatizedEntitiesListParser = LemmatizedEntitiesListParser_1 = class LemmatizedEntitiesListParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.neLemListsConfig = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.lemmatizedEntitiesLists || {};
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
- }
- parse(xml) {
- const 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),
- };
- const relationParse = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RelationParser, this.genericParse);
- xml.childNodes.forEach((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(this.genericParse(child));
- break;
- case 'relation':
- if (this.neLemListsConfig.relations.enabled) {
- parsedLemList.relations.push(relationParse.parse(child));
- }
- break;
- case 'listrelation':
- if (this.neLemListsConfig.relations.enabled) {
- child.querySelectorAll('relation').forEach(r => parsedLemList.relations.push(relationParse.parse(r)));
- }
- break;
- default:
- if (getLemListsToParseTagNames().indexOf(child.tagName) >= 0) {
- const subListParser = ___WEBPACK_IMPORTED_MODULE_2__["ParserRegister"].get('evt-lemmatized-entities-list-parser');
- const 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(this.genericParse(child));
- }
- }
- }
- });
- parsedLemList.label = parsedLemList.label || xml.getAttribute('type') || `List of ${parsedLemList.lemmatizedEntityType}`;
- return parsedLemList;
- }
- };
- LemmatizedEntitiesListParser = LemmatizedEntitiesListParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('evt-lemmatized-entities-list-parser', LemmatizedEntitiesListParser_1)
- ], LemmatizedEntitiesListParser);
- let LemmatizedEntityRefParser = LemmatizedEntityRefParser_1 = class LemmatizedEntityRefParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["GenericElemParser"], this.genericParse);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
- }
- parse(xml) {
- const ref = xml.getAttribute('ref');
- if (!ref) {
- return this.elementParser.parse(xml);
- }
- const 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(),
- };
- }
- };
- 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
- class EntityParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- // TODO: try to refactor subclasses to use a function parameter to get labels
- this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeMapParser"], this.genericParse);
- }
- parse(xml) {
- const elId = xml.getAttribute('xml:id') || Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_4__["xpath"])(xml);
- const label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(xml.textContent) || 'No info';
- const 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,
- lemmatizedEntityType: this.getEntityType(xml.tagName),
- content: Array.from(xml.children).map((subchild) => this.parseEntityInfo(subchild)),
- attributes: this.attributeParsers.parse(xml),
- };
- return entity;
- }
- 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) : {},
- };
- }
- getEntityType(tagName) { return tagName.toLowerCase(); }
- }
- let ItemParser = ItemParser_1 = class ItemParser extends EntityParser {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { label: this.getLabel(xml) });
- }
- getLabel(xml) {
- const itemElement = xml.querySelector('item');
- const wElement = xml.querySelector('w');
- const lemElement = xml.querySelector('lem');
- let label;
- if (itemElement) {
- label = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(itemElement.textContent);
- }
- else if (wElement) {
- label = wElement ? `${Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(wElement.textContent)} ` : '';
- }
- else if (lemElement) {
- label = lemElement ? `${Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(lemElement.textContent)} ` : '';
- }
- return label;
- }
- };
- ItemParser = ItemParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('item', ItemParser_1)
- ], ItemParser);
- class EventParser extends EntityParser {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { label: textLabel('label', xml) });
- }
- getLabel(xml) {
- const eventLabelElement = xml.querySelector('label');
- return (eventLabelElement ? Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["replaceNewLines"])(eventLabelElement.textContent) : '') || 'No info';
- }
- }
- class EntityInfoParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
- }
- 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) : {},
- };
- }
- }
- class RelationParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParsers = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
- this.entityInfoParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(EntityInfoParser, this.genericParse);
- this.textParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["TextParser"], this.genericParse);
- }
- parse(xml) {
- const descriptionEls = xml.querySelectorAll('desc');
- const attributes = this.attributeParsers.parse(xml);
- const { name, type } = attributes;
- const active = xml.getAttribute('active') || ''; // TODO: make get attributes return '' as default?
- const mutual = xml.getAttribute('mutual') || '';
- const passive = xml.getAttribute('passive') || '';
- const relation = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_3__["Relation"],
- name,
- activeParts: active.replace(/#/g, '').split(' '),
- mutualParts: mutual.replace(/#/g, '').split(' '),
- passiveParts: passive.replace(/#/g, '').split(' '),
- relationType: type,
- attributes,
- content: Array.from(xml.children).map((subchild) => this.entityInfoParser.parse(subchild)),
- description: [],
- };
- if (descriptionEls && descriptionEls.length > 0) {
- descriptionEls.forEach((el) => relation.description.push(this.genericParse(el)));
- }
- else {
- relation.description = [this.textParser.parse(xml)];
- }
- const parentListEl = xml.parentElement.tagName === 'listRelation' ? xml.parentElement : undefined;
- if (parentListEl) {
- relation.relationType = `${(parentListEl.getAttribute('type') || '')} ${(relation.relationType || '')}`.trim();
- }
- return relation;
- }
- }
- function getLemEntityID(ref) { return ref ? ref.replace(/#/g, '') : ''; }
- function textLabel(elemName, xml) {
- const 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(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);
- } }
- const _c0 = function (a1) { return { label: "edition", items: a1, class: "edition" }; };
- const _c1 = function (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) {
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const label_r8 = ctx_r14.label;
- const class_r10 = ctx_r14.class;
- const 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) {
- const items_r9 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r9 == null ? null : items_r9.length) > 0);
- } }
- let EditionStmtComponent = class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2VkaXRpb24tc3RtdC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQzJGRSw4QkFBQTtFQUNBLGtCQUFBO0VBQ0Esd0JBQUE7RUFDQSxXQUFBO0VBQ0EsaUJBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxnQkFBQTtBRDNGRiIsImZpbGUiOiJlZGl0aW9uLXN0bXQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0ICcuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnMnO1xuXG4ubWFpbi1zZWN0aW9uLXRpdGxlIHtcbiAgICBAaW5jbHVkZSBoZWFkZXJTZWN0aW9uVGl0bGUoKVxufSIsIi8vIC8vLy8vLy8vLy8vLy8vLy8vLyAvL1xuLy8gR0xPQkFMIFNDU1MgTUlYSU5TIC8vXG4vLyAvLy8vLy8vLy8vLy8vLy8vLy8gLy9cblxuLy8gU2V0IGNhbGN1bGF0ZWQgcHJvcGVydHlcbkBtaXhpbiBjYWxjKCRwcm9wZXJ0eSwgJGV4cHJlc3Npb24sICRpbXBvcnRhbnQ6XCJcIikge1xuICAjeyRwcm9wZXJ0eX06IC1tb3otY2FsYygjeyRleHByZXNzaW9ufSkgI3skaW1wb3J0YW50fTtcbiAgI3skcHJvcGVydHl9OiAtby1jYWxjKCN7JGV4cHJlc3Npb259KSAjeyRpbXBvcnRhbnR9O1xuICAjeyRwcm9wZXJ0eX06IC13ZWJraXQtY2FsYygjeyRleHByZXNzaW9ufSkgI3skaW1wb3J0YW50f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3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICAgIGJvcmRlci1yaWdodC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcblxuICAgICY6bm90KDpmaXJzdC1jaGlsZCkge1xuICAgICAgYm9yZGVyLWxlZnQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgfVxuICB9XG5cbiAgJjpob3ZlciB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgfVxufVxuXG5cbkBtaXhpbiBoZWFkZXJTZWN0aW9uVGl0bGUoKSB7XG4gIGJvcmRlci1ib3R0b206IDFweCBkb3R0ZWQgIzY2NjtcbiAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gIGNvbG9yOiAjMDAwO1xuICBmb250LXNpemU6IDEuMnJlbTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1hcmdpbi10b3A6IDE0cHg7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"] });
- 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(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) {
- const 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) {
- const 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) {
- const 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"]();
- } }
- const _c0 = function (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) {
- const titles_r16 = ctx.$implicit;
- const i_r17 = ctx.index;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const part_r26 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", part_r26);
- } }
- let MsDescComponent = class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWRlc2MuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSxlQUFBO0FBQ0o7O0FBRUE7RUFDSSxnQkFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7RUFDQSxxQkFBQTtBQUNKOztBQUVBO0VBQ0k7SUFDSSxlQUFBO0VBQ047O0VBRUU7SUFDSSxlQUFBO0VBQ047QUFDRjs7QUFFQTtFQUNJO0lBQ0ksZ0JBQUE7RUFBTjs7RUFHRTtJQUNJLGdCQUFBO0VBQU47QUFDRjs7QUFHQTtFQUNJO0lBQ0ksZUFBQTtFQUROOztFQUlFO0lBQ0ksZUFBQTtFQUROO0FBQ0YiLCJmaWxlIjoibXMtZGVzYy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5mbGV4LWNvbnRhaW5lciB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICAgIGZsZXgtd3JhcDogd3JhcDtcbn1cblxuLmZsZXgtaXRlbS1sYWJlbCB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbn1cblxuLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgZmxleC1iYXNpczogMTAwJTtcbiAgICBtYXJnaW4tYm90dG9tOiAwLjdyZW07XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA1MDBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgfVxuICAgICAgXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA2NDBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMTAwJTtcbiAgICB9XG5cbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczoxMDAlXG4gICAgfVxuIH1cblxuQG1lZGlhIChtaW4td2lkdGg6IDEwMDBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgIH1cbiAgICAgIFxuICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgfVxufVxuXG5cblxuIl19 */"] });
- 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(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) {
- const element_r2 = ctx.$implicit;
- const 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) {
- const 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) {
- const 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) {
- const _r5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](4);
- const 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) {
- const 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);
- } }
- const _c0 = function (a0, a1, a2) { return { opened: a0, lemmaHighlight: a1, noDetails: a2 }; };
- const _c1 = function (a0, a1, a2) { return { opened: a0, iperlemmaHighlight: a1, noDetails: a2 }; };
- let LemmatizedEntityRefComponent = class LemmatizedEntityRefComponent {
- constructor(evtStatusService, evtModelService, lemsSelectService) {
- this.evtStatusService = evtStatusService;
- this.evtModelService = evtModelService;
- this.lemsSelectService = lemsSelectService;
- this.availableLemEntities$ = this.evtModelService.lemmatizedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => 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"])(ne => ne.all.lementities.find(e => e.id === this.data.entityLemId) || 'notFound'));
- this.highlighted$ = this.lemsSelectService.selectedLemsItems$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])(items => {
- if (this.data) {
- this.data.class = this.data.class || '';
- this.data.attributes = this.data.attributes || {};
- }
- return items;
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(items => items.some(i => i && this.data &&
- this.lemsSelectService.matchClassAndAttributes(i.value, this.data.attributes, this.data.class))));
- this.opened = false;
- }
- toggleLemEntityData(event) {
- event.stopPropagation();
- this.opened = !this.opened;
- }
- };
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXR5LXJlZi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLRTtFQUNFLGVBQUE7QUFKSjtBQUtJO0VBQ0UsZ0NBQUE7RUFDQSxnQkFBQTtFQUNBLGtCQUFBO0VBQ0EsMENBQUE7QUFITjtBQU1FO0VBQ0UsNkJBQUE7QUFKSjtBQVFBO0VBQ0kseUJBQUE7QUFMSjtBQXVDQTtFQUNFLGlCQUFBO0FBcENGO0FBdUNBO0VBQ0UsOEJBQUE7QUFwQ0Y7QUF1Q0E7RUFDRSw4QkFBQTtBQXBDRjtBQXVDQTtFQUNFLGtCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxtQkFBQTtFQUNBLGlCQUFBO0VBQ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S1jb2xvcihsZW1CYXNlKTtcbiAgfVxufVxuLm5vdC1mb3VuZC1tc2cge1xuICBmb250LXNpemU6IC45cmVtO1xufVxuXG4ubGVtbWFIaWdobGlnaHQge1xuICBiYWNrZ3JvdW5kOiByZ2JhKDIwOCwgMjA4LCAyMDgsIDEwKSFpbXBvcnRhbnQ7XG59XG5cbi5pcGVybGVtbWFIaWdobGlnaHQge1xuICBiYWNrZ3JvdW5kOiByZ2JhKDIwOCwgMjA4LCAyMDgsIDEwKSFpbXBvcnRhbnQ7XG59XG5cbi5uZS1jb250YWluZXIubGVtIC5uZS1vY2N1cnJlbmNlIHtcbiAgYm9yZGVyLXJhZGl1czogNHB4O1xuICBwYWRkaW5nOiA0cHggNnB4O1xuICBiYWNrZ3JvdW5kOiByZ2JhKDIwOCwgMjA4LCAyMDgsIDEwKTtcbiAgbWFyZ2luLXJpZ2h0OiAzcHg7XG4gIGZvbnQtc2l6ZTogMTByZW07XG4gIG1hcmdpbi1ib3R0b206IDNweDtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrICFpbXBvcnRhbnQ7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgbGluZS1oZWlnaHQ6IDEwcmVtO1xufVxuXG4ubGVtbWF0aXplZEVudGl0eVJlZi5oaWdobGlnaHRlZCB7XG4gIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMjA4LCAyMDgsIDIwOCwgMTApO1xufVxuXG4uaXBlcmxlbW1hdGl6ZWRFbnRpdHlSZWYuaGlnaGxpZ2h0ZWQge1xuICB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcbn0iXX0= */"] });
- 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(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");
- class AppConfig {
- constructor(translate, http) {
- 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';
- }
- load() {
- return new Promise((resolve) => {
- Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["forkJoin"])([
- this.http.get(this.uiConfigUrl),
- this.http.get(this.editionConfigUrl),
- this.http.get(this.fileConfigUrl),
- this.http.get(this.editorialConventionsConfigUrl),
- ]).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(([ui, edition, files, editorialConventions]) => {
- console.log(ui, edition, files);
- // Handle default values => TODO: Decide how to handle defaults!!
- if (ui.defaultLocalization) {
- if (ui.availableLanguages.find((l) => l.code === ui.defaultLocalization && l.enabled)) {
- this.translate.use(ui.defaultLocalization);
- }
- else {
- const firstAvailableLang = ui.availableLanguages.find((l) => l.enabled);
- if (firstAvailableLang) {
- this.translate.use(firstAvailableLang.code);
- }
- }
- }
- return { ui, edition, files, editorialConventions };
- })).subscribe(evtConfig => {
- AppConfig.evtSettings = evtConfig;
- console.log('evtConfig', evtConfig);
- resolve();
- });
- });
- }
- }
- 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(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");
- const _c0 = function () { return { icon: "search" }; };
- const _c1 = function () { return { icon: "times" }; };
- function LemmatizedEntitiesListComponent_div_1_form_1_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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); const 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); const 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) {
- const 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) {
- const _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); const key_r10 = ctx.$implicit; const 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) {
- const key_r10 = ctx.$implicit;
- const 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) {
- const _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); const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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"), " ");
- } }
- let LemmatizedEntitiesListComponent = class LemmatizedEntitiesListComponent {
- constructor() {
- this.searchedEntities = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
- this.navigationKeys = [];
- this.searchOpened = false;
- this.querySearch = '';
- this.querySearchSubmitted = '';
- this.caseSensitiveSearch = false;
- }
- set selectedKey(k) {
- this._selectedKey = k;
- }
- get selectedKey() { return this._selectedKey; }
- ngOnInit() {
- this.initKeys();
- }
- ngOnChanges() {
- this.initKeys();
- }
- toggleSearch() {
- this.searchOpened = !this.searchOpened;
- this.querySearch = '';
- this.querySearchSubmitted = '';
- this.searchedEntities.emit(this.querySearch);
- }
- toggleCaseSensitiveSearch(event) {
- this.caseSensitiveSearch = event.active;
- }
- initKeys() {
- if (!!this.data && !!this.data.content && this.data.content.length > 0) {
- this.navigationKeys = this.data.content
- .filter(el => el.lemmatizedEntityType === this.data.lemmatizedEntityType)
- .map(el => { var _a; return (_a = el.sortKey) === null || _a === void 0 ? void 0 : _a.substr(0, 1).toLowerCase(); })
- .filter((item, i, ar) => item && ar.indexOf(item) === i)
- .sort();
- this.selectedKey = this.navigationKeys[0] || '';
- }
- }
- };
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXRpZXMtbGlzdC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQUNJLFlBQUE7QUFESjs7Q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WRlclNlY3Rpb25UaXRsZSgpIHtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
- 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(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");
- class LemmatizedEntitiesParserService {
- constructor() {
- this.tagLemNamesMap = _lemmatized_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["lemmatizedEntitiesListsTagNamesMap"];
- }
- parseLemLists(document) {
- const lemListsToParse = Object(_lemmatized_entity_parsers__WEBPACK_IMPORTED_MODULE_4__["getLemListsToParseTagNames"])();
- const lemListParser = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-lemmatized-lementities-list-parser');
- // We consider only first level lists; inset lists will be considered
- const lemlists = Array.from(document.querySelectorAll(lemListsToParse.toString()))
- .filter((lemlist) => !Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_2__["isNestedInElem"])(lemlist, lemlist.tagName))
- .map((l) => lemListParser.parse(l));
- return {
- lemlists,
- lementities: lemlists.map(({ content }) => content).reduce((a, b) => a.concat(b), []),
- relations: lemlists.map(({ relations }) => relations).reduce((a, b) => a.concat(b), []),
- };
- }
- getResultsByType(lemlists, lementities, type) {
- return {
- lemlists: lemlists.filter(list => type.indexOf(list.lemmatizedEntityType) >= 0),
- lementities: lementities.filter(entity => type.indexOf(entity.lemmatizedEntityType) >= 0),
- };
- }
- parseLemmatizedEntitiesOccurrences(pages) {
- return pages.map(p => this.getLemmatizedEntitiesOccurrencesInPage(p))
- .reduce((x, y) => {
- Object.keys(y).forEach(k => {
- if (x[k]) {
- x[k] = x[k].concat([y[k]]);
- }
- else {
- x[k] = [y[k]];
- }
- });
- return x;
- }, {});
- }
- getLemmatizedEntitiesOccurrencesInPage(p) {
- return p.originalContent
- .filter(e => e.nodeType === 1)
- .map(e => {
- const occurrences = [];
- if (this.tagLemNamesMap.occurrences.indexOf(e.tagName) >= 0 && e.getAttribute('ref')) { // Handle first level page contents
- occurrences.push(this.parseLemmatizedEntityOccurrence(e));
- }
- return occurrences.concat(Array.from(e.querySelectorAll(this.tagLemNamesMap.occurrences))
- .map(el => this.parseLemmatizedEntityOccurrence(el)));
- })
- .filter(e => e.length > 0)
- .reduce((x, y) => x.concat(y), [])
- .reduce((x, y) => {
- const refsByDoc = x[y.ref] ? x[y.ref].refsByDoc || [] : [];
- const docRefs = refsByDoc.find(r => 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), { [y.ref]: {
- pageId: p.id,
- pageLabel: p.label,
- refsByDoc,
- } });
- }, {});
- }
- parseLemmatizedEntityOccurrence(xml) {
- const doc = xml.closest('text');
- const 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') : '',
- };
- }
- }
- 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(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;
- class EmptyParser {
- constructor(parseFn) { this.genericParse = parseFn; }
- }
- class AttrParser extends EmptyParser {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
- }
- }
- function queryAndParseElements(xml, name) {
- const p = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get(name);
- return Array.from(xml.querySelectorAll(`:scope > ${name}`)).map(g => p.parse(g));
- }
- function queryAndParseElement(xml, name, allAnnidationLevels) {
- const el = xml.querySelector(`${allAnnidationLevels ? '' : ':scope > '}${name}`);
- const p = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get(name);
- return el && p.parse(el);
- }
- function parseElement(xml) {
- const p = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get(xml.tagName);
- return xml && p.parse(xml);
- }
- let GenericElemParser = GenericElemParser_1 = class GenericElemParser extends AttrParser {
- 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),
- };
- }
- };
- GenericElemParser = GenericElemParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('evt-generic-elem-parser', GenericElemParser_1)
- ], GenericElemParser);
- class GenericParser extends GenericElemParser {
- constructor() {
- super(...arguments);
- this.genericElemParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, this.genericParse);
- }
- }
- let AttributeParser = AttributeParser_1 = class AttributeParser extends EmptyParser {
- parse(data) {
- return Array.from(data.attributes)
- .map(({ name, value }) => ({ [name === 'xml:id' ? 'id' : name.replace(':', '-')]: value }))
- .reduce((x, y) => (Object.assign(Object.assign({}, x), y)), {});
- }
- };
- AttributeParser = AttributeParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('evt-attribute-parser', AttributeParser_1)
- ], AttributeParser);
- let AttributeMapParser = AttributeMapParser_1 = class AttributeMapParser extends EmptyParser {
- parse(xml) {
- const attributes = {};
- Array.from(xml.attributes).forEach((attr) => {
- attributes[attr.name] = attr.value;
- });
- return attributes;
- }
- };
- AttributeMapParser = AttributeMapParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('attribute-map-parser', AttributeMapParser_1)
- ], AttributeMapParser);
- let TextParser = TextParser_1 = class TextParser {
- 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: {},
- };
- }
- };
- TextParser = TextParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('evt-text-parser', TextParser_1)
- ], TextParser);
- let ParagraphParser = ParagraphParser_1 = class ParagraphParser extends EmptyParser {
- parse(xml) {
- const attributes = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-attribute-parser').parse(xml);
- const paragraphComponent = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Paragraph"],
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes,
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.n),
- };
- return paragraphComponent;
- }
- };
- ParagraphParser = ParagraphParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('p', ParagraphParser_1)
- ], ParagraphParser);
- let LBParser = LBParser_1 = class LBParser extends EmptyParser {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
- }
- parse(xml) {
- const attributes = this.attributeParser.parse(xml);
- const { n, rend, facs } = attributes;
- return {
- id: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getID"])(xml),
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(n),
- rend,
- facs,
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Lb"],
- content: [],
- attributes,
- };
- }
- };
- LBParser = LBParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('lb', LBParser_1)
- ], LBParser);
- let NoteParser = NoteParser_1 = class NoteParser extends EmptyParser {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
- }
- parse(xml) {
- const noteLayout = this.isFooterNote(xml) || this.isNamedEntityNote(xml)
- || ['person', 'place', 'app', 'msDesc', 'item'].some((v) => Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, v))
- ? 'plain-text'
- : 'popover';
- const noteType = !xml.getAttribute('type') && Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, 'app')
- ? 'critical'
- : 'comment';
- const attributes = this.attributeParser.parse(xml);
- const noteElement = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Note"],
- noteType,
- 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,
- };
- return noteElement;
- }
- isFooterNote(xml) { return Object(_utils_dom_utils__WEBPACK_IMPORTED_MODULE_3__["isNestedInElem"])(xml, 'div', [{ key: 'type', value: 'footer' }]); }
- 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'); }
- };
- NoteParser = NoteParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('note', NoteParser_1)
- ], NoteParser);
- let PtrParser = PtrParser_1 = class PtrParser extends GenericElemParser {
- constructor() {
- super(...arguments);
- this.noteParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(NoteParser, this.genericParse);
- this.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, this.genericParse);
- }
- parse(xml) {
- if (xml.getAttribute('type') === 'noteAnchor' && xml.getAttribute('target')) {
- const noteId = xml.getAttribute('target').replace('#', '');
- const rootNode = xml.closest('TEI');
- const noteEl = rootNode.querySelector(`note[*|id="${noteId}"]`);
- return noteEl ? this.noteParser.parse(noteEl) : this.elementParser.parse(xml);
- }
- return Object.assign(Object.assign({}, super.parse(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') });
- }
- };
- PtrParser = PtrParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('ptr', PtrParser_1)
- ], PtrParser);
- let VerseParser = VerseParser_1 = class VerseParser extends EmptyParser {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
- }
- parse(xml) {
- const attributes = this.attributeParser.parse(xml);
- const lineComponent = {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Verse"],
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes,
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.n),
- };
- return lineComponent;
- }
- };
- VerseParser = VerseParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('l', VerseParser_1)
- ], VerseParser);
- let VersesGroupParser = VersesGroupParser_1 = class VersesGroupParser extends EmptyParser {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
- }
- parse(xml) {
- const attributes = this.attributeParser.parse(xml);
- const 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,
- n: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.n),
- groupType: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getDefaultN"])(attributes.type),
- };
- return lgComponent;
- }
- };
- VersesGroupParser = VersesGroupParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('lg', VersesGroupParser_1)
- ], VersesGroupParser);
- let SuppliedParser = SuppliedParser_1 = class SuppliedParser extends EmptyParser {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
- }
- parse(xml) {
- const attributes = this.attributeParser.parse(xml);
- const { reason, source, resp } = attributes;
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Supplied"],
- reason,
- source,
- resp,
- class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes,
- };
- }
- };
- SuppliedParser = SuppliedParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('supplied', SuppliedParser_1)
- ], SuppliedParser);
- let DamageParser = DamageParser_1 = class DamageParser extends EmptyParser {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
- }
- parse(xml) {
- var _a;
- const attributes = this.attributeParser.parse(xml);
- const { agent, group, degree } = attributes;
- return {
- agent,
- group: (_a = parseInt(group, 10)) !== null && _a !== void 0 ? _a : undefined,
- 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),
- };
- }
- };
- DamageParser = DamageParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('damage', DamageParser_1)
- ], DamageParser);
- let GapParser = GapParser_1 = class GapParser extends EmptyParser {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
- }
- parse(xml) {
- const attributes = this.attributeParser.parse(xml);
- const { reason, agent, quantity, unit, extent } = attributes;
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Gap"],
- reason,
- agent,
- quantity: quantity ? parseInt(quantity, 10) : undefined,
- unit,
- extent,
- class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["parseChildren"])(xml, this.genericParse),
- attributes,
- };
- }
- };
- GapParser = GapParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('gap', GapParser_1)
- ], GapParser);
- let AdditionParser = AdditionParser_1 = class AdditionParser extends EmptyParser {
- constructor() {
- super(...arguments);
- this.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, this.genericParse);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
- }
- 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(),
- };
- }
- };
- AdditionParser = AdditionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('add', AdditionParser_1)
- ], AdditionParser);
- let WordParser = WordParser_1 = class WordParser extends EmptyParser {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
- }
- parse(xml) {
- const attributes = this.attributeParser.parse(xml);
- const { lemma } = attributes;
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Word"],
- 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),
- };
- }
- };
- WordParser = WordParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('w', WordParser_1)
- ], WordParser);
- let DeletionParser = DeletionParser_1 = class DeletionParser extends EmptyParser {
- constructor() {
- super(...arguments);
- this.elementParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(GenericElemParser, this.genericParse);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_5__["createParser"])(AttributeParser, this.genericParse);
- }
- 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(),
- };
- }
- };
- DeletionParser = DeletionParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('del', DeletionParser_1)
- ], DeletionParser);
- let TermParser = TermParser_1 = class TermParser extends GenericElemParser {
- parse(xml) {
- return Object.assign(Object.assign({}, super.parse(xml)), { type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Term"], id: xml.getAttribute('xml:id'), ref: xml.getAttribute('ref'), rend: xml.getAttribute('rend') });
- }
- };
- 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(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
- const COMPONENT_MAP = {};
- // tslint:disable-next-line: no-any
- function register(dataType) {
- // tslint:disable-next-line: no-any
- return (cls) => {
- COMPONENT_MAP[dataType.name] = cls;
- };
- }
- class ComponentRegisterService {
- // tslint:disable-next-line: no-any
- getComponent(dataType) {
- return COMPONENT_MAP[dataType.name];
- }
- }
- 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(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) {
- const _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); const 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) {
- const 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) {
- const _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); const 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) {
- const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data);
- } }
- const _c0 = function (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) {
- const 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);
- } }
- let ApparatusEntryComponent = class ApparatusEntryComponent {
- constructor(evtModelService, parentDetailComponent) {
- 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"])((variances) => variances[this.data.id]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.isInsideAppDetail = this.parentDetailComponent ? true : false;
- }
- toggleAppEntryBox(e) {
- e.stopPropagation();
- this.opened = !this.opened;
- }
- closeAppEntryBox() {
- this.opened = false;
- }
- stopPropagation(e) {
- e.stopPropagation();
- }
- };
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2FwcGFyYXR1cy1lbnRyeS5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJUTtFQUNJLGtCQUFBO0VBQ0EsVUFBQTtFQUNBLHdCQUFBO0FBSFo7QUNxRlE7RURoRlEsc0NBQUE7RUFDQSxnQkFBQTtBQUZoQjtBQ2lGUTtFRGhGUSxzQ0FBQTtFQUNBLGdCQUFBO0FBRWhCO0FDNkVRO0VEaEZRLHNDQUFBO0VBQ0EsZ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aXhpbiB0aGVtaWZ5U2VsZigkdGhlbWVzOiAkdGhlbWVzKSB7XG4gICAgQGVhY2ggJHRoZW1lLCAkbWFwIGluICR0aGVtZXMge1xuICAgICAgICAgJltkYXRhLXRoZW1lPVwiI3skdGhlbWV9XCJdIHtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6ICgpICFnbG9iYWw7XG4gICAgICAgICAgICBAZWFjaCAka2V5LCAkc3VibWFwIGluICRtYXAge1xuICAgICAgICAgICAgICAgICR2YWx1ZTogbWFwLWdldChtYXAtZ2V0KCR0aGVtZXMsICR0aGVtZSksICcjeyRrZXl9Jyk7XG4gICAgICAgICAgICAgICAgJHRoZW1lLW1hcDogbWFwLW1lcmdlKCR0aGVtZS1tYXAsICgka2V5OiAkdmFsdWUpKSAhZ2xvYmFsO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgQGNvbnRlbnQ7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiBudWxsICFnbG9iYWw7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBmdW5jdGlvbiB0aGVtZWQoJGtleSkge1xuICAgIEByZXR1cm4gbWFwLWdldCgkdGhlbWUtbWFwLCAka2V5KTtcbn1cblxuIl19 */"], 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(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) {
- const 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);
- } }
- const _c0 = function (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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const witID_r12 = ctx.$implicit;
- const 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) {
- const 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);
- } }
- let ApparatusEntryReadingsComponent = ApparatusEntryReadingsComponent_1 = class ApparatusEntryReadingsComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.groups$ = this.evtModelService.groups$;
- }
- get significantRdg() {
- return this.data.readings.filter((rdg) => rdg.significant);
- }
- getWits$(witID) {
- return this.groups$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((groups) => {
- return groups.filter((g) => g.id === witID).map((g) => g.witnesses).reduce((x, y) => ([...x, ...y]), []);
- }), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((groupWits) => groupWits.length > 0 ? groupWits : [witID]));
- }
- };
- 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(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) {
- const element_r2 = ctx.$implicit;
- const 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) {
- const 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);
- } }
- let SuppliedComponent = class 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(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) {
- const element_r1 = ctx.$implicit;
- const 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);
- } }
- let SicComponent = class SicComponent {
- get editorialConventionData() {
- var _a;
- return {
- name: 'sic',
- attributes: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.attributes) || {},
- editionLevel: this.editionLevel,
- defaultsKey: this.defaultsKey,
- };
- }
- get defaultsKey() {
- switch (this.data.sicType) {
- case 'crux':
- return 'sicCrux';
- }
- }
- };
- 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(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");
- class PinboardService {
- constructor() {
- 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
- */
- toggleItem(item, additionalData) {
- const itemId = item.id || item.path;
- const 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);
- }
- isItemPinned(item) {
- const itemId = item.id || item.path;
- const items = this.items$.getValue();
- return items[itemId];
- }
- // tslint:disable-next-line: no-any
- getItems(types) {
- return this.items$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(items => {
- let itemsArray = Array.from(Object.keys(items), (key) => items[key]);
- if (types && types.length > 0) {
- itemsArray = itemsArray.filter(item => item.pinType && types.indexOf(item.pinType) >= 0);
- }
- return itemsArray;
- }));
- }
- }
- 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(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");
- class EditionDataService {
- constructor(http) {
- this.http = http;
- this.editionUrls = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.files.editionUrls || [];
- this.parsedEditionSource$ = this.loadAndParseEditionData();
- }
- loadAndParseEditionData() {
- const editionUrl = this.editionUrls[0];
- return this.http.get(editionUrl, { responseType: 'text' }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(source => Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__["parseXml"])(source)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["mergeMap"])((editionData) => this.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"])(() => this.handleLoadingError()));
- }
- loadXIinclude(doc, baseUrlPath) {
- const parametro2 = document.location.href;
- const parametro3 = parametro2.split("p=")[1].split("_")[0];
- const parametro = '[href="lettere/' + parametro3 + '.xml"]';
- //const filesToInclude = Array.from(doc.getElementsByTagName('xi:include'));
- const filesToInclude = Array.from(doc.querySelectorAll(parametro));
- const xiIncludeLoadsSubs = filesToInclude.map(element => this.http.get(baseUrlPath + element.getAttribute('href'), { responseType: 'text' })
- .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])((fileData) => {
- const includedDoc = Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_4__["parseXml"])(fileData);
- const fileXpointer = element.getAttribute('xpointer');
- let includedTextElem;
- if (fileXpointer) {
- includedTextElem = doc.querySelector(`[*|id="${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"])(_ => {
- Array.from(element.getElementsByTagName('xi:fallback')).map((el) => {
- const divEl = document.createElement('div');
- divEl.classList.add('xiinclude-fallback');
- divEl.setAttribute('xml:id', element.getAttribute('xpointer'));
- divEl.innerHTML = `<p>${el.innerHTML}</p>`;
- return divEl;
- }).forEach((el) => 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"])(() => doc));
- }
- return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(doc);
- }
- handleLoadingError() {
- // TODO: TEMP
- const 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);
- }
- }
- 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(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) {
- const ctx_r14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- const class_r11 = ctx_r14.class;
- const 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) {
- const ctx_r15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const label_r9 = ctx_r15.label;
- const class_r11 = ctx_r15.class;
- const 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) {
- const content_r10 = ctx.content;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", content_r10);
- } }
- const _c0 = function (a1) { return { label: "", content: a1, class: "titleStmt" }; };
- const _c1 = function (a1) { return { label: "editionStatement", content: a1, class: "editionStmt" }; };
- const _c2 = function (a1) { return { label: "extent", content: a1, class: "extent" }; };
- const _c3 = function (a1) { return { label: "publicationStatement", content: a1, class: "publicationStmt" }; };
- const _c4 = function (a1) { return { label: "seriesStatement", content: a1, class: "seriesStmt" }; };
- const _c5 = function (a1) { return { label: "notesStatement", content: a1, class: "notesStmt" }; };
- const _c6 = function (a1) { return { label: "sourceDesc", content: a1, class: "sourceDesc" }; };
- let FileDescComponent = class 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) {
- const _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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2ZpbGUtZGVzYy5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtFQzJGRSw4QkFBQTtFQUNBLGtCQUFBO0VBQ0Esd0JBQUE7RUFDQSxXQUFBO0VBQ0EsaUJBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxnQkFBQTtBRDNGRjs7QUFGSTtFQ3NGRiw4QkFBQTtFQUNBLGtCQUFBO0VBQ0Esd0JBQUE7RUFDQSxXQUFBO0VBQ0EsaUJBQUE7RUFDQ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b3I6ICRjb2xvci1taWRkbGU7XG5cbiAgJi5hY3RpdmUge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgYm9yZGVyLXJpZ2h0LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuXG4gICAgJjpub3QoOmZpcnN0LWNoaWxkKSB7XG4gICAgICBib3JkZXItbGVmdC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICB9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cblxuQG1peGluIGhlYWRlclNlY3Rpb25UaXRsZSgpIHtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
- 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(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) {
- const _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); const 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) {
- const 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) {
- const item_r6 = ctx.item;
- const item$_r7 = ctx.item$;
- const index_r8 = ctx.index;
- const 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) {
- const _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); const item_r15 = ctx.$implicit; const clear_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2).clear; return clear_r11(item_r15); });
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "\u00D7");
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
- } if (rf & 2) {
- const item_r15 = ctx.$implicit;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const _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); const 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); const 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) {
- const 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);
- } }
- class EntitiesSelectComponent {
- constructor() {
- this.selectionChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- this.entitiesTypes = (_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.entitiesSelectItems || [])
- .filter(g => !g.disabled)
- .reduce((x, y) => [...x, ...y.items.filter(i => !i.disabled).map(i => (Object.assign(Object.assign({}, i), { group: y.label })))], []);
- this.iconColor = {
- icon: 'circle',
- iconSet: 'fas',
- additionalClasses: 'ml-2 mr-1',
- };
- this.selectedTypes = [];
- }
- 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);
- }
- }
- toggleSelection() {
- if (this.selectedTypes.length < this.entitiesTypes.length) {
- this.selectedTypes = this.entitiesTypes;
- }
- else {
- this.selectedTypes = [];
- }
- this.selectionChange.emit(this.selectedTypes);
- }
- }
- 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(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");
- class ClickOutsideDirective {
- constructor(elementRef) {
- this.elementRef = elementRef;
- this.clickOutside = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
- }
- onClick(target) {
- const clickedInside = this.elementRef.nativeElement.contains(target);
- if (!clickedInside) {
- this.clickOutside.emit();
- }
- }
- }
- 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(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");
- class EVTModelService {
- constructor(editionDataService, editionStructureParser, namedEntitiesParser, prefatoryMatterParser, witnessesParser, apparatusParser, facsimileParser, characterDeclarationsParser, linesVersesParser, msDescParser,
- // add by FS
- lemmatizedEntitiesParser) {
- 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"])((source) => this.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"])((source) => this.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"])((source) => this.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"])(({ lists, entities }) => (this.namedEntitiesParser.getResultsByType(lists, entities, ['person', 'personGrp']))));
- this.places$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ lists, entities }) => this.namedEntitiesParser.getResultsByType(lists, entities, ['place'])));
- this.organizations$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ lists, entities }) => this.namedEntitiesParser.getResultsByType(lists, entities, ['org'])));
- this.relations$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ relations }) => relations));
- this.events$ = this.parsedLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ lists, entities }) => this.namedEntitiesParser.getResultsByType(lists, entities, ['event'])));
- this.verses$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.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"])((source) => this.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"])(([persons, places, organizations, relations, events]) => ({
- all: {
- lists: [...persons.lists, ...places.lists, ...organizations.lists, ...events.lists],
- entities: [...persons.entities, ...places.entities, ...organizations.entities, ...events.entities],
- },
- persons,
- places,
- organizations,
- relations,
- events,
- })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.entitiesOccurrences$ = this.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((pages) => this.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"])((pages) => this.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"])((source) => this.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"])(({ witnesses }) => witnesses), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.groups$ = this.witnessesData$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ groups }) => 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"])((source) => this.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"])((appEntries) => this.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"])((signRdgs) => this.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"])((witList) => {
- return this.significantReadingsNumber$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((signRdgsNum) => this.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"])((source) => this.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"])((surfaces) => surfaces.reduce((x, y) => 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"])((surfaces) => surfaces.reduce((x, y) => 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"])((source) => this.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"])((source) => this.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"])(([chars, glyphs]) => chars.concat(glyphs)));
- this.msDesc$ = this.editionSource$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((source) => this.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"])((source) => this.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"])(({ lemlists, lementities }) => (this.lemmatizedEntitiesParser.getResultsByType(lemlists, lementities, ['item', 'lem', 'w']))));
- this.lemmas$ = this.parsedLemLists$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(({ lemlists, lementities }) => (this.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"])(([item, lemmas, relations]) => ({
- all: {
- lemlists: [...item.lemlists, ...lemmas.lemlists],
- lementities: [...item.lementities],
- },
- item,
- lemmas,
- relations,
- })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.entitiesLemOccurrences$ = this.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((pages) => this.lemmatizedEntitiesParser.parseLemmatizedEntitiesOccurrences(pages)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- }
- getPage(pageId) {
- return this.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((pages) => pages.find((page) => page.id === pageId)));
- }
- }
- 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(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) {
- const _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); const 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) {
- const 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) {
- const _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); const 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) {
- const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("data", ctx_r2.data);
- } }
- const _c0 = function (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) {
- const 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);
- } }
- let LemEntryComponent = class LemEntryComponent {
- constructor(evtModelService, parentDetailComponent) {
- 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"])((variances) => variances[this.data.id]), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.isInsideLemDetail = this.parentDetailComponent ? true : false;
- }
- toggleLemEntryBox(e) {
- e.stopPropagation();
- this.opened = !this.opened;
- }
- closeLemEntryBox() {
- this.opened = false;
- }
- stopPropagation(e) {
- e.stopPropagation();
- }
- };
- 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(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) {
- const 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 ? ": " : "", "");
- } }
- const _c0 = [[["", "content", ""]]];
- const _c1 = ["[content]"];
- class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2hlYWRlci1zZWN0aW9uLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksY0FBQTtBQUNKO0FBQUk7RUFDSSxlQUFBO0VBQ0Esd0JBQUE7RUFDQSxXQUFBO0FBRVI7QUFBSTtFQUNJLGFBQUE7QUFFUjtBQURRO0VBQ0ksaUJBQUE7QUFHWjtBQURRO0VBQ0ksZUFBQTtBQUdaO0FBQ1E7RUFDSSxpQkFBQTtFQUNBLDhCQUFBO0VBQ0Esa0JBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7QUFDWjtBQUVJO0VBQ0ksZ0JBQUE7QUFBUiIsImZpbGUiOiJoZWFkZXItc2VjdGlvbi5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zZWN0aW9uIHtcbiAgICBkaXNwbGF5OiBibG9jaztcbiAgICA+IC5zZWN0aW9uLWxhYmVsIHtcbiAgICAgICAgZGlzcGxheTogaW5saW5lO1xuICAgICAgICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gICAgICAgIGNvbG9yOiAjNjY2O1xuICAgIH1cbiAgICAmLmhhcy1pbmxpbmUtbGFiZWwge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICA+IC5zZWN0aW9uLWxhYmVsIHtcbiAgICAgICAgICAgIG1hcmdpbi1yaWdodDogNXB4O1xuICAgICAgICB9XG4gICAgICAgID4gLnNlY3Rpb24tY29udGVudCB7XG4gICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmU7XG4gICAgICAgIH1cbiAgICB9XG4gICAgJjpub3QoLmhhcy1pbmxpbmUtbGFiZWwpIHtcbiAgICAgICAgPiAuc2VjdGlvbi1sYWJlbCB7XG4gICAgICAgICAgICBmb250LXNpemU6IDAuOXJlbTtcbiAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDFweCBkb3R0ZWQgIzY2NjtcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IDVweDtcbiAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICAgICAgbWFyZ2luLXRvcDogMTRweDtcbiAgICAgICAgfVxuICAgIH1cbiAgICA6Om5nLWRlZXAgcCB7XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDA7XG4gICAgfVxufVxuIl19 */"] });
- /*@__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(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");
- const _c0 = function () { return { icon: "thumbtack" }; };
- class PinnerComponent {
- constructor(pinType, renderer, pinboard) {
- this.pinType = pinType;
- this.renderer = renderer;
- this.pinboard = pinboard;
- }
- isItemPinned() {
- return this.pinboard.isItemPinned(this.item);
- }
- togglePin(btnEvent) {
- btnEvent.event.stopPropagation();
- this.pinboard.toggleItem(this.item, { pinType: this.pinType, renderer: this.renderer });
- }
- }
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Bpbm5lci5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL19taXhpbnMuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQTtFQUNJLFlBQUE7QUFGSjs7QUFLSTtFQUNJLFlBQUE7QUFGUjs7QUFHUTtFQ01OLDhCQUFBO0VBR0EsK0JBQUE7RUFDQSwyQkFBQTtFRFJVLHVCQUFBO0FBSVo7O0FBRlE7RUFDSSxVQUFBO0FBSVo7O0FFdUVRO0VGekVRLHlCQUFBO0FBS2hCOztBRW9FUTtFRnpFUSxzQkFBQTtBQVFoQjs7QUVpRVE7RUZ6RVEseUJBQUE7QUFXaEI7O0FFOERRO0VGekVRLHlCQUFBO0FBY2hC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XG4gICAgfVxufVxuXG5AZnVuY3Rpb24gdGhlbWVkKCRrZXkpIHtcbiAgICBAcmV0dXJuIG1hcC1nZXQoJHRoZW1lLW1hcCwgJGtleSk7XG59XG5cbiJdfQ== */"] });
- /*@__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(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");
- class ShortcutsService {
- handleKeyboardEvent(e) {
- const 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;
- }
- }
- }
- }
- }
- 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(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;
- let RdgParser = RdgParser_1 = class RdgParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.readingGroupTagName = 'rdgGrp';
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
- }
- 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(),
- };
- }
- parseReadingWitnesses(rdg) {
- var _a;
- return (_a = rdg.getAttribute('wit')) === null || _a === void 0 ? void 0 : _a.split('#').map((el) => Object(_utils_xml_utils__WEBPACK_IMPORTED_MODULE_5__["removeSpaces"])(el)).filter((el) => el.length !== 0);
- }
- parseAppReadingContent(rdg) {
- return Array.from(rdg.childNodes)
- .map((child) => this.genericParse(child));
- }
- isReadingSignificant(rdg) {
- const notSignificantReadings = src_app_app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.edition.notSignificantVariants;
- let 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;
- }
- isSignificant(notSignificantReading, attributes) {
- return !Array.from(attributes).some(({ name, value }) => notSignificantReading.includes(`${name}=${value}`));
- }
- };
- RdgParser = RdgParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_2__["xmlParser"])('rdg', RdgParser_1)
- ], RdgParser);
- let AppParser = AppParser_1 = class AppParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_6__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.noteTagName = 'note';
- this.appEntryTagName = 'app';
- this.readingTagName = 'rdg';
- this.lemmaTagName = 'lem';
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["AttributeParser"], this.genericParse);
- this.noteParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_6__["NoteParser"], this.genericParse);
- this.rdgParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["createParser"])(RdgParser, this.genericParse);
- }
- 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),
- };
- }
- getNestedAppsIDs(app) {
- const nesApps = app.querySelectorAll('app');
- return Array.from(nesApps).map((a) => Object(_parser_models__WEBPACK_IMPORTED_MODULE_7__["getID"])(a));
- }
- parseAppNotes(appEntry) {
- const notes = Array.from(appEntry.children)
- .filter(({ tagName }) => tagName === this.noteTagName)
- .map((note) => this.noteParser.parse(note));
- return notes;
- }
- parseLemma(appEntry) {
- return appEntry.querySelector(`${this.lemmaTagName}`) ?
- this.rdgParser.parse(appEntry.querySelector(`${this.lemmaTagName}`)) : undefined;
- }
- parseReadings(appEntry) {
- return Array.from(appEntry.querySelectorAll(`${this.readingTagName}`))
- .filter((el) => el.closest(this.appEntryTagName) === appEntry)
- .map((rdg) => this.rdgParser.parse(rdg));
- }
- };
- 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(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");
- const _c0 = ["entityDetails"];
- const _c1 = function () { 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));
- } }
- const _c2 = function () { 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));
- } }
- const _c3 = function () { 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));
- } }
- const _c4 = function () { 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) {
- const 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) {
- const 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) {
- const occurrence_r16 = ctx.$implicit;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](2);
- const 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);
- } }
- const _c5 = function (a0, a1) { return { inList: a0, contentOpened: a1 }; };
- function NamedEntityComponent_div_0_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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); const 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) {
- const 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);
- } }
- let NamedEntityComponent = class NamedEntityComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.occurrences$ = this.evtModelService.entitiesOccurrences$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(occ => occ[this.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"])(el => el.filter(rel => rel.activeParts.indexOf(this.data.id) >= 0 ||
- rel.passiveParts.indexOf(this.data.id) >= 0 || rel.mutualParts.indexOf(this.data.id) >= 0)));
- this.contentOpened = true;
- }
- get selectedSection() {
- if (this.contentOpened) {
- return `${this.data && this.data.content.length === 0 ? 'occurrences' : 'info'}_${this.data.id}`;
- }
- return '';
- }
- ngOnInit() {
- if (this.inList) {
- this.contentOpened = false;
- }
- }
- toggleContent() {
- if (this.inList) {
- this.contentOpened = !this.contentOpened;
- }
- }
- tabSelected(event) {
- event.stopPropagation();
- }
- };
- 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) {
- let _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/*# sour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W5rIHtcbiAgICBwYWRkaW5nOiA1cHg7XG4gICAgYm9yZGVyOiBub25lO1xuICB9XG59XG5cbjpob3N0IDo6bmctZGVlcCBwcmUge1xuICBwYWRkaW5nLXRvcDogMDtcbiAgbWFyZ2luOiAwO1xuXG4gIC8qIGJhY2tncm91bmQ6ICNmZmY7Ki9cbiAgY29kZSB7XG4gICAgZm9udC1zaXplOiA4NSUgIWltcG9ydGFudDtcbiAgfVxufVxuXG5wcmUge1xuICB3aGl0ZS1zcGFjZTogcHJlLXdyYXA7XG4gIHdoaXRlLXNwYWNlOiAtbW96LXByZS13cmFwO1xuICB3aGl0ZS1zcGFjZTogLXByZS13cmFwO1xuICB3aGl0ZS1zcGFjZTogLW8tcHJlLXdyYXA7XG4gIHdvcmQtd3JhcDogYnJlYWstd29yZDtcbiAgd2lkdGg6IDEwMCU7XG59Il19 */"] });
- 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(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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- let RenditionComponent = class RenditionComponent {
- constructor(translateService) {
- this.translateService = translateService;
- }
- get scopeDescription$() {
- if (this.data.scope) {
- const descKey = Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_6__["snakeToCamelCased"])(`rendition-${this.data.scope}-desc`);
- return this.translateService.get(descKey).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["map"])(translation => translation === descKey ? '' : `(${translation})`));
- }
- return Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["of"])('');
- }
- };
- 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(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) {
- const 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) {
- const 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);
- } }
- class ShortcutsComponent {
- constructor() {
- // tslint:disable-next-line: no-any
- this.shortcuts = []; // TODO: get rid of instructions
- this.initShortcuts();
- }
- 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' }
- ],
- });
- }
- }
- 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(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) {
- const element_r1 = ctx.$implicit;
- const 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);
- } }
- let DeletionComponent = class DeletionComponent {
- get editorialConventionData() {
- return {
- name: 'del',
- attributes: this.data.attributes,
- editionLevel: this.editionLevel,
- defaultsKey: 'deletion',
- };
- }
- };
- 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(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) {
- const element_r1 = ctx.$implicit;
- const 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);
- } }
- let DamageComponent = class DamageComponent {
- get editorialConventionData() {
- var _a;
- return {
- name: 'damage',
- attributes: ((_a = this.data) === null || _a === void 0 ? void 0 : _a.attributes) || {},
- editionLevel: this.editionLevel,
- defaultsKey: 'damage',
- };
- }
- };
- 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(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';
- const _c0 = ["lemDetails"];
- const _c1 = function () { 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));
- } }
- const _c2 = function () { 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));
- } }
- const _c3 = function () { 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) {
- const 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) {
- const 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) {
- const occurrence_r16 = ctx.$implicit;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](2);
- const 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);
- } }
- const _c4 = function (a0, a1) { return { inList: a0, contentOpened: a1 }; };
- function LemmatizedEntityComponent_div_0_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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); const 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) {
- const 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);
- } }
- let LemmatizedEntityComponent = class LemmatizedEntityComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.occurrences$ = this.evtModelService.lemsOccurrences$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(occ => occ[this.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"])(el => el.filter(rel => rel.activeParts.indexOf(this.data.id) >= 0 ||
- rel.passiveParts.indexOf(this.data.id) >= 0 || rel.mutualParts.indexOf(this.data.id) >= 0)));
- this.contentOpened = true;
- }
- get selectedSection() {
- if (this.contentOpened) {
- return `${this.data && this.data.content.length === 0 ? 'occurrences' : 'info'}_${this.data.id}`;
- }
- return '';
- }
- get linkLem() {
- return Object(_utils_js_utils__WEBPACK_IMPORTED_MODULE_5__["normalizeUrl"])('http://tlio.ovi.cnr.it/TLIO/');
- }
- ngOnInit() {
- if (this.inList) {
- this.contentOpened = false;
- }
- }
- toggleContent() {
- if (this.inList) {
- this.contentOpened = !this.contentOpened;
- }
- }
- tabSelected(event) {
- event.stopPropagation();
- }
- openlinkLem() {
- if (this.linkLem) {
- window.open(this.linkLem, '_blank');
- }
- }
- };
- 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) {
- let _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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xlbW1hdGl6ZWQtZW50aXR5LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtGRTtFQUNFLGNBQUE7RUFDQSx5QkFBQTtBQWpGSjtBQW1GSTtFQUNFLGdCQUFBO0VBQ0Esa0JBQUE7QUFqRk47QUFtRk07RUFDRSxnQkFBQ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edEntityComponent = 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(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;
- let SurplusParser = SurplusParser_1 = class SurplusParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
- }
- parse(xml) {
- const attributes = this.attributeParser.parse(xml);
- const { reason } = attributes;
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Surplus"],
- reason,
- class: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getClass"])(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
- attributes,
- };
- }
- };
- SurplusParser = SurplusParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('surplus', SurplusParser_1)
- ], SurplusParser);
- let SicParser = SicParser_1 = class SicParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
- }
- parse(xml) {
- const attributes = this.attributeParser.parse(xml);
- const { type } = attributes;
- 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,
- };
- }
- };
- 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(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) {
- const el_r1 = ctx.$implicit;
- const 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);
- } }
- let VerseComponent = class VerseComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.verseNumberPrinter = _app_config__WEBPACK_IMPORTED_MODULE_3__["AppConfig"].evtSettings.edition.verseNumberPrinter || 5;
- }
- get displayBlock$() {
- return this.evtModelService.lines$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(lines => lines.length > 0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(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 (this.editionLevel) {
- case 'diplomatic':
- case 'interpretative':
- return this.textFlow === 'verses' || !hasLines;
- case 'critical':
- return this.textFlow !== 'prose';
- }
- }));
- }
- get showNumber() {
- const num = parseInt(this.data.n, 10);
- return !isNaN(num) && num % this.verseNumberPrinter !== 0;
- }
- };
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3ZlcnNlLmNvbXBvbmVudC5zY3NzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vYXNzZXRzL3Njc3MvX3RoZW1lcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlJO0VBQ0ksa0JBQUE7RUFDQSxVQUFBO0VBQ0EsaUJBQUE7RUFDQSxvQkFBQTtFQUNBLHVCQUFBO0VBQ0EsZUFBQTtFQUNBLFlBQUE7RUFDQSxjQUFBO0VBQ0EsZ0JBQUE7QUFIUjtBQUlRO0VBQ0ksV0FBQTtFQUNBLFdBQUE7RUFDQSxZQUFBO0VBQ0EsbUJBQUE7RUFDQSxtQkFBQTtFQUNBLHlCQUFBO0VBQ0Esa0JBQUE7RUFDQSxXQUFBO0FBRlo7QUFLSTtFQUNJLGNBQUE7QUFIUjtBQ2tFUTtFRDVEUSxjQUFBO0FBSGhCO0FDK0RRO0VENURRLFdBQUE7QU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AgICAgICB9XG4gICAgfVxuICAgICYuZGlzcGxheS1ibG9jayB7XG4gICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICAudmVyc2UtbnVtIHtcbiAgICAgICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykgeyAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIGNvbG9yOiB0aGVtZWQoJ3NlY29uZGFyeUNvbG9yRGFyaycpXG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAmOmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogbm9uZTtcbiAgICAgICAgICAgICAgICBib3JkZXI6IG5vbmU7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAmLmhpZGRlbiB7XG4gICAgICAgICAgICAgICAgdmlzaWJpbGl0eTogaGlkZGVuO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxufVxuIiwiJHRoZW1lczogKFxuICAgIHJlc3RvcmU6IChcbiAgICAgICAgYmFzZUNvbG9yRGFyazogIzBhNDU1MyxcbiAgICAgICAgYmFzZUNvbG9yTGlnaHQ6ICNlOWU5ZTksXG4gICAgICAgIGJhc2VCb3JkZXI6IHJnYmEoMCwgMCwgMCwgMC4xMjUpLFxuICAgICAgICBzZWNvbmRhcnlDb2xvckRhcms6IHJnYigxMjAsIDU4LCA1OCksXG4gICAgICAgIHNlY29uZGFyeUNvbG9yTGlnaHQ6ICNlOWU5ZTksXG4gICAgICAgIHBhbmVsQmFja2dyb3VuZENvbG9yOiAjZmZmLFxuICAgICAgICBwYW5lbFRleHRDb2xvcjogcmdiKDcwLCA0NiwgNDYpLFxuICAgICAgICBwYW5lbFNlY29uZGFyeUJhY2tncm91bmRDb2xvcjogcmdiYSgyMzYsIDIzOSwgMjQxLCAwLjk1KSxcbiAgICAgICAgdG9vbHNCYWNrZ3JvdW5kOiAjZTllOWU5LFxuICAgICAgICB0b29sc0NvbG9yOiAjMGE0NTUzLFxuICAgICAg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EBPACK_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(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");
- class ThemesService {
- constructor() {
- this.themes = [
- {
- value: 'restore',
- label: 'themeRestore',
- },
- {
- value: 'classic',
- label: 'themeClassic',
- },
- {
- value: 'neutral',
- label: 'themeNeutral',
- },
- {
- value: 'modern',
- label: 'themeModern',
- },
- ];
- this.selectTheme(this.themes[0]);
- }
- selectTheme(theme) {
- this.currentTheme = theme;
- document.body.setAttribute('data-theme', theme.value); // Needed to let ngb-popover and ngb-modals work properly with themes
- }
- getAvailableThemes() {
- return this.themes;
- }
- getCurrentTheme() {
- return this.currentTheme;
- }
- }
- 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(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) {
- const 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) {
- const 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"]();
- } }
- const _c0 = function (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) {
- const titles_r12 = ctx.$implicit;
- const i_r13 = ctx.index;
- const 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) {
- const 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) {
- const docTitles_r17 = ctx.$implicit;
- const i_r18 = ctx.index;
- const 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) {
- const 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) {
- const 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) {
- const textLangs_r23 = ctx.$implicit;
- const i_r24 = ctx.index;
- const 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) {
- const 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) {
- const 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) {
- const authors_r31 = ctx.$implicit;
- const i_r32 = ctx.index;
- const 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) {
- const 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) {
- const docAuthors_r36 = ctx.$implicit;
- const i_r37 = ctx.index;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- let MsItemComponent = class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWl0ZW0uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSxlQUFBO0FBQ0o7O0FBRUE7RUFDSSxlQUFBO0FBQ0o7O0FBRUE7RUFDSSxlQUFBO0VBQ0EsbUJBQUE7QUFDSjs7QUFHSTtFQUNJLGdCQUFBO0FBQVI7O0FBR0k7RUFDSSxnQkFBQTtBQURSOztBQUtBO0VBQ0ksbUJBQUE7QUFGSjs7QUFLQTtFQUNJLGdCQUFBO0FBRko7O0FBS0E7RUFDSSxnQkFBQTtBQUZKOztBQUtBO0VBQ0ksa0JBQUE7QUFGSjs7QUFLQTtFQUNJLGlCQUFBO0FBRko7O0FBS0E7RUFDSSxrQkFBQTtBQUZKOztBQUtBO0VBRVE7SUFDSSxlQUFBO0VBSFY7RUFNTTtJQUNJLGVBQUE7RUFKVjtBQUNGOztBQVFBO0VBRVE7SUFDSSxnQkFBQTtFQVBWO0VBVU07SUFDSSxnQkFBQTtFQVJWO0FBQ0Y7O0FBWUE7RUFFUTtJQUNJLGVBQU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tcbiAgICAgICAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICAgICAgfVxuICAgICAgICBcbiAgICAgICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA2MzlweCkge1xuICAgIC5oYXMtbmVzdGVkMSwgLmhhcy1uZXN0ZWQye1xuICAgICAgICAuZmxleC1pdGVtLWxvY3VzIHtcbiAgICAgICAgICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgICAgICAgZmxleC1iYXNpczogMTAwJTtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDgwMHB4KSB7XG4gICAgLmhhcy1uZXN0ZWQxLCAuaGFzLW5lc3RlZDJ7XG4gICAgICAgIC5mbGV4LWl0ZW0tbG9jdXMge1xuICAgICAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgICB9XG4gICAgICAgIFxuICAgICAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICAgICAgfVxuICAgIH1cbn0iXX0= */"] });
- 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(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");
- const _c0 = ["ngSelectComponent"];
- class MsDescSelectorComponent {
- constructor(evtModelService) {
- 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"]();
- }
- set msDescID(p) {
- this._msDescID = p;
- }
- get msDescID() { return this._msDescID; }
- openMsDescContent() {
- this.selectionChange.emit(this.msDescID);
- this.msDescOpen.emit(true);
- }
- resetMsDesc() {
- this.msDescOpen.emit(false);
- }
- }
- 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) {
- let _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(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
- class 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
- class 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
- class 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(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;
- let ZoneParser = ZoneParser_1 = class ZoneParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
- }
- parse(xml) {
- var _a, _b;
- let coords;
- const attributes = this.attributeParser.parse(xml);
- if (xml.getAttribute('points')) {
- coords = attributes.points.split(' ')
- .map(stringPoint => {
- const points = stringPoint.split(',');
- return {
- x: parseInt(points[0], 10),
- y: parseInt(points[1], 10),
- };
- });
- }
- else {
- const ul = {
- x: parseFloat(attributes.ulx) || undefined,
- y: parseFloat(attributes.uly) || undefined,
- };
- const lr = {
- x: parseFloat(attributes.lrx) || undefined,
- y: parseFloat(attributes.lry) || undefined,
- };
- const ur = {
- x: lr.x,
- y: ul.y,
- };
- const ll = {
- x: ul.x,
- y: lr.y,
- };
- coords = [ul, ur, lr, ll];
- }
- const id = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["getID"])(xml);
- const surface = xml.closest('surface');
- return {
- type: _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["Zone"],
- attributes,
- id,
- 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) : '',
- };
- }
- };
- ZoneParser = ZoneParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('zone', ZoneParser_1)
- ], ZoneParser);
- let GraphicParser = GraphicParser_1 = class GraphicParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
- }
- 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),
- };
- }
- };
- GraphicParser = GraphicParser_1 = Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"])([
- Object(___WEBPACK_IMPORTED_MODULE_1__["xmlParser"])('graphic', GraphicParser_1)
- ], GraphicParser);
- let SurfaceParser = SurfaceParser_1 = class SurfaceParser extends _basic_parsers__WEBPACK_IMPORTED_MODULE_3__["EmptyParser"] {
- constructor() {
- super(...arguments);
- this.attributeParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(_basic_parsers__WEBPACK_IMPORTED_MODULE_3__["AttributeParser"], this.genericParse);
- this.graphicParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(GraphicParser, this.genericParse);
- this.zoneParser = Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["createParser"])(ZoneParser, this.genericParse);
- }
- parse(xml) {
- var _a;
- const zones = Array.from(xml.querySelectorAll('zone')).map(z => this.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(g => this.graphicParser.parse(g)),
- zones: {
- lines: zones.filter(z => z.rendition === 'Line'),
- hotspots: zones.filter(z => z.rendition === 'HotSpot'),
- },
- attributes: this.attributeParser.parse(xml),
- content: Object(_parser_models__WEBPACK_IMPORTED_MODULE_4__["parseChildren"])(xml, this.genericParse),
- };
- }
- };
- 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(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) { }
- const _c0 = function (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) {
- const list_r6 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- const _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));
- } }
- const _c1 = function () { return { icon: "network-wired", additionalClasses: "mr-1" }; };
- function GlobalListsComponent_div_4_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- const _c2 = function (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) {
- const 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) {
- const 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) { }
- const _c3 = function (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) {
- const sublist_r21 = ctx.$implicit;
- const last_r22 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](3);
- const _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) {
- const 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);
- } }
- const _c4 = function (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) {
- const _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); const list_r13 = ctx.list; const 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) {
- const list_r13 = ctx.list;
- const last_r14 = ctx.last;
- const 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);
- } }
- class GlobalListsComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.lists$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(ne => (ne.persons.lists.concat(ne.places.lists, ne.organizations.lists, ne.events.lists))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(lists => (lists.map(list => (Object.assign(Object.assign({}, list), { icon: this.listsIcons[list.namedEntityType] || 'list' }))))), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["tap"])(lists => {
- if (!this.selectedList && lists[0]) {
- this.openList(undefined, lists[0]);
- }
- }));
- this.relations$ = this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["map"])(ne => ne.relations));
- this.showRelations = false;
- this.listsIcons = {
- person: 'user',
- place: 'map-marker',
- org: 'users',
- event: 'calendar',
- };
- }
- openList(event, list) {
- if (event) {
- event.stopPropagation();
- }
- if (this.selectedList !== list) {
- this.selectedList = list;
- }
- this.showRelations = false;
- }
- openRelations() {
- this.showRelations = true;
- this.selectedList = undefined;
- }
- }
- 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(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) {
- const 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) {
- const ctx_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const label_r4 = ctx_r10.label;
- const class_r6 = ctx_r10.class;
- const 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) {
- const items_r5 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r5 == null ? null : items_r5.length) > 0);
- } }
- const _c0 = function (a1) { return { label: "rendition", items: a1, class: "rendition" }; };
- const _c1 = function (a1) { return { label: "namespace", items: a1, class: "namespace" }; };
- let TagsDeclComponent = class 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) {
- const _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(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");
- const _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,
- }
- */
- class OsdComponent {
- constructor(http) {
- 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((x) => {
- if (!!this.viewer) {
- this.viewer.goToPage(x - 1);
- }
- }));
- }
- set options(v) {
- if (v !== this._options) {
- this._options = v;
- this.optionsChange.next(this._options);
- }
- }
- get options() { return this._options; }
- set viewerData(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);
- }
- set page(v) {
- if (v !== this._page) {
- this._page = v;
- this.pageChange.next(this._page);
- }
- }
- get page() { return this._page; }
- ngAfterViewInit() {
- 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);
- const 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(([_, tileSources]) => {
- if (!!tileSources) {
- this.viewer = OpenSeadragon(Object.assign(Object.assign({}, commonOptions), { tileSources }));
- }
- else {
- this.viewer = OpenSeadragon(Object.assign(Object.assign({}, commonOptions), this.options));
- }
- this.viewer.addHandler('page', ({ page }) => {
- this.pageChange.next(page + 1);
- });
- }));
- }
- ngOnDestroy() {
- this.subscriptions.forEach((s) => s.unsubscribe());
- }
- }
- 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) {
- let _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(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) { }
- const _c0 = function (a1) { return { key: "fileDesc", data: a1 }; };
- const _c1 = function (a1) { return { key: "encodingDesc", data: a1 }; };
- const _c2 = function (a1) { return { key: "profileDesc", data: a1 }; };
- const _c3 = function (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) {
- const projectInfo_r3 = ctx.ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- const _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));
- } }
- const _c4 = function (a0, a1, a2) { return { hidden: a0, "bg-dark": a1, "text-light": a2 }; };
- function ProjectInfoComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
- const _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); const key_r8 = ctx.key; const data_r9 = ctx.data; const 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) {
- const key_r8 = ctx.key;
- const data_r9 = ctx.data;
- const 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), " ");
- } }
- class ProjectInfoComponent {
- constructor(evtModelService) {
- 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"])((info) => this.openSection('fileDesc', info.fileDesc)));
- }
- openSection(key, content) {
- this.selectedSection = { key, content };
- }
- }
- 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(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");
- class 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(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");
- class CharacterDeclarationsParserService {
- constructor() {
- 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"]);
- }
- parseChars(xml) {
- if (!xml) {
- return [];
- }
- return Array.from(xml.querySelectorAll('char')).map(c => this.charParser.parse(c));
- }
- parseGlyphs(xml) {
- if (!xml) {
- return [];
- }
- return Array.from(xml.querySelectorAll('glyph')).map(g => this.glyphParser.parse(g));
- }
- }
- 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(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");
- const _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) {
- const context_r3 = ctx.ngIf;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
- const _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) {
- const parsedContent_r5 = ctx.parsedContent;
- const inputs_r6 = ctx.inputs;
- const outputs_r7 = ctx.outputs;
- const attributes_r8 = ctx.attributes;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ndcDynamicComponent", parsedContent_r5.type)("ndcDynamicInputs", inputs_r6)("ndcDynamicOutputs", outputs_r7)("ndcDynamicAttributes", attributes_r8);
- } }
- class ContentViewerComponent {
- constructor(componentRegister, entitiesSelectService, lemsSelectService, iperlemsSelectService) {
- 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"])((data) => {
- var _a;
- return (Object.assign(Object.assign({}, data), { type: this.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"]) || this.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"])(([data, itemsToHighlight, itemsLemsToHighlight, itemsIperlemsToHighlight, editionLevel, textFlow]) => {
- if (this.toBeHighlighted()) {
- return {
- data,
- highlightData: this.getHighlightData(data, itemsToHighlight),
- highlightDataLem: this.getHighlightDataLem(data, itemsLemsToHighlight),
- highlightDataIperlem: this.getHighlightDataIperlem(data, itemsIperlemsToHighlight),
- itemsToHighlight,
- itemsLemsToHighlight,
- itemsIperlemsToHighlight,
- editionLevel,
- textFlow,
- };
- }
- return {
- data,
- editionLevel,
- 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"])(() => ({})), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["shareReplay"])(1));
- this.attributes = this.contentChange.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["filter"])(parsedContent => !!parsedContent), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((parsedContent) => (Object.assign(Object.assign({}, parsedContent.attributes || {}), { class: `edition-font ${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"])(([parsedContent, inputs, outputs, attributes]) => ({ parsedContent, inputs, outputs, attributes })));
- }
- set content(v) {
- this.v = v;
- this.contentChange.next(v);
- }
- get content() { return this.v; }
- set itemsToHighlight(i) {
- this.ith = i;
- this.itemsToHighlightChange.next(i);
- }
- get itemsToHighlight() { return this.ith; }
- set itemsLemsToHighlight(i) {
- this.ithlems = i;
- this.itemsLemsToHighlightChange.next(i);
- }
- get itemsLemsToHighlight() { return this.ithlems; }
- set itemsIperlemsToHighlight(i) {
- this.ithiperlems = i;
- this.itemsIperlemsToHighlightChange.next(i);
- }
- get itemsIperlemsToHighlight() { return this.ithiperlems; }
- set editionLevel(el) {
- this.edLevel = el;
- this.editionLevelChange.next(el);
- }
- get editionLevel() { return this.edLevel; }
- set textFlow(t) {
- this.txtFlow = t;
- this.textFlowChange.next(t);
- }
- get textFlow() { return this.txtFlow; }
- toBeHighlighted() {
- return true; // TODO: Decide when an item should be highlighted
- }
- getHighlightData(data, ith) {
- var _a, _b;
- return {
- highlight: (_a = ith === null || ith === void 0 ? void 0 : ith.some(i => { var _a; return this.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),
- };
- }
- getHighlightDataLem(data, ithlems) {
- var _a, _b;
- return {
- highlight: (_a = ithlems === null || ithlems === void 0 ? void 0 : ithlems.some(i => { var _a; return this.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),
- };
- }
- getHighlightDataIperlem(data, ithiperlems) {
- var _a, _b;
- return {
- highlight: (_a = ithiperlems === null || ithiperlems === void 0 ? void 0 : ithiperlems.some(i => { var _a; return this.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),
- };
- }
- ngOnDestroy() {
- if (this.componentRef) {
- this.componentRef.destroy();
- this.componentRef = undefined;
- }
- }
- }
- 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) {
- let _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(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");
- const _c0 = ["collationPanel"];
- function CollationComponent_gridster_7_gridster_item_1_Template(rf, ctx) { if (rf & 1) {
- const _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); const i_r4 = ctx.index; const 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) {
- const 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) {
- const 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());
- } }
- class CollationComponent {
- constructor(evtStatusService) {
- 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"])(({ page }) => page.id));
- }
- get witnessBtn() {
- return {
- label: this.witnesses.length > 0 ? '' : 'addWitness',
- title: this.witnesses.length > 0 ? 'addWitness' : '',
- additionalClasses: `btn-floating ${this.witnesses.length > 0 ? 'rounded-circle' : ''}`,
- icon: { iconSet: 'fas', icon: 'plus' },
- };
- }
- ngOnInit() {
- this.initGridster();
- }
- changePage(selectedPage) {
- this.evtStatusService.updatePage$.next(selectedPage);
- }
- getWitnesses() {
- return this.witnesses;
- }
- addWitness() {
- const id = (this.witnesses.length + 1).toString(); // TODO: TEMP
- const newWit = {
- label: id,
- itemConfig: { cols: 1, rows: 1, y: 0, x: this.witnesses.length + 1, id },
- };
- this.witnesses.push(newWit); // TODO: TEMP
- this.updateGridsterOptions();
- // TODO: Come gestiamo la rotta nel caso di testimoni collazionati?
- }
- removeWitness(index) {
- this.witnesses.splice(index, 1);
- this.updateGridsterOptions();
- }
- 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),
- };
- }
- itemChange() {
- const updatedWitList = [];
- for (const witItem of this.witnesses) {
- const witIndex = witItem.itemConfig.x;
- updatedWitList[witIndex] = witItem.label;
- }
- // TODO: Use this list to update URL params
- console.log('TODO! Use this list to update URL params', updatedWitList);
- }
- 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();
- }
- 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();
- }
- }
- updateFixedColWidth() {
- const collationPanelEl = this.collationPanel.nativeElement;
- const fixedColWidth = collationPanelEl.clientWidth * 0.416666666667;
- this.collationOptions.fixedColWidth = this.witnesses.length > 2 ? fixedColWidth : undefined;
- this.changedOptions();
- }
- ngOnDestroy() {
- this.subscriptions.forEach(subscription => subscription.unsubscribe());
- }
- }
- 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) {
- let _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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uLy4uL2NvbGxhdGlvbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyQkE7RUFDSSx5QkFBQTtFQUNBLHdCQUFBO0FDMUJKOztBQUFBO0VBQ0ksWUFBQTtBQUdKOztBQUFBO0VBQ0ksWUFBQTtBQUdKOztBQUZJO0VBQ0ksYUFBQTtBQUlSOztBQUZRO0VBQ0ksWUFBQTtBQUlaOztBQUNBO0VBQ0ksa0JBQUE7RUFDQSxjQUFBO0VBQ0EsNkJBQUE7RUFDQSxRQUFBO0VBQ0EsY0FBQTtFQUNBLFlBQUE7QUFFSjs7QUFESTtFQUNJLFVBQUE7QUFHUiIsImZpbGUiOiJjb2xsYXRpb24uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGV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bkBpbXBvcnQgXCIuLi8uLi8uLi9hc3NldHMvc2Nzcy9taXhpbnNcIjtcblxuLnJvdyB7XG4gICAgaGVpZ2h0OiAxMDAlO1xufVxuXG4uY29sbGF0aW9uUGFuZWwge1xuICAgIGhlaWdodDogMTAwJTtcbiAgICAmLmVtcHR5IHtcbiAgICAgICAgZGlzcGxheTogZmxleDtcblxuICAgICAgICAuYnRuIHtcbiAgICAgICAgICAgIG1hcmdpbjogYXV0bztcbiAgICAgICAgfVxuICAgIH1cbn1cblxuLmJ0bi1mbG9hdC1yaWdodCB7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHJpZ2h0OiAtLjNyZW07XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUoMCwtNTAlKTtcbiAgICB0b3A6IDUwJTtcbiAgICB6LWluZGV4OiA5OTk5OTtcbiAgICBvcGFjaXR5OiAuNTtcbiAgICAmOmhvdmVyIHtcbiAgICAgICAgb3BhY2l0eTogMTtcbiAgICB9XG59Il19 */"] });
- /*@__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(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");
- class ViewerController {
- constructor(classes) {
- this.factories = Object.fromEntries(Object.entries(classes).map(([key, value]) => ([key, new value()])));
- }
- getSource(source, type) {
- return this.factories[type].getSource(source);
- }
- getTileSource(change, type, http) {
- return this.factories[type].getTileSource(change, http);
- }
- getDataType(type, data) {
- return this.factories[type].getDataType(type, data);
- }
- }
- class ManifestSource {
- getDataType(key) {
- return {
- type: key,
- value: {
- manifestURL: _app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.files.editionImagesSource[key].value,
- },
- };
- }
- getSource(source) {
- return source.value.manifestURL;
- }
- getTileSource(change, http) {
- return (change
- .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["filter"])((url) => !!url), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["distinctUntilChanged"])(), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["switchMap"])((url) => http.get(url)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["map"])((manifest) => manifest // get the resource fields in the manifest json structure
- .sequences.map((seq) => seq.canvases.map((canv) => canv.images).reduce((x, y) => x.concat(y), []))
- .reduce((x, y) => x.concat(y), []).map((res) => res.resource)
- .map(this.buildTileSource))));
- }
- 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,
- };
- }
- }
- class XMLSource {
- getDataType(key, data) {
- const localImagesFolder = _app_config__WEBPACK_IMPORTED_MODULE_1__["AppConfig"].evtSettings.files.imagesFolderUrl;
- const xmlImages = data.map(s => 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 } };
- }
- getSource(source) {
- return source.value.xmlImages;
- }
- getTileSource(change) {
- return (change
- .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["map"])((value) => value.map(this.buildTileSource))));
- }
- buildTileSource(resource) {
- return {
- type: 'image',
- url: resource.url,
- width: resource.width,
- height: resource.height,
- };
- }
- }
- const ViewerModels = Object.freeze({
- manifest: ManifestSource,
- graphics: XMLSource,
- default: XMLSource,
- });
- const ViewerSource = new ViewerController(ViewerModels);
- /***/ }),
- /***/ "uIHG":
- /*!***************************************************************!*\
- !*** ./src/app/components/additional/additional.component.ts ***!
- \***************************************************************/
- /*! exports provided: AdditionalComponent */
- /***/ (function(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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- let AdditionalComponent = class 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=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2FkZGl0aW9uYWwuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxtQkFBQTtBQUNKOztBQUVBO0VBQ0ksY0FBQTtBQUNKOztBQUVBO0VBQ0ksYUFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtBQUNKOztBQUVBO0VBQ0ksZ0JBQUE7QUFDSjs7QUFFQTtFQUNJLGdCQUFBO0VBQ0EscUJBQUE7QUFDSjs7QUFFQTtFQUNJO0lBQ0ksZUFBQTtFQUNOOztFQUVFO0lBQ0ksZUFBQTtFQUNOO0FBQ0YiLCJmaWxlIjoiYWRkaXRpb25hbC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5hZGRpdGlvbmFsIHtcbiAgICBtYXJnaW4tYm90dG9tOiAycmVtO1xufVxuXG4ucHJvamVjdEluZm8tYmxvY2sge1xuICAgIGRpc3BsYXk6IGJsb2NrO1xufVxuXG4uZmxleC1jb250YWluZXIge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgICBmbGV4LXdyYXA6IHdyYXA7XG59XG5cbi5mbGV4LWl0ZW0tbGFiZWwge1xuICAgIGZsZXgtYmFzaXM6IDEwMCU7XG59XG5cbi5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gICAgbWFyZ2luLWJvdHRvbTogMC43cmVtO1xufVxuXG5AbWVkaWEgKG1pbi13aWR0aDogMTQwMHB4KSB7IFxuICAgIC5mbGV4LWl0ZW0tbGFiZWwge1xuICAgICAgICBmbGV4LWJhc2lzOiAyMCU7XG4gICAgICB9XG4gICAgICBcbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczogODAlO1xuICAgIH1cbiB9XG4iXX0= */"] });
- 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(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) {
- const 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) {
- const 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) {
- const _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); const 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) {
- const 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) {
- const subj_r8 = ctx.$implicit;
- const i_r9 = ctx.index;
- const 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) {
- const note_r10 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("content", note_r10);
- } }
- let RespStmtComponent = class RespStmtComponent {
- openNormalizedResp(resp) {
- if (resp.normalizedResp) {
- window.open(resp.normalizedResp, '_blank');
- }
- }
- };
- 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(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) {
- const 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) { }
- const _c0 = function (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) {
- const part_r8 = ctx.$implicit;
- const last_r9 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const part_r11 = ctx.$implicit;
- const last_r12 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const part_r14 = ctx.$implicit;
- const last_r15 = ctx.last;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const _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); const part_r19 = ctx.part; const 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) {
- const part_r19 = ctx.part;
- const 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 ? ", " : ""));
- } }
- const _c1 = function (a0, a1) { return { "p-3": a0, "border-bottom": a1 }; };
- const _c2 = function () { return { icon: "network-wired", additionalClasses: "mr-2" }; };
- let NamedEntityRelationComponent = class NamedEntityRelationComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.activeParts$ = this.getEntities('activeParts');
- this.mutualParts$ = this.getEntities('mutualParts');
- this.passiveParts$ = this.getEntities('passiveParts');
- }
- toggleEntity(entity) {
- // TODO: if inEntity, then open entity in list
- if (!this.inEntity) {
- if (this.selectedEntity === entity) {
- this.selectedEntity = undefined;
- }
- else {
- this.selectedEntity = entity;
- }
- }
- }
- getEntities(partIdsGroup) {
- return this.evtModelService.namedEntities$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(ne => this.data[partIdsGroup].map(entityId => {
- const entity = ne.all.entities.find(e => e.id === entityId);
- return {
- id: entityId,
- entity,
- get label() {
- return (entity ? entity.label : entityId);
- },
- };
- })), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(nes => nes.filter(e => !!e)));
- }
- };
- 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;\n}\n.relation-description[_ngcontent-%COMP%] {\n font-size: 90%;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uI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Rpc3BsYXk6IGJsb2NrO1xuICBtYXJnaW4tdG9wOiAxNHB4O1xuICB0ZXh0LWFsaWduOiBsZWZ0O1xufSJdfQ== */"] });
- 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(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");
- const 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"] },
- ];
- class 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(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) {
- const 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) {
- const 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);
- } }
- let CharComponent = class 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(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");
- const _c0 = function () { return { icon: "search" }; };
- const _c1 = function () { return { icon: "times" }; };
- function NamedEntitiesListComponent_div_1_form_1_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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); const 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); const 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) {
- const 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) {
- const _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); const key_r10 = ctx.$implicit; const 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) {
- const key_r10 = ctx.$implicit;
- const 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) {
- const _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); const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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"), " ");
- } }
- let NamedEntitiesListComponent = class NamedEntitiesListComponent {
- constructor() {
- this.searchedEntities = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
- this.navigationKeys = [];
- this.searchOpened = false;
- this.querySearch = '';
- this.querySearchSubmitted = '';
- this.caseSensitiveSearch = false;
- }
- set selectedKey(k) {
- this._selectedKey = k;
- }
- get selectedKey() { return this._selectedKey; }
- ngOnInit() {
- this.initKeys();
- }
- ngOnChanges() {
- this.initKeys();
- }
- toggleSearch() {
- this.searchOpened = !this.searchOpened;
- this.querySearch = '';
- this.querySearchSubmitted = '';
- this.searchedEntities.emit(this.querySearch);
- }
- toggleCaseSensitiveSearch(event) {
- this.caseSensitiveSearch = event.active;
- }
- initKeys() {
- if (!!this.data && !!this.data.content && this.data.content.length > 0) {
- this.navigationKeys = this.data.content
- .filter(el => el.namedEntityType === this.data.namedEntityType)
- .map(el => { var _a; return (_a = el.sortKey) === null || _a === void 0 ? void 0 : _a.substr(0, 1).toLowerCase(); })
- .filter((item, i, ar) => item && ar.indexOf(item) === i)
- .sort();
- this.selectedKey = this.navigationKeys[0] || '';
- }
- }
- };
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25hbWVkLWVudGl0aWVzLWxpc3QuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUFDSSxZQUFBO0FBREo7O0FBSUE7RUNDRSxxQkFBQTtFQUVBLGtCQUFBO0FEQUYiLCJmaWxlIjoibmFtZWQtZW50aXRpZXMtbGlzdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgJy4uLy4uLy4uL2Fzc2V0cy9zY3NzL21peGlucyc7XG5cbi5jYXJkIHtcbiAgICBoZWlnaHQ6IDEwMCU7XG59XG5cbmNkay12aXJ0dWFsLXNjcm9sbC12aWV3cG9ydCB7XG4gICAgQGluY2x1ZGUgY2FsYygnaGVpZ2h0JywgJzEwMCUnKTtcbn0iLCIvLyAvLy8vLy8vLy8vLy8vLy8vLy8gLy9cbi8vIEdMT0JBTCBTQ1NT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XG4gICAgICBib3JkZXItbGVmdC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICB9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cbkBtaXhpbiBpcGVybGVtbWF0aXplZEVudGl0eVJlZkNvbG9ycygkY29sb3ItYmFzZSwgJGNvbG9yLW1pZGRsZSwgJGNvbG9yLWRhcmtlcikge1xuICBiYWNrZ3JvdW5kOiAkY29sb3ItYmFzZTtcbiAgYm9yZGVyLWJvdHRvbS1jb2xvcjogJGNvbG9yLW1pZGRsZTtcblxuICAmLmFjdGl2ZSB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICBib3JkZXItcmlnaHQtY29sb3I6ICRjb2xvci1taWRkbGU7XG5cbiAgICAmOm5vdCg6Zmlyc3QtY2hpbGQpIHtcbiAgICAgIGJvcmRlci1sZWZ0LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICAgIH1cbiAgfVxuXG4gICY6aG92ZXIge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gIH1cbn1cblxuXG5AbWl4aW4gaGVhZGVyU2VjdGlvblRpdGxlKCkge1xuICBib3JkZXItYm90dG9tOiAxcHggZG90dGVkICM2NjY7XG4gIG1hcmdpbi1ib3R0b206IDVweDtcbiAgZm9udC12YXJpYW50OiBzbWFsbC1jYXBzO1xuICBjb2xvcjogIzAwMDtcbiAgZm9udC1zaXplOiAxLjJyZW07XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBtYXJnaW4tdG9wOiAxNHB4O1xuICB0ZXh0LWFsaWduOiBsZWZ0O1xufSJdfQ== */"] });
- 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(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) {
- const 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) {
- const refByDoc_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]().$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", refByDoc_r1.refs);
- } }
- const _c0 = function () { return ["auto"]; };
- function NamedEntityOccurrenceComponent_span_0_Template(rf, ctx) { if (rf & 1) {
- const _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); const refByDoc_r1 = ctx.$implicit; const 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) {
- const refByDoc_r1 = ctx.$implicit;
- const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](6);
- const 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, " ");
- } }
- class NamedEntityOccurrenceComponent {
- constructor(evtModelService, evtStatusService) {
- this.evtModelService = evtModelService;
- this.evtStatusService = evtStatusService;
- }
- goToOccurrenceRef(ref) {
- this.evtModelService.pages$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_1__["take"])(1)).subscribe(pages => {
- const page = pages.find(p => p.id === this.occurrence.pageId);
- this.evtStatusService.updateDocument$.next(ref.docId);
- this.evtStatusService.updatePage$.next(page);
- this.evtStatusService.currentNamedEntityId$.next(this.entityId);
- });
- }
- }
- 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(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);
- } }
- const _c0 = function (a1) { return { label: "publisher", items: a1, class: "publisher" }; };
- const _c1 = function (a1) { return { label: "distributor", items: a1, class: "distributor" }; };
- const _c2 = function (a1) { return { label: "authority", items: a1, class: "authority" }; };
- const _c3 = function (a1) { return { label: "publicationPlace", items: a1, class: "pubPlace" }; };
- const _c4 = function (a1) { return { label: "address", items: a1, class: "address" }; };
- const _c5 = function (a1) { return { label: "idno", items: a1, class: "idno" }; };
- const _c6 = function (a1) { return { label: "availability", items: a1, class: "availability" }; };
- const _c7 = function (a1) { return { label: "date", items: a1, class: "date" }; };
- const _c8 = function (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) {
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const ctx_r21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- const label_r15 = ctx_r21.label;
- const class_r17 = ctx_r21.class;
- const 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) {
- const items_r16 = ctx.items;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", (items_r16 == null ? null : items_r16.length) > 0);
- } }
- let PublicationStmtComponent = class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3B1YmxpY2F0aW9uLXN0bXQuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUMyRkUsOEJBQUE7RUFDQSxrQkFBQTtFQUNBLHdCQUFBO0VBQ0EsV0FBQTtFQUNBLGlCQUFBO0VBQ0EsY0FBQTtFQUNBLGdCQUFBO0VBQ0EsZ0JBQUE7QUQzRkYiLCJmaWxlIjoicHVibGljYXRpb24tc3RtdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgJy4uLy4uLy4uL2Fzc2V0cy9zY3NzL21peGlucyc7XG5cbi5tYWluLXNlY3Rpb24tdGl0bGUge1xuICAgIEBpbmNsdWRlIGhlYWRlclNlY3Rpb25UaXRsZSgpXG59IiwiLy8gLy8vLy8vLy8vLy8vLy8vLy8vIC8vXG4vLyBHTE9CQUwgU0NTUyBNSVhJTlMgLy9cbi8vIC8vLy8vLy8vLy8vLy8vLy8vLyAvL1xuXG4vLyBTZXQgY2FsY3VsYXRlZCBwcm9wZXJ0eVxuQG1peGluIGNhbGMoJHByb3BlcnR5LCAkZXhwcmVzc2lvbiwgJGltcG9ydGFudDpcIlwiKSB7XG4gICN7JHByb3BlcnR5fTogLW1vei1jYWxjKCN7JGV4cHJlc3Npb259KSAjeyRpbXBvcnRhbnR9O1xuICAjeyRwcm9wZXJ0eX06IC1vLWNhbGMoI3skZXhwcmVzc2lvbn0pICN7JGltcG9ydGFudH07XG4gICN7JHByb3BlcnR5fTogLXdlYmtpdC1jYWxj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WRkbGU7XG5cbiAgJi5hY3RpdmUge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgYm9yZGVyLXJpZ2h0LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuXG4gICAgJjpub3QoOmZpcnN0LWNoaWxkKSB7XG4gICAgICBib3JkZXItbGVmdC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICB9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cblxuQG1peGluIGhlYWRlclNlY3Rpb25UaXRsZSgpIHtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
- 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(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) {
- const 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) {
- const 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"]();
- } }
- const _c0 = function (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) {
- const textLangs_r6 = ctx.$implicit;
- const i_r7 = ctx.index;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- let MsContentsComponent = class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL21zLWNvbnRlbnRzLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsbUJBQUE7QUFDRjs7QUFFQTtFQUNFLGFBQUE7RUFDQSxtQkFBQTtFQUNBLGVBQUE7QUFDRjs7QUFFQTtFQUNFLGdCQUFBO0FBQ0Y7O0FBRUE7RUFDRSxnQkFBQTtFQUNBLHFCQUFBO0FBQ0Y7O0FBRUE7RUFDRTtJQUNJLGVBQUE7RUFDSjs7RUFFQTtJQUNJLGVBQUE7RUFDSjtBQUNGOztBQUVBO0VBQ0U7SUFDSSxnQkFBQTtFQUFKOztFQUdBO0lBQ0ksZ0JBQUE7RUFBSjtBQUNGOztBQUdBO0VBQ0U7SUFDSSxlQUFBO0VBREo7O0VBSUE7SUFDSSxlQUFBO0VBREo7QUFDRiIsImZpbGUiOiJtcy1jb250ZW50cy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5tc0NvbnRlbnRzIHtcbiAgbWFyZ2luLWJvdHRvbTogMnJlbTtcbn1cblxuLmZsZXgtY29udGFpbmVyIHtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgZmxleC13cmFwOiB3cmFwO1xufVxuXG4uZmxleC1pdGVtLWxhYmVsIHtcbiAgZmxleC1iYXNpczogMTAwJTtcbn1cblxuLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gIGZsZXgtYmFzaXM6IDEwMCU7XG4gIG1hcmdpbi1ib3R0b206IDAuN3JlbTtcbn1cblxuQG1lZGlhIChtaW4td2lkdGg6IDUwNXB4KSB7IFxuICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgIGZsZXgtYmFzaXM6IDIwJTtcbiAgICB9XG4gICAgXG4gIC5mbGV4LWl0ZW0taW5mb3JtYXRpb24ge1xuICAgICAgZmxleC1iYXNpczogODAlO1xuICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA2MzlweCkge1xuICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgIGZsZXgtYmFzaXM6IDEwMCU7XG4gIH1cblxuICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgIGZsZXgtYmFzaXM6MTAwJVxuICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiAxMDUwcHgpIHsgXG4gIC5mbGV4LWl0ZW0tbGFiZWwge1xuICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgIH1cbiAgICBcbiAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICBmbGV4LWJhc2lzOiA4MCU7XG4gIH1cbn1cbiJdfQ== */"] });
- 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(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);
- } }
- const _c0 = function (a0) { return { "clicked-item": a0 }; };
- const _c1 = function (a0) { return { "clicked-item-par": a0 }; };
- function ManuscriptThumbnailsViewerComponent_ng_template_2_ng_container_0_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
- const _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); const item_r9 = ctx.$implicit; const 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) {
- const item_r9 = ctx.$implicit;
- const 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) {
- const row_r7 = ctx.$implicit;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", row_r7);
- } }
- const _c2 = function (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) {
- const page_r4 = ctx.$implicit;
- const i_r5 = ctx.index;
- const 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);
- } }
- const _c3 = function () { return { icon: "caret-left" }; };
- const _c4 = function () { return { icon: "caret-right" }; };
- function ManuscriptThumbnailsViewerComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
- const _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); const 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); const 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) {
- const 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));
- } }
- class ManuscriptThumbnailsViewerComponent {
- constructor(evtStatusService) {
- 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"])(p => this.items.find(i => i.id === p.id)));
- }
- ngOnInit() {
- this._setup();
- }
- ngOnChanges(changes) {
- if (Object.keys(changes).some(k => changes[k].currentValue !== changes[k].previousValue)) {
- this._setup();
- }
- }
- _setup() {
- this.items = this.pages.map((page) => ({ 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;
- const gridSize = this.col * this.row;
- this.grid = Array(Math.ceil(this.items.length / gridSize)).fill(1)
- .map((_, i) => this.items.slice(i * gridSize, i * gridSize + gridSize))
- .map((p) => Array(this.row).fill(1).map((_, i) => p.slice(i * this.col, i * this.col + this.col)));
- }
- isValid(value) {
- return !(isNaN(value) || value <= 0);
- }
- goToPrevPage() {
- this.indexPage = Math.max(0, this.indexPage - 1);
- }
- goToNextPage() {
- this.indexPage = Math.min(this.indexPage + 1, this.grid.length - 1);
- }
- goToThumbPage(item) {
- this.evtStatusService.updatePage$.next(this.pages.find(p => p.id === item.id));
- this.clickedItem.emit(item);
- }
- }
- 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) {
- const _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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL192YXJpYWJsZXMuc2NzcyIsIi4uLy4uLy4uLy4uL21hbnVzY3JpcHQtdGh1bWJuYWlscy12aWV3ZXIuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fdGhlbWVzLnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMkJBO0VBQ0kseUJBQUE7RUFDQSx3QkFBQTtBQzFCSjs7QUFDQTtFQUNJLFlBQUE7RUFJQSxjQUFBO0VBQ0Esa0JBQUE7QUFESjs7QUNnRlE7RURsRkEseUJBQUE7QUFLUjs7QUM2RVE7RURsRkEsc0JBQUE7QUFRUjs7QUMwRVE7RURsRkEseUJBQUE7QUFXUjs7QUN1RVE7RURsRkEseUJBQUE7QUFjUjs7QUFUQTtFQUNJLGFBQUE7RUFJQSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0FBU0o7O0FDNkRRO0VEMUVBLHlCQUFBO0FBZ0JSOztBQzB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odC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcblxuICAgICY6bm90KDpmaXJzdC1jaGlsZCkge1xuICAgICAgYm9yZGVyLWxlZnQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgfVxuICB9XG5cbiAgJjpob3ZlciB7XG4gICAgYmFja2dyb3VuZC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgfVxufVxuXG5cbkBtaXhpbiBoZWFkZXJTZWN0aW9uVGl0bGUoKSB7XG4gIGJvcmRlci1ib3R0b206IDFweCBkb3R0ZWQgIzY2NjtcbiAgbWFyZ2luLWJvdHRvbTogNXB4O1xuICBmb250LXZhcmlhbnQ6IHNtYWxsLWNhcHM7XG4gIGNvbG9yOiAjMDAwO1xuICBmb250LXNpemU6IDEuMnJlbTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1hcmdpbi10b3A6IDE0cHg7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59Il19 */"] });
- /*@__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(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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- let PhysDescComponent = class 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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biB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICB9XG59XG5cbkBtZWRpYSAobWluLXdpZHRoOiA2NDBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMTAwJTtcbiAgICB9XG5cbiAgICAuZmxleC1pdGVtLWluZm9ybWF0aW9uIHtcbiAgICAgICAgZmxleC1iYXNpczoxMDAlXG4gICAgfVxuIH1cblxuQG1lZGlhIChtaW4td2lkdGg6IDExOTBweCkgeyBcbiAgICAuZmxleC1pdGVtLWxhYmVsIHtcbiAgICAgICAgZmxleC1iYXNpczogMjAlO1xuICAgICAgfVxuICAgICAgXG4gICAgLmZsZXgtaXRlbS1pbmZvcm1hdGlvbiB7XG4gICAgICAgIGZsZXgtYmFzaXM6IDgwJTtcbiAgICB9XG4gfVxuIl19 */"] });
- 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(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) {
- const nesApp_r9 = ctx.$implicit;
- const i_r10 = ctx.index;
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2);
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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);
- } }
- const _c0 = function (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) {
- const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](3);
- const _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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const c_r39 = ctx.$implicit;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const rdg_r29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- const 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) {
- const 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) {
- const 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) {
- const 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) {
- const c_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- const 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) {
- const c_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](2).$implicit;
- const 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) {
- const nesID_r60 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- const 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) {
- const nesID_r60 = ctx.$implicit;
- const rdgHasCounter_r50 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"](4).rdgHasCounter;
- const 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) {
- const 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) {
- const c_r52 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]().$implicit;
- const 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) {
- const c_r52 = ctx.$implicit;
- const 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) {
- const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngForOf", ctx_r7.data.lemma.content);
- } }
- let ApparatusEntryDetailComponent = ApparatusEntryDetailComponent_1 = class ApparatusEntryDetailComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- this.nestedApps = [];
- this.rdgHasCounter = false;
- }
- get significantRdg() {
- return this.data.readings.filter((rdg) => rdg.significant);
- }
- get notSignificantRdg() {
- return this.data.readings.filter((rdg) => !rdg.significant);
- }
- get readings() {
- return [this.data.lemma, ...this.significantRdg, ...this.notSignificantRdg];
- }
- get rdgMetadata() {
- return Object.keys(this.data.attributes).filter((key) => key !== 'id')
- .reduce((obj, key) => (Object.assign(Object.assign({}, obj), { [key]: this.data.attributes[key] })), {});
- }
- ngOnInit() {
- if (this.data.nestedAppsIDs.length > 0) {
- this.recoverNestedApps(this.data);
- }
- }
- recoverNestedApps(app) {
- const nesApps = app.lemma.content.filter((c) => c.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["ApparatusEntry"]);
- nesApps.forEach((nesApp) => {
- this.nestedApps = this.nestedApps.concat(nesApp);
- if (nesApp.nestedAppsIDs.length > 0) {
- this.recoverNestedApps(nesApp);
- }
- });
- }
- isAppEntry(item) {
- return item.type === _models_evt_models__WEBPACK_IMPORTED_MODULE_2__["ApparatusEntry"];
- }
- /* gestire questo FS */
- getNestedAppLemma(appId) {
- return this.nestedApps.find((c) => c.id === appId).lemma;
- }
- getNestedAppPos(appId) {
- return this.nestedApps.findIndex((nesApp) => nesApp.id === appId);
- }
- };
- 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) {
- const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵreference"](8);
- const _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%] {\n white-space: pre-wrap;\n font-size: 75%;\n margin-bottom: 0;\n margin-top: -1rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2FwcGFyYXR1cy1lbnRyeS1kZXRhaWwuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fdGhlbWVzLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUFDSSxjQUFBO0VBQ0EsVUFBQTtFQUNBLGdCQUFBO0VBQ0EsWUFBQTtBQURKO0FDb0ZRO0VEakZBLHlCQUFBO0FBQVI7QUNpRlE7RURqRkEseUJBQUE7QUFHUjtBQzhFUTtFRGpGQSx5QkFBQTtBQU1SO0FDMkVRO0VEakZBLHlCQUFBO0FBU1I7QUFMQTs7RUFFSSw2QkFBQTtFQUNBLG1CQUFBO0FBUUo7QUFMQTtFQUNJLGFBQUE7RUFDQSw4QkFBQTtFQUNBLGlCQUFBO0FBUUo7QUFMQTtFQUNJLGNBQUE7QUFRSjtBQUxBO0VBQ0ksY0FBQTtFQUNBLHFCQUFBO0VBQ0EsZUFBQTtBQVFKO0FBTEE7RUFDSSxlQUFBO0VBQ0EsNkJBQUE7RUFDQSx1QkFBQTtBQVFKO0FBUEk7RUFDSSw2QkFBQTtFQUNBLGNBQUE7RUFDQSxjQUFBO0VBQ0EseUJBQUE7RUFDQSxlQUFBO0VBQ0EsZ0JBQUE7QUFTUjtBQVJRO0VBQ0ksY0FBQTtBQVVaO0FBUEk7O0VBRUksdUJBQUE7RUFDQSxzQkFBQTt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BtYXJnaW4tcmlnaHQ6IC0wLjMxM3JlbTtcbiAgICAgICAgbWFyZ2luLWxlZnQ6IC0wLjMxM3JlbTtcbiAgICB9XG4gICAgLm5hdi1saW5rLmFjdGl2ZSxcbiAgICAudGFiLWNvbnRlbnQge1xuICAgICAgICBAaW5jbHVkZSB0aGVtaWZ5KCR0aGVtZXMpIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHRoZW1lZChcImFwcEVudHJ5Qm94QWN0aXZlVGFiQmdcIik7XG4gICAgICAgIH1cbiAgICB9XG4gICAgLnRhYi1jb250ZW50IHtcbiAgICAgICAgcGFkZGluZzogMC42MjVyZW0gMC44MTNyZW07XG4gICAgICAgIG1heC1oZWlnaHQ6IDEyLjVyZW07XG4gICAgICAgIG92ZXJmbG93OiBhdXRvO1xuICAgICAgICAuaW5mby1sZW1tYS13cmFwcGVyIHtcbiAgICAgICAgICAgIEBpbmNsdWRlIHRoZW1pZnkoJHRoZW1lcykge1xuICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCB0aGVtZWQoXCJiYXNlQm9yZGVyXCIpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IDAuNDM4cmVtO1xuICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogMC42MjVyZW07XG4gICAgICAgIH1cbiAgICAgICAgLmluZm8tcmRnIHtcbiAgICAgICAgICAgIGZvbnQtc3R5bGU6IGl0YWxpYztcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiA2MDA7XG4gICAgICAgICAgICBmb250LXNpemU6IDEuMDYzcmVtO1xuICAgICAgICB9XG4gICAgICAgIC5pbmZvLWxhYmVsIHtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMC44MTNyZW07XG4gICAgICAgICAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDYwMDtcbiAgICAgICAg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ZGF0YS10aGVtZV09XCJ0aGVtZS1uYW1lXCJgIGF0dHJpYnV0ZVxuLy8gYW5kIGVtYm9keSBldmVyeSBDU1MgcnVsZSB0aGF0IG5lZWRzIHRvIGJlIHRoZW1pZmllZCB3aXRoaW4gdGhlIG1peGluOlxuLy8gYGBgXG4vLyAgYnRuLXByaW1hcnkge1xuICAgIC8vICBAaW5jbHVkZSB0aGVtaWZ5U2VsZigkdGhlbWVzKSB7XG4gICAgICAgIC8vICBjb2xvcjogdGhlbWVkKCdiYXNlQ29sb3JEYXJrJyk7XG4gICAgLy8gIH1cbi8vICB9XG4vLyBgYGBcbkBtaXhpbiB0aGVtaWZ5U2VsZigkdGhlbWVzOiAkdGhlbWVzKSB7XG4gICAgQGVhY2ggJHRoZW1lLCAkbWFwIGluICR0aGVtZXMge1xuICAgICAgICAgJltkYXRhLXRoZW1lPVwiI3skdGhlbWV9XCJdIHtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6ICgpICFnbG9iYWw7XG4gICAgICAgICAgICBAZWFjaCAka2V5LCAkc3VibWFwIGluICRtYXAge1xuICAgICAgICAgICAgICAgICR2YWx1ZTogbWFwLWdldChtYXAtZ2V0KCR0aGVtZXMsICR0aGVtZSksICcjeyRrZXl9Jyk7XG4gICAgICAgICAgICAgICAgJHRoZW1lLW1hcDogbWFwLW1lcmdlKCR0aGVtZS1tYXAsICgka2V5OiAkdmFsdWUpKSAhZ2xvYmFsO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgQGNvbnRlbnQ7XG4gICAgICAgICAgICAkdGhlbWUtbWFwOiBudWxsICFnbG9iYWw7XG4gICAgICAgIH1cbiAgICB9XG59XG5cbkBmdW5jdGlvbiB0aGVtZWQoJGtleSkge1xuICAgIEByZXR1cm4gbWFwLWdldCgkdGhlbWUtbWFwLCAka2V5KTtcbn1cblxuIl19 */"], 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(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");
- class GenericParserService {
- parse(xml) { return Object(___WEBPACK_IMPORTED_MODULE_1__["parse"])(xml); }
- }
- 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(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");
- class IdbService extends dexie__WEBPACK_IMPORTED_MODULE_1__["default"] {
- constructor() {
- super('EVT-Annotator');
- this.version(1).stores({
- Annotations: '++id',
- });
- this.db = this.table('Annotations');
- }
- getAll() {
- return this.db.toArray();
- }
- add(data) {
- return this.db.add(data);
- }
- update(id, data) {
- return this.db.update(id, data);
- }
- remove(id) {
- return this.db.delete(id);
- }
- }
- 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(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) {
- const el_r1 = ctx.$implicit;
- const 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);
- } }
- let VersesGroupComponent = class VersesGroupComponent {
- constructor(evtModelService) {
- this.evtModelService = evtModelService;
- }
- get displayBlock$() {
- return this.evtModelService.lines$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(lines => lines.length > 0), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])(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 (this.editionLevel) {
- case 'diplomatic':
- case 'interpretative':
- return !hasLines;
- case 'critical':
- return true;
- }
- }));
- }
- };
- 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3ZlcnNlcy1ncm91cC5jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2Fzc2V0cy9zY3NzL190aGVtZXMuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJSTtFQUNJLGFBQUE7QUFIUjtBQUtJO0VBQ0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RoYXQgbmVlZHMgdG8gYmUgdGhlbWlmaWVkIHdpdGhpbiB0aGUgbWl4aW46XG4vLyBgYGBcbi8vICBidG4tcHJpbWFyeSB7XG4gICAgLy8gIEBpbmNsdWRlIHRoZW1pZnlTZWxmKCR0aGVtZXMpIHtcbiAgICAgICAgLy8gIGNvbG9yOiB0aGVtZWQoJ2Jhc2VDb2xvckRhcmsnKTtcbiAgICAvLyAgfVxuLy8gIH1cbi8vIGBgYFxuQG1peGluIHRoZW1pZnlTZWxmKCR0aGVtZXM6ICR0aGVtZXMpIHtcbiAgICBAZWFjaCAkdGhlbWUsICRtYXAgaW4gJHRoZW1lcyB7XG4gICAgICAgICAmW2RhdGEtdGhlbWU9XCIjeyR0aGVtZX1cIl0ge1xuICAgICAgICAgICAgJHRoZW1lLW1hcDogKCkgIWdsb2JhbDtcbiAgICAgICAgICAgIEBlYWNoICRrZXksICRzdWJtYXAgaW4gJG1hcCB7XG4gICAgICAgICAgICAgICAgJHZhbHVlOiBtYXAtZ2V0KG1hcC1nZXQoJHRoZW1lcywgJHRoZW1lKSwgJyN7JGtleX0nKTtcbiAgICAgICAgICAgICAgICAkdGhlbWUtbWFwOiBtYXAtbWVyZ2UoJHRoZW1lLW1hcCwgKCRrZXk6ICR2YWx1ZSkpICFnbG9iYWw7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBAY29udGVudDtcbiAgICAgICAgICAgICR0aGVtZS1tYXA6IG51bGwgIWdsb2JhbDtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuQGZ1bmN0aW9uIHRoZW1lZCgka2V5KSB7XG4gICAgQHJldHVybiBtYXAtZ2V0KCR0aGVtZS1tYXAsICRrZXkpO1xufVxuXG4iXX0= */"] });
- 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(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) {
- const 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) {
- const 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) {
- const 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);
- } }
- let NotesStmtComponent = class 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25vdGVzLXN0bXQuY29tcG9uZW50LnNjc3MiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9hc3NldHMvc2Nzcy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUE7RUMyRkUsOEJBQUE7RUFDQSxrQkFBQTtFQUNBLHdCQUFBO0VBQ0EsV0FBQTtFQUNBLGlCQUFBO0VBQ0EsY0FBQTtFQUNBLGdCQUFBO0VBQ0EsZ0JBQUE7QUQzRkYiLCJmaWxlIjoibm90ZXMtc3RtdC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIkBpbXBvcnQgJy4uLy4uLy4uL2Fzc2V0cy9zY3NzL21peGlucyc7XG5cbi5tYWluLXNlY3Rpb24tdGl0bGUge1xuICAgIEBpbmNsdWRlIGhlYWRlclNlY3Rpb25UaXRsZSgpXG59IiwiLy8gLy8vLy8vLy8vLy8vLy8vLy8vIC8vXG4vLyBHTE9CQUwgU0NTUyBNSVhJTlMgLy9cbi8vIC8vLy8vLy8vLy8vLy8vLy8vLyAvL1xuXG4vLyBTZXQgY2FsY3VsYXRlZCBwcm9wZXJ0eVxuQG1peGluIGNhbGMoJHByb3BlcnR5LCAkZXhwcmVzc2lvbiwgJGltcG9ydGFudDpcIlwiKSB7XG4gICN7JHByb3BlcnR5fTogLW1vei1jYWxjKCN7JGV4cHJlc3Npb259KSAjeyRpbXBvcnRhbnR9O1xuICAjeyRwcm9wZXJ0eX06IC1vLWNhbGMoI3skZXhwcmVzc2lvbn0pICN7JGltcG9ydGFudH07XG4gICN7JHByb3BlcnR5fTogLXdlYmtpdC1jYWxjKCN7JGV4cHJlc3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Ji5hY3RpdmUge1xuICAgIGJhY2tncm91bmQtY29sb3I6ICRjb2xvci1taWRkbGU7XG4gICAgYm9yZGVyLXJpZ2h0LWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuXG4gICAgJjpub3QoOmZpcnN0LWNoaWxkKSB7XG4gICAgICBib3JkZXItbGVmdC1jb2xvcjogJGNvbG9yLW1pZGRsZTtcbiAgICB9XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAkY29sb3ItbWlkZGxlO1xuICB9XG59XG5cblxuQG1peGluIGhlYWRlclNlY3Rpb25UaXRsZSgpIHtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IGRvdHRlZCAjNjY2O1xuICBtYXJnaW4tYm90dG9tOiA1cHg7XG4gIGZvbnQtdmFyaWFudDogc21hbGwtY2FwcztcbiAgY29sb3I6ICMwMDA7XG4gIGZvbnQtc2l6ZTogMS4ycmVtO1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogMTRweDtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbn0iXX0= */"] });
- 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(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) {
- const element_r2 = ctx.$implicit;
- const 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);
- } }
- const _c0 = function () { return []; };
- class PageComponent {
- constructor() {
- this.pageDataChange = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](undefined);
- this.busy = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(false); // TODO: manage loading
- }
- set data(v) {
- this.d = v;
- this.pageDataChange.next(this.d);
- }
- get data() { return this.d; }
- }
- 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) {
- let 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(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");
- class ApparatusEntriesParserService {
- constructor() {
- this.appEntryTagName = 'app';
- }
- parseAppEntries(document) {
- const appParser = ___WEBPACK_IMPORTED_MODULE_1__["ParserRegister"].get('evt-apparatus-entry-parser');
- return Array.from(document.querySelectorAll(this.appEntryTagName))
- .map((appEntry) => appParser.parse(appEntry));
- }
- getSignificantReadings(apps) {
- const signRdgs = {};
- apps.forEach((app) => {
- signRdgs[app.id] = app.readings.concat(app.lemma).filter((rdg) => rdg.significant);
- });
- return signRdgs;
- }
- getSignificantReadingsNumber(signRdgs) {
- const signRdgsNumber = {};
- Object.keys(signRdgs).forEach((app) => {
- signRdgsNumber[app] = signRdgs[app].length;
- });
- return signRdgsNumber;
- }
- getAppVariance(signRdgsNum, witList) {
- const appsVariance = {};
- if (Object.keys(witList).length > 1) {
- Object.keys(signRdgsNum).forEach((x) => {
- appsVariance[x] = signRdgsNum[x] / Object.keys(witList).length;
- });
- }
- return appsVariance;
- }
- }
- 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(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((x, y) => x.concat(y), []); }
- function uuid(prefix) {
- return !!prefix ? `${prefix}-${Math.random()}` : `${Math.random()}`;
- }
- function mapToArray(m) {
- return Object.keys(m).map((id) => m[id]);
- }
- function arrayToMap(arr, key) {
- const map = {};
- arr.forEach((x) => map[x[`${key}`]] = x);
- return map;
- }
- function uniqueObjCharKeys(m) {
- const keys = [];
- Object.keys(m).forEach(key => {
- if (keys.indexOf(key[0].toLowerCase()) < 0) {
- keys.push(key[0].toLowerCase());
- }
- });
- keys.sort();
- return keys;
- }
- function uniqueArrayCharKeys(a) {
- const keys = [];
- a.forEach(key => {
- if (keys.indexOf(key[0].toLowerCase()) < 0) {
- keys.push(key[0].toLowerCase());
- }
- });
- keys.sort((strA, strB) => 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(...objects) {
- const isObject = (obj) => obj && typeof obj === 'object';
- const cb = (prev, obj) => {
- Object.keys(obj).forEach(key => {
- const pVal = prev[key];
- const oVal = obj[key];
- if (Array.isArray(pVal) && Array.isArray(oVal)) {
- prev[key] = [...pVal, ...oVal].filter((element, index, array) => array.indexOf(element) === index);
- }
- else if (isObject(pVal) && isObject(oVal)) {
- prev[key] = mergeDeep(pVal, oVal);
- }
- else {
- prev[key] = oVal;
- }
- });
- return prev;
- };
- return objects.reduce(cb, {});
- }
- function getEventKeyCode(event) {
- let 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, (g) => 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(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(err => console.error(err));
- /***/ }),
- /***/ "zn8P":
- /*!******************************************************!*\
- !*** ./$$_lazy_route_resource lazy namespace object ***!
- \******************************************************/
- /*! no static exports found */
- /***/ (function(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-es2015.js.map
|