vendor.js 886 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/vendor"],[
  2. /* 0 */,
  3. /* 1 */
  4. /*!*********************************************************!*\
  5. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js ***!
  6. \*********************************************************/
  7. /*! no static exports found */
  8. /***/ (function(module, exports, __webpack_require__) {
  9. "use strict";
  10. Object.defineProperty(exports, "__esModule", {
  11. value: true
  12. });
  13. exports.default = void 0;
  14. var objectKeys = ['qy', 'env', 'error', 'version', 'lanDebug', 'cloud', 'serviceMarket', 'router', 'worklet'];
  15. var singlePageDisableKey = ['lanDebug', 'router', 'worklet'];
  16. var target = typeof globalThis !== 'undefined' ? globalThis : function () {
  17. return this;
  18. }();
  19. var key = ['w', 'x'].join('');
  20. var oldWx = target[key];
  21. var launchOption = oldWx.getLaunchOptionsSync ? oldWx.getLaunchOptionsSync() : null;
  22. function isWxKey(key) {
  23. if (launchOption && launchOption.scene === 1154 && singlePageDisableKey.includes(key)) {
  24. return false;
  25. }
  26. return objectKeys.indexOf(key) > -1 || typeof oldWx[key] === 'function';
  27. }
  28. function initWx() {
  29. var newWx = {};
  30. for (var _key in oldWx) {
  31. if (isWxKey(_key)) {
  32. // TODO wrapper function
  33. newWx[_key] = oldWx[_key];
  34. }
  35. }
  36. return newWx;
  37. }
  38. target[key] = initWx();
  39. var _default = target[key];
  40. exports.default = _default;
  41. /***/ }),
  42. /* 2 */
  43. /*!************************************************************!*\
  44. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
  45. \************************************************************/
  46. /*! no static exports found */
  47. /***/ (function(module, exports, __webpack_require__) {
  48. "use strict";
  49. /* WEBPACK VAR INJECTION */(function(wx, global) {
  50. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  51. Object.defineProperty(exports, "__esModule", {
  52. value: true
  53. });
  54. exports.createApp = createApp;
  55. exports.createComponent = createComponent;
  56. exports.createPage = createPage;
  57. exports.createPlugin = createPlugin;
  58. exports.createSubpackageApp = createSubpackageApp;
  59. exports.default = void 0;
  60. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  61. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  62. var _construct2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/construct */ 15));
  63. var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
  64. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  65. var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 22);
  66. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  67. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  68. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  69. var realAtob;
  70. var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
  71. var b64re = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
  72. if (typeof atob !== 'function') {
  73. realAtob = function realAtob(str) {
  74. str = String(str).replace(/[\t\n\f\r ]+/g, '');
  75. if (!b64re.test(str)) {
  76. throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
  77. }
  78. // Adding the padding if missing, for semplicity
  79. str += '=='.slice(2 - (str.length & 3));
  80. var bitmap;
  81. var result = '';
  82. var r1;
  83. var r2;
  84. var i = 0;
  85. for (; i < str.length;) {
  86. bitmap = b64.indexOf(str.charAt(i++)) << 18 | b64.indexOf(str.charAt(i++)) << 12 | (r1 = b64.indexOf(str.charAt(i++))) << 6 | (r2 = b64.indexOf(str.charAt(i++)));
  87. result += r1 === 64 ? String.fromCharCode(bitmap >> 16 & 255) : r2 === 64 ? String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255) : String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255, bitmap & 255);
  88. }
  89. return result;
  90. };
  91. } else {
  92. // 注意atob只能在全局对象上调用,例如:`const Base64 = {atob};Base64.atob('xxxx')`是错误的用法
  93. realAtob = atob;
  94. }
  95. function b64DecodeUnicode(str) {
  96. return decodeURIComponent(realAtob(str).split('').map(function (c) {
  97. return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
  98. }).join(''));
  99. }
  100. function getCurrentUserInfo() {
  101. var token = wx.getStorageSync('uni_id_token') || '';
  102. var tokenArr = token.split('.');
  103. if (!token || tokenArr.length !== 3) {
  104. return {
  105. uid: null,
  106. role: [],
  107. permission: [],
  108. tokenExpired: 0
  109. };
  110. }
  111. var userInfo;
  112. try {
  113. userInfo = JSON.parse(b64DecodeUnicode(tokenArr[1]));
  114. } catch (error) {
  115. throw new Error('获取当前用户信息出错,详细错误信息为:' + error.message);
  116. }
  117. userInfo.tokenExpired = userInfo.exp * 1000;
  118. delete userInfo.exp;
  119. delete userInfo.iat;
  120. return userInfo;
  121. }
  122. function uniIdMixin(Vue) {
  123. Vue.prototype.uniIDHasRole = function (roleId) {
  124. var _getCurrentUserInfo = getCurrentUserInfo(),
  125. role = _getCurrentUserInfo.role;
  126. return role.indexOf(roleId) > -1;
  127. };
  128. Vue.prototype.uniIDHasPermission = function (permissionId) {
  129. var _getCurrentUserInfo2 = getCurrentUserInfo(),
  130. permission = _getCurrentUserInfo2.permission;
  131. return this.uniIDHasRole('admin') || permission.indexOf(permissionId) > -1;
  132. };
  133. Vue.prototype.uniIDTokenValid = function () {
  134. var _getCurrentUserInfo3 = getCurrentUserInfo(),
  135. tokenExpired = _getCurrentUserInfo3.tokenExpired;
  136. return tokenExpired > Date.now();
  137. };
  138. }
  139. var _toString = Object.prototype.toString;
  140. var hasOwnProperty = Object.prototype.hasOwnProperty;
  141. function isFn(fn) {
  142. return typeof fn === 'function';
  143. }
  144. function isStr(str) {
  145. return typeof str === 'string';
  146. }
  147. function isObject(obj) {
  148. return obj !== null && (0, _typeof2.default)(obj) === 'object';
  149. }
  150. function isPlainObject(obj) {
  151. return _toString.call(obj) === '[object Object]';
  152. }
  153. function hasOwn(obj, key) {
  154. return hasOwnProperty.call(obj, key);
  155. }
  156. function noop() {}
  157. /**
  158. * Create a cached version of a pure function.
  159. */
  160. function cached(fn) {
  161. var cache = Object.create(null);
  162. return function cachedFn(str) {
  163. var hit = cache[str];
  164. return hit || (cache[str] = fn(str));
  165. };
  166. }
  167. /**
  168. * Camelize a hyphen-delimited string.
  169. */
  170. var camelizeRE = /-(\w)/g;
  171. var camelize = cached(function (str) {
  172. return str.replace(camelizeRE, function (_, c) {
  173. return c ? c.toUpperCase() : '';
  174. });
  175. });
  176. function sortObject(obj) {
  177. var sortObj = {};
  178. if (isPlainObject(obj)) {
  179. Object.keys(obj).sort().forEach(function (key) {
  180. sortObj[key] = obj[key];
  181. });
  182. }
  183. return !Object.keys(sortObj) ? obj : sortObj;
  184. }
  185. var HOOKS = ['invoke', 'success', 'fail', 'complete', 'returnValue'];
  186. var globalInterceptors = {};
  187. var scopedInterceptors = {};
  188. function mergeHook(parentVal, childVal) {
  189. var res = childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal;
  190. return res ? dedupeHooks(res) : res;
  191. }
  192. function dedupeHooks(hooks) {
  193. var res = [];
  194. for (var i = 0; i < hooks.length; i++) {
  195. if (res.indexOf(hooks[i]) === -1) {
  196. res.push(hooks[i]);
  197. }
  198. }
  199. return res;
  200. }
  201. function removeHook(hooks, hook) {
  202. var index = hooks.indexOf(hook);
  203. if (index !== -1) {
  204. hooks.splice(index, 1);
  205. }
  206. }
  207. function mergeInterceptorHook(interceptor, option) {
  208. Object.keys(option).forEach(function (hook) {
  209. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  210. interceptor[hook] = mergeHook(interceptor[hook], option[hook]);
  211. }
  212. });
  213. }
  214. function removeInterceptorHook(interceptor, option) {
  215. if (!interceptor || !option) {
  216. return;
  217. }
  218. Object.keys(option).forEach(function (hook) {
  219. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  220. removeHook(interceptor[hook], option[hook]);
  221. }
  222. });
  223. }
  224. function addInterceptor(method, option) {
  225. if (typeof method === 'string' && isPlainObject(option)) {
  226. mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), option);
  227. } else if (isPlainObject(method)) {
  228. mergeInterceptorHook(globalInterceptors, method);
  229. }
  230. }
  231. function removeInterceptor(method, option) {
  232. if (typeof method === 'string') {
  233. if (isPlainObject(option)) {
  234. removeInterceptorHook(scopedInterceptors[method], option);
  235. } else {
  236. delete scopedInterceptors[method];
  237. }
  238. } else if (isPlainObject(method)) {
  239. removeInterceptorHook(globalInterceptors, method);
  240. }
  241. }
  242. function wrapperHook(hook) {
  243. return function (data) {
  244. return hook(data) || data;
  245. };
  246. }
  247. function isPromise(obj) {
  248. return !!obj && ((0, _typeof2.default)(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
  249. }
  250. function queue(hooks, data) {
  251. var promise = false;
  252. for (var i = 0; i < hooks.length; i++) {
  253. var hook = hooks[i];
  254. if (promise) {
  255. promise = Promise.resolve(wrapperHook(hook));
  256. } else {
  257. var res = hook(data);
  258. if (isPromise(res)) {
  259. promise = Promise.resolve(res);
  260. }
  261. if (res === false) {
  262. return {
  263. then: function then() {}
  264. };
  265. }
  266. }
  267. }
  268. return promise || {
  269. then: function then(callback) {
  270. return callback(data);
  271. }
  272. };
  273. }
  274. function wrapperOptions(interceptor) {
  275. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  276. ['success', 'fail', 'complete'].forEach(function (name) {
  277. if (Array.isArray(interceptor[name])) {
  278. var oldCallback = options[name];
  279. options[name] = function callbackInterceptor(res) {
  280. queue(interceptor[name], res).then(function (res) {
  281. /* eslint-disable no-mixed-operators */
  282. return isFn(oldCallback) && oldCallback(res) || res;
  283. });
  284. };
  285. }
  286. });
  287. return options;
  288. }
  289. function wrapperReturnValue(method, returnValue) {
  290. var returnValueHooks = [];
  291. if (Array.isArray(globalInterceptors.returnValue)) {
  292. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(globalInterceptors.returnValue));
  293. }
  294. var interceptor = scopedInterceptors[method];
  295. if (interceptor && Array.isArray(interceptor.returnValue)) {
  296. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(interceptor.returnValue));
  297. }
  298. returnValueHooks.forEach(function (hook) {
  299. returnValue = hook(returnValue) || returnValue;
  300. });
  301. return returnValue;
  302. }
  303. function getApiInterceptorHooks(method) {
  304. var interceptor = Object.create(null);
  305. Object.keys(globalInterceptors).forEach(function (hook) {
  306. if (hook !== 'returnValue') {
  307. interceptor[hook] = globalInterceptors[hook].slice();
  308. }
  309. });
  310. var scopedInterceptor = scopedInterceptors[method];
  311. if (scopedInterceptor) {
  312. Object.keys(scopedInterceptor).forEach(function (hook) {
  313. if (hook !== 'returnValue') {
  314. interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]);
  315. }
  316. });
  317. }
  318. return interceptor;
  319. }
  320. function invokeApi(method, api, options) {
  321. for (var _len = arguments.length, params = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
  322. params[_key - 3] = arguments[_key];
  323. }
  324. var interceptor = getApiInterceptorHooks(method);
  325. if (interceptor && Object.keys(interceptor).length) {
  326. if (Array.isArray(interceptor.invoke)) {
  327. var res = queue(interceptor.invoke, options);
  328. return res.then(function (options) {
  329. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  330. });
  331. } else {
  332. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  333. }
  334. }
  335. return api.apply(void 0, [options].concat(params));
  336. }
  337. var promiseInterceptor = {
  338. returnValue: function returnValue(res) {
  339. if (!isPromise(res)) {
  340. return res;
  341. }
  342. return new Promise(function (resolve, reject) {
  343. res.then(function (res) {
  344. if (res[0]) {
  345. reject(res[0]);
  346. } else {
  347. resolve(res[1]);
  348. }
  349. });
  350. });
  351. }
  352. };
  353. var SYNC_API_RE = /^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting|initUTS|requireUTS|registerUTS/;
  354. var CONTEXT_API_RE = /^create|Manager$/;
  355. // Context例外情况
  356. var CONTEXT_API_RE_EXC = ['createBLEConnection'];
  357. // 同步例外情况
  358. var ASYNC_API = ['createBLEConnection', 'createPushMessage'];
  359. var CALLBACK_API_RE = /^on|^off/;
  360. function isContextApi(name) {
  361. return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1;
  362. }
  363. function isSyncApi(name) {
  364. return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1;
  365. }
  366. function isCallbackApi(name) {
  367. return CALLBACK_API_RE.test(name) && name !== 'onPush';
  368. }
  369. function handlePromise(promise) {
  370. return promise.then(function (data) {
  371. return [null, data];
  372. }).catch(function (err) {
  373. return [err];
  374. });
  375. }
  376. function shouldPromise(name) {
  377. if (isContextApi(name) || isSyncApi(name) || isCallbackApi(name)) {
  378. return false;
  379. }
  380. return true;
  381. }
  382. /* eslint-disable no-extend-native */
  383. if (!Promise.prototype.finally) {
  384. Promise.prototype.finally = function (callback) {
  385. var promise = this.constructor;
  386. return this.then(function (value) {
  387. return promise.resolve(callback()).then(function () {
  388. return value;
  389. });
  390. }, function (reason) {
  391. return promise.resolve(callback()).then(function () {
  392. throw reason;
  393. });
  394. });
  395. };
  396. }
  397. function promisify(name, api) {
  398. if (!shouldPromise(name) || !isFn(api)) {
  399. return api;
  400. }
  401. return function promiseApi() {
  402. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  403. for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
  404. params[_key2 - 1] = arguments[_key2];
  405. }
  406. if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {
  407. return wrapperReturnValue(name, invokeApi.apply(void 0, [name, api, options].concat(params)));
  408. }
  409. return wrapperReturnValue(name, handlePromise(new Promise(function (resolve, reject) {
  410. invokeApi.apply(void 0, [name, api, Object.assign({}, options, {
  411. success: resolve,
  412. fail: reject
  413. })].concat(params));
  414. })));
  415. };
  416. }
  417. var EPS = 1e-4;
  418. var BASE_DEVICE_WIDTH = 750;
  419. var isIOS = false;
  420. var deviceWidth = 0;
  421. var deviceDPR = 0;
  422. function checkDeviceWidth() {
  423. var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
  424. platform = _wx$getSystemInfoSync.platform,
  425. pixelRatio = _wx$getSystemInfoSync.pixelRatio,
  426. windowWidth = _wx$getSystemInfoSync.windowWidth; // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni
  427. deviceWidth = windowWidth;
  428. deviceDPR = pixelRatio;
  429. isIOS = platform === 'ios';
  430. }
  431. function upx2px(number, newDeviceWidth) {
  432. if (deviceWidth === 0) {
  433. checkDeviceWidth();
  434. }
  435. number = Number(number);
  436. if (number === 0) {
  437. return 0;
  438. }
  439. var result = number / BASE_DEVICE_WIDTH * (newDeviceWidth || deviceWidth);
  440. if (result < 0) {
  441. result = -result;
  442. }
  443. result = Math.floor(result + EPS);
  444. if (result === 0) {
  445. if (deviceDPR === 1 || !isIOS) {
  446. result = 1;
  447. } else {
  448. result = 0.5;
  449. }
  450. }
  451. return number < 0 ? -result : result;
  452. }
  453. var LOCALE_ZH_HANS = 'zh-Hans';
  454. var LOCALE_ZH_HANT = 'zh-Hant';
  455. var LOCALE_EN = 'en';
  456. var LOCALE_FR = 'fr';
  457. var LOCALE_ES = 'es';
  458. var messages = {};
  459. var locale;
  460. {
  461. locale = normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  462. }
  463. function initI18nMessages() {
  464. if (!isEnableLocale()) {
  465. return;
  466. }
  467. var localeKeys = Object.keys(__uniConfig.locales);
  468. if (localeKeys.length) {
  469. localeKeys.forEach(function (locale) {
  470. var curMessages = messages[locale];
  471. var userMessages = __uniConfig.locales[locale];
  472. if (curMessages) {
  473. Object.assign(curMessages, userMessages);
  474. } else {
  475. messages[locale] = userMessages;
  476. }
  477. });
  478. }
  479. }
  480. initI18nMessages();
  481. var i18n = (0, _uniI18n.initVueI18n)(locale, {});
  482. var t = i18n.t;
  483. var i18nMixin = i18n.mixin = {
  484. beforeCreate: function beforeCreate() {
  485. var _this = this;
  486. var unwatch = i18n.i18n.watchLocale(function () {
  487. _this.$forceUpdate();
  488. });
  489. this.$once('hook:beforeDestroy', function () {
  490. unwatch();
  491. });
  492. },
  493. methods: {
  494. $$t: function $$t(key, values) {
  495. return t(key, values);
  496. }
  497. }
  498. };
  499. var setLocale = i18n.setLocale;
  500. var getLocale = i18n.getLocale;
  501. function initAppLocale(Vue, appVm, locale) {
  502. var state = Vue.observable({
  503. locale: locale || i18n.getLocale()
  504. });
  505. var localeWatchers = [];
  506. appVm.$watchLocale = function (fn) {
  507. localeWatchers.push(fn);
  508. };
  509. Object.defineProperty(appVm, '$locale', {
  510. get: function get() {
  511. return state.locale;
  512. },
  513. set: function set(v) {
  514. state.locale = v;
  515. localeWatchers.forEach(function (watch) {
  516. return watch(v);
  517. });
  518. }
  519. });
  520. }
  521. function isEnableLocale() {
  522. return typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length;
  523. }
  524. function include(str, parts) {
  525. return !!parts.find(function (part) {
  526. return str.indexOf(part) !== -1;
  527. });
  528. }
  529. function startsWith(str, parts) {
  530. return parts.find(function (part) {
  531. return str.indexOf(part) === 0;
  532. });
  533. }
  534. function normalizeLocale(locale, messages) {
  535. if (!locale) {
  536. return;
  537. }
  538. locale = locale.trim().replace(/_/g, '-');
  539. if (messages && messages[locale]) {
  540. return locale;
  541. }
  542. locale = locale.toLowerCase();
  543. if (locale === 'chinese') {
  544. // 支付宝
  545. return LOCALE_ZH_HANS;
  546. }
  547. if (locale.indexOf('zh') === 0) {
  548. if (locale.indexOf('-hans') > -1) {
  549. return LOCALE_ZH_HANS;
  550. }
  551. if (locale.indexOf('-hant') > -1) {
  552. return LOCALE_ZH_HANT;
  553. }
  554. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  555. return LOCALE_ZH_HANT;
  556. }
  557. return LOCALE_ZH_HANS;
  558. }
  559. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  560. if (lang) {
  561. return lang;
  562. }
  563. }
  564. // export function initI18n() {
  565. // const localeKeys = Object.keys(__uniConfig.locales || {})
  566. // if (localeKeys.length) {
  567. // localeKeys.forEach((locale) =>
  568. // i18n.add(locale, __uniConfig.locales[locale])
  569. // )
  570. // }
  571. // }
  572. function getLocale$1() {
  573. // 优先使用 $locale
  574. if (isFn(getApp)) {
  575. var app = getApp({
  576. allowDefault: true
  577. });
  578. if (app && app.$vm) {
  579. return app.$vm.$locale;
  580. }
  581. }
  582. return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  583. }
  584. function setLocale$1(locale) {
  585. var app = isFn(getApp) ? getApp() : false;
  586. if (!app) {
  587. return false;
  588. }
  589. var oldLocale = app.$vm.$locale;
  590. if (oldLocale !== locale) {
  591. app.$vm.$locale = locale;
  592. onLocaleChangeCallbacks.forEach(function (fn) {
  593. return fn({
  594. locale: locale
  595. });
  596. });
  597. return true;
  598. }
  599. return false;
  600. }
  601. var onLocaleChangeCallbacks = [];
  602. function onLocaleChange(fn) {
  603. if (onLocaleChangeCallbacks.indexOf(fn) === -1) {
  604. onLocaleChangeCallbacks.push(fn);
  605. }
  606. }
  607. if (typeof global !== 'undefined') {
  608. global.getLocale = getLocale$1;
  609. }
  610. var interceptors = {
  611. promiseInterceptor: promiseInterceptor
  612. };
  613. var baseApi = /*#__PURE__*/Object.freeze({
  614. __proto__: null,
  615. upx2px: upx2px,
  616. getLocale: getLocale$1,
  617. setLocale: setLocale$1,
  618. onLocaleChange: onLocaleChange,
  619. addInterceptor: addInterceptor,
  620. removeInterceptor: removeInterceptor,
  621. interceptors: interceptors
  622. });
  623. function findExistsPageIndex(url) {
  624. var pages = getCurrentPages();
  625. var len = pages.length;
  626. while (len--) {
  627. var page = pages[len];
  628. if (page.$page && page.$page.fullPath === url) {
  629. return len;
  630. }
  631. }
  632. return -1;
  633. }
  634. var redirectTo = {
  635. name: function name(fromArgs) {
  636. if (fromArgs.exists === 'back' && fromArgs.delta) {
  637. return 'navigateBack';
  638. }
  639. return 'redirectTo';
  640. },
  641. args: function args(fromArgs) {
  642. if (fromArgs.exists === 'back' && fromArgs.url) {
  643. var existsPageIndex = findExistsPageIndex(fromArgs.url);
  644. if (existsPageIndex !== -1) {
  645. var delta = getCurrentPages().length - 1 - existsPageIndex;
  646. if (delta > 0) {
  647. fromArgs.delta = delta;
  648. }
  649. }
  650. }
  651. }
  652. };
  653. var previewImage = {
  654. args: function args(fromArgs) {
  655. var currentIndex = parseInt(fromArgs.current);
  656. if (isNaN(currentIndex)) {
  657. return;
  658. }
  659. var urls = fromArgs.urls;
  660. if (!Array.isArray(urls)) {
  661. return;
  662. }
  663. var len = urls.length;
  664. if (!len) {
  665. return;
  666. }
  667. if (currentIndex < 0) {
  668. currentIndex = 0;
  669. } else if (currentIndex >= len) {
  670. currentIndex = len - 1;
  671. }
  672. if (currentIndex > 0) {
  673. fromArgs.current = urls[currentIndex];
  674. fromArgs.urls = urls.filter(function (item, index) {
  675. return index < currentIndex ? item !== urls[currentIndex] : true;
  676. });
  677. } else {
  678. fromArgs.current = urls[0];
  679. }
  680. return {
  681. indicator: false,
  682. loop: false
  683. };
  684. }
  685. };
  686. var UUID_KEY = '__DC_STAT_UUID';
  687. var deviceId;
  688. function useDeviceId(result) {
  689. deviceId = deviceId || wx.getStorageSync(UUID_KEY);
  690. if (!deviceId) {
  691. deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);
  692. wx.setStorage({
  693. key: UUID_KEY,
  694. data: deviceId
  695. });
  696. }
  697. result.deviceId = deviceId;
  698. }
  699. function addSafeAreaInsets(result) {
  700. if (result.safeArea) {
  701. var safeArea = result.safeArea;
  702. result.safeAreaInsets = {
  703. top: safeArea.top,
  704. left: safeArea.left,
  705. right: result.windowWidth - safeArea.right,
  706. bottom: result.screenHeight - safeArea.bottom
  707. };
  708. }
  709. }
  710. function populateParameters(result) {
  711. var _result$brand = result.brand,
  712. brand = _result$brand === void 0 ? '' : _result$brand,
  713. _result$model = result.model,
  714. model = _result$model === void 0 ? '' : _result$model,
  715. _result$system = result.system,
  716. system = _result$system === void 0 ? '' : _result$system,
  717. _result$language = result.language,
  718. language = _result$language === void 0 ? '' : _result$language,
  719. theme = result.theme,
  720. version = result.version,
  721. platform = result.platform,
  722. fontSizeSetting = result.fontSizeSetting,
  723. SDKVersion = result.SDKVersion,
  724. pixelRatio = result.pixelRatio,
  725. deviceOrientation = result.deviceOrientation;
  726. // const isQuickApp = "mp-weixin".indexOf('quickapp-webview') !== -1
  727. var extraParam = {};
  728. // osName osVersion
  729. var osName = '';
  730. var osVersion = '';
  731. {
  732. osName = system.split(' ')[0] || '';
  733. osVersion = system.split(' ')[1] || '';
  734. }
  735. var hostVersion = version;
  736. // deviceType
  737. var deviceType = getGetDeviceType(result, model);
  738. // deviceModel
  739. var deviceBrand = getDeviceBrand(brand);
  740. // hostName
  741. var _hostName = getHostName(result);
  742. // deviceOrientation
  743. var _deviceOrientation = deviceOrientation; // 仅 微信 百度 支持
  744. // devicePixelRatio
  745. var _devicePixelRatio = pixelRatio;
  746. // SDKVersion
  747. var _SDKVersion = SDKVersion;
  748. // hostLanguage
  749. var hostLanguage = language.replace(/_/g, '-');
  750. // wx.getAccountInfoSync
  751. var parameters = {
  752. appId: "__UNI__434FDE4",
  753. appName: "lab-equipment-mini-program",
  754. appVersion: "1.0.0",
  755. appVersionCode: "100",
  756. appLanguage: getAppLanguage(hostLanguage),
  757. uniCompileVersion: "3.7.3",
  758. uniRuntimeVersion: "3.7.3",
  759. uniPlatform: undefined || "mp-weixin",
  760. deviceBrand: deviceBrand,
  761. deviceModel: model,
  762. deviceType: deviceType,
  763. devicePixelRatio: _devicePixelRatio,
  764. deviceOrientation: _deviceOrientation,
  765. osName: osName.toLocaleLowerCase(),
  766. osVersion: osVersion,
  767. hostTheme: theme,
  768. hostVersion: hostVersion,
  769. hostLanguage: hostLanguage,
  770. hostName: _hostName,
  771. hostSDKVersion: _SDKVersion,
  772. hostFontSizeSetting: fontSizeSetting,
  773. windowTop: 0,
  774. windowBottom: 0,
  775. // TODO
  776. osLanguage: undefined,
  777. osTheme: undefined,
  778. ua: undefined,
  779. hostPackageName: undefined,
  780. browserName: undefined,
  781. browserVersion: undefined
  782. };
  783. Object.assign(result, parameters, extraParam);
  784. }
  785. function getGetDeviceType(result, model) {
  786. var deviceType = result.deviceType || 'phone';
  787. {
  788. var deviceTypeMaps = {
  789. ipad: 'pad',
  790. windows: 'pc',
  791. mac: 'pc'
  792. };
  793. var deviceTypeMapsKeys = Object.keys(deviceTypeMaps);
  794. var _model = model.toLocaleLowerCase();
  795. for (var index = 0; index < deviceTypeMapsKeys.length; index++) {
  796. var _m = deviceTypeMapsKeys[index];
  797. if (_model.indexOf(_m) !== -1) {
  798. deviceType = deviceTypeMaps[_m];
  799. break;
  800. }
  801. }
  802. }
  803. return deviceType;
  804. }
  805. function getDeviceBrand(brand) {
  806. var deviceBrand = brand;
  807. if (deviceBrand) {
  808. deviceBrand = brand.toLocaleLowerCase();
  809. }
  810. return deviceBrand;
  811. }
  812. function getAppLanguage(defaultLanguage) {
  813. return getLocale$1 ? getLocale$1() : defaultLanguage;
  814. }
  815. function getHostName(result) {
  816. var _platform = 'WeChat';
  817. var _hostName = result.hostName || _platform; // mp-jd
  818. {
  819. if (result.environment) {
  820. _hostName = result.environment;
  821. } else if (result.host && result.host.env) {
  822. _hostName = result.host.env;
  823. }
  824. }
  825. return _hostName;
  826. }
  827. var getSystemInfo = {
  828. returnValue: function returnValue(result) {
  829. useDeviceId(result);
  830. addSafeAreaInsets(result);
  831. populateParameters(result);
  832. }
  833. };
  834. var showActionSheet = {
  835. args: function args(fromArgs) {
  836. if ((0, _typeof2.default)(fromArgs) === 'object') {
  837. fromArgs.alertText = fromArgs.title;
  838. }
  839. }
  840. };
  841. var getAppBaseInfo = {
  842. returnValue: function returnValue(result) {
  843. var _result = result,
  844. version = _result.version,
  845. language = _result.language,
  846. SDKVersion = _result.SDKVersion,
  847. theme = _result.theme;
  848. var _hostName = getHostName(result);
  849. var hostLanguage = language.replace('_', '-');
  850. result = sortObject(Object.assign(result, {
  851. appId: "__UNI__434FDE4",
  852. appName: "lab-equipment-mini-program",
  853. appVersion: "1.0.0",
  854. appVersionCode: "100",
  855. appLanguage: getAppLanguage(hostLanguage),
  856. hostVersion: version,
  857. hostLanguage: hostLanguage,
  858. hostName: _hostName,
  859. hostSDKVersion: SDKVersion,
  860. hostTheme: theme
  861. }));
  862. }
  863. };
  864. var getDeviceInfo = {
  865. returnValue: function returnValue(result) {
  866. var _result2 = result,
  867. brand = _result2.brand,
  868. model = _result2.model;
  869. var deviceType = getGetDeviceType(result, model);
  870. var deviceBrand = getDeviceBrand(brand);
  871. useDeviceId(result);
  872. result = sortObject(Object.assign(result, {
  873. deviceType: deviceType,
  874. deviceBrand: deviceBrand,
  875. deviceModel: model
  876. }));
  877. }
  878. };
  879. var getWindowInfo = {
  880. returnValue: function returnValue(result) {
  881. addSafeAreaInsets(result);
  882. result = sortObject(Object.assign(result, {
  883. windowTop: 0,
  884. windowBottom: 0
  885. }));
  886. }
  887. };
  888. var getAppAuthorizeSetting = {
  889. returnValue: function returnValue(result) {
  890. var locationReducedAccuracy = result.locationReducedAccuracy;
  891. result.locationAccuracy = 'unsupported';
  892. if (locationReducedAccuracy === true) {
  893. result.locationAccuracy = 'reduced';
  894. } else if (locationReducedAccuracy === false) {
  895. result.locationAccuracy = 'full';
  896. }
  897. }
  898. };
  899. // import navigateTo from 'uni-helpers/navigate-to'
  900. var compressImage = {
  901. args: function args(fromArgs) {
  902. // https://developers.weixin.qq.com/community/develop/doc/000c08940c865011298e0a43256800?highLine=compressHeight
  903. if (fromArgs.compressedHeight && !fromArgs.compressHeight) {
  904. fromArgs.compressHeight = fromArgs.compressedHeight;
  905. }
  906. if (fromArgs.compressedWidth && !fromArgs.compressWidth) {
  907. fromArgs.compressWidth = fromArgs.compressedWidth;
  908. }
  909. }
  910. };
  911. var protocols = {
  912. redirectTo: redirectTo,
  913. // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP
  914. previewImage: previewImage,
  915. getSystemInfo: getSystemInfo,
  916. getSystemInfoSync: getSystemInfo,
  917. showActionSheet: showActionSheet,
  918. getAppBaseInfo: getAppBaseInfo,
  919. getDeviceInfo: getDeviceInfo,
  920. getWindowInfo: getWindowInfo,
  921. getAppAuthorizeSetting: getAppAuthorizeSetting,
  922. compressImage: compressImage
  923. };
  924. var todos = ['vibrate', 'preloadPage', 'unPreloadPage', 'loadSubPackage'];
  925. var canIUses = [];
  926. var CALLBACKS = ['success', 'fail', 'cancel', 'complete'];
  927. function processCallback(methodName, method, returnValue) {
  928. return function (res) {
  929. return method(processReturnValue(methodName, res, returnValue));
  930. };
  931. }
  932. function processArgs(methodName, fromArgs) {
  933. var argsOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  934. var returnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  935. var keepFromArgs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  936. if (isPlainObject(fromArgs)) {
  937. // 一般 api 的参数解析
  938. var toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值
  939. if (isFn(argsOption)) {
  940. argsOption = argsOption(fromArgs, toArgs) || {};
  941. }
  942. for (var key in fromArgs) {
  943. if (hasOwn(argsOption, key)) {
  944. var keyOption = argsOption[key];
  945. if (isFn(keyOption)) {
  946. keyOption = keyOption(fromArgs[key], fromArgs, toArgs);
  947. }
  948. if (!keyOption) {
  949. // 不支持的参数
  950. console.warn("The '".concat(methodName, "' method of platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support option '").concat(key, "'"));
  951. } else if (isStr(keyOption)) {
  952. // 重写参数 key
  953. toArgs[keyOption] = fromArgs[key];
  954. } else if (isPlainObject(keyOption)) {
  955. // {name:newName,value:value}可重新指定参数 key:value
  956. toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;
  957. }
  958. } else if (CALLBACKS.indexOf(key) !== -1) {
  959. if (isFn(fromArgs[key])) {
  960. toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);
  961. }
  962. } else {
  963. if (!keepFromArgs) {
  964. toArgs[key] = fromArgs[key];
  965. }
  966. }
  967. }
  968. return toArgs;
  969. } else if (isFn(fromArgs)) {
  970. fromArgs = processCallback(methodName, fromArgs, returnValue);
  971. }
  972. return fromArgs;
  973. }
  974. function processReturnValue(methodName, res, returnValue) {
  975. var keepReturnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  976. if (isFn(protocols.returnValue)) {
  977. // 处理通用 returnValue
  978. res = protocols.returnValue(methodName, res);
  979. }
  980. return processArgs(methodName, res, returnValue, {}, keepReturnValue);
  981. }
  982. function wrapper(methodName, method) {
  983. if (hasOwn(protocols, methodName)) {
  984. var protocol = protocols[methodName];
  985. if (!protocol) {
  986. // 暂不支持的 api
  987. return function () {
  988. console.error("Platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support '".concat(methodName, "'."));
  989. };
  990. }
  991. return function (arg1, arg2) {
  992. // 目前 api 最多两个参数
  993. var options = protocol;
  994. if (isFn(protocol)) {
  995. options = protocol(arg1);
  996. }
  997. arg1 = processArgs(methodName, arg1, options.args, options.returnValue);
  998. var args = [arg1];
  999. if (typeof arg2 !== 'undefined') {
  1000. args.push(arg2);
  1001. }
  1002. if (isFn(options.name)) {
  1003. methodName = options.name(arg1);
  1004. } else if (isStr(options.name)) {
  1005. methodName = options.name;
  1006. }
  1007. var returnValue = wx[methodName].apply(wx, args);
  1008. if (isSyncApi(methodName)) {
  1009. // 同步 api
  1010. return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName));
  1011. }
  1012. return returnValue;
  1013. };
  1014. }
  1015. return method;
  1016. }
  1017. var todoApis = Object.create(null);
  1018. var TODOS = ['onTabBarMidButtonTap', 'subscribePush', 'unsubscribePush', 'onPush', 'offPush', 'share'];
  1019. function createTodoApi(name) {
  1020. return function todoApi(_ref) {
  1021. var fail = _ref.fail,
  1022. complete = _ref.complete;
  1023. var res = {
  1024. errMsg: "".concat(name, ":fail method '").concat(name, "' not supported")
  1025. };
  1026. isFn(fail) && fail(res);
  1027. isFn(complete) && complete(res);
  1028. };
  1029. }
  1030. TODOS.forEach(function (name) {
  1031. todoApis[name] = createTodoApi(name);
  1032. });
  1033. var providers = {
  1034. oauth: ['weixin'],
  1035. share: ['weixin'],
  1036. payment: ['wxpay'],
  1037. push: ['weixin']
  1038. };
  1039. function getProvider(_ref2) {
  1040. var service = _ref2.service,
  1041. success = _ref2.success,
  1042. fail = _ref2.fail,
  1043. complete = _ref2.complete;
  1044. var res = false;
  1045. if (providers[service]) {
  1046. res = {
  1047. errMsg: 'getProvider:ok',
  1048. service: service,
  1049. provider: providers[service]
  1050. };
  1051. isFn(success) && success(res);
  1052. } else {
  1053. res = {
  1054. errMsg: 'getProvider:fail service not found'
  1055. };
  1056. isFn(fail) && fail(res);
  1057. }
  1058. isFn(complete) && complete(res);
  1059. }
  1060. var extraApi = /*#__PURE__*/Object.freeze({
  1061. __proto__: null,
  1062. getProvider: getProvider
  1063. });
  1064. var getEmitter = function () {
  1065. var Emitter;
  1066. return function getUniEmitter() {
  1067. if (!Emitter) {
  1068. Emitter = new _vue.default();
  1069. }
  1070. return Emitter;
  1071. };
  1072. }();
  1073. function apply(ctx, method, args) {
  1074. return ctx[method].apply(ctx, args);
  1075. }
  1076. function $on() {
  1077. return apply(getEmitter(), '$on', Array.prototype.slice.call(arguments));
  1078. }
  1079. function $off() {
  1080. return apply(getEmitter(), '$off', Array.prototype.slice.call(arguments));
  1081. }
  1082. function $once() {
  1083. return apply(getEmitter(), '$once', Array.prototype.slice.call(arguments));
  1084. }
  1085. function $emit() {
  1086. return apply(getEmitter(), '$emit', Array.prototype.slice.call(arguments));
  1087. }
  1088. var eventApi = /*#__PURE__*/Object.freeze({
  1089. __proto__: null,
  1090. $on: $on,
  1091. $off: $off,
  1092. $once: $once,
  1093. $emit: $emit
  1094. });
  1095. /**
  1096. * 框架内 try-catch
  1097. */
  1098. /**
  1099. * 开发者 try-catch
  1100. */
  1101. function tryCatch(fn) {
  1102. return function () {
  1103. try {
  1104. return fn.apply(fn, arguments);
  1105. } catch (e) {
  1106. // TODO
  1107. console.error(e);
  1108. }
  1109. };
  1110. }
  1111. function getApiCallbacks(params) {
  1112. var apiCallbacks = {};
  1113. for (var name in params) {
  1114. var param = params[name];
  1115. if (isFn(param)) {
  1116. apiCallbacks[name] = tryCatch(param);
  1117. delete params[name];
  1118. }
  1119. }
  1120. return apiCallbacks;
  1121. }
  1122. var cid;
  1123. var cidErrMsg;
  1124. var enabled;
  1125. function normalizePushMessage(message) {
  1126. try {
  1127. return JSON.parse(message);
  1128. } catch (e) {}
  1129. return message;
  1130. }
  1131. function invokePushCallback(args) {
  1132. if (args.type === 'enabled') {
  1133. enabled = true;
  1134. } else if (args.type === 'clientId') {
  1135. cid = args.cid;
  1136. cidErrMsg = args.errMsg;
  1137. invokeGetPushCidCallbacks(cid, args.errMsg);
  1138. } else if (args.type === 'pushMsg') {
  1139. var message = {
  1140. type: 'receive',
  1141. data: normalizePushMessage(args.message)
  1142. };
  1143. for (var i = 0; i < onPushMessageCallbacks.length; i++) {
  1144. var callback = onPushMessageCallbacks[i];
  1145. callback(message);
  1146. // 该消息已被阻止
  1147. if (message.stopped) {
  1148. break;
  1149. }
  1150. }
  1151. } else if (args.type === 'click') {
  1152. onPushMessageCallbacks.forEach(function (callback) {
  1153. callback({
  1154. type: 'click',
  1155. data: normalizePushMessage(args.message)
  1156. });
  1157. });
  1158. }
  1159. }
  1160. var getPushCidCallbacks = [];
  1161. function invokeGetPushCidCallbacks(cid, errMsg) {
  1162. getPushCidCallbacks.forEach(function (callback) {
  1163. callback(cid, errMsg);
  1164. });
  1165. getPushCidCallbacks.length = 0;
  1166. }
  1167. function getPushClientId(args) {
  1168. if (!isPlainObject(args)) {
  1169. args = {};
  1170. }
  1171. var _getApiCallbacks = getApiCallbacks(args),
  1172. success = _getApiCallbacks.success,
  1173. fail = _getApiCallbacks.fail,
  1174. complete = _getApiCallbacks.complete;
  1175. var hasSuccess = isFn(success);
  1176. var hasFail = isFn(fail);
  1177. var hasComplete = isFn(complete);
  1178. Promise.resolve().then(function () {
  1179. if (typeof enabled === 'undefined') {
  1180. enabled = false;
  1181. cid = '';
  1182. cidErrMsg = 'uniPush is not enabled';
  1183. }
  1184. getPushCidCallbacks.push(function (cid, errMsg) {
  1185. var res;
  1186. if (cid) {
  1187. res = {
  1188. errMsg: 'getPushClientId:ok',
  1189. cid: cid
  1190. };
  1191. hasSuccess && success(res);
  1192. } else {
  1193. res = {
  1194. errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '')
  1195. };
  1196. hasFail && fail(res);
  1197. }
  1198. hasComplete && complete(res);
  1199. });
  1200. if (typeof cid !== 'undefined') {
  1201. invokeGetPushCidCallbacks(cid, cidErrMsg);
  1202. }
  1203. });
  1204. }
  1205. var onPushMessageCallbacks = [];
  1206. // 不使用 defineOnApi 实现,是因为 defineOnApi 依赖 UniServiceJSBridge ,该对象目前在小程序上未提供,故简单实现
  1207. var onPushMessage = function onPushMessage(fn) {
  1208. if (onPushMessageCallbacks.indexOf(fn) === -1) {
  1209. onPushMessageCallbacks.push(fn);
  1210. }
  1211. };
  1212. var offPushMessage = function offPushMessage(fn) {
  1213. if (!fn) {
  1214. onPushMessageCallbacks.length = 0;
  1215. } else {
  1216. var index = onPushMessageCallbacks.indexOf(fn);
  1217. if (index > -1) {
  1218. onPushMessageCallbacks.splice(index, 1);
  1219. }
  1220. }
  1221. };
  1222. var baseInfo = wx.getAppBaseInfo && wx.getAppBaseInfo();
  1223. if (!baseInfo) {
  1224. baseInfo = wx.getSystemInfoSync();
  1225. }
  1226. var host = baseInfo ? baseInfo.host : null;
  1227. var shareVideoMessage = host && host.env === 'SAAASDK' ? wx.miniapp.shareVideoMessage : wx.shareVideoMessage;
  1228. var api = /*#__PURE__*/Object.freeze({
  1229. __proto__: null,
  1230. shareVideoMessage: shareVideoMessage,
  1231. getPushClientId: getPushClientId,
  1232. onPushMessage: onPushMessage,
  1233. offPushMessage: offPushMessage,
  1234. invokePushCallback: invokePushCallback
  1235. });
  1236. var mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];
  1237. function findVmByVueId(vm, vuePid) {
  1238. var $children = vm.$children;
  1239. // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)
  1240. for (var i = $children.length - 1; i >= 0; i--) {
  1241. var childVm = $children[i];
  1242. if (childVm.$scope._$vueId === vuePid) {
  1243. return childVm;
  1244. }
  1245. }
  1246. // 反向递归查找
  1247. var parentVm;
  1248. for (var _i = $children.length - 1; _i >= 0; _i--) {
  1249. parentVm = findVmByVueId($children[_i], vuePid);
  1250. if (parentVm) {
  1251. return parentVm;
  1252. }
  1253. }
  1254. }
  1255. function initBehavior(options) {
  1256. return Behavior(options);
  1257. }
  1258. function isPage() {
  1259. return !!this.route;
  1260. }
  1261. function initRelation(detail) {
  1262. this.triggerEvent('__l', detail);
  1263. }
  1264. function selectAllComponents(mpInstance, selector, $refs) {
  1265. var components = mpInstance.selectAllComponents(selector) || [];
  1266. components.forEach(function (component) {
  1267. var ref = component.dataset.ref;
  1268. $refs[ref] = component.$vm || toSkip(component);
  1269. {
  1270. if (component.dataset.vueGeneric === 'scoped') {
  1271. component.selectAllComponents('.scoped-ref').forEach(function (scopedComponent) {
  1272. selectAllComponents(scopedComponent, selector, $refs);
  1273. });
  1274. }
  1275. }
  1276. });
  1277. }
  1278. function syncRefs(refs, newRefs) {
  1279. var oldKeys = (0, _construct2.default)(Set, (0, _toConsumableArray2.default)(Object.keys(refs)));
  1280. var newKeys = Object.keys(newRefs);
  1281. newKeys.forEach(function (key) {
  1282. var oldValue = refs[key];
  1283. var newValue = newRefs[key];
  1284. if (Array.isArray(oldValue) && Array.isArray(newValue) && oldValue.length === newValue.length && newValue.every(function (value) {
  1285. return oldValue.includes(value);
  1286. })) {
  1287. return;
  1288. }
  1289. refs[key] = newValue;
  1290. oldKeys.delete(key);
  1291. });
  1292. oldKeys.forEach(function (key) {
  1293. delete refs[key];
  1294. });
  1295. return refs;
  1296. }
  1297. function initRefs(vm) {
  1298. var mpInstance = vm.$scope;
  1299. var refs = {};
  1300. Object.defineProperty(vm, '$refs', {
  1301. get: function get() {
  1302. var $refs = {};
  1303. selectAllComponents(mpInstance, '.vue-ref', $refs);
  1304. // TODO 暂不考虑 for 中的 scoped
  1305. var forComponents = mpInstance.selectAllComponents('.vue-ref-in-for') || [];
  1306. forComponents.forEach(function (component) {
  1307. var ref = component.dataset.ref;
  1308. if (!$refs[ref]) {
  1309. $refs[ref] = [];
  1310. }
  1311. $refs[ref].push(component.$vm || toSkip(component));
  1312. });
  1313. return syncRefs(refs, $refs);
  1314. }
  1315. });
  1316. }
  1317. function handleLink(event) {
  1318. var _ref3 = event.detail || event.value,
  1319. vuePid = _ref3.vuePid,
  1320. vueOptions = _ref3.vueOptions; // detail 是微信,value 是百度(dipatch)
  1321. var parentVm;
  1322. if (vuePid) {
  1323. parentVm = findVmByVueId(this.$vm, vuePid);
  1324. }
  1325. if (!parentVm) {
  1326. parentVm = this.$vm;
  1327. }
  1328. vueOptions.parent = parentVm;
  1329. }
  1330. function markMPComponent(component) {
  1331. // 在 Vue 中标记为小程序组件
  1332. var IS_MP = '__v_isMPComponent';
  1333. Object.defineProperty(component, IS_MP, {
  1334. configurable: true,
  1335. enumerable: false,
  1336. value: true
  1337. });
  1338. return component;
  1339. }
  1340. function toSkip(obj) {
  1341. var OB = '__ob__';
  1342. var SKIP = '__v_skip';
  1343. if (isObject(obj) && Object.isExtensible(obj)) {
  1344. // 避免被 @vue/composition-api 观测
  1345. Object.defineProperty(obj, OB, {
  1346. configurable: true,
  1347. enumerable: false,
  1348. value: (0, _defineProperty2.default)({}, SKIP, true)
  1349. });
  1350. }
  1351. return obj;
  1352. }
  1353. var MPPage = Page;
  1354. var MPComponent = Component;
  1355. var customizeRE = /:/g;
  1356. var customize = cached(function (str) {
  1357. return camelize(str.replace(customizeRE, '-'));
  1358. });
  1359. function initTriggerEvent(mpInstance) {
  1360. var oldTriggerEvent = mpInstance.triggerEvent;
  1361. var newTriggerEvent = function newTriggerEvent(event) {
  1362. for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
  1363. args[_key3 - 1] = arguments[_key3];
  1364. }
  1365. // 事件名统一转驼峰格式,仅处理:当前组件为 vue 组件、当前组件为 vue 组件子组件
  1366. if (this.$vm || this.dataset && this.dataset.comType) {
  1367. event = customize(event);
  1368. } else {
  1369. // 针对微信/QQ小程序单独补充驼峰格式事件,以兼容历史项目
  1370. var newEvent = customize(event);
  1371. if (newEvent !== event) {
  1372. oldTriggerEvent.apply(this, [newEvent].concat(args));
  1373. }
  1374. }
  1375. return oldTriggerEvent.apply(this, [event].concat(args));
  1376. };
  1377. try {
  1378. // 京东小程序 triggerEvent 为只读
  1379. mpInstance.triggerEvent = newTriggerEvent;
  1380. } catch (error) {
  1381. mpInstance._triggerEvent = newTriggerEvent;
  1382. }
  1383. }
  1384. function initHook(name, options, isComponent) {
  1385. var oldHook = options[name];
  1386. options[name] = function () {
  1387. markMPComponent(this);
  1388. initTriggerEvent(this);
  1389. if (oldHook) {
  1390. for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  1391. args[_key4] = arguments[_key4];
  1392. }
  1393. return oldHook.apply(this, args);
  1394. }
  1395. };
  1396. }
  1397. if (!MPPage.__$wrappered) {
  1398. MPPage.__$wrappered = true;
  1399. Page = function Page() {
  1400. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1401. initHook('onLoad', options);
  1402. return MPPage(options);
  1403. };
  1404. Page.after = MPPage.after;
  1405. Component = function Component() {
  1406. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1407. initHook('created', options);
  1408. return MPComponent(options);
  1409. };
  1410. }
  1411. var PAGE_EVENT_HOOKS = ['onPullDownRefresh', 'onReachBottom', 'onAddToFavorites', 'onShareTimeline', 'onShareAppMessage', 'onPageScroll', 'onResize', 'onTabItemTap'];
  1412. function initMocks(vm, mocks) {
  1413. var mpInstance = vm.$mp[vm.mpType];
  1414. mocks.forEach(function (mock) {
  1415. if (hasOwn(mpInstance, mock)) {
  1416. vm[mock] = mpInstance[mock];
  1417. }
  1418. });
  1419. }
  1420. function hasHook(hook, vueOptions) {
  1421. if (!vueOptions) {
  1422. return true;
  1423. }
  1424. if (_vue.default.options && Array.isArray(_vue.default.options[hook])) {
  1425. return true;
  1426. }
  1427. vueOptions = vueOptions.default || vueOptions;
  1428. if (isFn(vueOptions)) {
  1429. if (isFn(vueOptions.extendOptions[hook])) {
  1430. return true;
  1431. }
  1432. if (vueOptions.super && vueOptions.super.options && Array.isArray(vueOptions.super.options[hook])) {
  1433. return true;
  1434. }
  1435. return false;
  1436. }
  1437. if (isFn(vueOptions[hook]) || Array.isArray(vueOptions[hook])) {
  1438. return true;
  1439. }
  1440. var mixins = vueOptions.mixins;
  1441. if (Array.isArray(mixins)) {
  1442. return !!mixins.find(function (mixin) {
  1443. return hasHook(hook, mixin);
  1444. });
  1445. }
  1446. }
  1447. function initHooks(mpOptions, hooks, vueOptions) {
  1448. hooks.forEach(function (hook) {
  1449. if (hasHook(hook, vueOptions)) {
  1450. mpOptions[hook] = function (args) {
  1451. return this.$vm && this.$vm.__call_hook(hook, args);
  1452. };
  1453. }
  1454. });
  1455. }
  1456. function initUnknownHooks(mpOptions, vueOptions) {
  1457. var excludes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1458. findHooks(vueOptions).forEach(function (hook) {
  1459. return initHook$1(mpOptions, hook, excludes);
  1460. });
  1461. }
  1462. function findHooks(vueOptions) {
  1463. var hooks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  1464. if (vueOptions) {
  1465. Object.keys(vueOptions).forEach(function (name) {
  1466. if (name.indexOf('on') === 0 && isFn(vueOptions[name])) {
  1467. hooks.push(name);
  1468. }
  1469. });
  1470. }
  1471. return hooks;
  1472. }
  1473. function initHook$1(mpOptions, hook, excludes) {
  1474. if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) {
  1475. mpOptions[hook] = function (args) {
  1476. return this.$vm && this.$vm.__call_hook(hook, args);
  1477. };
  1478. }
  1479. }
  1480. function initVueComponent(Vue, vueOptions) {
  1481. vueOptions = vueOptions.default || vueOptions;
  1482. var VueComponent;
  1483. if (isFn(vueOptions)) {
  1484. VueComponent = vueOptions;
  1485. } else {
  1486. VueComponent = Vue.extend(vueOptions);
  1487. }
  1488. vueOptions = VueComponent.options;
  1489. return [VueComponent, vueOptions];
  1490. }
  1491. function initSlots(vm, vueSlots) {
  1492. if (Array.isArray(vueSlots) && vueSlots.length) {
  1493. var $slots = Object.create(null);
  1494. vueSlots.forEach(function (slotName) {
  1495. $slots[slotName] = true;
  1496. });
  1497. vm.$scopedSlots = vm.$slots = $slots;
  1498. }
  1499. }
  1500. function initVueIds(vueIds, mpInstance) {
  1501. vueIds = (vueIds || '').split(',');
  1502. var len = vueIds.length;
  1503. if (len === 1) {
  1504. mpInstance._$vueId = vueIds[0];
  1505. } else if (len === 2) {
  1506. mpInstance._$vueId = vueIds[0];
  1507. mpInstance._$vuePid = vueIds[1];
  1508. }
  1509. }
  1510. function initData(vueOptions, context) {
  1511. var data = vueOptions.data || {};
  1512. var methods = vueOptions.methods || {};
  1513. if (typeof data === 'function') {
  1514. try {
  1515. data = data.call(context); // 支持 Vue.prototype 上挂的数据
  1516. } catch (e) {
  1517. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  1518. console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
  1519. }
  1520. }
  1521. } else {
  1522. try {
  1523. // 对 data 格式化
  1524. data = JSON.parse(JSON.stringify(data));
  1525. } catch (e) {}
  1526. }
  1527. if (!isPlainObject(data)) {
  1528. data = {};
  1529. }
  1530. Object.keys(methods).forEach(function (methodName) {
  1531. if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {
  1532. data[methodName] = methods[methodName];
  1533. }
  1534. });
  1535. return data;
  1536. }
  1537. var PROP_TYPES = [String, Number, Boolean, Object, Array, null];
  1538. function createObserver(name) {
  1539. return function observer(newVal, oldVal) {
  1540. if (this.$vm) {
  1541. this.$vm[name] = newVal; // 为了触发其他非 render watcher
  1542. }
  1543. };
  1544. }
  1545. function initBehaviors(vueOptions, initBehavior) {
  1546. var vueBehaviors = vueOptions.behaviors;
  1547. var vueExtends = vueOptions.extends;
  1548. var vueMixins = vueOptions.mixins;
  1549. var vueProps = vueOptions.props;
  1550. if (!vueProps) {
  1551. vueOptions.props = vueProps = [];
  1552. }
  1553. var behaviors = [];
  1554. if (Array.isArray(vueBehaviors)) {
  1555. vueBehaviors.forEach(function (behavior) {
  1556. behaviors.push(behavior.replace('uni://', "wx".concat("://")));
  1557. if (behavior === 'uni://form-field') {
  1558. if (Array.isArray(vueProps)) {
  1559. vueProps.push('name');
  1560. vueProps.push('value');
  1561. } else {
  1562. vueProps.name = {
  1563. type: String,
  1564. default: ''
  1565. };
  1566. vueProps.value = {
  1567. type: [String, Number, Boolean, Array, Object, Date],
  1568. default: ''
  1569. };
  1570. }
  1571. }
  1572. });
  1573. }
  1574. if (isPlainObject(vueExtends) && vueExtends.props) {
  1575. behaviors.push(initBehavior({
  1576. properties: initProperties(vueExtends.props, true)
  1577. }));
  1578. }
  1579. if (Array.isArray(vueMixins)) {
  1580. vueMixins.forEach(function (vueMixin) {
  1581. if (isPlainObject(vueMixin) && vueMixin.props) {
  1582. behaviors.push(initBehavior({
  1583. properties: initProperties(vueMixin.props, true)
  1584. }));
  1585. }
  1586. });
  1587. }
  1588. return behaviors;
  1589. }
  1590. function parsePropType(key, type, defaultValue, file) {
  1591. // [String]=>String
  1592. if (Array.isArray(type) && type.length === 1) {
  1593. return type[0];
  1594. }
  1595. return type;
  1596. }
  1597. function initProperties(props) {
  1598. var isBehavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  1599. var file = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  1600. var options = arguments.length > 3 ? arguments[3] : undefined;
  1601. var properties = {};
  1602. if (!isBehavior) {
  1603. properties.vueId = {
  1604. type: String,
  1605. value: ''
  1606. };
  1607. {
  1608. if (options.virtualHost) {
  1609. properties.virtualHostStyle = {
  1610. type: null,
  1611. value: ''
  1612. };
  1613. properties.virtualHostClass = {
  1614. type: null,
  1615. value: ''
  1616. };
  1617. }
  1618. }
  1619. // scopedSlotsCompiler auto
  1620. properties.scopedSlotsCompiler = {
  1621. type: String,
  1622. value: ''
  1623. };
  1624. properties.vueSlots = {
  1625. // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots
  1626. type: null,
  1627. value: [],
  1628. observer: function observer(newVal, oldVal) {
  1629. var $slots = Object.create(null);
  1630. newVal.forEach(function (slotName) {
  1631. $slots[slotName] = true;
  1632. });
  1633. this.setData({
  1634. $slots: $slots
  1635. });
  1636. }
  1637. };
  1638. }
  1639. if (Array.isArray(props)) {
  1640. // ['title']
  1641. props.forEach(function (key) {
  1642. properties[key] = {
  1643. type: null,
  1644. observer: createObserver(key)
  1645. };
  1646. });
  1647. } else if (isPlainObject(props)) {
  1648. // {title:{type:String,default:''},content:String}
  1649. Object.keys(props).forEach(function (key) {
  1650. var opts = props[key];
  1651. if (isPlainObject(opts)) {
  1652. // title:{type:String,default:''}
  1653. var value = opts.default;
  1654. if (isFn(value)) {
  1655. value = value();
  1656. }
  1657. opts.type = parsePropType(key, opts.type);
  1658. properties[key] = {
  1659. type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,
  1660. value: value,
  1661. observer: createObserver(key)
  1662. };
  1663. } else {
  1664. // content:String
  1665. var type = parsePropType(key, opts);
  1666. properties[key] = {
  1667. type: PROP_TYPES.indexOf(type) !== -1 ? type : null,
  1668. observer: createObserver(key)
  1669. };
  1670. }
  1671. });
  1672. }
  1673. return properties;
  1674. }
  1675. function wrapper$1(event) {
  1676. // TODO 又得兼容 mpvue 的 mp 对象
  1677. try {
  1678. event.mp = JSON.parse(JSON.stringify(event));
  1679. } catch (e) {}
  1680. event.stopPropagation = noop;
  1681. event.preventDefault = noop;
  1682. event.target = event.target || {};
  1683. if (!hasOwn(event, 'detail')) {
  1684. event.detail = {};
  1685. }
  1686. if (hasOwn(event, 'markerId')) {
  1687. event.detail = (0, _typeof2.default)(event.detail) === 'object' ? event.detail : {};
  1688. event.detail.markerId = event.markerId;
  1689. }
  1690. if (isPlainObject(event.detail)) {
  1691. event.target = Object.assign({}, event.target, event.detail);
  1692. }
  1693. return event;
  1694. }
  1695. function getExtraValue(vm, dataPathsArray) {
  1696. var context = vm;
  1697. dataPathsArray.forEach(function (dataPathArray) {
  1698. var dataPath = dataPathArray[0];
  1699. var value = dataPathArray[2];
  1700. if (dataPath || typeof value !== 'undefined') {
  1701. // ['','',index,'disable']
  1702. var propPath = dataPathArray[1];
  1703. var valuePath = dataPathArray[3];
  1704. var vFor;
  1705. if (Number.isInteger(dataPath)) {
  1706. vFor = dataPath;
  1707. } else if (!dataPath) {
  1708. vFor = context;
  1709. } else if (typeof dataPath === 'string' && dataPath) {
  1710. if (dataPath.indexOf('#s#') === 0) {
  1711. vFor = dataPath.substr(3);
  1712. } else {
  1713. vFor = vm.__get_value(dataPath, context);
  1714. }
  1715. }
  1716. if (Number.isInteger(vFor)) {
  1717. context = value;
  1718. } else if (!propPath) {
  1719. context = vFor[value];
  1720. } else {
  1721. if (Array.isArray(vFor)) {
  1722. context = vFor.find(function (vForItem) {
  1723. return vm.__get_value(propPath, vForItem) === value;
  1724. });
  1725. } else if (isPlainObject(vFor)) {
  1726. context = Object.keys(vFor).find(function (vForKey) {
  1727. return vm.__get_value(propPath, vFor[vForKey]) === value;
  1728. });
  1729. } else {
  1730. console.error('v-for 暂不支持循环数据:', vFor);
  1731. }
  1732. }
  1733. if (valuePath) {
  1734. context = vm.__get_value(valuePath, context);
  1735. }
  1736. }
  1737. });
  1738. return context;
  1739. }
  1740. function processEventExtra(vm, extra, event, __args__) {
  1741. var extraObj = {};
  1742. if (Array.isArray(extra) && extra.length) {
  1743. /**
  1744. *[
  1745. * ['data.items', 'data.id', item.data.id],
  1746. * ['metas', 'id', meta.id]
  1747. *],
  1748. *[
  1749. * ['data.items', 'data.id', item.data.id],
  1750. * ['metas', 'id', meta.id]
  1751. *],
  1752. *'test'
  1753. */
  1754. extra.forEach(function (dataPath, index) {
  1755. if (typeof dataPath === 'string') {
  1756. if (!dataPath) {
  1757. // model,prop.sync
  1758. extraObj['$' + index] = vm;
  1759. } else {
  1760. if (dataPath === '$event') {
  1761. // $event
  1762. extraObj['$' + index] = event;
  1763. } else if (dataPath === 'arguments') {
  1764. extraObj['$' + index] = event.detail ? event.detail.__args__ || __args__ : __args__;
  1765. } else if (dataPath.indexOf('$event.') === 0) {
  1766. // $event.target.value
  1767. extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);
  1768. } else {
  1769. extraObj['$' + index] = vm.__get_value(dataPath);
  1770. }
  1771. }
  1772. } else {
  1773. extraObj['$' + index] = getExtraValue(vm, dataPath);
  1774. }
  1775. });
  1776. }
  1777. return extraObj;
  1778. }
  1779. function getObjByArray(arr) {
  1780. var obj = {};
  1781. for (var i = 1; i < arr.length; i++) {
  1782. var element = arr[i];
  1783. obj[element[0]] = element[1];
  1784. }
  1785. return obj;
  1786. }
  1787. function processEventArgs(vm, event) {
  1788. var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1789. var extra = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  1790. var isCustom = arguments.length > 4 ? arguments[4] : undefined;
  1791. var methodName = arguments.length > 5 ? arguments[5] : undefined;
  1792. var isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象
  1793. // fixed 用户直接触发 mpInstance.triggerEvent
  1794. var __args__ = isPlainObject(event.detail) ? event.detail.__args__ || [event.detail] : [event.detail];
  1795. if (isCustom) {
  1796. // 自定义事件
  1797. isCustomMPEvent = event.currentTarget && event.currentTarget.dataset && event.currentTarget.dataset.comType === 'wx';
  1798. if (!args.length) {
  1799. // 无参数,直接传入 event 或 detail 数组
  1800. if (isCustomMPEvent) {
  1801. return [event];
  1802. }
  1803. return __args__;
  1804. }
  1805. }
  1806. var extraObj = processEventExtra(vm, extra, event, __args__);
  1807. var ret = [];
  1808. args.forEach(function (arg) {
  1809. if (arg === '$event') {
  1810. if (methodName === '__set_model' && !isCustom) {
  1811. // input v-model value
  1812. ret.push(event.target.value);
  1813. } else {
  1814. if (isCustom && !isCustomMPEvent) {
  1815. ret.push(__args__[0]);
  1816. } else {
  1817. // wxcomponent 组件或内置组件
  1818. ret.push(event);
  1819. }
  1820. }
  1821. } else {
  1822. if (Array.isArray(arg) && arg[0] === 'o') {
  1823. ret.push(getObjByArray(arg));
  1824. } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {
  1825. ret.push(extraObj[arg]);
  1826. } else {
  1827. ret.push(arg);
  1828. }
  1829. }
  1830. });
  1831. return ret;
  1832. }
  1833. var ONCE = '~';
  1834. var CUSTOM = '^';
  1835. function isMatchEventType(eventType, optType) {
  1836. return eventType === optType || optType === 'regionchange' && (eventType === 'begin' || eventType === 'end');
  1837. }
  1838. function getContextVm(vm) {
  1839. var $parent = vm.$parent;
  1840. // 父组件是 scoped slots 或者其他自定义组件时继续查找
  1841. while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {
  1842. $parent = $parent.$parent;
  1843. }
  1844. return $parent && $parent.$parent;
  1845. }
  1846. function handleEvent(event) {
  1847. var _this2 = this;
  1848. event = wrapper$1(event);
  1849. // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
  1850. var dataset = (event.currentTarget || event.target).dataset;
  1851. if (!dataset) {
  1852. return console.warn('事件信息不存在');
  1853. }
  1854. var eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰
  1855. if (!eventOpts) {
  1856. return console.warn('事件信息不存在');
  1857. }
  1858. // [['handle',[1,2,a]],['handle1',[1,2,a]]]
  1859. var eventType = event.type;
  1860. var ret = [];
  1861. eventOpts.forEach(function (eventOpt) {
  1862. var type = eventOpt[0];
  1863. var eventsArray = eventOpt[1];
  1864. var isCustom = type.charAt(0) === CUSTOM;
  1865. type = isCustom ? type.slice(1) : type;
  1866. var isOnce = type.charAt(0) === ONCE;
  1867. type = isOnce ? type.slice(1) : type;
  1868. if (eventsArray && isMatchEventType(eventType, type)) {
  1869. eventsArray.forEach(function (eventArray) {
  1870. var methodName = eventArray[0];
  1871. if (methodName) {
  1872. var handlerCtx = _this2.$vm;
  1873. if (handlerCtx.$options.generic) {
  1874. // mp-weixin,mp-toutiao 抽象节点模拟 scoped slots
  1875. handlerCtx = getContextVm(handlerCtx) || handlerCtx;
  1876. }
  1877. if (methodName === '$emit') {
  1878. handlerCtx.$emit.apply(handlerCtx, processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName));
  1879. return;
  1880. }
  1881. var handler = handlerCtx[methodName];
  1882. if (!isFn(handler)) {
  1883. var _type = _this2.$vm.mpType === 'page' ? 'Page' : 'Component';
  1884. var path = _this2.route || _this2.is;
  1885. throw new Error("".concat(_type, " \"").concat(path, "\" does not have a method \"").concat(methodName, "\""));
  1886. }
  1887. if (isOnce) {
  1888. if (handler.once) {
  1889. return;
  1890. }
  1891. handler.once = true;
  1892. }
  1893. var params = processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName);
  1894. params = Array.isArray(params) ? params : [];
  1895. // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据
  1896. if (/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(handler.toString())) {
  1897. // eslint-disable-next-line no-sparse-arrays
  1898. params = params.concat([,,,,,,,,,, event]);
  1899. }
  1900. ret.push(handler.apply(handlerCtx, params));
  1901. }
  1902. });
  1903. }
  1904. });
  1905. if (eventType === 'input' && ret.length === 1 && typeof ret[0] !== 'undefined') {
  1906. return ret[0];
  1907. }
  1908. }
  1909. var eventChannels = {};
  1910. var eventChannelStack = [];
  1911. function getEventChannel(id) {
  1912. if (id) {
  1913. var eventChannel = eventChannels[id];
  1914. delete eventChannels[id];
  1915. return eventChannel;
  1916. }
  1917. return eventChannelStack.shift();
  1918. }
  1919. var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection'];
  1920. function initEventChannel() {
  1921. _vue.default.prototype.getOpenerEventChannel = function () {
  1922. // 微信小程序使用自身getOpenerEventChannel
  1923. {
  1924. return this.$scope.getOpenerEventChannel();
  1925. }
  1926. };
  1927. var callHook = _vue.default.prototype.__call_hook;
  1928. _vue.default.prototype.__call_hook = function (hook, args) {
  1929. if (hook === 'onLoad' && args && args.__id__) {
  1930. this.__eventChannel__ = getEventChannel(args.__id__);
  1931. delete args.__id__;
  1932. }
  1933. return callHook.call(this, hook, args);
  1934. };
  1935. }
  1936. function initScopedSlotsParams() {
  1937. var center = {};
  1938. var parents = {};
  1939. _vue.default.prototype.$hasScopedSlotsParams = function (vueId) {
  1940. var has = center[vueId];
  1941. if (!has) {
  1942. parents[vueId] = this;
  1943. this.$on('hook:destroyed', function () {
  1944. delete parents[vueId];
  1945. });
  1946. }
  1947. return has;
  1948. };
  1949. _vue.default.prototype.$getScopedSlotsParams = function (vueId, name, key) {
  1950. var data = center[vueId];
  1951. if (data) {
  1952. var object = data[name] || {};
  1953. return key ? object[key] : object;
  1954. } else {
  1955. parents[vueId] = this;
  1956. this.$on('hook:destroyed', function () {
  1957. delete parents[vueId];
  1958. });
  1959. }
  1960. };
  1961. _vue.default.prototype.$setScopedSlotsParams = function (name, value) {
  1962. var vueIds = this.$options.propsData.vueId;
  1963. if (vueIds) {
  1964. var vueId = vueIds.split(',')[0];
  1965. var object = center[vueId] = center[vueId] || {};
  1966. object[name] = value;
  1967. if (parents[vueId]) {
  1968. parents[vueId].$forceUpdate();
  1969. }
  1970. }
  1971. };
  1972. _vue.default.mixin({
  1973. destroyed: function destroyed() {
  1974. var propsData = this.$options.propsData;
  1975. var vueId = propsData && propsData.vueId;
  1976. if (vueId) {
  1977. delete center[vueId];
  1978. delete parents[vueId];
  1979. }
  1980. }
  1981. });
  1982. }
  1983. function parseBaseApp(vm, _ref4) {
  1984. var mocks = _ref4.mocks,
  1985. initRefs = _ref4.initRefs;
  1986. initEventChannel();
  1987. {
  1988. initScopedSlotsParams();
  1989. }
  1990. if (vm.$options.store) {
  1991. _vue.default.prototype.$store = vm.$options.store;
  1992. }
  1993. uniIdMixin(_vue.default);
  1994. _vue.default.prototype.mpHost = "mp-weixin";
  1995. _vue.default.mixin({
  1996. beforeCreate: function beforeCreate() {
  1997. if (!this.$options.mpType) {
  1998. return;
  1999. }
  2000. this.mpType = this.$options.mpType;
  2001. this.$mp = (0, _defineProperty2.default)({
  2002. data: {}
  2003. }, this.mpType, this.$options.mpInstance);
  2004. this.$scope = this.$options.mpInstance;
  2005. delete this.$options.mpType;
  2006. delete this.$options.mpInstance;
  2007. if (this.mpType === 'page' && typeof getApp === 'function') {
  2008. // hack vue-i18n
  2009. var app = getApp();
  2010. if (app.$vm && app.$vm.$i18n) {
  2011. this._i18n = app.$vm.$i18n;
  2012. }
  2013. }
  2014. if (this.mpType !== 'app') {
  2015. initRefs(this);
  2016. initMocks(this, mocks);
  2017. }
  2018. }
  2019. });
  2020. var appOptions = {
  2021. onLaunch: function onLaunch(args) {
  2022. if (this.$vm) {
  2023. // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
  2024. return;
  2025. }
  2026. {
  2027. if (wx.canIUse && !wx.canIUse('nextTick')) {
  2028. // 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断
  2029. console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');
  2030. }
  2031. }
  2032. this.$vm = vm;
  2033. this.$vm.$mp = {
  2034. app: this
  2035. };
  2036. this.$vm.$scope = this;
  2037. // vm 上也挂载 globalData
  2038. this.$vm.globalData = this.globalData;
  2039. this.$vm._isMounted = true;
  2040. this.$vm.__call_hook('mounted', args);
  2041. this.$vm.__call_hook('onLaunch', args);
  2042. }
  2043. };
  2044. // 兼容旧版本 globalData
  2045. appOptions.globalData = vm.$options.globalData || {};
  2046. // 将 methods 中的方法挂在 getApp() 中
  2047. var methods = vm.$options.methods;
  2048. if (methods) {
  2049. Object.keys(methods).forEach(function (name) {
  2050. appOptions[name] = methods[name];
  2051. });
  2052. }
  2053. initAppLocale(_vue.default, vm, normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN);
  2054. initHooks(appOptions, hooks);
  2055. initUnknownHooks(appOptions, vm.$options);
  2056. return appOptions;
  2057. }
  2058. function parseApp(vm) {
  2059. return parseBaseApp(vm, {
  2060. mocks: mocks,
  2061. initRefs: initRefs
  2062. });
  2063. }
  2064. function createApp(vm) {
  2065. App(parseApp(vm));
  2066. return vm;
  2067. }
  2068. var encodeReserveRE = /[!'()*]/g;
  2069. var encodeReserveReplacer = function encodeReserveReplacer(c) {
  2070. return '%' + c.charCodeAt(0).toString(16);
  2071. };
  2072. var commaRE = /%2C/g;
  2073. // fixed encodeURIComponent which is more conformant to RFC3986:
  2074. // - escapes [!'()*]
  2075. // - preserve commas
  2076. var encode = function encode(str) {
  2077. return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');
  2078. };
  2079. function stringifyQuery(obj) {
  2080. var encodeStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : encode;
  2081. var res = obj ? Object.keys(obj).map(function (key) {
  2082. var val = obj[key];
  2083. if (val === undefined) {
  2084. return '';
  2085. }
  2086. if (val === null) {
  2087. return encodeStr(key);
  2088. }
  2089. if (Array.isArray(val)) {
  2090. var result = [];
  2091. val.forEach(function (val2) {
  2092. if (val2 === undefined) {
  2093. return;
  2094. }
  2095. if (val2 === null) {
  2096. result.push(encodeStr(key));
  2097. } else {
  2098. result.push(encodeStr(key) + '=' + encodeStr(val2));
  2099. }
  2100. });
  2101. return result.join('&');
  2102. }
  2103. return encodeStr(key) + '=' + encodeStr(val);
  2104. }).filter(function (x) {
  2105. return x.length > 0;
  2106. }).join('&') : null;
  2107. return res ? "?".concat(res) : '';
  2108. }
  2109. function parseBaseComponent(vueComponentOptions) {
  2110. var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
  2111. isPage = _ref5.isPage,
  2112. initRelation = _ref5.initRelation;
  2113. var needVueOptions = arguments.length > 2 ? arguments[2] : undefined;
  2114. var _initVueComponent = initVueComponent(_vue.default, vueComponentOptions),
  2115. _initVueComponent2 = (0, _slicedToArray2.default)(_initVueComponent, 2),
  2116. VueComponent = _initVueComponent2[0],
  2117. vueOptions = _initVueComponent2[1];
  2118. var options = _objectSpread({
  2119. multipleSlots: true,
  2120. addGlobalClass: true
  2121. }, vueOptions.options || {});
  2122. {
  2123. // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
  2124. if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {
  2125. Object.assign(options, vueOptions['mp-weixin'].options);
  2126. }
  2127. }
  2128. var componentOptions = {
  2129. options: options,
  2130. data: initData(vueOptions, _vue.default.prototype),
  2131. behaviors: initBehaviors(vueOptions, initBehavior),
  2132. properties: initProperties(vueOptions.props, false, vueOptions.__file, options),
  2133. lifetimes: {
  2134. attached: function attached() {
  2135. var properties = this.properties;
  2136. var options = {
  2137. mpType: isPage.call(this) ? 'page' : 'component',
  2138. mpInstance: this,
  2139. propsData: properties
  2140. };
  2141. initVueIds(properties.vueId, this);
  2142. // 处理父子关系
  2143. initRelation.call(this, {
  2144. vuePid: this._$vuePid,
  2145. vueOptions: options
  2146. });
  2147. // 初始化 vue 实例
  2148. this.$vm = new VueComponent(options);
  2149. // 处理$slots,$scopedSlots(暂不支持动态变化$slots)
  2150. initSlots(this.$vm, properties.vueSlots);
  2151. // 触发首次 setData
  2152. this.$vm.$mount();
  2153. },
  2154. ready: function ready() {
  2155. // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发
  2156. // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800
  2157. if (this.$vm) {
  2158. this.$vm._isMounted = true;
  2159. this.$vm.__call_hook('mounted');
  2160. this.$vm.__call_hook('onReady');
  2161. }
  2162. },
  2163. detached: function detached() {
  2164. this.$vm && this.$vm.$destroy();
  2165. }
  2166. },
  2167. pageLifetimes: {
  2168. show: function show(args) {
  2169. this.$vm && this.$vm.__call_hook('onPageShow', args);
  2170. },
  2171. hide: function hide() {
  2172. this.$vm && this.$vm.__call_hook('onPageHide');
  2173. },
  2174. resize: function resize(size) {
  2175. this.$vm && this.$vm.__call_hook('onPageResize', size);
  2176. }
  2177. },
  2178. methods: {
  2179. __l: handleLink,
  2180. __e: handleEvent
  2181. }
  2182. };
  2183. // externalClasses
  2184. if (vueOptions.externalClasses) {
  2185. componentOptions.externalClasses = vueOptions.externalClasses;
  2186. }
  2187. if (Array.isArray(vueOptions.wxsCallMethods)) {
  2188. vueOptions.wxsCallMethods.forEach(function (callMethod) {
  2189. componentOptions.methods[callMethod] = function (args) {
  2190. return this.$vm[callMethod](args);
  2191. };
  2192. });
  2193. }
  2194. if (needVueOptions) {
  2195. return [componentOptions, vueOptions, VueComponent];
  2196. }
  2197. if (isPage) {
  2198. return componentOptions;
  2199. }
  2200. return [componentOptions, VueComponent];
  2201. }
  2202. function parseComponent(vueComponentOptions, needVueOptions) {
  2203. return parseBaseComponent(vueComponentOptions, {
  2204. isPage: isPage,
  2205. initRelation: initRelation
  2206. }, needVueOptions);
  2207. }
  2208. var hooks$1 = ['onShow', 'onHide', 'onUnload'];
  2209. hooks$1.push.apply(hooks$1, PAGE_EVENT_HOOKS);
  2210. function parseBasePage(vuePageOptions) {
  2211. var _parseComponent = parseComponent(vuePageOptions, true),
  2212. _parseComponent2 = (0, _slicedToArray2.default)(_parseComponent, 2),
  2213. pageOptions = _parseComponent2[0],
  2214. vueOptions = _parseComponent2[1];
  2215. initHooks(pageOptions.methods, hooks$1, vueOptions);
  2216. pageOptions.methods.onLoad = function (query) {
  2217. this.options = query;
  2218. var copyQuery = Object.assign({}, query);
  2219. delete copyQuery.__id__;
  2220. this.$page = {
  2221. fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery)
  2222. };
  2223. this.$vm.$mp.query = query; // 兼容 mpvue
  2224. this.$vm.__call_hook('onLoad', query);
  2225. };
  2226. {
  2227. initUnknownHooks(pageOptions.methods, vuePageOptions, ['onReady']);
  2228. }
  2229. return pageOptions;
  2230. }
  2231. function parsePage(vuePageOptions) {
  2232. return parseBasePage(vuePageOptions);
  2233. }
  2234. function createPage(vuePageOptions) {
  2235. {
  2236. return Component(parsePage(vuePageOptions));
  2237. }
  2238. }
  2239. function createComponent(vueOptions) {
  2240. {
  2241. return Component(parseComponent(vueOptions));
  2242. }
  2243. }
  2244. function createSubpackageApp(vm) {
  2245. var appOptions = parseApp(vm);
  2246. var app = getApp({
  2247. allowDefault: true
  2248. });
  2249. vm.$scope = app;
  2250. var globalData = app.globalData;
  2251. if (globalData) {
  2252. Object.keys(appOptions.globalData).forEach(function (name) {
  2253. if (!hasOwn(globalData, name)) {
  2254. globalData[name] = appOptions.globalData[name];
  2255. }
  2256. });
  2257. }
  2258. Object.keys(appOptions).forEach(function (name) {
  2259. if (!hasOwn(app, name)) {
  2260. app[name] = appOptions[name];
  2261. }
  2262. });
  2263. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2264. wx.onAppShow(function () {
  2265. for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
  2266. args[_key5] = arguments[_key5];
  2267. }
  2268. vm.__call_hook('onShow', args);
  2269. });
  2270. }
  2271. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2272. wx.onAppHide(function () {
  2273. for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
  2274. args[_key6] = arguments[_key6];
  2275. }
  2276. vm.__call_hook('onHide', args);
  2277. });
  2278. }
  2279. if (isFn(appOptions.onLaunch)) {
  2280. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2281. vm.__call_hook('onLaunch', args);
  2282. }
  2283. return vm;
  2284. }
  2285. function createPlugin(vm) {
  2286. var appOptions = parseApp(vm);
  2287. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2288. wx.onAppShow(function () {
  2289. for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
  2290. args[_key7] = arguments[_key7];
  2291. }
  2292. vm.__call_hook('onShow', args);
  2293. });
  2294. }
  2295. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2296. wx.onAppHide(function () {
  2297. for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
  2298. args[_key8] = arguments[_key8];
  2299. }
  2300. vm.__call_hook('onHide', args);
  2301. });
  2302. }
  2303. if (isFn(appOptions.onLaunch)) {
  2304. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2305. vm.__call_hook('onLaunch', args);
  2306. }
  2307. return vm;
  2308. }
  2309. todos.forEach(function (todoApi) {
  2310. protocols[todoApi] = false;
  2311. });
  2312. canIUses.forEach(function (canIUseApi) {
  2313. var apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name : canIUseApi;
  2314. if (!wx.canIUse(apiName)) {
  2315. protocols[canIUseApi] = false;
  2316. }
  2317. });
  2318. var uni = {};
  2319. if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
  2320. uni = new Proxy({}, {
  2321. get: function get(target, name) {
  2322. if (hasOwn(target, name)) {
  2323. return target[name];
  2324. }
  2325. if (baseApi[name]) {
  2326. return baseApi[name];
  2327. }
  2328. if (api[name]) {
  2329. return promisify(name, api[name]);
  2330. }
  2331. {
  2332. if (extraApi[name]) {
  2333. return promisify(name, extraApi[name]);
  2334. }
  2335. if (todoApis[name]) {
  2336. return promisify(name, todoApis[name]);
  2337. }
  2338. }
  2339. if (eventApi[name]) {
  2340. return eventApi[name];
  2341. }
  2342. return promisify(name, wrapper(name, wx[name]));
  2343. },
  2344. set: function set(target, name, value) {
  2345. target[name] = value;
  2346. return true;
  2347. }
  2348. });
  2349. } else {
  2350. Object.keys(baseApi).forEach(function (name) {
  2351. uni[name] = baseApi[name];
  2352. });
  2353. {
  2354. Object.keys(todoApis).forEach(function (name) {
  2355. uni[name] = promisify(name, todoApis[name]);
  2356. });
  2357. Object.keys(extraApi).forEach(function (name) {
  2358. uni[name] = promisify(name, todoApis[name]);
  2359. });
  2360. }
  2361. Object.keys(eventApi).forEach(function (name) {
  2362. uni[name] = eventApi[name];
  2363. });
  2364. Object.keys(api).forEach(function (name) {
  2365. uni[name] = promisify(name, api[name]);
  2366. });
  2367. Object.keys(wx).forEach(function (name) {
  2368. if (hasOwn(wx, name) || hasOwn(protocols, name)) {
  2369. uni[name] = promisify(name, wrapper(name, wx[name]));
  2370. }
  2371. });
  2372. }
  2373. wx.createApp = createApp;
  2374. wx.createPage = createPage;
  2375. wx.createComponent = createComponent;
  2376. wx.createSubpackageApp = createSubpackageApp;
  2377. wx.createPlugin = createPlugin;
  2378. var uni$1 = uni;
  2379. var _default = uni$1;
  2380. exports.default = _default;
  2381. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  2382. /***/ }),
  2383. /* 3 */
  2384. /*!***********************************!*\
  2385. !*** (webpack)/buildin/global.js ***!
  2386. \***********************************/
  2387. /*! no static exports found */
  2388. /***/ (function(module, exports) {
  2389. var g;
  2390. // This works in non-strict mode
  2391. g = (function() {
  2392. return this;
  2393. })();
  2394. try {
  2395. // This works if eval is allowed (see CSP)
  2396. g = g || new Function("return this")();
  2397. } catch (e) {
  2398. // This works if the window reference is available
  2399. if (typeof window === "object") g = window;
  2400. }
  2401. // g can still be undefined, but nothing to do about it...
  2402. // We return undefined, instead of nothing here, so it's
  2403. // easier to handle this case. if(!global) { ...}
  2404. module.exports = g;
  2405. /***/ }),
  2406. /* 4 */
  2407. /*!**********************************************************************!*\
  2408. !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
  2409. \**********************************************************************/
  2410. /*! no static exports found */
  2411. /***/ (function(module, exports) {
  2412. function _interopRequireDefault(obj) {
  2413. return obj && obj.__esModule ? obj : {
  2414. "default": obj
  2415. };
  2416. }
  2417. module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2418. /***/ }),
  2419. /* 5 */
  2420. /*!**************************************************************!*\
  2421. !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***!
  2422. \**************************************************************/
  2423. /*! no static exports found */
  2424. /***/ (function(module, exports, __webpack_require__) {
  2425. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  2426. var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 7);
  2427. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  2428. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  2429. function _slicedToArray(arr, i) {
  2430. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  2431. }
  2432. module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2433. /***/ }),
  2434. /* 6 */
  2435. /*!***************************************************************!*\
  2436. !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
  2437. \***************************************************************/
  2438. /*! no static exports found */
  2439. /***/ (function(module, exports) {
  2440. function _arrayWithHoles(arr) {
  2441. if (Array.isArray(arr)) return arr;
  2442. }
  2443. module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2444. /***/ }),
  2445. /* 7 */
  2446. /*!*********************************************************************!*\
  2447. !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
  2448. \*********************************************************************/
  2449. /*! no static exports found */
  2450. /***/ (function(module, exports) {
  2451. function _iterableToArrayLimit(arr, i) {
  2452. var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
  2453. if (null != _i) {
  2454. var _s,
  2455. _e,
  2456. _x,
  2457. _r,
  2458. _arr = [],
  2459. _n = !0,
  2460. _d = !1;
  2461. try {
  2462. if (_x = (_i = _i.call(arr)).next, 0 === i) {
  2463. if (Object(_i) !== _i) return;
  2464. _n = !1;
  2465. } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
  2466. ;
  2467. }
  2468. } catch (err) {
  2469. _d = !0, _e = err;
  2470. } finally {
  2471. try {
  2472. if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
  2473. } finally {
  2474. if (_d) throw _e;
  2475. }
  2476. }
  2477. return _arr;
  2478. }
  2479. }
  2480. module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2481. /***/ }),
  2482. /* 8 */
  2483. /*!***************************************************************************!*\
  2484. !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
  2485. \***************************************************************************/
  2486. /*! no static exports found */
  2487. /***/ (function(module, exports, __webpack_require__) {
  2488. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  2489. function _unsupportedIterableToArray(o, minLen) {
  2490. if (!o) return;
  2491. if (typeof o === "string") return arrayLikeToArray(o, minLen);
  2492. var n = Object.prototype.toString.call(o).slice(8, -1);
  2493. if (n === "Object" && o.constructor) n = o.constructor.name;
  2494. if (n === "Map" || n === "Set") return Array.from(o);
  2495. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
  2496. }
  2497. module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2498. /***/ }),
  2499. /* 9 */
  2500. /*!*****************************************************************!*\
  2501. !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
  2502. \*****************************************************************/
  2503. /*! no static exports found */
  2504. /***/ (function(module, exports) {
  2505. function _arrayLikeToArray(arr, len) {
  2506. if (len == null || len > arr.length) len = arr.length;
  2507. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  2508. arr2[i] = arr[i];
  2509. }
  2510. return arr2;
  2511. }
  2512. module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2513. /***/ }),
  2514. /* 10 */
  2515. /*!****************************************************************!*\
  2516. !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
  2517. \****************************************************************/
  2518. /*! no static exports found */
  2519. /***/ (function(module, exports) {
  2520. function _nonIterableRest() {
  2521. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2522. }
  2523. module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2524. /***/ }),
  2525. /* 11 */
  2526. /*!***************************************************************!*\
  2527. !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
  2528. \***************************************************************/
  2529. /*! no static exports found */
  2530. /***/ (function(module, exports, __webpack_require__) {
  2531. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  2532. function _defineProperty(obj, key, value) {
  2533. key = toPropertyKey(key);
  2534. if (key in obj) {
  2535. Object.defineProperty(obj, key, {
  2536. value: value,
  2537. enumerable: true,
  2538. configurable: true,
  2539. writable: true
  2540. });
  2541. } else {
  2542. obj[key] = value;
  2543. }
  2544. return obj;
  2545. }
  2546. module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2547. /***/ }),
  2548. /* 12 */
  2549. /*!**************************************************************!*\
  2550. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  2551. \**************************************************************/
  2552. /*! no static exports found */
  2553. /***/ (function(module, exports, __webpack_require__) {
  2554. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  2555. var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 14);
  2556. function _toPropertyKey(arg) {
  2557. var key = toPrimitive(arg, "string");
  2558. return _typeof(key) === "symbol" ? key : String(key);
  2559. }
  2560. module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2561. /***/ }),
  2562. /* 13 */
  2563. /*!*******************************************************!*\
  2564. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  2565. \*******************************************************/
  2566. /*! no static exports found */
  2567. /***/ (function(module, exports) {
  2568. function _typeof(obj) {
  2569. "@babel/helpers - typeof";
  2570. return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
  2571. return typeof obj;
  2572. } : function (obj) {
  2573. return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  2574. }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
  2575. }
  2576. module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2577. /***/ }),
  2578. /* 14 */
  2579. /*!************************************************************!*\
  2580. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  2581. \************************************************************/
  2582. /*! no static exports found */
  2583. /***/ (function(module, exports, __webpack_require__) {
  2584. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  2585. function _toPrimitive(input, hint) {
  2586. if (_typeof(input) !== "object" || input === null) return input;
  2587. var prim = input[Symbol.toPrimitive];
  2588. if (prim !== undefined) {
  2589. var res = prim.call(input, hint || "default");
  2590. if (_typeof(res) !== "object") return res;
  2591. throw new TypeError("@@toPrimitive must return a primitive value.");
  2592. }
  2593. return (hint === "string" ? String : Number)(input);
  2594. }
  2595. module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2596. /***/ }),
  2597. /* 15 */
  2598. /*!**********************************************************!*\
  2599. !*** ./node_modules/@babel/runtime/helpers/construct.js ***!
  2600. \**********************************************************/
  2601. /*! no static exports found */
  2602. /***/ (function(module, exports, __webpack_require__) {
  2603. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  2604. var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 17);
  2605. function _construct(Parent, args, Class) {
  2606. if (isNativeReflectConstruct()) {
  2607. module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
  2608. } else {
  2609. module.exports = _construct = function _construct(Parent, args, Class) {
  2610. var a = [null];
  2611. a.push.apply(a, args);
  2612. var Constructor = Function.bind.apply(Parent, a);
  2613. var instance = new Constructor();
  2614. if (Class) setPrototypeOf(instance, Class.prototype);
  2615. return instance;
  2616. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2617. }
  2618. return _construct.apply(null, arguments);
  2619. }
  2620. module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2621. /***/ }),
  2622. /* 16 */
  2623. /*!***************************************************************!*\
  2624. !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
  2625. \***************************************************************/
  2626. /*! no static exports found */
  2627. /***/ (function(module, exports) {
  2628. function _setPrototypeOf(o, p) {
  2629. module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  2630. o.__proto__ = p;
  2631. return o;
  2632. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2633. return _setPrototypeOf(o, p);
  2634. }
  2635. module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2636. /***/ }),
  2637. /* 17 */
  2638. /*!*************************************************************************!*\
  2639. !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***!
  2640. \*************************************************************************/
  2641. /*! no static exports found */
  2642. /***/ (function(module, exports) {
  2643. function _isNativeReflectConstruct() {
  2644. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  2645. if (Reflect.construct.sham) return false;
  2646. if (typeof Proxy === "function") return true;
  2647. try {
  2648. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  2649. return true;
  2650. } catch (e) {
  2651. return false;
  2652. }
  2653. }
  2654. module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2655. /***/ }),
  2656. /* 18 */
  2657. /*!******************************************************************!*\
  2658. !*** ./node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
  2659. \******************************************************************/
  2660. /*! no static exports found */
  2661. /***/ (function(module, exports, __webpack_require__) {
  2662. var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 19);
  2663. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  2664. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  2665. var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 21);
  2666. function _toConsumableArray(arr) {
  2667. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  2668. }
  2669. module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2670. /***/ }),
  2671. /* 19 */
  2672. /*!******************************************************************!*\
  2673. !*** ./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
  2674. \******************************************************************/
  2675. /*! no static exports found */
  2676. /***/ (function(module, exports, __webpack_require__) {
  2677. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  2678. function _arrayWithoutHoles(arr) {
  2679. if (Array.isArray(arr)) return arrayLikeToArray(arr);
  2680. }
  2681. module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2682. /***/ }),
  2683. /* 20 */
  2684. /*!****************************************************************!*\
  2685. !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***!
  2686. \****************************************************************/
  2687. /*! no static exports found */
  2688. /***/ (function(module, exports) {
  2689. function _iterableToArray(iter) {
  2690. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  2691. }
  2692. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2693. /***/ }),
  2694. /* 21 */
  2695. /*!******************************************************************!*\
  2696. !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
  2697. \******************************************************************/
  2698. /*! no static exports found */
  2699. /***/ (function(module, exports) {
  2700. function _nonIterableSpread() {
  2701. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2702. }
  2703. module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2704. /***/ }),
  2705. /* 22 */
  2706. /*!*************************************************************!*\
  2707. !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
  2708. \*************************************************************/
  2709. /*! no static exports found */
  2710. /***/ (function(module, exports, __webpack_require__) {
  2711. "use strict";
  2712. /* WEBPACK VAR INJECTION */(function(uni, global) {
  2713. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  2714. Object.defineProperty(exports, "__esModule", {
  2715. value: true
  2716. });
  2717. exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0;
  2718. exports.compileI18nJsonStr = compileI18nJsonStr;
  2719. exports.hasI18nJson = hasI18nJson;
  2720. exports.initVueI18n = initVueI18n;
  2721. exports.isI18nStr = isI18nStr;
  2722. exports.isString = void 0;
  2723. exports.normalizeLocale = normalizeLocale;
  2724. exports.parseI18nJson = parseI18nJson;
  2725. exports.resolveLocale = resolveLocale;
  2726. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  2727. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  2728. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  2729. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  2730. var isArray = Array.isArray;
  2731. var isObject = function isObject(val) {
  2732. return val !== null && (0, _typeof2.default)(val) === 'object';
  2733. };
  2734. var defaultDelimiters = ['{', '}'];
  2735. var BaseFormatter = /*#__PURE__*/function () {
  2736. function BaseFormatter() {
  2737. (0, _classCallCheck2.default)(this, BaseFormatter);
  2738. this._caches = Object.create(null);
  2739. }
  2740. (0, _createClass2.default)(BaseFormatter, [{
  2741. key: "interpolate",
  2742. value: function interpolate(message, values) {
  2743. var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters;
  2744. if (!values) {
  2745. return [message];
  2746. }
  2747. var tokens = this._caches[message];
  2748. if (!tokens) {
  2749. tokens = parse(message, delimiters);
  2750. this._caches[message] = tokens;
  2751. }
  2752. return compile(tokens, values);
  2753. }
  2754. }]);
  2755. return BaseFormatter;
  2756. }();
  2757. exports.Formatter = BaseFormatter;
  2758. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  2759. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  2760. function parse(format, _ref) {
  2761. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  2762. startDelimiter = _ref2[0],
  2763. endDelimiter = _ref2[1];
  2764. var tokens = [];
  2765. var position = 0;
  2766. var text = '';
  2767. while (position < format.length) {
  2768. var char = format[position++];
  2769. if (char === startDelimiter) {
  2770. if (text) {
  2771. tokens.push({
  2772. type: 'text',
  2773. value: text
  2774. });
  2775. }
  2776. text = '';
  2777. var sub = '';
  2778. char = format[position++];
  2779. while (char !== undefined && char !== endDelimiter) {
  2780. sub += char;
  2781. char = format[position++];
  2782. }
  2783. var isClosed = char === endDelimiter;
  2784. var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';
  2785. tokens.push({
  2786. value: sub,
  2787. type: type
  2788. });
  2789. }
  2790. // else if (char === '%') {
  2791. // // when found rails i18n syntax, skip text capture
  2792. // if (format[position] !== '{') {
  2793. // text += char
  2794. // }
  2795. // }
  2796. else {
  2797. text += char;
  2798. }
  2799. }
  2800. text && tokens.push({
  2801. type: 'text',
  2802. value: text
  2803. });
  2804. return tokens;
  2805. }
  2806. function compile(tokens, values) {
  2807. var compiled = [];
  2808. var index = 0;
  2809. var mode = isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';
  2810. if (mode === 'unknown') {
  2811. return compiled;
  2812. }
  2813. while (index < tokens.length) {
  2814. var token = tokens[index];
  2815. switch (token.type) {
  2816. case 'text':
  2817. compiled.push(token.value);
  2818. break;
  2819. case 'list':
  2820. compiled.push(values[parseInt(token.value, 10)]);
  2821. break;
  2822. case 'named':
  2823. if (mode === 'named') {
  2824. compiled.push(values[token.value]);
  2825. } else {
  2826. if (true) {
  2827. console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!"));
  2828. }
  2829. }
  2830. break;
  2831. case 'unknown':
  2832. if (true) {
  2833. console.warn("Detect 'unknown' type of token!");
  2834. }
  2835. break;
  2836. }
  2837. index++;
  2838. }
  2839. return compiled;
  2840. }
  2841. var LOCALE_ZH_HANS = 'zh-Hans';
  2842. exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS;
  2843. var LOCALE_ZH_HANT = 'zh-Hant';
  2844. exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT;
  2845. var LOCALE_EN = 'en';
  2846. exports.LOCALE_EN = LOCALE_EN;
  2847. var LOCALE_FR = 'fr';
  2848. exports.LOCALE_FR = LOCALE_FR;
  2849. var LOCALE_ES = 'es';
  2850. exports.LOCALE_ES = LOCALE_ES;
  2851. var hasOwnProperty = Object.prototype.hasOwnProperty;
  2852. var hasOwn = function hasOwn(val, key) {
  2853. return hasOwnProperty.call(val, key);
  2854. };
  2855. var defaultFormatter = new BaseFormatter();
  2856. function include(str, parts) {
  2857. return !!parts.find(function (part) {
  2858. return str.indexOf(part) !== -1;
  2859. });
  2860. }
  2861. function startsWith(str, parts) {
  2862. return parts.find(function (part) {
  2863. return str.indexOf(part) === 0;
  2864. });
  2865. }
  2866. function normalizeLocale(locale, messages) {
  2867. if (!locale) {
  2868. return;
  2869. }
  2870. locale = locale.trim().replace(/_/g, '-');
  2871. if (messages && messages[locale]) {
  2872. return locale;
  2873. }
  2874. locale = locale.toLowerCase();
  2875. if (locale.indexOf('zh') === 0) {
  2876. if (locale.indexOf('-hans') > -1) {
  2877. return LOCALE_ZH_HANS;
  2878. }
  2879. if (locale.indexOf('-hant') > -1) {
  2880. return LOCALE_ZH_HANT;
  2881. }
  2882. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  2883. return LOCALE_ZH_HANT;
  2884. }
  2885. return LOCALE_ZH_HANS;
  2886. }
  2887. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  2888. if (lang) {
  2889. return lang;
  2890. }
  2891. }
  2892. var I18n = /*#__PURE__*/function () {
  2893. function I18n(_ref3) {
  2894. var locale = _ref3.locale,
  2895. fallbackLocale = _ref3.fallbackLocale,
  2896. messages = _ref3.messages,
  2897. watcher = _ref3.watcher,
  2898. formater = _ref3.formater;
  2899. (0, _classCallCheck2.default)(this, I18n);
  2900. this.locale = LOCALE_EN;
  2901. this.fallbackLocale = LOCALE_EN;
  2902. this.message = {};
  2903. this.messages = {};
  2904. this.watchers = [];
  2905. if (fallbackLocale) {
  2906. this.fallbackLocale = fallbackLocale;
  2907. }
  2908. this.formater = formater || defaultFormatter;
  2909. this.messages = messages || {};
  2910. this.setLocale(locale || LOCALE_EN);
  2911. if (watcher) {
  2912. this.watchLocale(watcher);
  2913. }
  2914. }
  2915. (0, _createClass2.default)(I18n, [{
  2916. key: "setLocale",
  2917. value: function setLocale(locale) {
  2918. var _this = this;
  2919. var oldLocale = this.locale;
  2920. this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;
  2921. if (!this.messages[this.locale]) {
  2922. // 可能初始化时不存在
  2923. this.messages[this.locale] = {};
  2924. }
  2925. this.message = this.messages[this.locale];
  2926. // 仅发生变化时,通知
  2927. if (oldLocale !== this.locale) {
  2928. this.watchers.forEach(function (watcher) {
  2929. watcher(_this.locale, oldLocale);
  2930. });
  2931. }
  2932. }
  2933. }, {
  2934. key: "getLocale",
  2935. value: function getLocale() {
  2936. return this.locale;
  2937. }
  2938. }, {
  2939. key: "watchLocale",
  2940. value: function watchLocale(fn) {
  2941. var _this2 = this;
  2942. var index = this.watchers.push(fn) - 1;
  2943. return function () {
  2944. _this2.watchers.splice(index, 1);
  2945. };
  2946. }
  2947. }, {
  2948. key: "add",
  2949. value: function add(locale, message) {
  2950. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  2951. var curMessages = this.messages[locale];
  2952. if (curMessages) {
  2953. if (override) {
  2954. Object.assign(curMessages, message);
  2955. } else {
  2956. Object.keys(message).forEach(function (key) {
  2957. if (!hasOwn(curMessages, key)) {
  2958. curMessages[key] = message[key];
  2959. }
  2960. });
  2961. }
  2962. } else {
  2963. this.messages[locale] = message;
  2964. }
  2965. }
  2966. }, {
  2967. key: "f",
  2968. value: function f(message, values, delimiters) {
  2969. return this.formater.interpolate(message, values, delimiters).join('');
  2970. }
  2971. }, {
  2972. key: "t",
  2973. value: function t(key, locale, values) {
  2974. var message = this.message;
  2975. if (typeof locale === 'string') {
  2976. locale = normalizeLocale(locale, this.messages);
  2977. locale && (message = this.messages[locale]);
  2978. } else {
  2979. values = locale;
  2980. }
  2981. if (!hasOwn(message, key)) {
  2982. console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default."));
  2983. return key;
  2984. }
  2985. return this.formater.interpolate(message[key], values).join('');
  2986. }
  2987. }]);
  2988. return I18n;
  2989. }();
  2990. exports.I18n = I18n;
  2991. function watchAppLocale(appVm, i18n) {
  2992. // 需要保证 watch 的触发在组件渲染之前
  2993. if (appVm.$watchLocale) {
  2994. // vue2
  2995. appVm.$watchLocale(function (newLocale) {
  2996. i18n.setLocale(newLocale);
  2997. });
  2998. } else {
  2999. appVm.$watch(function () {
  3000. return appVm.$locale;
  3001. }, function (newLocale) {
  3002. i18n.setLocale(newLocale);
  3003. });
  3004. }
  3005. }
  3006. function getDefaultLocale() {
  3007. if (typeof uni !== 'undefined' && uni.getLocale) {
  3008. return uni.getLocale();
  3009. }
  3010. // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale
  3011. if (typeof global !== 'undefined' && global.getLocale) {
  3012. return global.getLocale();
  3013. }
  3014. return LOCALE_EN;
  3015. }
  3016. function initVueI18n(locale) {
  3017. var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  3018. var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined;
  3019. var watcher = arguments.length > 3 ? arguments[3] : undefined;
  3020. // 兼容旧版本入参
  3021. if (typeof locale !== 'string') {
  3022. var _ref4 = [messages, locale];
  3023. locale = _ref4[0];
  3024. messages = _ref4[1];
  3025. }
  3026. if (typeof locale !== 'string') {
  3027. // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined
  3028. locale = getDefaultLocale();
  3029. }
  3030. if (typeof fallbackLocale !== 'string') {
  3031. fallbackLocale = typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale || LOCALE_EN;
  3032. }
  3033. var i18n = new I18n({
  3034. locale: locale,
  3035. fallbackLocale: fallbackLocale,
  3036. messages: messages,
  3037. watcher: watcher
  3038. });
  3039. var _t = function t(key, values) {
  3040. if (typeof getApp !== 'function') {
  3041. // app view
  3042. /* eslint-disable no-func-assign */
  3043. _t = function t(key, values) {
  3044. return i18n.t(key, values);
  3045. };
  3046. } else {
  3047. var isWatchedAppLocale = false;
  3048. _t = function t(key, values) {
  3049. var appVm = getApp().$vm;
  3050. // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化
  3051. // options: {
  3052. // type: Array,
  3053. // default () {
  3054. // return [{
  3055. // icon: 'shop',
  3056. // text: t("uni-goods-nav.options.shop"),
  3057. // }, {
  3058. // icon: 'cart',
  3059. // text: t("uni-goods-nav.options.cart")
  3060. // }]
  3061. // }
  3062. // },
  3063. if (appVm) {
  3064. // 触发响应式
  3065. appVm.$locale;
  3066. if (!isWatchedAppLocale) {
  3067. isWatchedAppLocale = true;
  3068. watchAppLocale(appVm, i18n);
  3069. }
  3070. }
  3071. return i18n.t(key, values);
  3072. };
  3073. }
  3074. return _t(key, values);
  3075. };
  3076. return {
  3077. i18n: i18n,
  3078. f: function f(message, values, delimiters) {
  3079. return i18n.f(message, values, delimiters);
  3080. },
  3081. t: function t(key, values) {
  3082. return _t(key, values);
  3083. },
  3084. add: function add(locale, message) {
  3085. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  3086. return i18n.add(locale, message, override);
  3087. },
  3088. watch: function watch(fn) {
  3089. return i18n.watchLocale(fn);
  3090. },
  3091. getLocale: function getLocale() {
  3092. return i18n.getLocale();
  3093. },
  3094. setLocale: function setLocale(newLocale) {
  3095. return i18n.setLocale(newLocale);
  3096. }
  3097. };
  3098. }
  3099. var isString = function isString(val) {
  3100. return typeof val === 'string';
  3101. };
  3102. exports.isString = isString;
  3103. var formater;
  3104. function hasI18nJson(jsonObj, delimiters) {
  3105. if (!formater) {
  3106. formater = new BaseFormatter();
  3107. }
  3108. return walkJsonObj(jsonObj, function (jsonObj, key) {
  3109. var value = jsonObj[key];
  3110. if (isString(value)) {
  3111. if (isI18nStr(value, delimiters)) {
  3112. return true;
  3113. }
  3114. } else {
  3115. return hasI18nJson(value, delimiters);
  3116. }
  3117. });
  3118. }
  3119. function parseI18nJson(jsonObj, values, delimiters) {
  3120. if (!formater) {
  3121. formater = new BaseFormatter();
  3122. }
  3123. walkJsonObj(jsonObj, function (jsonObj, key) {
  3124. var value = jsonObj[key];
  3125. if (isString(value)) {
  3126. if (isI18nStr(value, delimiters)) {
  3127. jsonObj[key] = compileStr(value, values, delimiters);
  3128. }
  3129. } else {
  3130. parseI18nJson(value, values, delimiters);
  3131. }
  3132. });
  3133. return jsonObj;
  3134. }
  3135. function compileI18nJsonStr(jsonStr, _ref5) {
  3136. var locale = _ref5.locale,
  3137. locales = _ref5.locales,
  3138. delimiters = _ref5.delimiters;
  3139. if (!isI18nStr(jsonStr, delimiters)) {
  3140. return jsonStr;
  3141. }
  3142. if (!formater) {
  3143. formater = new BaseFormatter();
  3144. }
  3145. var localeValues = [];
  3146. Object.keys(locales).forEach(function (name) {
  3147. if (name !== locale) {
  3148. localeValues.push({
  3149. locale: name,
  3150. values: locales[name]
  3151. });
  3152. }
  3153. });
  3154. localeValues.unshift({
  3155. locale: locale,
  3156. values: locales[locale]
  3157. });
  3158. try {
  3159. return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);
  3160. } catch (e) {}
  3161. return jsonStr;
  3162. }
  3163. function isI18nStr(value, delimiters) {
  3164. return value.indexOf(delimiters[0]) > -1;
  3165. }
  3166. function compileStr(value, values, delimiters) {
  3167. return formater.interpolate(value, values, delimiters).join('');
  3168. }
  3169. function compileValue(jsonObj, key, localeValues, delimiters) {
  3170. var value = jsonObj[key];
  3171. if (isString(value)) {
  3172. // 存在国际化
  3173. if (isI18nStr(value, delimiters)) {
  3174. jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);
  3175. if (localeValues.length > 1) {
  3176. // 格式化国际化语言
  3177. var valueLocales = jsonObj[key + 'Locales'] = {};
  3178. localeValues.forEach(function (localValue) {
  3179. valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);
  3180. });
  3181. }
  3182. }
  3183. } else {
  3184. compileJsonObj(value, localeValues, delimiters);
  3185. }
  3186. }
  3187. function compileJsonObj(jsonObj, localeValues, delimiters) {
  3188. walkJsonObj(jsonObj, function (jsonObj, key) {
  3189. compileValue(jsonObj, key, localeValues, delimiters);
  3190. });
  3191. return jsonObj;
  3192. }
  3193. function walkJsonObj(jsonObj, walk) {
  3194. if (isArray(jsonObj)) {
  3195. for (var i = 0; i < jsonObj.length; i++) {
  3196. if (walk(jsonObj, i)) {
  3197. return true;
  3198. }
  3199. }
  3200. } else if (isObject(jsonObj)) {
  3201. for (var key in jsonObj) {
  3202. if (walk(jsonObj, key)) {
  3203. return true;
  3204. }
  3205. }
  3206. }
  3207. return false;
  3208. }
  3209. function resolveLocale(locales) {
  3210. return function (locale) {
  3211. if (!locale) {
  3212. return locale;
  3213. }
  3214. locale = normalizeLocale(locale) || locale;
  3215. return resolveLocaleChain(locale).find(function (locale) {
  3216. return locales.indexOf(locale) > -1;
  3217. });
  3218. };
  3219. }
  3220. function resolveLocaleChain(locale) {
  3221. var chain = [];
  3222. var tokens = locale.split('-');
  3223. while (tokens.length) {
  3224. chain.push(tokens.join('-'));
  3225. tokens.pop();
  3226. }
  3227. return chain;
  3228. }
  3229. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  3230. /***/ }),
  3231. /* 23 */
  3232. /*!***************************************************************!*\
  3233. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  3234. \***************************************************************/
  3235. /*! no static exports found */
  3236. /***/ (function(module, exports) {
  3237. function _classCallCheck(instance, Constructor) {
  3238. if (!(instance instanceof Constructor)) {
  3239. throw new TypeError("Cannot call a class as a function");
  3240. }
  3241. }
  3242. module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3243. /***/ }),
  3244. /* 24 */
  3245. /*!************************************************************!*\
  3246. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  3247. \************************************************************/
  3248. /*! no static exports found */
  3249. /***/ (function(module, exports, __webpack_require__) {
  3250. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  3251. function _defineProperties(target, props) {
  3252. for (var i = 0; i < props.length; i++) {
  3253. var descriptor = props[i];
  3254. descriptor.enumerable = descriptor.enumerable || false;
  3255. descriptor.configurable = true;
  3256. if ("value" in descriptor) descriptor.writable = true;
  3257. Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
  3258. }
  3259. }
  3260. function _createClass(Constructor, protoProps, staticProps) {
  3261. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  3262. if (staticProps) _defineProperties(Constructor, staticProps);
  3263. Object.defineProperty(Constructor, "prototype", {
  3264. writable: false
  3265. });
  3266. return Constructor;
  3267. }
  3268. module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3269. /***/ }),
  3270. /* 25 */
  3271. /*!******************************************************************************************!*\
  3272. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
  3273. \******************************************************************************************/
  3274. /*! exports provided: default */
  3275. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3276. "use strict";
  3277. __webpack_require__.r(__webpack_exports__);
  3278. /* WEBPACK VAR INJECTION */(function(global) {/*!
  3279. * Vue.js v2.6.11
  3280. * (c) 2014-2022 Evan You
  3281. * Released under the MIT License.
  3282. */
  3283. /* */
  3284. var emptyObject = Object.freeze({});
  3285. // These helpers produce better VM code in JS engines due to their
  3286. // explicitness and function inlining.
  3287. function isUndef (v) {
  3288. return v === undefined || v === null
  3289. }
  3290. function isDef (v) {
  3291. return v !== undefined && v !== null
  3292. }
  3293. function isTrue (v) {
  3294. return v === true
  3295. }
  3296. function isFalse (v) {
  3297. return v === false
  3298. }
  3299. /**
  3300. * Check if value is primitive.
  3301. */
  3302. function isPrimitive (value) {
  3303. return (
  3304. typeof value === 'string' ||
  3305. typeof value === 'number' ||
  3306. // $flow-disable-line
  3307. typeof value === 'symbol' ||
  3308. typeof value === 'boolean'
  3309. )
  3310. }
  3311. /**
  3312. * Quick object check - this is primarily used to tell
  3313. * Objects from primitive values when we know the value
  3314. * is a JSON-compliant type.
  3315. */
  3316. function isObject (obj) {
  3317. return obj !== null && typeof obj === 'object'
  3318. }
  3319. /**
  3320. * Get the raw type string of a value, e.g., [object Object].
  3321. */
  3322. var _toString = Object.prototype.toString;
  3323. function toRawType (value) {
  3324. return _toString.call(value).slice(8, -1)
  3325. }
  3326. /**
  3327. * Strict object type check. Only returns true
  3328. * for plain JavaScript objects.
  3329. */
  3330. function isPlainObject (obj) {
  3331. return _toString.call(obj) === '[object Object]'
  3332. }
  3333. function isRegExp (v) {
  3334. return _toString.call(v) === '[object RegExp]'
  3335. }
  3336. /**
  3337. * Check if val is a valid array index.
  3338. */
  3339. function isValidArrayIndex (val) {
  3340. var n = parseFloat(String(val));
  3341. return n >= 0 && Math.floor(n) === n && isFinite(val)
  3342. }
  3343. function isPromise (val) {
  3344. return (
  3345. isDef(val) &&
  3346. typeof val.then === 'function' &&
  3347. typeof val.catch === 'function'
  3348. )
  3349. }
  3350. /**
  3351. * Convert a value to a string that is actually rendered.
  3352. */
  3353. function toString (val) {
  3354. return val == null
  3355. ? ''
  3356. : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)
  3357. ? JSON.stringify(val, null, 2)
  3358. : String(val)
  3359. }
  3360. /**
  3361. * Convert an input value to a number for persistence.
  3362. * If the conversion fails, return original string.
  3363. */
  3364. function toNumber (val) {
  3365. var n = parseFloat(val);
  3366. return isNaN(n) ? val : n
  3367. }
  3368. /**
  3369. * Make a map and return a function for checking if a key
  3370. * is in that map.
  3371. */
  3372. function makeMap (
  3373. str,
  3374. expectsLowerCase
  3375. ) {
  3376. var map = Object.create(null);
  3377. var list = str.split(',');
  3378. for (var i = 0; i < list.length; i++) {
  3379. map[list[i]] = true;
  3380. }
  3381. return expectsLowerCase
  3382. ? function (val) { return map[val.toLowerCase()]; }
  3383. : function (val) { return map[val]; }
  3384. }
  3385. /**
  3386. * Check if a tag is a built-in tag.
  3387. */
  3388. var isBuiltInTag = makeMap('slot,component', true);
  3389. /**
  3390. * Check if an attribute is a reserved attribute.
  3391. */
  3392. var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
  3393. /**
  3394. * Remove an item from an array.
  3395. */
  3396. function remove (arr, item) {
  3397. if (arr.length) {
  3398. var index = arr.indexOf(item);
  3399. if (index > -1) {
  3400. return arr.splice(index, 1)
  3401. }
  3402. }
  3403. }
  3404. /**
  3405. * Check whether an object has the property.
  3406. */
  3407. var hasOwnProperty = Object.prototype.hasOwnProperty;
  3408. function hasOwn (obj, key) {
  3409. return hasOwnProperty.call(obj, key)
  3410. }
  3411. /**
  3412. * Create a cached version of a pure function.
  3413. */
  3414. function cached (fn) {
  3415. var cache = Object.create(null);
  3416. return (function cachedFn (str) {
  3417. var hit = cache[str];
  3418. return hit || (cache[str] = fn(str))
  3419. })
  3420. }
  3421. /**
  3422. * Camelize a hyphen-delimited string.
  3423. */
  3424. var camelizeRE = /-(\w)/g;
  3425. var camelize = cached(function (str) {
  3426. return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
  3427. });
  3428. /**
  3429. * Capitalize a string.
  3430. */
  3431. var capitalize = cached(function (str) {
  3432. return str.charAt(0).toUpperCase() + str.slice(1)
  3433. });
  3434. /**
  3435. * Hyphenate a camelCase string.
  3436. */
  3437. var hyphenateRE = /\B([A-Z])/g;
  3438. var hyphenate = cached(function (str) {
  3439. return str.replace(hyphenateRE, '-$1').toLowerCase()
  3440. });
  3441. /**
  3442. * Simple bind polyfill for environments that do not support it,
  3443. * e.g., PhantomJS 1.x. Technically, we don't need this anymore
  3444. * since native bind is now performant enough in most browsers.
  3445. * But removing it would mean breaking code that was able to run in
  3446. * PhantomJS 1.x, so this must be kept for backward compatibility.
  3447. */
  3448. /* istanbul ignore next */
  3449. function polyfillBind (fn, ctx) {
  3450. function boundFn (a) {
  3451. var l = arguments.length;
  3452. return l
  3453. ? l > 1
  3454. ? fn.apply(ctx, arguments)
  3455. : fn.call(ctx, a)
  3456. : fn.call(ctx)
  3457. }
  3458. boundFn._length = fn.length;
  3459. return boundFn
  3460. }
  3461. function nativeBind (fn, ctx) {
  3462. return fn.bind(ctx)
  3463. }
  3464. var bind = Function.prototype.bind
  3465. ? nativeBind
  3466. : polyfillBind;
  3467. /**
  3468. * Convert an Array-like object to a real Array.
  3469. */
  3470. function toArray (list, start) {
  3471. start = start || 0;
  3472. var i = list.length - start;
  3473. var ret = new Array(i);
  3474. while (i--) {
  3475. ret[i] = list[i + start];
  3476. }
  3477. return ret
  3478. }
  3479. /**
  3480. * Mix properties into target object.
  3481. */
  3482. function extend (to, _from) {
  3483. for (var key in _from) {
  3484. to[key] = _from[key];
  3485. }
  3486. return to
  3487. }
  3488. /**
  3489. * Merge an Array of Objects into a single Object.
  3490. */
  3491. function toObject (arr) {
  3492. var res = {};
  3493. for (var i = 0; i < arr.length; i++) {
  3494. if (arr[i]) {
  3495. extend(res, arr[i]);
  3496. }
  3497. }
  3498. return res
  3499. }
  3500. /* eslint-disable no-unused-vars */
  3501. /**
  3502. * Perform no operation.
  3503. * Stubbing args to make Flow happy without leaving useless transpiled code
  3504. * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
  3505. */
  3506. function noop (a, b, c) {}
  3507. /**
  3508. * Always return false.
  3509. */
  3510. var no = function (a, b, c) { return false; };
  3511. /* eslint-enable no-unused-vars */
  3512. /**
  3513. * Return the same value.
  3514. */
  3515. var identity = function (_) { return _; };
  3516. /**
  3517. * Check if two values are loosely equal - that is,
  3518. * if they are plain objects, do they have the same shape?
  3519. */
  3520. function looseEqual (a, b) {
  3521. if (a === b) { return true }
  3522. var isObjectA = isObject(a);
  3523. var isObjectB = isObject(b);
  3524. if (isObjectA && isObjectB) {
  3525. try {
  3526. var isArrayA = Array.isArray(a);
  3527. var isArrayB = Array.isArray(b);
  3528. if (isArrayA && isArrayB) {
  3529. return a.length === b.length && a.every(function (e, i) {
  3530. return looseEqual(e, b[i])
  3531. })
  3532. } else if (a instanceof Date && b instanceof Date) {
  3533. return a.getTime() === b.getTime()
  3534. } else if (!isArrayA && !isArrayB) {
  3535. var keysA = Object.keys(a);
  3536. var keysB = Object.keys(b);
  3537. return keysA.length === keysB.length && keysA.every(function (key) {
  3538. return looseEqual(a[key], b[key])
  3539. })
  3540. } else {
  3541. /* istanbul ignore next */
  3542. return false
  3543. }
  3544. } catch (e) {
  3545. /* istanbul ignore next */
  3546. return false
  3547. }
  3548. } else if (!isObjectA && !isObjectB) {
  3549. return String(a) === String(b)
  3550. } else {
  3551. return false
  3552. }
  3553. }
  3554. /**
  3555. * Return the first index at which a loosely equal value can be
  3556. * found in the array (if value is a plain object, the array must
  3557. * contain an object of the same shape), or -1 if it is not present.
  3558. */
  3559. function looseIndexOf (arr, val) {
  3560. for (var i = 0; i < arr.length; i++) {
  3561. if (looseEqual(arr[i], val)) { return i }
  3562. }
  3563. return -1
  3564. }
  3565. /**
  3566. * Ensure a function is called only once.
  3567. */
  3568. function once (fn) {
  3569. var called = false;
  3570. return function () {
  3571. if (!called) {
  3572. called = true;
  3573. fn.apply(this, arguments);
  3574. }
  3575. }
  3576. }
  3577. var ASSET_TYPES = [
  3578. 'component',
  3579. 'directive',
  3580. 'filter'
  3581. ];
  3582. var LIFECYCLE_HOOKS = [
  3583. 'beforeCreate',
  3584. 'created',
  3585. 'beforeMount',
  3586. 'mounted',
  3587. 'beforeUpdate',
  3588. 'updated',
  3589. 'beforeDestroy',
  3590. 'destroyed',
  3591. 'activated',
  3592. 'deactivated',
  3593. 'errorCaptured',
  3594. 'serverPrefetch'
  3595. ];
  3596. /* */
  3597. var config = ({
  3598. /**
  3599. * Option merge strategies (used in core/util/options)
  3600. */
  3601. // $flow-disable-line
  3602. optionMergeStrategies: Object.create(null),
  3603. /**
  3604. * Whether to suppress warnings.
  3605. */
  3606. silent: false,
  3607. /**
  3608. * Show production mode tip message on boot?
  3609. */
  3610. productionTip: "development" !== 'production',
  3611. /**
  3612. * Whether to enable devtools
  3613. */
  3614. devtools: "development" !== 'production',
  3615. /**
  3616. * Whether to record perf
  3617. */
  3618. performance: false,
  3619. /**
  3620. * Error handler for watcher errors
  3621. */
  3622. errorHandler: null,
  3623. /**
  3624. * Warn handler for watcher warns
  3625. */
  3626. warnHandler: null,
  3627. /**
  3628. * Ignore certain custom elements
  3629. */
  3630. ignoredElements: [],
  3631. /**
  3632. * Custom user key aliases for v-on
  3633. */
  3634. // $flow-disable-line
  3635. keyCodes: Object.create(null),
  3636. /**
  3637. * Check if a tag is reserved so that it cannot be registered as a
  3638. * component. This is platform-dependent and may be overwritten.
  3639. */
  3640. isReservedTag: no,
  3641. /**
  3642. * Check if an attribute is reserved so that it cannot be used as a component
  3643. * prop. This is platform-dependent and may be overwritten.
  3644. */
  3645. isReservedAttr: no,
  3646. /**
  3647. * Check if a tag is an unknown element.
  3648. * Platform-dependent.
  3649. */
  3650. isUnknownElement: no,
  3651. /**
  3652. * Get the namespace of an element
  3653. */
  3654. getTagNamespace: noop,
  3655. /**
  3656. * Parse the real tag name for the specific platform.
  3657. */
  3658. parsePlatformTagName: identity,
  3659. /**
  3660. * Check if an attribute must be bound using property, e.g. value
  3661. * Platform-dependent.
  3662. */
  3663. mustUseProp: no,
  3664. /**
  3665. * Perform updates asynchronously. Intended to be used by Vue Test Utils
  3666. * This will significantly reduce performance if set to false.
  3667. */
  3668. async: true,
  3669. /**
  3670. * Exposed for legacy reasons
  3671. */
  3672. _lifecycleHooks: LIFECYCLE_HOOKS
  3673. });
  3674. /* */
  3675. /**
  3676. * unicode letters used for parsing html tags, component names and property paths.
  3677. * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
  3678. * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
  3679. */
  3680. var unicodeRegExp = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;
  3681. /**
  3682. * Check if a string starts with $ or _
  3683. */
  3684. function isReserved (str) {
  3685. var c = (str + '').charCodeAt(0);
  3686. return c === 0x24 || c === 0x5F
  3687. }
  3688. /**
  3689. * Define a property.
  3690. */
  3691. function def (obj, key, val, enumerable) {
  3692. Object.defineProperty(obj, key, {
  3693. value: val,
  3694. enumerable: !!enumerable,
  3695. writable: true,
  3696. configurable: true
  3697. });
  3698. }
  3699. /**
  3700. * Parse simple path.
  3701. */
  3702. var bailRE = new RegExp(("[^" + (unicodeRegExp.source) + ".$_\\d]"));
  3703. function parsePath (path) {
  3704. if (bailRE.test(path)) {
  3705. return
  3706. }
  3707. var segments = path.split('.');
  3708. return function (obj) {
  3709. for (var i = 0; i < segments.length; i++) {
  3710. if (!obj) { return }
  3711. obj = obj[segments[i]];
  3712. }
  3713. return obj
  3714. }
  3715. }
  3716. /* */
  3717. // can we use __proto__?
  3718. var hasProto = '__proto__' in {};
  3719. // Browser environment sniffing
  3720. var inBrowser = typeof window !== 'undefined';
  3721. var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
  3722. var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
  3723. var UA = inBrowser && window.navigator.userAgent.toLowerCase();
  3724. var isIE = UA && /msie|trident/.test(UA);
  3725. var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
  3726. var isEdge = UA && UA.indexOf('edge/') > 0;
  3727. var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
  3728. var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
  3729. var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
  3730. var isPhantomJS = UA && /phantomjs/.test(UA);
  3731. var isFF = UA && UA.match(/firefox\/(\d+)/);
  3732. // Firefox has a "watch" function on Object.prototype...
  3733. var nativeWatch = ({}).watch;
  3734. if (inBrowser) {
  3735. try {
  3736. var opts = {};
  3737. Object.defineProperty(opts, 'passive', ({
  3738. get: function get () {
  3739. }
  3740. })); // https://github.com/facebook/flow/issues/285
  3741. window.addEventListener('test-passive', null, opts);
  3742. } catch (e) {}
  3743. }
  3744. // this needs to be lazy-evaled because vue may be required before
  3745. // vue-server-renderer can set VUE_ENV
  3746. var _isServer;
  3747. var isServerRendering = function () {
  3748. if (_isServer === undefined) {
  3749. /* istanbul ignore if */
  3750. if (!inBrowser && !inWeex && typeof global !== 'undefined') {
  3751. // detect presence of vue-server-renderer and avoid
  3752. // Webpack shimming the process
  3753. _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';
  3754. } else {
  3755. _isServer = false;
  3756. }
  3757. }
  3758. return _isServer
  3759. };
  3760. // detect devtools
  3761. var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  3762. /* istanbul ignore next */
  3763. function isNative (Ctor) {
  3764. return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
  3765. }
  3766. var hasSymbol =
  3767. typeof Symbol !== 'undefined' && isNative(Symbol) &&
  3768. typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
  3769. var _Set;
  3770. /* istanbul ignore if */ // $flow-disable-line
  3771. if (typeof Set !== 'undefined' && isNative(Set)) {
  3772. // use native Set when available.
  3773. _Set = Set;
  3774. } else {
  3775. // a non-standard Set polyfill that only works with primitive keys.
  3776. _Set = /*@__PURE__*/(function () {
  3777. function Set () {
  3778. this.set = Object.create(null);
  3779. }
  3780. Set.prototype.has = function has (key) {
  3781. return this.set[key] === true
  3782. };
  3783. Set.prototype.add = function add (key) {
  3784. this.set[key] = true;
  3785. };
  3786. Set.prototype.clear = function clear () {
  3787. this.set = Object.create(null);
  3788. };
  3789. return Set;
  3790. }());
  3791. }
  3792. /* */
  3793. var warn = noop;
  3794. var tip = noop;
  3795. var generateComponentTrace = (noop); // work around flow check
  3796. var formatComponentName = (noop);
  3797. if (true) {
  3798. var hasConsole = typeof console !== 'undefined';
  3799. var classifyRE = /(?:^|[-_])(\w)/g;
  3800. var classify = function (str) { return str
  3801. .replace(classifyRE, function (c) { return c.toUpperCase(); })
  3802. .replace(/[-_]/g, ''); };
  3803. warn = function (msg, vm) {
  3804. var trace = vm ? generateComponentTrace(vm) : '';
  3805. if (config.warnHandler) {
  3806. config.warnHandler.call(null, msg, vm, trace);
  3807. } else if (hasConsole && (!config.silent)) {
  3808. console.error(("[Vue warn]: " + msg + trace));
  3809. }
  3810. };
  3811. tip = function (msg, vm) {
  3812. if (hasConsole && (!config.silent)) {
  3813. console.warn("[Vue tip]: " + msg + (
  3814. vm ? generateComponentTrace(vm) : ''
  3815. ));
  3816. }
  3817. };
  3818. formatComponentName = function (vm, includeFile) {
  3819. if (vm.$root === vm) {
  3820. if (vm.$options && vm.$options.__file) { // fixed by xxxxxx
  3821. return ('') + vm.$options.__file
  3822. }
  3823. return '<Root>'
  3824. }
  3825. var options = typeof vm === 'function' && vm.cid != null
  3826. ? vm.options
  3827. : vm._isVue
  3828. ? vm.$options || vm.constructor.options
  3829. : vm;
  3830. var name = options.name || options._componentTag;
  3831. var file = options.__file;
  3832. if (!name && file) {
  3833. var match = file.match(/([^/\\]+)\.vue$/);
  3834. name = match && match[1];
  3835. }
  3836. return (
  3837. (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
  3838. (file && includeFile !== false ? (" at " + file) : '')
  3839. )
  3840. };
  3841. var repeat = function (str, n) {
  3842. var res = '';
  3843. while (n) {
  3844. if (n % 2 === 1) { res += str; }
  3845. if (n > 1) { str += str; }
  3846. n >>= 1;
  3847. }
  3848. return res
  3849. };
  3850. generateComponentTrace = function (vm) {
  3851. if (vm._isVue && vm.$parent) {
  3852. var tree = [];
  3853. var currentRecursiveSequence = 0;
  3854. while (vm && vm.$options.name !== 'PageBody') {
  3855. if (tree.length > 0) {
  3856. var last = tree[tree.length - 1];
  3857. if (last.constructor === vm.constructor) {
  3858. currentRecursiveSequence++;
  3859. vm = vm.$parent;
  3860. continue
  3861. } else if (currentRecursiveSequence > 0) {
  3862. tree[tree.length - 1] = [last, currentRecursiveSequence];
  3863. currentRecursiveSequence = 0;
  3864. }
  3865. }
  3866. !vm.$options.isReserved && tree.push(vm);
  3867. vm = vm.$parent;
  3868. }
  3869. return '\n\nfound in\n\n' + tree
  3870. .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
  3871. ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
  3872. : formatComponentName(vm))); })
  3873. .join('\n')
  3874. } else {
  3875. return ("\n\n(found in " + (formatComponentName(vm)) + ")")
  3876. }
  3877. };
  3878. }
  3879. /* */
  3880. var uid = 0;
  3881. /**
  3882. * A dep is an observable that can have multiple
  3883. * directives subscribing to it.
  3884. */
  3885. var Dep = function Dep () {
  3886. this.id = uid++;
  3887. this.subs = [];
  3888. };
  3889. Dep.prototype.addSub = function addSub (sub) {
  3890. this.subs.push(sub);
  3891. };
  3892. Dep.prototype.removeSub = function removeSub (sub) {
  3893. remove(this.subs, sub);
  3894. };
  3895. Dep.prototype.depend = function depend () {
  3896. if (Dep.SharedObject.target) {
  3897. Dep.SharedObject.target.addDep(this);
  3898. }
  3899. };
  3900. Dep.prototype.notify = function notify () {
  3901. // stabilize the subscriber list first
  3902. var subs = this.subs.slice();
  3903. if ( true && !config.async) {
  3904. // subs aren't sorted in scheduler if not running async
  3905. // we need to sort them now to make sure they fire in correct
  3906. // order
  3907. subs.sort(function (a, b) { return a.id - b.id; });
  3908. }
  3909. for (var i = 0, l = subs.length; i < l; i++) {
  3910. subs[i].update();
  3911. }
  3912. };
  3913. // The current target watcher being evaluated.
  3914. // This is globally unique because only one watcher
  3915. // can be evaluated at a time.
  3916. // fixed by xxxxxx (nvue shared vuex)
  3917. /* eslint-disable no-undef */
  3918. Dep.SharedObject = {};
  3919. Dep.SharedObject.target = null;
  3920. Dep.SharedObject.targetStack = [];
  3921. function pushTarget (target) {
  3922. Dep.SharedObject.targetStack.push(target);
  3923. Dep.SharedObject.target = target;
  3924. Dep.target = target;
  3925. }
  3926. function popTarget () {
  3927. Dep.SharedObject.targetStack.pop();
  3928. Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
  3929. Dep.target = Dep.SharedObject.target;
  3930. }
  3931. /* */
  3932. var VNode = function VNode (
  3933. tag,
  3934. data,
  3935. children,
  3936. text,
  3937. elm,
  3938. context,
  3939. componentOptions,
  3940. asyncFactory
  3941. ) {
  3942. this.tag = tag;
  3943. this.data = data;
  3944. this.children = children;
  3945. this.text = text;
  3946. this.elm = elm;
  3947. this.ns = undefined;
  3948. this.context = context;
  3949. this.fnContext = undefined;
  3950. this.fnOptions = undefined;
  3951. this.fnScopeId = undefined;
  3952. this.key = data && data.key;
  3953. this.componentOptions = componentOptions;
  3954. this.componentInstance = undefined;
  3955. this.parent = undefined;
  3956. this.raw = false;
  3957. this.isStatic = false;
  3958. this.isRootInsert = true;
  3959. this.isComment = false;
  3960. this.isCloned = false;
  3961. this.isOnce = false;
  3962. this.asyncFactory = asyncFactory;
  3963. this.asyncMeta = undefined;
  3964. this.isAsyncPlaceholder = false;
  3965. };
  3966. var prototypeAccessors = { child: { configurable: true } };
  3967. // DEPRECATED: alias for componentInstance for backwards compat.
  3968. /* istanbul ignore next */
  3969. prototypeAccessors.child.get = function () {
  3970. return this.componentInstance
  3971. };
  3972. Object.defineProperties( VNode.prototype, prototypeAccessors );
  3973. var createEmptyVNode = function (text) {
  3974. if ( text === void 0 ) text = '';
  3975. var node = new VNode();
  3976. node.text = text;
  3977. node.isComment = true;
  3978. return node
  3979. };
  3980. function createTextVNode (val) {
  3981. return new VNode(undefined, undefined, undefined, String(val))
  3982. }
  3983. // optimized shallow clone
  3984. // used for static nodes and slot nodes because they may be reused across
  3985. // multiple renders, cloning them avoids errors when DOM manipulations rely
  3986. // on their elm reference.
  3987. function cloneVNode (vnode) {
  3988. var cloned = new VNode(
  3989. vnode.tag,
  3990. vnode.data,
  3991. // #7975
  3992. // clone children array to avoid mutating original in case of cloning
  3993. // a child.
  3994. vnode.children && vnode.children.slice(),
  3995. vnode.text,
  3996. vnode.elm,
  3997. vnode.context,
  3998. vnode.componentOptions,
  3999. vnode.asyncFactory
  4000. );
  4001. cloned.ns = vnode.ns;
  4002. cloned.isStatic = vnode.isStatic;
  4003. cloned.key = vnode.key;
  4004. cloned.isComment = vnode.isComment;
  4005. cloned.fnContext = vnode.fnContext;
  4006. cloned.fnOptions = vnode.fnOptions;
  4007. cloned.fnScopeId = vnode.fnScopeId;
  4008. cloned.asyncMeta = vnode.asyncMeta;
  4009. cloned.isCloned = true;
  4010. return cloned
  4011. }
  4012. /*
  4013. * not type checking this file because flow doesn't play well with
  4014. * dynamically accessing methods on Array prototype
  4015. */
  4016. var arrayProto = Array.prototype;
  4017. var arrayMethods = Object.create(arrayProto);
  4018. var methodsToPatch = [
  4019. 'push',
  4020. 'pop',
  4021. 'shift',
  4022. 'unshift',
  4023. 'splice',
  4024. 'sort',
  4025. 'reverse'
  4026. ];
  4027. /**
  4028. * Intercept mutating methods and emit events
  4029. */
  4030. methodsToPatch.forEach(function (method) {
  4031. // cache original method
  4032. var original = arrayProto[method];
  4033. def(arrayMethods, method, function mutator () {
  4034. var args = [], len = arguments.length;
  4035. while ( len-- ) args[ len ] = arguments[ len ];
  4036. var result = original.apply(this, args);
  4037. var ob = this.__ob__;
  4038. var inserted;
  4039. switch (method) {
  4040. case 'push':
  4041. case 'unshift':
  4042. inserted = args;
  4043. break
  4044. case 'splice':
  4045. inserted = args.slice(2);
  4046. break
  4047. }
  4048. if (inserted) { ob.observeArray(inserted); }
  4049. // notify change
  4050. ob.dep.notify();
  4051. return result
  4052. });
  4053. });
  4054. /* */
  4055. var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
  4056. /**
  4057. * In some cases we may want to disable observation inside a component's
  4058. * update computation.
  4059. */
  4060. var shouldObserve = true;
  4061. function toggleObserving (value) {
  4062. shouldObserve = value;
  4063. }
  4064. /**
  4065. * Observer class that is attached to each observed
  4066. * object. Once attached, the observer converts the target
  4067. * object's property keys into getter/setters that
  4068. * collect dependencies and dispatch updates.
  4069. */
  4070. var Observer = function Observer (value) {
  4071. this.value = value;
  4072. this.dep = new Dep();
  4073. this.vmCount = 0;
  4074. def(value, '__ob__', this);
  4075. if (Array.isArray(value)) {
  4076. if (hasProto) {
  4077. {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑
  4078. if(value.push !== value.__proto__.push){
  4079. copyAugment(value, arrayMethods, arrayKeys);
  4080. } else {
  4081. protoAugment(value, arrayMethods);
  4082. }
  4083. }
  4084. } else {
  4085. copyAugment(value, arrayMethods, arrayKeys);
  4086. }
  4087. this.observeArray(value);
  4088. } else {
  4089. this.walk(value);
  4090. }
  4091. };
  4092. /**
  4093. * Walk through all properties and convert them into
  4094. * getter/setters. This method should only be called when
  4095. * value type is Object.
  4096. */
  4097. Observer.prototype.walk = function walk (obj) {
  4098. var keys = Object.keys(obj);
  4099. for (var i = 0; i < keys.length; i++) {
  4100. defineReactive$$1(obj, keys[i]);
  4101. }
  4102. };
  4103. /**
  4104. * Observe a list of Array items.
  4105. */
  4106. Observer.prototype.observeArray = function observeArray (items) {
  4107. for (var i = 0, l = items.length; i < l; i++) {
  4108. observe(items[i]);
  4109. }
  4110. };
  4111. // helpers
  4112. /**
  4113. * Augment a target Object or Array by intercepting
  4114. * the prototype chain using __proto__
  4115. */
  4116. function protoAugment (target, src) {
  4117. /* eslint-disable no-proto */
  4118. target.__proto__ = src;
  4119. /* eslint-enable no-proto */
  4120. }
  4121. /**
  4122. * Augment a target Object or Array by defining
  4123. * hidden properties.
  4124. */
  4125. /* istanbul ignore next */
  4126. function copyAugment (target, src, keys) {
  4127. for (var i = 0, l = keys.length; i < l; i++) {
  4128. var key = keys[i];
  4129. def(target, key, src[key]);
  4130. }
  4131. }
  4132. /**
  4133. * Attempt to create an observer instance for a value,
  4134. * returns the new observer if successfully observed,
  4135. * or the existing observer if the value already has one.
  4136. */
  4137. function observe (value, asRootData) {
  4138. if (!isObject(value) || value instanceof VNode) {
  4139. return
  4140. }
  4141. var ob;
  4142. if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
  4143. ob = value.__ob__;
  4144. } else if (
  4145. shouldObserve &&
  4146. !isServerRendering() &&
  4147. (Array.isArray(value) || isPlainObject(value)) &&
  4148. Object.isExtensible(value) &&
  4149. !value._isVue &&
  4150. !value.__v_isMPComponent
  4151. ) {
  4152. ob = new Observer(value);
  4153. }
  4154. if (asRootData && ob) {
  4155. ob.vmCount++;
  4156. }
  4157. return ob
  4158. }
  4159. /**
  4160. * Define a reactive property on an Object.
  4161. */
  4162. function defineReactive$$1 (
  4163. obj,
  4164. key,
  4165. val,
  4166. customSetter,
  4167. shallow
  4168. ) {
  4169. var dep = new Dep();
  4170. var property = Object.getOwnPropertyDescriptor(obj, key);
  4171. if (property && property.configurable === false) {
  4172. return
  4173. }
  4174. // cater for pre-defined getter/setters
  4175. var getter = property && property.get;
  4176. var setter = property && property.set;
  4177. if ((!getter || setter) && arguments.length === 2) {
  4178. val = obj[key];
  4179. }
  4180. var childOb = !shallow && observe(val);
  4181. Object.defineProperty(obj, key, {
  4182. enumerable: true,
  4183. configurable: true,
  4184. get: function reactiveGetter () {
  4185. var value = getter ? getter.call(obj) : val;
  4186. if (Dep.SharedObject.target) { // fixed by xxxxxx
  4187. dep.depend();
  4188. if (childOb) {
  4189. childOb.dep.depend();
  4190. if (Array.isArray(value)) {
  4191. dependArray(value);
  4192. }
  4193. }
  4194. }
  4195. return value
  4196. },
  4197. set: function reactiveSetter (newVal) {
  4198. var value = getter ? getter.call(obj) : val;
  4199. /* eslint-disable no-self-compare */
  4200. if (newVal === value || (newVal !== newVal && value !== value)) {
  4201. return
  4202. }
  4203. /* eslint-enable no-self-compare */
  4204. if ( true && customSetter) {
  4205. customSetter();
  4206. }
  4207. // #7981: for accessor properties without setter
  4208. if (getter && !setter) { return }
  4209. if (setter) {
  4210. setter.call(obj, newVal);
  4211. } else {
  4212. val = newVal;
  4213. }
  4214. childOb = !shallow && observe(newVal);
  4215. dep.notify();
  4216. }
  4217. });
  4218. }
  4219. /**
  4220. * Set a property on an object. Adds the new property and
  4221. * triggers change notification if the property doesn't
  4222. * already exist.
  4223. */
  4224. function set (target, key, val) {
  4225. if ( true &&
  4226. (isUndef(target) || isPrimitive(target))
  4227. ) {
  4228. warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
  4229. }
  4230. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4231. target.length = Math.max(target.length, key);
  4232. target.splice(key, 1, val);
  4233. return val
  4234. }
  4235. if (key in target && !(key in Object.prototype)) {
  4236. target[key] = val;
  4237. return val
  4238. }
  4239. var ob = (target).__ob__;
  4240. if (target._isVue || (ob && ob.vmCount)) {
  4241. true && warn(
  4242. 'Avoid adding reactive properties to a Vue instance or its root $data ' +
  4243. 'at runtime - declare it upfront in the data option.'
  4244. );
  4245. return val
  4246. }
  4247. if (!ob) {
  4248. target[key] = val;
  4249. return val
  4250. }
  4251. defineReactive$$1(ob.value, key, val);
  4252. ob.dep.notify();
  4253. return val
  4254. }
  4255. /**
  4256. * Delete a property and trigger change if necessary.
  4257. */
  4258. function del (target, key) {
  4259. if ( true &&
  4260. (isUndef(target) || isPrimitive(target))
  4261. ) {
  4262. warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
  4263. }
  4264. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4265. target.splice(key, 1);
  4266. return
  4267. }
  4268. var ob = (target).__ob__;
  4269. if (target._isVue || (ob && ob.vmCount)) {
  4270. true && warn(
  4271. 'Avoid deleting properties on a Vue instance or its root $data ' +
  4272. '- just set it to null.'
  4273. );
  4274. return
  4275. }
  4276. if (!hasOwn(target, key)) {
  4277. return
  4278. }
  4279. delete target[key];
  4280. if (!ob) {
  4281. return
  4282. }
  4283. ob.dep.notify();
  4284. }
  4285. /**
  4286. * Collect dependencies on array elements when the array is touched, since
  4287. * we cannot intercept array element access like property getters.
  4288. */
  4289. function dependArray (value) {
  4290. for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
  4291. e = value[i];
  4292. e && e.__ob__ && e.__ob__.dep.depend();
  4293. if (Array.isArray(e)) {
  4294. dependArray(e);
  4295. }
  4296. }
  4297. }
  4298. /* */
  4299. /**
  4300. * Option overwriting strategies are functions that handle
  4301. * how to merge a parent option value and a child option
  4302. * value into the final value.
  4303. */
  4304. var strats = config.optionMergeStrategies;
  4305. /**
  4306. * Options with restrictions
  4307. */
  4308. if (true) {
  4309. strats.el = strats.propsData = function (parent, child, vm, key) {
  4310. if (!vm) {
  4311. warn(
  4312. "option \"" + key + "\" can only be used during instance " +
  4313. 'creation with the `new` keyword.'
  4314. );
  4315. }
  4316. return defaultStrat(parent, child)
  4317. };
  4318. }
  4319. /**
  4320. * Helper that recursively merges two data objects together.
  4321. */
  4322. function mergeData (to, from) {
  4323. if (!from) { return to }
  4324. var key, toVal, fromVal;
  4325. var keys = hasSymbol
  4326. ? Reflect.ownKeys(from)
  4327. : Object.keys(from);
  4328. for (var i = 0; i < keys.length; i++) {
  4329. key = keys[i];
  4330. // in case the object is already observed...
  4331. if (key === '__ob__') { continue }
  4332. toVal = to[key];
  4333. fromVal = from[key];
  4334. if (!hasOwn(to, key)) {
  4335. set(to, key, fromVal);
  4336. } else if (
  4337. toVal !== fromVal &&
  4338. isPlainObject(toVal) &&
  4339. isPlainObject(fromVal)
  4340. ) {
  4341. mergeData(toVal, fromVal);
  4342. }
  4343. }
  4344. return to
  4345. }
  4346. /**
  4347. * Data
  4348. */
  4349. function mergeDataOrFn (
  4350. parentVal,
  4351. childVal,
  4352. vm
  4353. ) {
  4354. if (!vm) {
  4355. // in a Vue.extend merge, both should be functions
  4356. if (!childVal) {
  4357. return parentVal
  4358. }
  4359. if (!parentVal) {
  4360. return childVal
  4361. }
  4362. // when parentVal & childVal are both present,
  4363. // we need to return a function that returns the
  4364. // merged result of both functions... no need to
  4365. // check if parentVal is a function here because
  4366. // it has to be a function to pass previous merges.
  4367. return function mergedDataFn () {
  4368. return mergeData(
  4369. typeof childVal === 'function' ? childVal.call(this, this) : childVal,
  4370. typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
  4371. )
  4372. }
  4373. } else {
  4374. return function mergedInstanceDataFn () {
  4375. // instance merge
  4376. var instanceData = typeof childVal === 'function'
  4377. ? childVal.call(vm, vm)
  4378. : childVal;
  4379. var defaultData = typeof parentVal === 'function'
  4380. ? parentVal.call(vm, vm)
  4381. : parentVal;
  4382. if (instanceData) {
  4383. return mergeData(instanceData, defaultData)
  4384. } else {
  4385. return defaultData
  4386. }
  4387. }
  4388. }
  4389. }
  4390. strats.data = function (
  4391. parentVal,
  4392. childVal,
  4393. vm
  4394. ) {
  4395. if (!vm) {
  4396. if (childVal && typeof childVal !== 'function') {
  4397. true && warn(
  4398. 'The "data" option should be a function ' +
  4399. 'that returns a per-instance value in component ' +
  4400. 'definitions.',
  4401. vm
  4402. );
  4403. return parentVal
  4404. }
  4405. return mergeDataOrFn(parentVal, childVal)
  4406. }
  4407. return mergeDataOrFn(parentVal, childVal, vm)
  4408. };
  4409. /**
  4410. * Hooks and props are merged as arrays.
  4411. */
  4412. function mergeHook (
  4413. parentVal,
  4414. childVal
  4415. ) {
  4416. var res = childVal
  4417. ? parentVal
  4418. ? parentVal.concat(childVal)
  4419. : Array.isArray(childVal)
  4420. ? childVal
  4421. : [childVal]
  4422. : parentVal;
  4423. return res
  4424. ? dedupeHooks(res)
  4425. : res
  4426. }
  4427. function dedupeHooks (hooks) {
  4428. var res = [];
  4429. for (var i = 0; i < hooks.length; i++) {
  4430. if (res.indexOf(hooks[i]) === -1) {
  4431. res.push(hooks[i]);
  4432. }
  4433. }
  4434. return res
  4435. }
  4436. LIFECYCLE_HOOKS.forEach(function (hook) {
  4437. strats[hook] = mergeHook;
  4438. });
  4439. /**
  4440. * Assets
  4441. *
  4442. * When a vm is present (instance creation), we need to do
  4443. * a three-way merge between constructor options, instance
  4444. * options and parent options.
  4445. */
  4446. function mergeAssets (
  4447. parentVal,
  4448. childVal,
  4449. vm,
  4450. key
  4451. ) {
  4452. var res = Object.create(parentVal || null);
  4453. if (childVal) {
  4454. true && assertObjectType(key, childVal, vm);
  4455. return extend(res, childVal)
  4456. } else {
  4457. return res
  4458. }
  4459. }
  4460. ASSET_TYPES.forEach(function (type) {
  4461. strats[type + 's'] = mergeAssets;
  4462. });
  4463. /**
  4464. * Watchers.
  4465. *
  4466. * Watchers hashes should not overwrite one
  4467. * another, so we merge them as arrays.
  4468. */
  4469. strats.watch = function (
  4470. parentVal,
  4471. childVal,
  4472. vm,
  4473. key
  4474. ) {
  4475. // work around Firefox's Object.prototype.watch...
  4476. if (parentVal === nativeWatch) { parentVal = undefined; }
  4477. if (childVal === nativeWatch) { childVal = undefined; }
  4478. /* istanbul ignore if */
  4479. if (!childVal) { return Object.create(parentVal || null) }
  4480. if (true) {
  4481. assertObjectType(key, childVal, vm);
  4482. }
  4483. if (!parentVal) { return childVal }
  4484. var ret = {};
  4485. extend(ret, parentVal);
  4486. for (var key$1 in childVal) {
  4487. var parent = ret[key$1];
  4488. var child = childVal[key$1];
  4489. if (parent && !Array.isArray(parent)) {
  4490. parent = [parent];
  4491. }
  4492. ret[key$1] = parent
  4493. ? parent.concat(child)
  4494. : Array.isArray(child) ? child : [child];
  4495. }
  4496. return ret
  4497. };
  4498. /**
  4499. * Other object hashes.
  4500. */
  4501. strats.props =
  4502. strats.methods =
  4503. strats.inject =
  4504. strats.computed = function (
  4505. parentVal,
  4506. childVal,
  4507. vm,
  4508. key
  4509. ) {
  4510. if (childVal && "development" !== 'production') {
  4511. assertObjectType(key, childVal, vm);
  4512. }
  4513. if (!parentVal) { return childVal }
  4514. var ret = Object.create(null);
  4515. extend(ret, parentVal);
  4516. if (childVal) { extend(ret, childVal); }
  4517. return ret
  4518. };
  4519. strats.provide = mergeDataOrFn;
  4520. /**
  4521. * Default strategy.
  4522. */
  4523. var defaultStrat = function (parentVal, childVal) {
  4524. return childVal === undefined
  4525. ? parentVal
  4526. : childVal
  4527. };
  4528. /**
  4529. * Validate component names
  4530. */
  4531. function checkComponents (options) {
  4532. for (var key in options.components) {
  4533. validateComponentName(key);
  4534. }
  4535. }
  4536. function validateComponentName (name) {
  4537. if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + (unicodeRegExp.source) + "]*$")).test(name)) {
  4538. warn(
  4539. 'Invalid component name: "' + name + '". Component names ' +
  4540. 'should conform to valid custom element name in html5 specification.'
  4541. );
  4542. }
  4543. if (isBuiltInTag(name) || config.isReservedTag(name)) {
  4544. warn(
  4545. 'Do not use built-in or reserved HTML elements as component ' +
  4546. 'id: ' + name
  4547. );
  4548. }
  4549. }
  4550. /**
  4551. * Ensure all props option syntax are normalized into the
  4552. * Object-based format.
  4553. */
  4554. function normalizeProps (options, vm) {
  4555. var props = options.props;
  4556. if (!props) { return }
  4557. var res = {};
  4558. var i, val, name;
  4559. if (Array.isArray(props)) {
  4560. i = props.length;
  4561. while (i--) {
  4562. val = props[i];
  4563. if (typeof val === 'string') {
  4564. name = camelize(val);
  4565. res[name] = { type: null };
  4566. } else if (true) {
  4567. warn('props must be strings when using array syntax.');
  4568. }
  4569. }
  4570. } else if (isPlainObject(props)) {
  4571. for (var key in props) {
  4572. val = props[key];
  4573. name = camelize(key);
  4574. res[name] = isPlainObject(val)
  4575. ? val
  4576. : { type: val };
  4577. }
  4578. } else if (true) {
  4579. warn(
  4580. "Invalid value for option \"props\": expected an Array or an Object, " +
  4581. "but got " + (toRawType(props)) + ".",
  4582. vm
  4583. );
  4584. }
  4585. options.props = res;
  4586. }
  4587. /**
  4588. * Normalize all injections into Object-based format
  4589. */
  4590. function normalizeInject (options, vm) {
  4591. var inject = options.inject;
  4592. if (!inject) { return }
  4593. var normalized = options.inject = {};
  4594. if (Array.isArray(inject)) {
  4595. for (var i = 0; i < inject.length; i++) {
  4596. normalized[inject[i]] = { from: inject[i] };
  4597. }
  4598. } else if (isPlainObject(inject)) {
  4599. for (var key in inject) {
  4600. var val = inject[key];
  4601. normalized[key] = isPlainObject(val)
  4602. ? extend({ from: key }, val)
  4603. : { from: val };
  4604. }
  4605. } else if (true) {
  4606. warn(
  4607. "Invalid value for option \"inject\": expected an Array or an Object, " +
  4608. "but got " + (toRawType(inject)) + ".",
  4609. vm
  4610. );
  4611. }
  4612. }
  4613. /**
  4614. * Normalize raw function directives into object format.
  4615. */
  4616. function normalizeDirectives (options) {
  4617. var dirs = options.directives;
  4618. if (dirs) {
  4619. for (var key in dirs) {
  4620. var def$$1 = dirs[key];
  4621. if (typeof def$$1 === 'function') {
  4622. dirs[key] = { bind: def$$1, update: def$$1 };
  4623. }
  4624. }
  4625. }
  4626. }
  4627. function assertObjectType (name, value, vm) {
  4628. if (!isPlainObject(value)) {
  4629. warn(
  4630. "Invalid value for option \"" + name + "\": expected an Object, " +
  4631. "but got " + (toRawType(value)) + ".",
  4632. vm
  4633. );
  4634. }
  4635. }
  4636. /**
  4637. * Merge two option objects into a new one.
  4638. * Core utility used in both instantiation and inheritance.
  4639. */
  4640. function mergeOptions (
  4641. parent,
  4642. child,
  4643. vm
  4644. ) {
  4645. if (true) {
  4646. checkComponents(child);
  4647. }
  4648. if (typeof child === 'function') {
  4649. child = child.options;
  4650. }
  4651. normalizeProps(child, vm);
  4652. normalizeInject(child, vm);
  4653. normalizeDirectives(child);
  4654. // Apply extends and mixins on the child options,
  4655. // but only if it is a raw options object that isn't
  4656. // the result of another mergeOptions call.
  4657. // Only merged options has the _base property.
  4658. if (!child._base) {
  4659. if (child.extends) {
  4660. parent = mergeOptions(parent, child.extends, vm);
  4661. }
  4662. if (child.mixins) {
  4663. for (var i = 0, l = child.mixins.length; i < l; i++) {
  4664. parent = mergeOptions(parent, child.mixins[i], vm);
  4665. }
  4666. }
  4667. }
  4668. var options = {};
  4669. var key;
  4670. for (key in parent) {
  4671. mergeField(key);
  4672. }
  4673. for (key in child) {
  4674. if (!hasOwn(parent, key)) {
  4675. mergeField(key);
  4676. }
  4677. }
  4678. function mergeField (key) {
  4679. var strat = strats[key] || defaultStrat;
  4680. options[key] = strat(parent[key], child[key], vm, key);
  4681. }
  4682. return options
  4683. }
  4684. /**
  4685. * Resolve an asset.
  4686. * This function is used because child instances need access
  4687. * to assets defined in its ancestor chain.
  4688. */
  4689. function resolveAsset (
  4690. options,
  4691. type,
  4692. id,
  4693. warnMissing
  4694. ) {
  4695. /* istanbul ignore if */
  4696. if (typeof id !== 'string') {
  4697. return
  4698. }
  4699. var assets = options[type];
  4700. // check local registration variations first
  4701. if (hasOwn(assets, id)) { return assets[id] }
  4702. var camelizedId = camelize(id);
  4703. if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
  4704. var PascalCaseId = capitalize(camelizedId);
  4705. if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
  4706. // fallback to prototype chain
  4707. var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
  4708. if ( true && warnMissing && !res) {
  4709. warn(
  4710. 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
  4711. options
  4712. );
  4713. }
  4714. return res
  4715. }
  4716. /* */
  4717. function validateProp (
  4718. key,
  4719. propOptions,
  4720. propsData,
  4721. vm
  4722. ) {
  4723. var prop = propOptions[key];
  4724. var absent = !hasOwn(propsData, key);
  4725. var value = propsData[key];
  4726. // boolean casting
  4727. var booleanIndex = getTypeIndex(Boolean, prop.type);
  4728. if (booleanIndex > -1) {
  4729. if (absent && !hasOwn(prop, 'default')) {
  4730. value = false;
  4731. } else if (value === '' || value === hyphenate(key)) {
  4732. // only cast empty string / same name to boolean if
  4733. // boolean has higher priority
  4734. var stringIndex = getTypeIndex(String, prop.type);
  4735. if (stringIndex < 0 || booleanIndex < stringIndex) {
  4736. value = true;
  4737. }
  4738. }
  4739. }
  4740. // check default value
  4741. if (value === undefined) {
  4742. value = getPropDefaultValue(vm, prop, key);
  4743. // since the default value is a fresh copy,
  4744. // make sure to observe it.
  4745. var prevShouldObserve = shouldObserve;
  4746. toggleObserving(true);
  4747. observe(value);
  4748. toggleObserving(prevShouldObserve);
  4749. }
  4750. if (
  4751. true
  4752. ) {
  4753. assertProp(prop, key, value, vm, absent);
  4754. }
  4755. return value
  4756. }
  4757. /**
  4758. * Get the default value of a prop.
  4759. */
  4760. function getPropDefaultValue (vm, prop, key) {
  4761. // no default, return undefined
  4762. if (!hasOwn(prop, 'default')) {
  4763. return undefined
  4764. }
  4765. var def = prop.default;
  4766. // warn against non-factory defaults for Object & Array
  4767. if ( true && isObject(def)) {
  4768. warn(
  4769. 'Invalid default value for prop "' + key + '": ' +
  4770. 'Props with type Object/Array must use a factory function ' +
  4771. 'to return the default value.',
  4772. vm
  4773. );
  4774. }
  4775. // the raw prop value was also undefined from previous render,
  4776. // return previous default value to avoid unnecessary watcher trigger
  4777. if (vm && vm.$options.propsData &&
  4778. vm.$options.propsData[key] === undefined &&
  4779. vm._props[key] !== undefined
  4780. ) {
  4781. return vm._props[key]
  4782. }
  4783. // call factory function for non-Function types
  4784. // a value is Function if its prototype is function even across different execution context
  4785. return typeof def === 'function' && getType(prop.type) !== 'Function'
  4786. ? def.call(vm)
  4787. : def
  4788. }
  4789. /**
  4790. * Assert whether a prop is valid.
  4791. */
  4792. function assertProp (
  4793. prop,
  4794. name,
  4795. value,
  4796. vm,
  4797. absent
  4798. ) {
  4799. if (prop.required && absent) {
  4800. warn(
  4801. 'Missing required prop: "' + name + '"',
  4802. vm
  4803. );
  4804. return
  4805. }
  4806. if (value == null && !prop.required) {
  4807. return
  4808. }
  4809. var type = prop.type;
  4810. var valid = !type || type === true;
  4811. var expectedTypes = [];
  4812. if (type) {
  4813. if (!Array.isArray(type)) {
  4814. type = [type];
  4815. }
  4816. for (var i = 0; i < type.length && !valid; i++) {
  4817. var assertedType = assertType(value, type[i]);
  4818. expectedTypes.push(assertedType.expectedType || '');
  4819. valid = assertedType.valid;
  4820. }
  4821. }
  4822. if (!valid) {
  4823. warn(
  4824. getInvalidTypeMessage(name, value, expectedTypes),
  4825. vm
  4826. );
  4827. return
  4828. }
  4829. var validator = prop.validator;
  4830. if (validator) {
  4831. if (!validator(value)) {
  4832. warn(
  4833. 'Invalid prop: custom validator check failed for prop "' + name + '".',
  4834. vm
  4835. );
  4836. }
  4837. }
  4838. }
  4839. var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
  4840. function assertType (value, type) {
  4841. var valid;
  4842. var expectedType = getType(type);
  4843. if (simpleCheckRE.test(expectedType)) {
  4844. var t = typeof value;
  4845. valid = t === expectedType.toLowerCase();
  4846. // for primitive wrapper objects
  4847. if (!valid && t === 'object') {
  4848. valid = value instanceof type;
  4849. }
  4850. } else if (expectedType === 'Object') {
  4851. valid = isPlainObject(value);
  4852. } else if (expectedType === 'Array') {
  4853. valid = Array.isArray(value);
  4854. } else {
  4855. valid = value instanceof type;
  4856. }
  4857. return {
  4858. valid: valid,
  4859. expectedType: expectedType
  4860. }
  4861. }
  4862. /**
  4863. * Use function string name to check built-in types,
  4864. * because a simple equality check will fail when running
  4865. * across different vms / iframes.
  4866. */
  4867. function getType (fn) {
  4868. var match = fn && fn.toString().match(/^\s*function (\w+)/);
  4869. return match ? match[1] : ''
  4870. }
  4871. function isSameType (a, b) {
  4872. return getType(a) === getType(b)
  4873. }
  4874. function getTypeIndex (type, expectedTypes) {
  4875. if (!Array.isArray(expectedTypes)) {
  4876. return isSameType(expectedTypes, type) ? 0 : -1
  4877. }
  4878. for (var i = 0, len = expectedTypes.length; i < len; i++) {
  4879. if (isSameType(expectedTypes[i], type)) {
  4880. return i
  4881. }
  4882. }
  4883. return -1
  4884. }
  4885. function getInvalidTypeMessage (name, value, expectedTypes) {
  4886. var message = "Invalid prop: type check failed for prop \"" + name + "\"." +
  4887. " Expected " + (expectedTypes.map(capitalize).join(', '));
  4888. var expectedType = expectedTypes[0];
  4889. var receivedType = toRawType(value);
  4890. var expectedValue = styleValue(value, expectedType);
  4891. var receivedValue = styleValue(value, receivedType);
  4892. // check if we need to specify expected value
  4893. if (expectedTypes.length === 1 &&
  4894. isExplicable(expectedType) &&
  4895. !isBoolean(expectedType, receivedType)) {
  4896. message += " with value " + expectedValue;
  4897. }
  4898. message += ", got " + receivedType + " ";
  4899. // check if we need to specify received value
  4900. if (isExplicable(receivedType)) {
  4901. message += "with value " + receivedValue + ".";
  4902. }
  4903. return message
  4904. }
  4905. function styleValue (value, type) {
  4906. if (type === 'String') {
  4907. return ("\"" + value + "\"")
  4908. } else if (type === 'Number') {
  4909. return ("" + (Number(value)))
  4910. } else {
  4911. return ("" + value)
  4912. }
  4913. }
  4914. function isExplicable (value) {
  4915. var explicitTypes = ['string', 'number', 'boolean'];
  4916. return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })
  4917. }
  4918. function isBoolean () {
  4919. var args = [], len = arguments.length;
  4920. while ( len-- ) args[ len ] = arguments[ len ];
  4921. return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })
  4922. }
  4923. /* */
  4924. function handleError (err, vm, info) {
  4925. // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.
  4926. // See: https://github.com/vuejs/vuex/issues/1505
  4927. pushTarget();
  4928. try {
  4929. if (vm) {
  4930. var cur = vm;
  4931. while ((cur = cur.$parent)) {
  4932. var hooks = cur.$options.errorCaptured;
  4933. if (hooks) {
  4934. for (var i = 0; i < hooks.length; i++) {
  4935. try {
  4936. var capture = hooks[i].call(cur, err, vm, info) === false;
  4937. if (capture) { return }
  4938. } catch (e) {
  4939. globalHandleError(e, cur, 'errorCaptured hook');
  4940. }
  4941. }
  4942. }
  4943. }
  4944. }
  4945. globalHandleError(err, vm, info);
  4946. } finally {
  4947. popTarget();
  4948. }
  4949. }
  4950. function invokeWithErrorHandling (
  4951. handler,
  4952. context,
  4953. args,
  4954. vm,
  4955. info
  4956. ) {
  4957. var res;
  4958. try {
  4959. res = args ? handler.apply(context, args) : handler.call(context);
  4960. if (res && !res._isVue && isPromise(res) && !res._handled) {
  4961. res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); });
  4962. // issue #9511
  4963. // avoid catch triggering multiple times when nested calls
  4964. res._handled = true;
  4965. }
  4966. } catch (e) {
  4967. handleError(e, vm, info);
  4968. }
  4969. return res
  4970. }
  4971. function globalHandleError (err, vm, info) {
  4972. if (config.errorHandler) {
  4973. try {
  4974. return config.errorHandler.call(null, err, vm, info)
  4975. } catch (e) {
  4976. // if the user intentionally throws the original error in the handler,
  4977. // do not log it twice
  4978. if (e !== err) {
  4979. logError(e, null, 'config.errorHandler');
  4980. }
  4981. }
  4982. }
  4983. logError(err, vm, info);
  4984. }
  4985. function logError (err, vm, info) {
  4986. if (true) {
  4987. warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  4988. }
  4989. /* istanbul ignore else */
  4990. if ((inBrowser || inWeex) && typeof console !== 'undefined') {
  4991. console.error(err);
  4992. } else {
  4993. throw err
  4994. }
  4995. }
  4996. /* */
  4997. var callbacks = [];
  4998. var pending = false;
  4999. function flushCallbacks () {
  5000. pending = false;
  5001. var copies = callbacks.slice(0);
  5002. callbacks.length = 0;
  5003. for (var i = 0; i < copies.length; i++) {
  5004. copies[i]();
  5005. }
  5006. }
  5007. // Here we have async deferring wrappers using microtasks.
  5008. // In 2.5 we used (macro) tasks (in combination with microtasks).
  5009. // However, it has subtle problems when state is changed right before repaint
  5010. // (e.g. #6813, out-in transitions).
  5011. // Also, using (macro) tasks in event handler would cause some weird behaviors
  5012. // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).
  5013. // So we now use microtasks everywhere, again.
  5014. // A major drawback of this tradeoff is that there are some scenarios
  5015. // where microtasks have too high a priority and fire in between supposedly
  5016. // sequential events (e.g. #4521, #6690, which have workarounds)
  5017. // or even between bubbling of the same event (#6566).
  5018. var timerFunc;
  5019. // The nextTick behavior leverages the microtask queue, which can be accessed
  5020. // via either native Promise.then or MutationObserver.
  5021. // MutationObserver has wider support, however it is seriously bugged in
  5022. // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
  5023. // completely stops working after triggering a few times... so, if native
  5024. // Promise is available, we will use it:
  5025. /* istanbul ignore next, $flow-disable-line */
  5026. if (typeof Promise !== 'undefined' && isNative(Promise)) {
  5027. var p = Promise.resolve();
  5028. timerFunc = function () {
  5029. p.then(flushCallbacks);
  5030. // In problematic UIWebViews, Promise.then doesn't completely break, but
  5031. // it can get stuck in a weird state where callbacks are pushed into the
  5032. // microtask queue but the queue isn't being flushed, until the browser
  5033. // needs to do some other work, e.g. handle a timer. Therefore we can
  5034. // "force" the microtask queue to be flushed by adding an empty timer.
  5035. if (isIOS) { setTimeout(noop); }
  5036. };
  5037. } else if (!isIE && typeof MutationObserver !== 'undefined' && (
  5038. isNative(MutationObserver) ||
  5039. // PhantomJS and iOS 7.x
  5040. MutationObserver.toString() === '[object MutationObserverConstructor]'
  5041. )) {
  5042. // Use MutationObserver where native Promise is not available,
  5043. // e.g. PhantomJS, iOS7, Android 4.4
  5044. // (#6466 MutationObserver is unreliable in IE11)
  5045. var counter = 1;
  5046. var observer = new MutationObserver(flushCallbacks);
  5047. var textNode = document.createTextNode(String(counter));
  5048. observer.observe(textNode, {
  5049. characterData: true
  5050. });
  5051. timerFunc = function () {
  5052. counter = (counter + 1) % 2;
  5053. textNode.data = String(counter);
  5054. };
  5055. } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
  5056. // Fallback to setImmediate.
  5057. // Technically it leverages the (macro) task queue,
  5058. // but it is still a better choice than setTimeout.
  5059. timerFunc = function () {
  5060. setImmediate(flushCallbacks);
  5061. };
  5062. } else {
  5063. // Fallback to setTimeout.
  5064. timerFunc = function () {
  5065. setTimeout(flushCallbacks, 0);
  5066. };
  5067. }
  5068. function nextTick (cb, ctx) {
  5069. var _resolve;
  5070. callbacks.push(function () {
  5071. if (cb) {
  5072. try {
  5073. cb.call(ctx);
  5074. } catch (e) {
  5075. handleError(e, ctx, 'nextTick');
  5076. }
  5077. } else if (_resolve) {
  5078. _resolve(ctx);
  5079. }
  5080. });
  5081. if (!pending) {
  5082. pending = true;
  5083. timerFunc();
  5084. }
  5085. // $flow-disable-line
  5086. if (!cb && typeof Promise !== 'undefined') {
  5087. return new Promise(function (resolve) {
  5088. _resolve = resolve;
  5089. })
  5090. }
  5091. }
  5092. /* */
  5093. /* not type checking this file because flow doesn't play well with Proxy */
  5094. var initProxy;
  5095. if (true) {
  5096. var allowedGlobals = makeMap(
  5097. 'Infinity,undefined,NaN,isFinite,isNaN,' +
  5098. 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
  5099. 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
  5100. 'require' // for Webpack/Browserify
  5101. );
  5102. var warnNonPresent = function (target, key) {
  5103. warn(
  5104. "Property or method \"" + key + "\" is not defined on the instance but " +
  5105. 'referenced during render. Make sure that this property is reactive, ' +
  5106. 'either in the data option, or for class-based components, by ' +
  5107. 'initializing the property. ' +
  5108. 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
  5109. target
  5110. );
  5111. };
  5112. var warnReservedPrefix = function (target, key) {
  5113. warn(
  5114. "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " +
  5115. 'properties starting with "$" or "_" are not proxied in the Vue instance to ' +
  5116. 'prevent conflicts with Vue internals. ' +
  5117. 'See: https://vuejs.org/v2/api/#data',
  5118. target
  5119. );
  5120. };
  5121. var hasProxy =
  5122. typeof Proxy !== 'undefined' && isNative(Proxy);
  5123. if (hasProxy) {
  5124. var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
  5125. config.keyCodes = new Proxy(config.keyCodes, {
  5126. set: function set (target, key, value) {
  5127. if (isBuiltInModifier(key)) {
  5128. warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
  5129. return false
  5130. } else {
  5131. target[key] = value;
  5132. return true
  5133. }
  5134. }
  5135. });
  5136. }
  5137. var hasHandler = {
  5138. has: function has (target, key) {
  5139. var has = key in target;
  5140. var isAllowed = allowedGlobals(key) ||
  5141. (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));
  5142. if (!has && !isAllowed) {
  5143. if (key in target.$data) { warnReservedPrefix(target, key); }
  5144. else { warnNonPresent(target, key); }
  5145. }
  5146. return has || !isAllowed
  5147. }
  5148. };
  5149. var getHandler = {
  5150. get: function get (target, key) {
  5151. if (typeof key === 'string' && !(key in target)) {
  5152. if (key in target.$data) { warnReservedPrefix(target, key); }
  5153. else { warnNonPresent(target, key); }
  5154. }
  5155. return target[key]
  5156. }
  5157. };
  5158. initProxy = function initProxy (vm) {
  5159. if (hasProxy) {
  5160. // determine which proxy handler to use
  5161. var options = vm.$options;
  5162. var handlers = options.render && options.render._withStripped
  5163. ? getHandler
  5164. : hasHandler;
  5165. vm._renderProxy = new Proxy(vm, handlers);
  5166. } else {
  5167. vm._renderProxy = vm;
  5168. }
  5169. };
  5170. }
  5171. /* */
  5172. var seenObjects = new _Set();
  5173. /**
  5174. * Recursively traverse an object to evoke all converted
  5175. * getters, so that every nested property inside the object
  5176. * is collected as a "deep" dependency.
  5177. */
  5178. function traverse (val) {
  5179. _traverse(val, seenObjects);
  5180. seenObjects.clear();
  5181. }
  5182. function _traverse (val, seen) {
  5183. var i, keys;
  5184. var isA = Array.isArray(val);
  5185. if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
  5186. return
  5187. }
  5188. if (val.__ob__) {
  5189. var depId = val.__ob__.dep.id;
  5190. if (seen.has(depId)) {
  5191. return
  5192. }
  5193. seen.add(depId);
  5194. }
  5195. if (isA) {
  5196. i = val.length;
  5197. while (i--) { _traverse(val[i], seen); }
  5198. } else {
  5199. keys = Object.keys(val);
  5200. i = keys.length;
  5201. while (i--) { _traverse(val[keys[i]], seen); }
  5202. }
  5203. }
  5204. var mark;
  5205. var measure;
  5206. if (true) {
  5207. var perf = inBrowser && window.performance;
  5208. /* istanbul ignore if */
  5209. if (
  5210. perf &&
  5211. perf.mark &&
  5212. perf.measure &&
  5213. perf.clearMarks &&
  5214. perf.clearMeasures
  5215. ) {
  5216. mark = function (tag) { return perf.mark(tag); };
  5217. measure = function (name, startTag, endTag) {
  5218. perf.measure(name, startTag, endTag);
  5219. perf.clearMarks(startTag);
  5220. perf.clearMarks(endTag);
  5221. // perf.clearMeasures(name)
  5222. };
  5223. }
  5224. }
  5225. /* */
  5226. var normalizeEvent = cached(function (name) {
  5227. var passive = name.charAt(0) === '&';
  5228. name = passive ? name.slice(1) : name;
  5229. var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
  5230. name = once$$1 ? name.slice(1) : name;
  5231. var capture = name.charAt(0) === '!';
  5232. name = capture ? name.slice(1) : name;
  5233. return {
  5234. name: name,
  5235. once: once$$1,
  5236. capture: capture,
  5237. passive: passive
  5238. }
  5239. });
  5240. function createFnInvoker (fns, vm) {
  5241. function invoker () {
  5242. var arguments$1 = arguments;
  5243. var fns = invoker.fns;
  5244. if (Array.isArray(fns)) {
  5245. var cloned = fns.slice();
  5246. for (var i = 0; i < cloned.length; i++) {
  5247. invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler");
  5248. }
  5249. } else {
  5250. // return handler return value for single handlers
  5251. return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler")
  5252. }
  5253. }
  5254. invoker.fns = fns;
  5255. return invoker
  5256. }
  5257. function updateListeners (
  5258. on,
  5259. oldOn,
  5260. add,
  5261. remove$$1,
  5262. createOnceHandler,
  5263. vm
  5264. ) {
  5265. var name, def$$1, cur, old, event;
  5266. for (name in on) {
  5267. def$$1 = cur = on[name];
  5268. old = oldOn[name];
  5269. event = normalizeEvent(name);
  5270. if (isUndef(cur)) {
  5271. true && warn(
  5272. "Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
  5273. vm
  5274. );
  5275. } else if (isUndef(old)) {
  5276. if (isUndef(cur.fns)) {
  5277. cur = on[name] = createFnInvoker(cur, vm);
  5278. }
  5279. if (isTrue(event.once)) {
  5280. cur = on[name] = createOnceHandler(event.name, cur, event.capture);
  5281. }
  5282. add(event.name, cur, event.capture, event.passive, event.params);
  5283. } else if (cur !== old) {
  5284. old.fns = cur;
  5285. on[name] = old;
  5286. }
  5287. }
  5288. for (name in oldOn) {
  5289. if (isUndef(on[name])) {
  5290. event = normalizeEvent(name);
  5291. remove$$1(event.name, oldOn[name], event.capture);
  5292. }
  5293. }
  5294. }
  5295. /* */
  5296. /* */
  5297. // fixed by xxxxxx (mp properties)
  5298. function extractPropertiesFromVNodeData(data, Ctor, res, context) {
  5299. var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;
  5300. if (isUndef(propOptions)) {
  5301. return res
  5302. }
  5303. var externalClasses = Ctor.options.mpOptions.externalClasses || [];
  5304. var attrs = data.attrs;
  5305. var props = data.props;
  5306. if (isDef(attrs) || isDef(props)) {
  5307. for (var key in propOptions) {
  5308. var altKey = hyphenate(key);
  5309. var result = checkProp(res, props, key, altKey, true) ||
  5310. checkProp(res, attrs, key, altKey, false);
  5311. // externalClass
  5312. if (
  5313. result &&
  5314. res[key] &&
  5315. externalClasses.indexOf(altKey) !== -1 &&
  5316. context[camelize(res[key])]
  5317. ) {
  5318. // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)
  5319. res[key] = context[camelize(res[key])];
  5320. }
  5321. }
  5322. }
  5323. return res
  5324. }
  5325. function extractPropsFromVNodeData (
  5326. data,
  5327. Ctor,
  5328. tag,
  5329. context// fixed by xxxxxx
  5330. ) {
  5331. // we are only extracting raw values here.
  5332. // validation and default values are handled in the child
  5333. // component itself.
  5334. var propOptions = Ctor.options.props;
  5335. if (isUndef(propOptions)) {
  5336. // fixed by xxxxxx
  5337. return extractPropertiesFromVNodeData(data, Ctor, {}, context)
  5338. }
  5339. var res = {};
  5340. var attrs = data.attrs;
  5341. var props = data.props;
  5342. if (isDef(attrs) || isDef(props)) {
  5343. for (var key in propOptions) {
  5344. var altKey = hyphenate(key);
  5345. if (true) {
  5346. var keyInLowerCase = key.toLowerCase();
  5347. if (
  5348. key !== keyInLowerCase &&
  5349. attrs && hasOwn(attrs, keyInLowerCase)
  5350. ) {
  5351. tip(
  5352. "Prop \"" + keyInLowerCase + "\" is passed to component " +
  5353. (formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
  5354. " \"" + key + "\". " +
  5355. "Note that HTML attributes are case-insensitive and camelCased " +
  5356. "props need to use their kebab-case equivalents when using in-DOM " +
  5357. "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
  5358. );
  5359. }
  5360. }
  5361. checkProp(res, props, key, altKey, true) ||
  5362. checkProp(res, attrs, key, altKey, false);
  5363. }
  5364. }
  5365. // fixed by xxxxxx
  5366. return extractPropertiesFromVNodeData(data, Ctor, res, context)
  5367. }
  5368. function checkProp (
  5369. res,
  5370. hash,
  5371. key,
  5372. altKey,
  5373. preserve
  5374. ) {
  5375. if (isDef(hash)) {
  5376. if (hasOwn(hash, key)) {
  5377. res[key] = hash[key];
  5378. if (!preserve) {
  5379. delete hash[key];
  5380. }
  5381. return true
  5382. } else if (hasOwn(hash, altKey)) {
  5383. res[key] = hash[altKey];
  5384. if (!preserve) {
  5385. delete hash[altKey];
  5386. }
  5387. return true
  5388. }
  5389. }
  5390. return false
  5391. }
  5392. /* */
  5393. // The template compiler attempts to minimize the need for normalization by
  5394. // statically analyzing the template at compile time.
  5395. //
  5396. // For plain HTML markup, normalization can be completely skipped because the
  5397. // generated render function is guaranteed to return Array<VNode>. There are
  5398. // two cases where extra normalization is needed:
  5399. // 1. When the children contains components - because a functional component
  5400. // may return an Array instead of a single root. In this case, just a simple
  5401. // normalization is needed - if any child is an Array, we flatten the whole
  5402. // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
  5403. // because functional components already normalize their own children.
  5404. function simpleNormalizeChildren (children) {
  5405. for (var i = 0; i < children.length; i++) {
  5406. if (Array.isArray(children[i])) {
  5407. return Array.prototype.concat.apply([], children)
  5408. }
  5409. }
  5410. return children
  5411. }
  5412. // 2. When the children contains constructs that always generated nested Arrays,
  5413. // e.g. <template>, <slot>, v-for, or when the children is provided by user
  5414. // with hand-written render functions / JSX. In such cases a full normalization
  5415. // is needed to cater to all possible types of children values.
  5416. function normalizeChildren (children) {
  5417. return isPrimitive(children)
  5418. ? [createTextVNode(children)]
  5419. : Array.isArray(children)
  5420. ? normalizeArrayChildren(children)
  5421. : undefined
  5422. }
  5423. function isTextNode (node) {
  5424. return isDef(node) && isDef(node.text) && isFalse(node.isComment)
  5425. }
  5426. function normalizeArrayChildren (children, nestedIndex) {
  5427. var res = [];
  5428. var i, c, lastIndex, last;
  5429. for (i = 0; i < children.length; i++) {
  5430. c = children[i];
  5431. if (isUndef(c) || typeof c === 'boolean') { continue }
  5432. lastIndex = res.length - 1;
  5433. last = res[lastIndex];
  5434. // nested
  5435. if (Array.isArray(c)) {
  5436. if (c.length > 0) {
  5437. c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
  5438. // merge adjacent text nodes
  5439. if (isTextNode(c[0]) && isTextNode(last)) {
  5440. res[lastIndex] = createTextVNode(last.text + (c[0]).text);
  5441. c.shift();
  5442. }
  5443. res.push.apply(res, c);
  5444. }
  5445. } else if (isPrimitive(c)) {
  5446. if (isTextNode(last)) {
  5447. // merge adjacent text nodes
  5448. // this is necessary for SSR hydration because text nodes are
  5449. // essentially merged when rendered to HTML strings
  5450. res[lastIndex] = createTextVNode(last.text + c);
  5451. } else if (c !== '') {
  5452. // convert primitive to vnode
  5453. res.push(createTextVNode(c));
  5454. }
  5455. } else {
  5456. if (isTextNode(c) && isTextNode(last)) {
  5457. // merge adjacent text nodes
  5458. res[lastIndex] = createTextVNode(last.text + c.text);
  5459. } else {
  5460. // default key for nested array children (likely generated by v-for)
  5461. if (isTrue(children._isVList) &&
  5462. isDef(c.tag) &&
  5463. isUndef(c.key) &&
  5464. isDef(nestedIndex)) {
  5465. c.key = "__vlist" + nestedIndex + "_" + i + "__";
  5466. }
  5467. res.push(c);
  5468. }
  5469. }
  5470. }
  5471. return res
  5472. }
  5473. /* */
  5474. function initProvide (vm) {
  5475. var provide = vm.$options.provide;
  5476. if (provide) {
  5477. vm._provided = typeof provide === 'function'
  5478. ? provide.call(vm)
  5479. : provide;
  5480. }
  5481. }
  5482. function initInjections (vm) {
  5483. var result = resolveInject(vm.$options.inject, vm);
  5484. if (result) {
  5485. toggleObserving(false);
  5486. Object.keys(result).forEach(function (key) {
  5487. /* istanbul ignore else */
  5488. if (true) {
  5489. defineReactive$$1(vm, key, result[key], function () {
  5490. warn(
  5491. "Avoid mutating an injected value directly since the changes will be " +
  5492. "overwritten whenever the provided component re-renders. " +
  5493. "injection being mutated: \"" + key + "\"",
  5494. vm
  5495. );
  5496. });
  5497. } else {}
  5498. });
  5499. toggleObserving(true);
  5500. }
  5501. }
  5502. function resolveInject (inject, vm) {
  5503. if (inject) {
  5504. // inject is :any because flow is not smart enough to figure out cached
  5505. var result = Object.create(null);
  5506. var keys = hasSymbol
  5507. ? Reflect.ownKeys(inject)
  5508. : Object.keys(inject);
  5509. for (var i = 0; i < keys.length; i++) {
  5510. var key = keys[i];
  5511. // #6574 in case the inject object is observed...
  5512. if (key === '__ob__') { continue }
  5513. var provideKey = inject[key].from;
  5514. var source = vm;
  5515. while (source) {
  5516. if (source._provided && hasOwn(source._provided, provideKey)) {
  5517. result[key] = source._provided[provideKey];
  5518. break
  5519. }
  5520. source = source.$parent;
  5521. }
  5522. if (!source) {
  5523. if ('default' in inject[key]) {
  5524. var provideDefault = inject[key].default;
  5525. result[key] = typeof provideDefault === 'function'
  5526. ? provideDefault.call(vm)
  5527. : provideDefault;
  5528. } else if (true) {
  5529. warn(("Injection \"" + key + "\" not found"), vm);
  5530. }
  5531. }
  5532. }
  5533. return result
  5534. }
  5535. }
  5536. /* */
  5537. /**
  5538. * Runtime helper for resolving raw children VNodes into a slot object.
  5539. */
  5540. function resolveSlots (
  5541. children,
  5542. context
  5543. ) {
  5544. if (!children || !children.length) {
  5545. return {}
  5546. }
  5547. var slots = {};
  5548. for (var i = 0, l = children.length; i < l; i++) {
  5549. var child = children[i];
  5550. var data = child.data;
  5551. // remove slot attribute if the node is resolved as a Vue slot node
  5552. if (data && data.attrs && data.attrs.slot) {
  5553. delete data.attrs.slot;
  5554. }
  5555. // named slots should only be respected if the vnode was rendered in the
  5556. // same context.
  5557. if ((child.context === context || child.fnContext === context) &&
  5558. data && data.slot != null
  5559. ) {
  5560. var name = data.slot;
  5561. var slot = (slots[name] || (slots[name] = []));
  5562. if (child.tag === 'template') {
  5563. slot.push.apply(slot, child.children || []);
  5564. } else {
  5565. slot.push(child);
  5566. }
  5567. } else {
  5568. // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page
  5569. if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){
  5570. (slots['page'] || (slots['page'] = [])).push(child);
  5571. }else{
  5572. (slots.default || (slots.default = [])).push(child);
  5573. }
  5574. }
  5575. }
  5576. // ignore slots that contains only whitespace
  5577. for (var name$1 in slots) {
  5578. if (slots[name$1].every(isWhitespace)) {
  5579. delete slots[name$1];
  5580. }
  5581. }
  5582. return slots
  5583. }
  5584. function isWhitespace (node) {
  5585. return (node.isComment && !node.asyncFactory) || node.text === ' '
  5586. }
  5587. /* */
  5588. function normalizeScopedSlots (
  5589. slots,
  5590. normalSlots,
  5591. prevSlots
  5592. ) {
  5593. var res;
  5594. var hasNormalSlots = Object.keys(normalSlots).length > 0;
  5595. var isStable = slots ? !!slots.$stable : !hasNormalSlots;
  5596. var key = slots && slots.$key;
  5597. if (!slots) {
  5598. res = {};
  5599. } else if (slots._normalized) {
  5600. // fast path 1: child component re-render only, parent did not change
  5601. return slots._normalized
  5602. } else if (
  5603. isStable &&
  5604. prevSlots &&
  5605. prevSlots !== emptyObject &&
  5606. key === prevSlots.$key &&
  5607. !hasNormalSlots &&
  5608. !prevSlots.$hasNormal
  5609. ) {
  5610. // fast path 2: stable scoped slots w/ no normal slots to proxy,
  5611. // only need to normalize once
  5612. return prevSlots
  5613. } else {
  5614. res = {};
  5615. for (var key$1 in slots) {
  5616. if (slots[key$1] && key$1[0] !== '$') {
  5617. res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);
  5618. }
  5619. }
  5620. }
  5621. // expose normal slots on scopedSlots
  5622. for (var key$2 in normalSlots) {
  5623. if (!(key$2 in res)) {
  5624. res[key$2] = proxyNormalSlot(normalSlots, key$2);
  5625. }
  5626. }
  5627. // avoriaz seems to mock a non-extensible $scopedSlots object
  5628. // and when that is passed down this would cause an error
  5629. if (slots && Object.isExtensible(slots)) {
  5630. (slots)._normalized = res;
  5631. }
  5632. def(res, '$stable', isStable);
  5633. def(res, '$key', key);
  5634. def(res, '$hasNormal', hasNormalSlots);
  5635. return res
  5636. }
  5637. function normalizeScopedSlot(normalSlots, key, fn) {
  5638. var normalized = function () {
  5639. var res = arguments.length ? fn.apply(null, arguments) : fn({});
  5640. res = res && typeof res === 'object' && !Array.isArray(res)
  5641. ? [res] // single vnode
  5642. : normalizeChildren(res);
  5643. return res && (
  5644. res.length === 0 ||
  5645. (res.length === 1 && res[0].isComment) // #9658
  5646. ) ? undefined
  5647. : res
  5648. };
  5649. // this is a slot using the new v-slot syntax without scope. although it is
  5650. // compiled as a scoped slot, render fn users would expect it to be present
  5651. // on this.$slots because the usage is semantically a normal slot.
  5652. if (fn.proxy) {
  5653. Object.defineProperty(normalSlots, key, {
  5654. get: normalized,
  5655. enumerable: true,
  5656. configurable: true
  5657. });
  5658. }
  5659. return normalized
  5660. }
  5661. function proxyNormalSlot(slots, key) {
  5662. return function () { return slots[key]; }
  5663. }
  5664. /* */
  5665. /**
  5666. * Runtime helper for rendering v-for lists.
  5667. */
  5668. function renderList (
  5669. val,
  5670. render
  5671. ) {
  5672. var ret, i, l, keys, key;
  5673. if (Array.isArray(val) || typeof val === 'string') {
  5674. ret = new Array(val.length);
  5675. for (i = 0, l = val.length; i < l; i++) {
  5676. ret[i] = render(val[i], i, i, i); // fixed by xxxxxx
  5677. }
  5678. } else if (typeof val === 'number') {
  5679. ret = new Array(val);
  5680. for (i = 0; i < val; i++) {
  5681. ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx
  5682. }
  5683. } else if (isObject(val)) {
  5684. if (hasSymbol && val[Symbol.iterator]) {
  5685. ret = [];
  5686. var iterator = val[Symbol.iterator]();
  5687. var result = iterator.next();
  5688. while (!result.done) {
  5689. ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx
  5690. result = iterator.next();
  5691. }
  5692. } else {
  5693. keys = Object.keys(val);
  5694. ret = new Array(keys.length);
  5695. for (i = 0, l = keys.length; i < l; i++) {
  5696. key = keys[i];
  5697. ret[i] = render(val[key], key, i, i); // fixed by xxxxxx
  5698. }
  5699. }
  5700. }
  5701. if (!isDef(ret)) {
  5702. ret = [];
  5703. }
  5704. (ret)._isVList = true;
  5705. return ret
  5706. }
  5707. /* */
  5708. /**
  5709. * Runtime helper for rendering <slot>
  5710. */
  5711. function renderSlot (
  5712. name,
  5713. fallback,
  5714. props,
  5715. bindObject
  5716. ) {
  5717. var scopedSlotFn = this.$scopedSlots[name];
  5718. var nodes;
  5719. if (scopedSlotFn) { // scoped slot
  5720. props = props || {};
  5721. if (bindObject) {
  5722. if ( true && !isObject(bindObject)) {
  5723. warn(
  5724. 'slot v-bind without argument expects an Object',
  5725. this
  5726. );
  5727. }
  5728. props = extend(extend({}, bindObject), props);
  5729. }
  5730. // fixed by xxxxxx app-plus scopedSlot
  5731. nodes = scopedSlotFn(props, this, props._i) || fallback;
  5732. } else {
  5733. nodes = this.$slots[name] || fallback;
  5734. }
  5735. var target = props && props.slot;
  5736. if (target) {
  5737. return this.$createElement('template', { slot: target }, nodes)
  5738. } else {
  5739. return nodes
  5740. }
  5741. }
  5742. /* */
  5743. /**
  5744. * Runtime helper for resolving filters
  5745. */
  5746. function resolveFilter (id) {
  5747. return resolveAsset(this.$options, 'filters', id, true) || identity
  5748. }
  5749. /* */
  5750. function isKeyNotMatch (expect, actual) {
  5751. if (Array.isArray(expect)) {
  5752. return expect.indexOf(actual) === -1
  5753. } else {
  5754. return expect !== actual
  5755. }
  5756. }
  5757. /**
  5758. * Runtime helper for checking keyCodes from config.
  5759. * exposed as Vue.prototype._k
  5760. * passing in eventKeyName as last argument separately for backwards compat
  5761. */
  5762. function checkKeyCodes (
  5763. eventKeyCode,
  5764. key,
  5765. builtInKeyCode,
  5766. eventKeyName,
  5767. builtInKeyName
  5768. ) {
  5769. var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
  5770. if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
  5771. return isKeyNotMatch(builtInKeyName, eventKeyName)
  5772. } else if (mappedKeyCode) {
  5773. return isKeyNotMatch(mappedKeyCode, eventKeyCode)
  5774. } else if (eventKeyName) {
  5775. return hyphenate(eventKeyName) !== key
  5776. }
  5777. }
  5778. /* */
  5779. /**
  5780. * Runtime helper for merging v-bind="object" into a VNode's data.
  5781. */
  5782. function bindObjectProps (
  5783. data,
  5784. tag,
  5785. value,
  5786. asProp,
  5787. isSync
  5788. ) {
  5789. if (value) {
  5790. if (!isObject(value)) {
  5791. true && warn(
  5792. 'v-bind without argument expects an Object or Array value',
  5793. this
  5794. );
  5795. } else {
  5796. if (Array.isArray(value)) {
  5797. value = toObject(value);
  5798. }
  5799. var hash;
  5800. var loop = function ( key ) {
  5801. if (
  5802. key === 'class' ||
  5803. key === 'style' ||
  5804. isReservedAttribute(key)
  5805. ) {
  5806. hash = data;
  5807. } else {
  5808. var type = data.attrs && data.attrs.type;
  5809. hash = asProp || config.mustUseProp(tag, type, key)
  5810. ? data.domProps || (data.domProps = {})
  5811. : data.attrs || (data.attrs = {});
  5812. }
  5813. var camelizedKey = camelize(key);
  5814. var hyphenatedKey = hyphenate(key);
  5815. if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
  5816. hash[key] = value[key];
  5817. if (isSync) {
  5818. var on = data.on || (data.on = {});
  5819. on[("update:" + key)] = function ($event) {
  5820. value[key] = $event;
  5821. };
  5822. }
  5823. }
  5824. };
  5825. for (var key in value) loop( key );
  5826. }
  5827. }
  5828. return data
  5829. }
  5830. /* */
  5831. /**
  5832. * Runtime helper for rendering static trees.
  5833. */
  5834. function renderStatic (
  5835. index,
  5836. isInFor
  5837. ) {
  5838. var cached = this._staticTrees || (this._staticTrees = []);
  5839. var tree = cached[index];
  5840. // if has already-rendered static tree and not inside v-for,
  5841. // we can reuse the same tree.
  5842. if (tree && !isInFor) {
  5843. return tree
  5844. }
  5845. // otherwise, render a fresh tree.
  5846. tree = cached[index] = this.$options.staticRenderFns[index].call(
  5847. this._renderProxy,
  5848. null,
  5849. this // for render fns generated for functional component templates
  5850. );
  5851. markStatic(tree, ("__static__" + index), false);
  5852. return tree
  5853. }
  5854. /**
  5855. * Runtime helper for v-once.
  5856. * Effectively it means marking the node as static with a unique key.
  5857. */
  5858. function markOnce (
  5859. tree,
  5860. index,
  5861. key
  5862. ) {
  5863. markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
  5864. return tree
  5865. }
  5866. function markStatic (
  5867. tree,
  5868. key,
  5869. isOnce
  5870. ) {
  5871. if (Array.isArray(tree)) {
  5872. for (var i = 0; i < tree.length; i++) {
  5873. if (tree[i] && typeof tree[i] !== 'string') {
  5874. markStaticNode(tree[i], (key + "_" + i), isOnce);
  5875. }
  5876. }
  5877. } else {
  5878. markStaticNode(tree, key, isOnce);
  5879. }
  5880. }
  5881. function markStaticNode (node, key, isOnce) {
  5882. node.isStatic = true;
  5883. node.key = key;
  5884. node.isOnce = isOnce;
  5885. }
  5886. /* */
  5887. function bindObjectListeners (data, value) {
  5888. if (value) {
  5889. if (!isPlainObject(value)) {
  5890. true && warn(
  5891. 'v-on without argument expects an Object value',
  5892. this
  5893. );
  5894. } else {
  5895. var on = data.on = data.on ? extend({}, data.on) : {};
  5896. for (var key in value) {
  5897. var existing = on[key];
  5898. var ours = value[key];
  5899. on[key] = existing ? [].concat(existing, ours) : ours;
  5900. }
  5901. }
  5902. }
  5903. return data
  5904. }
  5905. /* */
  5906. function resolveScopedSlots (
  5907. fns, // see flow/vnode
  5908. res,
  5909. // the following are added in 2.6
  5910. hasDynamicKeys,
  5911. contentHashKey
  5912. ) {
  5913. res = res || { $stable: !hasDynamicKeys };
  5914. for (var i = 0; i < fns.length; i++) {
  5915. var slot = fns[i];
  5916. if (Array.isArray(slot)) {
  5917. resolveScopedSlots(slot, res, hasDynamicKeys);
  5918. } else if (slot) {
  5919. // marker for reverse proxying v-slot without scope on this.$slots
  5920. if (slot.proxy) {
  5921. slot.fn.proxy = true;
  5922. }
  5923. res[slot.key] = slot.fn;
  5924. }
  5925. }
  5926. if (contentHashKey) {
  5927. (res).$key = contentHashKey;
  5928. }
  5929. return res
  5930. }
  5931. /* */
  5932. function bindDynamicKeys (baseObj, values) {
  5933. for (var i = 0; i < values.length; i += 2) {
  5934. var key = values[i];
  5935. if (typeof key === 'string' && key) {
  5936. baseObj[values[i]] = values[i + 1];
  5937. } else if ( true && key !== '' && key !== null) {
  5938. // null is a special value for explicitly removing a binding
  5939. warn(
  5940. ("Invalid value for dynamic directive argument (expected string or null): " + key),
  5941. this
  5942. );
  5943. }
  5944. }
  5945. return baseObj
  5946. }
  5947. // helper to dynamically append modifier runtime markers to event names.
  5948. // ensure only append when value is already string, otherwise it will be cast
  5949. // to string and cause the type check to miss.
  5950. function prependModifier (value, symbol) {
  5951. return typeof value === 'string' ? symbol + value : value
  5952. }
  5953. /* */
  5954. function installRenderHelpers (target) {
  5955. target._o = markOnce;
  5956. target._n = toNumber;
  5957. target._s = toString;
  5958. target._l = renderList;
  5959. target._t = renderSlot;
  5960. target._q = looseEqual;
  5961. target._i = looseIndexOf;
  5962. target._m = renderStatic;
  5963. target._f = resolveFilter;
  5964. target._k = checkKeyCodes;
  5965. target._b = bindObjectProps;
  5966. target._v = createTextVNode;
  5967. target._e = createEmptyVNode;
  5968. target._u = resolveScopedSlots;
  5969. target._g = bindObjectListeners;
  5970. target._d = bindDynamicKeys;
  5971. target._p = prependModifier;
  5972. }
  5973. /* */
  5974. function FunctionalRenderContext (
  5975. data,
  5976. props,
  5977. children,
  5978. parent,
  5979. Ctor
  5980. ) {
  5981. var this$1 = this;
  5982. var options = Ctor.options;
  5983. // ensure the createElement function in functional components
  5984. // gets a unique context - this is necessary for correct named slot check
  5985. var contextVm;
  5986. if (hasOwn(parent, '_uid')) {
  5987. contextVm = Object.create(parent);
  5988. // $flow-disable-line
  5989. contextVm._original = parent;
  5990. } else {
  5991. // the context vm passed in is a functional context as well.
  5992. // in this case we want to make sure we are able to get a hold to the
  5993. // real context instance.
  5994. contextVm = parent;
  5995. // $flow-disable-line
  5996. parent = parent._original;
  5997. }
  5998. var isCompiled = isTrue(options._compiled);
  5999. var needNormalization = !isCompiled;
  6000. this.data = data;
  6001. this.props = props;
  6002. this.children = children;
  6003. this.parent = parent;
  6004. this.listeners = data.on || emptyObject;
  6005. this.injections = resolveInject(options.inject, parent);
  6006. this.slots = function () {
  6007. if (!this$1.$slots) {
  6008. normalizeScopedSlots(
  6009. data.scopedSlots,
  6010. this$1.$slots = resolveSlots(children, parent)
  6011. );
  6012. }
  6013. return this$1.$slots
  6014. };
  6015. Object.defineProperty(this, 'scopedSlots', ({
  6016. enumerable: true,
  6017. get: function get () {
  6018. return normalizeScopedSlots(data.scopedSlots, this.slots())
  6019. }
  6020. }));
  6021. // support for compiled functional template
  6022. if (isCompiled) {
  6023. // exposing $options for renderStatic()
  6024. this.$options = options;
  6025. // pre-resolve slots for renderSlot()
  6026. this.$slots = this.slots();
  6027. this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);
  6028. }
  6029. if (options._scopeId) {
  6030. this._c = function (a, b, c, d) {
  6031. var vnode = createElement(contextVm, a, b, c, d, needNormalization);
  6032. if (vnode && !Array.isArray(vnode)) {
  6033. vnode.fnScopeId = options._scopeId;
  6034. vnode.fnContext = parent;
  6035. }
  6036. return vnode
  6037. };
  6038. } else {
  6039. this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
  6040. }
  6041. }
  6042. installRenderHelpers(FunctionalRenderContext.prototype);
  6043. function createFunctionalComponent (
  6044. Ctor,
  6045. propsData,
  6046. data,
  6047. contextVm,
  6048. children
  6049. ) {
  6050. var options = Ctor.options;
  6051. var props = {};
  6052. var propOptions = options.props;
  6053. if (isDef(propOptions)) {
  6054. for (var key in propOptions) {
  6055. props[key] = validateProp(key, propOptions, propsData || emptyObject);
  6056. }
  6057. } else {
  6058. if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
  6059. if (isDef(data.props)) { mergeProps(props, data.props); }
  6060. }
  6061. var renderContext = new FunctionalRenderContext(
  6062. data,
  6063. props,
  6064. children,
  6065. contextVm,
  6066. Ctor
  6067. );
  6068. var vnode = options.render.call(null, renderContext._c, renderContext);
  6069. if (vnode instanceof VNode) {
  6070. return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)
  6071. } else if (Array.isArray(vnode)) {
  6072. var vnodes = normalizeChildren(vnode) || [];
  6073. var res = new Array(vnodes.length);
  6074. for (var i = 0; i < vnodes.length; i++) {
  6075. res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);
  6076. }
  6077. return res
  6078. }
  6079. }
  6080. function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {
  6081. // #7817 clone node before setting fnContext, otherwise if the node is reused
  6082. // (e.g. it was from a cached normal slot) the fnContext causes named slots
  6083. // that should not be matched to match.
  6084. var clone = cloneVNode(vnode);
  6085. clone.fnContext = contextVm;
  6086. clone.fnOptions = options;
  6087. if (true) {
  6088. (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;
  6089. }
  6090. if (data.slot) {
  6091. (clone.data || (clone.data = {})).slot = data.slot;
  6092. }
  6093. return clone
  6094. }
  6095. function mergeProps (to, from) {
  6096. for (var key in from) {
  6097. to[camelize(key)] = from[key];
  6098. }
  6099. }
  6100. /* */
  6101. /* */
  6102. /* */
  6103. /* */
  6104. // inline hooks to be invoked on component VNodes during patch
  6105. var componentVNodeHooks = {
  6106. init: function init (vnode, hydrating) {
  6107. if (
  6108. vnode.componentInstance &&
  6109. !vnode.componentInstance._isDestroyed &&
  6110. vnode.data.keepAlive
  6111. ) {
  6112. // kept-alive components, treat as a patch
  6113. var mountedNode = vnode; // work around flow
  6114. componentVNodeHooks.prepatch(mountedNode, mountedNode);
  6115. } else {
  6116. var child = vnode.componentInstance = createComponentInstanceForVnode(
  6117. vnode,
  6118. activeInstance
  6119. );
  6120. child.$mount(hydrating ? vnode.elm : undefined, hydrating);
  6121. }
  6122. },
  6123. prepatch: function prepatch (oldVnode, vnode) {
  6124. var options = vnode.componentOptions;
  6125. var child = vnode.componentInstance = oldVnode.componentInstance;
  6126. updateChildComponent(
  6127. child,
  6128. options.propsData, // updated props
  6129. options.listeners, // updated listeners
  6130. vnode, // new parent vnode
  6131. options.children // new children
  6132. );
  6133. },
  6134. insert: function insert (vnode) {
  6135. var context = vnode.context;
  6136. var componentInstance = vnode.componentInstance;
  6137. if (!componentInstance._isMounted) {
  6138. callHook(componentInstance, 'onServiceCreated');
  6139. callHook(componentInstance, 'onServiceAttached');
  6140. componentInstance._isMounted = true;
  6141. callHook(componentInstance, 'mounted');
  6142. }
  6143. if (vnode.data.keepAlive) {
  6144. if (context._isMounted) {
  6145. // vue-router#1212
  6146. // During updates, a kept-alive component's child components may
  6147. // change, so directly walking the tree here may call activated hooks
  6148. // on incorrect children. Instead we push them into a queue which will
  6149. // be processed after the whole patch process ended.
  6150. queueActivatedComponent(componentInstance);
  6151. } else {
  6152. activateChildComponent(componentInstance, true /* direct */);
  6153. }
  6154. }
  6155. },
  6156. destroy: function destroy (vnode) {
  6157. var componentInstance = vnode.componentInstance;
  6158. if (!componentInstance._isDestroyed) {
  6159. if (!vnode.data.keepAlive) {
  6160. componentInstance.$destroy();
  6161. } else {
  6162. deactivateChildComponent(componentInstance, true /* direct */);
  6163. }
  6164. }
  6165. }
  6166. };
  6167. var hooksToMerge = Object.keys(componentVNodeHooks);
  6168. function createComponent (
  6169. Ctor,
  6170. data,
  6171. context,
  6172. children,
  6173. tag
  6174. ) {
  6175. if (isUndef(Ctor)) {
  6176. return
  6177. }
  6178. var baseCtor = context.$options._base;
  6179. // plain options object: turn it into a constructor
  6180. if (isObject(Ctor)) {
  6181. Ctor = baseCtor.extend(Ctor);
  6182. }
  6183. // if at this stage it's not a constructor or an async component factory,
  6184. // reject.
  6185. if (typeof Ctor !== 'function') {
  6186. if (true) {
  6187. warn(("Invalid Component definition: " + (String(Ctor))), context);
  6188. }
  6189. return
  6190. }
  6191. // async component
  6192. var asyncFactory;
  6193. if (isUndef(Ctor.cid)) {
  6194. asyncFactory = Ctor;
  6195. Ctor = resolveAsyncComponent(asyncFactory, baseCtor);
  6196. if (Ctor === undefined) {
  6197. // return a placeholder node for async component, which is rendered
  6198. // as a comment node but preserves all the raw information for the node.
  6199. // the information will be used for async server-rendering and hydration.
  6200. return createAsyncPlaceholder(
  6201. asyncFactory,
  6202. data,
  6203. context,
  6204. children,
  6205. tag
  6206. )
  6207. }
  6208. }
  6209. data = data || {};
  6210. // resolve constructor options in case global mixins are applied after
  6211. // component constructor creation
  6212. resolveConstructorOptions(Ctor);
  6213. // transform component v-model data into props & events
  6214. if (isDef(data.model)) {
  6215. transformModel(Ctor.options, data);
  6216. }
  6217. // extract props
  6218. var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx
  6219. // functional component
  6220. if (isTrue(Ctor.options.functional)) {
  6221. return createFunctionalComponent(Ctor, propsData, data, context, children)
  6222. }
  6223. // extract listeners, since these needs to be treated as
  6224. // child component listeners instead of DOM listeners
  6225. var listeners = data.on;
  6226. // replace with listeners with .native modifier
  6227. // so it gets processed during parent component patch.
  6228. data.on = data.nativeOn;
  6229. if (isTrue(Ctor.options.abstract)) {
  6230. // abstract components do not keep anything
  6231. // other than props & listeners & slot
  6232. // work around flow
  6233. var slot = data.slot;
  6234. data = {};
  6235. if (slot) {
  6236. data.slot = slot;
  6237. }
  6238. }
  6239. // install component management hooks onto the placeholder node
  6240. installComponentHooks(data);
  6241. // return a placeholder vnode
  6242. var name = Ctor.options.name || tag;
  6243. var vnode = new VNode(
  6244. ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
  6245. data, undefined, undefined, undefined, context,
  6246. { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
  6247. asyncFactory
  6248. );
  6249. return vnode
  6250. }
  6251. function createComponentInstanceForVnode (
  6252. vnode, // we know it's MountedComponentVNode but flow doesn't
  6253. parent // activeInstance in lifecycle state
  6254. ) {
  6255. var options = {
  6256. _isComponent: true,
  6257. _parentVnode: vnode,
  6258. parent: parent
  6259. };
  6260. // check inline-template render functions
  6261. var inlineTemplate = vnode.data.inlineTemplate;
  6262. if (isDef(inlineTemplate)) {
  6263. options.render = inlineTemplate.render;
  6264. options.staticRenderFns = inlineTemplate.staticRenderFns;
  6265. }
  6266. return new vnode.componentOptions.Ctor(options)
  6267. }
  6268. function installComponentHooks (data) {
  6269. var hooks = data.hook || (data.hook = {});
  6270. for (var i = 0; i < hooksToMerge.length; i++) {
  6271. var key = hooksToMerge[i];
  6272. var existing = hooks[key];
  6273. var toMerge = componentVNodeHooks[key];
  6274. if (existing !== toMerge && !(existing && existing._merged)) {
  6275. hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;
  6276. }
  6277. }
  6278. }
  6279. function mergeHook$1 (f1, f2) {
  6280. var merged = function (a, b) {
  6281. // flow complains about extra args which is why we use any
  6282. f1(a, b);
  6283. f2(a, b);
  6284. };
  6285. merged._merged = true;
  6286. return merged
  6287. }
  6288. // transform component v-model info (value and callback) into
  6289. // prop and event handler respectively.
  6290. function transformModel (options, data) {
  6291. var prop = (options.model && options.model.prop) || 'value';
  6292. var event = (options.model && options.model.event) || 'input'
  6293. ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;
  6294. var on = data.on || (data.on = {});
  6295. var existing = on[event];
  6296. var callback = data.model.callback;
  6297. if (isDef(existing)) {
  6298. if (
  6299. Array.isArray(existing)
  6300. ? existing.indexOf(callback) === -1
  6301. : existing !== callback
  6302. ) {
  6303. on[event] = [callback].concat(existing);
  6304. }
  6305. } else {
  6306. on[event] = callback;
  6307. }
  6308. }
  6309. /* */
  6310. var SIMPLE_NORMALIZE = 1;
  6311. var ALWAYS_NORMALIZE = 2;
  6312. // wrapper function for providing a more flexible interface
  6313. // without getting yelled at by flow
  6314. function createElement (
  6315. context,
  6316. tag,
  6317. data,
  6318. children,
  6319. normalizationType,
  6320. alwaysNormalize
  6321. ) {
  6322. if (Array.isArray(data) || isPrimitive(data)) {
  6323. normalizationType = children;
  6324. children = data;
  6325. data = undefined;
  6326. }
  6327. if (isTrue(alwaysNormalize)) {
  6328. normalizationType = ALWAYS_NORMALIZE;
  6329. }
  6330. return _createElement(context, tag, data, children, normalizationType)
  6331. }
  6332. function _createElement (
  6333. context,
  6334. tag,
  6335. data,
  6336. children,
  6337. normalizationType
  6338. ) {
  6339. if (isDef(data) && isDef((data).__ob__)) {
  6340. true && warn(
  6341. "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
  6342. 'Always create fresh vnode data objects in each render!',
  6343. context
  6344. );
  6345. return createEmptyVNode()
  6346. }
  6347. // object syntax in v-bind
  6348. if (isDef(data) && isDef(data.is)) {
  6349. tag = data.is;
  6350. }
  6351. if (!tag) {
  6352. // in case of component :is set to falsy value
  6353. return createEmptyVNode()
  6354. }
  6355. // warn against non-primitive key
  6356. if ( true &&
  6357. isDef(data) && isDef(data.key) && !isPrimitive(data.key)
  6358. ) {
  6359. {
  6360. warn(
  6361. 'Avoid using non-primitive value as key, ' +
  6362. 'use string/number value instead.',
  6363. context
  6364. );
  6365. }
  6366. }
  6367. // support single function children as default scoped slot
  6368. if (Array.isArray(children) &&
  6369. typeof children[0] === 'function'
  6370. ) {
  6371. data = data || {};
  6372. data.scopedSlots = { default: children[0] };
  6373. children.length = 0;
  6374. }
  6375. if (normalizationType === ALWAYS_NORMALIZE) {
  6376. children = normalizeChildren(children);
  6377. } else if (normalizationType === SIMPLE_NORMALIZE) {
  6378. children = simpleNormalizeChildren(children);
  6379. }
  6380. var vnode, ns;
  6381. if (typeof tag === 'string') {
  6382. var Ctor;
  6383. ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
  6384. if (config.isReservedTag(tag)) {
  6385. // platform built-in elements
  6386. if ( true && isDef(data) && isDef(data.nativeOn)) {
  6387. warn(
  6388. ("The .native modifier for v-on is only valid on components but it was used on <" + tag + ">."),
  6389. context
  6390. );
  6391. }
  6392. vnode = new VNode(
  6393. config.parsePlatformTagName(tag), data, children,
  6394. undefined, undefined, context
  6395. );
  6396. } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
  6397. // component
  6398. vnode = createComponent(Ctor, data, context, children, tag);
  6399. } else {
  6400. // unknown or unlisted namespaced elements
  6401. // check at runtime because it may get assigned a namespace when its
  6402. // parent normalizes children
  6403. vnode = new VNode(
  6404. tag, data, children,
  6405. undefined, undefined, context
  6406. );
  6407. }
  6408. } else {
  6409. // direct component options / constructor
  6410. vnode = createComponent(tag, data, context, children);
  6411. }
  6412. if (Array.isArray(vnode)) {
  6413. return vnode
  6414. } else if (isDef(vnode)) {
  6415. if (isDef(ns)) { applyNS(vnode, ns); }
  6416. if (isDef(data)) { registerDeepBindings(data); }
  6417. return vnode
  6418. } else {
  6419. return createEmptyVNode()
  6420. }
  6421. }
  6422. function applyNS (vnode, ns, force) {
  6423. vnode.ns = ns;
  6424. if (vnode.tag === 'foreignObject') {
  6425. // use default namespace inside foreignObject
  6426. ns = undefined;
  6427. force = true;
  6428. }
  6429. if (isDef(vnode.children)) {
  6430. for (var i = 0, l = vnode.children.length; i < l; i++) {
  6431. var child = vnode.children[i];
  6432. if (isDef(child.tag) && (
  6433. isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
  6434. applyNS(child, ns, force);
  6435. }
  6436. }
  6437. }
  6438. }
  6439. // ref #5318
  6440. // necessary to ensure parent re-render when deep bindings like :style and
  6441. // :class are used on slot nodes
  6442. function registerDeepBindings (data) {
  6443. if (isObject(data.style)) {
  6444. traverse(data.style);
  6445. }
  6446. if (isObject(data.class)) {
  6447. traverse(data.class);
  6448. }
  6449. }
  6450. /* */
  6451. function initRender (vm) {
  6452. vm._vnode = null; // the root of the child tree
  6453. vm._staticTrees = null; // v-once cached trees
  6454. var options = vm.$options;
  6455. var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
  6456. var renderContext = parentVnode && parentVnode.context;
  6457. vm.$slots = resolveSlots(options._renderChildren, renderContext);
  6458. vm.$scopedSlots = emptyObject;
  6459. // bind the createElement fn to this instance
  6460. // so that we get proper render context inside it.
  6461. // args order: tag, data, children, normalizationType, alwaysNormalize
  6462. // internal version is used by render functions compiled from templates
  6463. vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
  6464. // normalization is always applied for the public version, used in
  6465. // user-written render functions.
  6466. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
  6467. // $attrs & $listeners are exposed for easier HOC creation.
  6468. // they need to be reactive so that HOCs using them are always updated
  6469. var parentData = parentVnode && parentVnode.data;
  6470. /* istanbul ignore else */
  6471. if (true) {
  6472. defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
  6473. !isUpdatingChildComponent && warn("$attrs is readonly.", vm);
  6474. }, true);
  6475. defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {
  6476. !isUpdatingChildComponent && warn("$listeners is readonly.", vm);
  6477. }, true);
  6478. } else {}
  6479. }
  6480. var currentRenderingInstance = null;
  6481. function renderMixin (Vue) {
  6482. // install runtime convenience helpers
  6483. installRenderHelpers(Vue.prototype);
  6484. Vue.prototype.$nextTick = function (fn) {
  6485. return nextTick(fn, this)
  6486. };
  6487. Vue.prototype._render = function () {
  6488. var vm = this;
  6489. var ref = vm.$options;
  6490. var render = ref.render;
  6491. var _parentVnode = ref._parentVnode;
  6492. if (_parentVnode) {
  6493. vm.$scopedSlots = normalizeScopedSlots(
  6494. _parentVnode.data.scopedSlots,
  6495. vm.$slots,
  6496. vm.$scopedSlots
  6497. );
  6498. }
  6499. // set parent vnode. this allows render functions to have access
  6500. // to the data on the placeholder node.
  6501. vm.$vnode = _parentVnode;
  6502. // render self
  6503. var vnode;
  6504. try {
  6505. // There's no need to maintain a stack because all render fns are called
  6506. // separately from one another. Nested component's render fns are called
  6507. // when parent component is patched.
  6508. currentRenderingInstance = vm;
  6509. vnode = render.call(vm._renderProxy, vm.$createElement);
  6510. } catch (e) {
  6511. handleError(e, vm, "render");
  6512. // return error render result,
  6513. // or previous vnode to prevent render error causing blank component
  6514. /* istanbul ignore else */
  6515. if ( true && vm.$options.renderError) {
  6516. try {
  6517. vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
  6518. } catch (e) {
  6519. handleError(e, vm, "renderError");
  6520. vnode = vm._vnode;
  6521. }
  6522. } else {
  6523. vnode = vm._vnode;
  6524. }
  6525. } finally {
  6526. currentRenderingInstance = null;
  6527. }
  6528. // if the returned array contains only a single node, allow it
  6529. if (Array.isArray(vnode) && vnode.length === 1) {
  6530. vnode = vnode[0];
  6531. }
  6532. // return empty vnode in case the render function errored out
  6533. if (!(vnode instanceof VNode)) {
  6534. if ( true && Array.isArray(vnode)) {
  6535. warn(
  6536. 'Multiple root nodes returned from render function. Render function ' +
  6537. 'should return a single root node.',
  6538. vm
  6539. );
  6540. }
  6541. vnode = createEmptyVNode();
  6542. }
  6543. // set parent
  6544. vnode.parent = _parentVnode;
  6545. return vnode
  6546. };
  6547. }
  6548. /* */
  6549. function ensureCtor (comp, base) {
  6550. if (
  6551. comp.__esModule ||
  6552. (hasSymbol && comp[Symbol.toStringTag] === 'Module')
  6553. ) {
  6554. comp = comp.default;
  6555. }
  6556. return isObject(comp)
  6557. ? base.extend(comp)
  6558. : comp
  6559. }
  6560. function createAsyncPlaceholder (
  6561. factory,
  6562. data,
  6563. context,
  6564. children,
  6565. tag
  6566. ) {
  6567. var node = createEmptyVNode();
  6568. node.asyncFactory = factory;
  6569. node.asyncMeta = { data: data, context: context, children: children, tag: tag };
  6570. return node
  6571. }
  6572. function resolveAsyncComponent (
  6573. factory,
  6574. baseCtor
  6575. ) {
  6576. if (isTrue(factory.error) && isDef(factory.errorComp)) {
  6577. return factory.errorComp
  6578. }
  6579. if (isDef(factory.resolved)) {
  6580. return factory.resolved
  6581. }
  6582. var owner = currentRenderingInstance;
  6583. if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
  6584. // already pending
  6585. factory.owners.push(owner);
  6586. }
  6587. if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
  6588. return factory.loadingComp
  6589. }
  6590. if (owner && !isDef(factory.owners)) {
  6591. var owners = factory.owners = [owner];
  6592. var sync = true;
  6593. var timerLoading = null;
  6594. var timerTimeout = null
  6595. ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });
  6596. var forceRender = function (renderCompleted) {
  6597. for (var i = 0, l = owners.length; i < l; i++) {
  6598. (owners[i]).$forceUpdate();
  6599. }
  6600. if (renderCompleted) {
  6601. owners.length = 0;
  6602. if (timerLoading !== null) {
  6603. clearTimeout(timerLoading);
  6604. timerLoading = null;
  6605. }
  6606. if (timerTimeout !== null) {
  6607. clearTimeout(timerTimeout);
  6608. timerTimeout = null;
  6609. }
  6610. }
  6611. };
  6612. var resolve = once(function (res) {
  6613. // cache resolved
  6614. factory.resolved = ensureCtor(res, baseCtor);
  6615. // invoke callbacks only if this is not a synchronous resolve
  6616. // (async resolves are shimmed as synchronous during SSR)
  6617. if (!sync) {
  6618. forceRender(true);
  6619. } else {
  6620. owners.length = 0;
  6621. }
  6622. });
  6623. var reject = once(function (reason) {
  6624. true && warn(
  6625. "Failed to resolve async component: " + (String(factory)) +
  6626. (reason ? ("\nReason: " + reason) : '')
  6627. );
  6628. if (isDef(factory.errorComp)) {
  6629. factory.error = true;
  6630. forceRender(true);
  6631. }
  6632. });
  6633. var res = factory(resolve, reject);
  6634. if (isObject(res)) {
  6635. if (isPromise(res)) {
  6636. // () => Promise
  6637. if (isUndef(factory.resolved)) {
  6638. res.then(resolve, reject);
  6639. }
  6640. } else if (isPromise(res.component)) {
  6641. res.component.then(resolve, reject);
  6642. if (isDef(res.error)) {
  6643. factory.errorComp = ensureCtor(res.error, baseCtor);
  6644. }
  6645. if (isDef(res.loading)) {
  6646. factory.loadingComp = ensureCtor(res.loading, baseCtor);
  6647. if (res.delay === 0) {
  6648. factory.loading = true;
  6649. } else {
  6650. timerLoading = setTimeout(function () {
  6651. timerLoading = null;
  6652. if (isUndef(factory.resolved) && isUndef(factory.error)) {
  6653. factory.loading = true;
  6654. forceRender(false);
  6655. }
  6656. }, res.delay || 200);
  6657. }
  6658. }
  6659. if (isDef(res.timeout)) {
  6660. timerTimeout = setTimeout(function () {
  6661. timerTimeout = null;
  6662. if (isUndef(factory.resolved)) {
  6663. reject(
  6664. true
  6665. ? ("timeout (" + (res.timeout) + "ms)")
  6666. : undefined
  6667. );
  6668. }
  6669. }, res.timeout);
  6670. }
  6671. }
  6672. }
  6673. sync = false;
  6674. // return in case resolved synchronously
  6675. return factory.loading
  6676. ? factory.loadingComp
  6677. : factory.resolved
  6678. }
  6679. }
  6680. /* */
  6681. function isAsyncPlaceholder (node) {
  6682. return node.isComment && node.asyncFactory
  6683. }
  6684. /* */
  6685. function getFirstComponentChild (children) {
  6686. if (Array.isArray(children)) {
  6687. for (var i = 0; i < children.length; i++) {
  6688. var c = children[i];
  6689. if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
  6690. return c
  6691. }
  6692. }
  6693. }
  6694. }
  6695. /* */
  6696. /* */
  6697. function initEvents (vm) {
  6698. vm._events = Object.create(null);
  6699. vm._hasHookEvent = false;
  6700. // init parent attached events
  6701. var listeners = vm.$options._parentListeners;
  6702. if (listeners) {
  6703. updateComponentListeners(vm, listeners);
  6704. }
  6705. }
  6706. var target;
  6707. function add (event, fn) {
  6708. target.$on(event, fn);
  6709. }
  6710. function remove$1 (event, fn) {
  6711. target.$off(event, fn);
  6712. }
  6713. function createOnceHandler (event, fn) {
  6714. var _target = target;
  6715. return function onceHandler () {
  6716. var res = fn.apply(null, arguments);
  6717. if (res !== null) {
  6718. _target.$off(event, onceHandler);
  6719. }
  6720. }
  6721. }
  6722. function updateComponentListeners (
  6723. vm,
  6724. listeners,
  6725. oldListeners
  6726. ) {
  6727. target = vm;
  6728. updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);
  6729. target = undefined;
  6730. }
  6731. function eventsMixin (Vue) {
  6732. var hookRE = /^hook:/;
  6733. Vue.prototype.$on = function (event, fn) {
  6734. var vm = this;
  6735. if (Array.isArray(event)) {
  6736. for (var i = 0, l = event.length; i < l; i++) {
  6737. vm.$on(event[i], fn);
  6738. }
  6739. } else {
  6740. (vm._events[event] || (vm._events[event] = [])).push(fn);
  6741. // optimize hook:event cost by using a boolean flag marked at registration
  6742. // instead of a hash lookup
  6743. if (hookRE.test(event)) {
  6744. vm._hasHookEvent = true;
  6745. }
  6746. }
  6747. return vm
  6748. };
  6749. Vue.prototype.$once = function (event, fn) {
  6750. var vm = this;
  6751. function on () {
  6752. vm.$off(event, on);
  6753. fn.apply(vm, arguments);
  6754. }
  6755. on.fn = fn;
  6756. vm.$on(event, on);
  6757. return vm
  6758. };
  6759. Vue.prototype.$off = function (event, fn) {
  6760. var vm = this;
  6761. // all
  6762. if (!arguments.length) {
  6763. vm._events = Object.create(null);
  6764. return vm
  6765. }
  6766. // array of events
  6767. if (Array.isArray(event)) {
  6768. for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
  6769. vm.$off(event[i$1], fn);
  6770. }
  6771. return vm
  6772. }
  6773. // specific event
  6774. var cbs = vm._events[event];
  6775. if (!cbs) {
  6776. return vm
  6777. }
  6778. if (!fn) {
  6779. vm._events[event] = null;
  6780. return vm
  6781. }
  6782. // specific handler
  6783. var cb;
  6784. var i = cbs.length;
  6785. while (i--) {
  6786. cb = cbs[i];
  6787. if (cb === fn || cb.fn === fn) {
  6788. cbs.splice(i, 1);
  6789. break
  6790. }
  6791. }
  6792. return vm
  6793. };
  6794. Vue.prototype.$emit = function (event) {
  6795. var vm = this;
  6796. if (true) {
  6797. var lowerCaseEvent = event.toLowerCase();
  6798. if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
  6799. tip(
  6800. "Event \"" + lowerCaseEvent + "\" is emitted in component " +
  6801. (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
  6802. "Note that HTML attributes are case-insensitive and you cannot use " +
  6803. "v-on to listen to camelCase events when using in-DOM templates. " +
  6804. "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
  6805. );
  6806. }
  6807. }
  6808. var cbs = vm._events[event];
  6809. if (cbs) {
  6810. cbs = cbs.length > 1 ? toArray(cbs) : cbs;
  6811. var args = toArray(arguments, 1);
  6812. var info = "event handler for \"" + event + "\"";
  6813. for (var i = 0, l = cbs.length; i < l; i++) {
  6814. invokeWithErrorHandling(cbs[i], vm, args, vm, info);
  6815. }
  6816. }
  6817. return vm
  6818. };
  6819. }
  6820. /* */
  6821. var activeInstance = null;
  6822. var isUpdatingChildComponent = false;
  6823. function setActiveInstance(vm) {
  6824. var prevActiveInstance = activeInstance;
  6825. activeInstance = vm;
  6826. return function () {
  6827. activeInstance = prevActiveInstance;
  6828. }
  6829. }
  6830. function initLifecycle (vm) {
  6831. var options = vm.$options;
  6832. // locate first non-abstract parent
  6833. var parent = options.parent;
  6834. if (parent && !options.abstract) {
  6835. while (parent.$options.abstract && parent.$parent) {
  6836. parent = parent.$parent;
  6837. }
  6838. parent.$children.push(vm);
  6839. }
  6840. vm.$parent = parent;
  6841. vm.$root = parent ? parent.$root : vm;
  6842. vm.$children = [];
  6843. vm.$refs = {};
  6844. vm._watcher = null;
  6845. vm._inactive = null;
  6846. vm._directInactive = false;
  6847. vm._isMounted = false;
  6848. vm._isDestroyed = false;
  6849. vm._isBeingDestroyed = false;
  6850. }
  6851. function lifecycleMixin (Vue) {
  6852. Vue.prototype._update = function (vnode, hydrating) {
  6853. var vm = this;
  6854. var prevEl = vm.$el;
  6855. var prevVnode = vm._vnode;
  6856. var restoreActiveInstance = setActiveInstance(vm);
  6857. vm._vnode = vnode;
  6858. // Vue.prototype.__patch__ is injected in entry points
  6859. // based on the rendering backend used.
  6860. if (!prevVnode) {
  6861. // initial render
  6862. vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);
  6863. } else {
  6864. // updates
  6865. vm.$el = vm.__patch__(prevVnode, vnode);
  6866. }
  6867. restoreActiveInstance();
  6868. // update __vue__ reference
  6869. if (prevEl) {
  6870. prevEl.__vue__ = null;
  6871. }
  6872. if (vm.$el) {
  6873. vm.$el.__vue__ = vm;
  6874. }
  6875. // if parent is an HOC, update its $el as well
  6876. if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
  6877. vm.$parent.$el = vm.$el;
  6878. }
  6879. // updated hook is called by the scheduler to ensure that children are
  6880. // updated in a parent's updated hook.
  6881. };
  6882. Vue.prototype.$forceUpdate = function () {
  6883. var vm = this;
  6884. if (vm._watcher) {
  6885. vm._watcher.update();
  6886. }
  6887. };
  6888. Vue.prototype.$destroy = function () {
  6889. var vm = this;
  6890. if (vm._isBeingDestroyed) {
  6891. return
  6892. }
  6893. callHook(vm, 'beforeDestroy');
  6894. vm._isBeingDestroyed = true;
  6895. // remove self from parent
  6896. var parent = vm.$parent;
  6897. if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
  6898. remove(parent.$children, vm);
  6899. }
  6900. // teardown watchers
  6901. if (vm._watcher) {
  6902. vm._watcher.teardown();
  6903. }
  6904. var i = vm._watchers.length;
  6905. while (i--) {
  6906. vm._watchers[i].teardown();
  6907. }
  6908. // remove reference from data ob
  6909. // frozen object may not have observer.
  6910. if (vm._data.__ob__) {
  6911. vm._data.__ob__.vmCount--;
  6912. }
  6913. // call the last hook...
  6914. vm._isDestroyed = true;
  6915. // invoke destroy hooks on current rendered tree
  6916. vm.__patch__(vm._vnode, null);
  6917. // fire destroyed hook
  6918. callHook(vm, 'destroyed');
  6919. // turn off all instance listeners.
  6920. vm.$off();
  6921. // remove __vue__ reference
  6922. if (vm.$el) {
  6923. vm.$el.__vue__ = null;
  6924. }
  6925. // release circular reference (#6759)
  6926. if (vm.$vnode) {
  6927. vm.$vnode.parent = null;
  6928. }
  6929. };
  6930. }
  6931. function updateChildComponent (
  6932. vm,
  6933. propsData,
  6934. listeners,
  6935. parentVnode,
  6936. renderChildren
  6937. ) {
  6938. if (true) {
  6939. isUpdatingChildComponent = true;
  6940. }
  6941. // determine whether component has slot children
  6942. // we need to do this before overwriting $options._renderChildren.
  6943. // check if there are dynamic scopedSlots (hand-written or compiled but with
  6944. // dynamic slot names). Static scoped slots compiled from template has the
  6945. // "$stable" marker.
  6946. var newScopedSlots = parentVnode.data.scopedSlots;
  6947. var oldScopedSlots = vm.$scopedSlots;
  6948. var hasDynamicScopedSlot = !!(
  6949. (newScopedSlots && !newScopedSlots.$stable) ||
  6950. (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||
  6951. (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)
  6952. );
  6953. // Any static slot children from the parent may have changed during parent's
  6954. // update. Dynamic scoped slots may also have changed. In such cases, a forced
  6955. // update is necessary to ensure correctness.
  6956. var needsForceUpdate = !!(
  6957. renderChildren || // has new static slots
  6958. vm.$options._renderChildren || // has old static slots
  6959. hasDynamicScopedSlot
  6960. );
  6961. vm.$options._parentVnode = parentVnode;
  6962. vm.$vnode = parentVnode; // update vm's placeholder node without re-render
  6963. if (vm._vnode) { // update child tree's parent
  6964. vm._vnode.parent = parentVnode;
  6965. }
  6966. vm.$options._renderChildren = renderChildren;
  6967. // update $attrs and $listeners hash
  6968. // these are also reactive so they may trigger child update if the child
  6969. // used them during render
  6970. vm.$attrs = parentVnode.data.attrs || emptyObject;
  6971. vm.$listeners = listeners || emptyObject;
  6972. // update props
  6973. if (propsData && vm.$options.props) {
  6974. toggleObserving(false);
  6975. var props = vm._props;
  6976. var propKeys = vm.$options._propKeys || [];
  6977. for (var i = 0; i < propKeys.length; i++) {
  6978. var key = propKeys[i];
  6979. var propOptions = vm.$options.props; // wtf flow?
  6980. props[key] = validateProp(key, propOptions, propsData, vm);
  6981. }
  6982. toggleObserving(true);
  6983. // keep a copy of raw propsData
  6984. vm.$options.propsData = propsData;
  6985. }
  6986. // fixed by xxxxxx update properties(mp runtime)
  6987. vm._$updateProperties && vm._$updateProperties(vm);
  6988. // update listeners
  6989. listeners = listeners || emptyObject;
  6990. var oldListeners = vm.$options._parentListeners;
  6991. vm.$options._parentListeners = listeners;
  6992. updateComponentListeners(vm, listeners, oldListeners);
  6993. // resolve slots + force update if has children
  6994. if (needsForceUpdate) {
  6995. vm.$slots = resolveSlots(renderChildren, parentVnode.context);
  6996. vm.$forceUpdate();
  6997. }
  6998. if (true) {
  6999. isUpdatingChildComponent = false;
  7000. }
  7001. }
  7002. function isInInactiveTree (vm) {
  7003. while (vm && (vm = vm.$parent)) {
  7004. if (vm._inactive) { return true }
  7005. }
  7006. return false
  7007. }
  7008. function activateChildComponent (vm, direct) {
  7009. if (direct) {
  7010. vm._directInactive = false;
  7011. if (isInInactiveTree(vm)) {
  7012. return
  7013. }
  7014. } else if (vm._directInactive) {
  7015. return
  7016. }
  7017. if (vm._inactive || vm._inactive === null) {
  7018. vm._inactive = false;
  7019. for (var i = 0; i < vm.$children.length; i++) {
  7020. activateChildComponent(vm.$children[i]);
  7021. }
  7022. callHook(vm, 'activated');
  7023. }
  7024. }
  7025. function deactivateChildComponent (vm, direct) {
  7026. if (direct) {
  7027. vm._directInactive = true;
  7028. if (isInInactiveTree(vm)) {
  7029. return
  7030. }
  7031. }
  7032. if (!vm._inactive) {
  7033. vm._inactive = true;
  7034. for (var i = 0; i < vm.$children.length; i++) {
  7035. deactivateChildComponent(vm.$children[i]);
  7036. }
  7037. callHook(vm, 'deactivated');
  7038. }
  7039. }
  7040. function callHook (vm, hook) {
  7041. // #7573 disable dep collection when invoking lifecycle hooks
  7042. pushTarget();
  7043. var handlers = vm.$options[hook];
  7044. var info = hook + " hook";
  7045. if (handlers) {
  7046. for (var i = 0, j = handlers.length; i < j; i++) {
  7047. invokeWithErrorHandling(handlers[i], vm, null, vm, info);
  7048. }
  7049. }
  7050. if (vm._hasHookEvent) {
  7051. vm.$emit('hook:' + hook);
  7052. }
  7053. popTarget();
  7054. }
  7055. /* */
  7056. var MAX_UPDATE_COUNT = 100;
  7057. var queue = [];
  7058. var activatedChildren = [];
  7059. var has = {};
  7060. var circular = {};
  7061. var waiting = false;
  7062. var flushing = false;
  7063. var index = 0;
  7064. /**
  7065. * Reset the scheduler's state.
  7066. */
  7067. function resetSchedulerState () {
  7068. index = queue.length = activatedChildren.length = 0;
  7069. has = {};
  7070. if (true) {
  7071. circular = {};
  7072. }
  7073. waiting = flushing = false;
  7074. }
  7075. // Async edge case #6566 requires saving the timestamp when event listeners are
  7076. // attached. However, calling performance.now() has a perf overhead especially
  7077. // if the page has thousands of event listeners. Instead, we take a timestamp
  7078. // every time the scheduler flushes and use that for all event listeners
  7079. // attached during that flush.
  7080. var currentFlushTimestamp = 0;
  7081. // Async edge case fix requires storing an event listener's attach timestamp.
  7082. var getNow = Date.now;
  7083. // Determine what event timestamp the browser is using. Annoyingly, the
  7084. // timestamp can either be hi-res (relative to page load) or low-res
  7085. // (relative to UNIX epoch), so in order to compare time we have to use the
  7086. // same timestamp type when saving the flush timestamp.
  7087. // All IE versions use low-res event timestamps, and have problematic clock
  7088. // implementations (#9632)
  7089. if (inBrowser && !isIE) {
  7090. var performance = window.performance;
  7091. if (
  7092. performance &&
  7093. typeof performance.now === 'function' &&
  7094. getNow() > document.createEvent('Event').timeStamp
  7095. ) {
  7096. // if the event timestamp, although evaluated AFTER the Date.now(), is
  7097. // smaller than it, it means the event is using a hi-res timestamp,
  7098. // and we need to use the hi-res version for event listener timestamps as
  7099. // well.
  7100. getNow = function () { return performance.now(); };
  7101. }
  7102. }
  7103. /**
  7104. * Flush both queues and run the watchers.
  7105. */
  7106. function flushSchedulerQueue () {
  7107. currentFlushTimestamp = getNow();
  7108. flushing = true;
  7109. var watcher, id;
  7110. // Sort queue before flush.
  7111. // This ensures that:
  7112. // 1. Components are updated from parent to child. (because parent is always
  7113. // created before the child)
  7114. // 2. A component's user watchers are run before its render watcher (because
  7115. // user watchers are created before the render watcher)
  7116. // 3. If a component is destroyed during a parent component's watcher run,
  7117. // its watchers can be skipped.
  7118. queue.sort(function (a, b) { return a.id - b.id; });
  7119. // do not cache length because more watchers might be pushed
  7120. // as we run existing watchers
  7121. for (index = 0; index < queue.length; index++) {
  7122. watcher = queue[index];
  7123. if (watcher.before) {
  7124. watcher.before();
  7125. }
  7126. id = watcher.id;
  7127. has[id] = null;
  7128. watcher.run();
  7129. // in dev build, check and stop circular updates.
  7130. if ( true && has[id] != null) {
  7131. circular[id] = (circular[id] || 0) + 1;
  7132. if (circular[id] > MAX_UPDATE_COUNT) {
  7133. warn(
  7134. 'You may have an infinite update loop ' + (
  7135. watcher.user
  7136. ? ("in watcher with expression \"" + (watcher.expression) + "\"")
  7137. : "in a component render function."
  7138. ),
  7139. watcher.vm
  7140. );
  7141. break
  7142. }
  7143. }
  7144. }
  7145. // keep copies of post queues before resetting state
  7146. var activatedQueue = activatedChildren.slice();
  7147. var updatedQueue = queue.slice();
  7148. resetSchedulerState();
  7149. // call component updated and activated hooks
  7150. callActivatedHooks(activatedQueue);
  7151. callUpdatedHooks(updatedQueue);
  7152. // devtool hook
  7153. /* istanbul ignore if */
  7154. if (devtools && config.devtools) {
  7155. devtools.emit('flush');
  7156. }
  7157. }
  7158. function callUpdatedHooks (queue) {
  7159. var i = queue.length;
  7160. while (i--) {
  7161. var watcher = queue[i];
  7162. var vm = watcher.vm;
  7163. if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {
  7164. callHook(vm, 'updated');
  7165. }
  7166. }
  7167. }
  7168. /**
  7169. * Queue a kept-alive component that was activated during patch.
  7170. * The queue will be processed after the entire tree has been patched.
  7171. */
  7172. function queueActivatedComponent (vm) {
  7173. // setting _inactive to false here so that a render function can
  7174. // rely on checking whether it's in an inactive tree (e.g. router-view)
  7175. vm._inactive = false;
  7176. activatedChildren.push(vm);
  7177. }
  7178. function callActivatedHooks (queue) {
  7179. for (var i = 0; i < queue.length; i++) {
  7180. queue[i]._inactive = true;
  7181. activateChildComponent(queue[i], true /* true */);
  7182. }
  7183. }
  7184. /**
  7185. * Push a watcher into the watcher queue.
  7186. * Jobs with duplicate IDs will be skipped unless it's
  7187. * pushed when the queue is being flushed.
  7188. */
  7189. function queueWatcher (watcher) {
  7190. var id = watcher.id;
  7191. if (has[id] == null) {
  7192. has[id] = true;
  7193. if (!flushing) {
  7194. queue.push(watcher);
  7195. } else {
  7196. // if already flushing, splice the watcher based on its id
  7197. // if already past its id, it will be run next immediately.
  7198. var i = queue.length - 1;
  7199. while (i > index && queue[i].id > watcher.id) {
  7200. i--;
  7201. }
  7202. queue.splice(i + 1, 0, watcher);
  7203. }
  7204. // queue the flush
  7205. if (!waiting) {
  7206. waiting = true;
  7207. if ( true && !config.async) {
  7208. flushSchedulerQueue();
  7209. return
  7210. }
  7211. nextTick(flushSchedulerQueue);
  7212. }
  7213. }
  7214. }
  7215. /* */
  7216. var uid$2 = 0;
  7217. /**
  7218. * A watcher parses an expression, collects dependencies,
  7219. * and fires callback when the expression value changes.
  7220. * This is used for both the $watch() api and directives.
  7221. */
  7222. var Watcher = function Watcher (
  7223. vm,
  7224. expOrFn,
  7225. cb,
  7226. options,
  7227. isRenderWatcher
  7228. ) {
  7229. this.vm = vm;
  7230. if (isRenderWatcher) {
  7231. vm._watcher = this;
  7232. }
  7233. vm._watchers.push(this);
  7234. // options
  7235. if (options) {
  7236. this.deep = !!options.deep;
  7237. this.user = !!options.user;
  7238. this.lazy = !!options.lazy;
  7239. this.sync = !!options.sync;
  7240. this.before = options.before;
  7241. } else {
  7242. this.deep = this.user = this.lazy = this.sync = false;
  7243. }
  7244. this.cb = cb;
  7245. this.id = ++uid$2; // uid for batching
  7246. this.active = true;
  7247. this.dirty = this.lazy; // for lazy watchers
  7248. this.deps = [];
  7249. this.newDeps = [];
  7250. this.depIds = new _Set();
  7251. this.newDepIds = new _Set();
  7252. this.expression = true
  7253. ? expOrFn.toString()
  7254. : undefined;
  7255. // parse expression for getter
  7256. if (typeof expOrFn === 'function') {
  7257. this.getter = expOrFn;
  7258. } else {
  7259. this.getter = parsePath(expOrFn);
  7260. if (!this.getter) {
  7261. this.getter = noop;
  7262. true && warn(
  7263. "Failed watching path: \"" + expOrFn + "\" " +
  7264. 'Watcher only accepts simple dot-delimited paths. ' +
  7265. 'For full control, use a function instead.',
  7266. vm
  7267. );
  7268. }
  7269. }
  7270. this.value = this.lazy
  7271. ? undefined
  7272. : this.get();
  7273. };
  7274. /**
  7275. * Evaluate the getter, and re-collect dependencies.
  7276. */
  7277. Watcher.prototype.get = function get () {
  7278. pushTarget(this);
  7279. var value;
  7280. var vm = this.vm;
  7281. try {
  7282. value = this.getter.call(vm, vm);
  7283. } catch (e) {
  7284. if (this.user) {
  7285. handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
  7286. } else {
  7287. throw e
  7288. }
  7289. } finally {
  7290. // "touch" every property so they are all tracked as
  7291. // dependencies for deep watching
  7292. if (this.deep) {
  7293. traverse(value);
  7294. }
  7295. popTarget();
  7296. this.cleanupDeps();
  7297. }
  7298. return value
  7299. };
  7300. /**
  7301. * Add a dependency to this directive.
  7302. */
  7303. Watcher.prototype.addDep = function addDep (dep) {
  7304. var id = dep.id;
  7305. if (!this.newDepIds.has(id)) {
  7306. this.newDepIds.add(id);
  7307. this.newDeps.push(dep);
  7308. if (!this.depIds.has(id)) {
  7309. dep.addSub(this);
  7310. }
  7311. }
  7312. };
  7313. /**
  7314. * Clean up for dependency collection.
  7315. */
  7316. Watcher.prototype.cleanupDeps = function cleanupDeps () {
  7317. var i = this.deps.length;
  7318. while (i--) {
  7319. var dep = this.deps[i];
  7320. if (!this.newDepIds.has(dep.id)) {
  7321. dep.removeSub(this);
  7322. }
  7323. }
  7324. var tmp = this.depIds;
  7325. this.depIds = this.newDepIds;
  7326. this.newDepIds = tmp;
  7327. this.newDepIds.clear();
  7328. tmp = this.deps;
  7329. this.deps = this.newDeps;
  7330. this.newDeps = tmp;
  7331. this.newDeps.length = 0;
  7332. };
  7333. /**
  7334. * Subscriber interface.
  7335. * Will be called when a dependency changes.
  7336. */
  7337. Watcher.prototype.update = function update () {
  7338. /* istanbul ignore else */
  7339. if (this.lazy) {
  7340. this.dirty = true;
  7341. } else if (this.sync) {
  7342. this.run();
  7343. } else {
  7344. queueWatcher(this);
  7345. }
  7346. };
  7347. /**
  7348. * Scheduler job interface.
  7349. * Will be called by the scheduler.
  7350. */
  7351. Watcher.prototype.run = function run () {
  7352. if (this.active) {
  7353. var value = this.get();
  7354. if (
  7355. value !== this.value ||
  7356. // Deep watchers and watchers on Object/Arrays should fire even
  7357. // when the value is the same, because the value may
  7358. // have mutated.
  7359. isObject(value) ||
  7360. this.deep
  7361. ) {
  7362. // set new value
  7363. var oldValue = this.value;
  7364. this.value = value;
  7365. if (this.user) {
  7366. try {
  7367. this.cb.call(this.vm, value, oldValue);
  7368. } catch (e) {
  7369. handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
  7370. }
  7371. } else {
  7372. this.cb.call(this.vm, value, oldValue);
  7373. }
  7374. }
  7375. }
  7376. };
  7377. /**
  7378. * Evaluate the value of the watcher.
  7379. * This only gets called for lazy watchers.
  7380. */
  7381. Watcher.prototype.evaluate = function evaluate () {
  7382. this.value = this.get();
  7383. this.dirty = false;
  7384. };
  7385. /**
  7386. * Depend on all deps collected by this watcher.
  7387. */
  7388. Watcher.prototype.depend = function depend () {
  7389. var i = this.deps.length;
  7390. while (i--) {
  7391. this.deps[i].depend();
  7392. }
  7393. };
  7394. /**
  7395. * Remove self from all dependencies' subscriber list.
  7396. */
  7397. Watcher.prototype.teardown = function teardown () {
  7398. if (this.active) {
  7399. // remove self from vm's watcher list
  7400. // this is a somewhat expensive operation so we skip it
  7401. // if the vm is being destroyed.
  7402. if (!this.vm._isBeingDestroyed) {
  7403. remove(this.vm._watchers, this);
  7404. }
  7405. var i = this.deps.length;
  7406. while (i--) {
  7407. this.deps[i].removeSub(this);
  7408. }
  7409. this.active = false;
  7410. }
  7411. };
  7412. /* */
  7413. var sharedPropertyDefinition = {
  7414. enumerable: true,
  7415. configurable: true,
  7416. get: noop,
  7417. set: noop
  7418. };
  7419. function proxy (target, sourceKey, key) {
  7420. sharedPropertyDefinition.get = function proxyGetter () {
  7421. return this[sourceKey][key]
  7422. };
  7423. sharedPropertyDefinition.set = function proxySetter (val) {
  7424. this[sourceKey][key] = val;
  7425. };
  7426. Object.defineProperty(target, key, sharedPropertyDefinition);
  7427. }
  7428. function initState (vm) {
  7429. vm._watchers = [];
  7430. var opts = vm.$options;
  7431. if (opts.props) { initProps(vm, opts.props); }
  7432. if (opts.methods) { initMethods(vm, opts.methods); }
  7433. if (opts.data) {
  7434. initData(vm);
  7435. } else {
  7436. observe(vm._data = {}, true /* asRootData */);
  7437. }
  7438. if (opts.computed) { initComputed(vm, opts.computed); }
  7439. if (opts.watch && opts.watch !== nativeWatch) {
  7440. initWatch(vm, opts.watch);
  7441. }
  7442. }
  7443. function initProps (vm, propsOptions) {
  7444. var propsData = vm.$options.propsData || {};
  7445. var props = vm._props = {};
  7446. // cache prop keys so that future props updates can iterate using Array
  7447. // instead of dynamic object key enumeration.
  7448. var keys = vm.$options._propKeys = [];
  7449. var isRoot = !vm.$parent;
  7450. // root instance props should be converted
  7451. if (!isRoot) {
  7452. toggleObserving(false);
  7453. }
  7454. var loop = function ( key ) {
  7455. keys.push(key);
  7456. var value = validateProp(key, propsOptions, propsData, vm);
  7457. /* istanbul ignore else */
  7458. if (true) {
  7459. var hyphenatedKey = hyphenate(key);
  7460. if (isReservedAttribute(hyphenatedKey) ||
  7461. config.isReservedAttr(hyphenatedKey)) {
  7462. warn(
  7463. ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
  7464. vm
  7465. );
  7466. }
  7467. defineReactive$$1(props, key, value, function () {
  7468. if (!isRoot && !isUpdatingChildComponent) {
  7469. {
  7470. if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou' || vm.mpHost === 'mp-xhs'){//百度、快手、小红书 observer 在 setData callback 之后触发,直接忽略该 warn
  7471. return
  7472. }
  7473. //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警
  7474. if(
  7475. key === 'value' &&
  7476. Array.isArray(vm.$options.behaviors) &&
  7477. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  7478. ){
  7479. return
  7480. }
  7481. if(vm._getFormData){
  7482. return
  7483. }
  7484. var $parent = vm.$parent;
  7485. while($parent){
  7486. if($parent.__next_tick_pending){
  7487. return
  7488. }
  7489. $parent = $parent.$parent;
  7490. }
  7491. }
  7492. warn(
  7493. "Avoid mutating a prop directly since the value will be " +
  7494. "overwritten whenever the parent component re-renders. " +
  7495. "Instead, use a data or computed property based on the prop's " +
  7496. "value. Prop being mutated: \"" + key + "\"",
  7497. vm
  7498. );
  7499. }
  7500. });
  7501. } else {}
  7502. // static props are already proxied on the component's prototype
  7503. // during Vue.extend(). We only need to proxy props defined at
  7504. // instantiation here.
  7505. if (!(key in vm)) {
  7506. proxy(vm, "_props", key);
  7507. }
  7508. };
  7509. for (var key in propsOptions) loop( key );
  7510. toggleObserving(true);
  7511. }
  7512. function initData (vm) {
  7513. var data = vm.$options.data;
  7514. data = vm._data = typeof data === 'function'
  7515. ? getData(data, vm)
  7516. : data || {};
  7517. if (!isPlainObject(data)) {
  7518. data = {};
  7519. true && warn(
  7520. 'data functions should return an object:\n' +
  7521. 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
  7522. vm
  7523. );
  7524. }
  7525. // proxy data on instance
  7526. var keys = Object.keys(data);
  7527. var props = vm.$options.props;
  7528. var methods = vm.$options.methods;
  7529. var i = keys.length;
  7530. while (i--) {
  7531. var key = keys[i];
  7532. if (true) {
  7533. if (methods && hasOwn(methods, key)) {
  7534. warn(
  7535. ("Method \"" + key + "\" has already been defined as a data property."),
  7536. vm
  7537. );
  7538. }
  7539. }
  7540. if (props && hasOwn(props, key)) {
  7541. true && warn(
  7542. "The data property \"" + key + "\" is already declared as a prop. " +
  7543. "Use prop default value instead.",
  7544. vm
  7545. );
  7546. } else if (!isReserved(key)) {
  7547. proxy(vm, "_data", key);
  7548. }
  7549. }
  7550. // observe data
  7551. observe(data, true /* asRootData */);
  7552. }
  7553. function getData (data, vm) {
  7554. // #7573 disable dep collection when invoking data getters
  7555. pushTarget();
  7556. try {
  7557. return data.call(vm, vm)
  7558. } catch (e) {
  7559. handleError(e, vm, "data()");
  7560. return {}
  7561. } finally {
  7562. popTarget();
  7563. }
  7564. }
  7565. var computedWatcherOptions = { lazy: true };
  7566. function initComputed (vm, computed) {
  7567. // $flow-disable-line
  7568. var watchers = vm._computedWatchers = Object.create(null);
  7569. // computed properties are just getters during SSR
  7570. var isSSR = isServerRendering();
  7571. for (var key in computed) {
  7572. var userDef = computed[key];
  7573. var getter = typeof userDef === 'function' ? userDef : userDef.get;
  7574. if ( true && getter == null) {
  7575. warn(
  7576. ("Getter is missing for computed property \"" + key + "\"."),
  7577. vm
  7578. );
  7579. }
  7580. if (!isSSR) {
  7581. // create internal watcher for the computed property.
  7582. watchers[key] = new Watcher(
  7583. vm,
  7584. getter || noop,
  7585. noop,
  7586. computedWatcherOptions
  7587. );
  7588. }
  7589. // component-defined computed properties are already defined on the
  7590. // component prototype. We only need to define computed properties defined
  7591. // at instantiation here.
  7592. if (!(key in vm)) {
  7593. defineComputed(vm, key, userDef);
  7594. } else if (true) {
  7595. if (key in vm.$data) {
  7596. warn(("The computed property \"" + key + "\" is already defined in data."), vm);
  7597. } else if (vm.$options.props && key in vm.$options.props) {
  7598. warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
  7599. }
  7600. }
  7601. }
  7602. }
  7603. function defineComputed (
  7604. target,
  7605. key,
  7606. userDef
  7607. ) {
  7608. var shouldCache = !isServerRendering();
  7609. if (typeof userDef === 'function') {
  7610. sharedPropertyDefinition.get = shouldCache
  7611. ? createComputedGetter(key)
  7612. : createGetterInvoker(userDef);
  7613. sharedPropertyDefinition.set = noop;
  7614. } else {
  7615. sharedPropertyDefinition.get = userDef.get
  7616. ? shouldCache && userDef.cache !== false
  7617. ? createComputedGetter(key)
  7618. : createGetterInvoker(userDef.get)
  7619. : noop;
  7620. sharedPropertyDefinition.set = userDef.set || noop;
  7621. }
  7622. if ( true &&
  7623. sharedPropertyDefinition.set === noop) {
  7624. sharedPropertyDefinition.set = function () {
  7625. warn(
  7626. ("Computed property \"" + key + "\" was assigned to but it has no setter."),
  7627. this
  7628. );
  7629. };
  7630. }
  7631. Object.defineProperty(target, key, sharedPropertyDefinition);
  7632. }
  7633. function createComputedGetter (key) {
  7634. return function computedGetter () {
  7635. var watcher = this._computedWatchers && this._computedWatchers[key];
  7636. if (watcher) {
  7637. if (watcher.dirty) {
  7638. watcher.evaluate();
  7639. }
  7640. if (Dep.SharedObject.target) {// fixed by xxxxxx
  7641. watcher.depend();
  7642. }
  7643. return watcher.value
  7644. }
  7645. }
  7646. }
  7647. function createGetterInvoker(fn) {
  7648. return function computedGetter () {
  7649. return fn.call(this, this)
  7650. }
  7651. }
  7652. function initMethods (vm, methods) {
  7653. var props = vm.$options.props;
  7654. for (var key in methods) {
  7655. if (true) {
  7656. if (typeof methods[key] !== 'function') {
  7657. warn(
  7658. "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " +
  7659. "Did you reference the function correctly?",
  7660. vm
  7661. );
  7662. }
  7663. if (props && hasOwn(props, key)) {
  7664. warn(
  7665. ("Method \"" + key + "\" has already been defined as a prop."),
  7666. vm
  7667. );
  7668. }
  7669. if ((key in vm) && isReserved(key)) {
  7670. warn(
  7671. "Method \"" + key + "\" conflicts with an existing Vue instance method. " +
  7672. "Avoid defining component methods that start with _ or $."
  7673. );
  7674. }
  7675. }
  7676. vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);
  7677. }
  7678. }
  7679. function initWatch (vm, watch) {
  7680. for (var key in watch) {
  7681. var handler = watch[key];
  7682. if (Array.isArray(handler)) {
  7683. for (var i = 0; i < handler.length; i++) {
  7684. createWatcher(vm, key, handler[i]);
  7685. }
  7686. } else {
  7687. createWatcher(vm, key, handler);
  7688. }
  7689. }
  7690. }
  7691. function createWatcher (
  7692. vm,
  7693. expOrFn,
  7694. handler,
  7695. options
  7696. ) {
  7697. if (isPlainObject(handler)) {
  7698. options = handler;
  7699. handler = handler.handler;
  7700. }
  7701. if (typeof handler === 'string') {
  7702. handler = vm[handler];
  7703. }
  7704. return vm.$watch(expOrFn, handler, options)
  7705. }
  7706. function stateMixin (Vue) {
  7707. // flow somehow has problems with directly declared definition object
  7708. // when using Object.defineProperty, so we have to procedurally build up
  7709. // the object here.
  7710. var dataDef = {};
  7711. dataDef.get = function () { return this._data };
  7712. var propsDef = {};
  7713. propsDef.get = function () { return this._props };
  7714. if (true) {
  7715. dataDef.set = function () {
  7716. warn(
  7717. 'Avoid replacing instance root $data. ' +
  7718. 'Use nested data properties instead.',
  7719. this
  7720. );
  7721. };
  7722. propsDef.set = function () {
  7723. warn("$props is readonly.", this);
  7724. };
  7725. }
  7726. Object.defineProperty(Vue.prototype, '$data', dataDef);
  7727. Object.defineProperty(Vue.prototype, '$props', propsDef);
  7728. Vue.prototype.$set = set;
  7729. Vue.prototype.$delete = del;
  7730. Vue.prototype.$watch = function (
  7731. expOrFn,
  7732. cb,
  7733. options
  7734. ) {
  7735. var vm = this;
  7736. if (isPlainObject(cb)) {
  7737. return createWatcher(vm, expOrFn, cb, options)
  7738. }
  7739. options = options || {};
  7740. options.user = true;
  7741. var watcher = new Watcher(vm, expOrFn, cb, options);
  7742. if (options.immediate) {
  7743. try {
  7744. cb.call(vm, watcher.value);
  7745. } catch (error) {
  7746. handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\""));
  7747. }
  7748. }
  7749. return function unwatchFn () {
  7750. watcher.teardown();
  7751. }
  7752. };
  7753. }
  7754. /* */
  7755. var uid$3 = 0;
  7756. function initMixin (Vue) {
  7757. Vue.prototype._init = function (options) {
  7758. var vm = this;
  7759. // a uid
  7760. vm._uid = uid$3++;
  7761. var startTag, endTag;
  7762. /* istanbul ignore if */
  7763. if ( true && config.performance && mark) {
  7764. startTag = "vue-perf-start:" + (vm._uid);
  7765. endTag = "vue-perf-end:" + (vm._uid);
  7766. mark(startTag);
  7767. }
  7768. // a flag to avoid this being observed
  7769. vm._isVue = true;
  7770. // merge options
  7771. if (options && options._isComponent) {
  7772. // optimize internal component instantiation
  7773. // since dynamic options merging is pretty slow, and none of the
  7774. // internal component options needs special treatment.
  7775. initInternalComponent(vm, options);
  7776. } else {
  7777. vm.$options = mergeOptions(
  7778. resolveConstructorOptions(vm.constructor),
  7779. options || {},
  7780. vm
  7781. );
  7782. }
  7783. /* istanbul ignore else */
  7784. if (true) {
  7785. initProxy(vm);
  7786. } else {}
  7787. // expose real self
  7788. vm._self = vm;
  7789. initLifecycle(vm);
  7790. initEvents(vm);
  7791. initRender(vm);
  7792. callHook(vm, 'beforeCreate');
  7793. !vm._$fallback && initInjections(vm); // resolve injections before data/props
  7794. initState(vm);
  7795. !vm._$fallback && initProvide(vm); // resolve provide after data/props
  7796. !vm._$fallback && callHook(vm, 'created');
  7797. /* istanbul ignore if */
  7798. if ( true && config.performance && mark) {
  7799. vm._name = formatComponentName(vm, false);
  7800. mark(endTag);
  7801. measure(("vue " + (vm._name) + " init"), startTag, endTag);
  7802. }
  7803. if (vm.$options.el) {
  7804. vm.$mount(vm.$options.el);
  7805. }
  7806. };
  7807. }
  7808. function initInternalComponent (vm, options) {
  7809. var opts = vm.$options = Object.create(vm.constructor.options);
  7810. // doing this because it's faster than dynamic enumeration.
  7811. var parentVnode = options._parentVnode;
  7812. opts.parent = options.parent;
  7813. opts._parentVnode = parentVnode;
  7814. var vnodeComponentOptions = parentVnode.componentOptions;
  7815. opts.propsData = vnodeComponentOptions.propsData;
  7816. opts._parentListeners = vnodeComponentOptions.listeners;
  7817. opts._renderChildren = vnodeComponentOptions.children;
  7818. opts._componentTag = vnodeComponentOptions.tag;
  7819. if (options.render) {
  7820. opts.render = options.render;
  7821. opts.staticRenderFns = options.staticRenderFns;
  7822. }
  7823. }
  7824. function resolveConstructorOptions (Ctor) {
  7825. var options = Ctor.options;
  7826. if (Ctor.super) {
  7827. var superOptions = resolveConstructorOptions(Ctor.super);
  7828. var cachedSuperOptions = Ctor.superOptions;
  7829. if (superOptions !== cachedSuperOptions) {
  7830. // super option changed,
  7831. // need to resolve new options.
  7832. Ctor.superOptions = superOptions;
  7833. // check if there are any late-modified/attached options (#4976)
  7834. var modifiedOptions = resolveModifiedOptions(Ctor);
  7835. // update base extend options
  7836. if (modifiedOptions) {
  7837. extend(Ctor.extendOptions, modifiedOptions);
  7838. }
  7839. options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
  7840. if (options.name) {
  7841. options.components[options.name] = Ctor;
  7842. }
  7843. }
  7844. }
  7845. return options
  7846. }
  7847. function resolveModifiedOptions (Ctor) {
  7848. var modified;
  7849. var latest = Ctor.options;
  7850. var sealed = Ctor.sealedOptions;
  7851. for (var key in latest) {
  7852. if (latest[key] !== sealed[key]) {
  7853. if (!modified) { modified = {}; }
  7854. modified[key] = latest[key];
  7855. }
  7856. }
  7857. return modified
  7858. }
  7859. function Vue (options) {
  7860. if ( true &&
  7861. !(this instanceof Vue)
  7862. ) {
  7863. warn('Vue is a constructor and should be called with the `new` keyword');
  7864. }
  7865. this._init(options);
  7866. }
  7867. initMixin(Vue);
  7868. stateMixin(Vue);
  7869. eventsMixin(Vue);
  7870. lifecycleMixin(Vue);
  7871. renderMixin(Vue);
  7872. /* */
  7873. function initUse (Vue) {
  7874. Vue.use = function (plugin) {
  7875. var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
  7876. if (installedPlugins.indexOf(plugin) > -1) {
  7877. return this
  7878. }
  7879. // additional parameters
  7880. var args = toArray(arguments, 1);
  7881. args.unshift(this);
  7882. if (typeof plugin.install === 'function') {
  7883. plugin.install.apply(plugin, args);
  7884. } else if (typeof plugin === 'function') {
  7885. plugin.apply(null, args);
  7886. }
  7887. installedPlugins.push(plugin);
  7888. return this
  7889. };
  7890. }
  7891. /* */
  7892. function initMixin$1 (Vue) {
  7893. Vue.mixin = function (mixin) {
  7894. this.options = mergeOptions(this.options, mixin);
  7895. return this
  7896. };
  7897. }
  7898. /* */
  7899. function initExtend (Vue) {
  7900. /**
  7901. * Each instance constructor, including Vue, has a unique
  7902. * cid. This enables us to create wrapped "child
  7903. * constructors" for prototypal inheritance and cache them.
  7904. */
  7905. Vue.cid = 0;
  7906. var cid = 1;
  7907. /**
  7908. * Class inheritance
  7909. */
  7910. Vue.extend = function (extendOptions) {
  7911. extendOptions = extendOptions || {};
  7912. var Super = this;
  7913. var SuperId = Super.cid;
  7914. var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
  7915. if (cachedCtors[SuperId]) {
  7916. return cachedCtors[SuperId]
  7917. }
  7918. var name = extendOptions.name || Super.options.name;
  7919. if ( true && name) {
  7920. validateComponentName(name);
  7921. }
  7922. var Sub = function VueComponent (options) {
  7923. this._init(options);
  7924. };
  7925. Sub.prototype = Object.create(Super.prototype);
  7926. Sub.prototype.constructor = Sub;
  7927. Sub.cid = cid++;
  7928. Sub.options = mergeOptions(
  7929. Super.options,
  7930. extendOptions
  7931. );
  7932. Sub['super'] = Super;
  7933. // For props and computed properties, we define the proxy getters on
  7934. // the Vue instances at extension time, on the extended prototype. This
  7935. // avoids Object.defineProperty calls for each instance created.
  7936. if (Sub.options.props) {
  7937. initProps$1(Sub);
  7938. }
  7939. if (Sub.options.computed) {
  7940. initComputed$1(Sub);
  7941. }
  7942. // allow further extension/mixin/plugin usage
  7943. Sub.extend = Super.extend;
  7944. Sub.mixin = Super.mixin;
  7945. Sub.use = Super.use;
  7946. // create asset registers, so extended classes
  7947. // can have their private assets too.
  7948. ASSET_TYPES.forEach(function (type) {
  7949. Sub[type] = Super[type];
  7950. });
  7951. // enable recursive self-lookup
  7952. if (name) {
  7953. Sub.options.components[name] = Sub;
  7954. }
  7955. // keep a reference to the super options at extension time.
  7956. // later at instantiation we can check if Super's options have
  7957. // been updated.
  7958. Sub.superOptions = Super.options;
  7959. Sub.extendOptions = extendOptions;
  7960. Sub.sealedOptions = extend({}, Sub.options);
  7961. // cache constructor
  7962. cachedCtors[SuperId] = Sub;
  7963. return Sub
  7964. };
  7965. }
  7966. function initProps$1 (Comp) {
  7967. var props = Comp.options.props;
  7968. for (var key in props) {
  7969. proxy(Comp.prototype, "_props", key);
  7970. }
  7971. }
  7972. function initComputed$1 (Comp) {
  7973. var computed = Comp.options.computed;
  7974. for (var key in computed) {
  7975. defineComputed(Comp.prototype, key, computed[key]);
  7976. }
  7977. }
  7978. /* */
  7979. function initAssetRegisters (Vue) {
  7980. /**
  7981. * Create asset registration methods.
  7982. */
  7983. ASSET_TYPES.forEach(function (type) {
  7984. Vue[type] = function (
  7985. id,
  7986. definition
  7987. ) {
  7988. if (!definition) {
  7989. return this.options[type + 's'][id]
  7990. } else {
  7991. /* istanbul ignore if */
  7992. if ( true && type === 'component') {
  7993. validateComponentName(id);
  7994. }
  7995. if (type === 'component' && isPlainObject(definition)) {
  7996. definition.name = definition.name || id;
  7997. definition = this.options._base.extend(definition);
  7998. }
  7999. if (type === 'directive' && typeof definition === 'function') {
  8000. definition = { bind: definition, update: definition };
  8001. }
  8002. this.options[type + 's'][id] = definition;
  8003. return definition
  8004. }
  8005. };
  8006. });
  8007. }
  8008. /* */
  8009. function getComponentName (opts) {
  8010. return opts && (opts.Ctor.options.name || opts.tag)
  8011. }
  8012. function matches (pattern, name) {
  8013. if (Array.isArray(pattern)) {
  8014. return pattern.indexOf(name) > -1
  8015. } else if (typeof pattern === 'string') {
  8016. return pattern.split(',').indexOf(name) > -1
  8017. } else if (isRegExp(pattern)) {
  8018. return pattern.test(name)
  8019. }
  8020. /* istanbul ignore next */
  8021. return false
  8022. }
  8023. function pruneCache (keepAliveInstance, filter) {
  8024. var cache = keepAliveInstance.cache;
  8025. var keys = keepAliveInstance.keys;
  8026. var _vnode = keepAliveInstance._vnode;
  8027. for (var key in cache) {
  8028. var cachedNode = cache[key];
  8029. if (cachedNode) {
  8030. var name = getComponentName(cachedNode.componentOptions);
  8031. if (name && !filter(name)) {
  8032. pruneCacheEntry(cache, key, keys, _vnode);
  8033. }
  8034. }
  8035. }
  8036. }
  8037. function pruneCacheEntry (
  8038. cache,
  8039. key,
  8040. keys,
  8041. current
  8042. ) {
  8043. var cached$$1 = cache[key];
  8044. if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
  8045. cached$$1.componentInstance.$destroy();
  8046. }
  8047. cache[key] = null;
  8048. remove(keys, key);
  8049. }
  8050. var patternTypes = [String, RegExp, Array];
  8051. var KeepAlive = {
  8052. name: 'keep-alive',
  8053. abstract: true,
  8054. props: {
  8055. include: patternTypes,
  8056. exclude: patternTypes,
  8057. max: [String, Number]
  8058. },
  8059. created: function created () {
  8060. this.cache = Object.create(null);
  8061. this.keys = [];
  8062. },
  8063. destroyed: function destroyed () {
  8064. for (var key in this.cache) {
  8065. pruneCacheEntry(this.cache, key, this.keys);
  8066. }
  8067. },
  8068. mounted: function mounted () {
  8069. var this$1 = this;
  8070. this.$watch('include', function (val) {
  8071. pruneCache(this$1, function (name) { return matches(val, name); });
  8072. });
  8073. this.$watch('exclude', function (val) {
  8074. pruneCache(this$1, function (name) { return !matches(val, name); });
  8075. });
  8076. },
  8077. render: function render () {
  8078. var slot = this.$slots.default;
  8079. var vnode = getFirstComponentChild(slot);
  8080. var componentOptions = vnode && vnode.componentOptions;
  8081. if (componentOptions) {
  8082. // check pattern
  8083. var name = getComponentName(componentOptions);
  8084. var ref = this;
  8085. var include = ref.include;
  8086. var exclude = ref.exclude;
  8087. if (
  8088. // not included
  8089. (include && (!name || !matches(include, name))) ||
  8090. // excluded
  8091. (exclude && name && matches(exclude, name))
  8092. ) {
  8093. return vnode
  8094. }
  8095. var ref$1 = this;
  8096. var cache = ref$1.cache;
  8097. var keys = ref$1.keys;
  8098. var key = vnode.key == null
  8099. // same constructor may get registered as different local components
  8100. // so cid alone is not enough (#3269)
  8101. ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
  8102. : vnode.key;
  8103. if (cache[key]) {
  8104. vnode.componentInstance = cache[key].componentInstance;
  8105. // make current key freshest
  8106. remove(keys, key);
  8107. keys.push(key);
  8108. } else {
  8109. cache[key] = vnode;
  8110. keys.push(key);
  8111. // prune oldest entry
  8112. if (this.max && keys.length > parseInt(this.max)) {
  8113. pruneCacheEntry(cache, keys[0], keys, this._vnode);
  8114. }
  8115. }
  8116. vnode.data.keepAlive = true;
  8117. }
  8118. return vnode || (slot && slot[0])
  8119. }
  8120. };
  8121. var builtInComponents = {
  8122. KeepAlive: KeepAlive
  8123. };
  8124. /* */
  8125. function initGlobalAPI (Vue) {
  8126. // config
  8127. var configDef = {};
  8128. configDef.get = function () { return config; };
  8129. if (true) {
  8130. configDef.set = function () {
  8131. warn(
  8132. 'Do not replace the Vue.config object, set individual fields instead.'
  8133. );
  8134. };
  8135. }
  8136. Object.defineProperty(Vue, 'config', configDef);
  8137. // exposed util methods.
  8138. // NOTE: these are not considered part of the public API - avoid relying on
  8139. // them unless you are aware of the risk.
  8140. Vue.util = {
  8141. warn: warn,
  8142. extend: extend,
  8143. mergeOptions: mergeOptions,
  8144. defineReactive: defineReactive$$1
  8145. };
  8146. Vue.set = set;
  8147. Vue.delete = del;
  8148. Vue.nextTick = nextTick;
  8149. // 2.6 explicit observable API
  8150. Vue.observable = function (obj) {
  8151. observe(obj);
  8152. return obj
  8153. };
  8154. Vue.options = Object.create(null);
  8155. ASSET_TYPES.forEach(function (type) {
  8156. Vue.options[type + 's'] = Object.create(null);
  8157. });
  8158. // this is used to identify the "base" constructor to extend all plain-object
  8159. // components with in Weex's multi-instance scenarios.
  8160. Vue.options._base = Vue;
  8161. extend(Vue.options.components, builtInComponents);
  8162. initUse(Vue);
  8163. initMixin$1(Vue);
  8164. initExtend(Vue);
  8165. initAssetRegisters(Vue);
  8166. }
  8167. initGlobalAPI(Vue);
  8168. Object.defineProperty(Vue.prototype, '$isServer', {
  8169. get: isServerRendering
  8170. });
  8171. Object.defineProperty(Vue.prototype, '$ssrContext', {
  8172. get: function get () {
  8173. /* istanbul ignore next */
  8174. return this.$vnode && this.$vnode.ssrContext
  8175. }
  8176. });
  8177. // expose FunctionalRenderContext for ssr runtime helper installation
  8178. Object.defineProperty(Vue, 'FunctionalRenderContext', {
  8179. value: FunctionalRenderContext
  8180. });
  8181. Vue.version = '2.6.11';
  8182. /**
  8183. * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js
  8184. */
  8185. var ARRAYTYPE = '[object Array]';
  8186. var OBJECTTYPE = '[object Object]';
  8187. var NULLTYPE = '[object Null]';
  8188. var UNDEFINEDTYPE = '[object Undefined]';
  8189. // const FUNCTIONTYPE = '[object Function]'
  8190. function diff(current, pre) {
  8191. var result = {};
  8192. syncKeys(current, pre);
  8193. _diff(current, pre, '', result);
  8194. return result
  8195. }
  8196. function syncKeys(current, pre) {
  8197. if (current === pre) { return }
  8198. var rootCurrentType = type(current);
  8199. var rootPreType = type(pre);
  8200. if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {
  8201. if(Object.keys(current).length >= Object.keys(pre).length){
  8202. for (var key in pre) {
  8203. var currentValue = current[key];
  8204. if (currentValue === undefined) {
  8205. current[key] = null;
  8206. } else {
  8207. syncKeys(currentValue, pre[key]);
  8208. }
  8209. }
  8210. }
  8211. } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {
  8212. if (current.length >= pre.length) {
  8213. pre.forEach(function (item, index) {
  8214. syncKeys(current[index], item);
  8215. });
  8216. }
  8217. }
  8218. }
  8219. function nullOrUndefined(currentType, preType) {
  8220. if(
  8221. (currentType === NULLTYPE || currentType === UNDEFINEDTYPE) &&
  8222. (preType === NULLTYPE || preType === UNDEFINEDTYPE)
  8223. ) {
  8224. return false
  8225. }
  8226. return true
  8227. }
  8228. function _diff(current, pre, path, result) {
  8229. if (current === pre) { return }
  8230. var rootCurrentType = type(current);
  8231. var rootPreType = type(pre);
  8232. if (rootCurrentType == OBJECTTYPE) {
  8233. if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {
  8234. setResult(result, path, current);
  8235. } else {
  8236. var loop = function ( key ) {
  8237. var currentValue = current[key];
  8238. var preValue = pre[key];
  8239. var currentType = type(currentValue);
  8240. var preType = type(preValue);
  8241. if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {
  8242. if (currentValue !== pre[key] && nullOrUndefined(currentType, preType)) {
  8243. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8244. }
  8245. } else if (currentType == ARRAYTYPE) {
  8246. if (preType != ARRAYTYPE) {
  8247. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8248. } else {
  8249. if (currentValue.length < preValue.length) {
  8250. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8251. } else {
  8252. currentValue.forEach(function (item, index) {
  8253. _diff(item, preValue[index], (path == '' ? '' : path + ".") + key + '[' + index + ']', result);
  8254. });
  8255. }
  8256. }
  8257. } else if (currentType == OBJECTTYPE) {
  8258. if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {
  8259. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8260. } else {
  8261. for (var subKey in currentValue) {
  8262. _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + ".") + key + '.' + subKey, result);
  8263. }
  8264. }
  8265. }
  8266. };
  8267. for (var key in current) loop( key );
  8268. }
  8269. } else if (rootCurrentType == ARRAYTYPE) {
  8270. if (rootPreType != ARRAYTYPE) {
  8271. setResult(result, path, current);
  8272. } else {
  8273. if (current.length < pre.length) {
  8274. setResult(result, path, current);
  8275. } else {
  8276. current.forEach(function (item, index) {
  8277. _diff(item, pre[index], path + '[' + index + ']', result);
  8278. });
  8279. }
  8280. }
  8281. } else {
  8282. setResult(result, path, current);
  8283. }
  8284. }
  8285. function setResult(result, k, v) {
  8286. // if (type(v) != FUNCTIONTYPE) {
  8287. result[k] = v;
  8288. // }
  8289. }
  8290. function type(obj) {
  8291. return Object.prototype.toString.call(obj)
  8292. }
  8293. /* */
  8294. function flushCallbacks$1(vm) {
  8295. if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
  8296. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8297. var mpInstance = vm.$scope;
  8298. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8299. ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
  8300. }
  8301. var copies = vm.__next_tick_callbacks.slice(0);
  8302. vm.__next_tick_callbacks.length = 0;
  8303. for (var i = 0; i < copies.length; i++) {
  8304. copies[i]();
  8305. }
  8306. }
  8307. }
  8308. function hasRenderWatcher(vm) {
  8309. return queue.find(function (watcher) { return vm._watcher === watcher; })
  8310. }
  8311. function nextTick$1(vm, cb) {
  8312. //1.nextTick 之前 已 setData 且 setData 还未回调完成
  8313. //2.nextTick 之前存在 render watcher
  8314. if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
  8315. if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
  8316. var mpInstance = vm.$scope;
  8317. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8318. ']:nextVueTick');
  8319. }
  8320. return nextTick(cb, vm)
  8321. }else{
  8322. if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
  8323. var mpInstance$1 = vm.$scope;
  8324. console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
  8325. ']:nextMPTick');
  8326. }
  8327. }
  8328. var _resolve;
  8329. if (!vm.__next_tick_callbacks) {
  8330. vm.__next_tick_callbacks = [];
  8331. }
  8332. vm.__next_tick_callbacks.push(function () {
  8333. if (cb) {
  8334. try {
  8335. cb.call(vm);
  8336. } catch (e) {
  8337. handleError(e, vm, 'nextTick');
  8338. }
  8339. } else if (_resolve) {
  8340. _resolve(vm);
  8341. }
  8342. });
  8343. // $flow-disable-line
  8344. if (!cb && typeof Promise !== 'undefined') {
  8345. return new Promise(function (resolve) {
  8346. _resolve = resolve;
  8347. })
  8348. }
  8349. }
  8350. /* */
  8351. function clearInstance(key, value) {
  8352. // 简易去除 Vue 和小程序组件实例
  8353. if (value) {
  8354. if (value._isVue || value.__v_isMPComponent) {
  8355. return {}
  8356. }
  8357. }
  8358. return value
  8359. }
  8360. function cloneWithData(vm) {
  8361. // 确保当前 vm 所有数据被同步
  8362. var ret = Object.create(null);
  8363. var dataKeys = [].concat(
  8364. Object.keys(vm._data || {}),
  8365. Object.keys(vm._computedWatchers || {}));
  8366. dataKeys.reduce(function(ret, key) {
  8367. ret[key] = vm[key];
  8368. return ret
  8369. }, ret);
  8370. // vue-composition-api
  8371. var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
  8372. var rawBindings = compositionApiState && compositionApiState.rawBindings;
  8373. if (rawBindings) {
  8374. Object.keys(rawBindings).forEach(function (key) {
  8375. ret[key] = vm[key];
  8376. });
  8377. }
  8378. //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
  8379. Object.assign(ret, vm.$mp.data || {});
  8380. if (
  8381. Array.isArray(vm.$options.behaviors) &&
  8382. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  8383. ) { //form-field
  8384. ret['name'] = vm.name;
  8385. ret['value'] = vm.value;
  8386. }
  8387. return JSON.parse(JSON.stringify(ret, clearInstance))
  8388. }
  8389. var patch = function(oldVnode, vnode) {
  8390. var this$1 = this;
  8391. if (vnode === null) { //destroy
  8392. return
  8393. }
  8394. if (this.mpType === 'page' || this.mpType === 'component') {
  8395. var mpInstance = this.$scope;
  8396. var data = Object.create(null);
  8397. try {
  8398. data = cloneWithData(this);
  8399. } catch (err) {
  8400. console.error(err);
  8401. }
  8402. data.__webviewId__ = mpInstance.data.__webviewId__;
  8403. var mpData = Object.create(null);
  8404. Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据
  8405. mpData[key] = mpInstance.data[key];
  8406. });
  8407. var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
  8408. if (Object.keys(diffData).length) {
  8409. if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8410. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
  8411. ']差量更新',
  8412. JSON.stringify(diffData));
  8413. }
  8414. this.__next_tick_pending = true;
  8415. mpInstance.setData(diffData, function () {
  8416. this$1.__next_tick_pending = false;
  8417. flushCallbacks$1(this$1);
  8418. });
  8419. } else {
  8420. flushCallbacks$1(this);
  8421. }
  8422. }
  8423. };
  8424. /* */
  8425. function createEmptyRender() {
  8426. }
  8427. function mountComponent$1(
  8428. vm,
  8429. el,
  8430. hydrating
  8431. ) {
  8432. if (!vm.mpType) {//main.js 中的 new Vue
  8433. return vm
  8434. }
  8435. if (vm.mpType === 'app') {
  8436. vm.$options.render = createEmptyRender;
  8437. }
  8438. if (!vm.$options.render) {
  8439. vm.$options.render = createEmptyRender;
  8440. if (true) {
  8441. /* istanbul ignore if */
  8442. if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
  8443. vm.$options.el || el) {
  8444. warn(
  8445. 'You are using the runtime-only build of Vue where the template ' +
  8446. 'compiler is not available. Either pre-compile the templates into ' +
  8447. 'render functions, or use the compiler-included build.',
  8448. vm
  8449. );
  8450. } else {
  8451. warn(
  8452. 'Failed to mount component: template or render function not defined.',
  8453. vm
  8454. );
  8455. }
  8456. }
  8457. }
  8458. !vm._$fallback && callHook(vm, 'beforeMount');
  8459. var updateComponent = function () {
  8460. vm._update(vm._render(), hydrating);
  8461. };
  8462. // we set this to vm._watcher inside the watcher's constructor
  8463. // since the watcher's initial patch may call $forceUpdate (e.g. inside child
  8464. // component's mounted hook), which relies on vm._watcher being already defined
  8465. new Watcher(vm, updateComponent, noop, {
  8466. before: function before() {
  8467. if (vm._isMounted && !vm._isDestroyed) {
  8468. callHook(vm, 'beforeUpdate');
  8469. }
  8470. }
  8471. }, true /* isRenderWatcher */);
  8472. hydrating = false;
  8473. return vm
  8474. }
  8475. /* */
  8476. function renderClass (
  8477. staticClass,
  8478. dynamicClass
  8479. ) {
  8480. if (isDef(staticClass) || isDef(dynamicClass)) {
  8481. return concat(staticClass, stringifyClass(dynamicClass))
  8482. }
  8483. /* istanbul ignore next */
  8484. return ''
  8485. }
  8486. function concat (a, b) {
  8487. return a ? b ? (a + ' ' + b) : a : (b || '')
  8488. }
  8489. function stringifyClass (value) {
  8490. if (Array.isArray(value)) {
  8491. return stringifyArray(value)
  8492. }
  8493. if (isObject(value)) {
  8494. return stringifyObject(value)
  8495. }
  8496. if (typeof value === 'string') {
  8497. return value
  8498. }
  8499. /* istanbul ignore next */
  8500. return ''
  8501. }
  8502. function stringifyArray (value) {
  8503. var res = '';
  8504. var stringified;
  8505. for (var i = 0, l = value.length; i < l; i++) {
  8506. if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
  8507. if (res) { res += ' '; }
  8508. res += stringified;
  8509. }
  8510. }
  8511. return res
  8512. }
  8513. function stringifyObject (value) {
  8514. var res = '';
  8515. for (var key in value) {
  8516. if (value[key]) {
  8517. if (res) { res += ' '; }
  8518. res += key;
  8519. }
  8520. }
  8521. return res
  8522. }
  8523. /* */
  8524. var parseStyleText = cached(function (cssText) {
  8525. var res = {};
  8526. var listDelimiter = /;(?![^(]*\))/g;
  8527. var propertyDelimiter = /:(.+)/;
  8528. cssText.split(listDelimiter).forEach(function (item) {
  8529. if (item) {
  8530. var tmp = item.split(propertyDelimiter);
  8531. tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
  8532. }
  8533. });
  8534. return res
  8535. });
  8536. // normalize possible array / string values into Object
  8537. function normalizeStyleBinding (bindingStyle) {
  8538. if (Array.isArray(bindingStyle)) {
  8539. return toObject(bindingStyle)
  8540. }
  8541. if (typeof bindingStyle === 'string') {
  8542. return parseStyleText(bindingStyle)
  8543. }
  8544. return bindingStyle
  8545. }
  8546. /* */
  8547. var MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];
  8548. function getTarget(obj, path) {
  8549. var parts = path.split('.');
  8550. var key = parts[0];
  8551. if (key.indexOf('__$n') === 0) { //number index
  8552. key = parseInt(key.replace('__$n', ''));
  8553. }
  8554. if (parts.length === 1) {
  8555. return obj[key]
  8556. }
  8557. return getTarget(obj[key], parts.slice(1).join('.'))
  8558. }
  8559. function internalMixin(Vue) {
  8560. Vue.config.errorHandler = function(err, vm, info) {
  8561. Vue.util.warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  8562. console.error(err);
  8563. /* eslint-disable no-undef */
  8564. var app = typeof getApp === 'function' && getApp();
  8565. if (app && app.onError) {
  8566. app.onError(err);
  8567. }
  8568. };
  8569. var oldEmit = Vue.prototype.$emit;
  8570. Vue.prototype.$emit = function(event) {
  8571. if (this.$scope && event) {
  8572. var triggerEvent = this.$scope['_triggerEvent'] || this.$scope['triggerEvent'];
  8573. if (triggerEvent) {
  8574. try {
  8575. triggerEvent.call(this.$scope, event, {
  8576. __args__: toArray(arguments, 1)
  8577. });
  8578. } catch (error) {
  8579. }
  8580. }
  8581. }
  8582. return oldEmit.apply(this, arguments)
  8583. };
  8584. Vue.prototype.$nextTick = function(fn) {
  8585. return nextTick$1(this, fn)
  8586. };
  8587. MP_METHODS.forEach(function (method) {
  8588. Vue.prototype[method] = function(args) {
  8589. if (this.$scope && this.$scope[method]) {
  8590. return this.$scope[method](args)
  8591. }
  8592. // mp-alipay
  8593. if (typeof my === 'undefined') {
  8594. return
  8595. }
  8596. if (method === 'createSelectorQuery') {
  8597. /* eslint-disable no-undef */
  8598. return my.createSelectorQuery(args)
  8599. } else if (method === 'createIntersectionObserver') {
  8600. /* eslint-disable no-undef */
  8601. return my.createIntersectionObserver(args)
  8602. }
  8603. // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent
  8604. };
  8605. });
  8606. Vue.prototype.__init_provide = initProvide;
  8607. Vue.prototype.__init_injections = initInjections;
  8608. Vue.prototype.__call_hook = function(hook, args) {
  8609. var vm = this;
  8610. // #7573 disable dep collection when invoking lifecycle hooks
  8611. pushTarget();
  8612. var handlers = vm.$options[hook];
  8613. var info = hook + " hook";
  8614. var ret;
  8615. if (handlers) {
  8616. for (var i = 0, j = handlers.length; i < j; i++) {
  8617. ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);
  8618. }
  8619. }
  8620. if (vm._hasHookEvent) {
  8621. vm.$emit('hook:' + hook, args);
  8622. }
  8623. popTarget();
  8624. return ret
  8625. };
  8626. Vue.prototype.__set_model = function(target, key, value, modifiers) {
  8627. if (Array.isArray(modifiers)) {
  8628. if (modifiers.indexOf('trim') !== -1) {
  8629. value = value.trim();
  8630. }
  8631. if (modifiers.indexOf('number') !== -1) {
  8632. value = this._n(value);
  8633. }
  8634. }
  8635. if (!target) {
  8636. target = this;
  8637. }
  8638. // 解决动态属性添加
  8639. Vue.set(target, key, value);
  8640. };
  8641. Vue.prototype.__set_sync = function(target, key, value) {
  8642. if (!target) {
  8643. target = this;
  8644. }
  8645. // 解决动态属性添加
  8646. Vue.set(target, key, value);
  8647. };
  8648. Vue.prototype.__get_orig = function(item) {
  8649. if (isPlainObject(item)) {
  8650. return item['$orig'] || item
  8651. }
  8652. return item
  8653. };
  8654. Vue.prototype.__get_value = function(dataPath, target) {
  8655. return getTarget(target || this, dataPath)
  8656. };
  8657. Vue.prototype.__get_class = function(dynamicClass, staticClass) {
  8658. return renderClass(staticClass, dynamicClass)
  8659. };
  8660. Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {
  8661. if (!dynamicStyle && !staticStyle) {
  8662. return ''
  8663. }
  8664. var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);
  8665. var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;
  8666. return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + ":" + (styleObj[name])); }).join(';')
  8667. };
  8668. Vue.prototype.__map = function(val, iteratee) {
  8669. //TODO 暂不考虑 string
  8670. var ret, i, l, keys, key;
  8671. if (Array.isArray(val)) {
  8672. ret = new Array(val.length);
  8673. for (i = 0, l = val.length; i < l; i++) {
  8674. ret[i] = iteratee(val[i], i);
  8675. }
  8676. return ret
  8677. } else if (isObject(val)) {
  8678. keys = Object.keys(val);
  8679. ret = Object.create(null);
  8680. for (i = 0, l = keys.length; i < l; i++) {
  8681. key = keys[i];
  8682. ret[key] = iteratee(val[key], key, i);
  8683. }
  8684. return ret
  8685. } else if (typeof val === 'number') {
  8686. ret = new Array(val);
  8687. for (i = 0, l = val; i < l; i++) {
  8688. // 第一个参数暂时仍和小程序一致
  8689. ret[i] = iteratee(i, i);
  8690. }
  8691. return ret
  8692. }
  8693. return []
  8694. };
  8695. }
  8696. /* */
  8697. var LIFECYCLE_HOOKS$1 = [
  8698. //App
  8699. 'onLaunch',
  8700. 'onShow',
  8701. 'onHide',
  8702. 'onUniNViewMessage',
  8703. 'onPageNotFound',
  8704. 'onThemeChange',
  8705. 'onError',
  8706. 'onUnhandledRejection',
  8707. //Page
  8708. 'onInit',
  8709. 'onLoad',
  8710. // 'onShow',
  8711. 'onReady',
  8712. // 'onHide',
  8713. 'onUnload',
  8714. 'onPullDownRefresh',
  8715. 'onReachBottom',
  8716. 'onTabItemTap',
  8717. 'onAddToFavorites',
  8718. 'onShareTimeline',
  8719. 'onShareAppMessage',
  8720. 'onResize',
  8721. 'onPageScroll',
  8722. 'onNavigationBarButtonTap',
  8723. 'onBackPress',
  8724. 'onNavigationBarSearchInputChanged',
  8725. 'onNavigationBarSearchInputConfirmed',
  8726. 'onNavigationBarSearchInputClicked',
  8727. //Component
  8728. // 'onReady', // 兼容旧版本,应该移除该事件
  8729. 'onPageShow',
  8730. 'onPageHide',
  8731. 'onPageResize',
  8732. 'onUploadDouyinVideo'
  8733. ];
  8734. function lifecycleMixin$1(Vue) {
  8735. //fixed vue-class-component
  8736. var oldExtend = Vue.extend;
  8737. Vue.extend = function(extendOptions) {
  8738. extendOptions = extendOptions || {};
  8739. var methods = extendOptions.methods;
  8740. if (methods) {
  8741. Object.keys(methods).forEach(function (methodName) {
  8742. if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {
  8743. extendOptions[methodName] = methods[methodName];
  8744. delete methods[methodName];
  8745. }
  8746. });
  8747. }
  8748. return oldExtend.call(this, extendOptions)
  8749. };
  8750. var strategies = Vue.config.optionMergeStrategies;
  8751. var mergeHook = strategies.created;
  8752. LIFECYCLE_HOOKS$1.forEach(function (hook) {
  8753. strategies[hook] = mergeHook;
  8754. });
  8755. Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;
  8756. }
  8757. /* */
  8758. // install platform patch function
  8759. Vue.prototype.__patch__ = patch;
  8760. // public mount method
  8761. Vue.prototype.$mount = function(
  8762. el ,
  8763. hydrating
  8764. ) {
  8765. return mountComponent$1(this, el, hydrating)
  8766. };
  8767. lifecycleMixin$1(Vue);
  8768. internalMixin(Vue);
  8769. /* */
  8770. /* harmony default export */ __webpack_exports__["default"] = (Vue);
  8771. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  8772. /***/ }),
  8773. /* 26 */
  8774. /*!*****************************************************************************************************************!*\
  8775. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/pages.json ***!
  8776. \*****************************************************************************************************************/
  8777. /*! no static exports found */
  8778. /***/ (function(module, exports) {
  8779. /***/ }),
  8780. /* 27 */,
  8781. /* 28 */,
  8782. /* 29 */,
  8783. /* 30 */
  8784. /*!**************************************************************************************************************************!*\
  8785. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/permission.js ***!
  8786. \**************************************************************************************************************************/
  8787. /*! no static exports found */
  8788. /***/ (function(module, exports, __webpack_require__) {
  8789. "use strict";
  8790. /* WEBPACK VAR INJECTION */(function(uni) {
  8791. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  8792. Object.defineProperty(exports, "__esModule", {
  8793. value: true
  8794. });
  8795. exports.default = _default;
  8796. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  8797. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  8798. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  8799. var _auth = __webpack_require__(/*! @/utils/auth */ 34);
  8800. // 白名单
  8801. var whiteList = ['/',
  8802. // 注意入口页必须直接写 '/'
  8803. {
  8804. pattern: /^\/pages\/list.*/
  8805. },
  8806. // 支持正则表达式
  8807. '/pages/home/home', '/pages/logo/index', '/pages/login/login', {
  8808. pattern: /^\/pages\/login\/*/
  8809. }];
  8810. function _default() {
  8811. return _ref.apply(this, arguments);
  8812. }
  8813. function _ref() {
  8814. _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  8815. var list;
  8816. return _regenerator.default.wrap(function _callee$(_context) {
  8817. while (1) {
  8818. switch (_context.prev = _context.next) {
  8819. case 0:
  8820. list = ['navigateTo', 'redirectTo', 'reLaunch', 'switchTab']; // 用遍历的方式分别为,uni.navigateTo,uni.redirectTo,uni.reLaunch,uni.switchTab这4个路由方法添加拦截器
  8821. list.forEach(function (item) {
  8822. uni.addInterceptor(item, {
  8823. invoke: function invoke(e) {
  8824. // 获取要跳转的页面路径(url去掉"?"和"?"后的参数)
  8825. var url = e.url.split('?')[0];
  8826. // console.log('url', url)
  8827. // 判断当前窗口是白名单,如果是则不重定向路由
  8828. var pass;
  8829. if (whiteList) {
  8830. pass = whiteList.some(function (item) {
  8831. if ((0, _typeof2.default)(item) === 'object' && item.pattern) {
  8832. return item.pattern.test(url);
  8833. }
  8834. return url === item;
  8835. });
  8836. }
  8837. // 不是白名单并且没有token
  8838. if (!pass && !(0, _auth.getToken)()) {
  8839. uni.showToast({
  8840. title: '请先登录',
  8841. icon: 'none'
  8842. });
  8843. setTimeout(function () {
  8844. uni.navigateTo({
  8845. url: "/pages/logo/index"
  8846. });
  8847. }, 1000);
  8848. return false;
  8849. }
  8850. return e;
  8851. },
  8852. fail: function fail(err) {
  8853. // 失败回调拦截
  8854. console.log(err);
  8855. }
  8856. });
  8857. });
  8858. case 2:
  8859. case "end":
  8860. return _context.stop();
  8861. }
  8862. }
  8863. }, _callee);
  8864. }));
  8865. return _ref.apply(this, arguments);
  8866. }
  8867. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  8868. /***/ }),
  8869. /* 31 */
  8870. /*!************************************************************************************************!*\
  8871. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/@babel/runtime/regenerator/index.js ***!
  8872. \************************************************************************************************/
  8873. /*! no static exports found */
  8874. /***/ (function(module, exports, __webpack_require__) {
  8875. // TODO(Babel 8): Remove this file.
  8876. var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 32)();
  8877. module.exports = runtime;
  8878. /***/ }),
  8879. /* 32 */
  8880. /*!*******************************************************************!*\
  8881. !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
  8882. \*******************************************************************/
  8883. /*! no static exports found */
  8884. /***/ (function(module, exports, __webpack_require__) {
  8885. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  8886. function _regeneratorRuntime() {
  8887. "use strict";
  8888. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  8889. module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
  8890. return exports;
  8891. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  8892. var exports = {},
  8893. Op = Object.prototype,
  8894. hasOwn = Op.hasOwnProperty,
  8895. defineProperty = Object.defineProperty || function (obj, key, desc) {
  8896. obj[key] = desc.value;
  8897. },
  8898. $Symbol = "function" == typeof Symbol ? Symbol : {},
  8899. iteratorSymbol = $Symbol.iterator || "@@iterator",
  8900. asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
  8901. toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
  8902. function define(obj, key, value) {
  8903. return Object.defineProperty(obj, key, {
  8904. value: value,
  8905. enumerable: !0,
  8906. configurable: !0,
  8907. writable: !0
  8908. }), obj[key];
  8909. }
  8910. try {
  8911. define({}, "");
  8912. } catch (err) {
  8913. define = function define(obj, key, value) {
  8914. return obj[key] = value;
  8915. };
  8916. }
  8917. function wrap(innerFn, outerFn, self, tryLocsList) {
  8918. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
  8919. generator = Object.create(protoGenerator.prototype),
  8920. context = new Context(tryLocsList || []);
  8921. return defineProperty(generator, "_invoke", {
  8922. value: makeInvokeMethod(innerFn, self, context)
  8923. }), generator;
  8924. }
  8925. function tryCatch(fn, obj, arg) {
  8926. try {
  8927. return {
  8928. type: "normal",
  8929. arg: fn.call(obj, arg)
  8930. };
  8931. } catch (err) {
  8932. return {
  8933. type: "throw",
  8934. arg: err
  8935. };
  8936. }
  8937. }
  8938. exports.wrap = wrap;
  8939. var ContinueSentinel = {};
  8940. function Generator() {}
  8941. function GeneratorFunction() {}
  8942. function GeneratorFunctionPrototype() {}
  8943. var IteratorPrototype = {};
  8944. define(IteratorPrototype, iteratorSymbol, function () {
  8945. return this;
  8946. });
  8947. var getProto = Object.getPrototypeOf,
  8948. NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  8949. NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
  8950. var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
  8951. function defineIteratorMethods(prototype) {
  8952. ["next", "throw", "return"].forEach(function (method) {
  8953. define(prototype, method, function (arg) {
  8954. return this._invoke(method, arg);
  8955. });
  8956. });
  8957. }
  8958. function AsyncIterator(generator, PromiseImpl) {
  8959. function invoke(method, arg, resolve, reject) {
  8960. var record = tryCatch(generator[method], generator, arg);
  8961. if ("throw" !== record.type) {
  8962. var result = record.arg,
  8963. value = result.value;
  8964. return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
  8965. invoke("next", value, resolve, reject);
  8966. }, function (err) {
  8967. invoke("throw", err, resolve, reject);
  8968. }) : PromiseImpl.resolve(value).then(function (unwrapped) {
  8969. result.value = unwrapped, resolve(result);
  8970. }, function (error) {
  8971. return invoke("throw", error, resolve, reject);
  8972. });
  8973. }
  8974. reject(record.arg);
  8975. }
  8976. var previousPromise;
  8977. defineProperty(this, "_invoke", {
  8978. value: function value(method, arg) {
  8979. function callInvokeWithMethodAndArg() {
  8980. return new PromiseImpl(function (resolve, reject) {
  8981. invoke(method, arg, resolve, reject);
  8982. });
  8983. }
  8984. return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
  8985. }
  8986. });
  8987. }
  8988. function makeInvokeMethod(innerFn, self, context) {
  8989. var state = "suspendedStart";
  8990. return function (method, arg) {
  8991. if ("executing" === state) throw new Error("Generator is already running");
  8992. if ("completed" === state) {
  8993. if ("throw" === method) throw arg;
  8994. return doneResult();
  8995. }
  8996. for (context.method = method, context.arg = arg;;) {
  8997. var delegate = context.delegate;
  8998. if (delegate) {
  8999. var delegateResult = maybeInvokeDelegate(delegate, context);
  9000. if (delegateResult) {
  9001. if (delegateResult === ContinueSentinel) continue;
  9002. return delegateResult;
  9003. }
  9004. }
  9005. if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
  9006. if ("suspendedStart" === state) throw state = "completed", context.arg;
  9007. context.dispatchException(context.arg);
  9008. } else "return" === context.method && context.abrupt("return", context.arg);
  9009. state = "executing";
  9010. var record = tryCatch(innerFn, self, context);
  9011. if ("normal" === record.type) {
  9012. if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
  9013. return {
  9014. value: record.arg,
  9015. done: context.done
  9016. };
  9017. }
  9018. "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
  9019. }
  9020. };
  9021. }
  9022. function maybeInvokeDelegate(delegate, context) {
  9023. var methodName = context.method,
  9024. method = delegate.iterator[methodName];
  9025. if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
  9026. var record = tryCatch(method, delegate.iterator, context.arg);
  9027. if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
  9028. var info = record.arg;
  9029. return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
  9030. }
  9031. function pushTryEntry(locs) {
  9032. var entry = {
  9033. tryLoc: locs[0]
  9034. };
  9035. 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
  9036. }
  9037. function resetTryEntry(entry) {
  9038. var record = entry.completion || {};
  9039. record.type = "normal", delete record.arg, entry.completion = record;
  9040. }
  9041. function Context(tryLocsList) {
  9042. this.tryEntries = [{
  9043. tryLoc: "root"
  9044. }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
  9045. }
  9046. function values(iterable) {
  9047. if (iterable) {
  9048. var iteratorMethod = iterable[iteratorSymbol];
  9049. if (iteratorMethod) return iteratorMethod.call(iterable);
  9050. if ("function" == typeof iterable.next) return iterable;
  9051. if (!isNaN(iterable.length)) {
  9052. var i = -1,
  9053. next = function next() {
  9054. for (; ++i < iterable.length;) {
  9055. if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
  9056. }
  9057. return next.value = undefined, next.done = !0, next;
  9058. };
  9059. return next.next = next;
  9060. }
  9061. }
  9062. return {
  9063. next: doneResult
  9064. };
  9065. }
  9066. function doneResult() {
  9067. return {
  9068. value: undefined,
  9069. done: !0
  9070. };
  9071. }
  9072. return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
  9073. value: GeneratorFunctionPrototype,
  9074. configurable: !0
  9075. }), defineProperty(GeneratorFunctionPrototype, "constructor", {
  9076. value: GeneratorFunction,
  9077. configurable: !0
  9078. }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
  9079. var ctor = "function" == typeof genFun && genFun.constructor;
  9080. return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
  9081. }, exports.mark = function (genFun) {
  9082. return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
  9083. }, exports.awrap = function (arg) {
  9084. return {
  9085. __await: arg
  9086. };
  9087. }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
  9088. return this;
  9089. }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
  9090. void 0 === PromiseImpl && (PromiseImpl = Promise);
  9091. var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
  9092. return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
  9093. return result.done ? result.value : iter.next();
  9094. });
  9095. }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
  9096. return this;
  9097. }), define(Gp, "toString", function () {
  9098. return "[object Generator]";
  9099. }), exports.keys = function (val) {
  9100. var object = Object(val),
  9101. keys = [];
  9102. for (var key in object) {
  9103. keys.push(key);
  9104. }
  9105. return keys.reverse(), function next() {
  9106. for (; keys.length;) {
  9107. var key = keys.pop();
  9108. if (key in object) return next.value = key, next.done = !1, next;
  9109. }
  9110. return next.done = !0, next;
  9111. };
  9112. }, exports.values = values, Context.prototype = {
  9113. constructor: Context,
  9114. reset: function reset(skipTempReset) {
  9115. if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {
  9116. "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
  9117. }
  9118. },
  9119. stop: function stop() {
  9120. this.done = !0;
  9121. var rootRecord = this.tryEntries[0].completion;
  9122. if ("throw" === rootRecord.type) throw rootRecord.arg;
  9123. return this.rval;
  9124. },
  9125. dispatchException: function dispatchException(exception) {
  9126. if (this.done) throw exception;
  9127. var context = this;
  9128. function handle(loc, caught) {
  9129. return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
  9130. }
  9131. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9132. var entry = this.tryEntries[i],
  9133. record = entry.completion;
  9134. if ("root" === entry.tryLoc) return handle("end");
  9135. if (entry.tryLoc <= this.prev) {
  9136. var hasCatch = hasOwn.call(entry, "catchLoc"),
  9137. hasFinally = hasOwn.call(entry, "finallyLoc");
  9138. if (hasCatch && hasFinally) {
  9139. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  9140. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  9141. } else if (hasCatch) {
  9142. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  9143. } else {
  9144. if (!hasFinally) throw new Error("try statement without catch or finally");
  9145. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  9146. }
  9147. }
  9148. }
  9149. },
  9150. abrupt: function abrupt(type, arg) {
  9151. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9152. var entry = this.tryEntries[i];
  9153. if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
  9154. var finallyEntry = entry;
  9155. break;
  9156. }
  9157. }
  9158. finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
  9159. var record = finallyEntry ? finallyEntry.completion : {};
  9160. return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
  9161. },
  9162. complete: function complete(record, afterLoc) {
  9163. if ("throw" === record.type) throw record.arg;
  9164. return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
  9165. },
  9166. finish: function finish(finallyLoc) {
  9167. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9168. var entry = this.tryEntries[i];
  9169. if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
  9170. }
  9171. },
  9172. "catch": function _catch(tryLoc) {
  9173. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9174. var entry = this.tryEntries[i];
  9175. if (entry.tryLoc === tryLoc) {
  9176. var record = entry.completion;
  9177. if ("throw" === record.type) {
  9178. var thrown = record.arg;
  9179. resetTryEntry(entry);
  9180. }
  9181. return thrown;
  9182. }
  9183. }
  9184. throw new Error("illegal catch attempt");
  9185. },
  9186. delegateYield: function delegateYield(iterable, resultName, nextLoc) {
  9187. return this.delegate = {
  9188. iterator: values(iterable),
  9189. resultName: resultName,
  9190. nextLoc: nextLoc
  9191. }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
  9192. }
  9193. }, exports;
  9194. }
  9195. module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9196. /***/ }),
  9197. /* 33 */
  9198. /*!*****************************************************************!*\
  9199. !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
  9200. \*****************************************************************/
  9201. /*! no static exports found */
  9202. /***/ (function(module, exports) {
  9203. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  9204. try {
  9205. var info = gen[key](arg);
  9206. var value = info.value;
  9207. } catch (error) {
  9208. reject(error);
  9209. return;
  9210. }
  9211. if (info.done) {
  9212. resolve(value);
  9213. } else {
  9214. Promise.resolve(value).then(_next, _throw);
  9215. }
  9216. }
  9217. function _asyncToGenerator(fn) {
  9218. return function () {
  9219. var self = this,
  9220. args = arguments;
  9221. return new Promise(function (resolve, reject) {
  9222. var gen = fn.apply(self, args);
  9223. function _next(value) {
  9224. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  9225. }
  9226. function _throw(err) {
  9227. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  9228. }
  9229. _next(undefined);
  9230. });
  9231. };
  9232. }
  9233. module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9234. /***/ }),
  9235. /* 34 */
  9236. /*!********************************************************************************************************************!*\
  9237. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/auth.js ***!
  9238. \********************************************************************************************************************/
  9239. /*! no static exports found */
  9240. /***/ (function(module, exports, __webpack_require__) {
  9241. "use strict";
  9242. /* WEBPACK VAR INJECTION */(function(uni) {
  9243. Object.defineProperty(exports, "__esModule", {
  9244. value: true
  9245. });
  9246. exports.getToken = getToken;
  9247. exports.removeToken = removeToken;
  9248. exports.setToken = setToken;
  9249. var TokenKey = 'Admin-Token';
  9250. function getToken() {
  9251. return uni.getStorageSync(TokenKey);
  9252. }
  9253. function setToken(token) {
  9254. return uni.setStorageSync(TokenKey, token);
  9255. }
  9256. function removeToken() {
  9257. return uni.removeStorageSync(TokenKey);
  9258. }
  9259. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9260. /***/ }),
  9261. /* 35 */,
  9262. /* 36 */,
  9263. /* 37 */
  9264. /*!**********************************************************************************************************!*\
  9265. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
  9266. \**********************************************************************************************************/
  9267. /*! exports provided: default */
  9268. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9269. "use strict";
  9270. __webpack_require__.r(__webpack_exports__);
  9271. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
  9272. /* globals __VUE_SSR_CONTEXT__ */
  9273. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  9274. // This module is a runtime utility for cleaner component module output and will
  9275. // be included in the final webpack user bundle.
  9276. function normalizeComponent (
  9277. scriptExports,
  9278. render,
  9279. staticRenderFns,
  9280. functionalTemplate,
  9281. injectStyles,
  9282. scopeId,
  9283. moduleIdentifier, /* server only */
  9284. shadowMode, /* vue-cli only */
  9285. components, // fixed by xxxxxx auto components
  9286. renderjs // fixed by xxxxxx renderjs
  9287. ) {
  9288. // Vue.extend constructor export interop
  9289. var options = typeof scriptExports === 'function'
  9290. ? scriptExports.options
  9291. : scriptExports
  9292. // fixed by xxxxxx auto components
  9293. if (components) {
  9294. if (!options.components) {
  9295. options.components = {}
  9296. }
  9297. var hasOwn = Object.prototype.hasOwnProperty
  9298. for (var name in components) {
  9299. if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {
  9300. options.components[name] = components[name]
  9301. }
  9302. }
  9303. }
  9304. // fixed by xxxxxx renderjs
  9305. if (renderjs) {
  9306. if(typeof renderjs.beforeCreate === 'function'){
  9307. renderjs.beforeCreate = [renderjs.beforeCreate]
  9308. }
  9309. (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {
  9310. this[renderjs.__module] = this
  9311. });
  9312. (options.mixins || (options.mixins = [])).push(renderjs)
  9313. }
  9314. // render functions
  9315. if (render) {
  9316. options.render = render
  9317. options.staticRenderFns = staticRenderFns
  9318. options._compiled = true
  9319. }
  9320. // functional template
  9321. if (functionalTemplate) {
  9322. options.functional = true
  9323. }
  9324. // scopedId
  9325. if (scopeId) {
  9326. options._scopeId = 'data-v-' + scopeId
  9327. }
  9328. var hook
  9329. if (moduleIdentifier) { // server build
  9330. hook = function (context) {
  9331. // 2.3 injection
  9332. context =
  9333. context || // cached call
  9334. (this.$vnode && this.$vnode.ssrContext) || // stateful
  9335. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  9336. // 2.2 with runInNewContext: true
  9337. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  9338. context = __VUE_SSR_CONTEXT__
  9339. }
  9340. // inject component styles
  9341. if (injectStyles) {
  9342. injectStyles.call(this, context)
  9343. }
  9344. // register component module identifier for async chunk inferrence
  9345. if (context && context._registeredComponents) {
  9346. context._registeredComponents.add(moduleIdentifier)
  9347. }
  9348. }
  9349. // used by ssr in case component is cached and beforeCreate
  9350. // never gets called
  9351. options._ssrRegister = hook
  9352. } else if (injectStyles) {
  9353. hook = shadowMode
  9354. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  9355. : injectStyles
  9356. }
  9357. if (hook) {
  9358. if (options.functional) {
  9359. // for template-only hot-reload because in that case the render fn doesn't
  9360. // go through the normalizer
  9361. options._injectStyles = hook
  9362. // register for functioal component in vue file
  9363. var originalRender = options.render
  9364. options.render = function renderWithStyleInjection (h, context) {
  9365. hook.call(context)
  9366. return originalRender(h, context)
  9367. }
  9368. } else {
  9369. // inject component registration as beforeCreate hook
  9370. var existing = options.beforeCreate
  9371. options.beforeCreate = existing
  9372. ? [].concat(existing, hook)
  9373. : [hook]
  9374. }
  9375. }
  9376. return {
  9377. exports: scriptExports,
  9378. options: options
  9379. }
  9380. }
  9381. /***/ }),
  9382. /* 38 */
  9383. /*!*************************************************************************************************************************************!*\
  9384. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/index.js ***!
  9385. \*************************************************************************************************************************************/
  9386. /*! no static exports found */
  9387. /***/ (function(module, exports, __webpack_require__) {
  9388. "use strict";
  9389. /* WEBPACK VAR INJECTION */(function(uni) {
  9390. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9391. Object.defineProperty(exports, "__esModule", {
  9392. value: true
  9393. });
  9394. exports.default = void 0;
  9395. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9396. var _mixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mixin.js */ 39));
  9397. var _mpMixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mpMixin.js */ 40));
  9398. var _luchRequest = _interopRequireDefault(__webpack_require__(/*! ./libs/luch-request */ 41));
  9399. var _route = _interopRequireDefault(__webpack_require__(/*! ./libs/util/route.js */ 59));
  9400. var _colorGradient = _interopRequireDefault(__webpack_require__(/*! ./libs/function/colorGradient.js */ 60));
  9401. var _test = _interopRequireDefault(__webpack_require__(/*! ./libs/function/test.js */ 61));
  9402. var _debounce = _interopRequireDefault(__webpack_require__(/*! ./libs/function/debounce.js */ 62));
  9403. var _throttle = _interopRequireDefault(__webpack_require__(/*! ./libs/function/throttle.js */ 63));
  9404. var _index = _interopRequireDefault(__webpack_require__(/*! ./libs/function/index.js */ 64));
  9405. var _config = _interopRequireDefault(__webpack_require__(/*! ./libs/config/config.js */ 67));
  9406. var _props = _interopRequireDefault(__webpack_require__(/*! ./libs/config/props.js */ 68));
  9407. var _zIndex = _interopRequireDefault(__webpack_require__(/*! ./libs/config/zIndex.js */ 158));
  9408. var _color = _interopRequireDefault(__webpack_require__(/*! ./libs/config/color.js */ 116));
  9409. var _platform = _interopRequireDefault(__webpack_require__(/*! ./libs/function/platform */ 159));
  9410. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  9411. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  9412. // 看到此报错,是因为没有配置vue.config.js的【transpileDependencies】,详见:https://www.uviewui.com/components/npmSetting.html#_5-cli模式额外配置
  9413. var pleaseSetTranspileDependencies = {},
  9414. babelTest = pleaseSetTranspileDependencies === null || pleaseSetTranspileDependencies === void 0 ? void 0 : pleaseSetTranspileDependencies.test;
  9415. // 引入全局mixin
  9416. var $u = _objectSpread(_objectSpread({
  9417. route: _route.default,
  9418. date: _index.default.timeFormat,
  9419. // 另名date
  9420. colorGradient: _colorGradient.default.colorGradient,
  9421. hexToRgb: _colorGradient.default.hexToRgb,
  9422. rgbToHex: _colorGradient.default.rgbToHex,
  9423. colorToRgba: _colorGradient.default.colorToRgba,
  9424. test: _test.default,
  9425. type: ['primary', 'success', 'error', 'warning', 'info'],
  9426. http: new _luchRequest.default(),
  9427. config: _config.default,
  9428. // uView配置信息相关,比如版本号
  9429. zIndex: _zIndex.default,
  9430. debounce: _debounce.default,
  9431. throttle: _throttle.default,
  9432. mixin: _mixin.default,
  9433. mpMixin: _mpMixin.default,
  9434. props: _props.default
  9435. }, _index.default), {}, {
  9436. color: _color.default,
  9437. platform: _platform.default
  9438. });
  9439. // $u挂载到uni对象上
  9440. uni.$u = $u;
  9441. var install = function install(Vue) {
  9442. // 时间格式化,同时两个名称,date和timeFormat
  9443. Vue.filter('timeFormat', function (timestamp, format) {
  9444. return uni.$u.timeFormat(timestamp, format);
  9445. });
  9446. Vue.filter('date', function (timestamp, format) {
  9447. return uni.$u.timeFormat(timestamp, format);
  9448. });
  9449. // 将多久以前的方法,注入到全局过滤器
  9450. Vue.filter('timeFrom', function (timestamp, format) {
  9451. return uni.$u.timeFrom(timestamp, format);
  9452. });
  9453. // 同时挂载到uni和Vue.prototype中
  9454. // 只有vue,挂载到Vue.prototype才有意义,因为nvue中全局Vue.prototype和Vue.mixin是无效的
  9455. Vue.prototype.$u = $u;
  9456. Vue.mixin(_mixin.default);
  9457. };
  9458. var _default = {
  9459. install: install
  9460. };
  9461. exports.default = _default;
  9462. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9463. /***/ }),
  9464. /* 39 */
  9465. /*!************************************************************************************************************************************************!*\
  9466. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/mixin.js ***!
  9467. \************************************************************************************************************************************************/
  9468. /*! no static exports found */
  9469. /***/ (function(module, exports, __webpack_require__) {
  9470. /* WEBPACK VAR INJECTION */(function(uni) {module.exports = {
  9471. // 定义每个组件都可能需要用到的外部样式以及类名
  9472. props: {
  9473. // 每个组件都有的父组件传递的样式,可以为字符串或者对象形式
  9474. customStyle: {
  9475. type: [Object, String],
  9476. default: function _default() {
  9477. return {};
  9478. }
  9479. },
  9480. customClass: {
  9481. type: String,
  9482. default: ''
  9483. },
  9484. // 跳转的页面路径
  9485. url: {
  9486. type: String,
  9487. default: ''
  9488. },
  9489. // 页面跳转的类型
  9490. linkType: {
  9491. type: String,
  9492. default: 'navigateTo'
  9493. }
  9494. },
  9495. data: function data() {
  9496. return {};
  9497. },
  9498. onLoad: function onLoad() {
  9499. // getRect挂载到$u上,因为这方法需要使用in(this),所以无法把它独立成一个单独的文件导出
  9500. this.$u.getRect = this.$uGetRect;
  9501. },
  9502. created: function created() {
  9503. // 组件当中,只有created声明周期,为了能在组件使用,故也在created中将方法挂载到$u
  9504. this.$u.getRect = this.$uGetRect;
  9505. },
  9506. computed: {
  9507. // 在2.x版本中,将会把$u挂载到uni对象下,导致在模板中无法使用uni.$u.xxx形式
  9508. // 所以这里通过computed计算属性将其附加到this.$u上,就可以在模板或者js中使用uni.$u.xxx
  9509. // 只在nvue环境通过此方式引入完整的$u,其他平台会出现性能问题,非nvue则按需引入(主要原因是props过大)
  9510. $u: function $u() {
  9511. // 在非nvue端,移除props,http,mixin等对象,避免在小程序setData时数据过大影响性能
  9512. return uni.$u.deepMerge(uni.$u, {
  9513. props: undefined,
  9514. http: undefined,
  9515. mixin: undefined
  9516. });
  9517. },
  9518. /**
  9519. * 生成bem规则类名
  9520. * 由于微信小程序,H5,nvue之间绑定class的差异,无法通过:class="[bem()]"的形式进行同用
  9521. * 故采用如下折中做法,最后返回的是数组(一般平台)或字符串(支付宝和字节跳动平台),类似['a', 'b', 'c']或'a b c'的形式
  9522. * @param {String} name 组件名称
  9523. * @param {Array} fixed 一直会存在的类名
  9524. * @param {Array} change 会根据变量值为true或者false而出现或者隐藏的类名
  9525. * @returns {Array|string}
  9526. */
  9527. bem: function bem() {
  9528. return function (name, fixed, change) {
  9529. var _this = this;
  9530. // 类名前缀
  9531. var prefix = "u-".concat(name, "--");
  9532. var classes = {};
  9533. if (fixed) {
  9534. fixed.map(function (item) {
  9535. // 这里的类名,会一直存在
  9536. classes[prefix + _this[item]] = true;
  9537. });
  9538. }
  9539. if (change) {
  9540. change.map(function (item) {
  9541. // 这里的类名,会根据this[item]的值为true或者false,而进行添加或者移除某一个类
  9542. _this[item] ? classes[prefix + item] = _this[item] : delete classes[prefix + item];
  9543. });
  9544. }
  9545. return Object.keys(classes);
  9546. // 支付宝,头条小程序无法动态绑定一个数组类名,否则解析出来的结果会带有",",而导致失效
  9547. };
  9548. }
  9549. },
  9550. methods: {
  9551. // 跳转某一个页面
  9552. openPage: function openPage() {
  9553. var urlKey = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'url';
  9554. var url = this[urlKey];
  9555. if (url) {
  9556. // 执行类似uni.navigateTo的方法
  9557. uni[this.linkType]({
  9558. url: url
  9559. });
  9560. }
  9561. },
  9562. // 查询节点信息
  9563. // 目前此方法在支付宝小程序中无法获取组件跟接点的尺寸,为支付宝的bug(2020-07-21)
  9564. // 解决办法为在组件根部再套一个没有任何作用的view元素
  9565. $uGetRect: function $uGetRect(selector, all) {
  9566. var _this2 = this;
  9567. return new Promise(function (resolve) {
  9568. uni.createSelectorQuery().in(_this2)[all ? 'selectAll' : 'select'](selector).boundingClientRect(function (rect) {
  9569. if (all && Array.isArray(rect) && rect.length) {
  9570. resolve(rect);
  9571. }
  9572. if (!all && rect) {
  9573. resolve(rect);
  9574. }
  9575. }).exec();
  9576. });
  9577. },
  9578. getParentData: function getParentData() {
  9579. var _this3 = this;
  9580. var parentName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  9581. // 避免在created中去定义parent变量
  9582. if (!this.parent) this.parent = {};
  9583. // 这里的本质原理是,通过获取父组件实例(也即类似u-radio的父组件u-radio-group的this)
  9584. // 将父组件this中对应的参数,赋值给本组件(u-radio的this)的parentData对象中对应的属性
  9585. // 之所以需要这么做,是因为所有端中,头条小程序不支持通过this.parent.xxx去监听父组件参数的变化
  9586. // 此处并不会自动更新子组件的数据,而是依赖父组件u-radio-group去监听data的变化,手动调用更新子组件的方法去重新获取
  9587. this.parent = uni.$u.$parent.call(this, parentName);
  9588. if (this.parent.children) {
  9589. // 如果父组件的children不存在本组件的实例,才将本实例添加到父组件的children中
  9590. this.parent.children.indexOf(this) === -1 && this.parent.children.push(this);
  9591. }
  9592. if (this.parent && this.parentData) {
  9593. // 历遍parentData中的属性,将parent中的同名属性赋值给parentData
  9594. Object.keys(this.parentData).map(function (key) {
  9595. _this3.parentData[key] = _this3.parent[key];
  9596. });
  9597. }
  9598. },
  9599. // 阻止事件冒泡
  9600. preventEvent: function preventEvent(e) {
  9601. e && typeof e.stopPropagation === 'function' && e.stopPropagation();
  9602. },
  9603. // 空操作
  9604. noop: function noop(e) {
  9605. this.preventEvent(e);
  9606. }
  9607. },
  9608. onReachBottom: function onReachBottom() {
  9609. uni.$emit('uOnReachBottom');
  9610. },
  9611. beforeDestroy: function beforeDestroy() {
  9612. var _this4 = this;
  9613. // 判断当前页面是否存在parent和chldren,一般在checkbox和checkbox-group父子联动的场景会有此情况
  9614. // 组件销毁时,移除子组件在父组件children数组中的实例,释放资源,避免数据混乱
  9615. if (this.parent && uni.$u.test.array(this.parent.children)) {
  9616. // 组件销毁时,移除父组件中的children数组中对应的实例
  9617. var childrenList = this.parent.children;
  9618. childrenList.map(function (child, index) {
  9619. // 如果相等,则移除
  9620. if (child === _this4) {
  9621. childrenList.splice(index, 1);
  9622. }
  9623. });
  9624. }
  9625. }
  9626. };
  9627. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9628. /***/ }),
  9629. /* 40 */
  9630. /*!**************************************************************************************************************************************************!*\
  9631. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/mpMixin.js ***!
  9632. \**************************************************************************************************************************************************/
  9633. /*! no static exports found */
  9634. /***/ (function(module, exports, __webpack_require__) {
  9635. "use strict";
  9636. Object.defineProperty(exports, "__esModule", {
  9637. value: true
  9638. });
  9639. exports.default = void 0;
  9640. var _default = {
  9641. // 将自定义节点设置成虚拟的,更加接近Vue组件的表现,能更好的使用flex属性
  9642. options: {
  9643. virtualHost: true
  9644. }
  9645. };
  9646. exports.default = _default;
  9647. /***/ }),
  9648. /* 41 */
  9649. /*!*******************************************************************************************************************************************************!*\
  9650. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/index.js ***!
  9651. \*******************************************************************************************************************************************************/
  9652. /*! no static exports found */
  9653. /***/ (function(module, exports, __webpack_require__) {
  9654. "use strict";
  9655. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9656. Object.defineProperty(exports, "__esModule", {
  9657. value: true
  9658. });
  9659. exports.default = void 0;
  9660. var _Request = _interopRequireDefault(__webpack_require__(/*! ./core/Request */ 42));
  9661. var _default = _Request.default;
  9662. exports.default = _default;
  9663. /***/ }),
  9664. /* 42 */
  9665. /*!**************************************************************************************************************************************************************!*\
  9666. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/Request.js ***!
  9667. \**************************************************************************************************************************************************************/
  9668. /*! no static exports found */
  9669. /***/ (function(module, exports, __webpack_require__) {
  9670. "use strict";
  9671. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9672. Object.defineProperty(exports, "__esModule", {
  9673. value: true
  9674. });
  9675. exports.default = void 0;
  9676. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9677. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  9678. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  9679. var _dispatchRequest = _interopRequireDefault(__webpack_require__(/*! ./dispatchRequest */ 43));
  9680. var _InterceptorManager = _interopRequireDefault(__webpack_require__(/*! ./InterceptorManager */ 51));
  9681. var _mergeConfig = _interopRequireDefault(__webpack_require__(/*! ./mergeConfig */ 52));
  9682. var _defaults = _interopRequireDefault(__webpack_require__(/*! ./defaults */ 53));
  9683. var _utils = __webpack_require__(/*! ../utils */ 46);
  9684. var _clone = _interopRequireDefault(__webpack_require__(/*! ../utils/clone */ 54));
  9685. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  9686. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  9687. var Request = /*#__PURE__*/function () {
  9688. /**
  9689. * @param {Object} arg - 全局配置
  9690. * @param {String} arg.baseURL - 全局根路径
  9691. * @param {Object} arg.header - 全局header
  9692. * @param {String} arg.method = [GET|POST|PUT|DELETE|CONNECT|HEAD|OPTIONS|TRACE] - 全局默认请求方式
  9693. * @param {String} arg.dataType = [json] - 全局默认的dataType
  9694. * @param {String} arg.responseType = [text|arraybuffer] - 全局默认的responseType。支付宝小程序不支持
  9695. * @param {Object} arg.custom - 全局默认的自定义参数
  9696. * @param {Number} arg.timeout - 全局默认的超时时间,单位 ms。默认60000。H5(HBuilderX 2.9.9+)、APP(HBuilderX 2.9.9+)、微信小程序(2.10.0)、支付宝小程序
  9697. * @param {Boolean} arg.sslVerify - 全局默认的是否验证 ssl 证书。默认true.仅App安卓端支持(HBuilderX 2.3.3+)
  9698. * @param {Boolean} arg.withCredentials - 全局默认的跨域请求时是否携带凭证(cookies)。默认false。仅H5支持(HBuilderX 2.6.15+)
  9699. * @param {Boolean} arg.firstIpv4 - 全DNS解析时优先使用ipv4。默认false。仅 App-Android 支持 (HBuilderX 2.8.0+)
  9700. * @param {Function(statusCode):Boolean} arg.validateStatus - 全局默认的自定义验证器。默认statusCode >= 200 && statusCode < 300
  9701. */
  9702. function Request() {
  9703. var arg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  9704. (0, _classCallCheck2.default)(this, Request);
  9705. if (!(0, _utils.isPlainObject)(arg)) {
  9706. arg = {};
  9707. console.warn('设置全局参数必须接收一个Object');
  9708. }
  9709. this.config = (0, _clone.default)(_objectSpread(_objectSpread({}, _defaults.default), arg));
  9710. this.interceptors = {
  9711. request: new _InterceptorManager.default(),
  9712. response: new _InterceptorManager.default()
  9713. };
  9714. }
  9715. /**
  9716. * @Function
  9717. * @param {Request~setConfigCallback} f - 设置全局默认配置
  9718. */
  9719. (0, _createClass2.default)(Request, [{
  9720. key: "setConfig",
  9721. value: function setConfig(f) {
  9722. this.config = f(this.config);
  9723. }
  9724. }, {
  9725. key: "middleware",
  9726. value: function middleware(config) {
  9727. config = (0, _mergeConfig.default)(this.config, config);
  9728. var chain = [_dispatchRequest.default, undefined];
  9729. var promise = Promise.resolve(config);
  9730. this.interceptors.request.forEach(function (interceptor) {
  9731. chain.unshift(interceptor.fulfilled, interceptor.rejected);
  9732. });
  9733. this.interceptors.response.forEach(function (interceptor) {
  9734. chain.push(interceptor.fulfilled, interceptor.rejected);
  9735. });
  9736. while (chain.length) {
  9737. promise = promise.then(chain.shift(), chain.shift());
  9738. }
  9739. return promise;
  9740. }
  9741. /**
  9742. * @Function
  9743. * @param {Object} config - 请求配置项
  9744. * @prop {String} options.url - 请求路径
  9745. * @prop {Object} options.data - 请求参数
  9746. * @prop {Object} [options.responseType = config.responseType] [text|arraybuffer] - 响应的数据类型
  9747. * @prop {Object} [options.dataType = config.dataType] - 如果设为 json,会尝试对返回的数据做一次 JSON.parse
  9748. * @prop {Object} [options.header = config.header] - 请求header
  9749. * @prop {Object} [options.method = config.method] - 请求方法
  9750. * @returns {Promise<unknown>}
  9751. */
  9752. }, {
  9753. key: "request",
  9754. value: function request() {
  9755. var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  9756. return this.middleware(config);
  9757. }
  9758. }, {
  9759. key: "get",
  9760. value: function get(url) {
  9761. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  9762. return this.middleware(_objectSpread({
  9763. url: url,
  9764. method: 'GET'
  9765. }, options));
  9766. }
  9767. }, {
  9768. key: "post",
  9769. value: function post(url, data) {
  9770. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9771. return this.middleware(_objectSpread({
  9772. url: url,
  9773. data: data,
  9774. method: 'POST'
  9775. }, options));
  9776. }
  9777. }, {
  9778. key: "put",
  9779. value: function put(url, data) {
  9780. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9781. return this.middleware(_objectSpread({
  9782. url: url,
  9783. data: data,
  9784. method: 'PUT'
  9785. }, options));
  9786. }
  9787. }, {
  9788. key: "delete",
  9789. value: function _delete(url, data) {
  9790. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9791. return this.middleware(_objectSpread({
  9792. url: url,
  9793. data: data,
  9794. method: 'DELETE'
  9795. }, options));
  9796. }
  9797. }, {
  9798. key: "connect",
  9799. value: function connect(url, data) {
  9800. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9801. return this.middleware(_objectSpread({
  9802. url: url,
  9803. data: data,
  9804. method: 'CONNECT'
  9805. }, options));
  9806. }
  9807. }, {
  9808. key: "head",
  9809. value: function head(url, data) {
  9810. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9811. return this.middleware(_objectSpread({
  9812. url: url,
  9813. data: data,
  9814. method: 'HEAD'
  9815. }, options));
  9816. }
  9817. }, {
  9818. key: "options",
  9819. value: function options(url, data) {
  9820. var _options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9821. return this.middleware(_objectSpread({
  9822. url: url,
  9823. data: data,
  9824. method: 'OPTIONS'
  9825. }, _options));
  9826. }
  9827. }, {
  9828. key: "trace",
  9829. value: function trace(url, data) {
  9830. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9831. return this.middleware(_objectSpread({
  9832. url: url,
  9833. data: data,
  9834. method: 'TRACE'
  9835. }, options));
  9836. }
  9837. }, {
  9838. key: "upload",
  9839. value: function upload(url) {
  9840. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  9841. config.url = url;
  9842. config.method = 'UPLOAD';
  9843. return this.middleware(config);
  9844. }
  9845. }, {
  9846. key: "download",
  9847. value: function download(url) {
  9848. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  9849. config.url = url;
  9850. config.method = 'DOWNLOAD';
  9851. return this.middleware(config);
  9852. }
  9853. }]);
  9854. return Request;
  9855. }();
  9856. /**
  9857. * setConfig回调
  9858. * @return {Object} - 返回操作后的config
  9859. * @callback Request~setConfigCallback
  9860. * @param {Object} config - 全局默认config
  9861. */
  9862. exports.default = Request;
  9863. /***/ }),
  9864. /* 43 */
  9865. /*!**********************************************************************************************************************************************************************!*\
  9866. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/dispatchRequest.js ***!
  9867. \**********************************************************************************************************************************************************************/
  9868. /*! no static exports found */
  9869. /***/ (function(module, exports, __webpack_require__) {
  9870. "use strict";
  9871. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9872. Object.defineProperty(exports, "__esModule", {
  9873. value: true
  9874. });
  9875. exports.default = void 0;
  9876. var _index = _interopRequireDefault(__webpack_require__(/*! ../adapters/index */ 44));
  9877. var _default = function _default(config) {
  9878. return (0, _index.default)(config);
  9879. };
  9880. exports.default = _default;
  9881. /***/ }),
  9882. /* 44 */
  9883. /*!****************************************************************************************************************************************************************!*\
  9884. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/adapters/index.js ***!
  9885. \****************************************************************************************************************************************************************/
  9886. /*! no static exports found */
  9887. /***/ (function(module, exports, __webpack_require__) {
  9888. "use strict";
  9889. /* WEBPACK VAR INJECTION */(function(uni) {
  9890. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9891. Object.defineProperty(exports, "__esModule", {
  9892. value: true
  9893. });
  9894. exports.default = void 0;
  9895. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9896. var _buildURL = _interopRequireDefault(__webpack_require__(/*! ../helpers/buildURL */ 45));
  9897. var _buildFullPath = _interopRequireDefault(__webpack_require__(/*! ../core/buildFullPath */ 47));
  9898. var _settle = _interopRequireDefault(__webpack_require__(/*! ../core/settle */ 50));
  9899. var _utils = __webpack_require__(/*! ../utils */ 46);
  9900. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  9901. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  9902. /**
  9903. * 返回可选值存在的配置
  9904. * @param {Array} keys - 可选值数组
  9905. * @param {Object} config2 - 配置
  9906. * @return {{}} - 存在的配置项
  9907. */
  9908. var mergeKeys = function mergeKeys(keys, config2) {
  9909. var config = {};
  9910. keys.forEach(function (prop) {
  9911. if (!(0, _utils.isUndefined)(config2[prop])) {
  9912. config[prop] = config2[prop];
  9913. }
  9914. });
  9915. return config;
  9916. };
  9917. var _default = function _default(config) {
  9918. return new Promise(function (resolve, reject) {
  9919. var fullPath = (0, _buildURL.default)((0, _buildFullPath.default)(config.baseURL, config.url), config.params);
  9920. var _config = {
  9921. url: fullPath,
  9922. header: config.header,
  9923. complete: function complete(response) {
  9924. config.fullPath = fullPath;
  9925. response.config = config;
  9926. try {
  9927. // 对可能字符串不是json 的情况容错
  9928. if (typeof response.data === 'string') {
  9929. response.data = JSON.parse(response.data);
  9930. }
  9931. // eslint-disable-next-line no-empty
  9932. } catch (e) {}
  9933. (0, _settle.default)(resolve, reject, response);
  9934. }
  9935. };
  9936. var requestTask;
  9937. if (config.method === 'UPLOAD') {
  9938. delete _config.header['content-type'];
  9939. delete _config.header['Content-Type'];
  9940. var otherConfig = {
  9941. filePath: config.filePath,
  9942. name: config.name
  9943. };
  9944. var optionalKeys = ['formData'];
  9945. requestTask = uni.uploadFile(_objectSpread(_objectSpread(_objectSpread({}, _config), otherConfig), mergeKeys(optionalKeys, config)));
  9946. } else if (config.method === 'DOWNLOAD') {
  9947. requestTask = uni.downloadFile(_config);
  9948. } else {
  9949. var _optionalKeys = ['data', 'method', 'timeout', 'dataType', 'responseType'];
  9950. requestTask = uni.request(_objectSpread(_objectSpread({}, _config), mergeKeys(_optionalKeys, config)));
  9951. }
  9952. if (config.getTask) {
  9953. config.getTask(requestTask, config);
  9954. }
  9955. });
  9956. };
  9957. exports.default = _default;
  9958. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9959. /***/ }),
  9960. /* 45 */
  9961. /*!******************************************************************************************************************************************************************!*\
  9962. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/helpers/buildURL.js ***!
  9963. \******************************************************************************************************************************************************************/
  9964. /*! no static exports found */
  9965. /***/ (function(module, exports, __webpack_require__) {
  9966. "use strict";
  9967. var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  9968. Object.defineProperty(exports, "__esModule", {
  9969. value: true
  9970. });
  9971. exports.default = buildURL;
  9972. var utils = _interopRequireWildcard(__webpack_require__(/*! ../utils */ 46));
  9973. function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
  9974. function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
  9975. function encode(val) {
  9976. return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
  9977. }
  9978. /**
  9979. * Build a URL by appending params to the end
  9980. *
  9981. * @param {string} url The base of the url (e.g., http://www.google.com)
  9982. * @param {object} [params] The params to be appended
  9983. * @returns {string} The formatted url
  9984. */
  9985. function buildURL(url, params) {
  9986. /* eslint no-param-reassign:0 */
  9987. if (!params) {
  9988. return url;
  9989. }
  9990. var serializedParams;
  9991. if (utils.isURLSearchParams(params)) {
  9992. serializedParams = params.toString();
  9993. } else {
  9994. var parts = [];
  9995. utils.forEach(params, function (val, key) {
  9996. if (val === null || typeof val === 'undefined') {
  9997. return;
  9998. }
  9999. if (utils.isArray(val)) {
  10000. key = "".concat(key, "[]");
  10001. } else {
  10002. val = [val];
  10003. }
  10004. utils.forEach(val, function (v) {
  10005. if (utils.isDate(v)) {
  10006. v = v.toISOString();
  10007. } else if (utils.isObject(v)) {
  10008. v = JSON.stringify(v);
  10009. }
  10010. parts.push("".concat(encode(key), "=").concat(encode(v)));
  10011. });
  10012. });
  10013. serializedParams = parts.join('&');
  10014. }
  10015. if (serializedParams) {
  10016. var hashmarkIndex = url.indexOf('#');
  10017. if (hashmarkIndex !== -1) {
  10018. url = url.slice(0, hashmarkIndex);
  10019. }
  10020. url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
  10021. }
  10022. return url;
  10023. }
  10024. /***/ }),
  10025. /* 46 */
  10026. /*!*******************************************************************************************************************************************************!*\
  10027. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/utils.js ***!
  10028. \*******************************************************************************************************************************************************/
  10029. /*! no static exports found */
  10030. /***/ (function(module, exports, __webpack_require__) {
  10031. "use strict";
  10032. // utils is a library of generic helper functions non-specific to axios
  10033. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10034. Object.defineProperty(exports, "__esModule", {
  10035. value: true
  10036. });
  10037. exports.deepMerge = deepMerge;
  10038. exports.forEach = forEach;
  10039. exports.isArray = isArray;
  10040. exports.isBoolean = isBoolean;
  10041. exports.isDate = isDate;
  10042. exports.isObject = isObject;
  10043. exports.isPlainObject = isPlainObject;
  10044. exports.isURLSearchParams = isURLSearchParams;
  10045. exports.isUndefined = isUndefined;
  10046. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  10047. var toString = Object.prototype.toString;
  10048. /**
  10049. * Determine if a value is an Array
  10050. *
  10051. * @param {Object} val The value to test
  10052. * @returns {boolean} True if value is an Array, otherwise false
  10053. */
  10054. function isArray(val) {
  10055. return toString.call(val) === '[object Array]';
  10056. }
  10057. /**
  10058. * Determine if a value is an Object
  10059. *
  10060. * @param {Object} val The value to test
  10061. * @returns {boolean} True if value is an Object, otherwise false
  10062. */
  10063. function isObject(val) {
  10064. return val !== null && (0, _typeof2.default)(val) === 'object';
  10065. }
  10066. /**
  10067. * Determine if a value is a Date
  10068. *
  10069. * @param {Object} val The value to test
  10070. * @returns {boolean} True if value is a Date, otherwise false
  10071. */
  10072. function isDate(val) {
  10073. return toString.call(val) === '[object Date]';
  10074. }
  10075. /**
  10076. * Determine if a value is a URLSearchParams object
  10077. *
  10078. * @param {Object} val The value to test
  10079. * @returns {boolean} True if value is a URLSearchParams object, otherwise false
  10080. */
  10081. function isURLSearchParams(val) {
  10082. return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
  10083. }
  10084. /**
  10085. * Iterate over an Array or an Object invoking a function for each item.
  10086. *
  10087. * If `obj` is an Array callback will be called passing
  10088. * the value, index, and complete array for each item.
  10089. *
  10090. * If 'obj' is an Object callback will be called passing
  10091. * the value, key, and complete object for each property.
  10092. *
  10093. * @param {Object|Array} obj The object to iterate
  10094. * @param {Function} fn The callback to invoke for each item
  10095. */
  10096. function forEach(obj, fn) {
  10097. // Don't bother if no value provided
  10098. if (obj === null || typeof obj === 'undefined') {
  10099. return;
  10100. }
  10101. // Force an array if not already something iterable
  10102. if ((0, _typeof2.default)(obj) !== 'object') {
  10103. /* eslint no-param-reassign:0 */
  10104. obj = [obj];
  10105. }
  10106. if (isArray(obj)) {
  10107. // Iterate over array values
  10108. for (var i = 0, l = obj.length; i < l; i++) {
  10109. fn.call(null, obj[i], i, obj);
  10110. }
  10111. } else {
  10112. // Iterate over object keys
  10113. for (var key in obj) {
  10114. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  10115. fn.call(null, obj[key], key, obj);
  10116. }
  10117. }
  10118. }
  10119. }
  10120. /**
  10121. * 是否为boolean 值
  10122. * @param val
  10123. * @returns {boolean}
  10124. */
  10125. function isBoolean(val) {
  10126. return typeof val === 'boolean';
  10127. }
  10128. /**
  10129. * 是否为真正的对象{} new Object
  10130. * @param {any} obj - 检测的对象
  10131. * @returns {boolean}
  10132. */
  10133. function isPlainObject(obj) {
  10134. return Object.prototype.toString.call(obj) === '[object Object]';
  10135. }
  10136. /**
  10137. * Function equal to merge with the difference being that no reference
  10138. * to original objects is kept.
  10139. *
  10140. * @see merge
  10141. * @param {Object} obj1 Object to merge
  10142. * @returns {Object} Result of all merge properties
  10143. */
  10144. function deepMerge( /* obj1, obj2, obj3, ... */
  10145. ) {
  10146. var result = {};
  10147. function assignValue(val, key) {
  10148. if ((0, _typeof2.default)(result[key]) === 'object' && (0, _typeof2.default)(val) === 'object') {
  10149. result[key] = deepMerge(result[key], val);
  10150. } else if ((0, _typeof2.default)(val) === 'object') {
  10151. result[key] = deepMerge({}, val);
  10152. } else {
  10153. result[key] = val;
  10154. }
  10155. }
  10156. for (var i = 0, l = arguments.length; i < l; i++) {
  10157. forEach(arguments[i], assignValue);
  10158. }
  10159. return result;
  10160. }
  10161. function isUndefined(val) {
  10162. return typeof val === 'undefined';
  10163. }
  10164. /***/ }),
  10165. /* 47 */
  10166. /*!********************************************************************************************************************************************************************!*\
  10167. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/buildFullPath.js ***!
  10168. \********************************************************************************************************************************************************************/
  10169. /*! no static exports found */
  10170. /***/ (function(module, exports, __webpack_require__) {
  10171. "use strict";
  10172. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10173. Object.defineProperty(exports, "__esModule", {
  10174. value: true
  10175. });
  10176. exports.default = buildFullPath;
  10177. var _isAbsoluteURL = _interopRequireDefault(__webpack_require__(/*! ../helpers/isAbsoluteURL */ 48));
  10178. var _combineURLs = _interopRequireDefault(__webpack_require__(/*! ../helpers/combineURLs */ 49));
  10179. /**
  10180. * Creates a new URL by combining the baseURL with the requestedURL,
  10181. * only when the requestedURL is not already an absolute URL.
  10182. * If the requestURL is absolute, this function returns the requestedURL untouched.
  10183. *
  10184. * @param {string} baseURL The base URL
  10185. * @param {string} requestedURL Absolute or relative URL to combine
  10186. * @returns {string} The combined full path
  10187. */
  10188. function buildFullPath(baseURL, requestedURL) {
  10189. if (baseURL && !(0, _isAbsoluteURL.default)(requestedURL)) {
  10190. return (0, _combineURLs.default)(baseURL, requestedURL);
  10191. }
  10192. return requestedURL;
  10193. }
  10194. /***/ }),
  10195. /* 48 */
  10196. /*!***********************************************************************************************************************************************************************!*\
  10197. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/helpers/isAbsoluteURL.js ***!
  10198. \***********************************************************************************************************************************************************************/
  10199. /*! no static exports found */
  10200. /***/ (function(module, exports, __webpack_require__) {
  10201. "use strict";
  10202. /**
  10203. * Determines whether the specified URL is absolute
  10204. *
  10205. * @param {string} url The URL to test
  10206. * @returns {boolean} True if the specified URL is absolute, otherwise false
  10207. */
  10208. Object.defineProperty(exports, "__esModule", {
  10209. value: true
  10210. });
  10211. exports.default = isAbsoluteURL;
  10212. function isAbsoluteURL(url) {
  10213. // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
  10214. // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
  10215. // by any combination of letters, digits, plus, period, or hyphen.
  10216. return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
  10217. }
  10218. /***/ }),
  10219. /* 49 */
  10220. /*!*********************************************************************************************************************************************************************!*\
  10221. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/helpers/combineURLs.js ***!
  10222. \*********************************************************************************************************************************************************************/
  10223. /*! no static exports found */
  10224. /***/ (function(module, exports, __webpack_require__) {
  10225. "use strict";
  10226. /**
  10227. * Creates a new URL by combining the specified URLs
  10228. *
  10229. * @param {string} baseURL The base URL
  10230. * @param {string} relativeURL The relative URL
  10231. * @returns {string} The combined URL
  10232. */
  10233. Object.defineProperty(exports, "__esModule", {
  10234. value: true
  10235. });
  10236. exports.default = combineURLs;
  10237. function combineURLs(baseURL, relativeURL) {
  10238. return relativeURL ? "".concat(baseURL.replace(/\/+$/, ''), "/").concat(relativeURL.replace(/^\/+/, '')) : baseURL;
  10239. }
  10240. /***/ }),
  10241. /* 50 */
  10242. /*!*************************************************************************************************************************************************************!*\
  10243. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/settle.js ***!
  10244. \*************************************************************************************************************************************************************/
  10245. /*! no static exports found */
  10246. /***/ (function(module, exports, __webpack_require__) {
  10247. "use strict";
  10248. Object.defineProperty(exports, "__esModule", {
  10249. value: true
  10250. });
  10251. exports.default = settle;
  10252. /**
  10253. * Resolve or reject a Promise based on response status.
  10254. *
  10255. * @param {Function} resolve A function that resolves the promise.
  10256. * @param {Function} reject A function that rejects the promise.
  10257. * @param {object} response The response.
  10258. */
  10259. function settle(resolve, reject, response) {
  10260. var validateStatus = response.config.validateStatus;
  10261. var status = response.statusCode;
  10262. if (status && (!validateStatus || validateStatus(status))) {
  10263. resolve(response);
  10264. } else {
  10265. reject(response);
  10266. }
  10267. }
  10268. /***/ }),
  10269. /* 51 */
  10270. /*!*************************************************************************************************************************************************************************!*\
  10271. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/InterceptorManager.js ***!
  10272. \*************************************************************************************************************************************************************************/
  10273. /*! no static exports found */
  10274. /***/ (function(module, exports, __webpack_require__) {
  10275. "use strict";
  10276. Object.defineProperty(exports, "__esModule", {
  10277. value: true
  10278. });
  10279. exports.default = void 0;
  10280. function InterceptorManager() {
  10281. this.handlers = [];
  10282. }
  10283. /**
  10284. * Add a new interceptor to the stack
  10285. *
  10286. * @param {Function} fulfilled The function to handle `then` for a `Promise`
  10287. * @param {Function} rejected The function to handle `reject` for a `Promise`
  10288. *
  10289. * @return {Number} An ID used to remove interceptor later
  10290. */
  10291. InterceptorManager.prototype.use = function use(fulfilled, rejected) {
  10292. this.handlers.push({
  10293. fulfilled: fulfilled,
  10294. rejected: rejected
  10295. });
  10296. return this.handlers.length - 1;
  10297. };
  10298. /**
  10299. * Remove an interceptor from the stack
  10300. *
  10301. * @param {Number} id The ID that was returned by `use`
  10302. */
  10303. InterceptorManager.prototype.eject = function eject(id) {
  10304. if (this.handlers[id]) {
  10305. this.handlers[id] = null;
  10306. }
  10307. };
  10308. /**
  10309. * Iterate over all the registered interceptors
  10310. *
  10311. * This method is particularly useful for skipping over any
  10312. * interceptors that may have become `null` calling `eject`.
  10313. *
  10314. * @param {Function} fn The function to call for each interceptor
  10315. */
  10316. InterceptorManager.prototype.forEach = function forEach(fn) {
  10317. this.handlers.forEach(function (h) {
  10318. if (h !== null) {
  10319. fn(h);
  10320. }
  10321. });
  10322. };
  10323. var _default = InterceptorManager;
  10324. exports.default = _default;
  10325. /***/ }),
  10326. /* 52 */
  10327. /*!******************************************************************************************************************************************************************!*\
  10328. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/mergeConfig.js ***!
  10329. \******************************************************************************************************************************************************************/
  10330. /*! no static exports found */
  10331. /***/ (function(module, exports, __webpack_require__) {
  10332. "use strict";
  10333. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10334. Object.defineProperty(exports, "__esModule", {
  10335. value: true
  10336. });
  10337. exports.default = void 0;
  10338. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  10339. var _utils = __webpack_require__(/*! ../utils */ 46);
  10340. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  10341. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  10342. /**
  10343. * 合并局部配置优先的配置,如果局部有该配置项则用局部,如果全局有该配置项则用全局
  10344. * @param {Array} keys - 配置项
  10345. * @param {Object} globalsConfig - 当前的全局配置
  10346. * @param {Object} config2 - 局部配置
  10347. * @return {{}}
  10348. */
  10349. var mergeKeys = function mergeKeys(keys, globalsConfig, config2) {
  10350. var config = {};
  10351. keys.forEach(function (prop) {
  10352. if (!(0, _utils.isUndefined)(config2[prop])) {
  10353. config[prop] = config2[prop];
  10354. } else if (!(0, _utils.isUndefined)(globalsConfig[prop])) {
  10355. config[prop] = globalsConfig[prop];
  10356. }
  10357. });
  10358. return config;
  10359. };
  10360. /**
  10361. *
  10362. * @param globalsConfig - 当前实例的全局配置
  10363. * @param config2 - 当前的局部配置
  10364. * @return - 合并后的配置
  10365. */
  10366. var _default = function _default(globalsConfig) {
  10367. var config2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10368. var method = config2.method || globalsConfig.method || 'GET';
  10369. var config = {
  10370. baseURL: globalsConfig.baseURL || '',
  10371. method: method,
  10372. url: config2.url || '',
  10373. params: config2.params || {},
  10374. custom: _objectSpread(_objectSpread({}, globalsConfig.custom || {}), config2.custom || {}),
  10375. header: (0, _utils.deepMerge)(globalsConfig.header || {}, config2.header || {})
  10376. };
  10377. var defaultToConfig2Keys = ['getTask', 'validateStatus'];
  10378. config = _objectSpread(_objectSpread({}, config), mergeKeys(defaultToConfig2Keys, globalsConfig, config2));
  10379. // eslint-disable-next-line no-empty
  10380. if (method === 'DOWNLOAD') {} else if (method === 'UPLOAD') {
  10381. delete config.header['content-type'];
  10382. delete config.header['Content-Type'];
  10383. var uploadKeys = ['filePath', 'name', 'formData'];
  10384. uploadKeys.forEach(function (prop) {
  10385. if (!(0, _utils.isUndefined)(config2[prop])) {
  10386. config[prop] = config2[prop];
  10387. }
  10388. });
  10389. } else {
  10390. var defaultsKeys = ['data', 'timeout', 'dataType', 'responseType'];
  10391. config = _objectSpread(_objectSpread({}, config), mergeKeys(defaultsKeys, globalsConfig, config2));
  10392. }
  10393. return config;
  10394. };
  10395. exports.default = _default;
  10396. /***/ }),
  10397. /* 53 */
  10398. /*!***************************************************************************************************************************************************************!*\
  10399. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/defaults.js ***!
  10400. \***************************************************************************************************************************************************************/
  10401. /*! no static exports found */
  10402. /***/ (function(module, exports, __webpack_require__) {
  10403. "use strict";
  10404. Object.defineProperty(exports, "__esModule", {
  10405. value: true
  10406. });
  10407. exports.default = void 0;
  10408. /**
  10409. * 默认的全局配置
  10410. */
  10411. var _default = {
  10412. baseURL: '',
  10413. header: {},
  10414. method: 'GET',
  10415. dataType: 'json',
  10416. responseType: 'text',
  10417. custom: {},
  10418. timeout: 60000,
  10419. validateStatus: function validateStatus(status) {
  10420. return status >= 200 && status < 300;
  10421. }
  10422. };
  10423. exports.default = _default;
  10424. /***/ }),
  10425. /* 54 */
  10426. /*!*************************************************************************************************************************************************************!*\
  10427. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/utils/clone.js ***!
  10428. \*************************************************************************************************************************************************************/
  10429. /*! no static exports found */
  10430. /***/ (function(module, exports, __webpack_require__) {
  10431. "use strict";
  10432. /* WEBPACK VAR INJECTION */(function(Buffer) {
  10433. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10434. Object.defineProperty(exports, "__esModule", {
  10435. value: true
  10436. });
  10437. exports.default = void 0;
  10438. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  10439. /* eslint-disable */
  10440. var clone = function () {
  10441. 'use strict';
  10442. function _instanceof(obj, type) {
  10443. return type != null && obj instanceof type;
  10444. }
  10445. var nativeMap;
  10446. try {
  10447. nativeMap = Map;
  10448. } catch (_) {
  10449. // maybe a reference error because no `Map`. Give it a dummy value that no
  10450. // value will ever be an instanceof.
  10451. nativeMap = function nativeMap() {};
  10452. }
  10453. var nativeSet;
  10454. try {
  10455. nativeSet = Set;
  10456. } catch (_) {
  10457. nativeSet = function nativeSet() {};
  10458. }
  10459. var nativePromise;
  10460. try {
  10461. nativePromise = Promise;
  10462. } catch (_) {
  10463. nativePromise = function nativePromise() {};
  10464. }
  10465. /**
  10466. * Clones (copies) an Object using deep copying.
  10467. *
  10468. * This function supports circular references by default, but if you are certain
  10469. * there are no circular references in your object, you can save some CPU time
  10470. * by calling clone(obj, false).
  10471. *
  10472. * Caution: if `circular` is false and `parent` contains circular references,
  10473. * your program may enter an infinite loop and crash.
  10474. *
  10475. * @param `parent` - the object to be cloned
  10476. * @param `circular` - set to true if the object to be cloned may contain
  10477. * circular references. (optional - true by default)
  10478. * @param `depth` - set to a number if the object is only to be cloned to
  10479. * a particular depth. (optional - defaults to Infinity)
  10480. * @param `prototype` - sets the prototype to be used when cloning an object.
  10481. * (optional - defaults to parent prototype).
  10482. * @param `includeNonEnumerable` - set to true if the non-enumerable properties
  10483. * should be cloned as well. Non-enumerable properties on the prototype
  10484. * chain will be ignored. (optional - false by default)
  10485. */
  10486. function clone(parent, circular, depth, prototype, includeNonEnumerable) {
  10487. if ((0, _typeof2.default)(circular) === 'object') {
  10488. depth = circular.depth;
  10489. prototype = circular.prototype;
  10490. includeNonEnumerable = circular.includeNonEnumerable;
  10491. circular = circular.circular;
  10492. }
  10493. // maintain two arrays for circular references, where corresponding parents
  10494. // and children have the same index
  10495. var allParents = [];
  10496. var allChildren = [];
  10497. var useBuffer = typeof Buffer != 'undefined';
  10498. if (typeof circular == 'undefined') circular = true;
  10499. if (typeof depth == 'undefined') depth = Infinity;
  10500. // recurse this function so we don't reset allParents and allChildren
  10501. function _clone(parent, depth) {
  10502. // cloning null always returns null
  10503. if (parent === null) return null;
  10504. if (depth === 0) return parent;
  10505. var child;
  10506. var proto;
  10507. if ((0, _typeof2.default)(parent) != 'object') {
  10508. return parent;
  10509. }
  10510. if (_instanceof(parent, nativeMap)) {
  10511. child = new nativeMap();
  10512. } else if (_instanceof(parent, nativeSet)) {
  10513. child = new nativeSet();
  10514. } else if (_instanceof(parent, nativePromise)) {
  10515. child = new nativePromise(function (resolve, reject) {
  10516. parent.then(function (value) {
  10517. resolve(_clone(value, depth - 1));
  10518. }, function (err) {
  10519. reject(_clone(err, depth - 1));
  10520. });
  10521. });
  10522. } else if (clone.__isArray(parent)) {
  10523. child = [];
  10524. } else if (clone.__isRegExp(parent)) {
  10525. child = new RegExp(parent.source, __getRegExpFlags(parent));
  10526. if (parent.lastIndex) child.lastIndex = parent.lastIndex;
  10527. } else if (clone.__isDate(parent)) {
  10528. child = new Date(parent.getTime());
  10529. } else if (useBuffer && Buffer.isBuffer(parent)) {
  10530. if (Buffer.from) {
  10531. // Node.js >= 5.10.0
  10532. child = Buffer.from(parent);
  10533. } else {
  10534. // Older Node.js versions
  10535. child = new Buffer(parent.length);
  10536. parent.copy(child);
  10537. }
  10538. return child;
  10539. } else if (_instanceof(parent, Error)) {
  10540. child = Object.create(parent);
  10541. } else {
  10542. if (typeof prototype == 'undefined') {
  10543. proto = Object.getPrototypeOf(parent);
  10544. child = Object.create(proto);
  10545. } else {
  10546. child = Object.create(prototype);
  10547. proto = prototype;
  10548. }
  10549. }
  10550. if (circular) {
  10551. var index = allParents.indexOf(parent);
  10552. if (index != -1) {
  10553. return allChildren[index];
  10554. }
  10555. allParents.push(parent);
  10556. allChildren.push(child);
  10557. }
  10558. if (_instanceof(parent, nativeMap)) {
  10559. parent.forEach(function (value, key) {
  10560. var keyChild = _clone(key, depth - 1);
  10561. var valueChild = _clone(value, depth - 1);
  10562. child.set(keyChild, valueChild);
  10563. });
  10564. }
  10565. if (_instanceof(parent, nativeSet)) {
  10566. parent.forEach(function (value) {
  10567. var entryChild = _clone(value, depth - 1);
  10568. child.add(entryChild);
  10569. });
  10570. }
  10571. for (var i in parent) {
  10572. var attrs = Object.getOwnPropertyDescriptor(parent, i);
  10573. if (attrs) {
  10574. child[i] = _clone(parent[i], depth - 1);
  10575. }
  10576. try {
  10577. var objProperty = Object.getOwnPropertyDescriptor(parent, i);
  10578. if (objProperty.set === 'undefined') {
  10579. // no setter defined. Skip cloning this property
  10580. continue;
  10581. }
  10582. child[i] = _clone(parent[i], depth - 1);
  10583. } catch (e) {
  10584. if (e instanceof TypeError) {
  10585. // when in strict mode, TypeError will be thrown if child[i] property only has a getter
  10586. // we can't do anything about this, other than inform the user that this property cannot be set.
  10587. continue;
  10588. } else if (e instanceof ReferenceError) {
  10589. //this may happen in non strict mode
  10590. continue;
  10591. }
  10592. }
  10593. }
  10594. if (Object.getOwnPropertySymbols) {
  10595. var symbols = Object.getOwnPropertySymbols(parent);
  10596. for (var i = 0; i < symbols.length; i++) {
  10597. // Don't need to worry about cloning a symbol because it is a primitive,
  10598. // like a number or string.
  10599. var symbol = symbols[i];
  10600. var descriptor = Object.getOwnPropertyDescriptor(parent, symbol);
  10601. if (descriptor && !descriptor.enumerable && !includeNonEnumerable) {
  10602. continue;
  10603. }
  10604. child[symbol] = _clone(parent[symbol], depth - 1);
  10605. Object.defineProperty(child, symbol, descriptor);
  10606. }
  10607. }
  10608. if (includeNonEnumerable) {
  10609. var allPropertyNames = Object.getOwnPropertyNames(parent);
  10610. for (var i = 0; i < allPropertyNames.length; i++) {
  10611. var propertyName = allPropertyNames[i];
  10612. var descriptor = Object.getOwnPropertyDescriptor(parent, propertyName);
  10613. if (descriptor && descriptor.enumerable) {
  10614. continue;
  10615. }
  10616. child[propertyName] = _clone(parent[propertyName], depth - 1);
  10617. Object.defineProperty(child, propertyName, descriptor);
  10618. }
  10619. }
  10620. return child;
  10621. }
  10622. return _clone(parent, depth);
  10623. }
  10624. /**
  10625. * Simple flat clone using prototype, accepts only objects, usefull for property
  10626. * override on FLAT configuration object (no nested props).
  10627. *
  10628. * USE WITH CAUTION! This may not behave as you wish if you do not know how this
  10629. * works.
  10630. */
  10631. clone.clonePrototype = function clonePrototype(parent) {
  10632. if (parent === null) return null;
  10633. var c = function c() {};
  10634. c.prototype = parent;
  10635. return new c();
  10636. };
  10637. // private utility functions
  10638. function __objToStr(o) {
  10639. return Object.prototype.toString.call(o);
  10640. }
  10641. clone.__objToStr = __objToStr;
  10642. function __isDate(o) {
  10643. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object Date]';
  10644. }
  10645. clone.__isDate = __isDate;
  10646. function __isArray(o) {
  10647. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object Array]';
  10648. }
  10649. clone.__isArray = __isArray;
  10650. function __isRegExp(o) {
  10651. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object RegExp]';
  10652. }
  10653. clone.__isRegExp = __isRegExp;
  10654. function __getRegExpFlags(re) {
  10655. var flags = '';
  10656. if (re.global) flags += 'g';
  10657. if (re.ignoreCase) flags += 'i';
  10658. if (re.multiline) flags += 'm';
  10659. return flags;
  10660. }
  10661. clone.__getRegExpFlags = __getRegExpFlags;
  10662. return clone;
  10663. }();
  10664. var _default = clone;
  10665. exports.default = _default;
  10666. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 55).Buffer))
  10667. /***/ }),
  10668. /* 55 */
  10669. /*!**************************************!*\
  10670. !*** ./node_modules/buffer/index.js ***!
  10671. \**************************************/
  10672. /*! no static exports found */
  10673. /***/ (function(module, exports, __webpack_require__) {
  10674. "use strict";
  10675. /* WEBPACK VAR INJECTION */(function(global) {/*!
  10676. * The buffer module from node.js, for the browser.
  10677. *
  10678. * @author Feross Aboukhadijeh <http://feross.org>
  10679. * @license MIT
  10680. */
  10681. /* eslint-disable no-proto */
  10682. var base64 = __webpack_require__(/*! base64-js */ 56)
  10683. var ieee754 = __webpack_require__(/*! ieee754 */ 57)
  10684. var isArray = __webpack_require__(/*! isarray */ 58)
  10685. exports.Buffer = Buffer
  10686. exports.SlowBuffer = SlowBuffer
  10687. exports.INSPECT_MAX_BYTES = 50
  10688. /**
  10689. * If `Buffer.TYPED_ARRAY_SUPPORT`:
  10690. * === true Use Uint8Array implementation (fastest)
  10691. * === false Use Object implementation (most compatible, even IE6)
  10692. *
  10693. * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
  10694. * Opera 11.6+, iOS 4.2+.
  10695. *
  10696. * Due to various browser bugs, sometimes the Object implementation will be used even
  10697. * when the browser supports typed arrays.
  10698. *
  10699. * Note:
  10700. *
  10701. * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
  10702. * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
  10703. *
  10704. * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
  10705. *
  10706. * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
  10707. * incorrect length in some situations.
  10708. * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
  10709. * get the Object implementation, which is slower but behaves correctly.
  10710. */
  10711. Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
  10712. ? global.TYPED_ARRAY_SUPPORT
  10713. : typedArraySupport()
  10714. /*
  10715. * Export kMaxLength after typed array support is determined.
  10716. */
  10717. exports.kMaxLength = kMaxLength()
  10718. function typedArraySupport () {
  10719. try {
  10720. var arr = new Uint8Array(1)
  10721. arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}
  10722. return arr.foo() === 42 && // typed array instances can be augmented
  10723. typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
  10724. arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
  10725. } catch (e) {
  10726. return false
  10727. }
  10728. }
  10729. function kMaxLength () {
  10730. return Buffer.TYPED_ARRAY_SUPPORT
  10731. ? 0x7fffffff
  10732. : 0x3fffffff
  10733. }
  10734. function createBuffer (that, length) {
  10735. if (kMaxLength() < length) {
  10736. throw new RangeError('Invalid typed array length')
  10737. }
  10738. if (Buffer.TYPED_ARRAY_SUPPORT) {
  10739. // Return an augmented `Uint8Array` instance, for best performance
  10740. that = new Uint8Array(length)
  10741. that.__proto__ = Buffer.prototype
  10742. } else {
  10743. // Fallback: Return an object instance of the Buffer class
  10744. if (that === null) {
  10745. that = new Buffer(length)
  10746. }
  10747. that.length = length
  10748. }
  10749. return that
  10750. }
  10751. /**
  10752. * The Buffer constructor returns instances of `Uint8Array` that have their
  10753. * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
  10754. * `Uint8Array`, so the returned instances will have all the node `Buffer` methods
  10755. * and the `Uint8Array` methods. Square bracket notation works as expected -- it
  10756. * returns a single octet.
  10757. *
  10758. * The `Uint8Array` prototype remains unmodified.
  10759. */
  10760. function Buffer (arg, encodingOrOffset, length) {
  10761. if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {
  10762. return new Buffer(arg, encodingOrOffset, length)
  10763. }
  10764. // Common case.
  10765. if (typeof arg === 'number') {
  10766. if (typeof encodingOrOffset === 'string') {
  10767. throw new Error(
  10768. 'If encoding is specified then the first argument must be a string'
  10769. )
  10770. }
  10771. return allocUnsafe(this, arg)
  10772. }
  10773. return from(this, arg, encodingOrOffset, length)
  10774. }
  10775. Buffer.poolSize = 8192 // not used by this implementation
  10776. // TODO: Legacy, not needed anymore. Remove in next major version.
  10777. Buffer._augment = function (arr) {
  10778. arr.__proto__ = Buffer.prototype
  10779. return arr
  10780. }
  10781. function from (that, value, encodingOrOffset, length) {
  10782. if (typeof value === 'number') {
  10783. throw new TypeError('"value" argument must not be a number')
  10784. }
  10785. if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {
  10786. return fromArrayBuffer(that, value, encodingOrOffset, length)
  10787. }
  10788. if (typeof value === 'string') {
  10789. return fromString(that, value, encodingOrOffset)
  10790. }
  10791. return fromObject(that, value)
  10792. }
  10793. /**
  10794. * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
  10795. * if value is a number.
  10796. * Buffer.from(str[, encoding])
  10797. * Buffer.from(array)
  10798. * Buffer.from(buffer)
  10799. * Buffer.from(arrayBuffer[, byteOffset[, length]])
  10800. **/
  10801. Buffer.from = function (value, encodingOrOffset, length) {
  10802. return from(null, value, encodingOrOffset, length)
  10803. }
  10804. if (Buffer.TYPED_ARRAY_SUPPORT) {
  10805. Buffer.prototype.__proto__ = Uint8Array.prototype
  10806. Buffer.__proto__ = Uint8Array
  10807. if (typeof Symbol !== 'undefined' && Symbol.species &&
  10808. Buffer[Symbol.species] === Buffer) {
  10809. // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
  10810. Object.defineProperty(Buffer, Symbol.species, {
  10811. value: null,
  10812. configurable: true
  10813. })
  10814. }
  10815. }
  10816. function assertSize (size) {
  10817. if (typeof size !== 'number') {
  10818. throw new TypeError('"size" argument must be a number')
  10819. } else if (size < 0) {
  10820. throw new RangeError('"size" argument must not be negative')
  10821. }
  10822. }
  10823. function alloc (that, size, fill, encoding) {
  10824. assertSize(size)
  10825. if (size <= 0) {
  10826. return createBuffer(that, size)
  10827. }
  10828. if (fill !== undefined) {
  10829. // Only pay attention to encoding if it's a string. This
  10830. // prevents accidentally sending in a number that would
  10831. // be interpretted as a start offset.
  10832. return typeof encoding === 'string'
  10833. ? createBuffer(that, size).fill(fill, encoding)
  10834. : createBuffer(that, size).fill(fill)
  10835. }
  10836. return createBuffer(that, size)
  10837. }
  10838. /**
  10839. * Creates a new filled Buffer instance.
  10840. * alloc(size[, fill[, encoding]])
  10841. **/
  10842. Buffer.alloc = function (size, fill, encoding) {
  10843. return alloc(null, size, fill, encoding)
  10844. }
  10845. function allocUnsafe (that, size) {
  10846. assertSize(size)
  10847. that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)
  10848. if (!Buffer.TYPED_ARRAY_SUPPORT) {
  10849. for (var i = 0; i < size; ++i) {
  10850. that[i] = 0
  10851. }
  10852. }
  10853. return that
  10854. }
  10855. /**
  10856. * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
  10857. * */
  10858. Buffer.allocUnsafe = function (size) {
  10859. return allocUnsafe(null, size)
  10860. }
  10861. /**
  10862. * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
  10863. */
  10864. Buffer.allocUnsafeSlow = function (size) {
  10865. return allocUnsafe(null, size)
  10866. }
  10867. function fromString (that, string, encoding) {
  10868. if (typeof encoding !== 'string' || encoding === '') {
  10869. encoding = 'utf8'
  10870. }
  10871. if (!Buffer.isEncoding(encoding)) {
  10872. throw new TypeError('"encoding" must be a valid string encoding')
  10873. }
  10874. var length = byteLength(string, encoding) | 0
  10875. that = createBuffer(that, length)
  10876. var actual = that.write(string, encoding)
  10877. if (actual !== length) {
  10878. // Writing a hex string, for example, that contains invalid characters will
  10879. // cause everything after the first invalid character to be ignored. (e.g.
  10880. // 'abxxcd' will be treated as 'ab')
  10881. that = that.slice(0, actual)
  10882. }
  10883. return that
  10884. }
  10885. function fromArrayLike (that, array) {
  10886. var length = array.length < 0 ? 0 : checked(array.length) | 0
  10887. that = createBuffer(that, length)
  10888. for (var i = 0; i < length; i += 1) {
  10889. that[i] = array[i] & 255
  10890. }
  10891. return that
  10892. }
  10893. function fromArrayBuffer (that, array, byteOffset, length) {
  10894. array.byteLength // this throws if `array` is not a valid ArrayBuffer
  10895. if (byteOffset < 0 || array.byteLength < byteOffset) {
  10896. throw new RangeError('\'offset\' is out of bounds')
  10897. }
  10898. if (array.byteLength < byteOffset + (length || 0)) {
  10899. throw new RangeError('\'length\' is out of bounds')
  10900. }
  10901. if (byteOffset === undefined && length === undefined) {
  10902. array = new Uint8Array(array)
  10903. } else if (length === undefined) {
  10904. array = new Uint8Array(array, byteOffset)
  10905. } else {
  10906. array = new Uint8Array(array, byteOffset, length)
  10907. }
  10908. if (Buffer.TYPED_ARRAY_SUPPORT) {
  10909. // Return an augmented `Uint8Array` instance, for best performance
  10910. that = array
  10911. that.__proto__ = Buffer.prototype
  10912. } else {
  10913. // Fallback: Return an object instance of the Buffer class
  10914. that = fromArrayLike(that, array)
  10915. }
  10916. return that
  10917. }
  10918. function fromObject (that, obj) {
  10919. if (Buffer.isBuffer(obj)) {
  10920. var len = checked(obj.length) | 0
  10921. that = createBuffer(that, len)
  10922. if (that.length === 0) {
  10923. return that
  10924. }
  10925. obj.copy(that, 0, 0, len)
  10926. return that
  10927. }
  10928. if (obj) {
  10929. if ((typeof ArrayBuffer !== 'undefined' &&
  10930. obj.buffer instanceof ArrayBuffer) || 'length' in obj) {
  10931. if (typeof obj.length !== 'number' || isnan(obj.length)) {
  10932. return createBuffer(that, 0)
  10933. }
  10934. return fromArrayLike(that, obj)
  10935. }
  10936. if (obj.type === 'Buffer' && isArray(obj.data)) {
  10937. return fromArrayLike(that, obj.data)
  10938. }
  10939. }
  10940. throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')
  10941. }
  10942. function checked (length) {
  10943. // Note: cannot use `length < kMaxLength()` here because that fails when
  10944. // length is NaN (which is otherwise coerced to zero.)
  10945. if (length >= kMaxLength()) {
  10946. throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
  10947. 'size: 0x' + kMaxLength().toString(16) + ' bytes')
  10948. }
  10949. return length | 0
  10950. }
  10951. function SlowBuffer (length) {
  10952. if (+length != length) { // eslint-disable-line eqeqeq
  10953. length = 0
  10954. }
  10955. return Buffer.alloc(+length)
  10956. }
  10957. Buffer.isBuffer = function isBuffer (b) {
  10958. return !!(b != null && b._isBuffer)
  10959. }
  10960. Buffer.compare = function compare (a, b) {
  10961. if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
  10962. throw new TypeError('Arguments must be Buffers')
  10963. }
  10964. if (a === b) return 0
  10965. var x = a.length
  10966. var y = b.length
  10967. for (var i = 0, len = Math.min(x, y); i < len; ++i) {
  10968. if (a[i] !== b[i]) {
  10969. x = a[i]
  10970. y = b[i]
  10971. break
  10972. }
  10973. }
  10974. if (x < y) return -1
  10975. if (y < x) return 1
  10976. return 0
  10977. }
  10978. Buffer.isEncoding = function isEncoding (encoding) {
  10979. switch (String(encoding).toLowerCase()) {
  10980. case 'hex':
  10981. case 'utf8':
  10982. case 'utf-8':
  10983. case 'ascii':
  10984. case 'latin1':
  10985. case 'binary':
  10986. case 'base64':
  10987. case 'ucs2':
  10988. case 'ucs-2':
  10989. case 'utf16le':
  10990. case 'utf-16le':
  10991. return true
  10992. default:
  10993. return false
  10994. }
  10995. }
  10996. Buffer.concat = function concat (list, length) {
  10997. if (!isArray(list)) {
  10998. throw new TypeError('"list" argument must be an Array of Buffers')
  10999. }
  11000. if (list.length === 0) {
  11001. return Buffer.alloc(0)
  11002. }
  11003. var i
  11004. if (length === undefined) {
  11005. length = 0
  11006. for (i = 0; i < list.length; ++i) {
  11007. length += list[i].length
  11008. }
  11009. }
  11010. var buffer = Buffer.allocUnsafe(length)
  11011. var pos = 0
  11012. for (i = 0; i < list.length; ++i) {
  11013. var buf = list[i]
  11014. if (!Buffer.isBuffer(buf)) {
  11015. throw new TypeError('"list" argument must be an Array of Buffers')
  11016. }
  11017. buf.copy(buffer, pos)
  11018. pos += buf.length
  11019. }
  11020. return buffer
  11021. }
  11022. function byteLength (string, encoding) {
  11023. if (Buffer.isBuffer(string)) {
  11024. return string.length
  11025. }
  11026. if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&
  11027. (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {
  11028. return string.byteLength
  11029. }
  11030. if (typeof string !== 'string') {
  11031. string = '' + string
  11032. }
  11033. var len = string.length
  11034. if (len === 0) return 0
  11035. // Use a for loop to avoid recursion
  11036. var loweredCase = false
  11037. for (;;) {
  11038. switch (encoding) {
  11039. case 'ascii':
  11040. case 'latin1':
  11041. case 'binary':
  11042. return len
  11043. case 'utf8':
  11044. case 'utf-8':
  11045. case undefined:
  11046. return utf8ToBytes(string).length
  11047. case 'ucs2':
  11048. case 'ucs-2':
  11049. case 'utf16le':
  11050. case 'utf-16le':
  11051. return len * 2
  11052. case 'hex':
  11053. return len >>> 1
  11054. case 'base64':
  11055. return base64ToBytes(string).length
  11056. default:
  11057. if (loweredCase) return utf8ToBytes(string).length // assume utf8
  11058. encoding = ('' + encoding).toLowerCase()
  11059. loweredCase = true
  11060. }
  11061. }
  11062. }
  11063. Buffer.byteLength = byteLength
  11064. function slowToString (encoding, start, end) {
  11065. var loweredCase = false
  11066. // No need to verify that "this.length <= MAX_UINT32" since it's a read-only
  11067. // property of a typed array.
  11068. // This behaves neither like String nor Uint8Array in that we set start/end
  11069. // to their upper/lower bounds if the value passed is out of range.
  11070. // undefined is handled specially as per ECMA-262 6th Edition,
  11071. // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
  11072. if (start === undefined || start < 0) {
  11073. start = 0
  11074. }
  11075. // Return early if start > this.length. Done here to prevent potential uint32
  11076. // coercion fail below.
  11077. if (start > this.length) {
  11078. return ''
  11079. }
  11080. if (end === undefined || end > this.length) {
  11081. end = this.length
  11082. }
  11083. if (end <= 0) {
  11084. return ''
  11085. }
  11086. // Force coersion to uint32. This will also coerce falsey/NaN values to 0.
  11087. end >>>= 0
  11088. start >>>= 0
  11089. if (end <= start) {
  11090. return ''
  11091. }
  11092. if (!encoding) encoding = 'utf8'
  11093. while (true) {
  11094. switch (encoding) {
  11095. case 'hex':
  11096. return hexSlice(this, start, end)
  11097. case 'utf8':
  11098. case 'utf-8':
  11099. return utf8Slice(this, start, end)
  11100. case 'ascii':
  11101. return asciiSlice(this, start, end)
  11102. case 'latin1':
  11103. case 'binary':
  11104. return latin1Slice(this, start, end)
  11105. case 'base64':
  11106. return base64Slice(this, start, end)
  11107. case 'ucs2':
  11108. case 'ucs-2':
  11109. case 'utf16le':
  11110. case 'utf-16le':
  11111. return utf16leSlice(this, start, end)
  11112. default:
  11113. if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
  11114. encoding = (encoding + '').toLowerCase()
  11115. loweredCase = true
  11116. }
  11117. }
  11118. }
  11119. // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect
  11120. // Buffer instances.
  11121. Buffer.prototype._isBuffer = true
  11122. function swap (b, n, m) {
  11123. var i = b[n]
  11124. b[n] = b[m]
  11125. b[m] = i
  11126. }
  11127. Buffer.prototype.swap16 = function swap16 () {
  11128. var len = this.length
  11129. if (len % 2 !== 0) {
  11130. throw new RangeError('Buffer size must be a multiple of 16-bits')
  11131. }
  11132. for (var i = 0; i < len; i += 2) {
  11133. swap(this, i, i + 1)
  11134. }
  11135. return this
  11136. }
  11137. Buffer.prototype.swap32 = function swap32 () {
  11138. var len = this.length
  11139. if (len % 4 !== 0) {
  11140. throw new RangeError('Buffer size must be a multiple of 32-bits')
  11141. }
  11142. for (var i = 0; i < len; i += 4) {
  11143. swap(this, i, i + 3)
  11144. swap(this, i + 1, i + 2)
  11145. }
  11146. return this
  11147. }
  11148. Buffer.prototype.swap64 = function swap64 () {
  11149. var len = this.length
  11150. if (len % 8 !== 0) {
  11151. throw new RangeError('Buffer size must be a multiple of 64-bits')
  11152. }
  11153. for (var i = 0; i < len; i += 8) {
  11154. swap(this, i, i + 7)
  11155. swap(this, i + 1, i + 6)
  11156. swap(this, i + 2, i + 5)
  11157. swap(this, i + 3, i + 4)
  11158. }
  11159. return this
  11160. }
  11161. Buffer.prototype.toString = function toString () {
  11162. var length = this.length | 0
  11163. if (length === 0) return ''
  11164. if (arguments.length === 0) return utf8Slice(this, 0, length)
  11165. return slowToString.apply(this, arguments)
  11166. }
  11167. Buffer.prototype.equals = function equals (b) {
  11168. if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
  11169. if (this === b) return true
  11170. return Buffer.compare(this, b) === 0
  11171. }
  11172. Buffer.prototype.inspect = function inspect () {
  11173. var str = ''
  11174. var max = exports.INSPECT_MAX_BYTES
  11175. if (this.length > 0) {
  11176. str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')
  11177. if (this.length > max) str += ' ... '
  11178. }
  11179. return '<Buffer ' + str + '>'
  11180. }
  11181. Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
  11182. if (!Buffer.isBuffer(target)) {
  11183. throw new TypeError('Argument must be a Buffer')
  11184. }
  11185. if (start === undefined) {
  11186. start = 0
  11187. }
  11188. if (end === undefined) {
  11189. end = target ? target.length : 0
  11190. }
  11191. if (thisStart === undefined) {
  11192. thisStart = 0
  11193. }
  11194. if (thisEnd === undefined) {
  11195. thisEnd = this.length
  11196. }
  11197. if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
  11198. throw new RangeError('out of range index')
  11199. }
  11200. if (thisStart >= thisEnd && start >= end) {
  11201. return 0
  11202. }
  11203. if (thisStart >= thisEnd) {
  11204. return -1
  11205. }
  11206. if (start >= end) {
  11207. return 1
  11208. }
  11209. start >>>= 0
  11210. end >>>= 0
  11211. thisStart >>>= 0
  11212. thisEnd >>>= 0
  11213. if (this === target) return 0
  11214. var x = thisEnd - thisStart
  11215. var y = end - start
  11216. var len = Math.min(x, y)
  11217. var thisCopy = this.slice(thisStart, thisEnd)
  11218. var targetCopy = target.slice(start, end)
  11219. for (var i = 0; i < len; ++i) {
  11220. if (thisCopy[i] !== targetCopy[i]) {
  11221. x = thisCopy[i]
  11222. y = targetCopy[i]
  11223. break
  11224. }
  11225. }
  11226. if (x < y) return -1
  11227. if (y < x) return 1
  11228. return 0
  11229. }
  11230. // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
  11231. // OR the last index of `val` in `buffer` at offset <= `byteOffset`.
  11232. //
  11233. // Arguments:
  11234. // - buffer - a Buffer to search
  11235. // - val - a string, Buffer, or number
  11236. // - byteOffset - an index into `buffer`; will be clamped to an int32
  11237. // - encoding - an optional encoding, relevant is val is a string
  11238. // - dir - true for indexOf, false for lastIndexOf
  11239. function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
  11240. // Empty buffer means no match
  11241. if (buffer.length === 0) return -1
  11242. // Normalize byteOffset
  11243. if (typeof byteOffset === 'string') {
  11244. encoding = byteOffset
  11245. byteOffset = 0
  11246. } else if (byteOffset > 0x7fffffff) {
  11247. byteOffset = 0x7fffffff
  11248. } else if (byteOffset < -0x80000000) {
  11249. byteOffset = -0x80000000
  11250. }
  11251. byteOffset = +byteOffset // Coerce to Number.
  11252. if (isNaN(byteOffset)) {
  11253. // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
  11254. byteOffset = dir ? 0 : (buffer.length - 1)
  11255. }
  11256. // Normalize byteOffset: negative offsets start from the end of the buffer
  11257. if (byteOffset < 0) byteOffset = buffer.length + byteOffset
  11258. if (byteOffset >= buffer.length) {
  11259. if (dir) return -1
  11260. else byteOffset = buffer.length - 1
  11261. } else if (byteOffset < 0) {
  11262. if (dir) byteOffset = 0
  11263. else return -1
  11264. }
  11265. // Normalize val
  11266. if (typeof val === 'string') {
  11267. val = Buffer.from(val, encoding)
  11268. }
  11269. // Finally, search either indexOf (if dir is true) or lastIndexOf
  11270. if (Buffer.isBuffer(val)) {
  11271. // Special case: looking for empty string/buffer always fails
  11272. if (val.length === 0) {
  11273. return -1
  11274. }
  11275. return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
  11276. } else if (typeof val === 'number') {
  11277. val = val & 0xFF // Search for a byte value [0-255]
  11278. if (Buffer.TYPED_ARRAY_SUPPORT &&
  11279. typeof Uint8Array.prototype.indexOf === 'function') {
  11280. if (dir) {
  11281. return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
  11282. } else {
  11283. return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
  11284. }
  11285. }
  11286. return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)
  11287. }
  11288. throw new TypeError('val must be string, number or Buffer')
  11289. }
  11290. function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
  11291. var indexSize = 1
  11292. var arrLength = arr.length
  11293. var valLength = val.length
  11294. if (encoding !== undefined) {
  11295. encoding = String(encoding).toLowerCase()
  11296. if (encoding === 'ucs2' || encoding === 'ucs-2' ||
  11297. encoding === 'utf16le' || encoding === 'utf-16le') {
  11298. if (arr.length < 2 || val.length < 2) {
  11299. return -1
  11300. }
  11301. indexSize = 2
  11302. arrLength /= 2
  11303. valLength /= 2
  11304. byteOffset /= 2
  11305. }
  11306. }
  11307. function read (buf, i) {
  11308. if (indexSize === 1) {
  11309. return buf[i]
  11310. } else {
  11311. return buf.readUInt16BE(i * indexSize)
  11312. }
  11313. }
  11314. var i
  11315. if (dir) {
  11316. var foundIndex = -1
  11317. for (i = byteOffset; i < arrLength; i++) {
  11318. if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
  11319. if (foundIndex === -1) foundIndex = i
  11320. if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
  11321. } else {
  11322. if (foundIndex !== -1) i -= i - foundIndex
  11323. foundIndex = -1
  11324. }
  11325. }
  11326. } else {
  11327. if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength
  11328. for (i = byteOffset; i >= 0; i--) {
  11329. var found = true
  11330. for (var j = 0; j < valLength; j++) {
  11331. if (read(arr, i + j) !== read(val, j)) {
  11332. found = false
  11333. break
  11334. }
  11335. }
  11336. if (found) return i
  11337. }
  11338. }
  11339. return -1
  11340. }
  11341. Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
  11342. return this.indexOf(val, byteOffset, encoding) !== -1
  11343. }
  11344. Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
  11345. return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
  11346. }
  11347. Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
  11348. return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
  11349. }
  11350. function hexWrite (buf, string, offset, length) {
  11351. offset = Number(offset) || 0
  11352. var remaining = buf.length - offset
  11353. if (!length) {
  11354. length = remaining
  11355. } else {
  11356. length = Number(length)
  11357. if (length > remaining) {
  11358. length = remaining
  11359. }
  11360. }
  11361. // must be an even number of digits
  11362. var strLen = string.length
  11363. if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')
  11364. if (length > strLen / 2) {
  11365. length = strLen / 2
  11366. }
  11367. for (var i = 0; i < length; ++i) {
  11368. var parsed = parseInt(string.substr(i * 2, 2), 16)
  11369. if (isNaN(parsed)) return i
  11370. buf[offset + i] = parsed
  11371. }
  11372. return i
  11373. }
  11374. function utf8Write (buf, string, offset, length) {
  11375. return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
  11376. }
  11377. function asciiWrite (buf, string, offset, length) {
  11378. return blitBuffer(asciiToBytes(string), buf, offset, length)
  11379. }
  11380. function latin1Write (buf, string, offset, length) {
  11381. return asciiWrite(buf, string, offset, length)
  11382. }
  11383. function base64Write (buf, string, offset, length) {
  11384. return blitBuffer(base64ToBytes(string), buf, offset, length)
  11385. }
  11386. function ucs2Write (buf, string, offset, length) {
  11387. return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
  11388. }
  11389. Buffer.prototype.write = function write (string, offset, length, encoding) {
  11390. // Buffer#write(string)
  11391. if (offset === undefined) {
  11392. encoding = 'utf8'
  11393. length = this.length
  11394. offset = 0
  11395. // Buffer#write(string, encoding)
  11396. } else if (length === undefined && typeof offset === 'string') {
  11397. encoding = offset
  11398. length = this.length
  11399. offset = 0
  11400. // Buffer#write(string, offset[, length][, encoding])
  11401. } else if (isFinite(offset)) {
  11402. offset = offset | 0
  11403. if (isFinite(length)) {
  11404. length = length | 0
  11405. if (encoding === undefined) encoding = 'utf8'
  11406. } else {
  11407. encoding = length
  11408. length = undefined
  11409. }
  11410. // legacy write(string, encoding, offset, length) - remove in v0.13
  11411. } else {
  11412. throw new Error(
  11413. 'Buffer.write(string, encoding, offset[, length]) is no longer supported'
  11414. )
  11415. }
  11416. var remaining = this.length - offset
  11417. if (length === undefined || length > remaining) length = remaining
  11418. if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
  11419. throw new RangeError('Attempt to write outside buffer bounds')
  11420. }
  11421. if (!encoding) encoding = 'utf8'
  11422. var loweredCase = false
  11423. for (;;) {
  11424. switch (encoding) {
  11425. case 'hex':
  11426. return hexWrite(this, string, offset, length)
  11427. case 'utf8':
  11428. case 'utf-8':
  11429. return utf8Write(this, string, offset, length)
  11430. case 'ascii':
  11431. return asciiWrite(this, string, offset, length)
  11432. case 'latin1':
  11433. case 'binary':
  11434. return latin1Write(this, string, offset, length)
  11435. case 'base64':
  11436. // Warning: maxLength not taken into account in base64Write
  11437. return base64Write(this, string, offset, length)
  11438. case 'ucs2':
  11439. case 'ucs-2':
  11440. case 'utf16le':
  11441. case 'utf-16le':
  11442. return ucs2Write(this, string, offset, length)
  11443. default:
  11444. if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
  11445. encoding = ('' + encoding).toLowerCase()
  11446. loweredCase = true
  11447. }
  11448. }
  11449. }
  11450. Buffer.prototype.toJSON = function toJSON () {
  11451. return {
  11452. type: 'Buffer',
  11453. data: Array.prototype.slice.call(this._arr || this, 0)
  11454. }
  11455. }
  11456. function base64Slice (buf, start, end) {
  11457. if (start === 0 && end === buf.length) {
  11458. return base64.fromByteArray(buf)
  11459. } else {
  11460. return base64.fromByteArray(buf.slice(start, end))
  11461. }
  11462. }
  11463. function utf8Slice (buf, start, end) {
  11464. end = Math.min(buf.length, end)
  11465. var res = []
  11466. var i = start
  11467. while (i < end) {
  11468. var firstByte = buf[i]
  11469. var codePoint = null
  11470. var bytesPerSequence = (firstByte > 0xEF) ? 4
  11471. : (firstByte > 0xDF) ? 3
  11472. : (firstByte > 0xBF) ? 2
  11473. : 1
  11474. if (i + bytesPerSequence <= end) {
  11475. var secondByte, thirdByte, fourthByte, tempCodePoint
  11476. switch (bytesPerSequence) {
  11477. case 1:
  11478. if (firstByte < 0x80) {
  11479. codePoint = firstByte
  11480. }
  11481. break
  11482. case 2:
  11483. secondByte = buf[i + 1]
  11484. if ((secondByte & 0xC0) === 0x80) {
  11485. tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
  11486. if (tempCodePoint > 0x7F) {
  11487. codePoint = tempCodePoint
  11488. }
  11489. }
  11490. break
  11491. case 3:
  11492. secondByte = buf[i + 1]
  11493. thirdByte = buf[i + 2]
  11494. if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
  11495. tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
  11496. if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
  11497. codePoint = tempCodePoint
  11498. }
  11499. }
  11500. break
  11501. case 4:
  11502. secondByte = buf[i + 1]
  11503. thirdByte = buf[i + 2]
  11504. fourthByte = buf[i + 3]
  11505. if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
  11506. tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
  11507. if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
  11508. codePoint = tempCodePoint
  11509. }
  11510. }
  11511. }
  11512. }
  11513. if (codePoint === null) {
  11514. // we did not generate a valid codePoint so insert a
  11515. // replacement char (U+FFFD) and advance only 1 byte
  11516. codePoint = 0xFFFD
  11517. bytesPerSequence = 1
  11518. } else if (codePoint > 0xFFFF) {
  11519. // encode to utf16 (surrogate pair dance)
  11520. codePoint -= 0x10000
  11521. res.push(codePoint >>> 10 & 0x3FF | 0xD800)
  11522. codePoint = 0xDC00 | codePoint & 0x3FF
  11523. }
  11524. res.push(codePoint)
  11525. i += bytesPerSequence
  11526. }
  11527. return decodeCodePointsArray(res)
  11528. }
  11529. // Based on http://stackoverflow.com/a/22747272/680742, the browser with
  11530. // the lowest limit is Chrome, with 0x10000 args.
  11531. // We go 1 magnitude less, for safety
  11532. var MAX_ARGUMENTS_LENGTH = 0x1000
  11533. function decodeCodePointsArray (codePoints) {
  11534. var len = codePoints.length
  11535. if (len <= MAX_ARGUMENTS_LENGTH) {
  11536. return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
  11537. }
  11538. // Decode in chunks to avoid "call stack size exceeded".
  11539. var res = ''
  11540. var i = 0
  11541. while (i < len) {
  11542. res += String.fromCharCode.apply(
  11543. String,
  11544. codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
  11545. )
  11546. }
  11547. return res
  11548. }
  11549. function asciiSlice (buf, start, end) {
  11550. var ret = ''
  11551. end = Math.min(buf.length, end)
  11552. for (var i = start; i < end; ++i) {
  11553. ret += String.fromCharCode(buf[i] & 0x7F)
  11554. }
  11555. return ret
  11556. }
  11557. function latin1Slice (buf, start, end) {
  11558. var ret = ''
  11559. end = Math.min(buf.length, end)
  11560. for (var i = start; i < end; ++i) {
  11561. ret += String.fromCharCode(buf[i])
  11562. }
  11563. return ret
  11564. }
  11565. function hexSlice (buf, start, end) {
  11566. var len = buf.length
  11567. if (!start || start < 0) start = 0
  11568. if (!end || end < 0 || end > len) end = len
  11569. var out = ''
  11570. for (var i = start; i < end; ++i) {
  11571. out += toHex(buf[i])
  11572. }
  11573. return out
  11574. }
  11575. function utf16leSlice (buf, start, end) {
  11576. var bytes = buf.slice(start, end)
  11577. var res = ''
  11578. for (var i = 0; i < bytes.length; i += 2) {
  11579. res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
  11580. }
  11581. return res
  11582. }
  11583. Buffer.prototype.slice = function slice (start, end) {
  11584. var len = this.length
  11585. start = ~~start
  11586. end = end === undefined ? len : ~~end
  11587. if (start < 0) {
  11588. start += len
  11589. if (start < 0) start = 0
  11590. } else if (start > len) {
  11591. start = len
  11592. }
  11593. if (end < 0) {
  11594. end += len
  11595. if (end < 0) end = 0
  11596. } else if (end > len) {
  11597. end = len
  11598. }
  11599. if (end < start) end = start
  11600. var newBuf
  11601. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11602. newBuf = this.subarray(start, end)
  11603. newBuf.__proto__ = Buffer.prototype
  11604. } else {
  11605. var sliceLen = end - start
  11606. newBuf = new Buffer(sliceLen, undefined)
  11607. for (var i = 0; i < sliceLen; ++i) {
  11608. newBuf[i] = this[i + start]
  11609. }
  11610. }
  11611. return newBuf
  11612. }
  11613. /*
  11614. * Need to make sure that buffer isn't trying to write out of bounds.
  11615. */
  11616. function checkOffset (offset, ext, length) {
  11617. if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
  11618. if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
  11619. }
  11620. Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
  11621. offset = offset | 0
  11622. byteLength = byteLength | 0
  11623. if (!noAssert) checkOffset(offset, byteLength, this.length)
  11624. var val = this[offset]
  11625. var mul = 1
  11626. var i = 0
  11627. while (++i < byteLength && (mul *= 0x100)) {
  11628. val += this[offset + i] * mul
  11629. }
  11630. return val
  11631. }
  11632. Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
  11633. offset = offset | 0
  11634. byteLength = byteLength | 0
  11635. if (!noAssert) {
  11636. checkOffset(offset, byteLength, this.length)
  11637. }
  11638. var val = this[offset + --byteLength]
  11639. var mul = 1
  11640. while (byteLength > 0 && (mul *= 0x100)) {
  11641. val += this[offset + --byteLength] * mul
  11642. }
  11643. return val
  11644. }
  11645. Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
  11646. if (!noAssert) checkOffset(offset, 1, this.length)
  11647. return this[offset]
  11648. }
  11649. Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
  11650. if (!noAssert) checkOffset(offset, 2, this.length)
  11651. return this[offset] | (this[offset + 1] << 8)
  11652. }
  11653. Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
  11654. if (!noAssert) checkOffset(offset, 2, this.length)
  11655. return (this[offset] << 8) | this[offset + 1]
  11656. }
  11657. Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
  11658. if (!noAssert) checkOffset(offset, 4, this.length)
  11659. return ((this[offset]) |
  11660. (this[offset + 1] << 8) |
  11661. (this[offset + 2] << 16)) +
  11662. (this[offset + 3] * 0x1000000)
  11663. }
  11664. Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
  11665. if (!noAssert) checkOffset(offset, 4, this.length)
  11666. return (this[offset] * 0x1000000) +
  11667. ((this[offset + 1] << 16) |
  11668. (this[offset + 2] << 8) |
  11669. this[offset + 3])
  11670. }
  11671. Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
  11672. offset = offset | 0
  11673. byteLength = byteLength | 0
  11674. if (!noAssert) checkOffset(offset, byteLength, this.length)
  11675. var val = this[offset]
  11676. var mul = 1
  11677. var i = 0
  11678. while (++i < byteLength && (mul *= 0x100)) {
  11679. val += this[offset + i] * mul
  11680. }
  11681. mul *= 0x80
  11682. if (val >= mul) val -= Math.pow(2, 8 * byteLength)
  11683. return val
  11684. }
  11685. Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
  11686. offset = offset | 0
  11687. byteLength = byteLength | 0
  11688. if (!noAssert) checkOffset(offset, byteLength, this.length)
  11689. var i = byteLength
  11690. var mul = 1
  11691. var val = this[offset + --i]
  11692. while (i > 0 && (mul *= 0x100)) {
  11693. val += this[offset + --i] * mul
  11694. }
  11695. mul *= 0x80
  11696. if (val >= mul) val -= Math.pow(2, 8 * byteLength)
  11697. return val
  11698. }
  11699. Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
  11700. if (!noAssert) checkOffset(offset, 1, this.length)
  11701. if (!(this[offset] & 0x80)) return (this[offset])
  11702. return ((0xff - this[offset] + 1) * -1)
  11703. }
  11704. Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
  11705. if (!noAssert) checkOffset(offset, 2, this.length)
  11706. var val = this[offset] | (this[offset + 1] << 8)
  11707. return (val & 0x8000) ? val | 0xFFFF0000 : val
  11708. }
  11709. Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
  11710. if (!noAssert) checkOffset(offset, 2, this.length)
  11711. var val = this[offset + 1] | (this[offset] << 8)
  11712. return (val & 0x8000) ? val | 0xFFFF0000 : val
  11713. }
  11714. Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
  11715. if (!noAssert) checkOffset(offset, 4, this.length)
  11716. return (this[offset]) |
  11717. (this[offset + 1] << 8) |
  11718. (this[offset + 2] << 16) |
  11719. (this[offset + 3] << 24)
  11720. }
  11721. Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
  11722. if (!noAssert) checkOffset(offset, 4, this.length)
  11723. return (this[offset] << 24) |
  11724. (this[offset + 1] << 16) |
  11725. (this[offset + 2] << 8) |
  11726. (this[offset + 3])
  11727. }
  11728. Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
  11729. if (!noAssert) checkOffset(offset, 4, this.length)
  11730. return ieee754.read(this, offset, true, 23, 4)
  11731. }
  11732. Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
  11733. if (!noAssert) checkOffset(offset, 4, this.length)
  11734. return ieee754.read(this, offset, false, 23, 4)
  11735. }
  11736. Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
  11737. if (!noAssert) checkOffset(offset, 8, this.length)
  11738. return ieee754.read(this, offset, true, 52, 8)
  11739. }
  11740. Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
  11741. if (!noAssert) checkOffset(offset, 8, this.length)
  11742. return ieee754.read(this, offset, false, 52, 8)
  11743. }
  11744. function checkInt (buf, value, offset, ext, max, min) {
  11745. if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
  11746. if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
  11747. if (offset + ext > buf.length) throw new RangeError('Index out of range')
  11748. }
  11749. Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
  11750. value = +value
  11751. offset = offset | 0
  11752. byteLength = byteLength | 0
  11753. if (!noAssert) {
  11754. var maxBytes = Math.pow(2, 8 * byteLength) - 1
  11755. checkInt(this, value, offset, byteLength, maxBytes, 0)
  11756. }
  11757. var mul = 1
  11758. var i = 0
  11759. this[offset] = value & 0xFF
  11760. while (++i < byteLength && (mul *= 0x100)) {
  11761. this[offset + i] = (value / mul) & 0xFF
  11762. }
  11763. return offset + byteLength
  11764. }
  11765. Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
  11766. value = +value
  11767. offset = offset | 0
  11768. byteLength = byteLength | 0
  11769. if (!noAssert) {
  11770. var maxBytes = Math.pow(2, 8 * byteLength) - 1
  11771. checkInt(this, value, offset, byteLength, maxBytes, 0)
  11772. }
  11773. var i = byteLength - 1
  11774. var mul = 1
  11775. this[offset + i] = value & 0xFF
  11776. while (--i >= 0 && (mul *= 0x100)) {
  11777. this[offset + i] = (value / mul) & 0xFF
  11778. }
  11779. return offset + byteLength
  11780. }
  11781. Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
  11782. value = +value
  11783. offset = offset | 0
  11784. if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
  11785. if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
  11786. this[offset] = (value & 0xff)
  11787. return offset + 1
  11788. }
  11789. function objectWriteUInt16 (buf, value, offset, littleEndian) {
  11790. if (value < 0) value = 0xffff + value + 1
  11791. for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {
  11792. buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
  11793. (littleEndian ? i : 1 - i) * 8
  11794. }
  11795. }
  11796. Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
  11797. value = +value
  11798. offset = offset | 0
  11799. if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  11800. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11801. this[offset] = (value & 0xff)
  11802. this[offset + 1] = (value >>> 8)
  11803. } else {
  11804. objectWriteUInt16(this, value, offset, true)
  11805. }
  11806. return offset + 2
  11807. }
  11808. Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
  11809. value = +value
  11810. offset = offset | 0
  11811. if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  11812. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11813. this[offset] = (value >>> 8)
  11814. this[offset + 1] = (value & 0xff)
  11815. } else {
  11816. objectWriteUInt16(this, value, offset, false)
  11817. }
  11818. return offset + 2
  11819. }
  11820. function objectWriteUInt32 (buf, value, offset, littleEndian) {
  11821. if (value < 0) value = 0xffffffff + value + 1
  11822. for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {
  11823. buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
  11824. }
  11825. }
  11826. Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
  11827. value = +value
  11828. offset = offset | 0
  11829. if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  11830. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11831. this[offset + 3] = (value >>> 24)
  11832. this[offset + 2] = (value >>> 16)
  11833. this[offset + 1] = (value >>> 8)
  11834. this[offset] = (value & 0xff)
  11835. } else {
  11836. objectWriteUInt32(this, value, offset, true)
  11837. }
  11838. return offset + 4
  11839. }
  11840. Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
  11841. value = +value
  11842. offset = offset | 0
  11843. if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  11844. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11845. this[offset] = (value >>> 24)
  11846. this[offset + 1] = (value >>> 16)
  11847. this[offset + 2] = (value >>> 8)
  11848. this[offset + 3] = (value & 0xff)
  11849. } else {
  11850. objectWriteUInt32(this, value, offset, false)
  11851. }
  11852. return offset + 4
  11853. }
  11854. Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
  11855. value = +value
  11856. offset = offset | 0
  11857. if (!noAssert) {
  11858. var limit = Math.pow(2, 8 * byteLength - 1)
  11859. checkInt(this, value, offset, byteLength, limit - 1, -limit)
  11860. }
  11861. var i = 0
  11862. var mul = 1
  11863. var sub = 0
  11864. this[offset] = value & 0xFF
  11865. while (++i < byteLength && (mul *= 0x100)) {
  11866. if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
  11867. sub = 1
  11868. }
  11869. this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  11870. }
  11871. return offset + byteLength
  11872. }
  11873. Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
  11874. value = +value
  11875. offset = offset | 0
  11876. if (!noAssert) {
  11877. var limit = Math.pow(2, 8 * byteLength - 1)
  11878. checkInt(this, value, offset, byteLength, limit - 1, -limit)
  11879. }
  11880. var i = byteLength - 1
  11881. var mul = 1
  11882. var sub = 0
  11883. this[offset + i] = value & 0xFF
  11884. while (--i >= 0 && (mul *= 0x100)) {
  11885. if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
  11886. sub = 1
  11887. }
  11888. this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  11889. }
  11890. return offset + byteLength
  11891. }
  11892. Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
  11893. value = +value
  11894. offset = offset | 0
  11895. if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
  11896. if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
  11897. if (value < 0) value = 0xff + value + 1
  11898. this[offset] = (value & 0xff)
  11899. return offset + 1
  11900. }
  11901. Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
  11902. value = +value
  11903. offset = offset | 0
  11904. if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  11905. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11906. this[offset] = (value & 0xff)
  11907. this[offset + 1] = (value >>> 8)
  11908. } else {
  11909. objectWriteUInt16(this, value, offset, true)
  11910. }
  11911. return offset + 2
  11912. }
  11913. Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
  11914. value = +value
  11915. offset = offset | 0
  11916. if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  11917. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11918. this[offset] = (value >>> 8)
  11919. this[offset + 1] = (value & 0xff)
  11920. } else {
  11921. objectWriteUInt16(this, value, offset, false)
  11922. }
  11923. return offset + 2
  11924. }
  11925. Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
  11926. value = +value
  11927. offset = offset | 0
  11928. if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  11929. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11930. this[offset] = (value & 0xff)
  11931. this[offset + 1] = (value >>> 8)
  11932. this[offset + 2] = (value >>> 16)
  11933. this[offset + 3] = (value >>> 24)
  11934. } else {
  11935. objectWriteUInt32(this, value, offset, true)
  11936. }
  11937. return offset + 4
  11938. }
  11939. Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
  11940. value = +value
  11941. offset = offset | 0
  11942. if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  11943. if (value < 0) value = 0xffffffff + value + 1
  11944. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11945. this[offset] = (value >>> 24)
  11946. this[offset + 1] = (value >>> 16)
  11947. this[offset + 2] = (value >>> 8)
  11948. this[offset + 3] = (value & 0xff)
  11949. } else {
  11950. objectWriteUInt32(this, value, offset, false)
  11951. }
  11952. return offset + 4
  11953. }
  11954. function checkIEEE754 (buf, value, offset, ext, max, min) {
  11955. if (offset + ext > buf.length) throw new RangeError('Index out of range')
  11956. if (offset < 0) throw new RangeError('Index out of range')
  11957. }
  11958. function writeFloat (buf, value, offset, littleEndian, noAssert) {
  11959. if (!noAssert) {
  11960. checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
  11961. }
  11962. ieee754.write(buf, value, offset, littleEndian, 23, 4)
  11963. return offset + 4
  11964. }
  11965. Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
  11966. return writeFloat(this, value, offset, true, noAssert)
  11967. }
  11968. Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
  11969. return writeFloat(this, value, offset, false, noAssert)
  11970. }
  11971. function writeDouble (buf, value, offset, littleEndian, noAssert) {
  11972. if (!noAssert) {
  11973. checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
  11974. }
  11975. ieee754.write(buf, value, offset, littleEndian, 52, 8)
  11976. return offset + 8
  11977. }
  11978. Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
  11979. return writeDouble(this, value, offset, true, noAssert)
  11980. }
  11981. Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
  11982. return writeDouble(this, value, offset, false, noAssert)
  11983. }
  11984. // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
  11985. Buffer.prototype.copy = function copy (target, targetStart, start, end) {
  11986. if (!start) start = 0
  11987. if (!end && end !== 0) end = this.length
  11988. if (targetStart >= target.length) targetStart = target.length
  11989. if (!targetStart) targetStart = 0
  11990. if (end > 0 && end < start) end = start
  11991. // Copy 0 bytes; we're done
  11992. if (end === start) return 0
  11993. if (target.length === 0 || this.length === 0) return 0
  11994. // Fatal error conditions
  11995. if (targetStart < 0) {
  11996. throw new RangeError('targetStart out of bounds')
  11997. }
  11998. if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')
  11999. if (end < 0) throw new RangeError('sourceEnd out of bounds')
  12000. // Are we oob?
  12001. if (end > this.length) end = this.length
  12002. if (target.length - targetStart < end - start) {
  12003. end = target.length - targetStart + start
  12004. }
  12005. var len = end - start
  12006. var i
  12007. if (this === target && start < targetStart && targetStart < end) {
  12008. // descending copy from end
  12009. for (i = len - 1; i >= 0; --i) {
  12010. target[i + targetStart] = this[i + start]
  12011. }
  12012. } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
  12013. // ascending copy from start
  12014. for (i = 0; i < len; ++i) {
  12015. target[i + targetStart] = this[i + start]
  12016. }
  12017. } else {
  12018. Uint8Array.prototype.set.call(
  12019. target,
  12020. this.subarray(start, start + len),
  12021. targetStart
  12022. )
  12023. }
  12024. return len
  12025. }
  12026. // Usage:
  12027. // buffer.fill(number[, offset[, end]])
  12028. // buffer.fill(buffer[, offset[, end]])
  12029. // buffer.fill(string[, offset[, end]][, encoding])
  12030. Buffer.prototype.fill = function fill (val, start, end, encoding) {
  12031. // Handle string cases:
  12032. if (typeof val === 'string') {
  12033. if (typeof start === 'string') {
  12034. encoding = start
  12035. start = 0
  12036. end = this.length
  12037. } else if (typeof end === 'string') {
  12038. encoding = end
  12039. end = this.length
  12040. }
  12041. if (val.length === 1) {
  12042. var code = val.charCodeAt(0)
  12043. if (code < 256) {
  12044. val = code
  12045. }
  12046. }
  12047. if (encoding !== undefined && typeof encoding !== 'string') {
  12048. throw new TypeError('encoding must be a string')
  12049. }
  12050. if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
  12051. throw new TypeError('Unknown encoding: ' + encoding)
  12052. }
  12053. } else if (typeof val === 'number') {
  12054. val = val & 255
  12055. }
  12056. // Invalid ranges are not set to a default, so can range check early.
  12057. if (start < 0 || this.length < start || this.length < end) {
  12058. throw new RangeError('Out of range index')
  12059. }
  12060. if (end <= start) {
  12061. return this
  12062. }
  12063. start = start >>> 0
  12064. end = end === undefined ? this.length : end >>> 0
  12065. if (!val) val = 0
  12066. var i
  12067. if (typeof val === 'number') {
  12068. for (i = start; i < end; ++i) {
  12069. this[i] = val
  12070. }
  12071. } else {
  12072. var bytes = Buffer.isBuffer(val)
  12073. ? val
  12074. : utf8ToBytes(new Buffer(val, encoding).toString())
  12075. var len = bytes.length
  12076. for (i = 0; i < end - start; ++i) {
  12077. this[i + start] = bytes[i % len]
  12078. }
  12079. }
  12080. return this
  12081. }
  12082. // HELPER FUNCTIONS
  12083. // ================
  12084. var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
  12085. function base64clean (str) {
  12086. // Node strips out invalid characters like \n and \t from the string, base64-js does not
  12087. str = stringtrim(str).replace(INVALID_BASE64_RE, '')
  12088. // Node converts strings with length < 2 to ''
  12089. if (str.length < 2) return ''
  12090. // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
  12091. while (str.length % 4 !== 0) {
  12092. str = str + '='
  12093. }
  12094. return str
  12095. }
  12096. function stringtrim (str) {
  12097. if (str.trim) return str.trim()
  12098. return str.replace(/^\s+|\s+$/g, '')
  12099. }
  12100. function toHex (n) {
  12101. if (n < 16) return '0' + n.toString(16)
  12102. return n.toString(16)
  12103. }
  12104. function utf8ToBytes (string, units) {
  12105. units = units || Infinity
  12106. var codePoint
  12107. var length = string.length
  12108. var leadSurrogate = null
  12109. var bytes = []
  12110. for (var i = 0; i < length; ++i) {
  12111. codePoint = string.charCodeAt(i)
  12112. // is surrogate component
  12113. if (codePoint > 0xD7FF && codePoint < 0xE000) {
  12114. // last char was a lead
  12115. if (!leadSurrogate) {
  12116. // no lead yet
  12117. if (codePoint > 0xDBFF) {
  12118. // unexpected trail
  12119. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12120. continue
  12121. } else if (i + 1 === length) {
  12122. // unpaired lead
  12123. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12124. continue
  12125. }
  12126. // valid lead
  12127. leadSurrogate = codePoint
  12128. continue
  12129. }
  12130. // 2 leads in a row
  12131. if (codePoint < 0xDC00) {
  12132. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12133. leadSurrogate = codePoint
  12134. continue
  12135. }
  12136. // valid surrogate pair
  12137. codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
  12138. } else if (leadSurrogate) {
  12139. // valid bmp char, but last char was a lead
  12140. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12141. }
  12142. leadSurrogate = null
  12143. // encode utf8
  12144. if (codePoint < 0x80) {
  12145. if ((units -= 1) < 0) break
  12146. bytes.push(codePoint)
  12147. } else if (codePoint < 0x800) {
  12148. if ((units -= 2) < 0) break
  12149. bytes.push(
  12150. codePoint >> 0x6 | 0xC0,
  12151. codePoint & 0x3F | 0x80
  12152. )
  12153. } else if (codePoint < 0x10000) {
  12154. if ((units -= 3) < 0) break
  12155. bytes.push(
  12156. codePoint >> 0xC | 0xE0,
  12157. codePoint >> 0x6 & 0x3F | 0x80,
  12158. codePoint & 0x3F | 0x80
  12159. )
  12160. } else if (codePoint < 0x110000) {
  12161. if ((units -= 4) < 0) break
  12162. bytes.push(
  12163. codePoint >> 0x12 | 0xF0,
  12164. codePoint >> 0xC & 0x3F | 0x80,
  12165. codePoint >> 0x6 & 0x3F | 0x80,
  12166. codePoint & 0x3F | 0x80
  12167. )
  12168. } else {
  12169. throw new Error('Invalid code point')
  12170. }
  12171. }
  12172. return bytes
  12173. }
  12174. function asciiToBytes (str) {
  12175. var byteArray = []
  12176. for (var i = 0; i < str.length; ++i) {
  12177. // Node's code seems to be doing this and not & 0x7F..
  12178. byteArray.push(str.charCodeAt(i) & 0xFF)
  12179. }
  12180. return byteArray
  12181. }
  12182. function utf16leToBytes (str, units) {
  12183. var c, hi, lo
  12184. var byteArray = []
  12185. for (var i = 0; i < str.length; ++i) {
  12186. if ((units -= 2) < 0) break
  12187. c = str.charCodeAt(i)
  12188. hi = c >> 8
  12189. lo = c % 256
  12190. byteArray.push(lo)
  12191. byteArray.push(hi)
  12192. }
  12193. return byteArray
  12194. }
  12195. function base64ToBytes (str) {
  12196. return base64.toByteArray(base64clean(str))
  12197. }
  12198. function blitBuffer (src, dst, offset, length) {
  12199. for (var i = 0; i < length; ++i) {
  12200. if ((i + offset >= dst.length) || (i >= src.length)) break
  12201. dst[i + offset] = src[i]
  12202. }
  12203. return i
  12204. }
  12205. function isnan (val) {
  12206. return val !== val // eslint-disable-line no-self-compare
  12207. }
  12208. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ 3)))
  12209. /***/ }),
  12210. /* 56 */
  12211. /*!*****************************************!*\
  12212. !*** ./node_modules/base64-js/index.js ***!
  12213. \*****************************************/
  12214. /*! no static exports found */
  12215. /***/ (function(module, exports, __webpack_require__) {
  12216. "use strict";
  12217. exports.byteLength = byteLength
  12218. exports.toByteArray = toByteArray
  12219. exports.fromByteArray = fromByteArray
  12220. var lookup = []
  12221. var revLookup = []
  12222. var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
  12223. var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
  12224. for (var i = 0, len = code.length; i < len; ++i) {
  12225. lookup[i] = code[i]
  12226. revLookup[code.charCodeAt(i)] = i
  12227. }
  12228. // Support decoding URL-safe base64 strings, as Node.js does.
  12229. // See: https://en.wikipedia.org/wiki/Base64#URL_applications
  12230. revLookup['-'.charCodeAt(0)] = 62
  12231. revLookup['_'.charCodeAt(0)] = 63
  12232. function getLens (b64) {
  12233. var len = b64.length
  12234. if (len % 4 > 0) {
  12235. throw new Error('Invalid string. Length must be a multiple of 4')
  12236. }
  12237. // Trim off extra bytes after placeholder bytes are found
  12238. // See: https://github.com/beatgammit/base64-js/issues/42
  12239. var validLen = b64.indexOf('=')
  12240. if (validLen === -1) validLen = len
  12241. var placeHoldersLen = validLen === len
  12242. ? 0
  12243. : 4 - (validLen % 4)
  12244. return [validLen, placeHoldersLen]
  12245. }
  12246. // base64 is 4/3 + up to two characters of the original data
  12247. function byteLength (b64) {
  12248. var lens = getLens(b64)
  12249. var validLen = lens[0]
  12250. var placeHoldersLen = lens[1]
  12251. return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
  12252. }
  12253. function _byteLength (b64, validLen, placeHoldersLen) {
  12254. return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
  12255. }
  12256. function toByteArray (b64) {
  12257. var tmp
  12258. var lens = getLens(b64)
  12259. var validLen = lens[0]
  12260. var placeHoldersLen = lens[1]
  12261. var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
  12262. var curByte = 0
  12263. // if there are placeholders, only get up to the last complete 4 chars
  12264. var len = placeHoldersLen > 0
  12265. ? validLen - 4
  12266. : validLen
  12267. var i
  12268. for (i = 0; i < len; i += 4) {
  12269. tmp =
  12270. (revLookup[b64.charCodeAt(i)] << 18) |
  12271. (revLookup[b64.charCodeAt(i + 1)] << 12) |
  12272. (revLookup[b64.charCodeAt(i + 2)] << 6) |
  12273. revLookup[b64.charCodeAt(i + 3)]
  12274. arr[curByte++] = (tmp >> 16) & 0xFF
  12275. arr[curByte++] = (tmp >> 8) & 0xFF
  12276. arr[curByte++] = tmp & 0xFF
  12277. }
  12278. if (placeHoldersLen === 2) {
  12279. tmp =
  12280. (revLookup[b64.charCodeAt(i)] << 2) |
  12281. (revLookup[b64.charCodeAt(i + 1)] >> 4)
  12282. arr[curByte++] = tmp & 0xFF
  12283. }
  12284. if (placeHoldersLen === 1) {
  12285. tmp =
  12286. (revLookup[b64.charCodeAt(i)] << 10) |
  12287. (revLookup[b64.charCodeAt(i + 1)] << 4) |
  12288. (revLookup[b64.charCodeAt(i + 2)] >> 2)
  12289. arr[curByte++] = (tmp >> 8) & 0xFF
  12290. arr[curByte++] = tmp & 0xFF
  12291. }
  12292. return arr
  12293. }
  12294. function tripletToBase64 (num) {
  12295. return lookup[num >> 18 & 0x3F] +
  12296. lookup[num >> 12 & 0x3F] +
  12297. lookup[num >> 6 & 0x3F] +
  12298. lookup[num & 0x3F]
  12299. }
  12300. function encodeChunk (uint8, start, end) {
  12301. var tmp
  12302. var output = []
  12303. for (var i = start; i < end; i += 3) {
  12304. tmp =
  12305. ((uint8[i] << 16) & 0xFF0000) +
  12306. ((uint8[i + 1] << 8) & 0xFF00) +
  12307. (uint8[i + 2] & 0xFF)
  12308. output.push(tripletToBase64(tmp))
  12309. }
  12310. return output.join('')
  12311. }
  12312. function fromByteArray (uint8) {
  12313. var tmp
  12314. var len = uint8.length
  12315. var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
  12316. var parts = []
  12317. var maxChunkLength = 16383 // must be multiple of 3
  12318. // go through the array every three bytes, we'll deal with trailing stuff later
  12319. for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
  12320. parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
  12321. }
  12322. // pad the end with zeros, but make sure to not forget the extra bytes
  12323. if (extraBytes === 1) {
  12324. tmp = uint8[len - 1]
  12325. parts.push(
  12326. lookup[tmp >> 2] +
  12327. lookup[(tmp << 4) & 0x3F] +
  12328. '=='
  12329. )
  12330. } else if (extraBytes === 2) {
  12331. tmp = (uint8[len - 2] << 8) + uint8[len - 1]
  12332. parts.push(
  12333. lookup[tmp >> 10] +
  12334. lookup[(tmp >> 4) & 0x3F] +
  12335. lookup[(tmp << 2) & 0x3F] +
  12336. '='
  12337. )
  12338. }
  12339. return parts.join('')
  12340. }
  12341. /***/ }),
  12342. /* 57 */
  12343. /*!***************************************!*\
  12344. !*** ./node_modules/ieee754/index.js ***!
  12345. \***************************************/
  12346. /*! no static exports found */
  12347. /***/ (function(module, exports) {
  12348. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  12349. exports.read = function (buffer, offset, isLE, mLen, nBytes) {
  12350. var e, m
  12351. var eLen = (nBytes * 8) - mLen - 1
  12352. var eMax = (1 << eLen) - 1
  12353. var eBias = eMax >> 1
  12354. var nBits = -7
  12355. var i = isLE ? (nBytes - 1) : 0
  12356. var d = isLE ? -1 : 1
  12357. var s = buffer[offset + i]
  12358. i += d
  12359. e = s & ((1 << (-nBits)) - 1)
  12360. s >>= (-nBits)
  12361. nBits += eLen
  12362. for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
  12363. m = e & ((1 << (-nBits)) - 1)
  12364. e >>= (-nBits)
  12365. nBits += mLen
  12366. for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
  12367. if (e === 0) {
  12368. e = 1 - eBias
  12369. } else if (e === eMax) {
  12370. return m ? NaN : ((s ? -1 : 1) * Infinity)
  12371. } else {
  12372. m = m + Math.pow(2, mLen)
  12373. e = e - eBias
  12374. }
  12375. return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
  12376. }
  12377. exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
  12378. var e, m, c
  12379. var eLen = (nBytes * 8) - mLen - 1
  12380. var eMax = (1 << eLen) - 1
  12381. var eBias = eMax >> 1
  12382. var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
  12383. var i = isLE ? 0 : (nBytes - 1)
  12384. var d = isLE ? 1 : -1
  12385. var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
  12386. value = Math.abs(value)
  12387. if (isNaN(value) || value === Infinity) {
  12388. m = isNaN(value) ? 1 : 0
  12389. e = eMax
  12390. } else {
  12391. e = Math.floor(Math.log(value) / Math.LN2)
  12392. if (value * (c = Math.pow(2, -e)) < 1) {
  12393. e--
  12394. c *= 2
  12395. }
  12396. if (e + eBias >= 1) {
  12397. value += rt / c
  12398. } else {
  12399. value += rt * Math.pow(2, 1 - eBias)
  12400. }
  12401. if (value * c >= 2) {
  12402. e++
  12403. c /= 2
  12404. }
  12405. if (e + eBias >= eMax) {
  12406. m = 0
  12407. e = eMax
  12408. } else if (e + eBias >= 1) {
  12409. m = ((value * c) - 1) * Math.pow(2, mLen)
  12410. e = e + eBias
  12411. } else {
  12412. m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
  12413. e = 0
  12414. }
  12415. }
  12416. for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
  12417. e = (e << mLen) | m
  12418. eLen += mLen
  12419. for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
  12420. buffer[offset + i - d] |= s * 128
  12421. }
  12422. /***/ }),
  12423. /* 58 */
  12424. /*!***************************************!*\
  12425. !*** ./node_modules/isarray/index.js ***!
  12426. \***************************************/
  12427. /*! no static exports found */
  12428. /***/ (function(module, exports) {
  12429. var toString = {}.toString;
  12430. module.exports = Array.isArray || function (arr) {
  12431. return toString.call(arr) == '[object Array]';
  12432. };
  12433. /***/ }),
  12434. /* 59 */
  12435. /*!***********************************************************************************************************************************************!*\
  12436. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/util/route.js ***!
  12437. \***********************************************************************************************************************************************/
  12438. /*! no static exports found */
  12439. /***/ (function(module, exports, __webpack_require__) {
  12440. "use strict";
  12441. /* WEBPACK VAR INJECTION */(function(uni) {
  12442. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  12443. Object.defineProperty(exports, "__esModule", {
  12444. value: true
  12445. });
  12446. exports.default = void 0;
  12447. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  12448. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  12449. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  12450. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  12451. /**
  12452. * 路由跳转方法,该方法相对于直接使用uni.xxx的好处是使用更加简单快捷
  12453. * 并且带有路由拦截功能
  12454. */
  12455. var Router = /*#__PURE__*/function () {
  12456. function Router() {
  12457. (0, _classCallCheck2.default)(this, Router);
  12458. // 原始属性定义
  12459. this.config = {
  12460. type: 'navigateTo',
  12461. url: '',
  12462. delta: 1,
  12463. // navigateBack页面后退时,回退的层数
  12464. params: {},
  12465. // 传递的参数
  12466. animationType: 'pop-in',
  12467. // 窗口动画,只在APP有效
  12468. animationDuration: 300,
  12469. // 窗口动画持续时间,单位毫秒,只在APP有效
  12470. intercept: false // 是否需要拦截
  12471. };
  12472. // 因为route方法是需要对外赋值给另外的对象使用,同时route内部有使用this,会导致route失去上下文
  12473. // 这里在构造函数中进行this绑定
  12474. this.route = this.route.bind(this);
  12475. }
  12476. // 判断url前面是否有"/",如果没有则加上,否则无法跳转
  12477. (0, _createClass2.default)(Router, [{
  12478. key: "addRootPath",
  12479. value: function addRootPath(url) {
  12480. return url[0] === '/' ? url : "/".concat(url);
  12481. }
  12482. // 整合路由参数
  12483. }, {
  12484. key: "mixinParam",
  12485. value: function mixinParam(url, params) {
  12486. url = url && this.addRootPath(url);
  12487. // 使用正则匹配,主要依据是判断是否有"/","?","="等,如“/page/index/index?name=mary"
  12488. // 如果有url中有get参数,转换后无需带上"?"
  12489. var query = '';
  12490. if (/.*\/.*\?.*=.*/.test(url)) {
  12491. // object对象转为get类型的参数
  12492. query = uni.$u.queryParams(params, false);
  12493. // 因为已有get参数,所以后面拼接的参数需要带上"&"隔开
  12494. return url += "&".concat(query);
  12495. }
  12496. // 直接拼接参数,因为此处url中没有后面的query参数,也就没有"?/&"之类的符号
  12497. query = uni.$u.queryParams(params);
  12498. return url += query;
  12499. }
  12500. // 对外的方法名称
  12501. }, {
  12502. key: "route",
  12503. value: function () {
  12504. var _route = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  12505. var options,
  12506. params,
  12507. mergeConfig,
  12508. isNext,
  12509. _args = arguments;
  12510. return _regenerator.default.wrap(function _callee$(_context) {
  12511. while (1) {
  12512. switch (_context.prev = _context.next) {
  12513. case 0:
  12514. options = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
  12515. params = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
  12516. // 合并用户的配置和内部的默认配置
  12517. mergeConfig = {};
  12518. if (typeof options === 'string') {
  12519. // 如果options为字符串,则为route(url, params)的形式
  12520. mergeConfig.url = this.mixinParam(options, params);
  12521. mergeConfig.type = 'navigateTo';
  12522. } else {
  12523. mergeConfig = uni.$u.deepMerge(this.config, options);
  12524. // 否则正常使用mergeConfig中的url和params进行拼接
  12525. mergeConfig.url = this.mixinParam(options.url, options.params);
  12526. }
  12527. // 如果本次跳转的路径和本页面路径一致,不执行跳转,防止用户快速点击跳转按钮,造成多次跳转同一个页面的问题
  12528. if (!(mergeConfig.url === uni.$u.page())) {
  12529. _context.next = 6;
  12530. break;
  12531. }
  12532. return _context.abrupt("return");
  12533. case 6:
  12534. if (params.intercept) {
  12535. this.config.intercept = params.intercept;
  12536. }
  12537. // params参数也带给拦截器
  12538. mergeConfig.params = params;
  12539. // 合并内外部参数
  12540. mergeConfig = uni.$u.deepMerge(this.config, mergeConfig);
  12541. // 判断用户是否定义了拦截器
  12542. if (!(typeof uni.$u.routeIntercept === 'function')) {
  12543. _context.next = 16;
  12544. break;
  12545. }
  12546. _context.next = 12;
  12547. return new Promise(function (resolve, reject) {
  12548. uni.$u.routeIntercept(mergeConfig, resolve);
  12549. });
  12550. case 12:
  12551. isNext = _context.sent;
  12552. // 如果isNext为true,则执行路由跳转
  12553. isNext && this.openPage(mergeConfig);
  12554. _context.next = 17;
  12555. break;
  12556. case 16:
  12557. this.openPage(mergeConfig);
  12558. case 17:
  12559. case "end":
  12560. return _context.stop();
  12561. }
  12562. }
  12563. }, _callee, this);
  12564. }));
  12565. function route() {
  12566. return _route.apply(this, arguments);
  12567. }
  12568. return route;
  12569. }() // 执行路由跳转
  12570. }, {
  12571. key: "openPage",
  12572. value: function openPage(config) {
  12573. // 解构参数
  12574. var url = config.url,
  12575. type = config.type,
  12576. delta = config.delta,
  12577. animationType = config.animationType,
  12578. animationDuration = config.animationDuration;
  12579. if (config.type == 'navigateTo' || config.type == 'to') {
  12580. uni.navigateTo({
  12581. url: url,
  12582. animationType: animationType,
  12583. animationDuration: animationDuration
  12584. });
  12585. }
  12586. if (config.type == 'redirectTo' || config.type == 'redirect') {
  12587. uni.redirectTo({
  12588. url: url
  12589. });
  12590. }
  12591. if (config.type == 'switchTab' || config.type == 'tab') {
  12592. uni.switchTab({
  12593. url: url
  12594. });
  12595. }
  12596. if (config.type == 'reLaunch' || config.type == 'launch') {
  12597. uni.reLaunch({
  12598. url: url
  12599. });
  12600. }
  12601. if (config.type == 'navigateBack' || config.type == 'back') {
  12602. uni.navigateBack({
  12603. delta: delta
  12604. });
  12605. }
  12606. }
  12607. }]);
  12608. return Router;
  12609. }();
  12610. var _default = new Router().route;
  12611. exports.default = _default;
  12612. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  12613. /***/ }),
  12614. /* 60 */
  12615. /*!***********************************************************************************************************************************************************!*\
  12616. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/colorGradient.js ***!
  12617. \***********************************************************************************************************************************************************/
  12618. /*! no static exports found */
  12619. /***/ (function(module, exports, __webpack_require__) {
  12620. "use strict";
  12621. Object.defineProperty(exports, "__esModule", {
  12622. value: true
  12623. });
  12624. exports.default = void 0;
  12625. /**
  12626. * 求两个颜色之间的渐变值
  12627. * @param {string} startColor 开始的颜色
  12628. * @param {string} endColor 结束的颜色
  12629. * @param {number} step 颜色等分的份额
  12630. * */
  12631. function colorGradient() {
  12632. var startColor = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'rgb(0, 0, 0)';
  12633. var endColor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rgb(255, 255, 255)';
  12634. var step = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
  12635. var startRGB = hexToRgb(startColor, false); // 转换为rgb数组模式
  12636. var startR = startRGB[0];
  12637. var startG = startRGB[1];
  12638. var startB = startRGB[2];
  12639. var endRGB = hexToRgb(endColor, false);
  12640. var endR = endRGB[0];
  12641. var endG = endRGB[1];
  12642. var endB = endRGB[2];
  12643. var sR = (endR - startR) / step; // 总差值
  12644. var sG = (endG - startG) / step;
  12645. var sB = (endB - startB) / step;
  12646. var colorArr = [];
  12647. for (var i = 0; i < step; i++) {
  12648. // 计算每一步的hex值
  12649. var hex = rgbToHex("rgb(".concat(Math.round(sR * i + startR), ",").concat(Math.round(sG * i + startG), ",").concat(Math.round(sB * i + startB), ")"));
  12650. // 确保第一个颜色值为startColor的值
  12651. if (i === 0) hex = rgbToHex(startColor);
  12652. // 确保最后一个颜色值为endColor的值
  12653. if (i === step - 1) hex = rgbToHex(endColor);
  12654. colorArr.push(hex);
  12655. }
  12656. return colorArr;
  12657. }
  12658. // 将hex表示方式转换为rgb表示方式(这里返回rgb数组模式)
  12659. function hexToRgb(sColor) {
  12660. var str = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  12661. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  12662. sColor = String(sColor).toLowerCase();
  12663. if (sColor && reg.test(sColor)) {
  12664. if (sColor.length === 4) {
  12665. var sColorNew = '#';
  12666. for (var i = 1; i < 4; i += 1) {
  12667. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  12668. }
  12669. sColor = sColorNew;
  12670. }
  12671. // 处理六位的颜色值
  12672. var sColorChange = [];
  12673. for (var _i = 1; _i < 7; _i += 2) {
  12674. sColorChange.push(parseInt("0x".concat(sColor.slice(_i, _i + 2))));
  12675. }
  12676. if (!str) {
  12677. return sColorChange;
  12678. }
  12679. return "rgb(".concat(sColorChange[0], ",").concat(sColorChange[1], ",").concat(sColorChange[2], ")");
  12680. }
  12681. if (/^(rgb|RGB)/.test(sColor)) {
  12682. var arr = sColor.replace(/(?:\(|\)|rgb|RGB)*/g, '').split(',');
  12683. return arr.map(function (val) {
  12684. return Number(val);
  12685. });
  12686. }
  12687. return sColor;
  12688. }
  12689. // 将rgb表示方式转换为hex表示方式
  12690. function rgbToHex(rgb) {
  12691. var _this = rgb;
  12692. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  12693. if (/^(rgb|RGB)/.test(_this)) {
  12694. var aColor = _this.replace(/(?:\(|\)|rgb|RGB)*/g, '').split(',');
  12695. var strHex = '#';
  12696. for (var i = 0; i < aColor.length; i++) {
  12697. var hex = Number(aColor[i]).toString(16);
  12698. hex = String(hex).length == 1 ? "".concat(0, hex) : hex; // 保证每个rgb的值为2位
  12699. if (hex === '0') {
  12700. hex += hex;
  12701. }
  12702. strHex += hex;
  12703. }
  12704. if (strHex.length !== 7) {
  12705. strHex = _this;
  12706. }
  12707. return strHex;
  12708. }
  12709. if (reg.test(_this)) {
  12710. var aNum = _this.replace(/#/, '').split('');
  12711. if (aNum.length === 6) {
  12712. return _this;
  12713. }
  12714. if (aNum.length === 3) {
  12715. var numHex = '#';
  12716. for (var _i2 = 0; _i2 < aNum.length; _i2 += 1) {
  12717. numHex += aNum[_i2] + aNum[_i2];
  12718. }
  12719. return numHex;
  12720. }
  12721. } else {
  12722. return _this;
  12723. }
  12724. }
  12725. /**
  12726. * JS颜色十六进制转换为rgb或rgba,返回的格式为 rgba(255,255,255,0.5)字符串
  12727. * sHex为传入的十六进制的色值
  12728. * alpha为rgba的透明度
  12729. */
  12730. function colorToRgba(color, alpha) {
  12731. color = rgbToHex(color);
  12732. // 十六进制颜色值的正则表达式
  12733. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  12734. /* 16进制颜色转为RGB格式 */
  12735. var sColor = String(color).toLowerCase();
  12736. if (sColor && reg.test(sColor)) {
  12737. if (sColor.length === 4) {
  12738. var sColorNew = '#';
  12739. for (var i = 1; i < 4; i += 1) {
  12740. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  12741. }
  12742. sColor = sColorNew;
  12743. }
  12744. // 处理六位的颜色值
  12745. var sColorChange = [];
  12746. for (var _i3 = 1; _i3 < 7; _i3 += 2) {
  12747. sColorChange.push(parseInt("0x".concat(sColor.slice(_i3, _i3 + 2))));
  12748. }
  12749. // return sColorChange.join(',')
  12750. return "rgba(".concat(sColorChange.join(','), ",").concat(alpha, ")");
  12751. }
  12752. return sColor;
  12753. }
  12754. var _default = {
  12755. colorGradient: colorGradient,
  12756. hexToRgb: hexToRgb,
  12757. rgbToHex: rgbToHex,
  12758. colorToRgba: colorToRgba
  12759. };
  12760. exports.default = _default;
  12761. /***/ }),
  12762. /* 61 */
  12763. /*!**************************************************************************************************************************************************!*\
  12764. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/test.js ***!
  12765. \**************************************************************************************************************************************************/
  12766. /*! no static exports found */
  12767. /***/ (function(module, exports, __webpack_require__) {
  12768. "use strict";
  12769. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  12770. Object.defineProperty(exports, "__esModule", {
  12771. value: true
  12772. });
  12773. exports.default = void 0;
  12774. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  12775. /**
  12776. * 验证电子邮箱格式
  12777. */
  12778. function email(value) {
  12779. return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(value);
  12780. }
  12781. /**
  12782. * 验证手机格式
  12783. */
  12784. function mobile(value) {
  12785. return /^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(value);
  12786. }
  12787. /**
  12788. * 验证URL格式
  12789. */
  12790. function url(value) {
  12791. return /^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(value);
  12792. }
  12793. /**
  12794. * 验证日期格式
  12795. */
  12796. function date(value) {
  12797. if (!value) return false;
  12798. // 判断是否数值或者字符串数值(意味着为时间戳),转为数值,否则new Date无法识别字符串时间戳
  12799. if (number(value)) value = +value;
  12800. return !/Invalid|NaN/.test(new Date(value).toString());
  12801. }
  12802. /**
  12803. * 验证ISO类型的日期格式
  12804. */
  12805. function dateISO(value) {
  12806. return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(value);
  12807. }
  12808. /**
  12809. * 验证十进制数字
  12810. */
  12811. function number(value) {
  12812. return /^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(value);
  12813. }
  12814. /**
  12815. * 验证字符串
  12816. */
  12817. function string(value) {
  12818. return typeof value === 'string';
  12819. }
  12820. /**
  12821. * 验证整数
  12822. */
  12823. function digits(value) {
  12824. return /^\d+$/.test(value);
  12825. }
  12826. /**
  12827. * 验证身份证号码
  12828. */
  12829. function idCard(value) {
  12830. return /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(value);
  12831. }
  12832. /**
  12833. * 是否车牌号
  12834. */
  12835. function carNo(value) {
  12836. // 新能源车牌
  12837. var xreg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/;
  12838. // 旧车牌
  12839. var creg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;
  12840. if (value.length === 7) {
  12841. return creg.test(value);
  12842. }
  12843. if (value.length === 8) {
  12844. return xreg.test(value);
  12845. }
  12846. return false;
  12847. }
  12848. /**
  12849. * 金额,只允许2位小数
  12850. */
  12851. function amount(value) {
  12852. // 金额,只允许保留两位小数
  12853. return /^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(value);
  12854. }
  12855. /**
  12856. * 中文
  12857. */
  12858. function chinese(value) {
  12859. var reg = /^[\u4e00-\u9fa5]+$/gi;
  12860. return reg.test(value);
  12861. }
  12862. /**
  12863. * 只能输入字母
  12864. */
  12865. function letter(value) {
  12866. return /^[a-zA-Z]*$/.test(value);
  12867. }
  12868. /**
  12869. * 只能是字母或者数字
  12870. */
  12871. function enOrNum(value) {
  12872. // 英文或者数字
  12873. var reg = /^[0-9a-zA-Z]*$/g;
  12874. return reg.test(value);
  12875. }
  12876. /**
  12877. * 验证是否包含某个值
  12878. */
  12879. function contains(value, param) {
  12880. return value.indexOf(param) >= 0;
  12881. }
  12882. /**
  12883. * 验证一个值范围[min, max]
  12884. */
  12885. function range(value, param) {
  12886. return value >= param[0] && value <= param[1];
  12887. }
  12888. /**
  12889. * 验证一个长度范围[min, max]
  12890. */
  12891. function rangeLength(value, param) {
  12892. return value.length >= param[0] && value.length <= param[1];
  12893. }
  12894. /**
  12895. * 是否固定电话
  12896. */
  12897. function landline(value) {
  12898. var reg = /^\d{3,4}-\d{7,8}(-\d{3,4})?$/;
  12899. return reg.test(value);
  12900. }
  12901. /**
  12902. * 判断是否为空
  12903. */
  12904. function empty(value) {
  12905. switch ((0, _typeof2.default)(value)) {
  12906. case 'undefined':
  12907. return true;
  12908. case 'string':
  12909. if (value.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) return true;
  12910. break;
  12911. case 'boolean':
  12912. if (!value) return true;
  12913. break;
  12914. case 'number':
  12915. if (value === 0 || isNaN(value)) return true;
  12916. break;
  12917. case 'object':
  12918. if (value === null || value.length === 0) return true;
  12919. for (var i in value) {
  12920. return false;
  12921. }
  12922. return true;
  12923. }
  12924. return false;
  12925. }
  12926. /**
  12927. * 是否json字符串
  12928. */
  12929. function jsonString(value) {
  12930. if (typeof value === 'string') {
  12931. try {
  12932. var obj = JSON.parse(value);
  12933. if ((0, _typeof2.default)(obj) === 'object' && obj) {
  12934. return true;
  12935. }
  12936. return false;
  12937. } catch (e) {
  12938. return false;
  12939. }
  12940. }
  12941. return false;
  12942. }
  12943. /**
  12944. * 是否数组
  12945. */
  12946. function array(value) {
  12947. if (typeof Array.isArray === 'function') {
  12948. return Array.isArray(value);
  12949. }
  12950. return Object.prototype.toString.call(value) === '[object Array]';
  12951. }
  12952. /**
  12953. * 是否对象
  12954. */
  12955. function object(value) {
  12956. return Object.prototype.toString.call(value) === '[object Object]';
  12957. }
  12958. /**
  12959. * 是否短信验证码
  12960. */
  12961. function code(value) {
  12962. var len = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6;
  12963. return new RegExp("^\\d{".concat(len, "}$")).test(value);
  12964. }
  12965. /**
  12966. * 是否函数方法
  12967. * @param {Object} value
  12968. */
  12969. function func(value) {
  12970. return typeof value === 'function';
  12971. }
  12972. /**
  12973. * 是否promise对象
  12974. * @param {Object} value
  12975. */
  12976. function promise(value) {
  12977. return object(value) && func(value.then) && func(value.catch);
  12978. }
  12979. /** 是否图片格式
  12980. * @param {Object} value
  12981. */
  12982. function image(value) {
  12983. var newValue = value.split('?')[0];
  12984. var IMAGE_REGEXP = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;
  12985. return IMAGE_REGEXP.test(newValue);
  12986. }
  12987. /**
  12988. * 是否视频格式
  12989. * @param {Object} value
  12990. */
  12991. function video(value) {
  12992. var VIDEO_REGEXP = /\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i;
  12993. return VIDEO_REGEXP.test(value);
  12994. }
  12995. /**
  12996. * 是否为正则对象
  12997. * @param {Object}
  12998. * @return {Boolean}
  12999. */
  13000. function regExp(o) {
  13001. return o && Object.prototype.toString.call(o) === '[object RegExp]';
  13002. }
  13003. var _default = {
  13004. email: email,
  13005. mobile: mobile,
  13006. url: url,
  13007. date: date,
  13008. dateISO: dateISO,
  13009. number: number,
  13010. digits: digits,
  13011. idCard: idCard,
  13012. carNo: carNo,
  13013. amount: amount,
  13014. chinese: chinese,
  13015. letter: letter,
  13016. enOrNum: enOrNum,
  13017. contains: contains,
  13018. range: range,
  13019. rangeLength: rangeLength,
  13020. empty: empty,
  13021. isEmpty: empty,
  13022. jsonString: jsonString,
  13023. landline: landline,
  13024. object: object,
  13025. array: array,
  13026. code: code,
  13027. func: func,
  13028. promise: promise,
  13029. video: video,
  13030. image: image,
  13031. regExp: regExp,
  13032. string: string
  13033. };
  13034. exports.default = _default;
  13035. /***/ }),
  13036. /* 62 */
  13037. /*!******************************************************************************************************************************************************!*\
  13038. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/debounce.js ***!
  13039. \******************************************************************************************************************************************************/
  13040. /*! no static exports found */
  13041. /***/ (function(module, exports, __webpack_require__) {
  13042. "use strict";
  13043. Object.defineProperty(exports, "__esModule", {
  13044. value: true
  13045. });
  13046. exports.default = void 0;
  13047. var timeout = null;
  13048. /**
  13049. * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数
  13050. *
  13051. * @param {Function} func 要执行的回调函数
  13052. * @param {Number} wait 延时的时间
  13053. * @param {Boolean} immediate 是否立即执行
  13054. * @return null
  13055. */
  13056. function debounce(func) {
  13057. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  13058. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  13059. // 清除定时器
  13060. if (timeout !== null) clearTimeout(timeout);
  13061. // 立即执行,此类情况一般用不到
  13062. if (immediate) {
  13063. var callNow = !timeout;
  13064. timeout = setTimeout(function () {
  13065. timeout = null;
  13066. }, wait);
  13067. if (callNow) typeof func === 'function' && func();
  13068. } else {
  13069. // 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法
  13070. timeout = setTimeout(function () {
  13071. typeof func === 'function' && func();
  13072. }, wait);
  13073. }
  13074. }
  13075. var _default = debounce;
  13076. exports.default = _default;
  13077. /***/ }),
  13078. /* 63 */
  13079. /*!******************************************************************************************************************************************************!*\
  13080. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/throttle.js ***!
  13081. \******************************************************************************************************************************************************/
  13082. /*! no static exports found */
  13083. /***/ (function(module, exports, __webpack_require__) {
  13084. "use strict";
  13085. Object.defineProperty(exports, "__esModule", {
  13086. value: true
  13087. });
  13088. exports.default = void 0;
  13089. var timer;
  13090. var flag;
  13091. /**
  13092. * 节流原理:在一定时间内,只能触发一次
  13093. *
  13094. * @param {Function} func 要执行的回调函数
  13095. * @param {Number} wait 延时的时间
  13096. * @param {Boolean} immediate 是否立即执行
  13097. * @return null
  13098. */
  13099. function throttle(func) {
  13100. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  13101. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  13102. if (immediate) {
  13103. if (!flag) {
  13104. flag = true;
  13105. // 如果是立即执行,则在wait毫秒内开始时执行
  13106. typeof func === 'function' && func();
  13107. timer = setTimeout(function () {
  13108. flag = false;
  13109. }, wait);
  13110. }
  13111. } else if (!flag) {
  13112. flag = true;
  13113. // 如果是非立即执行,则在wait毫秒内的结束处执行
  13114. timer = setTimeout(function () {
  13115. flag = false;
  13116. typeof func === 'function' && func();
  13117. }, wait);
  13118. }
  13119. }
  13120. var _default = throttle;
  13121. exports.default = _default;
  13122. /***/ }),
  13123. /* 64 */
  13124. /*!***************************************************************************************************************************************************!*\
  13125. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/index.js ***!
  13126. \***************************************************************************************************************************************************/
  13127. /*! no static exports found */
  13128. /***/ (function(module, exports, __webpack_require__) {
  13129. "use strict";
  13130. /* WEBPACK VAR INJECTION */(function(uni) {
  13131. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  13132. Object.defineProperty(exports, "__esModule", {
  13133. value: true
  13134. });
  13135. exports.default = void 0;
  13136. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  13137. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  13138. var _test = _interopRequireDefault(__webpack_require__(/*! ./test.js */ 61));
  13139. var _digit = __webpack_require__(/*! ./digit.js */ 65);
  13140. /**
  13141. * @description 如果value小于min,取min;如果value大于max,取max
  13142. * @param {number} min
  13143. * @param {number} max
  13144. * @param {number} value
  13145. */
  13146. function range() {
  13147. var min = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  13148. var max = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  13149. var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
  13150. return Math.max(min, Math.min(max, Number(value)));
  13151. }
  13152. /**
  13153. * @description 用于获取用户传递值的px值 如果用户传递了"xxpx"或者"xxrpx",取出其数值部分,如果是"xxxrpx"还需要用过uni.upx2px进行转换
  13154. * @param {number|string} value 用户传递值的px值
  13155. * @param {boolean} unit
  13156. * @returns {number|string}
  13157. */
  13158. function getPx(value) {
  13159. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  13160. if (_test.default.number(value)) {
  13161. return unit ? "".concat(value, "px") : Number(value);
  13162. }
  13163. // 如果带有rpx,先取出其数值部分,再转为px值
  13164. if (/(rpx|upx)$/.test(value)) {
  13165. return unit ? "".concat(uni.upx2px(parseInt(value)), "px") : Number(uni.upx2px(parseInt(value)));
  13166. }
  13167. return unit ? "".concat(parseInt(value), "px") : parseInt(value);
  13168. }
  13169. /**
  13170. * @description 进行延时,以达到可以简写代码的目的 比如: await uni.$u.sleep(20)将会阻塞20ms
  13171. * @param {number} value 堵塞时间 单位ms 毫秒
  13172. * @returns {Promise} 返回promise
  13173. */
  13174. function sleep() {
  13175. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 30;
  13176. return new Promise(function (resolve) {
  13177. setTimeout(function () {
  13178. resolve();
  13179. }, value);
  13180. });
  13181. }
  13182. /**
  13183. * @description 运行期判断平台
  13184. * @returns {string} 返回所在平台(小写)
  13185. * @link 运行期判断平台 https://uniapp.dcloud.io/frame?id=判断平台
  13186. */
  13187. function os() {
  13188. return uni.getSystemInfoSync().platform.toLowerCase();
  13189. }
  13190. /**
  13191. * @description 获取系统信息同步接口
  13192. * @link 获取系统信息同步接口 https://uniapp.dcloud.io/api/system/info?id=getsysteminfosync
  13193. */
  13194. function sys() {
  13195. return uni.getSystemInfoSync();
  13196. }
  13197. /**
  13198. * @description 取一个区间数
  13199. * @param {Number} min 最小值
  13200. * @param {Number} max 最大值
  13201. */
  13202. function random(min, max) {
  13203. if (min >= 0 && max > 0 && max >= min) {
  13204. var gab = max - min + 1;
  13205. return Math.floor(Math.random() * gab + min);
  13206. }
  13207. return 0;
  13208. }
  13209. /**
  13210. * @param {Number} len uuid的长度
  13211. * @param {Boolean} firstU 将返回的首字母置为"u"
  13212. * @param {Nubmer} radix 生成uuid的基数(意味着返回的字符串都是这个基数),2-二进制,8-八进制,10-十进制,16-十六进制
  13213. */
  13214. function guid() {
  13215. var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 32;
  13216. var firstU = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  13217. var radix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  13218. var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
  13219. var uuid = [];
  13220. radix = radix || chars.length;
  13221. if (len) {
  13222. // 如果指定uuid长度,只是取随机的字符,0|x为位运算,能去掉x的小数位,返回整数位
  13223. for (var i = 0; i < len; i++) {
  13224. uuid[i] = chars[0 | Math.random() * radix];
  13225. }
  13226. } else {
  13227. var r;
  13228. // rfc4122标准要求返回的uuid中,某些位为固定的字符
  13229. uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
  13230. uuid[14] = '4';
  13231. for (var _i = 0; _i < 36; _i++) {
  13232. if (!uuid[_i]) {
  13233. r = 0 | Math.random() * 16;
  13234. uuid[_i] = chars[_i == 19 ? r & 0x3 | 0x8 : r];
  13235. }
  13236. }
  13237. }
  13238. // 移除第一个字符,并用u替代,因为第一个字符为数值时,该guuid不能用作id或者class
  13239. if (firstU) {
  13240. uuid.shift();
  13241. return "u".concat(uuid.join(''));
  13242. }
  13243. return uuid.join('');
  13244. }
  13245. /**
  13246. * @description 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法
  13247. this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx
  13248. 这里默认值等于undefined有它的含义,因为最顶层元素(组件)的$parent就是undefined,意味着不传name
  13249. 值(默认为undefined),就是查找最顶层的$parent
  13250. * @param {string|undefined} name 父组件的参数名
  13251. */
  13252. function $parent() {
  13253. var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
  13254. var parent = this.$parent;
  13255. // 通过while历遍,这里主要是为了H5需要多层解析的问题
  13256. while (parent) {
  13257. // 父组件
  13258. if (parent.$options && parent.$options.name !== name) {
  13259. // 如果组件的name不相等,继续上一级寻找
  13260. parent = parent.$parent;
  13261. } else {
  13262. return parent;
  13263. }
  13264. }
  13265. return false;
  13266. }
  13267. /**
  13268. * @description 样式转换
  13269. * 对象转字符串,或者字符串转对象
  13270. * @param {object | string} customStyle 需要转换的目标
  13271. * @param {String} target 转换的目的,object-转为对象,string-转为字符串
  13272. * @returns {object|string}
  13273. */
  13274. function addStyle(customStyle) {
  13275. var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'object';
  13276. // 字符串转字符串,对象转对象情形,直接返回
  13277. if (_test.default.empty(customStyle) || (0, _typeof2.default)(customStyle) === 'object' && target === 'object' || target === 'string' && typeof customStyle === 'string') {
  13278. return customStyle;
  13279. }
  13280. // 字符串转对象
  13281. if (target === 'object') {
  13282. // 去除字符串样式中的两端空格(中间的空格不能去掉,比如padding: 20px 0如果去掉了就错了),空格是无用的
  13283. customStyle = trim(customStyle);
  13284. // 根据";"将字符串转为数组形式
  13285. var styleArray = customStyle.split(';');
  13286. var style = {};
  13287. // 历遍数组,拼接成对象
  13288. for (var i = 0; i < styleArray.length; i++) {
  13289. // 'font-size:20px;color:red;',如此最后字符串有";"的话,会导致styleArray最后一个元素为空字符串,这里需要过滤
  13290. if (styleArray[i]) {
  13291. var item = styleArray[i].split(':');
  13292. style[trim(item[0])] = trim(item[1]);
  13293. }
  13294. }
  13295. return style;
  13296. }
  13297. // 这里为对象转字符串形式
  13298. var string = '';
  13299. for (var _i2 in customStyle) {
  13300. // 驼峰转为中划线的形式,否则css内联样式,无法识别驼峰样式属性名
  13301. var key = _i2.replace(/([A-Z])/g, '-$1').toLowerCase();
  13302. string += "".concat(key, ":").concat(customStyle[_i2], ";");
  13303. }
  13304. // 去除两端空格
  13305. return trim(string);
  13306. }
  13307. /**
  13308. * @description 添加单位,如果有rpx,upx,%,px等单位结尾或者值为auto,直接返回,否则加上px单位结尾
  13309. * @param {string|number} value 需要添加单位的值
  13310. * @param {string} unit 添加的单位名 比如px
  13311. */
  13312. function addUnit() {
  13313. var _uni$$u$config$unit, _uni, _uni$$u, _uni$$u$config;
  13314. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'auto';
  13315. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (_uni$$u$config$unit = (_uni = uni) === null || _uni === void 0 ? void 0 : (_uni$$u = _uni.$u) === null || _uni$$u === void 0 ? void 0 : (_uni$$u$config = _uni$$u.config) === null || _uni$$u$config === void 0 ? void 0 : _uni$$u$config.unit) !== null && _uni$$u$config$unit !== void 0 ? _uni$$u$config$unit : 'px';
  13316. value = String(value);
  13317. // 用uView内置验证规则中的number判断是否为数值
  13318. return _test.default.number(value) ? "".concat(value).concat(unit) : value;
  13319. }
  13320. /**
  13321. * @description 深度克隆
  13322. * @param {object} obj 需要深度克隆的对象
  13323. * @returns {*} 克隆后的对象或者原值(不是对象)
  13324. */
  13325. function deepClone(obj) {
  13326. // 对常见的“非”值,直接返回原来值
  13327. if ([null, undefined, NaN, false].includes(obj)) return obj;
  13328. if ((0, _typeof2.default)(obj) !== 'object' && typeof obj !== 'function') {
  13329. // 原始类型直接返回
  13330. return obj;
  13331. }
  13332. var o = _test.default.array(obj) ? [] : {};
  13333. for (var i in obj) {
  13334. if (obj.hasOwnProperty(i)) {
  13335. o[i] = (0, _typeof2.default)(obj[i]) === 'object' ? deepClone(obj[i]) : obj[i];
  13336. }
  13337. }
  13338. return o;
  13339. }
  13340. /**
  13341. * @description JS对象深度合并
  13342. * @param {object} target 需要拷贝的对象
  13343. * @param {object} source 拷贝的来源对象
  13344. * @returns {object|boolean} 深度合并后的对象或者false(入参有不是对象)
  13345. */
  13346. function deepMerge() {
  13347. var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  13348. var source = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  13349. target = deepClone(target);
  13350. if ((0, _typeof2.default)(target) !== 'object' || (0, _typeof2.default)(source) !== 'object') return false;
  13351. for (var prop in source) {
  13352. if (!source.hasOwnProperty(prop)) continue;
  13353. if (prop in target) {
  13354. if ((0, _typeof2.default)(target[prop]) !== 'object') {
  13355. target[prop] = source[prop];
  13356. } else if ((0, _typeof2.default)(source[prop]) !== 'object') {
  13357. target[prop] = source[prop];
  13358. } else if (target[prop].concat && source[prop].concat) {
  13359. target[prop] = target[prop].concat(source[prop]);
  13360. } else {
  13361. target[prop] = deepMerge(target[prop], source[prop]);
  13362. }
  13363. } else {
  13364. target[prop] = source[prop];
  13365. }
  13366. }
  13367. return target;
  13368. }
  13369. /**
  13370. * @description error提示
  13371. * @param {*} err 错误内容
  13372. */
  13373. function error(err) {
  13374. // 开发环境才提示,生产环境不会提示
  13375. if (true) {
  13376. console.error("uView\u63D0\u793A\uFF1A".concat(err));
  13377. }
  13378. }
  13379. /**
  13380. * @description 打乱数组
  13381. * @param {array} array 需要打乱的数组
  13382. * @returns {array} 打乱后的数组
  13383. */
  13384. function randomArray() {
  13385. var array = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  13386. // 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0
  13387. return array.sort(function () {
  13388. return Math.random() - 0.5;
  13389. });
  13390. }
  13391. // padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
  13392. // 所以这里做一个兼容polyfill的兼容处理
  13393. if (!String.prototype.padStart) {
  13394. // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
  13395. String.prototype.padStart = function (maxLength) {
  13396. var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
  13397. if (Object.prototype.toString.call(fillString) !== '[object String]') {
  13398. throw new TypeError('fillString must be String');
  13399. }
  13400. var str = this;
  13401. // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
  13402. if (str.length >= maxLength) return String(str);
  13403. var fillLength = maxLength - str.length;
  13404. var times = Math.ceil(fillLength / fillString.length);
  13405. while (times >>= 1) {
  13406. fillString += fillString;
  13407. if (times === 1) {
  13408. fillString += fillString;
  13409. }
  13410. }
  13411. return fillString.slice(0, fillLength) + str;
  13412. };
  13413. }
  13414. /**
  13415. * @description 格式化时间
  13416. * @param {String|Number} dateTime 需要格式化的时间戳
  13417. * @param {String} fmt 格式化规则 yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合 默认yyyy-mm-dd
  13418. * @returns {string} 返回格式化后的字符串
  13419. */
  13420. function timeFormat() {
  13421. var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  13422. var formatStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  13423. var date;
  13424. // 若传入时间为假值,则取当前时间
  13425. if (!dateTime) {
  13426. date = new Date();
  13427. }
  13428. // 若为unix秒时间戳,则转为毫秒时间戳(逻辑有点奇怪,但不敢改,以保证历史兼容)
  13429. else if (/^\d{10}$/.test(dateTime === null || dateTime === void 0 ? void 0 : dateTime.toString().trim())) {
  13430. date = new Date(dateTime * 1000);
  13431. }
  13432. // 若用户传入字符串格式时间戳,new Date无法解析,需做兼容
  13433. else if (typeof dateTime === 'string' && /^\d+$/.test(dateTime.trim())) {
  13434. date = new Date(Number(dateTime));
  13435. }
  13436. // 处理平台性差异,在Safari/Webkit中,new Date仅支持/作为分割符的字符串时间
  13437. // 处理 '2022-07-10 01:02:03',跳过 '2022-07-10T01:02:03'
  13438. else if (typeof dateTime === 'string' && dateTime.includes('-') && !dateTime.includes('T')) {
  13439. date = new Date(dateTime.replace(/-/g, '/'));
  13440. }
  13441. // 其他都认为符合 RFC 2822 规范
  13442. else {
  13443. date = new Date(dateTime);
  13444. }
  13445. var timeSource = {
  13446. 'y': date.getFullYear().toString(),
  13447. // 年
  13448. 'm': (date.getMonth() + 1).toString().padStart(2, '0'),
  13449. // 月
  13450. 'd': date.getDate().toString().padStart(2, '0'),
  13451. // 日
  13452. 'h': date.getHours().toString().padStart(2, '0'),
  13453. // 时
  13454. 'M': date.getMinutes().toString().padStart(2, '0'),
  13455. // 分
  13456. 's': date.getSeconds().toString().padStart(2, '0') // 秒
  13457. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  13458. };
  13459. for (var key in timeSource) {
  13460. var _ref = new RegExp("".concat(key, "+")).exec(formatStr) || [],
  13461. _ref2 = (0, _slicedToArray2.default)(_ref, 1),
  13462. ret = _ref2[0];
  13463. if (ret) {
  13464. // 年可能只需展示两位
  13465. var beginIndex = key === 'y' && ret.length === 2 ? 2 : 0;
  13466. formatStr = formatStr.replace(ret, timeSource[key].slice(beginIndex));
  13467. }
  13468. }
  13469. return formatStr;
  13470. }
  13471. /**
  13472. * @description 时间戳转为多久之前
  13473. * @param {String|Number} timestamp 时间戳
  13474. * @param {String|Boolean} format
  13475. * 格式化规则如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
  13476. * 如果为布尔值false,无论什么时间,都返回多久以前的格式
  13477. * @returns {string} 转化后的内容
  13478. */
  13479. function timeFrom() {
  13480. var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  13481. var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  13482. if (timestamp == null) timestamp = Number(new Date());
  13483. timestamp = parseInt(timestamp);
  13484. // 判断用户输入的时间戳是秒还是毫秒,一般前端js获取的时间戳是毫秒(13位),后端传过来的为秒(10位)
  13485. if (timestamp.toString().length == 10) timestamp *= 1000;
  13486. var timer = new Date().getTime() - timestamp;
  13487. timer = parseInt(timer / 1000);
  13488. // 如果小于5分钟,则返回"刚刚",其他以此类推
  13489. var tips = '';
  13490. switch (true) {
  13491. case timer < 300:
  13492. tips = '刚刚';
  13493. break;
  13494. case timer >= 300 && timer < 3600:
  13495. tips = "".concat(parseInt(timer / 60), "\u5206\u949F\u524D");
  13496. break;
  13497. case timer >= 3600 && timer < 86400:
  13498. tips = "".concat(parseInt(timer / 3600), "\u5C0F\u65F6\u524D");
  13499. break;
  13500. case timer >= 86400 && timer < 2592000:
  13501. tips = "".concat(parseInt(timer / 86400), "\u5929\u524D");
  13502. break;
  13503. default:
  13504. // 如果format为false,则无论什么时间戳,都显示xx之前
  13505. if (format === false) {
  13506. if (timer >= 2592000 && timer < 365 * 86400) {
  13507. tips = "".concat(parseInt(timer / (86400 * 30)), "\u4E2A\u6708\u524D");
  13508. } else {
  13509. tips = "".concat(parseInt(timer / (86400 * 365)), "\u5E74\u524D");
  13510. }
  13511. } else {
  13512. tips = timeFormat(timestamp, format);
  13513. }
  13514. }
  13515. return tips;
  13516. }
  13517. /**
  13518. * @description 去除空格
  13519. * @param String str 需要去除空格的字符串
  13520. * @param String pos both(左右)|left|right|all 默认both
  13521. */
  13522. function trim(str) {
  13523. var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'both';
  13524. str = String(str);
  13525. if (pos == 'both') {
  13526. return str.replace(/^\s+|\s+$/g, '');
  13527. }
  13528. if (pos == 'left') {
  13529. return str.replace(/^\s*/, '');
  13530. }
  13531. if (pos == 'right') {
  13532. return str.replace(/(\s*$)/g, '');
  13533. }
  13534. if (pos == 'all') {
  13535. return str.replace(/\s+/g, '');
  13536. }
  13537. return str;
  13538. }
  13539. /**
  13540. * @description 对象转url参数
  13541. * @param {object} data,对象
  13542. * @param {Boolean} isPrefix,是否自动加上"?"
  13543. * @param {string} arrayFormat 规则 indices|brackets|repeat|comma
  13544. */
  13545. function queryParams() {
  13546. var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  13547. var isPrefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  13548. var arrayFormat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'brackets';
  13549. var prefix = isPrefix ? '?' : '';
  13550. var _result = [];
  13551. if (['indices', 'brackets', 'repeat', 'comma'].indexOf(arrayFormat) == -1) arrayFormat = 'brackets';
  13552. var _loop = function _loop(key) {
  13553. var value = data[key];
  13554. // 去掉为空的参数
  13555. if (['', undefined, null].indexOf(value) >= 0) {
  13556. return "continue";
  13557. }
  13558. // 如果值为数组,另行处理
  13559. if (value.constructor === Array) {
  13560. // e.g. {ids: [1, 2, 3]}
  13561. switch (arrayFormat) {
  13562. case 'indices':
  13563. // 结果: ids[0]=1&ids[1]=2&ids[2]=3
  13564. for (var i = 0; i < value.length; i++) {
  13565. _result.push("".concat(key, "[").concat(i, "]=").concat(value[i]));
  13566. }
  13567. break;
  13568. case 'brackets':
  13569. // 结果: ids[]=1&ids[]=2&ids[]=3
  13570. value.forEach(function (_value) {
  13571. _result.push("".concat(key, "[]=").concat(_value));
  13572. });
  13573. break;
  13574. case 'repeat':
  13575. // 结果: ids=1&ids=2&ids=3
  13576. value.forEach(function (_value) {
  13577. _result.push("".concat(key, "=").concat(_value));
  13578. });
  13579. break;
  13580. case 'comma':
  13581. // 结果: ids=1,2,3
  13582. var commaStr = '';
  13583. value.forEach(function (_value) {
  13584. commaStr += (commaStr ? ',' : '') + _value;
  13585. });
  13586. _result.push("".concat(key, "=").concat(commaStr));
  13587. break;
  13588. default:
  13589. value.forEach(function (_value) {
  13590. _result.push("".concat(key, "[]=").concat(_value));
  13591. });
  13592. }
  13593. } else {
  13594. _result.push("".concat(key, "=").concat(value));
  13595. }
  13596. };
  13597. for (var key in data) {
  13598. var _ret = _loop(key);
  13599. if (_ret === "continue") continue;
  13600. }
  13601. return _result.length ? prefix + _result.join('&') : '';
  13602. }
  13603. /**
  13604. * 显示消息提示框
  13605. * @param {String} title 提示的内容,长度与 icon 取值有关。
  13606. * @param {Number} duration 提示的延迟时间,单位毫秒,默认:2000
  13607. */
  13608. function toast(title) {
  13609. var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2000;
  13610. uni.showToast({
  13611. title: String(title),
  13612. icon: 'none',
  13613. duration: duration
  13614. });
  13615. }
  13616. /**
  13617. * @description 根据主题type值,获取对应的图标
  13618. * @param {String} type 主题名称,primary|info|error|warning|success
  13619. * @param {boolean} fill 是否使用fill填充实体的图标
  13620. */
  13621. function type2icon() {
  13622. var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
  13623. var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  13624. // 如果非预置值,默认为success
  13625. if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
  13626. var iconName = '';
  13627. // 目前(2019-12-12),info和primary使用同一个图标
  13628. switch (type) {
  13629. case 'primary':
  13630. iconName = 'info-circle';
  13631. break;
  13632. case 'info':
  13633. iconName = 'info-circle';
  13634. break;
  13635. case 'error':
  13636. iconName = 'close-circle';
  13637. break;
  13638. case 'warning':
  13639. iconName = 'error-circle';
  13640. break;
  13641. case 'success':
  13642. iconName = 'checkmark-circle';
  13643. break;
  13644. default:
  13645. iconName = 'checkmark-circle';
  13646. }
  13647. // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
  13648. if (fill) iconName += '-fill';
  13649. return iconName;
  13650. }
  13651. /**
  13652. * @description 数字格式化
  13653. * @param {number|string} number 要格式化的数字
  13654. * @param {number} decimals 保留几位小数
  13655. * @param {string} decimalPoint 小数点符号
  13656. * @param {string} thousandsSeparator 千分位符号
  13657. * @returns {string} 格式化后的数字
  13658. */
  13659. function priceFormat(number) {
  13660. var decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  13661. var decimalPoint = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '.';
  13662. var thousandsSeparator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ',';
  13663. number = "".concat(number).replace(/[^0-9+-Ee.]/g, '');
  13664. var n = !isFinite(+number) ? 0 : +number;
  13665. var prec = !isFinite(+decimals) ? 0 : Math.abs(decimals);
  13666. var sep = typeof thousandsSeparator === 'undefined' ? ',' : thousandsSeparator;
  13667. var dec = typeof decimalPoint === 'undefined' ? '.' : decimalPoint;
  13668. var s = '';
  13669. s = (prec ? (0, _digit.round)(n, prec) + '' : "".concat(Math.round(n))).split('.');
  13670. var re = /(-?\d+)(\d{3})/;
  13671. while (re.test(s[0])) {
  13672. s[0] = s[0].replace(re, "$1".concat(sep, "$2"));
  13673. }
  13674. if ((s[1] || '').length < prec) {
  13675. s[1] = s[1] || '';
  13676. s[1] += new Array(prec - s[1].length + 1).join('0');
  13677. }
  13678. return s.join(dec);
  13679. }
  13680. /**
  13681. * @description 获取duration值
  13682. * 如果带有ms或者s直接返回,如果大于一定值,认为是ms单位,小于一定值,认为是s单位
  13683. * 比如以30位阈值,那么300大于30,可以理解为用户想要的是300ms,而不是想花300s去执行一个动画
  13684. * @param {String|number} value 比如: "1s"|"100ms"|1|100
  13685. * @param {boolean} unit 提示: 如果是false 默认返回number
  13686. * @return {string|number}
  13687. */
  13688. function getDuration(value) {
  13689. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  13690. var valueNum = parseInt(value);
  13691. if (unit) {
  13692. if (/s$/.test(value)) return value;
  13693. return value > 30 ? "".concat(value, "ms") : "".concat(value, "s");
  13694. }
  13695. if (/ms$/.test(value)) return valueNum;
  13696. if (/s$/.test(value)) return valueNum > 30 ? valueNum : valueNum * 1000;
  13697. return valueNum;
  13698. }
  13699. /**
  13700. * @description 日期的月或日补零操作
  13701. * @param {String} value 需要补零的值
  13702. */
  13703. function padZero(value) {
  13704. return "00".concat(value).slice(-2);
  13705. }
  13706. /**
  13707. * @description 在u-form的子组件内容发生变化,或者失去焦点时,尝试通知u-form执行校验方法
  13708. * @param {*} instance
  13709. * @param {*} event
  13710. */
  13711. function formValidate(instance, event) {
  13712. var formItem = uni.$u.$parent.call(instance, 'u-form-item');
  13713. var form = uni.$u.$parent.call(instance, 'u-form');
  13714. // 如果发生变化的input或者textarea等,其父组件中有u-form-item或者u-form等,就执行form的validate方法
  13715. // 同时将form-item的pros传递给form,让其进行精确对象验证
  13716. if (formItem && form) {
  13717. form.validateField(formItem.prop, function () {}, event);
  13718. }
  13719. }
  13720. /**
  13721. * @description 获取某个对象下的属性,用于通过类似'a.b.c'的形式去获取一个对象的的属性的形式
  13722. * @param {object} obj 对象
  13723. * @param {string} key 需要获取的属性字段
  13724. * @returns {*}
  13725. */
  13726. function getProperty(obj, key) {
  13727. if (!obj) {
  13728. return;
  13729. }
  13730. if (typeof key !== 'string' || key === '') {
  13731. return '';
  13732. }
  13733. if (key.indexOf('.') !== -1) {
  13734. var keys = key.split('.');
  13735. var firstObj = obj[keys[0]] || {};
  13736. for (var i = 1; i < keys.length; i++) {
  13737. if (firstObj) {
  13738. firstObj = firstObj[keys[i]];
  13739. }
  13740. }
  13741. return firstObj;
  13742. }
  13743. return obj[key];
  13744. }
  13745. /**
  13746. * @description 设置对象的属性值,如果'a.b.c'的形式进行设置
  13747. * @param {object} obj 对象
  13748. * @param {string} key 需要设置的属性
  13749. * @param {string} value 设置的值
  13750. */
  13751. function setProperty(obj, key, value) {
  13752. if (!obj) {
  13753. return;
  13754. }
  13755. // 递归赋值
  13756. var inFn = function inFn(_obj, keys, v) {
  13757. // 最后一个属性key
  13758. if (keys.length === 1) {
  13759. _obj[keys[0]] = v;
  13760. return;
  13761. }
  13762. // 0~length-1个key
  13763. while (keys.length > 1) {
  13764. var k = keys[0];
  13765. if (!_obj[k] || (0, _typeof2.default)(_obj[k]) !== 'object') {
  13766. _obj[k] = {};
  13767. }
  13768. var _key = keys.shift();
  13769. // 自调用判断是否存在属性,不存在则自动创建对象
  13770. inFn(_obj[k], keys, v);
  13771. }
  13772. };
  13773. if (typeof key !== 'string' || key === '') {} else if (key.indexOf('.') !== -1) {
  13774. // 支持多层级赋值操作
  13775. var keys = key.split('.');
  13776. inFn(obj, keys, value);
  13777. } else {
  13778. obj[key] = value;
  13779. }
  13780. }
  13781. /**
  13782. * @description 获取当前页面路径
  13783. */
  13784. function page() {
  13785. var _pages$route, _pages;
  13786. var pages = getCurrentPages();
  13787. // 某些特殊情况下(比如页面进行redirectTo时的一些时机),pages可能为空数组
  13788. return "/".concat((_pages$route = (_pages = pages[pages.length - 1]) === null || _pages === void 0 ? void 0 : _pages.route) !== null && _pages$route !== void 0 ? _pages$route : '');
  13789. }
  13790. /**
  13791. * @description 获取当前路由栈实例数组
  13792. */
  13793. function pages() {
  13794. var pages = getCurrentPages();
  13795. return pages;
  13796. }
  13797. /**
  13798. * @description 修改uView内置属性值
  13799. * @param {object} props 修改内置props属性
  13800. * @param {object} config 修改内置config属性
  13801. * @param {object} color 修改内置color属性
  13802. * @param {object} zIndex 修改内置zIndex属性
  13803. */
  13804. function setConfig(_ref3) {
  13805. var _ref3$props = _ref3.props,
  13806. props = _ref3$props === void 0 ? {} : _ref3$props,
  13807. _ref3$config = _ref3.config,
  13808. config = _ref3$config === void 0 ? {} : _ref3$config,
  13809. _ref3$color = _ref3.color,
  13810. color = _ref3$color === void 0 ? {} : _ref3$color,
  13811. _ref3$zIndex = _ref3.zIndex,
  13812. zIndex = _ref3$zIndex === void 0 ? {} : _ref3$zIndex;
  13813. var deepMerge = uni.$u.deepMerge;
  13814. uni.$u.config = deepMerge(uni.$u.config, config);
  13815. uni.$u.props = deepMerge(uni.$u.props, props);
  13816. uni.$u.color = deepMerge(uni.$u.color, color);
  13817. uni.$u.zIndex = deepMerge(uni.$u.zIndex, zIndex);
  13818. }
  13819. var _default = {
  13820. range: range,
  13821. getPx: getPx,
  13822. sleep: sleep,
  13823. os: os,
  13824. sys: sys,
  13825. random: random,
  13826. guid: guid,
  13827. $parent: $parent,
  13828. addStyle: addStyle,
  13829. addUnit: addUnit,
  13830. deepClone: deepClone,
  13831. deepMerge: deepMerge,
  13832. error: error,
  13833. randomArray: randomArray,
  13834. timeFormat: timeFormat,
  13835. timeFrom: timeFrom,
  13836. trim: trim,
  13837. queryParams: queryParams,
  13838. toast: toast,
  13839. type2icon: type2icon,
  13840. priceFormat: priceFormat,
  13841. getDuration: getDuration,
  13842. padZero: padZero,
  13843. formValidate: formValidate,
  13844. getProperty: getProperty,
  13845. setProperty: setProperty,
  13846. page: page,
  13847. pages: pages,
  13848. setConfig: setConfig
  13849. };
  13850. exports.default = _default;
  13851. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  13852. /***/ }),
  13853. /* 65 */
  13854. /*!***************************************************************************************************************************************************!*\
  13855. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/digit.js ***!
  13856. \***************************************************************************************************************************************************/
  13857. /*! no static exports found */
  13858. /***/ (function(module, exports, __webpack_require__) {
  13859. "use strict";
  13860. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  13861. Object.defineProperty(exports, "__esModule", {
  13862. value: true
  13863. });
  13864. exports.default = void 0;
  13865. exports.divide = divide;
  13866. exports.enableBoundaryChecking = enableBoundaryChecking;
  13867. exports.minus = minus;
  13868. exports.plus = plus;
  13869. exports.round = round;
  13870. exports.times = times;
  13871. var _toArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toArray */ 66));
  13872. var _boundaryCheckingState = true; // 是否进行越界检查的全局开关
  13873. /**
  13874. * 把错误的数据转正
  13875. * @private
  13876. * @example strip(0.09999999999999998)=0.1
  13877. */
  13878. function strip(num) {
  13879. var precision = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 15;
  13880. return +parseFloat(Number(num).toPrecision(precision));
  13881. }
  13882. /**
  13883. * Return digits length of a number
  13884. * @private
  13885. * @param {*number} num Input number
  13886. */
  13887. function digitLength(num) {
  13888. // Get digit length of e
  13889. var eSplit = num.toString().split(/[eE]/);
  13890. var len = (eSplit[0].split('.')[1] || '').length - +(eSplit[1] || 0);
  13891. return len > 0 ? len : 0;
  13892. }
  13893. /**
  13894. * 把小数转成整数,如果是小数则放大成整数
  13895. * @private
  13896. * @param {*number} num 输入数
  13897. */
  13898. function float2Fixed(num) {
  13899. if (num.toString().indexOf('e') === -1) {
  13900. return Number(num.toString().replace('.', ''));
  13901. }
  13902. var dLen = digitLength(num);
  13903. return dLen > 0 ? strip(Number(num) * Math.pow(10, dLen)) : Number(num);
  13904. }
  13905. /**
  13906. * 检测数字是否越界,如果越界给出提示
  13907. * @private
  13908. * @param {*number} num 输入数
  13909. */
  13910. function checkBoundary(num) {
  13911. if (_boundaryCheckingState) {
  13912. if (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) {
  13913. console.warn("".concat(num, " \u8D85\u51FA\u4E86\u7CBE\u5EA6\u9650\u5236\uFF0C\u7ED3\u679C\u53EF\u80FD\u4E0D\u6B63\u786E"));
  13914. }
  13915. }
  13916. }
  13917. /**
  13918. * 把递归操作扁平迭代化
  13919. * @param {number[]} arr 要操作的数字数组
  13920. * @param {function} operation 迭代操作
  13921. * @private
  13922. */
  13923. function iteratorOperation(arr, operation) {
  13924. var _arr = (0, _toArray2.default)(arr),
  13925. num1 = _arr[0],
  13926. num2 = _arr[1],
  13927. others = _arr.slice(2);
  13928. var res = operation(num1, num2);
  13929. others.forEach(function (num) {
  13930. res = operation(res, num);
  13931. });
  13932. return res;
  13933. }
  13934. /**
  13935. * 高精度乘法
  13936. * @export
  13937. */
  13938. function times() {
  13939. for (var _len = arguments.length, nums = new Array(_len), _key = 0; _key < _len; _key++) {
  13940. nums[_key] = arguments[_key];
  13941. }
  13942. if (nums.length > 2) {
  13943. return iteratorOperation(nums, times);
  13944. }
  13945. var num1 = nums[0],
  13946. num2 = nums[1];
  13947. var num1Changed = float2Fixed(num1);
  13948. var num2Changed = float2Fixed(num2);
  13949. var baseNum = digitLength(num1) + digitLength(num2);
  13950. var leftValue = num1Changed * num2Changed;
  13951. checkBoundary(leftValue);
  13952. return leftValue / Math.pow(10, baseNum);
  13953. }
  13954. /**
  13955. * 高精度加法
  13956. * @export
  13957. */
  13958. function plus() {
  13959. for (var _len2 = arguments.length, nums = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
  13960. nums[_key2] = arguments[_key2];
  13961. }
  13962. if (nums.length > 2) {
  13963. return iteratorOperation(nums, plus);
  13964. }
  13965. var num1 = nums[0],
  13966. num2 = nums[1];
  13967. // 取最大的小数位
  13968. var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  13969. // 把小数都转为整数然后再计算
  13970. return (times(num1, baseNum) + times(num2, baseNum)) / baseNum;
  13971. }
  13972. /**
  13973. * 高精度减法
  13974. * @export
  13975. */
  13976. function minus() {
  13977. for (var _len3 = arguments.length, nums = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
  13978. nums[_key3] = arguments[_key3];
  13979. }
  13980. if (nums.length > 2) {
  13981. return iteratorOperation(nums, minus);
  13982. }
  13983. var num1 = nums[0],
  13984. num2 = nums[1];
  13985. var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  13986. return (times(num1, baseNum) - times(num2, baseNum)) / baseNum;
  13987. }
  13988. /**
  13989. * 高精度除法
  13990. * @export
  13991. */
  13992. function divide() {
  13993. for (var _len4 = arguments.length, nums = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  13994. nums[_key4] = arguments[_key4];
  13995. }
  13996. if (nums.length > 2) {
  13997. return iteratorOperation(nums, divide);
  13998. }
  13999. var num1 = nums[0],
  14000. num2 = nums[1];
  14001. var num1Changed = float2Fixed(num1);
  14002. var num2Changed = float2Fixed(num2);
  14003. checkBoundary(num1Changed);
  14004. checkBoundary(num2Changed);
  14005. // 重要,这里必须用strip进行修正
  14006. return times(num1Changed / num2Changed, strip(Math.pow(10, digitLength(num2) - digitLength(num1))));
  14007. }
  14008. /**
  14009. * 四舍五入
  14010. * @export
  14011. */
  14012. function round(num, ratio) {
  14013. var base = Math.pow(10, ratio);
  14014. var result = divide(Math.round(Math.abs(times(num, base))), base);
  14015. if (num < 0 && result !== 0) {
  14016. result = times(result, -1);
  14017. }
  14018. // 位数不足则补0
  14019. return result;
  14020. }
  14021. /**
  14022. * 是否进行边界检查,默认开启
  14023. * @param flag 标记开关,true 为开启,false 为关闭,默认为 true
  14024. * @export
  14025. */
  14026. function enableBoundaryChecking() {
  14027. var flag = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
  14028. _boundaryCheckingState = flag;
  14029. }
  14030. var _default = {
  14031. times: times,
  14032. plus: plus,
  14033. minus: minus,
  14034. divide: divide,
  14035. round: round,
  14036. enableBoundaryChecking: enableBoundaryChecking
  14037. };
  14038. exports.default = _default;
  14039. /***/ }),
  14040. /* 66 */
  14041. /*!********************************************************!*\
  14042. !*** ./node_modules/@babel/runtime/helpers/toArray.js ***!
  14043. \********************************************************/
  14044. /*! no static exports found */
  14045. /***/ (function(module, exports, __webpack_require__) {
  14046. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  14047. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  14048. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  14049. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  14050. function _toArray(arr) {
  14051. return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
  14052. }
  14053. module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  14054. /***/ }),
  14055. /* 67 */
  14056. /*!**************************************************************************************************************************************************!*\
  14057. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/config.js ***!
  14058. \**************************************************************************************************************************************************/
  14059. /*! no static exports found */
  14060. /***/ (function(module, exports, __webpack_require__) {
  14061. "use strict";
  14062. Object.defineProperty(exports, "__esModule", {
  14063. value: true
  14064. });
  14065. exports.default = void 0;
  14066. // 此版本发布于2022-00-24
  14067. var version = '2.0.34';
  14068. // 开发环境才提示,生产环境不会提示
  14069. if (true) {
  14070. console.log("\n %c uView V".concat(version, " %c https://uviewui.com/ \n\n"), 'color: #ffffff; background: #3c9cff; padding:5px 0; border-radius: 5px;');
  14071. }
  14072. var _default = {
  14073. v: version,
  14074. version: version,
  14075. // 主题名称
  14076. type: ['primary', 'success', 'info', 'error', 'warning'],
  14077. // 颜色部分,本来可以通过scss的:export导出供js使用,但是奈何nvue不支持
  14078. color: {
  14079. 'u-primary': '#2979ff',
  14080. 'u-warning': '#ff9900',
  14081. 'u-success': '#19be6b',
  14082. 'u-error': '#fa3534',
  14083. 'u-info': '#909399',
  14084. 'u-main-color': '#303133',
  14085. 'u-content-color': '#606266',
  14086. 'u-tips-color': '#909399',
  14087. 'u-light-color': '#c0c4cc'
  14088. },
  14089. // 默认单位,可以通过配置为rpx,那么在用于传入组件大小参数为数值时,就默认为rpx
  14090. unit: 'px'
  14091. };
  14092. exports.default = _default;
  14093. /***/ }),
  14094. /* 68 */
  14095. /*!*************************************************************************************************************************************************!*\
  14096. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props.js ***!
  14097. \*************************************************************************************************************************************************/
  14098. /*! no static exports found */
  14099. /***/ (function(module, exports, __webpack_require__) {
  14100. "use strict";
  14101. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  14102. Object.defineProperty(exports, "__esModule", {
  14103. value: true
  14104. });
  14105. exports.default = void 0;
  14106. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  14107. var _config = _interopRequireDefault(__webpack_require__(/*! ./config */ 67));
  14108. var _actionSheet = _interopRequireDefault(__webpack_require__(/*! ./props/actionSheet.js */ 69));
  14109. var _album = _interopRequireDefault(__webpack_require__(/*! ./props/album.js */ 70));
  14110. var _alert = _interopRequireDefault(__webpack_require__(/*! ./props/alert.js */ 71));
  14111. var _avatar = _interopRequireDefault(__webpack_require__(/*! ./props/avatar */ 72));
  14112. var _avatarGroup = _interopRequireDefault(__webpack_require__(/*! ./props/avatarGroup */ 73));
  14113. var _backtop = _interopRequireDefault(__webpack_require__(/*! ./props/backtop */ 74));
  14114. var _badge = _interopRequireDefault(__webpack_require__(/*! ./props/badge */ 75));
  14115. var _button = _interopRequireDefault(__webpack_require__(/*! ./props/button */ 76));
  14116. var _calendar = _interopRequireDefault(__webpack_require__(/*! ./props/calendar */ 77));
  14117. var _carKeyboard = _interopRequireDefault(__webpack_require__(/*! ./props/carKeyboard */ 78));
  14118. var _cell = _interopRequireDefault(__webpack_require__(/*! ./props/cell */ 79));
  14119. var _cellGroup = _interopRequireDefault(__webpack_require__(/*! ./props/cellGroup */ 80));
  14120. var _checkbox = _interopRequireDefault(__webpack_require__(/*! ./props/checkbox */ 81));
  14121. var _checkboxGroup = _interopRequireDefault(__webpack_require__(/*! ./props/checkboxGroup */ 82));
  14122. var _circleProgress = _interopRequireDefault(__webpack_require__(/*! ./props/circleProgress */ 83));
  14123. var _code = _interopRequireDefault(__webpack_require__(/*! ./props/code */ 84));
  14124. var _codeInput = _interopRequireDefault(__webpack_require__(/*! ./props/codeInput */ 85));
  14125. var _col = _interopRequireDefault(__webpack_require__(/*! ./props/col */ 86));
  14126. var _collapse = _interopRequireDefault(__webpack_require__(/*! ./props/collapse */ 87));
  14127. var _collapseItem = _interopRequireDefault(__webpack_require__(/*! ./props/collapseItem */ 88));
  14128. var _columnNotice = _interopRequireDefault(__webpack_require__(/*! ./props/columnNotice */ 89));
  14129. var _countDown = _interopRequireDefault(__webpack_require__(/*! ./props/countDown */ 90));
  14130. var _countTo = _interopRequireDefault(__webpack_require__(/*! ./props/countTo */ 91));
  14131. var _datetimePicker = _interopRequireDefault(__webpack_require__(/*! ./props/datetimePicker */ 92));
  14132. var _divider = _interopRequireDefault(__webpack_require__(/*! ./props/divider */ 93));
  14133. var _empty = _interopRequireDefault(__webpack_require__(/*! ./props/empty */ 94));
  14134. var _form = _interopRequireDefault(__webpack_require__(/*! ./props/form */ 95));
  14135. var _formItem = _interopRequireDefault(__webpack_require__(/*! ./props/formItem */ 96));
  14136. var _gap = _interopRequireDefault(__webpack_require__(/*! ./props/gap */ 97));
  14137. var _grid = _interopRequireDefault(__webpack_require__(/*! ./props/grid */ 98));
  14138. var _gridItem = _interopRequireDefault(__webpack_require__(/*! ./props/gridItem */ 99));
  14139. var _icon = _interopRequireDefault(__webpack_require__(/*! ./props/icon */ 100));
  14140. var _image = _interopRequireDefault(__webpack_require__(/*! ./props/image */ 101));
  14141. var _indexAnchor = _interopRequireDefault(__webpack_require__(/*! ./props/indexAnchor */ 102));
  14142. var _indexList = _interopRequireDefault(__webpack_require__(/*! ./props/indexList */ 103));
  14143. var _input = _interopRequireDefault(__webpack_require__(/*! ./props/input */ 104));
  14144. var _keyboard = _interopRequireDefault(__webpack_require__(/*! ./props/keyboard */ 105));
  14145. var _line = _interopRequireDefault(__webpack_require__(/*! ./props/line */ 106));
  14146. var _lineProgress = _interopRequireDefault(__webpack_require__(/*! ./props/lineProgress */ 107));
  14147. var _link = _interopRequireDefault(__webpack_require__(/*! ./props/link */ 108));
  14148. var _list = _interopRequireDefault(__webpack_require__(/*! ./props/list */ 109));
  14149. var _listItem = _interopRequireDefault(__webpack_require__(/*! ./props/listItem */ 110));
  14150. var _loadingIcon = _interopRequireDefault(__webpack_require__(/*! ./props/loadingIcon */ 111));
  14151. var _loadingPage = _interopRequireDefault(__webpack_require__(/*! ./props/loadingPage */ 112));
  14152. var _loadmore = _interopRequireDefault(__webpack_require__(/*! ./props/loadmore */ 113));
  14153. var _modal = _interopRequireDefault(__webpack_require__(/*! ./props/modal */ 114));
  14154. var _navbar = _interopRequireDefault(__webpack_require__(/*! ./props/navbar */ 115));
  14155. var _noNetwork = _interopRequireDefault(__webpack_require__(/*! ./props/noNetwork */ 117));
  14156. var _noticeBar = _interopRequireDefault(__webpack_require__(/*! ./props/noticeBar */ 118));
  14157. var _notify = _interopRequireDefault(__webpack_require__(/*! ./props/notify */ 119));
  14158. var _numberBox = _interopRequireDefault(__webpack_require__(/*! ./props/numberBox */ 120));
  14159. var _numberKeyboard = _interopRequireDefault(__webpack_require__(/*! ./props/numberKeyboard */ 121));
  14160. var _overlay = _interopRequireDefault(__webpack_require__(/*! ./props/overlay */ 122));
  14161. var _parse = _interopRequireDefault(__webpack_require__(/*! ./props/parse */ 123));
  14162. var _picker = _interopRequireDefault(__webpack_require__(/*! ./props/picker */ 124));
  14163. var _popup = _interopRequireDefault(__webpack_require__(/*! ./props/popup */ 125));
  14164. var _radio = _interopRequireDefault(__webpack_require__(/*! ./props/radio */ 126));
  14165. var _radioGroup = _interopRequireDefault(__webpack_require__(/*! ./props/radioGroup */ 127));
  14166. var _rate = _interopRequireDefault(__webpack_require__(/*! ./props/rate */ 128));
  14167. var _readMore = _interopRequireDefault(__webpack_require__(/*! ./props/readMore */ 129));
  14168. var _row = _interopRequireDefault(__webpack_require__(/*! ./props/row */ 130));
  14169. var _rowNotice = _interopRequireDefault(__webpack_require__(/*! ./props/rowNotice */ 131));
  14170. var _scrollList = _interopRequireDefault(__webpack_require__(/*! ./props/scrollList */ 132));
  14171. var _search = _interopRequireDefault(__webpack_require__(/*! ./props/search */ 133));
  14172. var _section = _interopRequireDefault(__webpack_require__(/*! ./props/section */ 134));
  14173. var _skeleton = _interopRequireDefault(__webpack_require__(/*! ./props/skeleton */ 135));
  14174. var _slider = _interopRequireDefault(__webpack_require__(/*! ./props/slider */ 136));
  14175. var _statusBar = _interopRequireDefault(__webpack_require__(/*! ./props/statusBar */ 137));
  14176. var _steps = _interopRequireDefault(__webpack_require__(/*! ./props/steps */ 138));
  14177. var _stepsItem = _interopRequireDefault(__webpack_require__(/*! ./props/stepsItem */ 139));
  14178. var _sticky = _interopRequireDefault(__webpack_require__(/*! ./props/sticky */ 140));
  14179. var _subsection = _interopRequireDefault(__webpack_require__(/*! ./props/subsection */ 141));
  14180. var _swipeAction = _interopRequireDefault(__webpack_require__(/*! ./props/swipeAction */ 142));
  14181. var _swipeActionItem = _interopRequireDefault(__webpack_require__(/*! ./props/swipeActionItem */ 143));
  14182. var _swiper = _interopRequireDefault(__webpack_require__(/*! ./props/swiper */ 144));
  14183. var _swipterIndicator = _interopRequireDefault(__webpack_require__(/*! ./props/swipterIndicator */ 145));
  14184. var _switch2 = _interopRequireDefault(__webpack_require__(/*! ./props/switch */ 146));
  14185. var _tabbar = _interopRequireDefault(__webpack_require__(/*! ./props/tabbar */ 147));
  14186. var _tabbarItem = _interopRequireDefault(__webpack_require__(/*! ./props/tabbarItem */ 148));
  14187. var _tabs = _interopRequireDefault(__webpack_require__(/*! ./props/tabs */ 149));
  14188. var _tag = _interopRequireDefault(__webpack_require__(/*! ./props/tag */ 150));
  14189. var _text = _interopRequireDefault(__webpack_require__(/*! ./props/text */ 151));
  14190. var _textarea = _interopRequireDefault(__webpack_require__(/*! ./props/textarea */ 152));
  14191. var _toast = _interopRequireDefault(__webpack_require__(/*! ./props/toast */ 153));
  14192. var _toolbar = _interopRequireDefault(__webpack_require__(/*! ./props/toolbar */ 154));
  14193. var _tooltip = _interopRequireDefault(__webpack_require__(/*! ./props/tooltip */ 155));
  14194. var _transition = _interopRequireDefault(__webpack_require__(/*! ./props/transition */ 156));
  14195. var _upload = _interopRequireDefault(__webpack_require__(/*! ./props/upload */ 157));
  14196. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  14197. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  14198. var color = _config.default.color;
  14199. var _default = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _actionSheet.default), _album.default), _alert.default), _avatar.default), _avatarGroup.default), _backtop.default), _badge.default), _button.default), _calendar.default), _carKeyboard.default), _cell.default), _cellGroup.default), _checkbox.default), _checkboxGroup.default), _circleProgress.default), _code.default), _codeInput.default), _col.default), _collapse.default), _collapseItem.default), _columnNotice.default), _countDown.default), _countTo.default), _datetimePicker.default), _divider.default), _empty.default), _form.default), _formItem.default), _gap.default), _grid.default), _gridItem.default), _icon.default), _image.default), _indexAnchor.default), _indexList.default), _input.default), _keyboard.default), _line.default), _lineProgress.default), _link.default), _list.default), _listItem.default), _loadingIcon.default), _loadingPage.default), _loadmore.default), _modal.default), _navbar.default), _noNetwork.default), _noticeBar.default), _notify.default), _numberBox.default), _numberKeyboard.default), _overlay.default), _parse.default), _picker.default), _popup.default), _radio.default), _radioGroup.default), _rate.default), _readMore.default), _row.default), _rowNotice.default), _scrollList.default), _search.default), _section.default), _skeleton.default), _slider.default), _statusBar.default), _steps.default), _stepsItem.default), _sticky.default), _subsection.default), _swipeAction.default), _swipeActionItem.default), _swiper.default), _swipterIndicator.default), _switch2.default), _tabbar.default), _tabbarItem.default), _tabs.default), _tag.default), _text.default), _textarea.default), _toast.default), _toolbar.default), _tooltip.default), _transition.default), _upload.default);
  14200. exports.default = _default;
  14201. /***/ }),
  14202. /* 69 */
  14203. /*!*************************************************************************************************************************************************************!*\
  14204. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/actionSheet.js ***!
  14205. \*************************************************************************************************************************************************************/
  14206. /*! no static exports found */
  14207. /***/ (function(module, exports, __webpack_require__) {
  14208. "use strict";
  14209. Object.defineProperty(exports, "__esModule", {
  14210. value: true
  14211. });
  14212. exports.default = void 0;
  14213. /*
  14214. * @Author : LQ
  14215. * @Description :
  14216. * @version : 1.0
  14217. * @Date : 2021-08-20 16:44:21
  14218. * @LastAuthor : LQ
  14219. * @lastTime : 2021-08-20 16:44:35
  14220. * @FilePath : /u-view2.0/uview-ui/libs/config/props/actionSheet.js
  14221. */
  14222. var _default = {
  14223. // action-sheet组件
  14224. actionSheet: {
  14225. show: false,
  14226. title: '',
  14227. description: '',
  14228. actions: function actions() {
  14229. return [];
  14230. },
  14231. index: '',
  14232. cancelText: '',
  14233. closeOnClickAction: true,
  14234. safeAreaInsetBottom: true,
  14235. openType: '',
  14236. closeOnClickOverlay: true,
  14237. round: 0
  14238. }
  14239. };
  14240. exports.default = _default;
  14241. /***/ }),
  14242. /* 70 */
  14243. /*!*******************************************************************************************************************************************************!*\
  14244. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/album.js ***!
  14245. \*******************************************************************************************************************************************************/
  14246. /*! no static exports found */
  14247. /***/ (function(module, exports, __webpack_require__) {
  14248. "use strict";
  14249. Object.defineProperty(exports, "__esModule", {
  14250. value: true
  14251. });
  14252. exports.default = void 0;
  14253. /*
  14254. * @Author : LQ
  14255. * @Description :
  14256. * @version : 1.0
  14257. * @Date : 2021-08-20 16:44:21
  14258. * @LastAuthor : LQ
  14259. * @lastTime : 2021-08-20 16:47:24
  14260. * @FilePath : /u-view2.0/uview-ui/libs/config/props/album.js
  14261. */
  14262. var _default = {
  14263. // album 组件
  14264. album: {
  14265. urls: function urls() {
  14266. return [];
  14267. },
  14268. keyName: '',
  14269. singleSize: 180,
  14270. multipleSize: 70,
  14271. space: 6,
  14272. singleMode: 'scaleToFill',
  14273. multipleMode: 'aspectFill',
  14274. maxCount: 9,
  14275. previewFullImage: true,
  14276. rowCount: 3,
  14277. showMore: true
  14278. }
  14279. };
  14280. exports.default = _default;
  14281. /***/ }),
  14282. /* 71 */
  14283. /*!*******************************************************************************************************************************************************!*\
  14284. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/alert.js ***!
  14285. \*******************************************************************************************************************************************************/
  14286. /*! no static exports found */
  14287. /***/ (function(module, exports, __webpack_require__) {
  14288. "use strict";
  14289. Object.defineProperty(exports, "__esModule", {
  14290. value: true
  14291. });
  14292. exports.default = void 0;
  14293. /*
  14294. * @Author : LQ
  14295. * @Description :
  14296. * @version : 1.0
  14297. * @Date : 2021-08-20 16:44:21
  14298. * @LastAuthor : LQ
  14299. * @lastTime : 2021-08-20 16:48:53
  14300. * @FilePath : /u-view2.0/uview-ui/libs/config/props/alert.js
  14301. */
  14302. var _default = {
  14303. // alert警告组件
  14304. alert: {
  14305. title: '',
  14306. type: 'warning',
  14307. description: '',
  14308. closable: false,
  14309. showIcon: false,
  14310. effect: 'light',
  14311. center: false,
  14312. fontSize: 14
  14313. }
  14314. };
  14315. exports.default = _default;
  14316. /***/ }),
  14317. /* 72 */
  14318. /*!********************************************************************************************************************************************************!*\
  14319. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/avatar.js ***!
  14320. \********************************************************************************************************************************************************/
  14321. /*! no static exports found */
  14322. /***/ (function(module, exports, __webpack_require__) {
  14323. "use strict";
  14324. Object.defineProperty(exports, "__esModule", {
  14325. value: true
  14326. });
  14327. exports.default = void 0;
  14328. /*
  14329. * @Author : LQ
  14330. * @Description :
  14331. * @version : 1.0
  14332. * @Date : 2021-08-20 16:44:21
  14333. * @LastAuthor : LQ
  14334. * @lastTime : 2021-08-20 16:49:22
  14335. * @FilePath : /u-view2.0/uview-ui/libs/config/props/avatar.js
  14336. */
  14337. var _default = {
  14338. // avatar 组件
  14339. avatar: {
  14340. src: '',
  14341. shape: 'circle',
  14342. size: 40,
  14343. mode: 'scaleToFill',
  14344. text: '',
  14345. bgColor: '#c0c4cc',
  14346. color: '#ffffff',
  14347. fontSize: 18,
  14348. icon: '',
  14349. mpAvatar: false,
  14350. randomBgColor: false,
  14351. defaultUrl: '',
  14352. colorIndex: '',
  14353. name: ''
  14354. }
  14355. };
  14356. exports.default = _default;
  14357. /***/ }),
  14358. /* 73 */
  14359. /*!*************************************************************************************************************************************************************!*\
  14360. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/avatarGroup.js ***!
  14361. \*************************************************************************************************************************************************************/
  14362. /*! no static exports found */
  14363. /***/ (function(module, exports, __webpack_require__) {
  14364. "use strict";
  14365. Object.defineProperty(exports, "__esModule", {
  14366. value: true
  14367. });
  14368. exports.default = void 0;
  14369. /*
  14370. * @Author : LQ
  14371. * @Description :
  14372. * @version : 1.0
  14373. * @Date : 2021-08-20 16:44:21
  14374. * @LastAuthor : LQ
  14375. * @lastTime : 2021-08-20 16:49:55
  14376. * @FilePath : /u-view2.0/uview-ui/libs/config/props/avatarGroup.js
  14377. */
  14378. var _default = {
  14379. // avatarGroup 组件
  14380. avatarGroup: {
  14381. urls: function urls() {
  14382. return [];
  14383. },
  14384. maxCount: 5,
  14385. shape: 'circle',
  14386. mode: 'scaleToFill',
  14387. showMore: true,
  14388. size: 40,
  14389. keyName: '',
  14390. gap: 0.5,
  14391. extraValue: 0
  14392. }
  14393. };
  14394. exports.default = _default;
  14395. /***/ }),
  14396. /* 74 */
  14397. /*!*********************************************************************************************************************************************************!*\
  14398. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/backtop.js ***!
  14399. \*********************************************************************************************************************************************************/
  14400. /*! no static exports found */
  14401. /***/ (function(module, exports, __webpack_require__) {
  14402. "use strict";
  14403. Object.defineProperty(exports, "__esModule", {
  14404. value: true
  14405. });
  14406. exports.default = void 0;
  14407. /*
  14408. * @Author : LQ
  14409. * @Description :
  14410. * @version : 1.0
  14411. * @Date : 2021-08-20 16:44:21
  14412. * @LastAuthor : LQ
  14413. * @lastTime : 2021-08-20 16:50:18
  14414. * @FilePath : /u-view2.0/uview-ui/libs/config/props/backtop.js
  14415. */
  14416. var _default = {
  14417. // backtop组件
  14418. backtop: {
  14419. mode: 'circle',
  14420. icon: 'arrow-upward',
  14421. text: '',
  14422. duration: 100,
  14423. scrollTop: 0,
  14424. top: 400,
  14425. bottom: 100,
  14426. right: 20,
  14427. zIndex: 9,
  14428. iconStyle: function iconStyle() {
  14429. return {
  14430. color: '#909399',
  14431. fontSize: '19px'
  14432. };
  14433. }
  14434. }
  14435. };
  14436. exports.default = _default;
  14437. /***/ }),
  14438. /* 75 */
  14439. /*!*******************************************************************************************************************************************************!*\
  14440. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/badge.js ***!
  14441. \*******************************************************************************************************************************************************/
  14442. /*! no static exports found */
  14443. /***/ (function(module, exports, __webpack_require__) {
  14444. "use strict";
  14445. Object.defineProperty(exports, "__esModule", {
  14446. value: true
  14447. });
  14448. exports.default = void 0;
  14449. /*
  14450. * @Author : LQ
  14451. * @Description :
  14452. * @version : 1.0
  14453. * @Date : 2021-08-20 16:44:21
  14454. * @LastAuthor : LQ
  14455. * @lastTime : 2021-08-23 19:51:50
  14456. * @FilePath : /u-view2.0/uview-ui/libs/config/props/badge.js
  14457. */
  14458. var _default = {
  14459. // 徽标数组件
  14460. badge: {
  14461. isDot: false,
  14462. value: '',
  14463. show: true,
  14464. max: 999,
  14465. type: 'error',
  14466. showZero: false,
  14467. bgColor: null,
  14468. color: null,
  14469. shape: 'circle',
  14470. numberType: 'overflow',
  14471. offset: function offset() {
  14472. return [];
  14473. },
  14474. inverted: false,
  14475. absolute: false
  14476. }
  14477. };
  14478. exports.default = _default;
  14479. /***/ }),
  14480. /* 76 */
  14481. /*!********************************************************************************************************************************************************!*\
  14482. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/button.js ***!
  14483. \********************************************************************************************************************************************************/
  14484. /*! no static exports found */
  14485. /***/ (function(module, exports, __webpack_require__) {
  14486. "use strict";
  14487. Object.defineProperty(exports, "__esModule", {
  14488. value: true
  14489. });
  14490. exports.default = void 0;
  14491. /*
  14492. * @Author : LQ
  14493. * @Description :
  14494. * @version : 1.0
  14495. * @Date : 2021-08-20 16:44:21
  14496. * @LastAuthor : LQ
  14497. * @lastTime : 2021-08-20 16:51:27
  14498. * @FilePath : /u-view2.0/uview-ui/libs/config/props/button.js
  14499. */
  14500. var _default = {
  14501. // button组件
  14502. button: {
  14503. hairline: false,
  14504. type: 'info',
  14505. size: 'normal',
  14506. shape: 'square',
  14507. plain: false,
  14508. disabled: false,
  14509. loading: false,
  14510. loadingText: '',
  14511. loadingMode: 'spinner',
  14512. loadingSize: 15,
  14513. openType: '',
  14514. formType: '',
  14515. appParameter: '',
  14516. hoverStopPropagation: true,
  14517. lang: 'en',
  14518. sessionFrom: '',
  14519. sendMessageTitle: '',
  14520. sendMessagePath: '',
  14521. sendMessageImg: '',
  14522. showMessageCard: false,
  14523. dataName: '',
  14524. throttleTime: 0,
  14525. hoverStartTime: 0,
  14526. hoverStayTime: 200,
  14527. text: '',
  14528. icon: '',
  14529. iconColor: '',
  14530. color: ''
  14531. }
  14532. };
  14533. exports.default = _default;
  14534. /***/ }),
  14535. /* 77 */
  14536. /*!**********************************************************************************************************************************************************!*\
  14537. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/calendar.js ***!
  14538. \**********************************************************************************************************************************************************/
  14539. /*! no static exports found */
  14540. /***/ (function(module, exports, __webpack_require__) {
  14541. "use strict";
  14542. Object.defineProperty(exports, "__esModule", {
  14543. value: true
  14544. });
  14545. exports.default = void 0;
  14546. /*
  14547. * @Author : LQ
  14548. * @Description :
  14549. * @version : 1.0
  14550. * @Date : 2021-08-20 16:44:21
  14551. * @LastAuthor : LQ
  14552. * @lastTime : 2021-08-20 16:52:43
  14553. * @FilePath : /u-view2.0/uview-ui/libs/config/props/calendar.js
  14554. */
  14555. var _default = {
  14556. // calendar 组件
  14557. calendar: {
  14558. title: '日期选择',
  14559. showTitle: true,
  14560. showSubtitle: true,
  14561. mode: 'single',
  14562. startText: '开始',
  14563. endText: '结束',
  14564. customList: function customList() {
  14565. return [];
  14566. },
  14567. color: '#3c9cff',
  14568. minDate: 0,
  14569. maxDate: 0,
  14570. defaultDate: null,
  14571. maxCount: Number.MAX_SAFE_INTEGER,
  14572. // Infinity
  14573. rowHeight: 56,
  14574. formatter: null,
  14575. showLunar: false,
  14576. showMark: true,
  14577. confirmText: '确定',
  14578. confirmDisabledText: '确定',
  14579. show: false,
  14580. closeOnClickOverlay: false,
  14581. readonly: false,
  14582. showConfirm: true,
  14583. maxRange: Number.MAX_SAFE_INTEGER,
  14584. // Infinity
  14585. rangePrompt: '',
  14586. showRangePrompt: true,
  14587. allowSameDay: false,
  14588. round: 0,
  14589. monthNum: 3
  14590. }
  14591. };
  14592. exports.default = _default;
  14593. /***/ }),
  14594. /* 78 */
  14595. /*!*************************************************************************************************************************************************************!*\
  14596. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/carKeyboard.js ***!
  14597. \*************************************************************************************************************************************************************/
  14598. /*! no static exports found */
  14599. /***/ (function(module, exports, __webpack_require__) {
  14600. "use strict";
  14601. Object.defineProperty(exports, "__esModule", {
  14602. value: true
  14603. });
  14604. exports.default = void 0;
  14605. /*
  14606. * @Author : LQ
  14607. * @Description :
  14608. * @version : 1.0
  14609. * @Date : 2021-08-20 16:44:21
  14610. * @LastAuthor : LQ
  14611. * @lastTime : 2021-08-20 16:53:20
  14612. * @FilePath : /u-view2.0/uview-ui/libs/config/props/carKeyboard.js
  14613. */
  14614. var _default = {
  14615. // 车牌号键盘
  14616. carKeyboard: {
  14617. random: false
  14618. }
  14619. };
  14620. exports.default = _default;
  14621. /***/ }),
  14622. /* 79 */
  14623. /*!******************************************************************************************************************************************************!*\
  14624. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/cell.js ***!
  14625. \******************************************************************************************************************************************************/
  14626. /*! no static exports found */
  14627. /***/ (function(module, exports, __webpack_require__) {
  14628. "use strict";
  14629. Object.defineProperty(exports, "__esModule", {
  14630. value: true
  14631. });
  14632. exports.default = void 0;
  14633. /*
  14634. * @Author : LQ
  14635. * @Description :
  14636. * @version : 1.0
  14637. * @Date : 2021-08-20 16:44:21
  14638. * @LastAuthor : LQ
  14639. * @lastTime : 2021-08-23 20:53:09
  14640. * @FilePath : /u-view2.0/uview-ui/libs/config/props/cell.js
  14641. */
  14642. var _default = {
  14643. // cell组件的props
  14644. cell: {
  14645. customClass: '',
  14646. title: '',
  14647. label: '',
  14648. value: '',
  14649. icon: '',
  14650. disabled: false,
  14651. border: true,
  14652. center: false,
  14653. url: '',
  14654. linkType: 'navigateTo',
  14655. clickable: false,
  14656. isLink: false,
  14657. required: false,
  14658. arrowDirection: '',
  14659. iconStyle: {},
  14660. rightIconStyle: {},
  14661. rightIcon: 'arrow-right',
  14662. titleStyle: {},
  14663. size: '',
  14664. stop: true,
  14665. name: ''
  14666. }
  14667. };
  14668. exports.default = _default;
  14669. /***/ }),
  14670. /* 80 */
  14671. /*!***********************************************************************************************************************************************************!*\
  14672. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/cellGroup.js ***!
  14673. \***********************************************************************************************************************************************************/
  14674. /*! no static exports found */
  14675. /***/ (function(module, exports, __webpack_require__) {
  14676. "use strict";
  14677. Object.defineProperty(exports, "__esModule", {
  14678. value: true
  14679. });
  14680. exports.default = void 0;
  14681. /*
  14682. * @Author : LQ
  14683. * @Description :
  14684. * @version : 1.0
  14685. * @Date : 2021-08-20 16:44:21
  14686. * @LastAuthor : LQ
  14687. * @lastTime : 2021-08-20 16:54:16
  14688. * @FilePath : /u-view2.0/uview-ui/libs/config/props/cellGroup.js
  14689. */
  14690. var _default = {
  14691. // cell-group组件的props
  14692. cellGroup: {
  14693. title: '',
  14694. border: true,
  14695. customStyle: {}
  14696. }
  14697. };
  14698. exports.default = _default;
  14699. /***/ }),
  14700. /* 81 */
  14701. /*!**********************************************************************************************************************************************************!*\
  14702. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/checkbox.js ***!
  14703. \**********************************************************************************************************************************************************/
  14704. /*! no static exports found */
  14705. /***/ (function(module, exports, __webpack_require__) {
  14706. "use strict";
  14707. Object.defineProperty(exports, "__esModule", {
  14708. value: true
  14709. });
  14710. exports.default = void 0;
  14711. /*
  14712. * @Author : LQ
  14713. * @Description :
  14714. * @version : 1.0
  14715. * @Date : 2021-08-20 16:44:21
  14716. * @LastAuthor : LQ
  14717. * @lastTime : 2021-08-23 21:06:59
  14718. * @FilePath : /u-view2.0/uview-ui/libs/config/props/checkbox.js
  14719. */
  14720. var _default = {
  14721. // checkbox组件
  14722. checkbox: {
  14723. name: '',
  14724. shape: '',
  14725. size: '',
  14726. checkbox: false,
  14727. disabled: '',
  14728. activeColor: '',
  14729. inactiveColor: '',
  14730. iconSize: '',
  14731. iconColor: '',
  14732. label: '',
  14733. labelSize: '',
  14734. labelColor: '',
  14735. labelDisabled: ''
  14736. }
  14737. };
  14738. exports.default = _default;
  14739. /***/ }),
  14740. /* 82 */
  14741. /*!***************************************************************************************************************************************************************!*\
  14742. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/checkboxGroup.js ***!
  14743. \***************************************************************************************************************************************************************/
  14744. /*! no static exports found */
  14745. /***/ (function(module, exports, __webpack_require__) {
  14746. "use strict";
  14747. Object.defineProperty(exports, "__esModule", {
  14748. value: true
  14749. });
  14750. exports.default = void 0;
  14751. /*
  14752. * @Author : LQ
  14753. * @Description :
  14754. * @version : 1.0
  14755. * @Date : 2021-08-20 16:44:21
  14756. * @LastAuthor : LQ
  14757. * @lastTime : 2021-08-20 16:54:47
  14758. * @FilePath : /u-view2.0/uview-ui/libs/config/props/checkboxGroup.js
  14759. */
  14760. var _default = {
  14761. // checkbox-group组件
  14762. checkboxGroup: {
  14763. name: '',
  14764. value: function value() {
  14765. return [];
  14766. },
  14767. shape: 'square',
  14768. disabled: false,
  14769. activeColor: '#2979ff',
  14770. inactiveColor: '#c8c9cc',
  14771. size: 18,
  14772. placement: 'row',
  14773. labelSize: 14,
  14774. labelColor: '#303133',
  14775. labelDisabled: false,
  14776. iconColor: '#ffffff',
  14777. iconSize: 12,
  14778. iconPlacement: 'left',
  14779. borderBottom: false
  14780. }
  14781. };
  14782. exports.default = _default;
  14783. /***/ }),
  14784. /* 83 */
  14785. /*!****************************************************************************************************************************************************************!*\
  14786. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/circleProgress.js ***!
  14787. \****************************************************************************************************************************************************************/
  14788. /*! no static exports found */
  14789. /***/ (function(module, exports, __webpack_require__) {
  14790. "use strict";
  14791. Object.defineProperty(exports, "__esModule", {
  14792. value: true
  14793. });
  14794. exports.default = void 0;
  14795. /*
  14796. * @Author : LQ
  14797. * @Description :
  14798. * @version : 1.0
  14799. * @Date : 2021-08-20 16:44:21
  14800. * @LastAuthor : LQ
  14801. * @lastTime : 2021-08-20 16:55:02
  14802. * @FilePath : /u-view2.0/uview-ui/libs/config/props/circleProgress.js
  14803. */
  14804. var _default = {
  14805. // circleProgress 组件
  14806. circleProgress: {
  14807. percentage: 30
  14808. }
  14809. };
  14810. exports.default = _default;
  14811. /***/ }),
  14812. /* 84 */
  14813. /*!******************************************************************************************************************************************************!*\
  14814. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/code.js ***!
  14815. \******************************************************************************************************************************************************/
  14816. /*! no static exports found */
  14817. /***/ (function(module, exports, __webpack_require__) {
  14818. "use strict";
  14819. Object.defineProperty(exports, "__esModule", {
  14820. value: true
  14821. });
  14822. exports.default = void 0;
  14823. /*
  14824. * @Author : LQ
  14825. * @Description :
  14826. * @version : 1.0
  14827. * @Date : 2021-08-20 16:44:21
  14828. * @LastAuthor : LQ
  14829. * @lastTime : 2021-08-20 16:55:27
  14830. * @FilePath : /u-view2.0/uview-ui/libs/config/props/code.js
  14831. */
  14832. var _default = {
  14833. // code 组件
  14834. code: {
  14835. seconds: 60,
  14836. startText: '获取验证码',
  14837. changeText: 'X秒重新获取',
  14838. endText: '重新获取',
  14839. keepRunning: false,
  14840. uniqueKey: ''
  14841. }
  14842. };
  14843. exports.default = _default;
  14844. /***/ }),
  14845. /* 85 */
  14846. /*!***********************************************************************************************************************************************************!*\
  14847. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/codeInput.js ***!
  14848. \***********************************************************************************************************************************************************/
  14849. /*! no static exports found */
  14850. /***/ (function(module, exports, __webpack_require__) {
  14851. "use strict";
  14852. Object.defineProperty(exports, "__esModule", {
  14853. value: true
  14854. });
  14855. exports.default = void 0;
  14856. /*
  14857. * @Author : LQ
  14858. * @Description :
  14859. * @version : 1.0
  14860. * @Date : 2021-08-20 16:44:21
  14861. * @LastAuthor : LQ
  14862. * @lastTime : 2021-08-20 16:55:58
  14863. * @FilePath : /u-view2.0/uview-ui/libs/config/props/codeInput.js
  14864. */
  14865. var _default = {
  14866. // codeInput 组件
  14867. codeInput: {
  14868. adjustPosition: true,
  14869. maxlength: 6,
  14870. dot: false,
  14871. mode: 'box',
  14872. hairline: false,
  14873. space: 10,
  14874. value: '',
  14875. focus: false,
  14876. bold: false,
  14877. color: '#606266',
  14878. fontSize: 18,
  14879. size: 35,
  14880. disabledKeyboard: false,
  14881. borderColor: '#c9cacc',
  14882. disabledDot: true
  14883. }
  14884. };
  14885. exports.default = _default;
  14886. /***/ }),
  14887. /* 86 */
  14888. /*!*****************************************************************************************************************************************************!*\
  14889. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/col.js ***!
  14890. \*****************************************************************************************************************************************************/
  14891. /*! no static exports found */
  14892. /***/ (function(module, exports, __webpack_require__) {
  14893. "use strict";
  14894. Object.defineProperty(exports, "__esModule", {
  14895. value: true
  14896. });
  14897. exports.default = void 0;
  14898. /*
  14899. * @Author : LQ
  14900. * @Description :
  14901. * @version : 1.0
  14902. * @Date : 2021-08-20 16:44:21
  14903. * @LastAuthor : LQ
  14904. * @lastTime : 2021-08-20 16:56:12
  14905. * @FilePath : /u-view2.0/uview-ui/libs/config/props/col.js
  14906. */
  14907. var _default = {
  14908. // col 组件
  14909. col: {
  14910. span: 12,
  14911. offset: 0,
  14912. justify: 'start',
  14913. align: 'stretch',
  14914. textAlign: 'left'
  14915. }
  14916. };
  14917. exports.default = _default;
  14918. /***/ }),
  14919. /* 87 */
  14920. /*!**********************************************************************************************************************************************************!*\
  14921. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/collapse.js ***!
  14922. \**********************************************************************************************************************************************************/
  14923. /*! no static exports found */
  14924. /***/ (function(module, exports, __webpack_require__) {
  14925. "use strict";
  14926. Object.defineProperty(exports, "__esModule", {
  14927. value: true
  14928. });
  14929. exports.default = void 0;
  14930. /*
  14931. * @Author : LQ
  14932. * @Description :
  14933. * @version : 1.0
  14934. * @Date : 2021-08-20 16:44:21
  14935. * @LastAuthor : LQ
  14936. * @lastTime : 2021-08-20 16:56:30
  14937. * @FilePath : /u-view2.0/uview-ui/libs/config/props/collapse.js
  14938. */
  14939. var _default = {
  14940. // collapse 组件
  14941. collapse: {
  14942. value: null,
  14943. accordion: false,
  14944. border: true
  14945. }
  14946. };
  14947. exports.default = _default;
  14948. /***/ }),
  14949. /* 88 */
  14950. /*!**************************************************************************************************************************************************************!*\
  14951. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/collapseItem.js ***!
  14952. \**************************************************************************************************************************************************************/
  14953. /*! no static exports found */
  14954. /***/ (function(module, exports, __webpack_require__) {
  14955. "use strict";
  14956. Object.defineProperty(exports, "__esModule", {
  14957. value: true
  14958. });
  14959. exports.default = void 0;
  14960. /*
  14961. * @Author : LQ
  14962. * @Description :
  14963. * @version : 1.0
  14964. * @Date : 2021-08-20 16:44:21
  14965. * @LastAuthor : LQ
  14966. * @lastTime : 2021-08-20 16:56:42
  14967. * @FilePath : /u-view2.0/uview-ui/libs/config/props/collapseItem.js
  14968. */
  14969. var _default = {
  14970. // collapseItem 组件
  14971. collapseItem: {
  14972. title: '',
  14973. value: '',
  14974. label: '',
  14975. disabled: false,
  14976. isLink: true,
  14977. clickable: true,
  14978. border: true,
  14979. align: 'left',
  14980. name: '',
  14981. icon: '',
  14982. duration: 300
  14983. }
  14984. };
  14985. exports.default = _default;
  14986. /***/ }),
  14987. /* 89 */
  14988. /*!**************************************************************************************************************************************************************!*\
  14989. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/columnNotice.js ***!
  14990. \**************************************************************************************************************************************************************/
  14991. /*! no static exports found */
  14992. /***/ (function(module, exports, __webpack_require__) {
  14993. "use strict";
  14994. Object.defineProperty(exports, "__esModule", {
  14995. value: true
  14996. });
  14997. exports.default = void 0;
  14998. /*
  14999. * @Author : LQ
  15000. * @Description :
  15001. * @version : 1.0
  15002. * @Date : 2021-08-20 16:44:21
  15003. * @LastAuthor : LQ
  15004. * @lastTime : 2021-08-20 16:57:16
  15005. * @FilePath : /u-view2.0/uview-ui/libs/config/props/columnNotice.js
  15006. */
  15007. var _default = {
  15008. // columnNotice 组件
  15009. columnNotice: {
  15010. text: '',
  15011. icon: 'volume',
  15012. mode: '',
  15013. color: '#f9ae3d',
  15014. bgColor: '#fdf6ec',
  15015. fontSize: 14,
  15016. speed: 80,
  15017. step: false,
  15018. duration: 1500,
  15019. disableTouch: true
  15020. }
  15021. };
  15022. exports.default = _default;
  15023. /***/ }),
  15024. /* 90 */
  15025. /*!***********************************************************************************************************************************************************!*\
  15026. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/countDown.js ***!
  15027. \***********************************************************************************************************************************************************/
  15028. /*! no static exports found */
  15029. /***/ (function(module, exports, __webpack_require__) {
  15030. "use strict";
  15031. Object.defineProperty(exports, "__esModule", {
  15032. value: true
  15033. });
  15034. exports.default = void 0;
  15035. /*
  15036. * @Author : LQ
  15037. * @Description :
  15038. * @version : 1.0
  15039. * @Date : 2021-08-20 16:44:21
  15040. * @LastAuthor : LQ
  15041. * @lastTime : 2021-08-20 17:11:29
  15042. * @FilePath : /u-view2.0/uview-ui/libs/config/props/countDown.js
  15043. */
  15044. var _default = {
  15045. // u-count-down 计时器组件
  15046. countDown: {
  15047. time: 0,
  15048. format: 'HH:mm:ss',
  15049. autoStart: true,
  15050. millisecond: false
  15051. }
  15052. };
  15053. exports.default = _default;
  15054. /***/ }),
  15055. /* 91 */
  15056. /*!*********************************************************************************************************************************************************!*\
  15057. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/countTo.js ***!
  15058. \*********************************************************************************************************************************************************/
  15059. /*! no static exports found */
  15060. /***/ (function(module, exports, __webpack_require__) {
  15061. "use strict";
  15062. Object.defineProperty(exports, "__esModule", {
  15063. value: true
  15064. });
  15065. exports.default = void 0;
  15066. /*
  15067. * @Author : LQ
  15068. * @Description :
  15069. * @version : 1.0
  15070. * @Date : 2021-08-20 16:44:21
  15071. * @LastAuthor : LQ
  15072. * @lastTime : 2021-08-20 16:57:32
  15073. * @FilePath : /u-view2.0/uview-ui/libs/config/props/countTo.js
  15074. */
  15075. var _default = {
  15076. // countTo 组件
  15077. countTo: {
  15078. startVal: 0,
  15079. endVal: 0,
  15080. duration: 2000,
  15081. autoplay: true,
  15082. decimals: 0,
  15083. useEasing: true,
  15084. decimal: '.',
  15085. color: '#606266',
  15086. fontSize: 22,
  15087. bold: false,
  15088. separator: ''
  15089. }
  15090. };
  15091. exports.default = _default;
  15092. /***/ }),
  15093. /* 92 */
  15094. /*!****************************************************************************************************************************************************************!*\
  15095. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/datetimePicker.js ***!
  15096. \****************************************************************************************************************************************************************/
  15097. /*! no static exports found */
  15098. /***/ (function(module, exports, __webpack_require__) {
  15099. "use strict";
  15100. Object.defineProperty(exports, "__esModule", {
  15101. value: true
  15102. });
  15103. exports.default = void 0;
  15104. /*
  15105. * @Author : LQ
  15106. * @Description :
  15107. * @version : 1.0
  15108. * @Date : 2021-08-20 16:44:21
  15109. * @LastAuthor : LQ
  15110. * @lastTime : 2021-08-20 16:57:48
  15111. * @FilePath : /u-view2.0/uview-ui/libs/config/props/datetimePicker.js
  15112. */
  15113. var _default = {
  15114. // datetimePicker 组件
  15115. datetimePicker: {
  15116. show: false,
  15117. showToolbar: true,
  15118. value: '',
  15119. title: '',
  15120. mode: 'datetime',
  15121. maxDate: new Date(new Date().getFullYear() + 10, 0, 1).getTime(),
  15122. minDate: new Date(new Date().getFullYear() - 10, 0, 1).getTime(),
  15123. minHour: 0,
  15124. maxHour: 23,
  15125. minMinute: 0,
  15126. maxMinute: 59,
  15127. filter: null,
  15128. formatter: null,
  15129. loading: false,
  15130. itemHeight: 44,
  15131. cancelText: '取消',
  15132. confirmText: '确认',
  15133. cancelColor: '#909193',
  15134. confirmColor: '#3c9cff',
  15135. visibleItemCount: 5,
  15136. closeOnClickOverlay: false,
  15137. defaultIndex: function defaultIndex() {
  15138. return [];
  15139. }
  15140. }
  15141. };
  15142. exports.default = _default;
  15143. /***/ }),
  15144. /* 93 */
  15145. /*!*********************************************************************************************************************************************************!*\
  15146. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/divider.js ***!
  15147. \*********************************************************************************************************************************************************/
  15148. /*! no static exports found */
  15149. /***/ (function(module, exports, __webpack_require__) {
  15150. "use strict";
  15151. Object.defineProperty(exports, "__esModule", {
  15152. value: true
  15153. });
  15154. exports.default = void 0;
  15155. /*
  15156. * @Author : LQ
  15157. * @Description :
  15158. * @version : 1.0
  15159. * @Date : 2021-08-20 16:44:21
  15160. * @LastAuthor : LQ
  15161. * @lastTime : 2021-08-20 16:58:03
  15162. * @FilePath : /u-view2.0/uview-ui/libs/config/props/divider.js
  15163. */
  15164. var _default = {
  15165. // divider组件
  15166. divider: {
  15167. dashed: false,
  15168. hairline: true,
  15169. dot: false,
  15170. textPosition: 'center',
  15171. text: '',
  15172. textSize: 14,
  15173. textColor: '#909399',
  15174. lineColor: '#dcdfe6'
  15175. }
  15176. };
  15177. exports.default = _default;
  15178. /***/ }),
  15179. /* 94 */
  15180. /*!*******************************************************************************************************************************************************!*\
  15181. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/empty.js ***!
  15182. \*******************************************************************************************************************************************************/
  15183. /*! no static exports found */
  15184. /***/ (function(module, exports, __webpack_require__) {
  15185. "use strict";
  15186. Object.defineProperty(exports, "__esModule", {
  15187. value: true
  15188. });
  15189. exports.default = void 0;
  15190. /*
  15191. * @Author : LQ
  15192. * @Description :
  15193. * @version : 1.0
  15194. * @Date : 2021-08-20 16:44:21
  15195. * @LastAuthor : LQ
  15196. * @lastTime : 2021-08-20 17:03:27
  15197. * @FilePath : /u-view2.0/uview-ui/libs/config/props/empty.js
  15198. */
  15199. var _default = {
  15200. // empty组件
  15201. empty: {
  15202. icon: '',
  15203. text: '',
  15204. textColor: '#c0c4cc',
  15205. textSize: 14,
  15206. iconColor: '#c0c4cc',
  15207. iconSize: 90,
  15208. mode: 'data',
  15209. width: 160,
  15210. height: 160,
  15211. show: true,
  15212. marginTop: 0
  15213. }
  15214. };
  15215. exports.default = _default;
  15216. /***/ }),
  15217. /* 95 */
  15218. /*!******************************************************************************************************************************************************!*\
  15219. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/form.js ***!
  15220. \******************************************************************************************************************************************************/
  15221. /*! no static exports found */
  15222. /***/ (function(module, exports, __webpack_require__) {
  15223. "use strict";
  15224. Object.defineProperty(exports, "__esModule", {
  15225. value: true
  15226. });
  15227. exports.default = void 0;
  15228. /*
  15229. * @Author : LQ
  15230. * @Description :
  15231. * @version : 1.0
  15232. * @Date : 2021-08-20 16:44:21
  15233. * @LastAuthor : LQ
  15234. * @lastTime : 2021-08-20 17:03:49
  15235. * @FilePath : /u-view2.0/uview-ui/libs/config/props/form.js
  15236. */
  15237. var _default = {
  15238. // form 组件
  15239. form: {
  15240. model: function model() {
  15241. return {};
  15242. },
  15243. rules: function rules() {
  15244. return {};
  15245. },
  15246. errorType: 'message',
  15247. borderBottom: true,
  15248. labelPosition: 'left',
  15249. labelWidth: 45,
  15250. labelAlign: 'left',
  15251. labelStyle: function labelStyle() {
  15252. return {};
  15253. }
  15254. }
  15255. };
  15256. exports.default = _default;
  15257. /***/ }),
  15258. /* 96 */
  15259. /*!**********************************************************************************************************************************************************!*\
  15260. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/formItem.js ***!
  15261. \**********************************************************************************************************************************************************/
  15262. /*! no static exports found */
  15263. /***/ (function(module, exports, __webpack_require__) {
  15264. "use strict";
  15265. Object.defineProperty(exports, "__esModule", {
  15266. value: true
  15267. });
  15268. exports.default = void 0;
  15269. /*
  15270. * @Author : LQ
  15271. * @Description :
  15272. * @version : 1.0
  15273. * @Date : 2021-08-20 16:44:21
  15274. * @LastAuthor : LQ
  15275. * @lastTime : 2021-08-20 17:04:32
  15276. * @FilePath : /u-view2.0/uview-ui/libs/config/props/formItem.js
  15277. */
  15278. var _default = {
  15279. // formItem 组件
  15280. formItem: {
  15281. label: '',
  15282. prop: '',
  15283. borderBottom: '',
  15284. labelPosition: '',
  15285. labelWidth: '',
  15286. rightIcon: '',
  15287. leftIcon: '',
  15288. required: false,
  15289. leftIconStyle: ''
  15290. }
  15291. };
  15292. exports.default = _default;
  15293. /***/ }),
  15294. /* 97 */
  15295. /*!*****************************************************************************************************************************************************!*\
  15296. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/gap.js ***!
  15297. \*****************************************************************************************************************************************************/
  15298. /*! no static exports found */
  15299. /***/ (function(module, exports, __webpack_require__) {
  15300. "use strict";
  15301. Object.defineProperty(exports, "__esModule", {
  15302. value: true
  15303. });
  15304. exports.default = void 0;
  15305. /*
  15306. * @Author : LQ
  15307. * @Description :
  15308. * @version : 1.0
  15309. * @Date : 2021-08-20 16:44:21
  15310. * @LastAuthor : LQ
  15311. * @lastTime : 2021-08-20 17:05:25
  15312. * @FilePath : /u-view2.0/uview-ui/libs/config/props/gap.js
  15313. */
  15314. var _default = {
  15315. // gap组件
  15316. gap: {
  15317. bgColor: 'transparent',
  15318. height: 20,
  15319. marginTop: 0,
  15320. marginBottom: 0,
  15321. customStyle: {}
  15322. }
  15323. };
  15324. exports.default = _default;
  15325. /***/ }),
  15326. /* 98 */
  15327. /*!******************************************************************************************************************************************************!*\
  15328. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/grid.js ***!
  15329. \******************************************************************************************************************************************************/
  15330. /*! no static exports found */
  15331. /***/ (function(module, exports, __webpack_require__) {
  15332. "use strict";
  15333. Object.defineProperty(exports, "__esModule", {
  15334. value: true
  15335. });
  15336. exports.default = void 0;
  15337. /*
  15338. * @Author : LQ
  15339. * @Description :
  15340. * @version : 1.0
  15341. * @Date : 2021-08-20 16:44:21
  15342. * @LastAuthor : LQ
  15343. * @lastTime : 2021-08-20 17:05:57
  15344. * @FilePath : /u-view2.0/uview-ui/libs/config/props/grid.js
  15345. */
  15346. var _default = {
  15347. // grid组件
  15348. grid: {
  15349. col: 3,
  15350. border: false,
  15351. align: 'left'
  15352. }
  15353. };
  15354. exports.default = _default;
  15355. /***/ }),
  15356. /* 99 */
  15357. /*!**********************************************************************************************************************************************************!*\
  15358. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/gridItem.js ***!
  15359. \**********************************************************************************************************************************************************/
  15360. /*! no static exports found */
  15361. /***/ (function(module, exports, __webpack_require__) {
  15362. "use strict";
  15363. Object.defineProperty(exports, "__esModule", {
  15364. value: true
  15365. });
  15366. exports.default = void 0;
  15367. /*
  15368. * @Author : LQ
  15369. * @Description :
  15370. * @version : 1.0
  15371. * @Date : 2021-08-20 16:44:21
  15372. * @LastAuthor : LQ
  15373. * @lastTime : 2021-08-20 17:06:13
  15374. * @FilePath : /u-view2.0/uview-ui/libs/config/props/gridItem.js
  15375. */
  15376. var _default = {
  15377. // grid-item组件
  15378. gridItem: {
  15379. name: null,
  15380. bgColor: 'transparent'
  15381. }
  15382. };
  15383. exports.default = _default;
  15384. /***/ }),
  15385. /* 100 */
  15386. /*!******************************************************************************************************************************************************!*\
  15387. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/icon.js ***!
  15388. \******************************************************************************************************************************************************/
  15389. /*! no static exports found */
  15390. /***/ (function(module, exports, __webpack_require__) {
  15391. "use strict";
  15392. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  15393. Object.defineProperty(exports, "__esModule", {
  15394. value: true
  15395. });
  15396. exports.default = void 0;
  15397. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 67));
  15398. /*
  15399. * @Author : LQ
  15400. * @Description :
  15401. * @version : 1.0
  15402. * @Date : 2021-08-20 16:44:21
  15403. * @LastAuthor : LQ
  15404. * @lastTime : 2021-08-20 18:00:14
  15405. * @FilePath : /u-view2.0/uview-ui/libs/config/props/icon.js
  15406. */
  15407. var color = _config.default.color;
  15408. var _default = {
  15409. // icon组件
  15410. icon: {
  15411. name: '',
  15412. color: color['u-content-color'],
  15413. size: '16px',
  15414. bold: false,
  15415. index: '',
  15416. hoverClass: '',
  15417. customPrefix: 'uicon',
  15418. label: '',
  15419. labelPos: 'right',
  15420. labelSize: '15px',
  15421. labelColor: color['u-content-color'],
  15422. space: '3px',
  15423. imgMode: '',
  15424. width: '',
  15425. height: '',
  15426. top: 0,
  15427. stop: false
  15428. }
  15429. };
  15430. exports.default = _default;
  15431. /***/ }),
  15432. /* 101 */
  15433. /*!*******************************************************************************************************************************************************!*\
  15434. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/image.js ***!
  15435. \*******************************************************************************************************************************************************/
  15436. /*! no static exports found */
  15437. /***/ (function(module, exports, __webpack_require__) {
  15438. "use strict";
  15439. Object.defineProperty(exports, "__esModule", {
  15440. value: true
  15441. });
  15442. exports.default = void 0;
  15443. /*
  15444. * @Author : LQ
  15445. * @Description :
  15446. * @version : 1.0
  15447. * @Date : 2021-08-20 16:44:21
  15448. * @LastAuthor : LQ
  15449. * @lastTime : 2021-08-20 17:01:51
  15450. * @FilePath : /u-view2.0/uview-ui/libs/config/props/image.js
  15451. */
  15452. var _default = {
  15453. // image组件
  15454. image: {
  15455. src: '',
  15456. mode: 'aspectFill',
  15457. width: '300',
  15458. height: '225',
  15459. shape: 'square',
  15460. radius: 0,
  15461. lazyLoad: true,
  15462. showMenuByLongpress: true,
  15463. loadingIcon: 'photo',
  15464. errorIcon: 'error-circle',
  15465. showLoading: true,
  15466. showError: true,
  15467. fade: true,
  15468. webp: false,
  15469. duration: 500,
  15470. bgColor: '#f3f4f6'
  15471. }
  15472. };
  15473. exports.default = _default;
  15474. /***/ }),
  15475. /* 102 */
  15476. /*!*************************************************************************************************************************************************************!*\
  15477. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/indexAnchor.js ***!
  15478. \*************************************************************************************************************************************************************/
  15479. /*! no static exports found */
  15480. /***/ (function(module, exports, __webpack_require__) {
  15481. "use strict";
  15482. Object.defineProperty(exports, "__esModule", {
  15483. value: true
  15484. });
  15485. exports.default = void 0;
  15486. /*
  15487. * @Author : LQ
  15488. * @Description :
  15489. * @version : 1.0
  15490. * @Date : 2021-08-20 16:44:21
  15491. * @LastAuthor : LQ
  15492. * @lastTime : 2021-08-20 17:13:15
  15493. * @FilePath : /u-view2.0/uview-ui/libs/config/props/indexAnchor.js
  15494. */
  15495. var _default = {
  15496. // indexAnchor 组件
  15497. indexAnchor: {
  15498. text: '',
  15499. color: '#606266',
  15500. size: 14,
  15501. bgColor: '#dedede',
  15502. height: 32
  15503. }
  15504. };
  15505. exports.default = _default;
  15506. /***/ }),
  15507. /* 103 */
  15508. /*!***********************************************************************************************************************************************************!*\
  15509. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/indexList.js ***!
  15510. \***********************************************************************************************************************************************************/
  15511. /*! no static exports found */
  15512. /***/ (function(module, exports, __webpack_require__) {
  15513. "use strict";
  15514. Object.defineProperty(exports, "__esModule", {
  15515. value: true
  15516. });
  15517. exports.default = void 0;
  15518. /*
  15519. * @Author : LQ
  15520. * @Description :
  15521. * @version : 1.0
  15522. * @Date : 2021-08-20 16:44:21
  15523. * @LastAuthor : LQ
  15524. * @lastTime : 2021-08-20 17:13:35
  15525. * @FilePath : /u-view2.0/uview-ui/libs/config/props/indexList.js
  15526. */
  15527. var _default = {
  15528. // indexList 组件
  15529. indexList: {
  15530. inactiveColor: '#606266',
  15531. activeColor: '#5677fc',
  15532. indexList: function indexList() {
  15533. return [];
  15534. },
  15535. sticky: true,
  15536. customNavHeight: 0
  15537. }
  15538. };
  15539. exports.default = _default;
  15540. /***/ }),
  15541. /* 104 */
  15542. /*!*******************************************************************************************************************************************************!*\
  15543. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/input.js ***!
  15544. \*******************************************************************************************************************************************************/
  15545. /*! no static exports found */
  15546. /***/ (function(module, exports, __webpack_require__) {
  15547. "use strict";
  15548. Object.defineProperty(exports, "__esModule", {
  15549. value: true
  15550. });
  15551. exports.default = void 0;
  15552. /*
  15553. * @Author : LQ
  15554. * @Description :
  15555. * @version : 1.0
  15556. * @Date : 2021-08-20 16:44:21
  15557. * @LastAuthor : LQ
  15558. * @lastTime : 2021-08-20 17:13:55
  15559. * @FilePath : /u-view2.0/uview-ui/libs/config/props/input.js
  15560. */
  15561. var _default = {
  15562. // index 组件
  15563. input: {
  15564. value: '',
  15565. type: 'text',
  15566. fixed: false,
  15567. disabled: false,
  15568. disabledColor: '#f5f7fa',
  15569. clearable: false,
  15570. password: false,
  15571. maxlength: -1,
  15572. placeholder: null,
  15573. placeholderClass: 'input-placeholder',
  15574. placeholderStyle: 'color: #c0c4cc',
  15575. showWordLimit: false,
  15576. confirmType: 'done',
  15577. confirmHold: false,
  15578. holdKeyboard: false,
  15579. focus: false,
  15580. autoBlur: false,
  15581. disableDefaultPadding: false,
  15582. cursor: -1,
  15583. cursorSpacing: 30,
  15584. selectionStart: -1,
  15585. selectionEnd: -1,
  15586. adjustPosition: true,
  15587. inputAlign: 'left',
  15588. fontSize: '15px',
  15589. color: '#303133',
  15590. prefixIcon: '',
  15591. prefixIconStyle: '',
  15592. suffixIcon: '',
  15593. suffixIconStyle: '',
  15594. border: 'surround',
  15595. readonly: false,
  15596. shape: 'square',
  15597. formatter: null
  15598. }
  15599. };
  15600. exports.default = _default;
  15601. /***/ }),
  15602. /* 105 */
  15603. /*!**********************************************************************************************************************************************************!*\
  15604. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/keyboard.js ***!
  15605. \**********************************************************************************************************************************************************/
  15606. /*! no static exports found */
  15607. /***/ (function(module, exports, __webpack_require__) {
  15608. "use strict";
  15609. Object.defineProperty(exports, "__esModule", {
  15610. value: true
  15611. });
  15612. exports.default = void 0;
  15613. /*
  15614. * @Author : LQ
  15615. * @Description :
  15616. * @version : 1.0
  15617. * @Date : 2021-08-20 16:44:21
  15618. * @LastAuthor : LQ
  15619. * @lastTime : 2021-08-20 17:07:49
  15620. * @FilePath : /u-view2.0/uview-ui/libs/config/props/keyboard.js
  15621. */
  15622. var _default = {
  15623. // 键盘组件
  15624. keyboard: {
  15625. mode: 'number',
  15626. dotDisabled: false,
  15627. tooltip: true,
  15628. showTips: true,
  15629. tips: '',
  15630. showCancel: true,
  15631. showConfirm: true,
  15632. random: false,
  15633. safeAreaInsetBottom: true,
  15634. closeOnClickOverlay: true,
  15635. show: false,
  15636. overlay: true,
  15637. zIndex: 10075,
  15638. cancelText: '取消',
  15639. confirmText: '确定',
  15640. autoChange: false
  15641. }
  15642. };
  15643. exports.default = _default;
  15644. /***/ }),
  15645. /* 106 */
  15646. /*!******************************************************************************************************************************************************!*\
  15647. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/line.js ***!
  15648. \******************************************************************************************************************************************************/
  15649. /*! no static exports found */
  15650. /***/ (function(module, exports, __webpack_require__) {
  15651. "use strict";
  15652. Object.defineProperty(exports, "__esModule", {
  15653. value: true
  15654. });
  15655. exports.default = void 0;
  15656. /*
  15657. * @Author : LQ
  15658. * @Description :
  15659. * @version : 1.0
  15660. * @Date : 2021-08-20 16:44:21
  15661. * @LastAuthor : LQ
  15662. * @lastTime : 2021-08-20 17:04:49
  15663. * @FilePath : /u-view2.0/uview-ui/libs/config/props/line.js
  15664. */
  15665. var _default = {
  15666. // line组件
  15667. line: {
  15668. color: '#d6d7d9',
  15669. length: '100%',
  15670. direction: 'row',
  15671. hairline: true,
  15672. margin: 0,
  15673. dashed: false
  15674. }
  15675. };
  15676. exports.default = _default;
  15677. /***/ }),
  15678. /* 107 */
  15679. /*!**************************************************************************************************************************************************************!*\
  15680. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/lineProgress.js ***!
  15681. \**************************************************************************************************************************************************************/
  15682. /*! no static exports found */
  15683. /***/ (function(module, exports, __webpack_require__) {
  15684. "use strict";
  15685. Object.defineProperty(exports, "__esModule", {
  15686. value: true
  15687. });
  15688. exports.default = void 0;
  15689. /*
  15690. * @Author : LQ
  15691. * @Description :
  15692. * @version : 1.0
  15693. * @Date : 2021-08-20 16:44:21
  15694. * @LastAuthor : LQ
  15695. * @lastTime : 2021-08-20 17:14:11
  15696. * @FilePath : /u-view2.0/uview-ui/libs/config/props/lineProgress.js
  15697. */
  15698. var _default = {
  15699. // lineProgress 组件
  15700. lineProgress: {
  15701. activeColor: '#19be6b',
  15702. inactiveColor: '#ececec',
  15703. percentage: 0,
  15704. showText: true,
  15705. height: 12
  15706. }
  15707. };
  15708. exports.default = _default;
  15709. /***/ }),
  15710. /* 108 */
  15711. /*!******************************************************************************************************************************************************!*\
  15712. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/link.js ***!
  15713. \******************************************************************************************************************************************************/
  15714. /*! no static exports found */
  15715. /***/ (function(module, exports, __webpack_require__) {
  15716. "use strict";
  15717. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  15718. Object.defineProperty(exports, "__esModule", {
  15719. value: true
  15720. });
  15721. exports.default = void 0;
  15722. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 67));
  15723. /*
  15724. * @Author : LQ
  15725. * @Description :
  15726. * @version : 1.0
  15727. * @Date : 2021-08-20 16:44:21
  15728. * @LastAuthor : LQ
  15729. * @lastTime : 2021-08-20 17:45:36
  15730. * @FilePath : /u-view2.0/uview-ui/libs/config/props/link.js
  15731. */
  15732. var color = _config.default.color;
  15733. var _default = {
  15734. // link超链接组件props参数
  15735. link: {
  15736. color: color['u-primary'],
  15737. fontSize: 15,
  15738. underLine: false,
  15739. href: '',
  15740. mpTips: '链接已复制,请在浏览器打开',
  15741. lineColor: '',
  15742. text: ''
  15743. }
  15744. };
  15745. exports.default = _default;
  15746. /***/ }),
  15747. /* 109 */
  15748. /*!******************************************************************************************************************************************************!*\
  15749. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/list.js ***!
  15750. \******************************************************************************************************************************************************/
  15751. /*! no static exports found */
  15752. /***/ (function(module, exports, __webpack_require__) {
  15753. "use strict";
  15754. Object.defineProperty(exports, "__esModule", {
  15755. value: true
  15756. });
  15757. exports.default = void 0;
  15758. /*
  15759. * @Author : LQ
  15760. * @Description :
  15761. * @version : 1.0
  15762. * @Date : 2021-08-20 16:44:21
  15763. * @LastAuthor : LQ
  15764. * @lastTime : 2021-08-20 17:14:53
  15765. * @FilePath : /u-view2.0/uview-ui/libs/config/props/list.js
  15766. */
  15767. var _default = {
  15768. // list 组件
  15769. list: {
  15770. showScrollbar: false,
  15771. lowerThreshold: 50,
  15772. upperThreshold: 0,
  15773. scrollTop: 0,
  15774. offsetAccuracy: 10,
  15775. enableFlex: false,
  15776. pagingEnabled: false,
  15777. scrollable: true,
  15778. scrollIntoView: '',
  15779. scrollWithAnimation: false,
  15780. enableBackToTop: false,
  15781. height: 0,
  15782. width: 0,
  15783. preLoadScreen: 1
  15784. }
  15785. };
  15786. exports.default = _default;
  15787. /***/ }),
  15788. /* 110 */
  15789. /*!**********************************************************************************************************************************************************!*\
  15790. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/listItem.js ***!
  15791. \**********************************************************************************************************************************************************/
  15792. /*! no static exports found */
  15793. /***/ (function(module, exports, __webpack_require__) {
  15794. "use strict";
  15795. Object.defineProperty(exports, "__esModule", {
  15796. value: true
  15797. });
  15798. exports.default = void 0;
  15799. /*
  15800. * @Author : LQ
  15801. * @Description :
  15802. * @version : 1.0
  15803. * @Date : 2021-08-20 16:44:21
  15804. * @LastAuthor : LQ
  15805. * @lastTime : 2021-08-20 17:15:40
  15806. * @FilePath : /u-view2.0/uview-ui/libs/config/props/listItem.js
  15807. */
  15808. var _default = {
  15809. // listItem 组件
  15810. listItem: {
  15811. anchor: ''
  15812. }
  15813. };
  15814. exports.default = _default;
  15815. /***/ }),
  15816. /* 111 */
  15817. /*!*************************************************************************************************************************************************************!*\
  15818. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/loadingIcon.js ***!
  15819. \*************************************************************************************************************************************************************/
  15820. /*! no static exports found */
  15821. /***/ (function(module, exports, __webpack_require__) {
  15822. "use strict";
  15823. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  15824. Object.defineProperty(exports, "__esModule", {
  15825. value: true
  15826. });
  15827. exports.default = void 0;
  15828. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 67));
  15829. /*
  15830. * @Author : LQ
  15831. * @Description :
  15832. * @version : 1.0
  15833. * @Date : 2021-08-20 16:44:21
  15834. * @LastAuthor : LQ
  15835. * @lastTime : 2021-08-20 17:45:47
  15836. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadingIcon.js
  15837. */
  15838. var color = _config.default.color;
  15839. var _default = {
  15840. // loading-icon加载中图标组件
  15841. loadingIcon: {
  15842. show: true,
  15843. color: color['u-tips-color'],
  15844. textColor: color['u-tips-color'],
  15845. vertical: false,
  15846. mode: 'spinner',
  15847. size: 24,
  15848. textSize: 15,
  15849. text: '',
  15850. timingFunction: 'ease-in-out',
  15851. duration: 1200,
  15852. inactiveColor: ''
  15853. }
  15854. };
  15855. exports.default = _default;
  15856. /***/ }),
  15857. /* 112 */
  15858. /*!*************************************************************************************************************************************************************!*\
  15859. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/loadingPage.js ***!
  15860. \*************************************************************************************************************************************************************/
  15861. /*! no static exports found */
  15862. /***/ (function(module, exports, __webpack_require__) {
  15863. "use strict";
  15864. Object.defineProperty(exports, "__esModule", {
  15865. value: true
  15866. });
  15867. exports.default = void 0;
  15868. /*
  15869. * @Author : LQ
  15870. * @Description :
  15871. * @version : 1.0
  15872. * @Date : 2021-08-20 16:44:21
  15873. * @LastAuthor : LQ
  15874. * @lastTime : 2021-08-20 17:00:23
  15875. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadingPage.js
  15876. */
  15877. var _default = {
  15878. // loading-page组件
  15879. loadingPage: {
  15880. loadingText: '正在加载',
  15881. image: '',
  15882. loadingMode: 'circle',
  15883. loading: false,
  15884. bgColor: '#ffffff',
  15885. color: '#C8C8C8',
  15886. fontSize: 19,
  15887. iconSize: 28,
  15888. loadingColor: '#C8C8C8'
  15889. }
  15890. };
  15891. exports.default = _default;
  15892. /***/ }),
  15893. /* 113 */
  15894. /*!**********************************************************************************************************************************************************!*\
  15895. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/loadmore.js ***!
  15896. \**********************************************************************************************************************************************************/
  15897. /*! no static exports found */
  15898. /***/ (function(module, exports, __webpack_require__) {
  15899. "use strict";
  15900. Object.defineProperty(exports, "__esModule", {
  15901. value: true
  15902. });
  15903. exports.default = void 0;
  15904. /*
  15905. * @Author : LQ
  15906. * @Description :
  15907. * @version : 1.0
  15908. * @Date : 2021-08-20 16:44:21
  15909. * @LastAuthor : LQ
  15910. * @lastTime : 2021-08-20 17:15:26
  15911. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadmore.js
  15912. */
  15913. var _default = {
  15914. // loadmore 组件
  15915. loadmore: {
  15916. status: 'loadmore',
  15917. bgColor: 'transparent',
  15918. icon: true,
  15919. fontSize: 14,
  15920. iconSize: 17,
  15921. color: '#606266',
  15922. loadingIcon: 'spinner',
  15923. loadmoreText: '加载更多',
  15924. loadingText: '正在加载...',
  15925. nomoreText: '没有更多了',
  15926. isDot: false,
  15927. iconColor: '#b7b7b7',
  15928. marginTop: 10,
  15929. marginBottom: 10,
  15930. height: 'auto',
  15931. line: false,
  15932. lineColor: '#E6E8EB',
  15933. dashed: false
  15934. }
  15935. };
  15936. exports.default = _default;
  15937. /***/ }),
  15938. /* 114 */
  15939. /*!*******************************************************************************************************************************************************!*\
  15940. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/modal.js ***!
  15941. \*******************************************************************************************************************************************************/
  15942. /*! no static exports found */
  15943. /***/ (function(module, exports, __webpack_require__) {
  15944. "use strict";
  15945. Object.defineProperty(exports, "__esModule", {
  15946. value: true
  15947. });
  15948. exports.default = void 0;
  15949. /*
  15950. * @Author : LQ
  15951. * @Description :
  15952. * @version : 1.0
  15953. * @Date : 2021-08-20 16:44:21
  15954. * @LastAuthor : LQ
  15955. * @lastTime : 2021-08-20 17:15:59
  15956. * @FilePath : /u-view2.0/uview-ui/libs/config/props/modal.js
  15957. */
  15958. var _default = {
  15959. // modal 组件
  15960. modal: {
  15961. show: false,
  15962. title: '',
  15963. content: '',
  15964. confirmText: '确认',
  15965. cancelText: '取消',
  15966. showConfirmButton: true,
  15967. showCancelButton: false,
  15968. confirmColor: '#2979ff',
  15969. cancelColor: '#606266',
  15970. buttonReverse: false,
  15971. zoom: true,
  15972. asyncClose: false,
  15973. closeOnClickOverlay: false,
  15974. negativeTop: 0,
  15975. width: '650rpx',
  15976. confirmButtonShape: ''
  15977. }
  15978. };
  15979. exports.default = _default;
  15980. /***/ }),
  15981. /* 115 */
  15982. /*!********************************************************************************************************************************************************!*\
  15983. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/navbar.js ***!
  15984. \********************************************************************************************************************************************************/
  15985. /*! no static exports found */
  15986. /***/ (function(module, exports, __webpack_require__) {
  15987. "use strict";
  15988. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  15989. Object.defineProperty(exports, "__esModule", {
  15990. value: true
  15991. });
  15992. exports.default = void 0;
  15993. var _color = _interopRequireDefault(__webpack_require__(/*! ../color */ 116));
  15994. /*
  15995. * @Author : LQ
  15996. * @Description :
  15997. * @version : 1.0
  15998. * @Date : 2021-08-20 16:44:21
  15999. * @LastAuthor : LQ
  16000. * @lastTime : 2021-08-20 17:16:18
  16001. * @FilePath : /u-view2.0/uview-ui/libs/config/props/navbar.js
  16002. */
  16003. var _default = {
  16004. // navbar 组件
  16005. navbar: {
  16006. safeAreaInsetTop: true,
  16007. placeholder: false,
  16008. fixed: true,
  16009. border: false,
  16010. leftIcon: 'arrow-left',
  16011. leftText: '',
  16012. rightText: '',
  16013. rightIcon: '',
  16014. title: '',
  16015. bgColor: '#ffffff',
  16016. titleWidth: '400rpx',
  16017. height: '44px',
  16018. leftIconSize: 20,
  16019. leftIconColor: _color.default.mainColor,
  16020. autoBack: false,
  16021. titleStyle: ''
  16022. }
  16023. };
  16024. exports.default = _default;
  16025. /***/ }),
  16026. /* 116 */
  16027. /*!*************************************************************************************************************************************************!*\
  16028. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/color.js ***!
  16029. \*************************************************************************************************************************************************/
  16030. /*! no static exports found */
  16031. /***/ (function(module, exports, __webpack_require__) {
  16032. "use strict";
  16033. Object.defineProperty(exports, "__esModule", {
  16034. value: true
  16035. });
  16036. exports.default = void 0;
  16037. // 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
  16038. // 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
  16039. var color = {
  16040. primary: '#3c9cff',
  16041. info: '#909399',
  16042. default: '#909399',
  16043. warning: '#f9ae3d',
  16044. error: '#f56c6c',
  16045. success: '#5ac725',
  16046. mainColor: '#303133',
  16047. contentColor: '#606266',
  16048. tipsColor: '#909399',
  16049. lightColor: '#c0c4cc',
  16050. borderColor: '#e4e7ed'
  16051. };
  16052. var _default = color;
  16053. exports.default = _default;
  16054. /***/ }),
  16055. /* 117 */
  16056. /*!***********************************************************************************************************************************************************!*\
  16057. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/noNetwork.js ***!
  16058. \***********************************************************************************************************************************************************/
  16059. /*! no static exports found */
  16060. /***/ (function(module, exports, __webpack_require__) {
  16061. "use strict";
  16062. Object.defineProperty(exports, "__esModule", {
  16063. value: true
  16064. });
  16065. exports.default = void 0;
  16066. /*
  16067. * @Author : LQ
  16068. * @Description :
  16069. * @version : 1.0
  16070. * @Date : 2021-08-20 16:44:21
  16071. * @LastAuthor : LQ
  16072. * @lastTime : 2021-08-20 17:16:39
  16073. * @FilePath : /u-view2.0/uview-ui/libs/config/props/noNetwork.js
  16074. */
  16075. var _default = {
  16076. // noNetwork
  16077. noNetwork: {
  16078. tips: '哎呀,网络信号丢失',
  16079. zIndex: '',
  16080. image: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQ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xcW3pUoHgfF5iIiLPv9x+03kuLxMqaqsUj1KJL4gsFgICGEtFrJtUG6OwDhtJHHhqLOl+dBAG0AnXRAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC'
  16081. }
  16082. };
  16083. exports.default = _default;
  16084. /***/ }),
  16085. /* 118 */
  16086. /*!***********************************************************************************************************************************************************!*\
  16087. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/noticeBar.js ***!
  16088. \***********************************************************************************************************************************************************/
  16089. /*! no static exports found */
  16090. /***/ (function(module, exports, __webpack_require__) {
  16091. "use strict";
  16092. Object.defineProperty(exports, "__esModule", {
  16093. value: true
  16094. });
  16095. exports.default = void 0;
  16096. /*
  16097. * @Author : LQ
  16098. * @Description :
  16099. * @version : 1.0
  16100. * @Date : 2021-08-20 16:44:21
  16101. * @LastAuthor : LQ
  16102. * @lastTime : 2021-08-20 17:17:13
  16103. * @FilePath : /u-view2.0/uview-ui/libs/config/props/noticeBar.js
  16104. */
  16105. var _default = {
  16106. // noticeBar
  16107. noticeBar: {
  16108. text: function text() {
  16109. return [];
  16110. },
  16111. direction: 'row',
  16112. step: false,
  16113. icon: 'volume',
  16114. mode: '',
  16115. color: '#f9ae3d',
  16116. bgColor: '#fdf6ec',
  16117. speed: 80,
  16118. fontSize: 14,
  16119. duration: 2000,
  16120. disableTouch: true,
  16121. url: '',
  16122. linkType: 'navigateTo'
  16123. }
  16124. };
  16125. exports.default = _default;
  16126. /***/ }),
  16127. /* 119 */
  16128. /*!********************************************************************************************************************************************************!*\
  16129. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/notify.js ***!
  16130. \********************************************************************************************************************************************************/
  16131. /*! no static exports found */
  16132. /***/ (function(module, exports, __webpack_require__) {
  16133. "use strict";
  16134. Object.defineProperty(exports, "__esModule", {
  16135. value: true
  16136. });
  16137. exports.default = void 0;
  16138. /*
  16139. * @Author : LQ
  16140. * @Description :
  16141. * @version : 1.0
  16142. * @Date : 2021-08-20 16:44:21
  16143. * @LastAuthor : LQ
  16144. * @lastTime : 2021-08-20 17:10:21
  16145. * @FilePath : /u-view2.0/uview-ui/libs/config/props/notify.js
  16146. */
  16147. var _default = {
  16148. // notify组件
  16149. notify: {
  16150. top: 0,
  16151. type: 'primary',
  16152. color: '#ffffff',
  16153. bgColor: '',
  16154. message: '',
  16155. duration: 3000,
  16156. fontSize: 15,
  16157. safeAreaInsetTop: false
  16158. }
  16159. };
  16160. exports.default = _default;
  16161. /***/ }),
  16162. /* 120 */
  16163. /*!***********************************************************************************************************************************************************!*\
  16164. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/numberBox.js ***!
  16165. \***********************************************************************************************************************************************************/
  16166. /*! no static exports found */
  16167. /***/ (function(module, exports, __webpack_require__) {
  16168. "use strict";
  16169. Object.defineProperty(exports, "__esModule", {
  16170. value: true
  16171. });
  16172. exports.default = void 0;
  16173. /*
  16174. * @Author : LQ
  16175. * @Description :
  16176. * @version : 1.0
  16177. * @Date : 2021-08-20 16:44:21
  16178. * @LastAuthor : LQ
  16179. * @lastTime : 2021-08-20 17:11:46
  16180. * @FilePath : /u-view2.0/uview-ui/libs/config/props/numberBox.js
  16181. */
  16182. var _default = {
  16183. // 步进器组件
  16184. numberBox: {
  16185. name: '',
  16186. value: 0,
  16187. min: 1,
  16188. max: Number.MAX_SAFE_INTEGER,
  16189. step: 1,
  16190. integer: false,
  16191. disabled: false,
  16192. disabledInput: false,
  16193. asyncChange: false,
  16194. inputWidth: 35,
  16195. showMinus: true,
  16196. showPlus: true,
  16197. decimalLength: null,
  16198. longPress: true,
  16199. color: '#323233',
  16200. buttonSize: 30,
  16201. bgColor: '#EBECEE',
  16202. cursorSpacing: 100,
  16203. disableMinus: false,
  16204. disablePlus: false,
  16205. iconStyle: ''
  16206. }
  16207. };
  16208. exports.default = _default;
  16209. /***/ }),
  16210. /* 121 */
  16211. /*!****************************************************************************************************************************************************************!*\
  16212. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/numberKeyboard.js ***!
  16213. \****************************************************************************************************************************************************************/
  16214. /*! no static exports found */
  16215. /***/ (function(module, exports, __webpack_require__) {
  16216. "use strict";
  16217. Object.defineProperty(exports, "__esModule", {
  16218. value: true
  16219. });
  16220. exports.default = void 0;
  16221. /*
  16222. * @Author : LQ
  16223. * @Description :
  16224. * @version : 1.0
  16225. * @Date : 2021-08-20 16:44:21
  16226. * @LastAuthor : LQ
  16227. * @lastTime : 2021-08-20 17:08:05
  16228. * @FilePath : /u-view2.0/uview-ui/libs/config/props/numberKeyboard.js
  16229. */
  16230. var _default = {
  16231. // 数字键盘
  16232. numberKeyboard: {
  16233. mode: 'number',
  16234. dotDisabled: false,
  16235. random: false
  16236. }
  16237. };
  16238. exports.default = _default;
  16239. /***/ }),
  16240. /* 122 */
  16241. /*!*********************************************************************************************************************************************************!*\
  16242. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/overlay.js ***!
  16243. \*********************************************************************************************************************************************************/
  16244. /*! no static exports found */
  16245. /***/ (function(module, exports, __webpack_require__) {
  16246. "use strict";
  16247. Object.defineProperty(exports, "__esModule", {
  16248. value: true
  16249. });
  16250. exports.default = void 0;
  16251. /*
  16252. * @Author : LQ
  16253. * @Description :
  16254. * @version : 1.0
  16255. * @Date : 2021-08-20 16:44:21
  16256. * @LastAuthor : LQ
  16257. * @lastTime : 2021-08-20 17:06:50
  16258. * @FilePath : /u-view2.0/uview-ui/libs/config/props/overlay.js
  16259. */
  16260. var _default = {
  16261. // overlay组件
  16262. overlay: {
  16263. show: false,
  16264. zIndex: 10070,
  16265. duration: 300,
  16266. opacity: 0.5
  16267. }
  16268. };
  16269. exports.default = _default;
  16270. /***/ }),
  16271. /* 123 */
  16272. /*!*******************************************************************************************************************************************************!*\
  16273. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/parse.js ***!
  16274. \*******************************************************************************************************************************************************/
  16275. /*! no static exports found */
  16276. /***/ (function(module, exports, __webpack_require__) {
  16277. "use strict";
  16278. Object.defineProperty(exports, "__esModule", {
  16279. value: true
  16280. });
  16281. exports.default = void 0;
  16282. /*
  16283. * @Author : LQ
  16284. * @Description :
  16285. * @version : 1.0
  16286. * @Date : 2021-08-20 16:44:21
  16287. * @LastAuthor : LQ
  16288. * @lastTime : 2021-08-20 17:17:33
  16289. * @FilePath : /u-view2.0/uview-ui/libs/config/props/parse.js
  16290. */
  16291. var _default = {
  16292. // parse
  16293. parse: {
  16294. copyLink: true,
  16295. errorImg: '',
  16296. lazyLoad: false,
  16297. loadingImg: '',
  16298. pauseVideo: true,
  16299. previewImg: true,
  16300. setTitle: true,
  16301. showImgMenu: true
  16302. }
  16303. };
  16304. exports.default = _default;
  16305. /***/ }),
  16306. /* 124 */
  16307. /*!********************************************************************************************************************************************************!*\
  16308. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/picker.js ***!
  16309. \********************************************************************************************************************************************************/
  16310. /*! no static exports found */
  16311. /***/ (function(module, exports, __webpack_require__) {
  16312. "use strict";
  16313. Object.defineProperty(exports, "__esModule", {
  16314. value: true
  16315. });
  16316. exports.default = void 0;
  16317. /*
  16318. * @Author : LQ
  16319. * @Description :
  16320. * @version : 1.0
  16321. * @Date : 2021-08-20 16:44:21
  16322. * @LastAuthor : LQ
  16323. * @lastTime : 2021-08-20 17:18:20
  16324. * @FilePath : /u-view2.0/uview-ui/libs/config/props/picker.js
  16325. */
  16326. var _default = {
  16327. // picker
  16328. picker: {
  16329. show: false,
  16330. showToolbar: true,
  16331. title: '',
  16332. columns: function columns() {
  16333. return [];
  16334. },
  16335. loading: false,
  16336. itemHeight: 44,
  16337. cancelText: '取消',
  16338. confirmText: '确定',
  16339. cancelColor: '#909193',
  16340. confirmColor: '#3c9cff',
  16341. visibleItemCount: 5,
  16342. keyName: 'text',
  16343. closeOnClickOverlay: false,
  16344. defaultIndex: function defaultIndex() {
  16345. return [];
  16346. },
  16347. immediateChange: false
  16348. }
  16349. };
  16350. exports.default = _default;
  16351. /***/ }),
  16352. /* 125 */
  16353. /*!*******************************************************************************************************************************************************!*\
  16354. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/popup.js ***!
  16355. \*******************************************************************************************************************************************************/
  16356. /*! no static exports found */
  16357. /***/ (function(module, exports, __webpack_require__) {
  16358. "use strict";
  16359. Object.defineProperty(exports, "__esModule", {
  16360. value: true
  16361. });
  16362. exports.default = void 0;
  16363. /*
  16364. * @Author : LQ
  16365. * @Description :
  16366. * @version : 1.0
  16367. * @Date : 2021-08-20 16:44:21
  16368. * @LastAuthor : LQ
  16369. * @lastTime : 2021-08-20 17:06:33
  16370. * @FilePath : /u-view2.0/uview-ui/libs/config/props/popup.js
  16371. */
  16372. var _default = {
  16373. // popup组件
  16374. popup: {
  16375. show: false,
  16376. overlay: true,
  16377. mode: 'bottom',
  16378. duration: 300,
  16379. closeable: false,
  16380. overlayStyle: function overlayStyle() {},
  16381. closeOnClickOverlay: true,
  16382. zIndex: 10075,
  16383. safeAreaInsetBottom: true,
  16384. safeAreaInsetTop: false,
  16385. closeIconPos: 'top-right',
  16386. round: 0,
  16387. zoom: true,
  16388. bgColor: '',
  16389. overlayOpacity: 0.5
  16390. }
  16391. };
  16392. exports.default = _default;
  16393. /***/ }),
  16394. /* 126 */
  16395. /*!*******************************************************************************************************************************************************!*\
  16396. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/radio.js ***!
  16397. \*******************************************************************************************************************************************************/
  16398. /*! no static exports found */
  16399. /***/ (function(module, exports, __webpack_require__) {
  16400. "use strict";
  16401. Object.defineProperty(exports, "__esModule", {
  16402. value: true
  16403. });
  16404. exports.default = void 0;
  16405. /*
  16406. * @Author : LQ
  16407. * @Description :
  16408. * @version : 1.0
  16409. * @Date : 2021-08-20 16:44:21
  16410. * @LastAuthor : LQ
  16411. * @lastTime : 2021-08-20 17:02:34
  16412. * @FilePath : /u-view2.0/uview-ui/libs/config/props/radio.js
  16413. */
  16414. var _default = {
  16415. // radio组件
  16416. radio: {
  16417. name: '',
  16418. shape: '',
  16419. disabled: '',
  16420. labelDisabled: '',
  16421. activeColor: '',
  16422. inactiveColor: '',
  16423. iconSize: '',
  16424. labelSize: '',
  16425. label: '',
  16426. labelColor: '',
  16427. size: '',
  16428. iconColor: '',
  16429. placement: ''
  16430. }
  16431. };
  16432. exports.default = _default;
  16433. /***/ }),
  16434. /* 127 */
  16435. /*!************************************************************************************************************************************************************!*\
  16436. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/radioGroup.js ***!
  16437. \************************************************************************************************************************************************************/
  16438. /*! no static exports found */
  16439. /***/ (function(module, exports, __webpack_require__) {
  16440. "use strict";
  16441. Object.defineProperty(exports, "__esModule", {
  16442. value: true
  16443. });
  16444. exports.default = void 0;
  16445. /*
  16446. * @Author : LQ
  16447. * @Description :
  16448. * @version : 1.0
  16449. * @Date : 2021-08-20 16:44:21
  16450. * @LastAuthor : LQ
  16451. * @lastTime : 2021-08-20 17:03:12
  16452. * @FilePath : /u-view2.0/uview-ui/libs/config/props/radioGroup.js
  16453. */
  16454. var _default = {
  16455. // radio-group组件
  16456. radioGroup: {
  16457. value: '',
  16458. disabled: false,
  16459. shape: 'circle',
  16460. activeColor: '#2979ff',
  16461. inactiveColor: '#c8c9cc',
  16462. name: '',
  16463. size: 18,
  16464. placement: 'row',
  16465. label: '',
  16466. labelColor: '#303133',
  16467. labelSize: 14,
  16468. labelDisabled: false,
  16469. iconColor: '#ffffff',
  16470. iconSize: 12,
  16471. borderBottom: false,
  16472. iconPlacement: 'left'
  16473. }
  16474. };
  16475. exports.default = _default;
  16476. /***/ }),
  16477. /* 128 */
  16478. /*!******************************************************************************************************************************************************!*\
  16479. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/rate.js ***!
  16480. \******************************************************************************************************************************************************/
  16481. /*! no static exports found */
  16482. /***/ (function(module, exports, __webpack_require__) {
  16483. "use strict";
  16484. Object.defineProperty(exports, "__esModule", {
  16485. value: true
  16486. });
  16487. exports.default = void 0;
  16488. /*
  16489. * @Author : LQ
  16490. * @Description :
  16491. * @version : 1.0
  16492. * @Date : 2021-08-20 16:44:21
  16493. * @LastAuthor : LQ
  16494. * @lastTime : 2021-08-20 17:05:09
  16495. * @FilePath : /u-view2.0/uview-ui/libs/config/props/rate.js
  16496. */
  16497. var _default = {
  16498. // rate组件
  16499. rate: {
  16500. value: 1,
  16501. count: 5,
  16502. disabled: false,
  16503. size: 18,
  16504. inactiveColor: '#b2b2b2',
  16505. activeColor: '#FA3534',
  16506. gutter: 4,
  16507. minCount: 1,
  16508. allowHalf: false,
  16509. activeIcon: 'star-fill',
  16510. inactiveIcon: 'star',
  16511. touchable: true
  16512. }
  16513. };
  16514. exports.default = _default;
  16515. /***/ }),
  16516. /* 129 */
  16517. /*!**********************************************************************************************************************************************************!*\
  16518. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/readMore.js ***!
  16519. \**********************************************************************************************************************************************************/
  16520. /*! no static exports found */
  16521. /***/ (function(module, exports, __webpack_require__) {
  16522. "use strict";
  16523. Object.defineProperty(exports, "__esModule", {
  16524. value: true
  16525. });
  16526. exports.default = void 0;
  16527. /*
  16528. * @Author : LQ
  16529. * @Description :
  16530. * @version : 1.0
  16531. * @Date : 2021-08-20 16:44:21
  16532. * @LastAuthor : LQ
  16533. * @lastTime : 2021-08-20 17:18:41
  16534. * @FilePath : /u-view2.0/uview-ui/libs/config/props/readMore.js
  16535. */
  16536. var _default = {
  16537. // readMore
  16538. readMore: {
  16539. showHeight: 400,
  16540. toggle: false,
  16541. closeText: '展开阅读全文',
  16542. openText: '收起',
  16543. color: '#2979ff',
  16544. fontSize: 14,
  16545. textIndent: '2em',
  16546. name: ''
  16547. }
  16548. };
  16549. exports.default = _default;
  16550. /***/ }),
  16551. /* 130 */
  16552. /*!*****************************************************************************************************************************************************!*\
  16553. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/row.js ***!
  16554. \*****************************************************************************************************************************************************/
  16555. /*! no static exports found */
  16556. /***/ (function(module, exports, __webpack_require__) {
  16557. "use strict";
  16558. Object.defineProperty(exports, "__esModule", {
  16559. value: true
  16560. });
  16561. exports.default = void 0;
  16562. /*
  16563. * @Author : LQ
  16564. * @Description :
  16565. * @version : 1.0
  16566. * @Date : 2021-08-20 16:44:21
  16567. * @LastAuthor : LQ
  16568. * @lastTime : 2021-08-20 17:18:58
  16569. * @FilePath : /u-view2.0/uview-ui/libs/config/props/row.js
  16570. */
  16571. var _default = {
  16572. // row
  16573. row: {
  16574. gutter: 0,
  16575. justify: 'start',
  16576. align: 'center'
  16577. }
  16578. };
  16579. exports.default = _default;
  16580. /***/ }),
  16581. /* 131 */
  16582. /*!***********************************************************************************************************************************************************!*\
  16583. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/rowNotice.js ***!
  16584. \***********************************************************************************************************************************************************/
  16585. /*! no static exports found */
  16586. /***/ (function(module, exports, __webpack_require__) {
  16587. "use strict";
  16588. Object.defineProperty(exports, "__esModule", {
  16589. value: true
  16590. });
  16591. exports.default = void 0;
  16592. /*
  16593. * @Author : LQ
  16594. * @Description :
  16595. * @version : 1.0
  16596. * @Date : 2021-08-20 16:44:21
  16597. * @LastAuthor : LQ
  16598. * @lastTime : 2021-08-20 17:19:13
  16599. * @FilePath : /u-view2.0/uview-ui/libs/config/props/rowNotice.js
  16600. */
  16601. var _default = {
  16602. // rowNotice
  16603. rowNotice: {
  16604. text: '',
  16605. icon: 'volume',
  16606. mode: '',
  16607. color: '#f9ae3d',
  16608. bgColor: '#fdf6ec',
  16609. fontSize: 14,
  16610. speed: 80
  16611. }
  16612. };
  16613. exports.default = _default;
  16614. /***/ }),
  16615. /* 132 */
  16616. /*!************************************************************************************************************************************************************!*\
  16617. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/scrollList.js ***!
  16618. \************************************************************************************************************************************************************/
  16619. /*! no static exports found */
  16620. /***/ (function(module, exports, __webpack_require__) {
  16621. "use strict";
  16622. Object.defineProperty(exports, "__esModule", {
  16623. value: true
  16624. });
  16625. exports.default = void 0;
  16626. /*
  16627. * @Author : LQ
  16628. * @Description :
  16629. * @version : 1.0
  16630. * @Date : 2021-08-20 16:44:21
  16631. * @LastAuthor : LQ
  16632. * @lastTime : 2021-08-20 17:19:28
  16633. * @FilePath : /u-view2.0/uview-ui/libs/config/props/scrollList.js
  16634. */
  16635. var _default = {
  16636. // scrollList
  16637. scrollList: {
  16638. indicatorWidth: 50,
  16639. indicatorBarWidth: 20,
  16640. indicator: true,
  16641. indicatorColor: '#f2f2f2',
  16642. indicatorActiveColor: '#3c9cff',
  16643. indicatorStyle: ''
  16644. }
  16645. };
  16646. exports.default = _default;
  16647. /***/ }),
  16648. /* 133 */
  16649. /*!********************************************************************************************************************************************************!*\
  16650. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/search.js ***!
  16651. \********************************************************************************************************************************************************/
  16652. /*! no static exports found */
  16653. /***/ (function(module, exports, __webpack_require__) {
  16654. "use strict";
  16655. Object.defineProperty(exports, "__esModule", {
  16656. value: true
  16657. });
  16658. exports.default = void 0;
  16659. /*
  16660. * @Author : LQ
  16661. * @Description :
  16662. * @version : 1.0
  16663. * @Date : 2021-08-20 16:44:21
  16664. * @LastAuthor : LQ
  16665. * @lastTime : 2021-08-20 17:19:45
  16666. * @FilePath : /u-view2.0/uview-ui/libs/config/props/search.js
  16667. */
  16668. var _default = {
  16669. // search
  16670. search: {
  16671. shape: 'round',
  16672. bgColor: '#f2f2f2',
  16673. placeholder: '请输入关键字',
  16674. clearabled: true,
  16675. focus: false,
  16676. showAction: true,
  16677. actionStyle: function actionStyle() {
  16678. return {};
  16679. },
  16680. actionText: '搜索',
  16681. inputAlign: 'left',
  16682. inputStyle: function inputStyle() {
  16683. return {};
  16684. },
  16685. disabled: false,
  16686. borderColor: 'transparent',
  16687. searchIconColor: '#909399',
  16688. searchIconSize: 22,
  16689. color: '#606266',
  16690. placeholderColor: '#909399',
  16691. searchIcon: 'search',
  16692. margin: '0',
  16693. animation: false,
  16694. value: '',
  16695. maxlength: '-1',
  16696. height: 32,
  16697. label: null
  16698. }
  16699. };
  16700. exports.default = _default;
  16701. /***/ }),
  16702. /* 134 */
  16703. /*!*********************************************************************************************************************************************************!*\
  16704. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/section.js ***!
  16705. \*********************************************************************************************************************************************************/
  16706. /*! no static exports found */
  16707. /***/ (function(module, exports, __webpack_require__) {
  16708. "use strict";
  16709. Object.defineProperty(exports, "__esModule", {
  16710. value: true
  16711. });
  16712. exports.default = void 0;
  16713. /*
  16714. * @Author : LQ
  16715. * @Description :
  16716. * @version : 1.0
  16717. * @Date : 2021-08-20 16:44:21
  16718. * @LastAuthor : LQ
  16719. * @lastTime : 2021-08-20 17:07:33
  16720. * @FilePath : /u-view2.0/uview-ui/libs/config/props/section.js
  16721. */
  16722. var _default = {
  16723. // u-section组件
  16724. section: {
  16725. title: '',
  16726. subTitle: '更多',
  16727. right: true,
  16728. fontSize: 15,
  16729. bold: true,
  16730. color: '#303133',
  16731. subColor: '#909399',
  16732. showLine: true,
  16733. lineColor: '',
  16734. arrow: true
  16735. }
  16736. };
  16737. exports.default = _default;
  16738. /***/ }),
  16739. /* 135 */
  16740. /*!**********************************************************************************************************************************************************!*\
  16741. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/skeleton.js ***!
  16742. \**********************************************************************************************************************************************************/
  16743. /*! no static exports found */
  16744. /***/ (function(module, exports, __webpack_require__) {
  16745. "use strict";
  16746. Object.defineProperty(exports, "__esModule", {
  16747. value: true
  16748. });
  16749. exports.default = void 0;
  16750. /*
  16751. * @Author : LQ
  16752. * @Description :
  16753. * @version : 1.0
  16754. * @Date : 2021-08-20 16:44:21
  16755. * @LastAuthor : LQ
  16756. * @lastTime : 2021-08-20 17:20:14
  16757. * @FilePath : /u-view2.0/uview-ui/libs/config/props/skeleton.js
  16758. */
  16759. var _default = {
  16760. // skeleton
  16761. skeleton: {
  16762. loading: true,
  16763. animate: true,
  16764. rows: 0,
  16765. rowsWidth: '100%',
  16766. rowsHeight: 18,
  16767. title: true,
  16768. titleWidth: '50%',
  16769. titleHeight: 18,
  16770. avatar: false,
  16771. avatarSize: 32,
  16772. avatarShape: 'circle'
  16773. }
  16774. };
  16775. exports.default = _default;
  16776. /***/ }),
  16777. /* 136 */
  16778. /*!********************************************************************************************************************************************************!*\
  16779. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/slider.js ***!
  16780. \********************************************************************************************************************************************************/
  16781. /*! no static exports found */
  16782. /***/ (function(module, exports, __webpack_require__) {
  16783. "use strict";
  16784. Object.defineProperty(exports, "__esModule", {
  16785. value: true
  16786. });
  16787. exports.default = void 0;
  16788. /*
  16789. * @Author : LQ
  16790. * @Description :
  16791. * @version : 1.0
  16792. * @Date : 2021-08-20 16:44:21
  16793. * @LastAuthor : LQ
  16794. * @lastTime : 2021-08-20 17:08:25
  16795. * @FilePath : /u-view2.0/uview-ui/libs/config/props/slider.js
  16796. */
  16797. var _default = {
  16798. // slider组件
  16799. slider: {
  16800. value: 0,
  16801. blockSize: 18,
  16802. min: 0,
  16803. max: 100,
  16804. step: 1,
  16805. activeColor: '#2979ff',
  16806. inactiveColor: '#c0c4cc',
  16807. blockColor: '#ffffff',
  16808. showValue: false,
  16809. disabled: false,
  16810. blockStyle: function blockStyle() {}
  16811. }
  16812. };
  16813. exports.default = _default;
  16814. /***/ }),
  16815. /* 137 */
  16816. /*!***********************************************************************************************************************************************************!*\
  16817. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/statusBar.js ***!
  16818. \***********************************************************************************************************************************************************/
  16819. /*! no static exports found */
  16820. /***/ (function(module, exports, __webpack_require__) {
  16821. "use strict";
  16822. Object.defineProperty(exports, "__esModule", {
  16823. value: true
  16824. });
  16825. exports.default = void 0;
  16826. /*
  16827. * @Author : LQ
  16828. * @Description :
  16829. * @version : 1.0
  16830. * @Date : 2021-08-20 16:44:21
  16831. * @LastAuthor : LQ
  16832. * @lastTime : 2021-08-20 17:20:39
  16833. * @FilePath : /u-view2.0/uview-ui/libs/config/props/statusBar.js
  16834. */
  16835. var _default = {
  16836. // statusBar
  16837. statusBar: {
  16838. bgColor: 'transparent'
  16839. }
  16840. };
  16841. exports.default = _default;
  16842. /***/ }),
  16843. /* 138 */
  16844. /*!*******************************************************************************************************************************************************!*\
  16845. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/steps.js ***!
  16846. \*******************************************************************************************************************************************************/
  16847. /*! no static exports found */
  16848. /***/ (function(module, exports, __webpack_require__) {
  16849. "use strict";
  16850. Object.defineProperty(exports, "__esModule", {
  16851. value: true
  16852. });
  16853. exports.default = void 0;
  16854. /*
  16855. * @Author : LQ
  16856. * @Description :
  16857. * @version : 1.0
  16858. * @Date : 2021-08-20 16:44:21
  16859. * @LastAuthor : LQ
  16860. * @lastTime : 2021-08-20 17:12:37
  16861. * @FilePath : /u-view2.0/uview-ui/libs/config/props/steps.js
  16862. */
  16863. var _default = {
  16864. // steps组件
  16865. steps: {
  16866. direction: 'row',
  16867. current: 0,
  16868. activeColor: '#3c9cff',
  16869. inactiveColor: '#969799',
  16870. activeIcon: '',
  16871. inactiveIcon: '',
  16872. dot: false
  16873. }
  16874. };
  16875. exports.default = _default;
  16876. /***/ }),
  16877. /* 139 */
  16878. /*!***********************************************************************************************************************************************************!*\
  16879. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/stepsItem.js ***!
  16880. \***********************************************************************************************************************************************************/
  16881. /*! no static exports found */
  16882. /***/ (function(module, exports, __webpack_require__) {
  16883. "use strict";
  16884. Object.defineProperty(exports, "__esModule", {
  16885. value: true
  16886. });
  16887. exports.default = void 0;
  16888. /*
  16889. * @Author : LQ
  16890. * @Description :
  16891. * @version : 1.0
  16892. * @Date : 2021-08-20 16:44:21
  16893. * @LastAuthor : LQ
  16894. * @lastTime : 2021-08-20 17:12:55
  16895. * @FilePath : /u-view2.0/uview-ui/libs/config/props/stepsItem.js
  16896. */
  16897. var _default = {
  16898. // steps-item组件
  16899. stepsItem: {
  16900. title: '',
  16901. desc: '',
  16902. iconSize: 17,
  16903. error: false
  16904. }
  16905. };
  16906. exports.default = _default;
  16907. /***/ }),
  16908. /* 140 */
  16909. /*!********************************************************************************************************************************************************!*\
  16910. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/sticky.js ***!
  16911. \********************************************************************************************************************************************************/
  16912. /*! no static exports found */
  16913. /***/ (function(module, exports, __webpack_require__) {
  16914. "use strict";
  16915. Object.defineProperty(exports, "__esModule", {
  16916. value: true
  16917. });
  16918. exports.default = void 0;
  16919. /*
  16920. * @Author : LQ
  16921. * @Description :
  16922. * @version : 1.0
  16923. * @Date : 2021-08-20 16:44:21
  16924. * @LastAuthor : LQ
  16925. * @lastTime : 2021-08-20 17:01:30
  16926. * @FilePath : /u-view2.0/uview-ui/libs/config/props/sticky.js
  16927. */
  16928. var _default = {
  16929. // sticky组件
  16930. sticky: {
  16931. offsetTop: 0,
  16932. customNavHeight: 0,
  16933. disabled: false,
  16934. bgColor: 'transparent',
  16935. zIndex: '',
  16936. index: ''
  16937. }
  16938. };
  16939. exports.default = _default;
  16940. /***/ }),
  16941. /* 141 */
  16942. /*!************************************************************************************************************************************************************!*\
  16943. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/subsection.js ***!
  16944. \************************************************************************************************************************************************************/
  16945. /*! no static exports found */
  16946. /***/ (function(module, exports, __webpack_require__) {
  16947. "use strict";
  16948. Object.defineProperty(exports, "__esModule", {
  16949. value: true
  16950. });
  16951. exports.default = void 0;
  16952. /*
  16953. * @Author : LQ
  16954. * @Description :
  16955. * @version : 1.0
  16956. * @Date : 2021-08-20 16:44:21
  16957. * @LastAuthor : LQ
  16958. * @lastTime : 2021-08-20 17:12:20
  16959. * @FilePath : /u-view2.0/uview-ui/libs/config/props/subsection.js
  16960. */
  16961. var _default = {
  16962. // subsection组件
  16963. subsection: {
  16964. list: [],
  16965. current: 0,
  16966. activeColor: '#3c9cff',
  16967. inactiveColor: '#303133',
  16968. mode: 'button',
  16969. fontSize: 12,
  16970. bold: true,
  16971. bgColor: '#eeeeef',
  16972. keyName: 'name'
  16973. }
  16974. };
  16975. exports.default = _default;
  16976. /***/ }),
  16977. /* 142 */
  16978. /*!*************************************************************************************************************************************************************!*\
  16979. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swipeAction.js ***!
  16980. \*************************************************************************************************************************************************************/
  16981. /*! no static exports found */
  16982. /***/ (function(module, exports, __webpack_require__) {
  16983. "use strict";
  16984. Object.defineProperty(exports, "__esModule", {
  16985. value: true
  16986. });
  16987. exports.default = void 0;
  16988. /*
  16989. * @Author : LQ
  16990. * @Description :
  16991. * @version : 1.0
  16992. * @Date : 2021-08-20 16:44:21
  16993. * @LastAuthor : LQ
  16994. * @lastTime : 2021-08-20 17:00:42
  16995. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeAction.js
  16996. */
  16997. var _default = {
  16998. // swipe-action组件
  16999. swipeAction: {
  17000. autoClose: true
  17001. }
  17002. };
  17003. exports.default = _default;
  17004. /***/ }),
  17005. /* 143 */
  17006. /*!*****************************************************************************************************************************************************************!*\
  17007. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swipeActionItem.js ***!
  17008. \*****************************************************************************************************************************************************************/
  17009. /*! no static exports found */
  17010. /***/ (function(module, exports, __webpack_require__) {
  17011. "use strict";
  17012. Object.defineProperty(exports, "__esModule", {
  17013. value: true
  17014. });
  17015. exports.default = void 0;
  17016. /*
  17017. * @Author : LQ
  17018. * @Description :
  17019. * @version : 1.0
  17020. * @Date : 2021-08-20 16:44:21
  17021. * @LastAuthor : LQ
  17022. * @lastTime : 2021-08-20 17:01:13
  17023. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeActionItem.js
  17024. */
  17025. var _default = {
  17026. // swipeActionItem 组件
  17027. swipeActionItem: {
  17028. show: false,
  17029. name: '',
  17030. disabled: false,
  17031. threshold: 20,
  17032. autoClose: true,
  17033. options: [],
  17034. duration: 300
  17035. }
  17036. };
  17037. exports.default = _default;
  17038. /***/ }),
  17039. /* 144 */
  17040. /*!********************************************************************************************************************************************************!*\
  17041. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swiper.js ***!
  17042. \********************************************************************************************************************************************************/
  17043. /*! no static exports found */
  17044. /***/ (function(module, exports, __webpack_require__) {
  17045. "use strict";
  17046. Object.defineProperty(exports, "__esModule", {
  17047. value: true
  17048. });
  17049. exports.default = void 0;
  17050. /*
  17051. * @Author : LQ
  17052. * @Description :
  17053. * @version : 1.0
  17054. * @Date : 2021-08-20 16:44:21
  17055. * @LastAuthor : LQ
  17056. * @lastTime : 2021-08-20 17:21:38
  17057. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiper.js
  17058. */
  17059. var _default = {
  17060. // swiper 组件
  17061. swiper: {
  17062. list: function list() {
  17063. return [];
  17064. },
  17065. indicator: false,
  17066. indicatorActiveColor: '#FFFFFF',
  17067. indicatorInactiveColor: 'rgba(255, 255, 255, 0.35)',
  17068. indicatorStyle: '',
  17069. indicatorMode: 'line',
  17070. autoplay: true,
  17071. current: 0,
  17072. currentItemId: '',
  17073. interval: 3000,
  17074. duration: 300,
  17075. circular: false,
  17076. previousMargin: 0,
  17077. nextMargin: 0,
  17078. acceleration: false,
  17079. displayMultipleItems: 1,
  17080. easingFunction: 'default',
  17081. keyName: 'url',
  17082. imgMode: 'aspectFill',
  17083. height: 130,
  17084. bgColor: '#f3f4f6',
  17085. radius: 4,
  17086. loading: false,
  17087. showTitle: false
  17088. }
  17089. };
  17090. exports.default = _default;
  17091. /***/ }),
  17092. /* 145 */
  17093. /*!******************************************************************************************************************************************************************!*\
  17094. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swipterIndicator.js ***!
  17095. \******************************************************************************************************************************************************************/
  17096. /*! no static exports found */
  17097. /***/ (function(module, exports, __webpack_require__) {
  17098. "use strict";
  17099. Object.defineProperty(exports, "__esModule", {
  17100. value: true
  17101. });
  17102. exports.default = void 0;
  17103. /*
  17104. * @Author : LQ
  17105. * @Description :
  17106. * @version : 1.0
  17107. * @Date : 2021-08-20 16:44:21
  17108. * @LastAuthor : LQ
  17109. * @lastTime : 2021-08-20 17:22:07
  17110. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiperIndicator.js
  17111. */
  17112. var _default = {
  17113. // swiperIndicator 组件
  17114. swiperIndicator: {
  17115. length: 0,
  17116. current: 0,
  17117. indicatorActiveColor: '',
  17118. indicatorInactiveColor: '',
  17119. indicatorMode: 'line'
  17120. }
  17121. };
  17122. exports.default = _default;
  17123. /***/ }),
  17124. /* 146 */
  17125. /*!********************************************************************************************************************************************************!*\
  17126. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/switch.js ***!
  17127. \********************************************************************************************************************************************************/
  17128. /*! no static exports found */
  17129. /***/ (function(module, exports, __webpack_require__) {
  17130. "use strict";
  17131. Object.defineProperty(exports, "__esModule", {
  17132. value: true
  17133. });
  17134. exports.default = void 0;
  17135. /*
  17136. * @Author : LQ
  17137. * @Description :
  17138. * @version : 1.0
  17139. * @Date : 2021-08-20 16:44:21
  17140. * @LastAuthor : LQ
  17141. * @lastTime : 2021-08-20 17:22:24
  17142. * @FilePath : /u-view2.0/uview-ui/libs/config/props/switch.js
  17143. */
  17144. var _default = {
  17145. // switch
  17146. switch: {
  17147. loading: false,
  17148. disabled: false,
  17149. size: 25,
  17150. activeColor: '#2979ff',
  17151. inactiveColor: '#ffffff',
  17152. value: false,
  17153. activeValue: true,
  17154. inactiveValue: false,
  17155. asyncChange: false,
  17156. space: 0
  17157. }
  17158. };
  17159. exports.default = _default;
  17160. /***/ }),
  17161. /* 147 */
  17162. /*!********************************************************************************************************************************************************!*\
  17163. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tabbar.js ***!
  17164. \********************************************************************************************************************************************************/
  17165. /*! no static exports found */
  17166. /***/ (function(module, exports, __webpack_require__) {
  17167. "use strict";
  17168. Object.defineProperty(exports, "__esModule", {
  17169. value: true
  17170. });
  17171. exports.default = void 0;
  17172. /*
  17173. * @Author : LQ
  17174. * @Description :
  17175. * @version : 1.0
  17176. * @Date : 2021-08-20 16:44:21
  17177. * @LastAuthor : LQ
  17178. * @lastTime : 2021-08-20 17:22:40
  17179. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbar.js
  17180. */
  17181. var _default = {
  17182. // tabbar
  17183. tabbar: {
  17184. value: null,
  17185. safeAreaInsetBottom: true,
  17186. border: true,
  17187. zIndex: 1,
  17188. activeColor: '#1989fa',
  17189. inactiveColor: '#7d7e80',
  17190. fixed: true,
  17191. placeholder: true
  17192. }
  17193. };
  17194. exports.default = _default;
  17195. /***/ }),
  17196. /* 148 */
  17197. /*!************************************************************************************************************************************************************!*\
  17198. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tabbarItem.js ***!
  17199. \************************************************************************************************************************************************************/
  17200. /*! no static exports found */
  17201. /***/ (function(module, exports, __webpack_require__) {
  17202. "use strict";
  17203. Object.defineProperty(exports, "__esModule", {
  17204. value: true
  17205. });
  17206. exports.default = void 0;
  17207. /*
  17208. * @Author : LQ
  17209. * @Description :
  17210. * @version : 1.0
  17211. * @Date : 2021-08-20 16:44:21
  17212. * @LastAuthor : LQ
  17213. * @lastTime : 2021-08-20 17:22:55
  17214. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbarItem.js
  17215. */
  17216. var _default = {
  17217. //
  17218. tabbarItem: {
  17219. name: null,
  17220. icon: '',
  17221. badge: null,
  17222. dot: false,
  17223. text: '',
  17224. badgeStyle: 'top: 6px;right:2px;'
  17225. }
  17226. };
  17227. exports.default = _default;
  17228. /***/ }),
  17229. /* 149 */
  17230. /*!******************************************************************************************************************************************************!*\
  17231. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tabs.js ***!
  17232. \******************************************************************************************************************************************************/
  17233. /*! no static exports found */
  17234. /***/ (function(module, exports, __webpack_require__) {
  17235. "use strict";
  17236. Object.defineProperty(exports, "__esModule", {
  17237. value: true
  17238. });
  17239. exports.default = void 0;
  17240. /*
  17241. * @Author : LQ
  17242. * @Description :
  17243. * @version : 1.0
  17244. * @Date : 2021-08-20 16:44:21
  17245. * @LastAuthor : LQ
  17246. * @lastTime : 2021-08-20 17:23:14
  17247. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabs.js
  17248. */
  17249. var _default = {
  17250. //
  17251. tabs: {
  17252. duration: 300,
  17253. list: function list() {
  17254. return [];
  17255. },
  17256. lineColor: '#3c9cff',
  17257. activeStyle: function activeStyle() {
  17258. return {
  17259. color: '#303133'
  17260. };
  17261. },
  17262. inactiveStyle: function inactiveStyle() {
  17263. return {
  17264. color: '#606266'
  17265. };
  17266. },
  17267. lineWidth: 20,
  17268. lineHeight: 3,
  17269. lineBgSize: 'cover',
  17270. itemStyle: function itemStyle() {
  17271. return {
  17272. height: '44px'
  17273. };
  17274. },
  17275. scrollable: true,
  17276. current: 0,
  17277. keyName: 'name'
  17278. }
  17279. };
  17280. exports.default = _default;
  17281. /***/ }),
  17282. /* 150 */
  17283. /*!*****************************************************************************************************************************************************!*\
  17284. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tag.js ***!
  17285. \*****************************************************************************************************************************************************/
  17286. /*! no static exports found */
  17287. /***/ (function(module, exports, __webpack_require__) {
  17288. "use strict";
  17289. Object.defineProperty(exports, "__esModule", {
  17290. value: true
  17291. });
  17292. exports.default = void 0;
  17293. /*
  17294. * @Author : LQ
  17295. * @Description :
  17296. * @version : 1.0
  17297. * @Date : 2021-08-20 16:44:21
  17298. * @LastAuthor : LQ
  17299. * @lastTime : 2021-08-20 17:23:37
  17300. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tag.js
  17301. */
  17302. var _default = {
  17303. // tag 组件
  17304. tag: {
  17305. type: 'primary',
  17306. disabled: false,
  17307. size: 'medium',
  17308. shape: 'square',
  17309. text: '',
  17310. bgColor: '',
  17311. color: '',
  17312. borderColor: '',
  17313. closeColor: '#C6C7CB',
  17314. name: '',
  17315. plainFill: false,
  17316. plain: false,
  17317. closable: false,
  17318. show: true,
  17319. icon: ''
  17320. }
  17321. };
  17322. exports.default = _default;
  17323. /***/ }),
  17324. /* 151 */
  17325. /*!******************************************************************************************************************************************************!*\
  17326. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/text.js ***!
  17327. \******************************************************************************************************************************************************/
  17328. /*! no static exports found */
  17329. /***/ (function(module, exports, __webpack_require__) {
  17330. "use strict";
  17331. Object.defineProperty(exports, "__esModule", {
  17332. value: true
  17333. });
  17334. exports.default = void 0;
  17335. /*
  17336. * @Author : LQ
  17337. * @Description :
  17338. * @version : 1.0
  17339. * @Date : 2021-08-20 16:44:21
  17340. * @LastAuthor : LQ
  17341. * @lastTime : 2021-08-20 17:23:58
  17342. * @FilePath : /u-view2.0/uview-ui/libs/config/props/text.js
  17343. */
  17344. var _default = {
  17345. // text 组件
  17346. text: {
  17347. type: '',
  17348. show: true,
  17349. text: '',
  17350. prefixIcon: '',
  17351. suffixIcon: '',
  17352. mode: '',
  17353. href: '',
  17354. format: '',
  17355. call: false,
  17356. openType: '',
  17357. bold: false,
  17358. block: false,
  17359. lines: '',
  17360. color: '#303133',
  17361. size: 15,
  17362. iconStyle: function iconStyle() {
  17363. return {
  17364. fontSize: '15px'
  17365. };
  17366. },
  17367. decoration: 'none',
  17368. margin: 0,
  17369. lineHeight: '',
  17370. align: 'left',
  17371. wordWrap: 'normal'
  17372. }
  17373. };
  17374. exports.default = _default;
  17375. /***/ }),
  17376. /* 152 */
  17377. /*!**********************************************************************************************************************************************************!*\
  17378. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/textarea.js ***!
  17379. \**********************************************************************************************************************************************************/
  17380. /*! no static exports found */
  17381. /***/ (function(module, exports, __webpack_require__) {
  17382. "use strict";
  17383. Object.defineProperty(exports, "__esModule", {
  17384. value: true
  17385. });
  17386. exports.default = void 0;
  17387. /*
  17388. * @Author : LQ
  17389. * @Description :
  17390. * @version : 1.0
  17391. * @Date : 2021-08-20 16:44:21
  17392. * @LastAuthor : LQ
  17393. * @lastTime : 2021-08-20 17:24:32
  17394. * @FilePath : /u-view2.0/uview-ui/libs/config/props/textarea.js
  17395. */
  17396. var _default = {
  17397. // textarea 组件
  17398. textarea: {
  17399. value: '',
  17400. placeholder: '',
  17401. placeholderClass: 'textarea-placeholder',
  17402. placeholderStyle: 'color: #c0c4cc',
  17403. height: 70,
  17404. confirmType: 'done',
  17405. disabled: false,
  17406. count: false,
  17407. focus: false,
  17408. autoHeight: false,
  17409. fixed: false,
  17410. cursorSpacing: 0,
  17411. cursor: '',
  17412. showConfirmBar: true,
  17413. selectionStart: -1,
  17414. selectionEnd: -1,
  17415. adjustPosition: true,
  17416. disableDefaultPadding: false,
  17417. holdKeyboard: false,
  17418. maxlength: 140,
  17419. border: 'surround',
  17420. formatter: null
  17421. }
  17422. };
  17423. exports.default = _default;
  17424. /***/ }),
  17425. /* 153 */
  17426. /*!*******************************************************************************************************************************************************!*\
  17427. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/toast.js ***!
  17428. \*******************************************************************************************************************************************************/
  17429. /*! no static exports found */
  17430. /***/ (function(module, exports, __webpack_require__) {
  17431. "use strict";
  17432. Object.defineProperty(exports, "__esModule", {
  17433. value: true
  17434. });
  17435. exports.default = void 0;
  17436. /*
  17437. * @Author : LQ
  17438. * @Description :
  17439. * @version : 1.0
  17440. * @Date : 2021-08-20 16:44:21
  17441. * @LastAuthor : LQ
  17442. * @lastTime : 2021-08-20 17:07:07
  17443. * @FilePath : /u-view2.0/uview-ui/libs/config/props/toast.js
  17444. */
  17445. var _default = {
  17446. // toast组件
  17447. toast: {
  17448. zIndex: 10090,
  17449. loading: false,
  17450. text: '',
  17451. icon: '',
  17452. type: '',
  17453. loadingMode: '',
  17454. show: '',
  17455. overlay: false,
  17456. position: 'center',
  17457. params: function params() {},
  17458. duration: 2000,
  17459. isTab: false,
  17460. url: '',
  17461. callback: null,
  17462. back: false
  17463. }
  17464. };
  17465. exports.default = _default;
  17466. /***/ }),
  17467. /* 154 */
  17468. /*!*********************************************************************************************************************************************************!*\
  17469. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/toolbar.js ***!
  17470. \*********************************************************************************************************************************************************/
  17471. /*! no static exports found */
  17472. /***/ (function(module, exports, __webpack_require__) {
  17473. "use strict";
  17474. Object.defineProperty(exports, "__esModule", {
  17475. value: true
  17476. });
  17477. exports.default = void 0;
  17478. /*
  17479. * @Author : LQ
  17480. * @Description :
  17481. * @version : 1.0
  17482. * @Date : 2021-08-20 16:44:21
  17483. * @LastAuthor : LQ
  17484. * @lastTime : 2021-08-20 17:24:55
  17485. * @FilePath : /u-view2.0/uview-ui/libs/config/props/toolbar.js
  17486. */
  17487. var _default = {
  17488. // toolbar 组件
  17489. toolbar: {
  17490. show: true,
  17491. cancelText: '取消',
  17492. confirmText: '确认',
  17493. cancelColor: '#909193',
  17494. confirmColor: '#3c9cff',
  17495. title: ''
  17496. }
  17497. };
  17498. exports.default = _default;
  17499. /***/ }),
  17500. /* 155 */
  17501. /*!*********************************************************************************************************************************************************!*\
  17502. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tooltip.js ***!
  17503. \*********************************************************************************************************************************************************/
  17504. /*! no static exports found */
  17505. /***/ (function(module, exports, __webpack_require__) {
  17506. "use strict";
  17507. Object.defineProperty(exports, "__esModule", {
  17508. value: true
  17509. });
  17510. exports.default = void 0;
  17511. /*
  17512. * @Author : LQ
  17513. * @Description :
  17514. * @version : 1.0
  17515. * @Date : 2021-08-20 16:44:21
  17516. * @LastAuthor : LQ
  17517. * @lastTime : 2021-08-20 17:25:14
  17518. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tooltip.js
  17519. */
  17520. var _default = {
  17521. // tooltip 组件
  17522. tooltip: {
  17523. text: '',
  17524. copyText: '',
  17525. size: 14,
  17526. color: '#606266',
  17527. bgColor: 'transparent',
  17528. direction: 'top',
  17529. zIndex: 10071,
  17530. showCopy: true,
  17531. buttons: function buttons() {
  17532. return [];
  17533. },
  17534. overlay: true,
  17535. showToast: true
  17536. }
  17537. };
  17538. exports.default = _default;
  17539. /***/ }),
  17540. /* 156 */
  17541. /*!************************************************************************************************************************************************************!*\
  17542. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/transition.js ***!
  17543. \************************************************************************************************************************************************************/
  17544. /*! no static exports found */
  17545. /***/ (function(module, exports, __webpack_require__) {
  17546. "use strict";
  17547. Object.defineProperty(exports, "__esModule", {
  17548. value: true
  17549. });
  17550. exports.default = void 0;
  17551. /*
  17552. * @Author : LQ
  17553. * @Description :
  17554. * @version : 1.0
  17555. * @Date : 2021-08-20 16:44:21
  17556. * @LastAuthor : LQ
  17557. * @lastTime : 2021-08-20 16:59:00
  17558. * @FilePath : /u-view2.0/uview-ui/libs/config/props/transition.js
  17559. */
  17560. var _default = {
  17561. // transition动画组件的props
  17562. transition: {
  17563. show: false,
  17564. mode: 'fade',
  17565. duration: '300',
  17566. timingFunction: 'ease-out'
  17567. }
  17568. };
  17569. exports.default = _default;
  17570. /***/ }),
  17571. /* 157 */
  17572. /*!********************************************************************************************************************************************************!*\
  17573. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/upload.js ***!
  17574. \********************************************************************************************************************************************************/
  17575. /*! no static exports found */
  17576. /***/ (function(module, exports, __webpack_require__) {
  17577. "use strict";
  17578. Object.defineProperty(exports, "__esModule", {
  17579. value: true
  17580. });
  17581. exports.default = void 0;
  17582. /*
  17583. * @Author : LQ
  17584. * @Description :
  17585. * @version : 1.0
  17586. * @Date : 2021-08-20 16:44:21
  17587. * @LastAuthor : LQ
  17588. * @lastTime : 2021-08-20 17:09:50
  17589. * @FilePath : /u-view2.0/uview-ui/libs/config/props/upload.js
  17590. */
  17591. var _default = {
  17592. // upload组件
  17593. upload: {
  17594. accept: 'image',
  17595. capture: function capture() {
  17596. return ['album', 'camera'];
  17597. },
  17598. compressed: true,
  17599. camera: 'back',
  17600. maxDuration: 60,
  17601. uploadIcon: 'camera-fill',
  17602. uploadIconColor: '#D3D4D6',
  17603. useBeforeRead: false,
  17604. previewFullImage: true,
  17605. maxCount: 52,
  17606. disabled: false,
  17607. imageMode: 'aspectFill',
  17608. name: '',
  17609. sizeType: function sizeType() {
  17610. return ['original', 'compressed'];
  17611. },
  17612. multiple: false,
  17613. deletable: true,
  17614. maxSize: Number.MAX_VALUE,
  17615. fileList: function fileList() {
  17616. return [];
  17617. },
  17618. uploadText: '',
  17619. width: 80,
  17620. height: 80,
  17621. previewImage: true
  17622. }
  17623. };
  17624. exports.default = _default;
  17625. /***/ }),
  17626. /* 158 */
  17627. /*!**************************************************************************************************************************************************!*\
  17628. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/zIndex.js ***!
  17629. \**************************************************************************************************************************************************/
  17630. /*! no static exports found */
  17631. /***/ (function(module, exports, __webpack_require__) {
  17632. "use strict";
  17633. Object.defineProperty(exports, "__esModule", {
  17634. value: true
  17635. });
  17636. exports.default = void 0;
  17637. // uniapp在H5中各API的z-index值如下:
  17638. /**
  17639. * actionsheet: 999
  17640. * modal: 999
  17641. * navigate: 998
  17642. * tabbar: 998
  17643. * toast: 999
  17644. */
  17645. var _default = {
  17646. toast: 10090,
  17647. noNetwork: 10080,
  17648. // popup包含popup,actionsheet,keyboard,picker的值
  17649. popup: 10075,
  17650. mask: 10070,
  17651. navbar: 980,
  17652. topTips: 975,
  17653. sticky: 970,
  17654. indexListSticky: 965
  17655. };
  17656. exports.default = _default;
  17657. /***/ }),
  17658. /* 159 */
  17659. /*!******************************************************************************************************************************************************!*\
  17660. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/platform.js ***!
  17661. \******************************************************************************************************************************************************/
  17662. /*! no static exports found */
  17663. /***/ (function(module, exports, __webpack_require__) {
  17664. "use strict";
  17665. Object.defineProperty(exports, "__esModule", {
  17666. value: true
  17667. });
  17668. exports.default = void 0;
  17669. /**
  17670. * 注意:
  17671. * 此部分内容,在vue-cli模式下,需要在vue.config.js加入如下内容才有效:
  17672. * module.exports = {
  17673. * transpileDependencies: ['uview-v2']
  17674. * }
  17675. */
  17676. var platform = 'none';
  17677. platform = 'vue2';
  17678. platform = 'weixin';
  17679. platform = 'mp';
  17680. var _default = platform;
  17681. exports.default = _default;
  17682. /***/ }),
  17683. /* 160 */,
  17684. /* 161 */,
  17685. /* 162 */,
  17686. /* 163 */,
  17687. /* 164 */,
  17688. /* 165 */,
  17689. /* 166 */
  17690. /*!********************************************************************************************************************!*\
  17691. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/notice.js ***!
  17692. \********************************************************************************************************************/
  17693. /*! no static exports found */
  17694. /***/ (function(module, exports, __webpack_require__) {
  17695. "use strict";
  17696. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  17697. Object.defineProperty(exports, "__esModule", {
  17698. value: true
  17699. });
  17700. exports.getNewInform = getNewInform;
  17701. exports.getNewNotice = getNewNotice;
  17702. exports.getNoticeDetail = getNoticeDetail;
  17703. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request.js */ 167));
  17704. function getNewInform(data) {
  17705. return _request.default.get('/system/notice/newInform', {
  17706. number: data
  17707. }).then(function (res) {
  17708. return res;
  17709. });
  17710. }
  17711. function getNewNotice() {
  17712. return _request.default.get('/system/notice/newNotice', {
  17713. number: data
  17714. }).then(function (res) {
  17715. return res;
  17716. });
  17717. }
  17718. function getNoticeDetail(id) {
  17719. return _request.default.get("/system/notice/".concat(id)).then(function (res) {
  17720. return res;
  17721. });
  17722. }
  17723. /***/ }),
  17724. /* 167 */
  17725. /*!***********************************************************************************************************************!*\
  17726. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/request.js ***!
  17727. \***********************************************************************************************************************/
  17728. /*! no static exports found */
  17729. /***/ (function(module, exports, __webpack_require__) {
  17730. "use strict";
  17731. /* WEBPACK VAR INJECTION */(function(uni, wx) {
  17732. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  17733. Object.defineProperty(exports, "__esModule", {
  17734. value: true
  17735. });
  17736. exports.default = void 0;
  17737. var _baseurl = _interopRequireDefault(__webpack_require__(/*! @/utils/baseurl.js */ 168));
  17738. var _auth = __webpack_require__(/*! @/utils/auth */ 34);
  17739. var _errorCode = _interopRequireDefault(__webpack_require__(/*! @/utils/errorCode */ 169));
  17740. var Fly = __webpack_require__(/*! flyio/dist/npm/wx */ 170);
  17741. var fly = new Fly();
  17742. //设置超时
  17743. fly.config.timeout = 30000;
  17744. //设置请求基地址
  17745. fly.config.baseURL = _baseurl.default;
  17746. fly.interceptors.request.use(function (config) {
  17747. // 在发送请求之前做些什么
  17748. // if(isLoading){
  17749. // console.log(isLoading,222)
  17750. // uni.showLoading({
  17751. // title: "加载中",
  17752. // mask: true,
  17753. // })
  17754. // }
  17755. var isToken = (config.headers || {}).isToken === false;
  17756. if ((0, _auth.getToken)() && !isToken) {
  17757. config.headers['Authorization'] = "Bearer ".concat((0, _auth.getToken)());
  17758. }
  17759. return config;
  17760. }, function (error) {
  17761. // 对请求错误做些什么
  17762. // if(isLoading){
  17763. // uni.hideLoading();
  17764. // }
  17765. uni.showToast({
  17766. title: error,
  17767. icon: 'none'
  17768. });
  17769. return Promise.reject(error);
  17770. });
  17771. // 添加响应拦截器
  17772. fly.interceptors.response.use(function (res) {
  17773. // 对响应数据做些事
  17774. var _res$data = res.data,
  17775. code = _res$data.code,
  17776. msg = _res$data.msg,
  17777. data = _res$data.data;
  17778. var rescode = code || 200;
  17779. // 获取错误信息
  17780. var resmsg = _errorCode.default[rescode] || msg || _errorCode.default['default'];
  17781. // 二进制数据则直接返回
  17782. // if(isLoading){
  17783. // uni.hideLoading();
  17784. // }
  17785. if (res.request.responseType === 'blob' || res.request.responseType === 'arraybuffer') {
  17786. return resmsg;
  17787. }
  17788. if (rescode === 401) {
  17789. wx.showModal({
  17790. title: '系统提示',
  17791. content: '请先进行登录',
  17792. mask: true,
  17793. success: function success(res) {
  17794. if (res.confirm) {
  17795. uni.reLaunch({
  17796. url: "/pages/logo/index"
  17797. });
  17798. } else if (res.cancel) {
  17799. console.log('用户点击取消');
  17800. }
  17801. }
  17802. });
  17803. } else if (rescode === 500) {
  17804. uni.showToast({
  17805. title: resmsg,
  17806. icon: 'none'
  17807. });
  17808. return Promise.reject(new Error(resmsg));
  17809. } else if (rescode !== 200) {
  17810. uni.showToast({
  17811. title: resmsg,
  17812. icon: 'none'
  17813. });
  17814. return Promise.reject('error');
  17815. } else {
  17816. return data;
  17817. }
  17818. }, function (error) {
  17819. var message = error.message.message;
  17820. uni.showToast({
  17821. title: message,
  17822. duration: 5 * 1000,
  17823. icon: 'none'
  17824. });
  17825. return Promise.reject(error);
  17826. });
  17827. var _default = fly;
  17828. exports.default = _default;
  17829. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  17830. /***/ }),
  17831. /* 168 */
  17832. /*!***********************************************************************************************************************!*\
  17833. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/baseurl.js ***!
  17834. \***********************************************************************************************************************/
  17835. /*! no static exports found */
  17836. /***/ (function(module, exports, __webpack_require__) {
  17837. "use strict";
  17838. Object.defineProperty(exports, "__esModule", {
  17839. value: true
  17840. });
  17841. exports.default = void 0;
  17842. var devUrl = 'http://192.168.0.102:80/dev-api';
  17843. var prodUrl = 'http://localhost:8089/prod-api';
  17844. var baseUrl = true ? devUrl : undefined;
  17845. var _default = baseUrl;
  17846. exports.default = _default;
  17847. /***/ }),
  17848. /* 169 */
  17849. /*!*************************************************************************************************************************!*\
  17850. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/errorCode.js ***!
  17851. \*************************************************************************************************************************/
  17852. /*! no static exports found */
  17853. /***/ (function(module, exports, __webpack_require__) {
  17854. "use strict";
  17855. Object.defineProperty(exports, "__esModule", {
  17856. value: true
  17857. });
  17858. exports.default = void 0;
  17859. var _default = {
  17860. '401': '认证失败,无法访问系统资源',
  17861. '403': '当前操作没有权限',
  17862. '404': '访问资源不存在',
  17863. 'default': '系统未知错误,请反馈给管理员'
  17864. };
  17865. exports.default = _default;
  17866. /***/ }),
  17867. /* 170 */
  17868. /*!*******************************************!*\
  17869. !*** ./node_modules/flyio/dist/npm/wx.js ***!
  17870. \*******************************************/
  17871. /*! no static exports found */
  17872. /***/ (function(module, exports, __webpack_require__) {
  17873. /* WEBPACK VAR INJECTION */(function(wx) {(function webpackUniversalModuleDefinition(root, factory) {
  17874. if(true)
  17875. module.exports = factory();
  17876. else { var i, a; }
  17877. })(this, function() {
  17878. return /******/ (function(modules) { // webpackBootstrap
  17879. /******/ // The module cache
  17880. /******/ var installedModules = {};
  17881. /******/
  17882. /******/ // The require function
  17883. /******/ function __webpack_require__(moduleId) {
  17884. /******/
  17885. /******/ // Check if module is in cache
  17886. /******/ if(installedModules[moduleId]) {
  17887. /******/ return installedModules[moduleId].exports;
  17888. /******/ }
  17889. /******/ // Create a new module (and put it into the cache)
  17890. /******/ var module = installedModules[moduleId] = {
  17891. /******/ i: moduleId,
  17892. /******/ l: false,
  17893. /******/ exports: {}
  17894. /******/ };
  17895. /******/
  17896. /******/ // Execute the module function
  17897. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  17898. /******/
  17899. /******/ // Flag the module as loaded
  17900. /******/ module.l = true;
  17901. /******/
  17902. /******/ // Return the exports of the module
  17903. /******/ return module.exports;
  17904. /******/ }
  17905. /******/
  17906. /******/
  17907. /******/ // expose the modules object (__webpack_modules__)
  17908. /******/ __webpack_require__.m = modules;
  17909. /******/
  17910. /******/ // expose the module cache
  17911. /******/ __webpack_require__.c = installedModules;
  17912. /******/
  17913. /******/ // identity function for calling harmony imports with the correct context
  17914. /******/ __webpack_require__.i = function(value) { return value; };
  17915. /******/
  17916. /******/ // define getter function for harmony exports
  17917. /******/ __webpack_require__.d = function(exports, name, getter) {
  17918. /******/ if(!__webpack_require__.o(exports, name)) {
  17919. /******/ Object.defineProperty(exports, name, {
  17920. /******/ configurable: false,
  17921. /******/ enumerable: true,
  17922. /******/ get: getter
  17923. /******/ });
  17924. /******/ }
  17925. /******/ };
  17926. /******/
  17927. /******/ // getDefaultExport function for compatibility with non-harmony modules
  17928. /******/ __webpack_require__.n = function(module) {
  17929. /******/ var getter = module && module.__esModule ?
  17930. /******/ function getDefault() { return module['default']; } :
  17931. /******/ function getModuleExports() { return module; };
  17932. /******/ __webpack_require__.d(getter, 'a', getter);
  17933. /******/ return getter;
  17934. /******/ };
  17935. /******/
  17936. /******/ // Object.prototype.hasOwnProperty.call
  17937. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  17938. /******/
  17939. /******/ // __webpack_public_path__
  17940. /******/ __webpack_require__.p = "";
  17941. /******/
  17942. /******/ // Load entry module and return exports
  17943. /******/ return __webpack_require__(__webpack_require__.s = 13);
  17944. /******/ })
  17945. /************************************************************************/
  17946. /******/ ([
  17947. /* 0 */
  17948. /***/ (function(module, exports, __webpack_require__) {
  17949. "use strict";
  17950. var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
  17951. module.exports = {
  17952. type: function type(ob) {
  17953. return Object.prototype.toString.call(ob).slice(8, -1).toLowerCase();
  17954. },
  17955. isObject: function isObject(ob, real) {
  17956. if (real) {
  17957. return this.type(ob) === "object";
  17958. } else {
  17959. return ob && (typeof ob === 'undefined' ? 'undefined' : _typeof(ob)) === 'object';
  17960. }
  17961. },
  17962. isFormData: function isFormData(val) {
  17963. return typeof FormData !== 'undefined' && val instanceof FormData;
  17964. },
  17965. trim: function trim(str) {
  17966. return str.replace(/(^\s*)|(\s*$)/g, '');
  17967. },
  17968. encode: function encode(val) {
  17969. return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
  17970. },
  17971. formatParams: function formatParams(data) {
  17972. var str = "";
  17973. var first = true;
  17974. var that = this;
  17975. if (!this.isObject(data)) {
  17976. return data;
  17977. }
  17978. function _encode(sub, path) {
  17979. var encode = that.encode;
  17980. var type = that.type(sub);
  17981. if (type == "array") {
  17982. sub.forEach(function (e, i) {
  17983. if (!that.isObject(e)) i = "";
  17984. _encode(e, path + ('%5B' + i + '%5D'));
  17985. });
  17986. } else if (type == "object") {
  17987. for (var key in sub) {
  17988. if (path) {
  17989. _encode(sub[key], path + "%5B" + encode(key) + "%5D");
  17990. } else {
  17991. _encode(sub[key], encode(key));
  17992. }
  17993. }
  17994. } else {
  17995. if (!first) {
  17996. str += "&";
  17997. }
  17998. first = false;
  17999. str += path + "=" + encode(sub);
  18000. }
  18001. }
  18002. _encode(data, "");
  18003. return str;
  18004. },
  18005. // Do not overwrite existing attributes
  18006. merge: function merge(a, b) {
  18007. for (var key in b) {
  18008. if (!a.hasOwnProperty(key)) {
  18009. a[key] = b[key];
  18010. } else if (this.isObject(b[key], 1) && this.isObject(a[key], 1)) {
  18011. this.merge(a[key], b[key]);
  18012. }
  18013. }
  18014. return a;
  18015. }
  18016. };
  18017. /***/ }),
  18018. /* 1 */
  18019. /***/ (function(module, exports, __webpack_require__) {
  18020. function KEEP(_,cb){cb();}
  18021. "use strict";
  18022. var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
  18023. var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
  18024. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  18025. /*
  18026. * author: wendu
  18027. * email: 824783146@qq.com
  18028. **/
  18029. var util = __webpack_require__(0);
  18030. var isBrowser = typeof document !== "undefined";
  18031. //EngineWrapper can help generating a http engine quickly through a adapter
  18032. function EngineWrapper(adapter) {
  18033. var AjaxEngine = function () {
  18034. function AjaxEngine() {
  18035. _classCallCheck(this, AjaxEngine);
  18036. this.requestHeaders = {};
  18037. this.readyState = 0;
  18038. this.timeout = 0; // 0 stands for no timeout
  18039. this.responseURL = "";
  18040. this.responseHeaders = {};
  18041. }
  18042. _createClass(AjaxEngine, [{
  18043. key: "_call",
  18044. value: function _call(name) {
  18045. this[name] && this[name].apply(this, [].splice.call(arguments, 1));
  18046. }
  18047. }, {
  18048. key: "_changeReadyState",
  18049. value: function _changeReadyState(state) {
  18050. this.readyState = state;
  18051. this._call("onreadystatechange");
  18052. }
  18053. }, {
  18054. key: "open",
  18055. value: function open(method, url) {
  18056. this.method = method;
  18057. if (!url) {
  18058. url = location.href;
  18059. } else {
  18060. url = util.trim(url);
  18061. if (url.indexOf("http") !== 0) {
  18062. // Normalize the request url
  18063. if (isBrowser) {
  18064. var t = document.createElement("a");
  18065. t.href = url;
  18066. url = t.href;
  18067. }
  18068. }
  18069. }
  18070. this.responseURL = url;
  18071. this._changeReadyState(1);
  18072. }
  18073. }, {
  18074. key: "send",
  18075. value: function send(arg) {
  18076. var _this = this;
  18077. arg = arg || null;
  18078. var self = this;
  18079. if (adapter) {
  18080. var request = {
  18081. method: self.method,
  18082. url: self.responseURL,
  18083. headers: self.requestHeaders || {},
  18084. body: arg
  18085. };
  18086. util.merge(request, self._options || {});
  18087. if (request.method === "GET") {
  18088. request.body = null;
  18089. }
  18090. self._changeReadyState(3);
  18091. var timer = void 0;
  18092. self.timeout = self.timeout || 0;
  18093. if (self.timeout > 0) {
  18094. timer = setTimeout(function () {
  18095. if (self.readyState === 3) {
  18096. _this._call("onloadend");
  18097. self._changeReadyState(0);
  18098. self._call("ontimeout");
  18099. }
  18100. }, self.timeout);
  18101. }
  18102. request.timeout = self.timeout;
  18103. adapter(request, function (response) {
  18104. function getAndDelete(key) {
  18105. var t = response[key];
  18106. delete response[key];
  18107. return t;
  18108. }
  18109. // If the request has already timeout, return
  18110. if (self.readyState !== 3) return;
  18111. clearTimeout(timer);
  18112. // Make sure the type of status is integer
  18113. self.status = getAndDelete("statusCode") - 0;
  18114. var responseText = getAndDelete("responseText");
  18115. var statusMessage = getAndDelete("statusMessage");
  18116. // Network error, set the status code 0
  18117. if (!self.status) {
  18118. self.statusText = responseText;
  18119. self._call("onerror", { msg: statusMessage });
  18120. } else {
  18121. // Parsing the response headers to array in a object, because
  18122. // there may be multiple values with the same header name
  18123. var responseHeaders = getAndDelete("headers");
  18124. var headers = {};
  18125. for (var field in responseHeaders) {
  18126. var value = responseHeaders[field];
  18127. var key = field.toLowerCase();
  18128. // Is array
  18129. if ((typeof value === "undefined" ? "undefined" : _typeof(value)) === "object") {
  18130. headers[key] = value;
  18131. } else {
  18132. headers[key] = headers[key] || [];
  18133. headers[key].push(value);
  18134. }
  18135. }
  18136. var cookies = headers["set-cookie"];
  18137. if (isBrowser && cookies) {
  18138. cookies.forEach(function (e) {
  18139. // Remove the http-Only property of the cookie
  18140. // so that JavaScript can operate it.
  18141. document.cookie = e.replace(/;\s*httpOnly/ig, "");
  18142. });
  18143. }
  18144. self.responseHeaders = headers;
  18145. // Set the fields of engine from response
  18146. self.statusText = statusMessage || "";
  18147. self.response = self.responseText = responseText;
  18148. self._response = response;
  18149. self._changeReadyState(4);
  18150. self._call("onload");
  18151. }
  18152. self._call("onloadend");
  18153. });
  18154. } else {
  18155. console.error("Ajax require adapter");
  18156. }
  18157. }
  18158. }, {
  18159. key: "setRequestHeader",
  18160. value: function setRequestHeader(key, value) {
  18161. this.requestHeaders[util.trim(key)] = value;
  18162. }
  18163. }, {
  18164. key: "getResponseHeader",
  18165. value: function getResponseHeader(key) {
  18166. return (this.responseHeaders[key.toLowerCase()] || "").toString() || null;
  18167. }
  18168. }, {
  18169. key: "getAllResponseHeaders",
  18170. value: function getAllResponseHeaders() {
  18171. var str = "";
  18172. for (var key in this.responseHeaders) {
  18173. str += key + ":" + this.getResponseHeader(key) + "\r\n";
  18174. }
  18175. return str || null;
  18176. }
  18177. }, {
  18178. key: "abort",
  18179. value: function abort(msg) {
  18180. this._changeReadyState(0);
  18181. this._call("onerror", { msg: msg });
  18182. this._call("onloadend");
  18183. }
  18184. }], [{
  18185. key: "setAdapter",
  18186. value: function setAdapter(requestAdapter) {
  18187. adapter = requestAdapter;
  18188. }
  18189. }]);
  18190. return AjaxEngine;
  18191. }();
  18192. return AjaxEngine;
  18193. }
  18194. // learn more about keep-loader: https://github.com/wendux/keep-loader
  18195. ;
  18196. module.exports = EngineWrapper;
  18197. /***/ }),
  18198. /* 2 */
  18199. /***/ (function(module, exports, __webpack_require__) {
  18200. function KEEP(_,cb){cb();}
  18201. "use strict";
  18202. var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
  18203. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  18204. var utils = __webpack_require__(0);
  18205. var isBrowser = typeof document !== "undefined";
  18206. var Fly = function () {
  18207. function Fly(engine) {
  18208. _classCallCheck(this, Fly);
  18209. this.engine = engine || XMLHttpRequest;
  18210. this.default = this; //For typeScript
  18211. /**
  18212. * Add lock/unlock API for interceptor.
  18213. *
  18214. * Once an request/response interceptor is locked, the incoming request/response
  18215. * will be added to a queue before they enter the interceptor, they will not be
  18216. * continued until the interceptor is unlocked.
  18217. *
  18218. * @param [interceptor] either is interceptors.request or interceptors.response
  18219. */
  18220. function wrap(interceptor) {
  18221. var resolve = void 0;
  18222. var reject = void 0;
  18223. function _clear() {
  18224. interceptor.p = resolve = reject = null;
  18225. }
  18226. utils.merge(interceptor, {
  18227. lock: function lock() {
  18228. if (!resolve) {
  18229. interceptor.p = new Promise(function (_resolve, _reject) {
  18230. resolve = _resolve;
  18231. reject = _reject;
  18232. });
  18233. }
  18234. },
  18235. unlock: function unlock() {
  18236. if (resolve) {
  18237. resolve();
  18238. _clear();
  18239. }
  18240. },
  18241. clear: function clear() {
  18242. if (reject) {
  18243. reject("cancel");
  18244. _clear();
  18245. }
  18246. }
  18247. });
  18248. }
  18249. var interceptors = this.interceptors = {
  18250. response: {
  18251. use: function use(handler, onerror) {
  18252. this.handler = handler;
  18253. this.onerror = onerror;
  18254. }
  18255. },
  18256. request: {
  18257. use: function use(handler) {
  18258. this.handler = handler;
  18259. }
  18260. }
  18261. };
  18262. var irq = interceptors.request;
  18263. var irp = interceptors.response;
  18264. wrap(irp);
  18265. wrap(irq);
  18266. this.config = {
  18267. method: "GET",
  18268. baseURL: "",
  18269. headers: {},
  18270. timeout: 0,
  18271. params: {}, // Default Url params
  18272. parseJson: true, // Convert response data to JSON object automatically.
  18273. withCredentials: false
  18274. };
  18275. }
  18276. _createClass(Fly, [{
  18277. key: "request",
  18278. value: function request(url, data, options) {
  18279. var _this = this;
  18280. var engine = new this.engine();
  18281. var contentType = "Content-Type";
  18282. var contentTypeLowerCase = contentType.toLowerCase();
  18283. var interceptors = this.interceptors;
  18284. var requestInterceptor = interceptors.request;
  18285. var responseInterceptor = interceptors.response;
  18286. var requestInterceptorHandler = requestInterceptor.handler;
  18287. var promise = new Promise(function (resolve, reject) {
  18288. if (utils.isObject(url)) {
  18289. options = url;
  18290. url = options.url;
  18291. }
  18292. options = options || {};
  18293. options.headers = options.headers || {};
  18294. function isPromise(p) {
  18295. // some polyfill implementation of Promise may be not standard,
  18296. // so, we test by duck-typing
  18297. return p && p.then && p.catch;
  18298. }
  18299. /**
  18300. * If the request/response interceptor has been locked,
  18301. * the new request/response will enter a queue. otherwise, it will be performed directly.
  18302. * @param [promise] if the promise exist, means the interceptor is locked.
  18303. * @param [callback]
  18304. */
  18305. function enqueueIfLocked(promise, callback) {
  18306. if (promise) {
  18307. promise.then(function () {
  18308. callback();
  18309. });
  18310. } else {
  18311. callback();
  18312. }
  18313. }
  18314. // make the http request
  18315. function makeRequest(options) {
  18316. data = options.body;
  18317. // Normalize the request url
  18318. url = utils.trim(options.url);
  18319. var baseUrl = utils.trim(options.baseURL || "");
  18320. if (!url && isBrowser && !baseUrl) url = location.href;
  18321. if (url.indexOf("http") !== 0) {
  18322. var isAbsolute = url[0] === "/";
  18323. if (!baseUrl && isBrowser) {
  18324. var arr = location.pathname.split("/");
  18325. arr.pop();
  18326. baseUrl = location.protocol + "//" + location.host + (isAbsolute ? "" : arr.join("/"));
  18327. }
  18328. if (baseUrl[baseUrl.length - 1] !== "/") {
  18329. baseUrl += "/";
  18330. }
  18331. url = baseUrl + (isAbsolute ? url.substr(1) : url);
  18332. if (isBrowser) {
  18333. // Normalize the url which contains the ".." or ".", such as
  18334. // "http://xx.com/aa/bb/../../xx" to "http://xx.com/xx" .
  18335. var t = document.createElement("a");
  18336. t.href = url;
  18337. url = t.href;
  18338. }
  18339. }
  18340. var responseType = utils.trim(options.responseType || "");
  18341. var needQuery = ["GET", "HEAD", "DELETE", "OPTION"].indexOf(options.method) !== -1;
  18342. var dataType = utils.type(data);
  18343. var params = options.params || {};
  18344. // merge url params when the method is "GET" (data is object)
  18345. if (needQuery && dataType === "object") {
  18346. params = utils.merge(data, params);
  18347. }
  18348. // encode params to String
  18349. params = utils.formatParams(params);
  18350. // save url params
  18351. var _params = [];
  18352. if (params) {
  18353. _params.push(params);
  18354. }
  18355. // Add data to url params when the method is "GET" (data is String)
  18356. if (needQuery && data && dataType === "string") {
  18357. _params.push(data);
  18358. }
  18359. // make the final url
  18360. if (_params.length > 0) {
  18361. url += (url.indexOf("?") === -1 ? "?" : "&") + _params.join("&");
  18362. }
  18363. engine.open(options.method, url);
  18364. // try catch for ie >=9
  18365. try {
  18366. engine.withCredentials = !!options.withCredentials;
  18367. engine.timeout = options.timeout || 0;
  18368. if (responseType !== "stream") {
  18369. engine.responseType = responseType;
  18370. }
  18371. } catch (e) {}
  18372. var customContentType = options.headers[contentType] || options.headers[contentTypeLowerCase];
  18373. // default content type
  18374. var _contentType = "application/x-www-form-urlencoded";
  18375. // If the request data is json object, transforming it to json string,
  18376. // and set request content-type to "json". In browser, the data will
  18377. // be sent as RequestBody instead of FormData
  18378. if (utils.trim((customContentType || "").toLowerCase()) === _contentType) {
  18379. data = utils.formatParams(data);
  18380. } else if (!utils.isFormData(data) && ["object", "array"].indexOf(utils.type(data)) !== -1) {
  18381. _contentType = 'application/json;charset=utf-8';
  18382. data = JSON.stringify(data);
  18383. }
  18384. //If user doesn't set content-type, set default.
  18385. if (!(customContentType || needQuery)) {
  18386. options.headers[contentType] = _contentType;
  18387. }
  18388. for (var k in options.headers) {
  18389. if (k === contentType && utils.isFormData(data)) {
  18390. // Delete the content-type, Let the browser set it
  18391. delete options.headers[k];
  18392. } else {
  18393. try {
  18394. // In browser environment, some header fields are readonly,
  18395. // write will cause the exception .
  18396. engine.setRequestHeader(k, options.headers[k]);
  18397. } catch (e) {}
  18398. }
  18399. }
  18400. function onresult(handler, data, type) {
  18401. enqueueIfLocked(responseInterceptor.p, function () {
  18402. if (handler) {
  18403. //如果失败,添加请求信息
  18404. if (type) {
  18405. data.request = options;
  18406. }
  18407. var ret = handler.call(responseInterceptor, data, Promise);
  18408. data = ret === undefined ? data : ret;
  18409. }
  18410. if (!isPromise(data)) {
  18411. data = Promise[type === 0 ? "resolve" : "reject"](data);
  18412. }
  18413. data.then(function (d) {
  18414. resolve(d);
  18415. }).catch(function (e) {
  18416. reject(e);
  18417. });
  18418. });
  18419. }
  18420. function onerror(e) {
  18421. e.engine = engine;
  18422. onresult(responseInterceptor.onerror, e, -1);
  18423. }
  18424. function Err(msg, status) {
  18425. this.message = msg;
  18426. this.status = status;
  18427. }
  18428. engine.onload = function () {
  18429. try {
  18430. // The xhr of IE9 has not response field
  18431. var response = engine.response || engine.responseText;
  18432. if (response && options.parseJson && (engine.getResponseHeader(contentType) || "").indexOf("json") !== -1
  18433. // Some third engine implementation may transform the response text to json object automatically,
  18434. // so we should test the type of response before transforming it
  18435. && !utils.isObject(response)) {
  18436. response = JSON.parse(response);
  18437. }
  18438. var headers = engine.responseHeaders;
  18439. // In browser
  18440. if (!headers) {
  18441. headers = {};
  18442. var items = (engine.getAllResponseHeaders() || "").split("\r\n");
  18443. items.pop();
  18444. items.forEach(function (e) {
  18445. if (!e) return;
  18446. var key = e.split(":")[0];
  18447. headers[key] = engine.getResponseHeader(key);
  18448. });
  18449. }
  18450. var status = engine.status;
  18451. var statusText = engine.statusText;
  18452. var _data = { data: response, headers: headers, status: status, statusText: statusText };
  18453. // The _response filed of engine is set in adapter which be called in engine-wrapper.js
  18454. utils.merge(_data, engine._response);
  18455. if (status >= 200 && status < 300 || status === 304) {
  18456. _data.engine = engine;
  18457. _data.request = options;
  18458. onresult(responseInterceptor.handler, _data, 0);
  18459. } else {
  18460. var e = new Err(statusText, status);
  18461. e.response = _data;
  18462. onerror(e);
  18463. }
  18464. } catch (e) {
  18465. onerror(new Err(e.msg, engine.status));
  18466. }
  18467. };
  18468. engine.onerror = function (e) {
  18469. onerror(new Err(e.msg || "Network Error", 0));
  18470. };
  18471. engine.ontimeout = function () {
  18472. onerror(new Err("timeout [ " + engine.timeout + "ms ]", 1));
  18473. };
  18474. engine._options = options;
  18475. setTimeout(function () {
  18476. engine.send(needQuery ? null : data);
  18477. }, 0);
  18478. }
  18479. enqueueIfLocked(requestInterceptor.p, function () {
  18480. utils.merge(options, JSON.parse(JSON.stringify(_this.config)));
  18481. var headers = options.headers;
  18482. headers[contentType] = headers[contentType] || headers[contentTypeLowerCase] || "";
  18483. delete headers[contentTypeLowerCase];
  18484. options.body = data || options.body;
  18485. url = utils.trim(url || "");
  18486. options.method = options.method.toUpperCase();
  18487. options.url = url;
  18488. var ret = options;
  18489. if (requestInterceptorHandler) {
  18490. ret = requestInterceptorHandler.call(requestInterceptor, options, Promise) || options;
  18491. }
  18492. if (!isPromise(ret)) {
  18493. ret = Promise.resolve(ret);
  18494. }
  18495. ret.then(function (d) {
  18496. //if options continue
  18497. if (d === options) {
  18498. makeRequest(d);
  18499. } else {
  18500. resolve(d);
  18501. }
  18502. }, function (err) {
  18503. reject(err);
  18504. });
  18505. });
  18506. });
  18507. promise.engine = engine;
  18508. return promise;
  18509. }
  18510. }, {
  18511. key: "all",
  18512. value: function all(promises) {
  18513. return Promise.all(promises);
  18514. }
  18515. }, {
  18516. key: "spread",
  18517. value: function spread(callback) {
  18518. return function (arr) {
  18519. return callback.apply(null, arr);
  18520. };
  18521. }
  18522. }]);
  18523. return Fly;
  18524. }();
  18525. //For typeScript
  18526. Fly.default = Fly;
  18527. ["get", "post", "put", "patch", "head", "delete"].forEach(function (e) {
  18528. Fly.prototype[e] = function (url, data, option) {
  18529. return this.request(url, data, utils.merge({ method: e }, option));
  18530. };
  18531. });
  18532. ["lock", "unlock", "clear"].forEach(function (e) {
  18533. Fly.prototype[e] = function () {
  18534. this.interceptors.request[e]();
  18535. };
  18536. });
  18537. // Learn more about keep-loader: https://github.com/wendux/keep-loader
  18538. ;
  18539. module.exports = Fly;
  18540. /***/ }),
  18541. /* 3 */,
  18542. /* 4 */,
  18543. /* 5 */,
  18544. /* 6 */,
  18545. /* 7 */
  18546. /***/ (function(module, exports, __webpack_require__) {
  18547. "use strict";
  18548. //微信小程序适配器
  18549. module.exports = function (request, responseCallback) {
  18550. var con = {
  18551. method: request.method,
  18552. url: request.url,
  18553. dataType: request.dataType || undefined,
  18554. header: request.headers,
  18555. data: request.body || {},
  18556. responseType: request.responseType || 'text',
  18557. success: function success(res) {
  18558. responseCallback({
  18559. statusCode: res.statusCode,
  18560. responseText: res.data,
  18561. headers: res.header,
  18562. statusMessage: res.errMsg
  18563. });
  18564. },
  18565. fail: function fail(res) {
  18566. responseCallback({
  18567. statusCode: res.statusCode || 0,
  18568. statusMessage: res.errMsg
  18569. });
  18570. }
  18571. };
  18572. wx.request(con);
  18573. };
  18574. /***/ }),
  18575. /* 8 */,
  18576. /* 9 */,
  18577. /* 10 */,
  18578. /* 11 */,
  18579. /* 12 */,
  18580. /* 13 */
  18581. /***/ (function(module, exports, __webpack_require__) {
  18582. "use strict";
  18583. //微信小程序入口
  18584. var _Fly = __webpack_require__(2);
  18585. var EngineWrapper = __webpack_require__(1);
  18586. var adapter = __webpack_require__(7);
  18587. var wxEngine = EngineWrapper(adapter);
  18588. module.exports = function (engine) {
  18589. return new _Fly(engine || wxEngine);
  18590. };
  18591. /***/ })
  18592. /******/ ]);
  18593. });
  18594. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  18595. /***/ }),
  18596. /* 171 */
  18597. /*!*******************************************************************************************************************!*\
  18598. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/asset.js ***!
  18599. \*******************************************************************************************************************/
  18600. /*! no static exports found */
  18601. /***/ (function(module, exports, __webpack_require__) {
  18602. "use strict";
  18603. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18604. Object.defineProperty(exports, "__esModule", {
  18605. value: true
  18606. });
  18607. exports.borrowAsset = borrowAsset;
  18608. exports.getAllPlace = getAllPlace;
  18609. exports.getBorrowList = getBorrowList;
  18610. exports.getFaultDetail = getFaultDetail;
  18611. exports.getFaultReport = getFaultReport;
  18612. exports.getReturnDetail = getReturnDetail;
  18613. exports.handleFaultReport = handleFaultReport;
  18614. exports.reportFault = reportFault;
  18615. exports.returnAsset = returnAsset;
  18616. exports.searchAsset = searchAsset;
  18617. exports.sumBorrow = sumBorrow;
  18618. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 167));
  18619. //扫码或者根据关键词查询
  18620. function searchAsset(data) {
  18621. return _request.default.get('/asset/asset/search', data).then(function (res) {
  18622. return res;
  18623. });
  18624. }
  18625. //获取全部的存放地点
  18626. function getAllPlace() {
  18627. return _request.default.get('/asset/place/all').then(function (res) {
  18628. return res;
  18629. });
  18630. }
  18631. //借用设备
  18632. function borrowAsset(borrowDate, returnDate, data) {
  18633. return _request.default.post("/asset/borrow/save/".concat(borrowDate, "/").concat(returnDate), data).then(function (res) {
  18634. return res;
  18635. });
  18636. }
  18637. //归还设备
  18638. function returnAsset(barCode) {
  18639. return _request.default.put("/asset/borrow/return/".concat(barCode)).then(function (res) {
  18640. return res;
  18641. });
  18642. }
  18643. //获取借用设备记录
  18644. function getBorrowList(data) {
  18645. return _request.default.get('/asset/borrow/recordList', data).then(function (res) {
  18646. return res;
  18647. });
  18648. }
  18649. //获取已归还的记录详细
  18650. function getReturnDetail(id) {
  18651. return _request.default.get("/asset/borrow/record/".concat(id)).then(function (res) {
  18652. return res;
  18653. });
  18654. }
  18655. //统计借用设备记录
  18656. function sumBorrow(data) {
  18657. return _request.default.get('/asset/borrow/recordCount', {
  18658. status: data
  18659. }).then(function (res) {
  18660. return res;
  18661. });
  18662. }
  18663. //故障上报
  18664. function reportFault(data) {
  18665. return _request.default.post('/asset/fault/save', data).then(function (res) {
  18666. return res;
  18667. });
  18668. }
  18669. //管理员故障处理列表
  18670. function getFaultReport() {
  18671. return _request.default.get('/asset/fault/list').then(function (res) {
  18672. return res;
  18673. });
  18674. }
  18675. //管理员:获取故障详细,处理故障
  18676. function getFaultDetail(id) {
  18677. return _request.default.get("/asset/fault/".concat(id)).then(function (res) {
  18678. return res;
  18679. });
  18680. }
  18681. //管理:故障处理
  18682. function handleFaultReport(data) {
  18683. return _request.default.put('/asset/fault/process', data).then(function (res) {
  18684. return res;
  18685. });
  18686. }
  18687. /***/ }),
  18688. /* 172 */,
  18689. /* 173 */,
  18690. /* 174 */,
  18691. /* 175 */,
  18692. /* 176 */,
  18693. /* 177 */,
  18694. /* 178 */,
  18695. /* 179 */,
  18696. /* 180 */,
  18697. /* 181 */,
  18698. /* 182 */,
  18699. /* 183 */,
  18700. /* 184 */,
  18701. /* 185 */,
  18702. /* 186 */,
  18703. /* 187 */,
  18704. /* 188 */
  18705. /*!******************************************************************************************************************!*\
  18706. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/user.js ***!
  18707. \******************************************************************************************************************/
  18708. /*! no static exports found */
  18709. /***/ (function(module, exports, __webpack_require__) {
  18710. "use strict";
  18711. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18712. Object.defineProperty(exports, "__esModule", {
  18713. value: true
  18714. });
  18715. exports.getInfo = getInfo;
  18716. exports.login = login;
  18717. exports.logout = logout;
  18718. exports.savePassword = savePassword;
  18719. exports.saveUserInfo = saveUserInfo;
  18720. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 167));
  18721. function login(username, password) {
  18722. var data = {
  18723. username: username,
  18724. password: password
  18725. };
  18726. return _request.default.post('/login', data, {
  18727. headers: {
  18728. isToken: false
  18729. }
  18730. }).then(function (res) {
  18731. return res;
  18732. });
  18733. }
  18734. // 获取用户详细信息
  18735. function getInfo() {
  18736. return _request.default.get('/getInfo').then(function (res) {
  18737. return res;
  18738. });
  18739. }
  18740. //修改用户信息
  18741. function saveUserInfo(data) {
  18742. return _request.default.put('/system/user/profile', data).then(function (res) {
  18743. return res;
  18744. });
  18745. }
  18746. //修改用户密码
  18747. function savePassword(oldPwd, newPwd) {
  18748. return _request.default.put('/system/user/profile/updatePwd', {
  18749. oldPassword: oldPwd,
  18750. newPassword: newPwd
  18751. }).then(function (res) {
  18752. return res;
  18753. });
  18754. }
  18755. //退出
  18756. function logout() {
  18757. return _request.default.post('/logout').then(function (res) {
  18758. return res;
  18759. });
  18760. }
  18761. /***/ }),
  18762. /* 189 */
  18763. /*!***********************************************************************************************************************!*\
  18764. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/storage.js ***!
  18765. \***********************************************************************************************************************/
  18766. /*! no static exports found */
  18767. /***/ (function(module, exports, __webpack_require__) {
  18768. "use strict";
  18769. /* WEBPACK VAR INJECTION */(function(uni) {
  18770. Object.defineProperty(exports, "__esModule", {
  18771. value: true
  18772. });
  18773. exports.default = void 0;
  18774. var sessionCache = {
  18775. set: function set(key, value) {
  18776. // if (!sessionStorage) {
  18777. // return
  18778. // }
  18779. if (key != null && value != null) {
  18780. uni.setStorageSync(key, value);
  18781. }
  18782. },
  18783. get: function get(key) {
  18784. // if (!sessionStorage) {
  18785. // return null
  18786. // }
  18787. if (key == null) {
  18788. return null;
  18789. }
  18790. return uni.getStorageSync(key);
  18791. },
  18792. setJSON: function setJSON(key, jsonValue) {
  18793. if (jsonValue != null) {
  18794. this.set(key, JSON.stringify(jsonValue));
  18795. }
  18796. },
  18797. getJSON: function getJSON(key) {
  18798. var value = this.get(key);
  18799. if (value != null) {
  18800. return JSON.parse(value);
  18801. }
  18802. },
  18803. remove: function remove(key) {
  18804. uni.removeStorageSync(key);
  18805. }
  18806. };
  18807. var _default = {
  18808. session: sessionCache
  18809. };
  18810. exports.default = _default;
  18811. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  18812. /***/ }),
  18813. /* 190 */,
  18814. /* 191 */,
  18815. /* 192 */,
  18816. /* 193 */,
  18817. /* 194 */,
  18818. /* 195 */,
  18819. /* 196 */
  18820. /*!*******************************************************************************************************************************!*\
  18821. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/static/images/search.png ***!
  18822. \*******************************************************************************************************************************/
  18823. /*! no static exports found */
  18824. /***/ (function(module, exports) {
  18825. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae19CZBcx3neO+fY2Qs3SHBxkAQFCaRFMrQkU7JIlFWRzESSo1h0EitVscuOS6lS7DhVdqWcVNFxqmzHlbjKssuOE6UqTsWR6EO+yrEiWyuREs1YoACIBiUKJI7FwQVAANxrrnfl+/pNz868md3Z2Z3deTP7N7DTb/r16+N7733z999//20YEgQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBA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BQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQaABgf8PtPt2mjRdNicAAAAASUVORK5CYII="
  18826. /***/ }),
  18827. /* 197 */,
  18828. /* 198 */,
  18829. /* 199 */,
  18830. /* 200 */,
  18831. /* 201 */,
  18832. /* 202 */,
  18833. /* 203 */,
  18834. /* 204 */,
  18835. /* 205 */,
  18836. /* 206 */,
  18837. /* 207 */
  18838. /*!************************************************************************************************************************!*\
  18839. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/common/js/core.js ***!
  18840. \************************************************************************************************************************/
  18841. /*! no static exports found */
  18842. /***/ (function(module, exports, __webpack_require__) {
  18843. "use strict";
  18844. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18845. Object.defineProperty(exports, "__esModule", {
  18846. value: true
  18847. });
  18848. exports.addDateRange = addDateRange;
  18849. exports.blobValidate = blobValidate;
  18850. exports.dateToString = dateToString;
  18851. exports.handleTree = handleTree;
  18852. exports.mergeRecursive = mergeRecursive;
  18853. exports.parseStrEmpty = parseStrEmpty;
  18854. exports.parseTime = parseTime;
  18855. exports.resetForm = resetForm;
  18856. exports.selectDictLabel = selectDictLabel;
  18857. exports.selectDictLabels = selectDictLabels;
  18858. exports.sprintf = sprintf;
  18859. exports.tansParams = tansParams;
  18860. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  18861. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  18862. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  18863. function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
  18864. function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
  18865. function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
  18866. function dateToString(val) {
  18867. function addZero(num) {
  18868. return num < 10 ? "0" + num : num;
  18869. }
  18870. var date = new Date(val);
  18871. var year = date.getFullYear();
  18872. var month = date.getMonth() + 1;
  18873. var day = date.getDate();
  18874. var hour = date.getHours();
  18875. var min = addZero(date.getMinutes());
  18876. return year + "-" + month + "-" + day + " " + hour + ":" + min;
  18877. }
  18878. /**
  18879. * 通用js方法封装处理
  18880. */
  18881. // 日期格式化
  18882. function parseTime(time, pattern) {
  18883. if (arguments.length === 0 || !time) {
  18884. return null;
  18885. }
  18886. var format = pattern || '{y}-{m}-{d} {h}:{i}:{s}';
  18887. var date;
  18888. if ((0, _typeof2.default)(time) === 'object') {
  18889. date = time;
  18890. } else {
  18891. if (typeof time === 'string' && /^[0-9]+$/.test(time)) {
  18892. time = parseInt(time);
  18893. } else if (typeof time === 'string') {
  18894. time = time.replace(new RegExp(/-/gm), '/').replace('T', ' ').replace(new RegExp(/\.[\d]{3}/gm), '');
  18895. }
  18896. if (typeof time === 'number' && time.toString().length === 10) {
  18897. time = time * 1000;
  18898. }
  18899. date = new Date(time);
  18900. }
  18901. var formatObj = {
  18902. y: date.getFullYear(),
  18903. m: date.getMonth() + 1,
  18904. d: date.getDate(),
  18905. h: date.getHours(),
  18906. i: date.getMinutes(),
  18907. s: date.getSeconds(),
  18908. a: date.getDay()
  18909. };
  18910. var time_str = format.replace(/{(y|m|d|h|i|s|a)+}/g, function (result, key) {
  18911. var value = formatObj[key];
  18912. // Note: getDay() returns 0 on Sunday
  18913. if (key === 'a') {
  18914. return ['日', '一', '二', '三', '四', '五', '六'][value];
  18915. }
  18916. if (result.length > 0 && value < 10) {
  18917. value = '0' + value;
  18918. }
  18919. return value || 0;
  18920. });
  18921. return time_str;
  18922. }
  18923. // 表单重置
  18924. function resetForm(refName) {
  18925. if (this.$refs[refName]) {
  18926. this.$refs[refName].resetFields();
  18927. }
  18928. }
  18929. // 添加日期范围
  18930. function addDateRange(params, dateRange, propName) {
  18931. var search = params;
  18932. search.params = (0, _typeof2.default)(search.params) === 'object' && search.params !== null && !Array.isArray(search.params) ? search.params : {};
  18933. dateRange = Array.isArray(dateRange) ? dateRange : [];
  18934. if (typeof propName === 'undefined') {
  18935. search.params['beginTime'] = dateRange[0];
  18936. search.params['endTime'] = dateRange[1];
  18937. } else {
  18938. search.params['begin' + propName] = dateRange[0];
  18939. search.params['end' + propName] = dateRange[1];
  18940. }
  18941. return search;
  18942. }
  18943. // 回显数据字典
  18944. function selectDictLabel(datas, value) {
  18945. if (value === undefined) {
  18946. return "";
  18947. }
  18948. var actions = [];
  18949. Object.keys(datas).some(function (key) {
  18950. if (datas[key].value == '' + value) {
  18951. actions.push(datas[key].label);
  18952. return true;
  18953. }
  18954. });
  18955. if (actions.length === 0) {
  18956. actions.push(value);
  18957. }
  18958. return actions.join('');
  18959. }
  18960. // 回显数据字典(字符串数组)
  18961. function selectDictLabels(datas, value, separator) {
  18962. if (value === undefined) {
  18963. return "";
  18964. }
  18965. var actions = [];
  18966. var currentSeparator = undefined === separator ? "," : separator;
  18967. var temp = value.split(currentSeparator);
  18968. Object.keys(value.split(currentSeparator)).some(function (val) {
  18969. var match = false;
  18970. Object.keys(datas).some(function (key) {
  18971. if (datas[key].value == '' + temp[val]) {
  18972. actions.push(datas[key].label + currentSeparator);
  18973. match = true;
  18974. }
  18975. });
  18976. if (!match) {
  18977. actions.push(temp[val] + currentSeparator);
  18978. }
  18979. });
  18980. return actions.join('').substring(0, actions.join('').length - 1);
  18981. }
  18982. // 字符串格式化(%s )
  18983. function sprintf(str) {
  18984. var args = arguments,
  18985. flag = true,
  18986. i = 1;
  18987. str = str.replace(/%s/g, function () {
  18988. var arg = args[i++];
  18989. if (typeof arg === 'undefined') {
  18990. flag = false;
  18991. return '';
  18992. }
  18993. return arg;
  18994. });
  18995. return flag ? str : '';
  18996. }
  18997. // 转换字符串,undefined,null等转化为""
  18998. function parseStrEmpty(str) {
  18999. if (!str || str == "undefined" || str == "null") {
  19000. return "";
  19001. }
  19002. return str;
  19003. }
  19004. // 数据合并
  19005. function mergeRecursive(source, target) {
  19006. for (var p in target) {
  19007. try {
  19008. if (target[p].constructor == Object) {
  19009. source[p] = mergeRecursive(source[p], target[p]);
  19010. } else {
  19011. source[p] = target[p];
  19012. }
  19013. } catch (e) {
  19014. source[p] = target[p];
  19015. }
  19016. }
  19017. return source;
  19018. }
  19019. ;
  19020. /**
  19021. * 构造树型结构数据
  19022. * @param {*} data 数据源
  19023. * @param {*} id id字段 默认 'id'
  19024. * @param {*} parentId 父节点字段 默认 'parentId'
  19025. * @param {*} children 孩子节点字段 默认 'children'
  19026. */
  19027. function handleTree(data, id, parentId, children) {
  19028. var config = {
  19029. id: id || 'id',
  19030. parentId: parentId || 'parentId',
  19031. childrenList: children || 'children'
  19032. };
  19033. var childrenListMap = {};
  19034. var nodeIds = {};
  19035. var tree = [];
  19036. var _iterator = _createForOfIteratorHelper(data),
  19037. _step;
  19038. try {
  19039. for (_iterator.s(); !(_step = _iterator.n()).done;) {
  19040. var d = _step.value;
  19041. var _parentId = d[config.parentId];
  19042. if (childrenListMap[_parentId] == null) {
  19043. childrenListMap[_parentId] = [];
  19044. }
  19045. nodeIds[d[config.id]] = d;
  19046. childrenListMap[_parentId].push(d);
  19047. }
  19048. } catch (err) {
  19049. _iterator.e(err);
  19050. } finally {
  19051. _iterator.f();
  19052. }
  19053. var _iterator2 = _createForOfIteratorHelper(data),
  19054. _step2;
  19055. try {
  19056. for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
  19057. var _d = _step2.value;
  19058. var _parentId2 = _d[config.parentId];
  19059. if (nodeIds[_parentId2] == null) {
  19060. tree.push(_d);
  19061. }
  19062. }
  19063. } catch (err) {
  19064. _iterator2.e(err);
  19065. } finally {
  19066. _iterator2.f();
  19067. }
  19068. for (var _i = 0, _tree = tree; _i < _tree.length; _i++) {
  19069. var t = _tree[_i];
  19070. adaptToChildrenList(t);
  19071. }
  19072. function adaptToChildrenList(o) {
  19073. if (childrenListMap[o[config.id]] !== null) {
  19074. o[config.childrenList] = childrenListMap[o[config.id]];
  19075. }
  19076. if (o[config.childrenList]) {
  19077. var _iterator3 = _createForOfIteratorHelper(o[config.childrenList]),
  19078. _step3;
  19079. try {
  19080. for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
  19081. var c = _step3.value;
  19082. adaptToChildrenList(c);
  19083. }
  19084. } catch (err) {
  19085. _iterator3.e(err);
  19086. } finally {
  19087. _iterator3.f();
  19088. }
  19089. }
  19090. }
  19091. return tree;
  19092. }
  19093. /**
  19094. * 参数处理
  19095. * @param {*} params 参数
  19096. */
  19097. function tansParams(params) {
  19098. var result = '';
  19099. for (var _i2 = 0, _Object$keys = Object.keys(params); _i2 < _Object$keys.length; _i2++) {
  19100. var propName = _Object$keys[_i2];
  19101. var value = params[propName];
  19102. var part = encodeURIComponent(propName) + "=";
  19103. if (value !== null && value !== "" && typeof value !== "undefined") {
  19104. if ((0, _typeof2.default)(value) === 'object') {
  19105. for (var _i3 = 0, _Object$keys2 = Object.keys(value); _i3 < _Object$keys2.length; _i3++) {
  19106. var key = _Object$keys2[_i3];
  19107. if (value[key] !== null && value[key] !== "" && typeof value[key] !== 'undefined') {
  19108. var _params = propName + '[' + key + ']';
  19109. var subPart = encodeURIComponent(_params) + "=";
  19110. result += subPart + encodeURIComponent(value[key]) + "&";
  19111. }
  19112. }
  19113. } else {
  19114. result += part + encodeURIComponent(value) + "&";
  19115. }
  19116. }
  19117. }
  19118. return result;
  19119. }
  19120. // 验证是否为blob格式
  19121. function blobValidate(_x) {
  19122. return _blobValidate.apply(this, arguments);
  19123. }
  19124. function _blobValidate() {
  19125. _blobValidate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(data) {
  19126. var text;
  19127. return _regenerator.default.wrap(function _callee$(_context) {
  19128. while (1) {
  19129. switch (_context.prev = _context.next) {
  19130. case 0:
  19131. _context.prev = 0;
  19132. _context.next = 3;
  19133. return data.text();
  19134. case 3:
  19135. text = _context.sent;
  19136. JSON.parse(text);
  19137. return _context.abrupt("return", false);
  19138. case 8:
  19139. _context.prev = 8;
  19140. _context.t0 = _context["catch"](0);
  19141. return _context.abrupt("return", true);
  19142. case 11:
  19143. case "end":
  19144. return _context.stop();
  19145. }
  19146. }
  19147. }, _callee, null, [[0, 8]]);
  19148. }));
  19149. return _blobValidate.apply(this, arguments);
  19150. }
  19151. /***/ }),
  19152. /* 208 */,
  19153. /* 209 */,
  19154. /* 210 */,
  19155. /* 211 */,
  19156. /* 212 */,
  19157. /* 213 */,
  19158. /* 214 */,
  19159. /* 215 */,
  19160. /* 216 */,
  19161. /* 217 */,
  19162. /* 218 */,
  19163. /* 219 */,
  19164. /* 220 */,
  19165. /* 221 */,
  19166. /* 222 */,
  19167. /* 223 */,
  19168. /* 224 */,
  19169. /* 225 */,
  19170. /* 226 */,
  19171. /* 227 */,
  19172. /* 228 */,
  19173. /* 229 */,
  19174. /* 230 */
  19175. /*!********************************************************************************************************************************************!*\
  19176. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/static/images/微信图片_20230411112151.png ***!
  19177. \********************************************************************************************************************************************/
  19178. /*! no static exports found */
  19179. /***/ (function(module, exports) {
  19180. module.exports = "/static/images/微信图片_20230411112151.png";
  19181. /***/ }),
  19182. /* 231 */,
  19183. /* 232 */,
  19184. /* 233 */,
  19185. /* 234 */,
  19186. /* 235 */,
  19187. /* 236 */,
  19188. /* 237 */,
  19189. /* 238 */,
  19190. /* 239 */,
  19191. /* 240 */,
  19192. /* 241 */,
  19193. /* 242 */,
  19194. /* 243 */,
  19195. /* 244 */,
  19196. /* 245 */,
  19197. /* 246 */,
  19198. /* 247 */,
  19199. /* 248 */,
  19200. /* 249 */,
  19201. /* 250 */,
  19202. /* 251 */,
  19203. /* 252 */,
  19204. /* 253 */,
  19205. /* 254 */,
  19206. /* 255 */,
  19207. /* 256 */,
  19208. /* 257 */,
  19209. /* 258 */,
  19210. /* 259 */,
  19211. /* 260 */,
  19212. /* 261 */,
  19213. /* 262 */,
  19214. /* 263 */
  19215. /*!*****************************************************************************************************************************!*\
  19216. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/static/images/list.png ***!
  19217. \*****************************************************************************************************************************/
  19218. /*! no static exports found */
  19219. /***/ (function(module, exports) {
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BEYSo25MO9q+UKrimwtxgkBPICCE1RPT0P1OxATGZSOJC3ucN+crKN0fufRAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAR6FYH/D9s59mr01yO+AAAAAElFTkSuQmCC"
  19221. /***/ }),
  19222. /* 264 */,
  19223. /* 265 */,
  19224. /* 266 */,
  19225. /* 267 */,
  19226. /* 268 */,
  19227. /* 269 */,
  19228. /* 270 */,
  19229. /* 271 */,
  19230. /* 272 */,
  19231. /* 273 */,
  19232. /* 274 */,
  19233. /* 275 */,
  19234. /* 276 */,
  19235. /* 277 */,
  19236. /* 278 */,
  19237. /* 279 */,
  19238. /* 280 */,
  19239. /* 281 */
  19240. /*!*********************************************************************************************************************************************************!*\
  19241. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-search/props.js ***!
  19242. \*********************************************************************************************************************************************************/
  19243. /*! no static exports found */
  19244. /***/ (function(module, exports, __webpack_require__) {
  19245. "use strict";
  19246. /* WEBPACK VAR INJECTION */(function(uni) {
  19247. Object.defineProperty(exports, "__esModule", {
  19248. value: true
  19249. });
  19250. exports.default = void 0;
  19251. var _default = {
  19252. props: {
  19253. // 搜索框形状,round-圆形,square-方形
  19254. shape: {
  19255. type: String,
  19256. default: uni.$u.props.search.shape
  19257. },
  19258. // 搜索框背景色,默认值#f2f2f2
  19259. bgColor: {
  19260. type: String,
  19261. default: uni.$u.props.search.bgColor
  19262. },
  19263. // 占位提示文字
  19264. placeholder: {
  19265. type: String,
  19266. default: uni.$u.props.search.placeholder
  19267. },
  19268. // 是否启用清除控件
  19269. clearabled: {
  19270. type: Boolean,
  19271. default: uni.$u.props.search.clearabled
  19272. },
  19273. // 是否自动聚焦
  19274. focus: {
  19275. type: Boolean,
  19276. default: uni.$u.props.search.focus
  19277. },
  19278. // 是否在搜索框右侧显示取消按钮
  19279. showAction: {
  19280. type: Boolean,
  19281. default: uni.$u.props.search.showAction
  19282. },
  19283. // 右边控件的样式
  19284. actionStyle: {
  19285. type: Object,
  19286. default: uni.$u.props.search.actionStyle
  19287. },
  19288. // 取消按钮文字
  19289. actionText: {
  19290. type: String,
  19291. default: uni.$u.props.search.actionText
  19292. },
  19293. // 输入框内容对齐方式,可选值为 left|center|right
  19294. inputAlign: {
  19295. type: String,
  19296. default: uni.$u.props.search.inputAlign
  19297. },
  19298. // input输入框的样式,可以定义文字颜色,大小等,对象形式
  19299. inputStyle: {
  19300. type: Object,
  19301. default: uni.$u.props.search.inputStyle
  19302. },
  19303. // 是否启用输入框
  19304. disabled: {
  19305. type: Boolean,
  19306. default: uni.$u.props.search.disabled
  19307. },
  19308. // 边框颜色
  19309. borderColor: {
  19310. type: String,
  19311. default: uni.$u.props.search.borderColor
  19312. },
  19313. // 搜索图标的颜色,默认同输入框字体颜色
  19314. searchIconColor: {
  19315. type: String,
  19316. default: uni.$u.props.search.searchIconColor
  19317. },
  19318. // 输入框字体颜色
  19319. color: {
  19320. type: String,
  19321. default: uni.$u.props.search.color
  19322. },
  19323. // placeholder的颜色
  19324. placeholderColor: {
  19325. type: String,
  19326. default: uni.$u.props.search.placeholderColor
  19327. },
  19328. // 左边输入框的图标,可以为uView图标名称或图片路径
  19329. searchIcon: {
  19330. type: String,
  19331. default: uni.$u.props.search.searchIcon
  19332. },
  19333. searchIconSize: {
  19334. type: [Number, String],
  19335. default: uni.$u.props.search.searchIconSize
  19336. },
  19337. // 组件与其他上下左右元素之间的距离,带单位的字符串形式,如"30px"、"30px 20px"等写法
  19338. margin: {
  19339. type: String,
  19340. default: uni.$u.props.search.margin
  19341. },
  19342. // 开启showAction时,是否在input获取焦点时才显示
  19343. animation: {
  19344. type: Boolean,
  19345. default: uni.$u.props.search.animation
  19346. },
  19347. // 输入框的初始化内容
  19348. value: {
  19349. type: String,
  19350. default: uni.$u.props.search.value
  19351. },
  19352. // 输入框最大能输入的长度,-1为不限制长度(来自uniapp文档)
  19353. maxlength: {
  19354. type: [String, Number],
  19355. default: uni.$u.props.search.maxlength
  19356. },
  19357. // 搜索框高度,单位px
  19358. height: {
  19359. type: [String, Number],
  19360. default: uni.$u.props.search.height
  19361. },
  19362. // 搜索框左侧文本
  19363. label: {
  19364. type: [String, Number, null],
  19365. default: uni.$u.props.search.label
  19366. }
  19367. }
  19368. };
  19369. exports.default = _default;
  19370. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19371. /***/ }),
  19372. /* 282 */,
  19373. /* 283 */,
  19374. /* 284 */,
  19375. /* 285 */,
  19376. /* 286 */,
  19377. /* 287 */,
  19378. /* 288 */,
  19379. /* 289 */
  19380. /*!********************************************************************************************************************************************************!*\
  19381. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-input/props.js ***!
  19382. \********************************************************************************************************************************************************/
  19383. /*! no static exports found */
  19384. /***/ (function(module, exports, __webpack_require__) {
  19385. "use strict";
  19386. /* WEBPACK VAR INJECTION */(function(uni) {
  19387. Object.defineProperty(exports, "__esModule", {
  19388. value: true
  19389. });
  19390. exports.default = void 0;
  19391. var _default = {
  19392. props: {
  19393. // 输入的值
  19394. value: {
  19395. type: [String, Number],
  19396. default: uni.$u.props.input.value
  19397. },
  19398. // 输入框类型
  19399. // number-数字输入键盘,app-vue下可以输入浮点数,app-nvue和小程序平台下只能输入整数
  19400. // idcard-身份证输入键盘,微信、支付宝、百度、QQ小程序
  19401. // digit-带小数点的数字键盘,App的nvue页面、微信、支付宝、百度、头条、QQ小程序
  19402. // text-文本输入键盘
  19403. type: {
  19404. type: String,
  19405. default: uni.$u.props.input.type
  19406. },
  19407. // 如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true,
  19408. // 兼容性:微信小程序、百度小程序、字节跳动小程序、QQ小程序
  19409. fixed: {
  19410. type: Boolean,
  19411. default: uni.$u.props.input.fixed
  19412. },
  19413. // 是否禁用输入框
  19414. disabled: {
  19415. type: Boolean,
  19416. default: uni.$u.props.input.disabled
  19417. },
  19418. // 禁用状态时的背景色
  19419. disabledColor: {
  19420. type: String,
  19421. default: uni.$u.props.input.disabledColor
  19422. },
  19423. // 是否显示清除控件
  19424. clearable: {
  19425. type: Boolean,
  19426. default: uni.$u.props.input.clearable
  19427. },
  19428. // 是否密码类型
  19429. password: {
  19430. type: Boolean,
  19431. default: uni.$u.props.input.password
  19432. },
  19433. // 最大输入长度,设置为 -1 的时候不限制最大长度
  19434. maxlength: {
  19435. type: [String, Number],
  19436. default: uni.$u.props.input.maxlength
  19437. },
  19438. // 输入框为空时的占位符
  19439. placeholder: {
  19440. type: String,
  19441. default: uni.$u.props.input.placeholder
  19442. },
  19443. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  19444. placeholderClass: {
  19445. type: String,
  19446. default: uni.$u.props.input.placeholderClass
  19447. },
  19448. // 指定placeholder的样式
  19449. placeholderStyle: {
  19450. type: [String, Object],
  19451. default: uni.$u.props.input.placeholderStyle
  19452. },
  19453. // 是否显示输入字数统计,只在 type ="text"或type ="textarea"时有效
  19454. showWordLimit: {
  19455. type: Boolean,
  19456. default: uni.$u.props.input.showWordLimit
  19457. },
  19458. // 设置右下角按钮的文字,有效值:send|search|next|go|done,兼容性详见uni-app文档
  19459. // https://uniapp.dcloud.io/component/input
  19460. // https://uniapp.dcloud.io/component/textarea
  19461. confirmType: {
  19462. type: String,
  19463. default: uni.$u.props.input.confirmType
  19464. },
  19465. // 点击键盘右下角按钮时是否保持键盘不收起,H5无效
  19466. confirmHold: {
  19467. type: Boolean,
  19468. default: uni.$u.props.input.confirmHold
  19469. },
  19470. // focus时,点击页面的时候不收起键盘,微信小程序有效
  19471. holdKeyboard: {
  19472. type: Boolean,
  19473. default: uni.$u.props.input.holdKeyboard
  19474. },
  19475. // 自动获取焦点
  19476. // 在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。nvue 页面不支持,需使用组件的 focus()、blur() 方法控制焦点
  19477. focus: {
  19478. type: Boolean,
  19479. default: uni.$u.props.input.focus
  19480. },
  19481. // 键盘收起时,是否自动失去焦点,目前仅App3.0.0+有效
  19482. autoBlur: {
  19483. type: Boolean,
  19484. default: uni.$u.props.input.autoBlur
  19485. },
  19486. // 是否去掉 iOS 下的默认内边距,仅微信小程序,且type=textarea时有效
  19487. disableDefaultPadding: {
  19488. type: Boolean,
  19489. default: uni.$u.props.input.disableDefaultPadding
  19490. },
  19491. // 指定focus时光标的位置
  19492. cursor: {
  19493. type: [String, Number],
  19494. default: uni.$u.props.input.cursor
  19495. },
  19496. // 输入框聚焦时底部与键盘的距离
  19497. cursorSpacing: {
  19498. type: [String, Number],
  19499. default: uni.$u.props.input.cursorSpacing
  19500. },
  19501. // 光标起始位置,自动聚集时有效,需与selection-end搭配使用
  19502. selectionStart: {
  19503. type: [String, Number],
  19504. default: uni.$u.props.input.selectionStart
  19505. },
  19506. // 光标结束位置,自动聚集时有效,需与selection-start搭配使用
  19507. selectionEnd: {
  19508. type: [String, Number],
  19509. default: uni.$u.props.input.selectionEnd
  19510. },
  19511. // 键盘弹起时,是否自动上推页面
  19512. adjustPosition: {
  19513. type: Boolean,
  19514. default: uni.$u.props.input.adjustPosition
  19515. },
  19516. // 输入框内容对齐方式,可选值为:left|center|right
  19517. inputAlign: {
  19518. type: String,
  19519. default: uni.$u.props.input.inputAlign
  19520. },
  19521. // 输入框字体的大小
  19522. fontSize: {
  19523. type: [String, Number],
  19524. default: uni.$u.props.input.fontSize
  19525. },
  19526. // 输入框字体颜色
  19527. color: {
  19528. type: String,
  19529. default: uni.$u.props.input.color
  19530. },
  19531. // 输入框前置图标
  19532. prefixIcon: {
  19533. type: String,
  19534. default: uni.$u.props.input.prefixIcon
  19535. },
  19536. // 前置图标样式,对象或字符串
  19537. prefixIconStyle: {
  19538. type: [String, Object],
  19539. default: uni.$u.props.input.prefixIconStyle
  19540. },
  19541. // 输入框后置图标
  19542. suffixIcon: {
  19543. type: String,
  19544. default: uni.$u.props.input.suffixIcon
  19545. },
  19546. // 后置图标样式,对象或字符串
  19547. suffixIconStyle: {
  19548. type: [String, Object],
  19549. default: uni.$u.props.input.suffixIconStyle
  19550. },
  19551. // 边框类型,surround-四周边框,bottom-底部边框,none-无边框
  19552. border: {
  19553. type: String,
  19554. default: uni.$u.props.input.border
  19555. },
  19556. // 是否只读,与disabled不同之处在于disabled会置灰组件,而readonly则不会
  19557. readonly: {
  19558. type: Boolean,
  19559. default: uni.$u.props.input.readonly
  19560. },
  19561. // 输入框形状,circle-圆形,square-方形
  19562. shape: {
  19563. type: String,
  19564. default: uni.$u.props.input.shape
  19565. },
  19566. // 用于处理或者过滤输入框内容的方法
  19567. formatter: {
  19568. type: [Function, null],
  19569. default: uni.$u.props.input.formatter
  19570. },
  19571. // 是否忽略组件内对文本合成系统事件的处理
  19572. ignoreCompositionEvent: {
  19573. type: Boolean,
  19574. default: true
  19575. }
  19576. }
  19577. };
  19578. exports.default = _default;
  19579. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19580. /***/ }),
  19581. /* 290 */,
  19582. /* 291 */,
  19583. /* 292 */,
  19584. /* 293 */,
  19585. /* 294 */,
  19586. /* 295 */,
  19587. /* 296 */,
  19588. /* 297 */,
  19589. /* 298 */,
  19590. /* 299 */,
  19591. /* 300 */,
  19592. /* 301 */,
  19593. /* 302 */
  19594. /*!********************************************************************************************************************************************************!*\
  19595. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-empty/props.js ***!
  19596. \********************************************************************************************************************************************************/
  19597. /*! no static exports found */
  19598. /***/ (function(module, exports, __webpack_require__) {
  19599. "use strict";
  19600. /* WEBPACK VAR INJECTION */(function(uni) {
  19601. Object.defineProperty(exports, "__esModule", {
  19602. value: true
  19603. });
  19604. exports.default = void 0;
  19605. var _default = {
  19606. props: {
  19607. // 内置图标名称,或图片路径,建议绝对路径
  19608. icon: {
  19609. type: String,
  19610. default: uni.$u.props.empty.icon
  19611. },
  19612. // 提示文字
  19613. text: {
  19614. type: String,
  19615. default: uni.$u.props.empty.text
  19616. },
  19617. // 文字颜色
  19618. textColor: {
  19619. type: String,
  19620. default: uni.$u.props.empty.textColor
  19621. },
  19622. // 文字大小
  19623. textSize: {
  19624. type: [String, Number],
  19625. default: uni.$u.props.empty.textSize
  19626. },
  19627. // 图标的颜色
  19628. iconColor: {
  19629. type: String,
  19630. default: uni.$u.props.empty.iconColor
  19631. },
  19632. // 图标的大小
  19633. iconSize: {
  19634. type: [String, Number],
  19635. default: uni.$u.props.empty.iconSize
  19636. },
  19637. // 选择预置的图标类型
  19638. mode: {
  19639. type: String,
  19640. default: uni.$u.props.empty.mode
  19641. },
  19642. // 图标宽度,单位px
  19643. width: {
  19644. type: [String, Number],
  19645. default: uni.$u.props.empty.width
  19646. },
  19647. // 图标高度,单位px
  19648. height: {
  19649. type: [String, Number],
  19650. default: uni.$u.props.empty.height
  19651. },
  19652. // 是否显示组件
  19653. show: {
  19654. type: Boolean,
  19655. default: uni.$u.props.empty.show
  19656. },
  19657. // 组件距离上一个元素之间的距离,默认px单位
  19658. marginTop: {
  19659. type: [String, Number],
  19660. default: uni.$u.props.empty.marginTop
  19661. }
  19662. }
  19663. };
  19664. exports.default = _default;
  19665. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19666. /***/ }),
  19667. /* 303 */,
  19668. /* 304 */,
  19669. /* 305 */,
  19670. /* 306 */,
  19671. /* 307 */,
  19672. /* 308 */,
  19673. /* 309 */,
  19674. /* 310 */
  19675. /*!*************************************************************************************************************************************************************!*\
  19676. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-cell-group/props.js ***!
  19677. \*************************************************************************************************************************************************************/
  19678. /*! no static exports found */
  19679. /***/ (function(module, exports, __webpack_require__) {
  19680. "use strict";
  19681. /* WEBPACK VAR INJECTION */(function(uni) {
  19682. Object.defineProperty(exports, "__esModule", {
  19683. value: true
  19684. });
  19685. exports.default = void 0;
  19686. var _default = {
  19687. props: {
  19688. // 分组标题
  19689. title: {
  19690. type: String,
  19691. default: uni.$u.props.cellGroup.title
  19692. },
  19693. // 是否显示外边框
  19694. border: {
  19695. type: Boolean,
  19696. default: uni.$u.props.cellGroup.border
  19697. }
  19698. }
  19699. };
  19700. exports.default = _default;
  19701. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19702. /***/ }),
  19703. /* 311 */,
  19704. /* 312 */,
  19705. /* 313 */,
  19706. /* 314 */,
  19707. /* 315 */,
  19708. /* 316 */,
  19709. /* 317 */,
  19710. /* 318 */
  19711. /*!*******************************************************************************************************************************************************!*\
  19712. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-cell/props.js ***!
  19713. \*******************************************************************************************************************************************************/
  19714. /*! no static exports found */
  19715. /***/ (function(module, exports, __webpack_require__) {
  19716. "use strict";
  19717. /* WEBPACK VAR INJECTION */(function(uni) {
  19718. Object.defineProperty(exports, "__esModule", {
  19719. value: true
  19720. });
  19721. exports.default = void 0;
  19722. var _default2 = {
  19723. props: {
  19724. // 标题
  19725. title: {
  19726. type: [String, Number],
  19727. default: uni.$u.props.cell.title
  19728. },
  19729. // 标题下方的描述信息
  19730. label: {
  19731. type: [String, Number],
  19732. default: uni.$u.props.cell.label
  19733. },
  19734. // 右侧的内容
  19735. value: {
  19736. type: [String, Number],
  19737. default: uni.$u.props.cell.value
  19738. },
  19739. // 左侧图标名称,或者图片链接(本地文件建议使用绝对地址)
  19740. icon: {
  19741. type: String,
  19742. default: uni.$u.props.cell.icon
  19743. },
  19744. // 是否禁用cell
  19745. disabled: {
  19746. type: Boolean,
  19747. default: uni.$u.props.cell.disabled
  19748. },
  19749. // 是否显示下边框
  19750. border: {
  19751. type: Boolean,
  19752. default: uni.$u.props.cell.border
  19753. },
  19754. // 内容是否垂直居中(主要是针对右侧的value部分)
  19755. center: {
  19756. type: Boolean,
  19757. default: uni.$u.props.cell.center
  19758. },
  19759. // 点击后跳转的URL地址
  19760. url: {
  19761. type: String,
  19762. default: uni.$u.props.cell.url
  19763. },
  19764. // 链接跳转的方式,内部使用的是uView封装的route方法,可能会进行拦截操作
  19765. linkType: {
  19766. type: String,
  19767. default: uni.$u.props.cell.linkType
  19768. },
  19769. // 是否开启点击反馈(表现为点击时加上灰色背景)
  19770. clickable: {
  19771. type: Boolean,
  19772. default: uni.$u.props.cell.clickable
  19773. },
  19774. // 是否展示右侧箭头并开启点击反馈
  19775. isLink: {
  19776. type: Boolean,
  19777. default: uni.$u.props.cell.isLink
  19778. },
  19779. // 是否显示表单状态下的必填星号(此组件可能会内嵌入input组件)
  19780. required: {
  19781. type: Boolean,
  19782. default: uni.$u.props.cell.required
  19783. },
  19784. // 右侧的图标箭头
  19785. rightIcon: {
  19786. type: String,
  19787. default: uni.$u.props.cell.rightIcon
  19788. },
  19789. // 右侧箭头的方向,可选值为:left,up,down
  19790. arrowDirection: {
  19791. type: String,
  19792. default: uni.$u.props.cell.arrowDirection
  19793. },
  19794. // 左侧图标样式
  19795. iconStyle: {
  19796. type: [Object, String],
  19797. default: function _default() {
  19798. return uni.$u.props.cell.iconStyle;
  19799. }
  19800. },
  19801. // 右侧箭头图标的样式
  19802. rightIconStyle: {
  19803. type: [Object, String],
  19804. default: function _default() {
  19805. return uni.$u.props.cell.rightIconStyle;
  19806. }
  19807. },
  19808. // 标题的样式
  19809. titleStyle: {
  19810. type: [Object, String],
  19811. default: function _default() {
  19812. return uni.$u.props.cell.titleStyle;
  19813. }
  19814. },
  19815. // 单位元的大小,可选值为large
  19816. size: {
  19817. type: String,
  19818. default: uni.$u.props.cell.size
  19819. },
  19820. // 点击cell是否阻止事件传播
  19821. stop: {
  19822. type: Boolean,
  19823. default: uni.$u.props.cell.stop
  19824. },
  19825. // 标识符,cell被点击时返回
  19826. name: {
  19827. type: [Number, String],
  19828. default: uni.$u.props.cell.name
  19829. }
  19830. }
  19831. };
  19832. exports.default = _default2;
  19833. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19834. /***/ }),
  19835. /* 319 */,
  19836. /* 320 */,
  19837. /* 321 */,
  19838. /* 322 */,
  19839. /* 323 */,
  19840. /* 324 */,
  19841. /* 325 */,
  19842. /* 326 */
  19843. /*!*******************************************************************************************************************************************************!*\
  19844. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-form/props.js ***!
  19845. \*******************************************************************************************************************************************************/
  19846. /*! no static exports found */
  19847. /***/ (function(module, exports, __webpack_require__) {
  19848. "use strict";
  19849. /* WEBPACK VAR INJECTION */(function(uni) {
  19850. Object.defineProperty(exports, "__esModule", {
  19851. value: true
  19852. });
  19853. exports.default = void 0;
  19854. var _default = {
  19855. props: {
  19856. // 当前form的需要验证字段的集合
  19857. model: {
  19858. type: Object,
  19859. default: uni.$u.props.form.model
  19860. },
  19861. // 验证规则
  19862. rules: {
  19863. type: [Object, Function, Array],
  19864. default: uni.$u.props.form.rules
  19865. },
  19866. // 有错误时的提示方式,message-提示信息,toast-进行toast提示
  19867. // border-bottom-下边框呈现红色,none-无提示
  19868. errorType: {
  19869. type: String,
  19870. default: uni.$u.props.form.errorType
  19871. },
  19872. // 是否显示表单域的下划线边框
  19873. borderBottom: {
  19874. type: Boolean,
  19875. default: uni.$u.props.form.borderBottom
  19876. },
  19877. // label的位置,left-左边,top-上边
  19878. labelPosition: {
  19879. type: String,
  19880. default: uni.$u.props.form.labelPosition
  19881. },
  19882. // label的宽度,单位px
  19883. labelWidth: {
  19884. type: [String, Number],
  19885. default: uni.$u.props.form.labelWidth
  19886. },
  19887. // lable字体的对齐方式
  19888. labelAlign: {
  19889. type: String,
  19890. default: uni.$u.props.form.labelAlign
  19891. },
  19892. // lable的样式,对象形式
  19893. labelStyle: {
  19894. type: Object,
  19895. default: uni.$u.props.form.labelStyle
  19896. }
  19897. }
  19898. };
  19899. exports.default = _default;
  19900. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19901. /***/ }),
  19902. /* 327 */,
  19903. /* 328 */,
  19904. /* 329 */,
  19905. /* 330 */,
  19906. /* 331 */,
  19907. /* 332 */
  19908. /*!************************************************************************************************************************************************************!*\
  19909. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-form-item/props.js ***!
  19910. \************************************************************************************************************************************************************/
  19911. /*! no static exports found */
  19912. /***/ (function(module, exports, __webpack_require__) {
  19913. "use strict";
  19914. /* WEBPACK VAR INJECTION */(function(uni) {
  19915. Object.defineProperty(exports, "__esModule", {
  19916. value: true
  19917. });
  19918. exports.default = void 0;
  19919. var _default = {
  19920. props: {
  19921. // input的label提示语
  19922. label: {
  19923. type: String,
  19924. default: uni.$u.props.formItem.label
  19925. },
  19926. // 绑定的值
  19927. prop: {
  19928. type: String,
  19929. default: uni.$u.props.formItem.prop
  19930. },
  19931. // 是否显示表单域的下划线边框
  19932. borderBottom: {
  19933. type: [String, Boolean],
  19934. default: uni.$u.props.formItem.borderBottom
  19935. },
  19936. // label的位置,left-左边,top-上边
  19937. labelPosition: {
  19938. type: String,
  19939. default: uni.$u.props.formItem.labelPosition
  19940. },
  19941. // label的宽度,单位px
  19942. labelWidth: {
  19943. type: [String, Number],
  19944. default: uni.$u.props.formItem.labelWidth
  19945. },
  19946. // 右侧图标
  19947. rightIcon: {
  19948. type: String,
  19949. default: uni.$u.props.formItem.rightIcon
  19950. },
  19951. // 左侧图标
  19952. leftIcon: {
  19953. type: String,
  19954. default: uni.$u.props.formItem.leftIcon
  19955. },
  19956. // 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置
  19957. required: {
  19958. type: Boolean,
  19959. default: uni.$u.props.formItem.required
  19960. },
  19961. leftIconStyle: {
  19962. type: [String, Object],
  19963. default: uni.$u.props.formItem.leftIconStyle
  19964. }
  19965. }
  19966. };
  19967. exports.default = _default;
  19968. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19969. /***/ }),
  19970. /* 333 */,
  19971. /* 334 */,
  19972. /* 335 */,
  19973. /* 336 */,
  19974. /* 337 */,
  19975. /* 338 */,
  19976. /* 339 */,
  19977. /* 340 */
  19978. /*!*********************************************************************************************************************************************************!*\
  19979. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-picker/props.js ***!
  19980. \*********************************************************************************************************************************************************/
  19981. /*! no static exports found */
  19982. /***/ (function(module, exports, __webpack_require__) {
  19983. "use strict";
  19984. /* WEBPACK VAR INJECTION */(function(uni) {
  19985. Object.defineProperty(exports, "__esModule", {
  19986. value: true
  19987. });
  19988. exports.default = void 0;
  19989. var _default = {
  19990. props: {
  19991. // 是否展示picker弹窗
  19992. show: {
  19993. type: Boolean,
  19994. default: uni.$u.props.picker.show
  19995. },
  19996. // 是否展示顶部的操作栏
  19997. showToolbar: {
  19998. type: Boolean,
  19999. default: uni.$u.props.picker.showToolbar
  20000. },
  20001. // 顶部标题
  20002. title: {
  20003. type: String,
  20004. default: uni.$u.props.picker.title
  20005. },
  20006. // 对象数组,设置每一列的数据
  20007. columns: {
  20008. type: Array,
  20009. default: uni.$u.props.picker.columns
  20010. },
  20011. // 是否显示加载中状态
  20012. loading: {
  20013. type: Boolean,
  20014. default: uni.$u.props.picker.loading
  20015. },
  20016. // 各列中,单个选项的高度
  20017. itemHeight: {
  20018. type: [String, Number],
  20019. default: uni.$u.props.picker.itemHeight
  20020. },
  20021. // 取消按钮的文字
  20022. cancelText: {
  20023. type: String,
  20024. default: uni.$u.props.picker.cancelText
  20025. },
  20026. // 确认按钮的文字
  20027. confirmText: {
  20028. type: String,
  20029. default: uni.$u.props.picker.confirmText
  20030. },
  20031. // 取消按钮的颜色
  20032. cancelColor: {
  20033. type: String,
  20034. default: uni.$u.props.picker.cancelColor
  20035. },
  20036. // 确认按钮的颜色
  20037. confirmColor: {
  20038. type: String,
  20039. default: uni.$u.props.picker.confirmColor
  20040. },
  20041. // 每列中可见选项的数量
  20042. visibleItemCount: {
  20043. type: [String, Number],
  20044. default: uni.$u.props.picker.visibleItemCount
  20045. },
  20046. // 选项对象中,需要展示的属性键名
  20047. keyName: {
  20048. type: String,
  20049. default: uni.$u.props.picker.keyName
  20050. },
  20051. // 是否允许点击遮罩关闭选择器
  20052. closeOnClickOverlay: {
  20053. type: Boolean,
  20054. default: uni.$u.props.picker.closeOnClickOverlay
  20055. },
  20056. // 各列的默认索引
  20057. defaultIndex: {
  20058. type: Array,
  20059. default: uni.$u.props.picker.defaultIndex
  20060. },
  20061. // 是否在手指松开时立即触发 change 事件。若不开启则会在滚动动画结束后触发 change 事件,只在微信2.21.1及以上有效
  20062. immediateChange: {
  20063. type: Boolean,
  20064. default: uni.$u.props.picker.immediateChange
  20065. }
  20066. }
  20067. };
  20068. exports.default = _default;
  20069. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20070. /***/ }),
  20071. /* 341 */,
  20072. /* 342 */,
  20073. /* 343 */,
  20074. /* 344 */,
  20075. /* 345 */,
  20076. /* 346 */,
  20077. /* 347 */,
  20078. /* 348 */
  20079. /*!******************************************************************************************************************************************************************!*\
  20080. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-datetime-picker/props.js ***!
  20081. \******************************************************************************************************************************************************************/
  20082. /*! no static exports found */
  20083. /***/ (function(module, exports, __webpack_require__) {
  20084. "use strict";
  20085. /* WEBPACK VAR INJECTION */(function(uni) {
  20086. Object.defineProperty(exports, "__esModule", {
  20087. value: true
  20088. });
  20089. exports.default = void 0;
  20090. var _default = {
  20091. props: {
  20092. // 是否打开组件
  20093. show: {
  20094. type: Boolean,
  20095. default: uni.$u.props.datetimePicker.show
  20096. },
  20097. // 是否展示顶部的操作栏
  20098. showToolbar: {
  20099. type: Boolean,
  20100. default: uni.$u.props.datetimePicker.showToolbar
  20101. },
  20102. // 绑定值
  20103. value: {
  20104. type: [String, Number],
  20105. default: uni.$u.props.datetimePicker.value
  20106. },
  20107. // 顶部标题
  20108. title: {
  20109. type: String,
  20110. default: uni.$u.props.datetimePicker.title
  20111. },
  20112. // 展示格式,mode=date为日期选择,mode=time为时间选择,mode=year-month为年月选择,mode=datetime为日期时间选择
  20113. mode: {
  20114. type: String,
  20115. default: uni.$u.props.datetimePicker.mode
  20116. },
  20117. // 可选的最大时间
  20118. maxDate: {
  20119. type: Number,
  20120. // 最大默认值为后10年
  20121. default: uni.$u.props.datetimePicker.maxDate
  20122. },
  20123. // 可选的最小时间
  20124. minDate: {
  20125. type: Number,
  20126. // 最小默认值为前10年
  20127. default: uni.$u.props.datetimePicker.minDate
  20128. },
  20129. // 可选的最小小时,仅mode=time有效
  20130. minHour: {
  20131. type: Number,
  20132. default: uni.$u.props.datetimePicker.minHour
  20133. },
  20134. // 可选的最大小时,仅mode=time有效
  20135. maxHour: {
  20136. type: Number,
  20137. default: uni.$u.props.datetimePicker.maxHour
  20138. },
  20139. // 可选的最小分钟,仅mode=time有效
  20140. minMinute: {
  20141. type: Number,
  20142. default: uni.$u.props.datetimePicker.minMinute
  20143. },
  20144. // 可选的最大分钟,仅mode=time有效
  20145. maxMinute: {
  20146. type: Number,
  20147. default: uni.$u.props.datetimePicker.maxMinute
  20148. },
  20149. // 选项过滤函数
  20150. filter: {
  20151. type: [Function, null],
  20152. default: uni.$u.props.datetimePicker.filter
  20153. },
  20154. // 选项格式化函数
  20155. formatter: {
  20156. type: [Function, null],
  20157. default: uni.$u.props.datetimePicker.formatter
  20158. },
  20159. // 是否显示加载中状态
  20160. loading: {
  20161. type: Boolean,
  20162. default: uni.$u.props.datetimePicker.loading
  20163. },
  20164. // 各列中,单个选项的高度
  20165. itemHeight: {
  20166. type: [String, Number],
  20167. default: uni.$u.props.datetimePicker.itemHeight
  20168. },
  20169. // 取消按钮的文字
  20170. cancelText: {
  20171. type: String,
  20172. default: uni.$u.props.datetimePicker.cancelText
  20173. },
  20174. // 确认按钮的文字
  20175. confirmText: {
  20176. type: String,
  20177. default: uni.$u.props.datetimePicker.confirmText
  20178. },
  20179. // 取消按钮的颜色
  20180. cancelColor: {
  20181. type: String,
  20182. default: uni.$u.props.datetimePicker.cancelColor
  20183. },
  20184. // 确认按钮的颜色
  20185. confirmColor: {
  20186. type: String,
  20187. default: uni.$u.props.datetimePicker.confirmColor
  20188. },
  20189. // 每列中可见选项的数量
  20190. visibleItemCount: {
  20191. type: [String, Number],
  20192. default: uni.$u.props.datetimePicker.visibleItemCount
  20193. },
  20194. // 是否允许点击遮罩关闭选择器
  20195. closeOnClickOverlay: {
  20196. type: Boolean,
  20197. default: uni.$u.props.datetimePicker.closeOnClickOverlay
  20198. },
  20199. // 各列的默认索引
  20200. defaultIndex: {
  20201. type: Array,
  20202. default: uni.$u.props.datetimePicker.defaultIndex
  20203. }
  20204. }
  20205. };
  20206. exports.default = _default;
  20207. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20208. /***/ }),
  20209. /* 349 */
  20210. /*!***********************************************************************************************************************************************!*\
  20211. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/util/dayjs.js ***!
  20212. \***********************************************************************************************************************************************/
  20213. /*! no static exports found */
  20214. /***/ (function(module, exports, __webpack_require__) {
  20215. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20216. !function (t, e) {
  20217. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = e() : true ? !(__WEBPACK_AMD_DEFINE_FACTORY__ = (e),
  20218. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20219. (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
  20220. __WEBPACK_AMD_DEFINE_FACTORY__),
  20221. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20222. }(this, function () {
  20223. 'use strict';
  20224. var t = 'millisecond';
  20225. var e = 'second';
  20226. var n = 'minute';
  20227. var r = 'hour';
  20228. var i = 'day';
  20229. var s = 'week';
  20230. var u = 'month';
  20231. var a = 'quarter';
  20232. var o = 'year';
  20233. var f = 'date';
  20234. var h = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/;
  20235. var c = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
  20236. var d = {
  20237. name: 'en',
  20238. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  20239. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_')
  20240. };
  20241. var $ = function $(t, e, n) {
  20242. var r = String(t);
  20243. return !r || r.length >= e ? t : "".concat(Array(e + 1 - r.length).join(n)).concat(t);
  20244. };
  20245. var l = {
  20246. s: $,
  20247. z: function z(t) {
  20248. var e = -t.utcOffset();
  20249. var n = Math.abs(e);
  20250. var r = Math.floor(n / 60);
  20251. var i = n % 60;
  20252. return "".concat((e <= 0 ? '+' : '-') + $(r, 2, '0'), ":").concat($(i, 2, '0'));
  20253. },
  20254. m: function t(e, n) {
  20255. if (e.date() < n.date()) return -t(n, e);
  20256. var r = 12 * (n.year() - e.year()) + (n.month() - e.month());
  20257. var i = e.clone().add(r, u);
  20258. var s = n - i < 0;
  20259. var a = e.clone().add(r + (s ? -1 : 1), u);
  20260. return +(-(r + (n - i) / (s ? i - a : a - i)) || 0);
  20261. },
  20262. a: function a(t) {
  20263. return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
  20264. },
  20265. p: function p(h) {
  20266. return {
  20267. M: u,
  20268. y: o,
  20269. w: s,
  20270. d: i,
  20271. D: f,
  20272. h: r,
  20273. m: n,
  20274. s: e,
  20275. ms: t,
  20276. Q: a
  20277. }[h] || String(h || '').toLowerCase().replace(/s$/, '');
  20278. },
  20279. u: function u(t) {
  20280. return void 0 === t;
  20281. }
  20282. };
  20283. var y = 'en';
  20284. var M = {};
  20285. M[y] = d;
  20286. var m = function m(t) {
  20287. return t instanceof S;
  20288. };
  20289. var D = function D(t, e, n) {
  20290. var r;
  20291. if (!t) return y;
  20292. if (typeof t === 'string') M[t] && (r = t), e && (M[t] = e, r = t);else {
  20293. var _i = t.name;
  20294. M[_i] = t, r = _i;
  20295. }
  20296. return !n && r && (y = r), r || !n && y;
  20297. };
  20298. var v = function v(t, e) {
  20299. if (m(t)) return t.clone();
  20300. var n = _typeof(e) === 'object' ? e : {};
  20301. return n.date = t, n.args = arguments, new S(n);
  20302. };
  20303. var g = l;
  20304. g.l = D, g.i = m, g.w = function (t, e) {
  20305. return v(t, {
  20306. locale: e.$L,
  20307. utc: e.$u,
  20308. x: e.$x,
  20309. $offset: e.$offset
  20310. });
  20311. };
  20312. var S = function () {
  20313. function d(t) {
  20314. this.$L = D(t.locale, null, !0), this.parse(t);
  20315. }
  20316. var $ = d.prototype;
  20317. return $.parse = function (t) {
  20318. this.$d = function (t) {
  20319. var e = t.date;
  20320. var n = t.utc;
  20321. if (e === null) return new Date(NaN);
  20322. if (g.u(e)) return new Date();
  20323. if (e instanceof Date) return new Date(e);
  20324. if (typeof e === 'string' && !/Z$/i.test(e)) {
  20325. var _r = e.match(h);
  20326. if (_r) {
  20327. var _i2 = _r[2] - 1 || 0;
  20328. var _s = (_r[7] || '0').substring(0, 3);
  20329. return n ? new Date(Date.UTC(_r[1], _i2, _r[3] || 1, _r[4] || 0, _r[5] || 0, _r[6] || 0, _s)) : new Date(_r[1], _i2, _r[3] || 1, _r[4] || 0, _r[5] || 0, _r[6] || 0, _s);
  20330. }
  20331. }
  20332. return new Date(e);
  20333. }(t), this.$x = t.x || {}, this.init();
  20334. }, $.init = function () {
  20335. var t = this.$d;
  20336. this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
  20337. }, $.$utils = function () {
  20338. return g;
  20339. }, $.isValid = function () {
  20340. return !(this.$d.toString() === 'Invalid Date');
  20341. }, $.isSame = function (t, e) {
  20342. var n = v(t);
  20343. return this.startOf(e) <= n && n <= this.endOf(e);
  20344. }, $.isAfter = function (t, e) {
  20345. return v(t) < this.startOf(e);
  20346. }, $.isBefore = function (t, e) {
  20347. return this.endOf(e) < v(t);
  20348. }, $.$g = function (t, e, n) {
  20349. return g.u(t) ? this[e] : this.set(n, t);
  20350. }, $.unix = function () {
  20351. return Math.floor(this.valueOf() / 1e3);
  20352. }, $.valueOf = function () {
  20353. return this.$d.getTime();
  20354. }, $.startOf = function (t, a) {
  20355. var h = this;
  20356. var c = !!g.u(a) || a;
  20357. var d = g.p(t);
  20358. var $ = function $(t, e) {
  20359. var n = g.w(h.$u ? Date.UTC(h.$y, e, t) : new Date(h.$y, e, t), h);
  20360. return c ? n : n.endOf(i);
  20361. };
  20362. var l = function l(t, e) {
  20363. return g.w(h.toDate()[t].apply(h.toDate('s'), (c ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), h);
  20364. };
  20365. var y = this.$W;
  20366. var M = this.$M;
  20367. var m = this.$D;
  20368. var D = "set".concat(this.$u ? 'UTC' : '');
  20369. switch (d) {
  20370. case o:
  20371. return c ? $(1, 0) : $(31, 11);
  20372. case u:
  20373. return c ? $(1, M) : $(0, M + 1);
  20374. case s:
  20375. var v = this.$locale().weekStart || 0;
  20376. var S = (y < v ? y + 7 : y) - v;
  20377. return $(c ? m - S : m + (6 - S), M);
  20378. case i:
  20379. case f:
  20380. return l("".concat(D, "Hours"), 0);
  20381. case r:
  20382. return l("".concat(D, "Minutes"), 1);
  20383. case n:
  20384. return l("".concat(D, "Seconds"), 2);
  20385. case e:
  20386. return l("".concat(D, "Milliseconds"), 3);
  20387. default:
  20388. return this.clone();
  20389. }
  20390. }, $.endOf = function (t) {
  20391. return this.startOf(t, !1);
  20392. }, $.$set = function (s, a) {
  20393. var h;
  20394. var c = g.p(s);
  20395. var d = "set".concat(this.$u ? 'UTC' : '');
  20396. var $ = (h = {}, h[i] = "".concat(d, "Date"), h[f] = "".concat(d, "Date"), h[u] = "".concat(d, "Month"), h[o] = "".concat(d, "FullYear"), h[r] = "".concat(d, "Hours"), h[n] = "".concat(d, "Minutes"), h[e] = "".concat(d, "Seconds"), h[t] = "".concat(d, "Milliseconds"), h)[c];
  20397. var l = c === i ? this.$D + (a - this.$W) : a;
  20398. if (c === u || c === o) {
  20399. var _y = this.clone().set(f, 1);
  20400. _y.$d[$](l), _y.init(), this.$d = _y.set(f, Math.min(this.$D, _y.daysInMonth())).$d;
  20401. } else $ && this.$d[$](l);
  20402. return this.init(), this;
  20403. }, $.set = function (t, e) {
  20404. return this.clone().$set(t, e);
  20405. }, $.get = function (t) {
  20406. return this[g.p(t)]();
  20407. }, $.add = function (t, a) {
  20408. var f;
  20409. var h = this;
  20410. t = Number(t);
  20411. var c = g.p(a);
  20412. var d = function d(e) {
  20413. var n = v(h);
  20414. return g.w(n.date(n.date() + Math.round(e * t)), h);
  20415. };
  20416. if (c === u) return this.set(u, this.$M + t);
  20417. if (c === o) return this.set(o, this.$y + t);
  20418. if (c === i) return d(1);
  20419. if (c === s) return d(7);
  20420. var $ = (f = {}, f[n] = 6e4, f[r] = 36e5, f[e] = 1e3, f)[c] || 1;
  20421. var l = this.$d.getTime() + t * $;
  20422. return g.w(l, this);
  20423. }, $.subtract = function (t, e) {
  20424. return this.add(-1 * t, e);
  20425. }, $.format = function (t) {
  20426. var e = this;
  20427. if (!this.isValid()) return 'Invalid Date';
  20428. var n = t || 'YYYY-MM-DDTHH:mm:ssZ';
  20429. var r = g.z(this);
  20430. var i = this.$locale();
  20431. var s = this.$H;
  20432. var u = this.$m;
  20433. var a = this.$M;
  20434. var o = i.weekdays;
  20435. var f = i.months;
  20436. var h = function h(t, r, i, s) {
  20437. return t && (t[r] || t(e, n)) || i[r].substr(0, s);
  20438. };
  20439. var d = function d(t) {
  20440. return g.s(s % 12 || 12, t, '0');
  20441. };
  20442. var $ = i.meridiem || function (t, e, n) {
  20443. var r = t < 12 ? 'AM' : 'PM';
  20444. return n ? r.toLowerCase() : r;
  20445. };
  20446. var l = {
  20447. YY: String(this.$y).slice(-2),
  20448. YYYY: this.$y,
  20449. M: a + 1,
  20450. MM: g.s(a + 1, 2, '0'),
  20451. MMM: h(i.monthsShort, a, f, 3),
  20452. MMMM: h(f, a),
  20453. D: this.$D,
  20454. DD: g.s(this.$D, 2, '0'),
  20455. d: String(this.$W),
  20456. dd: h(i.weekdaysMin, this.$W, o, 2),
  20457. ddd: h(i.weekdaysShort, this.$W, o, 3),
  20458. dddd: o[this.$W],
  20459. H: String(s),
  20460. HH: g.s(s, 2, '0'),
  20461. h: d(1),
  20462. hh: d(2),
  20463. a: $(s, u, !0),
  20464. A: $(s, u, !1),
  20465. m: String(u),
  20466. mm: g.s(u, 2, '0'),
  20467. s: String(this.$s),
  20468. ss: g.s(this.$s, 2, '0'),
  20469. SSS: g.s(this.$ms, 3, '0'),
  20470. Z: r
  20471. };
  20472. return n.replace(c, function (t, e) {
  20473. return e || l[t] || r.replace(':', '');
  20474. });
  20475. }, $.utcOffset = function () {
  20476. return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
  20477. }, $.diff = function (t, f, h) {
  20478. var c;
  20479. var d = g.p(f);
  20480. var $ = v(t);
  20481. var l = 6e4 * ($.utcOffset() - this.utcOffset());
  20482. var y = this - $;
  20483. var M = g.m(this, $);
  20484. return M = (c = {}, c[o] = M / 12, c[u] = M, c[a] = M / 3, c[s] = (y - l) / 6048e5, c[i] = (y - l) / 864e5, c[r] = y / 36e5, c[n] = y / 6e4, c[e] = y / 1e3, c)[d] || y, h ? M : g.a(M);
  20485. }, $.daysInMonth = function () {
  20486. return this.endOf(u).$D;
  20487. }, $.$locale = function () {
  20488. return M[this.$L];
  20489. }, $.locale = function (t, e) {
  20490. if (!t) return this.$L;
  20491. var n = this.clone();
  20492. var r = D(t, e, !0);
  20493. return r && (n.$L = r), n;
  20494. }, $.clone = function () {
  20495. return g.w(this.$d, this);
  20496. }, $.toDate = function () {
  20497. return new Date(this.valueOf());
  20498. }, $.toJSON = function () {
  20499. return this.isValid() ? this.toISOString() : null;
  20500. }, $.toISOString = function () {
  20501. return this.$d.toISOString();
  20502. }, $.toString = function () {
  20503. return this.$d.toUTCString();
  20504. }, d;
  20505. }();
  20506. var p = S.prototype;
  20507. return v.prototype = p, [['$ms', t], ['$s', e], ['$m', n], ['$H', r], ['$W', i], ['$M', u], ['$y', o], ['$D', f]].forEach(function (t) {
  20508. p[t[1]] = function (e) {
  20509. return this.$g(e, t[0], t[1]);
  20510. };
  20511. }), v.extend = function (t, e) {
  20512. return t.$i || (t(e, S, v), t.$i = !0), v;
  20513. }, v.locale = D, v.isDayjs = m, v.unix = function (t) {
  20514. return v(1e3 * t);
  20515. }, v.en = M[y], v.Ls = M, v.p = {}, v;
  20516. });
  20517. /***/ }),
  20518. /* 350 */,
  20519. /* 351 */,
  20520. /* 352 */,
  20521. /* 353 */,
  20522. /* 354 */,
  20523. /* 355 */,
  20524. /* 356 */,
  20525. /* 357 */
  20526. /*!*************************************************************************************************************************************************!*\
  20527. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/button.js ***!
  20528. \*************************************************************************************************************************************************/
  20529. /*! no static exports found */
  20530. /***/ (function(module, exports, __webpack_require__) {
  20531. "use strict";
  20532. Object.defineProperty(exports, "__esModule", {
  20533. value: true
  20534. });
  20535. exports.default = void 0;
  20536. var _default = {
  20537. props: {
  20538. lang: String,
  20539. sessionFrom: String,
  20540. sendMessageTitle: String,
  20541. sendMessagePath: String,
  20542. sendMessageImg: String,
  20543. showMessageCard: Boolean,
  20544. appParameter: String,
  20545. formType: String,
  20546. openType: String
  20547. }
  20548. };
  20549. exports.default = _default;
  20550. /***/ }),
  20551. /* 358 */
  20552. /*!***************************************************************************************************************************************************!*\
  20553. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/openType.js ***!
  20554. \***************************************************************************************************************************************************/
  20555. /*! no static exports found */
  20556. /***/ (function(module, exports, __webpack_require__) {
  20557. "use strict";
  20558. Object.defineProperty(exports, "__esModule", {
  20559. value: true
  20560. });
  20561. exports.default = void 0;
  20562. var _default = {
  20563. props: {
  20564. openType: String
  20565. },
  20566. methods: {
  20567. onGetUserInfo: function onGetUserInfo(event) {
  20568. this.$emit('getuserinfo', event.detail);
  20569. },
  20570. onContact: function onContact(event) {
  20571. this.$emit('contact', event.detail);
  20572. },
  20573. onGetPhoneNumber: function onGetPhoneNumber(event) {
  20574. this.$emit('getphonenumber', event.detail);
  20575. },
  20576. onError: function onError(event) {
  20577. this.$emit('error', event.detail);
  20578. },
  20579. onLaunchApp: function onLaunchApp(event) {
  20580. this.$emit('launchapp', event.detail);
  20581. },
  20582. onOpenSetting: function onOpenSetting(event) {
  20583. this.$emit('opensetting', event.detail);
  20584. }
  20585. }
  20586. };
  20587. exports.default = _default;
  20588. /***/ }),
  20589. /* 359 */
  20590. /*!*********************************************************************************************************************************************************!*\
  20591. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-button/props.js ***!
  20592. \*********************************************************************************************************************************************************/
  20593. /*! no static exports found */
  20594. /***/ (function(module, exports, __webpack_require__) {
  20595. "use strict";
  20596. /* WEBPACK VAR INJECTION */(function(uni) {
  20597. Object.defineProperty(exports, "__esModule", {
  20598. value: true
  20599. });
  20600. exports.default = void 0;
  20601. /*
  20602. * @Author : LQ
  20603. * @Description :
  20604. * @version : 1.0
  20605. * @Date : 2021-08-16 10:04:04
  20606. * @LastAuthor : LQ
  20607. * @lastTime : 2021-08-16 10:04:24
  20608. * @FilePath : /u-view2.0/uview-ui/components/u-button/props.js
  20609. */
  20610. var _default = {
  20611. props: {
  20612. // 是否细边框
  20613. hairline: {
  20614. type: Boolean,
  20615. default: uni.$u.props.button.hairline
  20616. },
  20617. // 按钮的预置样式,info,primary,error,warning,success
  20618. type: {
  20619. type: String,
  20620. default: uni.$u.props.button.type
  20621. },
  20622. // 按钮尺寸,large,normal,small,mini
  20623. size: {
  20624. type: String,
  20625. default: uni.$u.props.button.size
  20626. },
  20627. // 按钮形状,circle(两边为半圆),square(带圆角)
  20628. shape: {
  20629. type: String,
  20630. default: uni.$u.props.button.shape
  20631. },
  20632. // 按钮是否镂空
  20633. plain: {
  20634. type: Boolean,
  20635. default: uni.$u.props.button.plain
  20636. },
  20637. // 是否禁止状态
  20638. disabled: {
  20639. type: Boolean,
  20640. default: uni.$u.props.button.disabled
  20641. },
  20642. // 是否加载中
  20643. loading: {
  20644. type: Boolean,
  20645. default: uni.$u.props.button.loading
  20646. },
  20647. // 加载中提示文字
  20648. loadingText: {
  20649. type: [String, Number],
  20650. default: uni.$u.props.button.loadingText
  20651. },
  20652. // 加载状态图标类型
  20653. loadingMode: {
  20654. type: String,
  20655. default: uni.$u.props.button.loadingMode
  20656. },
  20657. // 加载图标大小
  20658. loadingSize: {
  20659. type: [String, Number],
  20660. default: uni.$u.props.button.loadingSize
  20661. },
  20662. // 开放能力,具体请看uniapp稳定关于button组件部分说明
  20663. // https://uniapp.dcloud.io/component/button
  20664. openType: {
  20665. type: String,
  20666. default: uni.$u.props.button.openType
  20667. },
  20668. // 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件
  20669. // 取值为submit(提交表单),reset(重置表单)
  20670. formType: {
  20671. type: String,
  20672. default: uni.$u.props.button.formType
  20673. },
  20674. // 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效
  20675. // 只微信小程序、QQ小程序有效
  20676. appParameter: {
  20677. type: String,
  20678. default: uni.$u.props.button.appParameter
  20679. },
  20680. // 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效
  20681. hoverStopPropagation: {
  20682. type: Boolean,
  20683. default: uni.$u.props.button.hoverStopPropagation
  20684. },
  20685. // 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。只微信小程序有效
  20686. lang: {
  20687. type: String,
  20688. default: uni.$u.props.button.lang
  20689. },
  20690. // 会话来源,open-type="contact"时有效。只微信小程序有效
  20691. sessionFrom: {
  20692. type: String,
  20693. default: uni.$u.props.button.sessionFrom
  20694. },
  20695. // 会话内消息卡片标题,open-type="contact"时有效
  20696. // 默认当前标题,只微信小程序有效
  20697. sendMessageTitle: {
  20698. type: String,
  20699. default: uni.$u.props.button.sendMessageTitle
  20700. },
  20701. // 会话内消息卡片点击跳转小程序路径,open-type="contact"时有效
  20702. // 默认当前分享路径,只微信小程序有效
  20703. sendMessagePath: {
  20704. type: String,
  20705. default: uni.$u.props.button.sendMessagePath
  20706. },
  20707. // 会话内消息卡片图片,open-type="contact"时有效
  20708. // 默认当前页面截图,只微信小程序有效
  20709. sendMessageImg: {
  20710. type: String,
  20711. default: uni.$u.props.button.sendMessageImg
  20712. },
  20713. // 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示,
  20714. // 用户点击后可以快速发送小程序消息,open-type="contact"时有效
  20715. showMessageCard: {
  20716. type: Boolean,
  20717. default: uni.$u.props.button.showMessageCard
  20718. },
  20719. // 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取
  20720. dataName: {
  20721. type: String,
  20722. default: uni.$u.props.button.dataName
  20723. },
  20724. // 节流,一定时间内只能触发一次
  20725. throttleTime: {
  20726. type: [String, Number],
  20727. default: uni.$u.props.button.throttleTime
  20728. },
  20729. // 按住后多久出现点击态,单位毫秒
  20730. hoverStartTime: {
  20731. type: [String, Number],
  20732. default: uni.$u.props.button.hoverStartTime
  20733. },
  20734. // 手指松开后点击态保留时间,单位毫秒
  20735. hoverStayTime: {
  20736. type: [String, Number],
  20737. default: uni.$u.props.button.hoverStayTime
  20738. },
  20739. // 按钮文字,之所以通过props传入,是因为slot传入的话
  20740. // nvue中无法控制文字的样式
  20741. text: {
  20742. type: [String, Number],
  20743. default: uni.$u.props.button.text
  20744. },
  20745. // 按钮图标
  20746. icon: {
  20747. type: String,
  20748. default: uni.$u.props.button.icon
  20749. },
  20750. // 按钮图标
  20751. iconColor: {
  20752. type: String,
  20753. default: uni.$u.props.button.icon
  20754. },
  20755. // 按钮颜色,支持传入linear-gradient渐变色
  20756. color: {
  20757. type: String,
  20758. default: uni.$u.props.button.color
  20759. }
  20760. }
  20761. };
  20762. exports.default = _default;
  20763. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20764. /***/ }),
  20765. /* 360 */,
  20766. /* 361 */,
  20767. /* 362 */,
  20768. /* 363 */,
  20769. /* 364 */,
  20770. /* 365 */,
  20771. /* 366 */,
  20772. /* 367 */,
  20773. /* 368 */,
  20774. /* 369 */,
  20775. /* 370 */,
  20776. /* 371 */,
  20777. /* 372 */,
  20778. /* 373 */,
  20779. /* 374 */
  20780. /*!********************************************************************************************************************************************************!*\
  20781. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-popup/props.js ***!
  20782. \********************************************************************************************************************************************************/
  20783. /*! no static exports found */
  20784. /***/ (function(module, exports, __webpack_require__) {
  20785. "use strict";
  20786. /* WEBPACK VAR INJECTION */(function(uni) {
  20787. Object.defineProperty(exports, "__esModule", {
  20788. value: true
  20789. });
  20790. exports.default = void 0;
  20791. var _default = {
  20792. props: {
  20793. // 是否展示弹窗
  20794. show: {
  20795. type: Boolean,
  20796. default: uni.$u.props.popup.show
  20797. },
  20798. // 是否显示遮罩
  20799. overlay: {
  20800. type: Boolean,
  20801. default: uni.$u.props.popup.overlay
  20802. },
  20803. // 弹出的方向,可选值为 top bottom right left center
  20804. mode: {
  20805. type: String,
  20806. default: uni.$u.props.popup.mode
  20807. },
  20808. // 动画时长,单位ms
  20809. duration: {
  20810. type: [String, Number],
  20811. default: uni.$u.props.popup.duration
  20812. },
  20813. // 是否显示关闭图标
  20814. closeable: {
  20815. type: Boolean,
  20816. default: uni.$u.props.popup.closeable
  20817. },
  20818. // 自定义遮罩的样式
  20819. overlayStyle: {
  20820. type: [Object, String],
  20821. default: uni.$u.props.popup.overlayStyle
  20822. },
  20823. // 点击遮罩是否关闭弹窗
  20824. closeOnClickOverlay: {
  20825. type: Boolean,
  20826. default: uni.$u.props.popup.closeOnClickOverlay
  20827. },
  20828. // 层级
  20829. zIndex: {
  20830. type: [String, Number],
  20831. default: uni.$u.props.popup.zIndex
  20832. },
  20833. // 是否为iPhoneX留出底部安全距离
  20834. safeAreaInsetBottom: {
  20835. type: Boolean,
  20836. default: uni.$u.props.popup.safeAreaInsetBottom
  20837. },
  20838. // 是否留出顶部安全距离(状态栏高度)
  20839. safeAreaInsetTop: {
  20840. type: Boolean,
  20841. default: uni.$u.props.popup.safeAreaInsetTop
  20842. },
  20843. // 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角
  20844. closeIconPos: {
  20845. type: String,
  20846. default: uni.$u.props.popup.closeIconPos
  20847. },
  20848. // 是否显示圆角
  20849. round: {
  20850. type: [Boolean, String, Number],
  20851. default: uni.$u.props.popup.round
  20852. },
  20853. // mode=center,也即中部弹出时,是否使用缩放模式
  20854. zoom: {
  20855. type: Boolean,
  20856. default: uni.$u.props.popup.zoom
  20857. },
  20858. // 弹窗背景色,设置为transparent可去除白色背景
  20859. bgColor: {
  20860. type: String,
  20861. default: uni.$u.props.popup.bgColor
  20862. },
  20863. // 遮罩的透明度,0-1之间
  20864. overlayOpacity: {
  20865. type: [Number, String],
  20866. default: uni.$u.props.popup.overlayOpacity
  20867. }
  20868. }
  20869. };
  20870. exports.default = _default;
  20871. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20872. /***/ }),
  20873. /* 375 */,
  20874. /* 376 */,
  20875. /* 377 */,
  20876. /* 378 */,
  20877. /* 379 */,
  20878. /* 380 */,
  20879. /* 381 */,
  20880. /* 382 */
  20881. /*!*********************************************************************************************************************************************************!*\
  20882. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-avatar/props.js ***!
  20883. \*********************************************************************************************************************************************************/
  20884. /*! no static exports found */
  20885. /***/ (function(module, exports, __webpack_require__) {
  20886. "use strict";
  20887. /* WEBPACK VAR INJECTION */(function(uni) {
  20888. Object.defineProperty(exports, "__esModule", {
  20889. value: true
  20890. });
  20891. exports.default = void 0;
  20892. var _default = {
  20893. props: {
  20894. // 头像图片路径(不能为相对路径)
  20895. src: {
  20896. type: String,
  20897. default: uni.$u.props.avatar.src
  20898. },
  20899. // 头像形状,circle-圆形,square-方形
  20900. shape: {
  20901. type: String,
  20902. default: uni.$u.props.avatar.shape
  20903. },
  20904. // 头像尺寸
  20905. size: {
  20906. type: [String, Number],
  20907. default: uni.$u.props.avatar.size
  20908. },
  20909. // 裁剪模式
  20910. mode: {
  20911. type: String,
  20912. default: uni.$u.props.avatar.mode
  20913. },
  20914. // 显示的文字
  20915. text: {
  20916. type: String,
  20917. default: uni.$u.props.avatar.text
  20918. },
  20919. // 背景色
  20920. bgColor: {
  20921. type: String,
  20922. default: uni.$u.props.avatar.bgColor
  20923. },
  20924. // 文字颜色
  20925. color: {
  20926. type: String,
  20927. default: uni.$u.props.avatar.color
  20928. },
  20929. // 文字大小
  20930. fontSize: {
  20931. type: [String, Number],
  20932. default: uni.$u.props.avatar.fontSize
  20933. },
  20934. // 显示的图标
  20935. icon: {
  20936. type: String,
  20937. default: uni.$u.props.avatar.icon
  20938. },
  20939. // 显示小程序头像,只对百度,微信,QQ小程序有效
  20940. mpAvatar: {
  20941. type: Boolean,
  20942. default: uni.$u.props.avatar.mpAvatar
  20943. },
  20944. // 是否使用随机背景色
  20945. randomBgColor: {
  20946. type: Boolean,
  20947. default: uni.$u.props.avatar.randomBgColor
  20948. },
  20949. // 加载失败的默认头像(组件有内置默认图片)
  20950. defaultUrl: {
  20951. type: String,
  20952. default: uni.$u.props.avatar.defaultUrl
  20953. },
  20954. // 如果配置了randomBgColor为true,且配置了此值,则从默认的背景色数组中取出对应索引的颜色值,取值0-19之间
  20955. colorIndex: {
  20956. type: [String, Number],
  20957. // 校验参数规则,索引在0-19之间
  20958. validator: function validator(n) {
  20959. return uni.$u.test.range(n, [0, 19]) || n === '';
  20960. },
  20961. default: uni.$u.props.avatar.colorIndex
  20962. },
  20963. // 组件标识符
  20964. name: {
  20965. type: String,
  20966. default: uni.$u.props.avatar.name
  20967. }
  20968. }
  20969. };
  20970. exports.default = _default;
  20971. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20972. /***/ }),
  20973. /* 383 */,
  20974. /* 384 */,
  20975. /* 385 */,
  20976. /* 386 */,
  20977. /* 387 */,
  20978. /* 388 */,
  20979. /* 389 */,
  20980. /* 390 */
  20981. /*!*******************************************************************************************************************************************************!*\
  20982. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-list/props.js ***!
  20983. \*******************************************************************************************************************************************************/
  20984. /*! no static exports found */
  20985. /***/ (function(module, exports, __webpack_require__) {
  20986. "use strict";
  20987. /* WEBPACK VAR INJECTION */(function(uni) {
  20988. Object.defineProperty(exports, "__esModule", {
  20989. value: true
  20990. });
  20991. exports.default = void 0;
  20992. var _default = {
  20993. props: {
  20994. // 控制是否出现滚动条,仅nvue有效
  20995. showScrollbar: {
  20996. type: Boolean,
  20997. default: uni.$u.props.list.showScrollbar
  20998. },
  20999. // 距底部多少时触发scrolltolower事件
  21000. lowerThreshold: {
  21001. type: [String, Number],
  21002. default: uni.$u.props.list.lowerThreshold
  21003. },
  21004. // 距顶部多少时触发scrolltoupper事件,非nvue有效
  21005. upperThreshold: {
  21006. type: [String, Number],
  21007. default: uni.$u.props.list.upperThreshold
  21008. },
  21009. // 设置竖向滚动条位置
  21010. scrollTop: {
  21011. type: [String, Number],
  21012. default: uni.$u.props.list.scrollTop
  21013. },
  21014. // 控制 onscroll 事件触发的频率,仅nvue有效
  21015. offsetAccuracy: {
  21016. type: [String, Number],
  21017. default: uni.$u.props.list.offsetAccuracy
  21018. },
  21019. // 启用 flexbox 布局。开启后,当前节点声明了display: flex就会成为flex container,并作用于其孩子节点,仅微信小程序有效
  21020. enableFlex: {
  21021. type: Boolean,
  21022. default: uni.$u.props.list.enableFlex
  21023. },
  21024. // 是否按分页模式显示List,默认值false
  21025. pagingEnabled: {
  21026. type: Boolean,
  21027. default: uni.$u.props.list.pagingEnabled
  21028. },
  21029. // 是否允许List滚动
  21030. scrollable: {
  21031. type: Boolean,
  21032. default: uni.$u.props.list.scrollable
  21033. },
  21034. // 值应为某子元素id(id不能以数字开头)
  21035. scrollIntoView: {
  21036. type: String,
  21037. default: uni.$u.props.list.scrollIntoView
  21038. },
  21039. // 在设置滚动条位置时使用动画过渡
  21040. scrollWithAnimation: {
  21041. type: Boolean,
  21042. default: uni.$u.props.list.scrollWithAnimation
  21043. },
  21044. // iOS点击顶部状态栏、安卓双击标题栏时,滚动条返回顶部,只对微信小程序有效
  21045. enableBackToTop: {
  21046. type: Boolean,
  21047. default: uni.$u.props.list.enableBackToTop
  21048. },
  21049. // 列表的高度
  21050. height: {
  21051. type: [String, Number],
  21052. default: uni.$u.props.list.height
  21053. },
  21054. // 列表宽度
  21055. width: {
  21056. type: [String, Number],
  21057. default: uni.$u.props.list.width
  21058. },
  21059. // 列表前后预渲染的屏数,1代表一个屏幕的高度,1.5代表1个半屏幕高度
  21060. preLoadScreen: {
  21061. type: [String, Number],
  21062. default: uni.$u.props.list.preLoadScreen
  21063. }
  21064. // vue下,是否开启虚拟列表
  21065. }
  21066. };
  21067. exports.default = _default;
  21068. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21069. /***/ }),
  21070. /* 391 */,
  21071. /* 392 */,
  21072. /* 393 */,
  21073. /* 394 */,
  21074. /* 395 */,
  21075. /* 396 */,
  21076. /* 397 */,
  21077. /* 398 */
  21078. /*!************************************************************************************************************************************************************!*\
  21079. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-list-item/props.js ***!
  21080. \************************************************************************************************************************************************************/
  21081. /*! no static exports found */
  21082. /***/ (function(module, exports, __webpack_require__) {
  21083. "use strict";
  21084. /* WEBPACK VAR INJECTION */(function(uni) {
  21085. Object.defineProperty(exports, "__esModule", {
  21086. value: true
  21087. });
  21088. exports.default = void 0;
  21089. var _default = {
  21090. props: {
  21091. // 用于滚动到指定item
  21092. anchor: {
  21093. type: [String, Number],
  21094. default: uni.$u.props.listItem.anchor
  21095. }
  21096. }
  21097. };
  21098. exports.default = _default;
  21099. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21100. /***/ }),
  21101. /* 399 */,
  21102. /* 400 */,
  21103. /* 401 */,
  21104. /* 402 */,
  21105. /* 403 */,
  21106. /* 404 */,
  21107. /* 405 */,
  21108. /* 406 */
  21109. /*!********************************************************************************************************************************************************!*\
  21110. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-badge/props.js ***!
  21111. \********************************************************************************************************************************************************/
  21112. /*! no static exports found */
  21113. /***/ (function(module, exports, __webpack_require__) {
  21114. "use strict";
  21115. /* WEBPACK VAR INJECTION */(function(uni) {
  21116. Object.defineProperty(exports, "__esModule", {
  21117. value: true
  21118. });
  21119. exports.default = void 0;
  21120. var _default = {
  21121. props: {
  21122. // 是否显示圆点
  21123. isDot: {
  21124. type: Boolean,
  21125. default: uni.$u.props.badge.isDot
  21126. },
  21127. // 显示的内容
  21128. value: {
  21129. type: [Number, String],
  21130. default: uni.$u.props.badge.value
  21131. },
  21132. // 是否显示
  21133. show: {
  21134. type: Boolean,
  21135. default: uni.$u.props.badge.show
  21136. },
  21137. // 最大值,超过最大值会显示 '{max}+'
  21138. max: {
  21139. type: [Number, String],
  21140. default: uni.$u.props.badge.max
  21141. },
  21142. // 主题类型,error|warning|success|primary
  21143. type: {
  21144. type: String,
  21145. default: uni.$u.props.badge.type
  21146. },
  21147. // 当数值为 0 时,是否展示 Badge
  21148. showZero: {
  21149. type: Boolean,
  21150. default: uni.$u.props.badge.showZero
  21151. },
  21152. // 背景颜色,优先级比type高,如设置,type参数会失效
  21153. bgColor: {
  21154. type: [String, null],
  21155. default: uni.$u.props.badge.bgColor
  21156. },
  21157. // 字体颜色
  21158. color: {
  21159. type: [String, null],
  21160. default: uni.$u.props.badge.color
  21161. },
  21162. // 徽标形状,circle-四角均为圆角,horn-左下角为直角
  21163. shape: {
  21164. type: String,
  21165. default: uni.$u.props.badge.shape
  21166. },
  21167. // 设置数字的显示方式,overflow|ellipsis|limit
  21168. // overflow会根据max字段判断,超出显示`${max}+`
  21169. // ellipsis会根据max判断,超出显示`${max}...`
  21170. // limit会依据1000作为判断条件,超出1000,显示`${value/1000}K`,比如2.2k、3.34w,最多保留2位小数
  21171. numberType: {
  21172. type: String,
  21173. default: uni.$u.props.badge.numberType
  21174. },
  21175. // 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
  21176. offset: {
  21177. type: Array,
  21178. default: uni.$u.props.badge.offset
  21179. },
  21180. // 是否反转背景和字体颜色
  21181. inverted: {
  21182. type: Boolean,
  21183. default: uni.$u.props.badge.inverted
  21184. },
  21185. // 是否绝对定位
  21186. absolute: {
  21187. type: Boolean,
  21188. default: uni.$u.props.badge.absolute
  21189. }
  21190. }
  21191. };
  21192. exports.default = _default;
  21193. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21194. /***/ }),
  21195. /* 407 */,
  21196. /* 408 */,
  21197. /* 409 */,
  21198. /* 410 */,
  21199. /* 411 */,
  21200. /* 412 */,
  21201. /* 413 */,
  21202. /* 414 */
  21203. /*!***********************************************************************************************************************************************************!*\
  21204. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-textarea/props.js ***!
  21205. \***********************************************************************************************************************************************************/
  21206. /*! no static exports found */
  21207. /***/ (function(module, exports, __webpack_require__) {
  21208. "use strict";
  21209. /* WEBPACK VAR INJECTION */(function(uni) {
  21210. Object.defineProperty(exports, "__esModule", {
  21211. value: true
  21212. });
  21213. exports.default = void 0;
  21214. var _default = {
  21215. props: {
  21216. // 输入框的内容
  21217. value: {
  21218. type: [String, Number],
  21219. default: uni.$u.props.textarea.value
  21220. },
  21221. // 输入框为空时占位符
  21222. placeholder: {
  21223. type: [String, Number],
  21224. default: uni.$u.props.textarea.placeholder
  21225. },
  21226. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  21227. placeholderClass: {
  21228. type: String,
  21229. default: uni.$u.props.input.placeholderClass
  21230. },
  21231. // 指定placeholder的样式
  21232. placeholderStyle: {
  21233. type: [String, Object],
  21234. default: uni.$u.props.input.placeholderStyle
  21235. },
  21236. // 输入框高度
  21237. height: {
  21238. type: [String, Number],
  21239. default: uni.$u.props.textarea.height
  21240. },
  21241. // 设置键盘右下角按钮的文字,仅微信小程序,App-vue和H5有效
  21242. confirmType: {
  21243. type: String,
  21244. default: uni.$u.props.textarea.confirmType
  21245. },
  21246. // 是否禁用
  21247. disabled: {
  21248. type: Boolean,
  21249. default: uni.$u.props.textarea.disabled
  21250. },
  21251. // 是否显示统计字数
  21252. count: {
  21253. type: Boolean,
  21254. default: uni.$u.props.textarea.count
  21255. },
  21256. // 是否自动获取焦点,nvue不支持,H5取决于浏览器的实现
  21257. focus: {
  21258. type: Boolean,
  21259. default: uni.$u.props.textarea.focus
  21260. },
  21261. // 是否自动增加高度
  21262. autoHeight: {
  21263. type: Boolean,
  21264. default: uni.$u.props.textarea.autoHeight
  21265. },
  21266. // 如果textarea是在一个position:fixed的区域,需要显示指定属性fixed为true
  21267. fixed: {
  21268. type: Boolean,
  21269. default: uni.$u.props.textarea.fixed
  21270. },
  21271. // 指定光标与键盘的距离
  21272. cursorSpacing: {
  21273. type: Number,
  21274. default: uni.$u.props.textarea.cursorSpacing
  21275. },
  21276. // 指定focus时的光标位置
  21277. cursor: {
  21278. type: [String, Number],
  21279. default: uni.$u.props.textarea.cursor
  21280. },
  21281. // 是否显示键盘上方带有”完成“按钮那一栏,
  21282. showConfirmBar: {
  21283. type: Boolean,
  21284. default: uni.$u.props.textarea.showConfirmBar
  21285. },
  21286. // 光标起始位置,自动聚焦时有效,需与selection-end搭配使用
  21287. selectionStart: {
  21288. type: Number,
  21289. default: uni.$u.props.textarea.selectionStart
  21290. },
  21291. // 光标结束位置,自动聚焦时有效,需与selection-start搭配使用
  21292. selectionEnd: {
  21293. type: Number,
  21294. default: uni.$u.props.textarea.selectionEnd
  21295. },
  21296. // 键盘弹起时,是否自动上推页面
  21297. adjustPosition: {
  21298. type: Boolean,
  21299. default: uni.$u.props.textarea.adjustPosition
  21300. },
  21301. // 是否去掉 iOS 下的默认内边距,只微信小程序有效
  21302. disableDefaultPadding: {
  21303. type: Boolean,
  21304. default: uni.$u.props.textarea.disableDefaultPadding
  21305. },
  21306. // focus时,点击页面的时候不收起键盘,只微信小程序有效
  21307. holdKeyboard: {
  21308. type: Boolean,
  21309. default: uni.$u.props.textarea.holdKeyboard
  21310. },
  21311. // 最大输入长度,设置为 -1 的时候不限制最大长度
  21312. maxlength: {
  21313. type: [String, Number],
  21314. default: uni.$u.props.textarea.maxlength
  21315. },
  21316. // 边框类型,surround-四周边框,bottom-底部边框
  21317. border: {
  21318. type: String,
  21319. default: uni.$u.props.textarea.border
  21320. },
  21321. // 用于处理或者过滤输入框内容的方法
  21322. formatter: {
  21323. type: [Function, null],
  21324. default: uni.$u.props.textarea.formatter
  21325. },
  21326. // 是否忽略组件内对文本合成系统事件的处理
  21327. ignoreCompositionEvent: {
  21328. type: Boolean,
  21329. default: true
  21330. }
  21331. }
  21332. };
  21333. exports.default = _default;
  21334. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21335. /***/ }),
  21336. /* 415 */,
  21337. /* 416 */,
  21338. /* 417 */,
  21339. /* 418 */,
  21340. /* 419 */,
  21341. /* 420 */
  21342. /*!**************************************************************************************************************************************************************!*\
  21343. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-radio-group/props.js ***!
  21344. \**************************************************************************************************************************************************************/
  21345. /*! no static exports found */
  21346. /***/ (function(module, exports, __webpack_require__) {
  21347. "use strict";
  21348. /* WEBPACK VAR INJECTION */(function(uni) {
  21349. Object.defineProperty(exports, "__esModule", {
  21350. value: true
  21351. });
  21352. exports.default = void 0;
  21353. var _default = {
  21354. props: {
  21355. // 绑定的值
  21356. value: {
  21357. type: [String, Number, Boolean],
  21358. default: uni.$u.props.radioGroup.value
  21359. },
  21360. // 是否禁用全部radio
  21361. disabled: {
  21362. type: Boolean,
  21363. default: uni.$u.props.radioGroup.disabled
  21364. },
  21365. // 形状,circle-圆形,square-方形
  21366. shape: {
  21367. type: String,
  21368. default: uni.$u.props.radioGroup.shape
  21369. },
  21370. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  21371. activeColor: {
  21372. type: String,
  21373. default: uni.$u.props.radioGroup.activeColor
  21374. },
  21375. // 未选中的颜色
  21376. inactiveColor: {
  21377. type: String,
  21378. default: uni.$u.props.radioGroup.inactiveColor
  21379. },
  21380. // 标识符
  21381. name: {
  21382. type: String,
  21383. default: uni.$u.props.radioGroup.name
  21384. },
  21385. // 整个组件的尺寸,默认px
  21386. size: {
  21387. type: [String, Number],
  21388. default: uni.$u.props.radioGroup.size
  21389. },
  21390. // 布局方式,row-横向,column-纵向
  21391. placement: {
  21392. type: String,
  21393. default: uni.$u.props.radioGroup.placement
  21394. },
  21395. // label的文本
  21396. label: {
  21397. type: [String],
  21398. default: uni.$u.props.radioGroup.label
  21399. },
  21400. // label的颜色 (默认 '#303133' )
  21401. labelColor: {
  21402. type: [String],
  21403. default: uni.$u.props.radioGroup.labelColor
  21404. },
  21405. // label的字体大小,px单位
  21406. labelSize: {
  21407. type: [String, Number],
  21408. default: uni.$u.props.radioGroup.labelSize
  21409. },
  21410. // 是否禁止点击文本操作checkbox(默认 false )
  21411. labelDisabled: {
  21412. type: Boolean,
  21413. default: uni.$u.props.radioGroup.labelDisabled
  21414. },
  21415. // 图标颜色
  21416. iconColor: {
  21417. type: String,
  21418. default: uni.$u.props.radioGroup.iconColor
  21419. },
  21420. // 图标的大小,单位px
  21421. iconSize: {
  21422. type: [String, Number],
  21423. default: uni.$u.props.radioGroup.iconSize
  21424. },
  21425. // 竖向配列时,是否显示下划线
  21426. borderBottom: {
  21427. type: Boolean,
  21428. default: uni.$u.props.radioGroup.borderBottom
  21429. },
  21430. // 图标与文字的对齐方式
  21431. iconPlacement: {
  21432. type: String,
  21433. default: uni.$u.props.radio.iconPlacement
  21434. }
  21435. }
  21436. };
  21437. exports.default = _default;
  21438. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21439. /***/ }),
  21440. /* 421 */,
  21441. /* 422 */,
  21442. /* 423 */,
  21443. /* 424 */,
  21444. /* 425 */,
  21445. /* 426 */,
  21446. /* 427 */,
  21447. /* 428 */
  21448. /*!********************************************************************************************************************************************************!*\
  21449. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-radio/props.js ***!
  21450. \********************************************************************************************************************************************************/
  21451. /*! no static exports found */
  21452. /***/ (function(module, exports, __webpack_require__) {
  21453. "use strict";
  21454. /* WEBPACK VAR INJECTION */(function(uni) {
  21455. Object.defineProperty(exports, "__esModule", {
  21456. value: true
  21457. });
  21458. exports.default = void 0;
  21459. var _default = {
  21460. props: {
  21461. // radio的名称
  21462. name: {
  21463. type: [String, Number, Boolean],
  21464. default: uni.$u.props.radio.name
  21465. },
  21466. // 形状,square为方形,circle为圆型
  21467. shape: {
  21468. type: String,
  21469. default: uni.$u.props.radio.shape
  21470. },
  21471. // 是否禁用
  21472. disabled: {
  21473. type: [String, Boolean],
  21474. default: uni.$u.props.radio.disabled
  21475. },
  21476. // 是否禁止点击提示语选中单选框
  21477. labelDisabled: {
  21478. type: [String, Boolean],
  21479. default: uni.$u.props.radio.labelDisabled
  21480. },
  21481. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  21482. activeColor: {
  21483. type: String,
  21484. default: uni.$u.props.radio.activeColor
  21485. },
  21486. // 未选中的颜色
  21487. inactiveColor: {
  21488. type: String,
  21489. default: uni.$u.props.radio.inactiveColor
  21490. },
  21491. // 图标的大小,单位px
  21492. iconSize: {
  21493. type: [String, Number],
  21494. default: uni.$u.props.radio.iconSize
  21495. },
  21496. // label的字体大小,px单位
  21497. labelSize: {
  21498. type: [String, Number],
  21499. default: uni.$u.props.radio.labelSize
  21500. },
  21501. // label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
  21502. label: {
  21503. type: [String, Number],
  21504. default: uni.$u.props.radio.label
  21505. },
  21506. // 整体的大小
  21507. size: {
  21508. type: [String, Number],
  21509. default: uni.$u.props.radio.size
  21510. },
  21511. // 图标颜色
  21512. color: {
  21513. type: String,
  21514. default: uni.$u.props.radio.color
  21515. },
  21516. // label的颜色
  21517. labelColor: {
  21518. type: String,
  21519. default: uni.$u.props.radio.labelColor
  21520. }
  21521. }
  21522. };
  21523. exports.default = _default;
  21524. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21525. /***/ }),
  21526. /* 429 */,
  21527. /* 430 */,
  21528. /* 431 */,
  21529. /* 432 */,
  21530. /* 433 */,
  21531. /* 434 */,
  21532. /* 435 */,
  21533. /* 436 */
  21534. /*!*******************************************************************************************************************************************************!*\
  21535. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-icon/icons.js ***!
  21536. \*******************************************************************************************************************************************************/
  21537. /*! no static exports found */
  21538. /***/ (function(module, exports, __webpack_require__) {
  21539. "use strict";
  21540. Object.defineProperty(exports, "__esModule", {
  21541. value: true
  21542. });
  21543. exports.default = void 0;
  21544. var _default = {
  21545. 'uicon-level': "\uE693",
  21546. 'uicon-column-line': "\uE68E",
  21547. 'uicon-checkbox-mark': "\uE807",
  21548. 'uicon-folder': "\uE7F5",
  21549. 'uicon-movie': "\uE7F6",
  21550. 'uicon-star-fill': "\uE669",
  21551. 'uicon-star': "\uE65F",
  21552. 'uicon-phone-fill': "\uE64F",
  21553. 'uicon-phone': "\uE622",
  21554. 'uicon-apple-fill': "\uE881",
  21555. 'uicon-chrome-circle-fill': "\uE885",
  21556. 'uicon-backspace': "\uE67B",
  21557. 'uicon-attach': "\uE632",
  21558. 'uicon-cut': "\uE948",
  21559. 'uicon-empty-car': "\uE602",
  21560. 'uicon-empty-coupon': "\uE682",
  21561. 'uicon-empty-address': "\uE646",
  21562. 'uicon-empty-favor': "\uE67C",
  21563. 'uicon-empty-permission': "\uE686",
  21564. 'uicon-empty-news': "\uE687",
  21565. 'uicon-empty-search': "\uE664",
  21566. 'uicon-github-circle-fill': "\uE887",
  21567. 'uicon-rmb': "\uE608",
  21568. 'uicon-person-delete-fill': "\uE66A",
  21569. 'uicon-reload': "\uE788",
  21570. 'uicon-order': "\uE68F",
  21571. 'uicon-server-man': "\uE6BC",
  21572. 'uicon-search': "\uE62A",
  21573. 'uicon-fingerprint': "\uE955",
  21574. 'uicon-more-dot-fill': "\uE630",
  21575. 'uicon-scan': "\uE662",
  21576. 'uicon-share-square': "\uE60B",
  21577. 'uicon-map': "\uE61D",
  21578. 'uicon-map-fill': "\uE64E",
  21579. 'uicon-tags': "\uE629",
  21580. 'uicon-tags-fill': "\uE651",
  21581. 'uicon-bookmark-fill': "\uE63B",
  21582. 'uicon-bookmark': "\uE60A",
  21583. 'uicon-eye': "\uE613",
  21584. 'uicon-eye-fill': "\uE641",
  21585. 'uicon-mic': "\uE64A",
  21586. 'uicon-mic-off': "\uE649",
  21587. 'uicon-calendar': "\uE66E",
  21588. 'uicon-calendar-fill': "\uE634",
  21589. 'uicon-trash': "\uE623",
  21590. 'uicon-trash-fill': "\uE658",
  21591. 'uicon-play-left': "\uE66D",
  21592. 'uicon-play-right': "\uE610",
  21593. 'uicon-minus': "\uE618",
  21594. 'uicon-plus': "\uE62D",
  21595. 'uicon-info': "\uE653",
  21596. 'uicon-info-circle': "\uE7D2",
  21597. 'uicon-info-circle-fill': "\uE64B",
  21598. 'uicon-question': "\uE715",
  21599. 'uicon-error': "\uE6D3",
  21600. 'uicon-close': "\uE685",
  21601. 'uicon-checkmark': "\uE6A8",
  21602. 'uicon-android-circle-fill': "\uE67E",
  21603. 'uicon-android-fill': "\uE67D",
  21604. 'uicon-ie': "\uE87B",
  21605. 'uicon-IE-circle-fill': "\uE889",
  21606. 'uicon-google': "\uE87A",
  21607. 'uicon-google-circle-fill': "\uE88A",
  21608. 'uicon-setting-fill': "\uE872",
  21609. 'uicon-setting': "\uE61F",
  21610. 'uicon-minus-square-fill': "\uE855",
  21611. 'uicon-plus-square-fill': "\uE856",
  21612. 'uicon-heart': "\uE7DF",
  21613. 'uicon-heart-fill': "\uE851",
  21614. 'uicon-camera': "\uE7D7",
  21615. 'uicon-camera-fill': "\uE870",
  21616. 'uicon-more-circle': "\uE63E",
  21617. 'uicon-more-circle-fill': "\uE645",
  21618. 'uicon-chat': "\uE620",
  21619. 'uicon-chat-fill': "\uE61E",
  21620. 'uicon-bag-fill': "\uE617",
  21621. 'uicon-bag': "\uE619",
  21622. 'uicon-error-circle-fill': "\uE62C",
  21623. 'uicon-error-circle': "\uE624",
  21624. 'uicon-close-circle': "\uE63F",
  21625. 'uicon-close-circle-fill': "\uE637",
  21626. 'uicon-checkmark-circle': "\uE63D",
  21627. 'uicon-checkmark-circle-fill': "\uE635",
  21628. 'uicon-question-circle-fill': "\uE666",
  21629. 'uicon-question-circle': "\uE625",
  21630. 'uicon-share': "\uE631",
  21631. 'uicon-share-fill': "\uE65E",
  21632. 'uicon-shopping-cart': "\uE621",
  21633. 'uicon-shopping-cart-fill': "\uE65D",
  21634. 'uicon-bell': "\uE609",
  21635. 'uicon-bell-fill': "\uE640",
  21636. 'uicon-list': "\uE650",
  21637. 'uicon-list-dot': "\uE616",
  21638. 'uicon-zhihu': "\uE6BA",
  21639. 'uicon-zhihu-circle-fill': "\uE709",
  21640. 'uicon-zhifubao': "\uE6B9",
  21641. 'uicon-zhifubao-circle-fill': "\uE6B8",
  21642. 'uicon-weixin-circle-fill': "\uE6B1",
  21643. 'uicon-weixin-fill': "\uE6B2",
  21644. 'uicon-twitter-circle-fill': "\uE6AB",
  21645. 'uicon-twitter': "\uE6AA",
  21646. 'uicon-taobao-circle-fill': "\uE6A7",
  21647. 'uicon-taobao': "\uE6A6",
  21648. 'uicon-weibo-circle-fill': "\uE6A5",
  21649. 'uicon-weibo': "\uE6A4",
  21650. 'uicon-qq-fill': "\uE6A1",
  21651. 'uicon-qq-circle-fill': "\uE6A0",
  21652. 'uicon-moments-circel-fill': "\uE69A",
  21653. 'uicon-moments': "\uE69B",
  21654. 'uicon-qzone': "\uE695",
  21655. 'uicon-qzone-circle-fill': "\uE696",
  21656. 'uicon-baidu-circle-fill': "\uE680",
  21657. 'uicon-baidu': "\uE681",
  21658. 'uicon-facebook-circle-fill': "\uE68A",
  21659. 'uicon-facebook': "\uE689",
  21660. 'uicon-car': "\uE60C",
  21661. 'uicon-car-fill': "\uE636",
  21662. 'uicon-warning-fill': "\uE64D",
  21663. 'uicon-warning': "\uE694",
  21664. 'uicon-clock-fill': "\uE638",
  21665. 'uicon-clock': "\uE60F",
  21666. 'uicon-edit-pen': "\uE612",
  21667. 'uicon-edit-pen-fill': "\uE66B",
  21668. 'uicon-email': "\uE611",
  21669. 'uicon-email-fill': "\uE642",
  21670. 'uicon-minus-circle': "\uE61B",
  21671. 'uicon-minus-circle-fill': "\uE652",
  21672. 'uicon-plus-circle': "\uE62E",
  21673. 'uicon-plus-circle-fill': "\uE661",
  21674. 'uicon-file-text': "\uE663",
  21675. 'uicon-file-text-fill': "\uE665",
  21676. 'uicon-pushpin': "\uE7E3",
  21677. 'uicon-pushpin-fill': "\uE86E",
  21678. 'uicon-grid': "\uE673",
  21679. 'uicon-grid-fill': "\uE678",
  21680. 'uicon-play-circle': "\uE647",
  21681. 'uicon-play-circle-fill': "\uE655",
  21682. 'uicon-pause-circle-fill': "\uE654",
  21683. 'uicon-pause': "\uE8FA",
  21684. 'uicon-pause-circle': "\uE643",
  21685. 'uicon-eye-off': "\uE648",
  21686. 'uicon-eye-off-outline': "\uE62B",
  21687. 'uicon-gift-fill': "\uE65C",
  21688. 'uicon-gift': "\uE65B",
  21689. 'uicon-rmb-circle-fill': "\uE657",
  21690. 'uicon-rmb-circle': "\uE677",
  21691. 'uicon-kefu-ermai': "\uE656",
  21692. 'uicon-server-fill': "\uE751",
  21693. 'uicon-coupon-fill': "\uE8C4",
  21694. 'uicon-coupon': "\uE8AE",
  21695. 'uicon-integral': "\uE704",
  21696. 'uicon-integral-fill': "\uE703",
  21697. 'uicon-home-fill': "\uE964",
  21698. 'uicon-home': "\uE965",
  21699. 'uicon-hourglass-half-fill': "\uE966",
  21700. 'uicon-hourglass': "\uE967",
  21701. 'uicon-account': "\uE628",
  21702. 'uicon-plus-people-fill': "\uE626",
  21703. 'uicon-minus-people-fill': "\uE615",
  21704. 'uicon-account-fill': "\uE614",
  21705. 'uicon-thumb-down-fill': "\uE726",
  21706. 'uicon-thumb-down': "\uE727",
  21707. 'uicon-thumb-up': "\uE733",
  21708. 'uicon-thumb-up-fill': "\uE72F",
  21709. 'uicon-lock-fill': "\uE979",
  21710. 'uicon-lock-open': "\uE973",
  21711. 'uicon-lock-opened-fill': "\uE974",
  21712. 'uicon-lock': "\uE97A",
  21713. 'uicon-red-packet-fill': "\uE690",
  21714. 'uicon-photo-fill': "\uE98B",
  21715. 'uicon-photo': "\uE98D",
  21716. 'uicon-volume-off-fill': "\uE659",
  21717. 'uicon-volume-off': "\uE644",
  21718. 'uicon-volume-fill': "\uE670",
  21719. 'uicon-volume': "\uE633",
  21720. 'uicon-red-packet': "\uE691",
  21721. 'uicon-download': "\uE63C",
  21722. 'uicon-arrow-up-fill': "\uE6B0",
  21723. 'uicon-arrow-down-fill': "\uE600",
  21724. 'uicon-play-left-fill': "\uE675",
  21725. 'uicon-play-right-fill': "\uE676",
  21726. 'uicon-rewind-left-fill': "\uE679",
  21727. 'uicon-rewind-right-fill': "\uE67A",
  21728. 'uicon-arrow-downward': "\uE604",
  21729. 'uicon-arrow-leftward': "\uE601",
  21730. 'uicon-arrow-rightward': "\uE603",
  21731. 'uicon-arrow-upward': "\uE607",
  21732. 'uicon-arrow-down': "\uE60D",
  21733. 'uicon-arrow-right': "\uE605",
  21734. 'uicon-arrow-left': "\uE60E",
  21735. 'uicon-arrow-up': "\uE606",
  21736. 'uicon-skip-back-left': "\uE674",
  21737. 'uicon-skip-forward-right': "\uE672",
  21738. 'uicon-rewind-right': "\uE66F",
  21739. 'uicon-rewind-left': "\uE671",
  21740. 'uicon-arrow-right-double': "\uE68D",
  21741. 'uicon-arrow-left-double': "\uE68C",
  21742. 'uicon-wifi-off': "\uE668",
  21743. 'uicon-wifi': "\uE667",
  21744. 'uicon-empty-data': "\uE62F",
  21745. 'uicon-empty-history': "\uE684",
  21746. 'uicon-empty-list': "\uE68B",
  21747. 'uicon-empty-page': "\uE627",
  21748. 'uicon-empty-order': "\uE639",
  21749. 'uicon-man': "\uE697",
  21750. 'uicon-woman': "\uE69C",
  21751. 'uicon-man-add': "\uE61C",
  21752. 'uicon-man-add-fill': "\uE64C",
  21753. 'uicon-man-delete': "\uE61A",
  21754. 'uicon-man-delete-fill': "\uE66A",
  21755. 'uicon-zh': "\uE70A",
  21756. 'uicon-en': "\uE692"
  21757. };
  21758. exports.default = _default;
  21759. /***/ }),
  21760. /* 437 */
  21761. /*!*******************************************************************************************************************************************************!*\
  21762. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-icon/props.js ***!
  21763. \*******************************************************************************************************************************************************/
  21764. /*! no static exports found */
  21765. /***/ (function(module, exports, __webpack_require__) {
  21766. "use strict";
  21767. /* WEBPACK VAR INJECTION */(function(uni) {
  21768. Object.defineProperty(exports, "__esModule", {
  21769. value: true
  21770. });
  21771. exports.default = void 0;
  21772. var _default = {
  21773. props: {
  21774. // 图标类名
  21775. name: {
  21776. type: String,
  21777. default: uni.$u.props.icon.name
  21778. },
  21779. // 图标颜色,可接受主题色
  21780. color: {
  21781. type: String,
  21782. default: uni.$u.props.icon.color
  21783. },
  21784. // 字体大小,单位px
  21785. size: {
  21786. type: [String, Number],
  21787. default: uni.$u.props.icon.size
  21788. },
  21789. // 是否显示粗体
  21790. bold: {
  21791. type: Boolean,
  21792. default: uni.$u.props.icon.bold
  21793. },
  21794. // 点击图标的时候传递事件出去的index(用于区分点击了哪一个)
  21795. index: {
  21796. type: [String, Number],
  21797. default: uni.$u.props.icon.index
  21798. },
  21799. // 触摸图标时的类名
  21800. hoverClass: {
  21801. type: String,
  21802. default: uni.$u.props.icon.hoverClass
  21803. },
  21804. // 自定义扩展前缀,方便用户扩展自己的图标库
  21805. customPrefix: {
  21806. type: String,
  21807. default: uni.$u.props.icon.customPrefix
  21808. },
  21809. // 图标右边或者下面的文字
  21810. label: {
  21811. type: [String, Number],
  21812. default: uni.$u.props.icon.label
  21813. },
  21814. // label的位置,只能右边或者下边
  21815. labelPos: {
  21816. type: String,
  21817. default: uni.$u.props.icon.labelPos
  21818. },
  21819. // label的大小
  21820. labelSize: {
  21821. type: [String, Number],
  21822. default: uni.$u.props.icon.labelSize
  21823. },
  21824. // label的颜色
  21825. labelColor: {
  21826. type: String,
  21827. default: uni.$u.props.icon.labelColor
  21828. },
  21829. // label与图标的距离
  21830. space: {
  21831. type: [String, Number],
  21832. default: uni.$u.props.icon.space
  21833. },
  21834. // 图片的mode
  21835. imgMode: {
  21836. type: String,
  21837. default: uni.$u.props.icon.imgMode
  21838. },
  21839. // 用于显示图片小图标时,图片的宽度
  21840. width: {
  21841. type: [String, Number],
  21842. default: uni.$u.props.icon.width
  21843. },
  21844. // 用于显示图片小图标时,图片的高度
  21845. height: {
  21846. type: [String, Number],
  21847. default: uni.$u.props.icon.height
  21848. },
  21849. // 用于解决某些情况下,让图标垂直居中的用途
  21850. top: {
  21851. type: [String, Number],
  21852. default: uni.$u.props.icon.top
  21853. },
  21854. // 是否阻止事件传播
  21855. stop: {
  21856. type: Boolean,
  21857. default: uni.$u.props.icon.stop
  21858. }
  21859. }
  21860. };
  21861. exports.default = _default;
  21862. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21863. /***/ }),
  21864. /* 438 */,
  21865. /* 439 */,
  21866. /* 440 */,
  21867. /* 441 */,
  21868. /* 442 */,
  21869. /* 443 */,
  21870. /* 444 */,
  21871. /* 445 */,
  21872. /* 446 */,
  21873. /* 447 */,
  21874. /* 448 */,
  21875. /* 449 */,
  21876. /* 450 */,
  21877. /* 451 */,
  21878. /* 452 */
  21879. /*!**********************************************************************************************************************************************************!*\
  21880. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-overlay/props.js ***!
  21881. \**********************************************************************************************************************************************************/
  21882. /*! no static exports found */
  21883. /***/ (function(module, exports, __webpack_require__) {
  21884. "use strict";
  21885. /* WEBPACK VAR INJECTION */(function(uni) {
  21886. Object.defineProperty(exports, "__esModule", {
  21887. value: true
  21888. });
  21889. exports.default = void 0;
  21890. var _default = {
  21891. props: {
  21892. // 是否显示遮罩
  21893. show: {
  21894. type: Boolean,
  21895. default: uni.$u.props.overlay.show
  21896. },
  21897. // 层级z-index
  21898. zIndex: {
  21899. type: [String, Number],
  21900. default: uni.$u.props.overlay.zIndex
  21901. },
  21902. // 遮罩的过渡时间,单位为ms
  21903. duration: {
  21904. type: [String, Number],
  21905. default: uni.$u.props.overlay.duration
  21906. },
  21907. // 不透明度值,当做rgba的第四个参数
  21908. opacity: {
  21909. type: [String, Number],
  21910. default: uni.$u.props.overlay.opacity
  21911. }
  21912. }
  21913. };
  21914. exports.default = _default;
  21915. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21916. /***/ }),
  21917. /* 453 */,
  21918. /* 454 */,
  21919. /* 455 */,
  21920. /* 456 */,
  21921. /* 457 */,
  21922. /* 458 */,
  21923. /* 459 */,
  21924. /* 460 */
  21925. /*!***************************************************************************************************************************************************************!*\
  21926. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-loading-icon/props.js ***!
  21927. \***************************************************************************************************************************************************************/
  21928. /*! no static exports found */
  21929. /***/ (function(module, exports, __webpack_require__) {
  21930. "use strict";
  21931. /* WEBPACK VAR INJECTION */(function(uni) {
  21932. Object.defineProperty(exports, "__esModule", {
  21933. value: true
  21934. });
  21935. exports.default = void 0;
  21936. var _default = {
  21937. props: {
  21938. // 是否显示组件
  21939. show: {
  21940. type: Boolean,
  21941. default: uni.$u.props.loadingIcon.show
  21942. },
  21943. // 颜色
  21944. color: {
  21945. type: String,
  21946. default: uni.$u.props.loadingIcon.color
  21947. },
  21948. // 提示文字颜色
  21949. textColor: {
  21950. type: String,
  21951. default: uni.$u.props.loadingIcon.textColor
  21952. },
  21953. // 文字和图标是否垂直排列
  21954. vertical: {
  21955. type: Boolean,
  21956. default: uni.$u.props.loadingIcon.vertical
  21957. },
  21958. // 模式选择,circle-圆形,spinner-花朵形,semicircle-半圆形
  21959. mode: {
  21960. type: String,
  21961. default: uni.$u.props.loadingIcon.mode
  21962. },
  21963. // 图标大小,单位默认px
  21964. size: {
  21965. type: [String, Number],
  21966. default: uni.$u.props.loadingIcon.size
  21967. },
  21968. // 文字大小
  21969. textSize: {
  21970. type: [String, Number],
  21971. default: uni.$u.props.loadingIcon.textSize
  21972. },
  21973. // 文字内容
  21974. text: {
  21975. type: [String, Number],
  21976. default: uni.$u.props.loadingIcon.text
  21977. },
  21978. // 动画模式
  21979. timingFunction: {
  21980. type: String,
  21981. default: uni.$u.props.loadingIcon.timingFunction
  21982. },
  21983. // 动画执行周期时间
  21984. duration: {
  21985. type: [String, Number],
  21986. default: uni.$u.props.loadingIcon.duration
  21987. },
  21988. // mode=circle时的暗边颜色
  21989. inactiveColor: {
  21990. type: String,
  21991. default: uni.$u.props.loadingIcon.inactiveColor
  21992. }
  21993. }
  21994. };
  21995. exports.default = _default;
  21996. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21997. /***/ }),
  21998. /* 461 */,
  21999. /* 462 */,
  22000. /* 463 */,
  22001. /* 464 */,
  22002. /* 465 */,
  22003. /* 466 */,
  22004. /* 467 */,
  22005. /* 468 */
  22006. /*!******************************************************************************************************************************************************!*\
  22007. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-gap/props.js ***!
  22008. \******************************************************************************************************************************************************/
  22009. /*! no static exports found */
  22010. /***/ (function(module, exports, __webpack_require__) {
  22011. "use strict";
  22012. /* WEBPACK VAR INJECTION */(function(uni) {
  22013. Object.defineProperty(exports, "__esModule", {
  22014. value: true
  22015. });
  22016. exports.default = void 0;
  22017. var _default = {
  22018. props: {
  22019. // 背景颜色(默认transparent)
  22020. bgColor: {
  22021. type: String,
  22022. default: uni.$u.props.gap.bgColor
  22023. },
  22024. // 分割槽高度,单位px(默认30)
  22025. height: {
  22026. type: [String, Number],
  22027. default: uni.$u.props.gap.height
  22028. },
  22029. // 与上一个组件的距离
  22030. marginTop: {
  22031. type: [String, Number],
  22032. default: uni.$u.props.gap.marginTop
  22033. },
  22034. // 与下一个组件的距离
  22035. marginBottom: {
  22036. type: [String, Number],
  22037. default: uni.$u.props.gap.marginBottom
  22038. }
  22039. }
  22040. };
  22041. exports.default = _default;
  22042. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22043. /***/ }),
  22044. /* 469 */,
  22045. /* 470 */,
  22046. /* 471 */,
  22047. /* 472 */,
  22048. /* 473 */,
  22049. /* 474 */,
  22050. /* 475 */,
  22051. /* 476 */
  22052. /*!*******************************************************************************************************************************************************!*\
  22053. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-line/props.js ***!
  22054. \*******************************************************************************************************************************************************/
  22055. /*! no static exports found */
  22056. /***/ (function(module, exports, __webpack_require__) {
  22057. "use strict";
  22058. /* WEBPACK VAR INJECTION */(function(uni) {
  22059. Object.defineProperty(exports, "__esModule", {
  22060. value: true
  22061. });
  22062. exports.default = void 0;
  22063. var _default = {
  22064. props: {
  22065. color: {
  22066. type: String,
  22067. default: uni.$u.props.line.color
  22068. },
  22069. // 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等
  22070. length: {
  22071. type: [String, Number],
  22072. default: uni.$u.props.line.length
  22073. },
  22074. // 线条方向,col-竖向,row-横向
  22075. direction: {
  22076. type: String,
  22077. default: uni.$u.props.line.direction
  22078. },
  22079. // 是否显示细边框
  22080. hairline: {
  22081. type: Boolean,
  22082. default: uni.$u.props.line.hairline
  22083. },
  22084. // 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px"
  22085. margin: {
  22086. type: [String, Number],
  22087. default: uni.$u.props.line.margin
  22088. },
  22089. // 是否虚线,true-虚线,false-实线
  22090. dashed: {
  22091. type: Boolean,
  22092. default: uni.$u.props.line.dashed
  22093. }
  22094. }
  22095. };
  22096. exports.default = _default;
  22097. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22098. /***/ }),
  22099. /* 477 */,
  22100. /* 478 */,
  22101. /* 479 */,
  22102. /* 480 */,
  22103. /* 481 */,
  22104. /* 482 */,
  22105. /* 483 */,
  22106. /* 484 */
  22107. /*!*********************************************************************************************************************************************************!*\
  22108. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/util/async-validator.js ***!
  22109. \*********************************************************************************************************************************************************/
  22110. /*! no static exports found */
  22111. /***/ (function(module, exports, __webpack_require__) {
  22112. "use strict";
  22113. /* WEBPACK VAR INJECTION */(function(process) {
  22114. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  22115. Object.defineProperty(exports, "__esModule", {
  22116. value: true
  22117. });
  22118. exports.default = void 0;
  22119. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  22120. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  22121. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  22122. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  22123. function _extends() {
  22124. _extends = Object.assign || function (target) {
  22125. for (var i = 1; i < arguments.length; i++) {
  22126. var source = arguments[i];
  22127. for (var key in source) {
  22128. if (Object.prototype.hasOwnProperty.call(source, key)) {
  22129. target[key] = source[key];
  22130. }
  22131. }
  22132. }
  22133. return target;
  22134. };
  22135. return _extends.apply(this, arguments);
  22136. }
  22137. /* eslint no-console:0 */
  22138. var formatRegExp = /%[sdj%]/g;
  22139. var warning = function warning() {}; // don't print warning message when in production env or node runtime
  22140. if (typeof process !== 'undefined' && Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
  22141. warning = function warning(type, errors) {
  22142. if (typeof console !== 'undefined' && console.warn) {
  22143. if (errors.every(function (e) {
  22144. return typeof e === 'string';
  22145. })) {
  22146. console.warn(type, errors);
  22147. }
  22148. }
  22149. };
  22150. }
  22151. function convertFieldsError(errors) {
  22152. if (!errors || !errors.length) return null;
  22153. var fields = {};
  22154. errors.forEach(function (error) {
  22155. var field = error.field;
  22156. fields[field] = fields[field] || [];
  22157. fields[field].push(error);
  22158. });
  22159. return fields;
  22160. }
  22161. function format() {
  22162. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  22163. args[_key] = arguments[_key];
  22164. }
  22165. var i = 1;
  22166. var f = args[0];
  22167. var len = args.length;
  22168. if (typeof f === 'function') {
  22169. return f.apply(null, args.slice(1));
  22170. }
  22171. if (typeof f === 'string') {
  22172. var str = String(f).replace(formatRegExp, function (x) {
  22173. if (x === '%%') {
  22174. return '%';
  22175. }
  22176. if (i >= len) {
  22177. return x;
  22178. }
  22179. switch (x) {
  22180. case '%s':
  22181. return String(args[i++]);
  22182. case '%d':
  22183. return Number(args[i++]);
  22184. case '%j':
  22185. try {
  22186. return JSON.stringify(args[i++]);
  22187. } catch (_) {
  22188. return '[Circular]';
  22189. }
  22190. break;
  22191. default:
  22192. return x;
  22193. }
  22194. });
  22195. for (var arg = args[i]; i < len; arg = args[++i]) {
  22196. str += " ".concat(arg);
  22197. }
  22198. return str;
  22199. }
  22200. return f;
  22201. }
  22202. function isNativeStringType(type) {
  22203. return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'pattern';
  22204. }
  22205. function isEmptyValue(value, type) {
  22206. if (value === undefined || value === null) {
  22207. return true;
  22208. }
  22209. if (type === 'array' && Array.isArray(value) && !value.length) {
  22210. return true;
  22211. }
  22212. if (isNativeStringType(type) && typeof value === 'string' && !value) {
  22213. return true;
  22214. }
  22215. return false;
  22216. }
  22217. function asyncParallelArray(arr, func, callback) {
  22218. var results = [];
  22219. var total = 0;
  22220. var arrLength = arr.length;
  22221. function count(errors) {
  22222. results.push.apply(results, errors);
  22223. total++;
  22224. if (total === arrLength) {
  22225. callback(results);
  22226. }
  22227. }
  22228. arr.forEach(function (a) {
  22229. func(a, count);
  22230. });
  22231. }
  22232. function asyncSerialArray(arr, func, callback) {
  22233. var index = 0;
  22234. var arrLength = arr.length;
  22235. function next(errors) {
  22236. if (errors && errors.length) {
  22237. callback(errors);
  22238. return;
  22239. }
  22240. var original = index;
  22241. index += 1;
  22242. if (original < arrLength) {
  22243. func(arr[original], next);
  22244. } else {
  22245. callback([]);
  22246. }
  22247. }
  22248. next([]);
  22249. }
  22250. function flattenObjArr(objArr) {
  22251. var ret = [];
  22252. Object.keys(objArr).forEach(function (k) {
  22253. ret.push.apply(ret, objArr[k]);
  22254. });
  22255. return ret;
  22256. }
  22257. function asyncMap(objArr, option, func, callback) {
  22258. if (option.first) {
  22259. var _pending = new Promise(function (resolve, reject) {
  22260. var next = function next(errors) {
  22261. callback(errors);
  22262. return errors.length ? reject({
  22263. errors: errors,
  22264. fields: convertFieldsError(errors)
  22265. }) : resolve();
  22266. };
  22267. var flattenArr = flattenObjArr(objArr);
  22268. asyncSerialArray(flattenArr, func, next);
  22269. });
  22270. _pending.catch(function (e) {
  22271. return e;
  22272. });
  22273. return _pending;
  22274. }
  22275. var firstFields = option.firstFields || [];
  22276. if (firstFields === true) {
  22277. firstFields = Object.keys(objArr);
  22278. }
  22279. var objArrKeys = Object.keys(objArr);
  22280. var objArrLength = objArrKeys.length;
  22281. var total = 0;
  22282. var results = [];
  22283. var pending = new Promise(function (resolve, reject) {
  22284. var next = function next(errors) {
  22285. results.push.apply(results, errors);
  22286. total++;
  22287. if (total === objArrLength) {
  22288. callback(results);
  22289. return results.length ? reject({
  22290. errors: results,
  22291. fields: convertFieldsError(results)
  22292. }) : resolve();
  22293. }
  22294. };
  22295. if (!objArrKeys.length) {
  22296. callback(results);
  22297. resolve();
  22298. }
  22299. objArrKeys.forEach(function (key) {
  22300. var arr = objArr[key];
  22301. if (firstFields.indexOf(key) !== -1) {
  22302. asyncSerialArray(arr, func, next);
  22303. } else {
  22304. asyncParallelArray(arr, func, next);
  22305. }
  22306. });
  22307. });
  22308. pending.catch(function (e) {
  22309. return e;
  22310. });
  22311. return pending;
  22312. }
  22313. function complementError(rule) {
  22314. return function (oe) {
  22315. if (oe && oe.message) {
  22316. oe.field = oe.field || rule.fullField;
  22317. return oe;
  22318. }
  22319. return {
  22320. message: typeof oe === 'function' ? oe() : oe,
  22321. field: oe.field || rule.fullField
  22322. };
  22323. };
  22324. }
  22325. function deepMerge(target, source) {
  22326. if (source) {
  22327. for (var s in source) {
  22328. if (source.hasOwnProperty(s)) {
  22329. var value = source[s];
  22330. if ((0, _typeof2.default)(value) === 'object' && (0, _typeof2.default)(target[s]) === 'object') {
  22331. target[s] = _objectSpread(_objectSpread({}, target[s]), value);
  22332. } else {
  22333. target[s] = value;
  22334. }
  22335. }
  22336. }
  22337. }
  22338. return target;
  22339. }
  22340. /**
  22341. * Rule for validating required fields.
  22342. *
  22343. * @param rule The validation rule.
  22344. * @param value The value of the field on the source object.
  22345. * @param source The source object being validated.
  22346. * @param errors An array of errors that this rule may add
  22347. * validation errors to.
  22348. * @param options The validation options.
  22349. * @param options.messages The validation messages.
  22350. */
  22351. function required(rule, value, source, errors, options, type) {
  22352. if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {
  22353. errors.push(format(options.messages.required, rule.fullField));
  22354. }
  22355. }
  22356. /**
  22357. * Rule for validating whitespace.
  22358. *
  22359. * @param rule The validation rule.
  22360. * @param value The value of the field on the source object.
  22361. * @param source The source object being validated.
  22362. * @param errors An array of errors that this rule may add
  22363. * validation errors to.
  22364. * @param options The validation options.
  22365. * @param options.messages The validation messages.
  22366. */
  22367. function whitespace(rule, value, source, errors, options) {
  22368. if (/^\s+$/.test(value) || value === '') {
  22369. errors.push(format(options.messages.whitespace, rule.fullField));
  22370. }
  22371. }
  22372. /* eslint max-len:0 */
  22373. var pattern = {
  22374. // http://emailregex.com/
  22375. email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
  22376. url: new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$", 'i'),
  22377. hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
  22378. };
  22379. var types = {
  22380. integer: function integer(value) {
  22381. return /^(-)?\d+$/.test(value);
  22382. },
  22383. float: function float(value) {
  22384. return /^(-)?\d+(\.\d+)?$/.test(value);
  22385. },
  22386. array: function array(value) {
  22387. return Array.isArray(value);
  22388. },
  22389. regexp: function regexp(value) {
  22390. if (value instanceof RegExp) {
  22391. return true;
  22392. }
  22393. try {
  22394. return !!new RegExp(value);
  22395. } catch (e) {
  22396. return false;
  22397. }
  22398. },
  22399. date: function date(value) {
  22400. return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function';
  22401. },
  22402. number: function number(value) {
  22403. if (isNaN(value)) {
  22404. return false;
  22405. }
  22406. // 修改源码,将字符串数值先转为数值
  22407. return typeof +value === 'number';
  22408. },
  22409. object: function object(value) {
  22410. return (0, _typeof2.default)(value) === 'object' && !types.array(value);
  22411. },
  22412. method: function method(value) {
  22413. return typeof value === 'function';
  22414. },
  22415. email: function email(value) {
  22416. return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;
  22417. },
  22418. url: function url(value) {
  22419. return typeof value === 'string' && !!value.match(pattern.url);
  22420. },
  22421. hex: function hex(value) {
  22422. return typeof value === 'string' && !!value.match(pattern.hex);
  22423. }
  22424. };
  22425. /**
  22426. * Rule for validating the type of a value.
  22427. *
  22428. * @param rule The validation rule.
  22429. * @param value The value of the field on the source object.
  22430. * @param source The source object being validated.
  22431. * @param errors An array of errors that this rule may add
  22432. * validation errors to.
  22433. * @param options The validation options.
  22434. * @param options.messages The validation messages.
  22435. */
  22436. function type(rule, value, source, errors, options) {
  22437. if (rule.required && value === undefined) {
  22438. required(rule, value, source, errors, options);
  22439. return;
  22440. }
  22441. var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];
  22442. var ruleType = rule.type;
  22443. if (custom.indexOf(ruleType) > -1) {
  22444. if (!types[ruleType](value)) {
  22445. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  22446. } // straight typeof check
  22447. } else if (ruleType && (0, _typeof2.default)(value) !== rule.type) {
  22448. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  22449. }
  22450. }
  22451. /**
  22452. * Rule for validating minimum and maximum allowed values.
  22453. *
  22454. * @param rule The validation rule.
  22455. * @param value The value of the field on the source object.
  22456. * @param source The source object being validated.
  22457. * @param errors An array of errors that this rule may add
  22458. * validation errors to.
  22459. * @param options The validation options.
  22460. * @param options.messages The validation messages.
  22461. */
  22462. function range(rule, value, source, errors, options) {
  22463. var len = typeof rule.len === 'number';
  22464. var min = typeof rule.min === 'number';
  22465. var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)
  22466. var spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
  22467. var val = value;
  22468. var key = null;
  22469. var num = typeof value === 'number';
  22470. var str = typeof value === 'string';
  22471. var arr = Array.isArray(value);
  22472. if (num) {
  22473. key = 'number';
  22474. } else if (str) {
  22475. key = 'string';
  22476. } else if (arr) {
  22477. key = 'array';
  22478. } // if the value is not of a supported type for range validation
  22479. // the validation rule rule should use the
  22480. // type property to also test for a particular type
  22481. if (!key) {
  22482. return false;
  22483. }
  22484. if (arr) {
  22485. val = value.length;
  22486. }
  22487. if (str) {
  22488. // 处理码点大于U+010000的文字length属性不准确的bug,如"𠮷𠮷𠮷".lenght !== 3
  22489. val = value.replace(spRegexp, '_').length;
  22490. }
  22491. if (len) {
  22492. if (val !== rule.len) {
  22493. errors.push(format(options.messages[key].len, rule.fullField, rule.len));
  22494. }
  22495. } else if (min && !max && val < rule.min) {
  22496. errors.push(format(options.messages[key].min, rule.fullField, rule.min));
  22497. } else if (max && !min && val > rule.max) {
  22498. errors.push(format(options.messages[key].max, rule.fullField, rule.max));
  22499. } else if (min && max && (val < rule.min || val > rule.max)) {
  22500. errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));
  22501. }
  22502. }
  22503. var ENUM = 'enum';
  22504. /**
  22505. * Rule for validating a value exists in an enumerable list.
  22506. *
  22507. * @param rule The validation rule.
  22508. * @param value The value of the field on the source object.
  22509. * @param source The source object being validated.
  22510. * @param errors An array of errors that this rule may add
  22511. * validation errors to.
  22512. * @param options The validation options.
  22513. * @param options.messages The validation messages.
  22514. */
  22515. function enumerable(rule, value, source, errors, options) {
  22516. rule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : [];
  22517. if (rule[ENUM].indexOf(value) === -1) {
  22518. errors.push(format(options.messages[ENUM], rule.fullField, rule[ENUM].join(', ')));
  22519. }
  22520. }
  22521. /**
  22522. * Rule for validating a regular expression pattern.
  22523. *
  22524. * @param rule The validation rule.
  22525. * @param value The value of the field on the source object.
  22526. * @param source The source object being validated.
  22527. * @param errors An array of errors that this rule may add
  22528. * validation errors to.
  22529. * @param options The validation options.
  22530. * @param options.messages The validation messages.
  22531. */
  22532. function pattern$1(rule, value, source, errors, options) {
  22533. if (rule.pattern) {
  22534. if (rule.pattern instanceof RegExp) {
  22535. // if a RegExp instance is passed, reset `lastIndex` in case its `global`
  22536. // flag is accidentally set to `true`, which in a validation scenario
  22537. // is not necessary and the result might be misleading
  22538. rule.pattern.lastIndex = 0;
  22539. if (!rule.pattern.test(value)) {
  22540. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  22541. }
  22542. } else if (typeof rule.pattern === 'string') {
  22543. var _pattern = new RegExp(rule.pattern);
  22544. if (!_pattern.test(value)) {
  22545. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  22546. }
  22547. }
  22548. }
  22549. }
  22550. var rules = {
  22551. required: required,
  22552. whitespace: whitespace,
  22553. type: type,
  22554. range: range,
  22555. enum: enumerable,
  22556. pattern: pattern$1
  22557. };
  22558. /**
  22559. * Performs validation for string types.
  22560. *
  22561. * @param rule The validation rule.
  22562. * @param value The value of the field on the source object.
  22563. * @param callback The callback function.
  22564. * @param source The source object being validated.
  22565. * @param options The validation options.
  22566. * @param options.messages The validation messages.
  22567. */
  22568. function string(rule, value, callback, source, options) {
  22569. var errors = [];
  22570. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22571. if (validate) {
  22572. if (isEmptyValue(value, 'string') && !rule.required) {
  22573. return callback();
  22574. }
  22575. rules.required(rule, value, source, errors, options, 'string');
  22576. if (!isEmptyValue(value, 'string')) {
  22577. rules.type(rule, value, source, errors, options);
  22578. rules.range(rule, value, source, errors, options);
  22579. rules.pattern(rule, value, source, errors, options);
  22580. if (rule.whitespace === true) {
  22581. rules.whitespace(rule, value, source, errors, options);
  22582. }
  22583. }
  22584. }
  22585. callback(errors);
  22586. }
  22587. /**
  22588. * Validates a function.
  22589. *
  22590. * @param rule The validation rule.
  22591. * @param value The value of the field on the source object.
  22592. * @param callback The callback function.
  22593. * @param source The source object being validated.
  22594. * @param options The validation options.
  22595. * @param options.messages The validation messages.
  22596. */
  22597. function method(rule, value, callback, source, options) {
  22598. var errors = [];
  22599. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22600. if (validate) {
  22601. if (isEmptyValue(value) && !rule.required) {
  22602. return callback();
  22603. }
  22604. rules.required(rule, value, source, errors, options);
  22605. if (value !== undefined) {
  22606. rules.type(rule, value, source, errors, options);
  22607. }
  22608. }
  22609. callback(errors);
  22610. }
  22611. /**
  22612. * Validates a number.
  22613. *
  22614. * @param rule The validation rule.
  22615. * @param value The value of the field on the source object.
  22616. * @param callback The callback function.
  22617. * @param source The source object being validated.
  22618. * @param options The validation options.
  22619. * @param options.messages The validation messages.
  22620. */
  22621. function number(rule, value, callback, source, options) {
  22622. var errors = [];
  22623. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22624. if (validate) {
  22625. if (value === '') {
  22626. value = undefined;
  22627. }
  22628. if (isEmptyValue(value) && !rule.required) {
  22629. return callback();
  22630. }
  22631. rules.required(rule, value, source, errors, options);
  22632. if (value !== undefined) {
  22633. rules.type(rule, value, source, errors, options);
  22634. rules.range(rule, value, source, errors, options);
  22635. }
  22636. }
  22637. callback(errors);
  22638. }
  22639. /**
  22640. * Validates a boolean.
  22641. *
  22642. * @param rule The validation rule.
  22643. * @param value The value of the field on the source object.
  22644. * @param callback The callback function.
  22645. * @param source The source object being validated.
  22646. * @param options The validation options.
  22647. * @param options.messages The validation messages.
  22648. */
  22649. function _boolean(rule, value, callback, source, options) {
  22650. var errors = [];
  22651. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22652. if (validate) {
  22653. if (isEmptyValue(value) && !rule.required) {
  22654. return callback();
  22655. }
  22656. rules.required(rule, value, source, errors, options);
  22657. if (value !== undefined) {
  22658. rules.type(rule, value, source, errors, options);
  22659. }
  22660. }
  22661. callback(errors);
  22662. }
  22663. /**
  22664. * Validates the regular expression type.
  22665. *
  22666. * @param rule The validation rule.
  22667. * @param value The value of the field on the source object.
  22668. * @param callback The callback function.
  22669. * @param source The source object being validated.
  22670. * @param options The validation options.
  22671. * @param options.messages The validation messages.
  22672. */
  22673. function regexp(rule, value, callback, source, options) {
  22674. var errors = [];
  22675. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22676. if (validate) {
  22677. if (isEmptyValue(value) && !rule.required) {
  22678. return callback();
  22679. }
  22680. rules.required(rule, value, source, errors, options);
  22681. if (!isEmptyValue(value)) {
  22682. rules.type(rule, value, source, errors, options);
  22683. }
  22684. }
  22685. callback(errors);
  22686. }
  22687. /**
  22688. * Validates a number is an integer.
  22689. *
  22690. * @param rule The validation rule.
  22691. * @param value The value of the field on the source object.
  22692. * @param callback The callback function.
  22693. * @param source The source object being validated.
  22694. * @param options The validation options.
  22695. * @param options.messages The validation messages.
  22696. */
  22697. function integer(rule, value, callback, source, options) {
  22698. var errors = [];
  22699. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22700. if (validate) {
  22701. if (isEmptyValue(value) && !rule.required) {
  22702. return callback();
  22703. }
  22704. rules.required(rule, value, source, errors, options);
  22705. if (value !== undefined) {
  22706. rules.type(rule, value, source, errors, options);
  22707. rules.range(rule, value, source, errors, options);
  22708. }
  22709. }
  22710. callback(errors);
  22711. }
  22712. /**
  22713. * Validates a number is a floating point number.
  22714. *
  22715. * @param rule The validation rule.
  22716. * @param value The value of the field on the source object.
  22717. * @param callback The callback function.
  22718. * @param source The source object being validated.
  22719. * @param options The validation options.
  22720. * @param options.messages The validation messages.
  22721. */
  22722. function floatFn(rule, value, callback, source, options) {
  22723. var errors = [];
  22724. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22725. if (validate) {
  22726. if (isEmptyValue(value) && !rule.required) {
  22727. return callback();
  22728. }
  22729. rules.required(rule, value, source, errors, options);
  22730. if (value !== undefined) {
  22731. rules.type(rule, value, source, errors, options);
  22732. rules.range(rule, value, source, errors, options);
  22733. }
  22734. }
  22735. callback(errors);
  22736. }
  22737. /**
  22738. * Validates an array.
  22739. *
  22740. * @param rule The validation rule.
  22741. * @param value The value of the field on the source object.
  22742. * @param callback The callback function.
  22743. * @param source The source object being validated.
  22744. * @param options The validation options.
  22745. * @param options.messages The validation messages.
  22746. */
  22747. function array(rule, value, callback, source, options) {
  22748. var errors = [];
  22749. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22750. if (validate) {
  22751. if (isEmptyValue(value, 'array') && !rule.required) {
  22752. return callback();
  22753. }
  22754. rules.required(rule, value, source, errors, options, 'array');
  22755. if (!isEmptyValue(value, 'array')) {
  22756. rules.type(rule, value, source, errors, options);
  22757. rules.range(rule, value, source, errors, options);
  22758. }
  22759. }
  22760. callback(errors);
  22761. }
  22762. /**
  22763. * Validates an object.
  22764. *
  22765. * @param rule The validation rule.
  22766. * @param value The value of the field on the source object.
  22767. * @param callback The callback function.
  22768. * @param source The source object being validated.
  22769. * @param options The validation options.
  22770. * @param options.messages The validation messages.
  22771. */
  22772. function object(rule, value, callback, source, options) {
  22773. var errors = [];
  22774. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22775. if (validate) {
  22776. if (isEmptyValue(value) && !rule.required) {
  22777. return callback();
  22778. }
  22779. rules.required(rule, value, source, errors, options);
  22780. if (value !== undefined) {
  22781. rules.type(rule, value, source, errors, options);
  22782. }
  22783. }
  22784. callback(errors);
  22785. }
  22786. var ENUM$1 = 'enum';
  22787. /**
  22788. * Validates an enumerable list.
  22789. *
  22790. * @param rule The validation rule.
  22791. * @param value The value of the field on the source object.
  22792. * @param callback The callback function.
  22793. * @param source The source object being validated.
  22794. * @param options The validation options.
  22795. * @param options.messages The validation messages.
  22796. */
  22797. function enumerable$1(rule, value, callback, source, options) {
  22798. var errors = [];
  22799. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22800. if (validate) {
  22801. if (isEmptyValue(value) && !rule.required) {
  22802. return callback();
  22803. }
  22804. rules.required(rule, value, source, errors, options);
  22805. if (value !== undefined) {
  22806. rules[ENUM$1](rule, value, source, errors, options);
  22807. }
  22808. }
  22809. callback(errors);
  22810. }
  22811. /**
  22812. * Validates a regular expression pattern.
  22813. *
  22814. * Performs validation when a rule only contains
  22815. * a pattern property but is not declared as a string type.
  22816. *
  22817. * @param rule The validation rule.
  22818. * @param value The value of the field on the source object.
  22819. * @param callback The callback function.
  22820. * @param source The source object being validated.
  22821. * @param options The validation options.
  22822. * @param options.messages The validation messages.
  22823. */
  22824. function pattern$2(rule, value, callback, source, options) {
  22825. var errors = [];
  22826. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22827. if (validate) {
  22828. if (isEmptyValue(value, 'string') && !rule.required) {
  22829. return callback();
  22830. }
  22831. rules.required(rule, value, source, errors, options);
  22832. if (!isEmptyValue(value, 'string')) {
  22833. rules.pattern(rule, value, source, errors, options);
  22834. }
  22835. }
  22836. callback(errors);
  22837. }
  22838. function date(rule, value, callback, source, options) {
  22839. var errors = [];
  22840. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22841. if (validate) {
  22842. if (isEmptyValue(value) && !rule.required) {
  22843. return callback();
  22844. }
  22845. rules.required(rule, value, source, errors, options);
  22846. if (!isEmptyValue(value)) {
  22847. var dateObject;
  22848. if (typeof value === 'number') {
  22849. dateObject = new Date(value);
  22850. } else {
  22851. dateObject = value;
  22852. }
  22853. rules.type(rule, dateObject, source, errors, options);
  22854. if (dateObject) {
  22855. rules.range(rule, dateObject.getTime(), source, errors, options);
  22856. }
  22857. }
  22858. }
  22859. callback(errors);
  22860. }
  22861. function required$1(rule, value, callback, source, options) {
  22862. var errors = [];
  22863. var type = Array.isArray(value) ? 'array' : (0, _typeof2.default)(value);
  22864. rules.required(rule, value, source, errors, options, type);
  22865. callback(errors);
  22866. }
  22867. function type$1(rule, value, callback, source, options) {
  22868. var ruleType = rule.type;
  22869. var errors = [];
  22870. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22871. if (validate) {
  22872. if (isEmptyValue(value, ruleType) && !rule.required) {
  22873. return callback();
  22874. }
  22875. rules.required(rule, value, source, errors, options, ruleType);
  22876. if (!isEmptyValue(value, ruleType)) {
  22877. rules.type(rule, value, source, errors, options);
  22878. }
  22879. }
  22880. callback(errors);
  22881. }
  22882. /**
  22883. * Performs validation for any type.
  22884. *
  22885. * @param rule The validation rule.
  22886. * @param value The value of the field on the source object.
  22887. * @param callback The callback function.
  22888. * @param source The source object being validated.
  22889. * @param options The validation options.
  22890. * @param options.messages The validation messages.
  22891. */
  22892. function any(rule, value, callback, source, options) {
  22893. var errors = [];
  22894. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22895. if (validate) {
  22896. if (isEmptyValue(value) && !rule.required) {
  22897. return callback();
  22898. }
  22899. rules.required(rule, value, source, errors, options);
  22900. }
  22901. callback(errors);
  22902. }
  22903. var validators = {
  22904. string: string,
  22905. method: method,
  22906. number: number,
  22907. boolean: _boolean,
  22908. regexp: regexp,
  22909. integer: integer,
  22910. float: floatFn,
  22911. array: array,
  22912. object: object,
  22913. enum: enumerable$1,
  22914. pattern: pattern$2,
  22915. date: date,
  22916. url: type$1,
  22917. hex: type$1,
  22918. email: type$1,
  22919. required: required$1,
  22920. any: any
  22921. };
  22922. function newMessages() {
  22923. return {
  22924. default: 'Validation error on field %s',
  22925. required: '%s is required',
  22926. enum: '%s must be one of %s',
  22927. whitespace: '%s cannot be empty',
  22928. date: {
  22929. format: '%s date %s is invalid for format %s',
  22930. parse: '%s date could not be parsed, %s is invalid ',
  22931. invalid: '%s date %s is invalid'
  22932. },
  22933. types: {
  22934. string: '%s is not a %s',
  22935. method: '%s is not a %s (function)',
  22936. array: '%s is not an %s',
  22937. object: '%s is not an %s',
  22938. number: '%s is not a %s',
  22939. date: '%s is not a %s',
  22940. boolean: '%s is not a %s',
  22941. integer: '%s is not an %s',
  22942. float: '%s is not a %s',
  22943. regexp: '%s is not a valid %s',
  22944. email: '%s is not a valid %s',
  22945. url: '%s is not a valid %s',
  22946. hex: '%s is not a valid %s'
  22947. },
  22948. string: {
  22949. len: '%s must be exactly %s characters',
  22950. min: '%s must be at least %s characters',
  22951. max: '%s cannot be longer than %s characters',
  22952. range: '%s must be between %s and %s characters'
  22953. },
  22954. number: {
  22955. len: '%s must equal %s',
  22956. min: '%s cannot be less than %s',
  22957. max: '%s cannot be greater than %s',
  22958. range: '%s must be between %s and %s'
  22959. },
  22960. array: {
  22961. len: '%s must be exactly %s in length',
  22962. min: '%s cannot be less than %s in length',
  22963. max: '%s cannot be greater than %s in length',
  22964. range: '%s must be between %s and %s in length'
  22965. },
  22966. pattern: {
  22967. mismatch: '%s value %s does not match pattern %s'
  22968. },
  22969. clone: function clone() {
  22970. var cloned = JSON.parse(JSON.stringify(this));
  22971. cloned.clone = this.clone;
  22972. return cloned;
  22973. }
  22974. };
  22975. }
  22976. var messages = newMessages();
  22977. /**
  22978. * Encapsulates a validation schema.
  22979. *
  22980. * @param descriptor An object declaring validation rules
  22981. * for this schema.
  22982. */
  22983. function Schema(descriptor) {
  22984. this.rules = null;
  22985. this._messages = messages;
  22986. this.define(descriptor);
  22987. }
  22988. Schema.prototype = {
  22989. messages: function messages(_messages) {
  22990. if (_messages) {
  22991. this._messages = deepMerge(newMessages(), _messages);
  22992. }
  22993. return this._messages;
  22994. },
  22995. define: function define(rules) {
  22996. if (!rules) {
  22997. throw new Error('Cannot configure a schema with no rules');
  22998. }
  22999. if ((0, _typeof2.default)(rules) !== 'object' || Array.isArray(rules)) {
  23000. throw new Error('Rules must be an object');
  23001. }
  23002. this.rules = {};
  23003. var z;
  23004. var item;
  23005. for (z in rules) {
  23006. if (rules.hasOwnProperty(z)) {
  23007. item = rules[z];
  23008. this.rules[z] = Array.isArray(item) ? item : [item];
  23009. }
  23010. }
  23011. },
  23012. validate: function validate(source_, o, oc) {
  23013. var _this = this;
  23014. if (o === void 0) {
  23015. o = {};
  23016. }
  23017. if (oc === void 0) {
  23018. oc = function oc() {};
  23019. }
  23020. var source = source_;
  23021. var options = o;
  23022. var callback = oc;
  23023. if (typeof options === 'function') {
  23024. callback = options;
  23025. options = {};
  23026. }
  23027. if (!this.rules || Object.keys(this.rules).length === 0) {
  23028. if (callback) {
  23029. callback();
  23030. }
  23031. return Promise.resolve();
  23032. }
  23033. function complete(results) {
  23034. var i;
  23035. var errors = [];
  23036. var fields = {};
  23037. function add(e) {
  23038. if (Array.isArray(e)) {
  23039. var _errors;
  23040. errors = (_errors = errors).concat.apply(_errors, e);
  23041. } else {
  23042. errors.push(e);
  23043. }
  23044. }
  23045. for (i = 0; i < results.length; i++) {
  23046. add(results[i]);
  23047. }
  23048. if (!errors.length) {
  23049. errors = null;
  23050. fields = null;
  23051. } else {
  23052. fields = convertFieldsError(errors);
  23053. }
  23054. callback(errors, fields);
  23055. }
  23056. if (options.messages) {
  23057. var messages$1 = this.messages();
  23058. if (messages$1 === messages) {
  23059. messages$1 = newMessages();
  23060. }
  23061. deepMerge(messages$1, options.messages);
  23062. options.messages = messages$1;
  23063. } else {
  23064. options.messages = this.messages();
  23065. }
  23066. var arr;
  23067. var value;
  23068. var series = {};
  23069. var keys = options.keys || Object.keys(this.rules);
  23070. keys.forEach(function (z) {
  23071. arr = _this.rules[z];
  23072. value = source[z];
  23073. arr.forEach(function (r) {
  23074. var rule = r;
  23075. if (typeof rule.transform === 'function') {
  23076. if (source === source_) {
  23077. source = _objectSpread({}, source);
  23078. }
  23079. value = source[z] = rule.transform(value);
  23080. }
  23081. if (typeof rule === 'function') {
  23082. rule = {
  23083. validator: rule
  23084. };
  23085. } else {
  23086. rule = _objectSpread({}, rule);
  23087. }
  23088. rule.validator = _this.getValidationMethod(rule);
  23089. rule.field = z;
  23090. rule.fullField = rule.fullField || z;
  23091. rule.type = _this.getType(rule);
  23092. if (!rule.validator) {
  23093. return;
  23094. }
  23095. series[z] = series[z] || [];
  23096. series[z].push({
  23097. rule: rule,
  23098. value: value,
  23099. source: source,
  23100. field: z
  23101. });
  23102. });
  23103. });
  23104. var errorFields = {};
  23105. return asyncMap(series, options, function (data, doIt) {
  23106. var rule = data.rule;
  23107. var deep = (rule.type === 'object' || rule.type === 'array') && ((0, _typeof2.default)(rule.fields) === 'object' || (0, _typeof2.default)(rule.defaultField) === 'object');
  23108. deep = deep && (rule.required || !rule.required && data.value);
  23109. rule.field = data.field;
  23110. function addFullfield(key, schema) {
  23111. return _objectSpread(_objectSpread({}, schema), {}, {
  23112. fullField: "".concat(rule.fullField, ".").concat(key)
  23113. });
  23114. }
  23115. function cb(e) {
  23116. if (e === void 0) {
  23117. e = [];
  23118. }
  23119. var errors = e;
  23120. if (!Array.isArray(errors)) {
  23121. errors = [errors];
  23122. }
  23123. if (!options.suppressWarning && errors.length) {
  23124. Schema.warning('async-validator:', errors);
  23125. }
  23126. if (errors.length && rule.message) {
  23127. errors = [].concat(rule.message);
  23128. }
  23129. errors = errors.map(complementError(rule));
  23130. if (options.first && errors.length) {
  23131. errorFields[rule.field] = 1;
  23132. return doIt(errors);
  23133. }
  23134. if (!deep) {
  23135. doIt(errors);
  23136. } else {
  23137. // if rule is required but the target object
  23138. // does not exist fail at the rule level and don't
  23139. // go deeper
  23140. if (rule.required && !data.value) {
  23141. if (rule.message) {
  23142. errors = [].concat(rule.message).map(complementError(rule));
  23143. } else if (options.error) {
  23144. errors = [options.error(rule, format(options.messages.required, rule.field))];
  23145. } else {
  23146. errors = [];
  23147. }
  23148. return doIt(errors);
  23149. }
  23150. var fieldsSchema = {};
  23151. if (rule.defaultField) {
  23152. for (var k in data.value) {
  23153. if (data.value.hasOwnProperty(k)) {
  23154. fieldsSchema[k] = rule.defaultField;
  23155. }
  23156. }
  23157. }
  23158. fieldsSchema = _objectSpread(_objectSpread({}, fieldsSchema), data.rule.fields);
  23159. for (var f in fieldsSchema) {
  23160. if (fieldsSchema.hasOwnProperty(f)) {
  23161. var fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]];
  23162. fieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f));
  23163. }
  23164. }
  23165. var schema = new Schema(fieldsSchema);
  23166. schema.messages(options.messages);
  23167. if (data.rule.options) {
  23168. data.rule.options.messages = options.messages;
  23169. data.rule.options.error = options.error;
  23170. }
  23171. schema.validate(data.value, data.rule.options || options, function (errs) {
  23172. var finalErrors = [];
  23173. if (errors && errors.length) {
  23174. finalErrors.push.apply(finalErrors, errors);
  23175. }
  23176. if (errs && errs.length) {
  23177. finalErrors.push.apply(finalErrors, errs);
  23178. }
  23179. doIt(finalErrors.length ? finalErrors : null);
  23180. });
  23181. }
  23182. }
  23183. var res;
  23184. if (rule.asyncValidator) {
  23185. res = rule.asyncValidator(rule, data.value, cb, data.source, options);
  23186. } else if (rule.validator) {
  23187. res = rule.validator(rule, data.value, cb, data.source, options);
  23188. if (res === true) {
  23189. cb();
  23190. } else if (res === false) {
  23191. cb(rule.message || "".concat(rule.field, " fails"));
  23192. } else if (res instanceof Array) {
  23193. cb(res);
  23194. } else if (res instanceof Error) {
  23195. cb(res.message);
  23196. }
  23197. }
  23198. if (res && res.then) {
  23199. res.then(function () {
  23200. return cb();
  23201. }, function (e) {
  23202. return cb(e);
  23203. });
  23204. }
  23205. }, function (results) {
  23206. complete(results);
  23207. });
  23208. },
  23209. getType: function getType(rule) {
  23210. if (rule.type === undefined && rule.pattern instanceof RegExp) {
  23211. rule.type = 'pattern';
  23212. }
  23213. if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {
  23214. throw new Error(format('Unknown rule type %s', rule.type));
  23215. }
  23216. return rule.type || 'string';
  23217. },
  23218. getValidationMethod: function getValidationMethod(rule) {
  23219. if (typeof rule.validator === 'function') {
  23220. return rule.validator;
  23221. }
  23222. var keys = Object.keys(rule);
  23223. var messageIndex = keys.indexOf('message');
  23224. if (messageIndex !== -1) {
  23225. keys.splice(messageIndex, 1);
  23226. }
  23227. if (keys.length === 1 && keys[0] === 'required') {
  23228. return validators.required;
  23229. }
  23230. return validators[this.getType(rule)] || false;
  23231. }
  23232. };
  23233. Schema.register = function register(type, validator) {
  23234. if (typeof validator !== 'function') {
  23235. throw new Error('Cannot register a validator by type, validator is not a function');
  23236. }
  23237. validators[type] = validator;
  23238. };
  23239. Schema.warning = warning;
  23240. Schema.messages = messages;
  23241. var _default = Schema; // # sourceMappingURL=index.js.map
  23242. exports.default = _default;
  23243. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js */ 485)))
  23244. /***/ }),
  23245. /* 485 */
  23246. /*!********************************************************!*\
  23247. !*** ./node_modules/node-libs-browser/mock/process.js ***!
  23248. \********************************************************/
  23249. /*! no static exports found */
  23250. /***/ (function(module, exports, __webpack_require__) {
  23251. exports.nextTick = function nextTick(fn) {
  23252. var args = Array.prototype.slice.call(arguments);
  23253. args.shift();
  23254. setTimeout(function () {
  23255. fn.apply(null, args);
  23256. }, 0);
  23257. };
  23258. exports.platform = exports.arch =
  23259. exports.execPath = exports.title = 'browser';
  23260. exports.pid = 1;
  23261. exports.browser = true;
  23262. exports.env = {};
  23263. exports.argv = [];
  23264. exports.binding = function (name) {
  23265. throw new Error('No such module. (Possibly not yet loaded)')
  23266. };
  23267. (function () {
  23268. var cwd = '/';
  23269. var path;
  23270. exports.cwd = function () { return cwd };
  23271. exports.chdir = function (dir) {
  23272. if (!path) path = __webpack_require__(/*! path */ 486);
  23273. cwd = path.resolve(dir, cwd);
  23274. };
  23275. })();
  23276. exports.exit = exports.kill =
  23277. exports.umask = exports.dlopen =
  23278. exports.uptime = exports.memoryUsage =
  23279. exports.uvCounters = function() {};
  23280. exports.features = {};
  23281. /***/ }),
  23282. /* 486 */
  23283. /*!***********************************************!*\
  23284. !*** ./node_modules/path-browserify/index.js ***!
  23285. \***********************************************/
  23286. /*! no static exports found */
  23287. /***/ (function(module, exports, __webpack_require__) {
  23288. /* WEBPACK VAR INJECTION */(function(process) {// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
  23289. // backported and transplited with Babel, with backwards-compat fixes
  23290. // Copyright Joyent, Inc. and other Node contributors.
  23291. //
  23292. // Permission is hereby granted, free of charge, to any person obtaining a
  23293. // copy of this software and associated documentation files (the
  23294. // "Software"), to deal in the Software without restriction, including
  23295. // without limitation the rights to use, copy, modify, merge, publish,
  23296. // distribute, sublicense, and/or sell copies of the Software, and to permit
  23297. // persons to whom the Software is furnished to do so, subject to the
  23298. // following conditions:
  23299. //
  23300. // The above copyright notice and this permission notice shall be included
  23301. // in all copies or substantial portions of the Software.
  23302. //
  23303. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  23304. // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  23305. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  23306. // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  23307. // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  23308. // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  23309. // USE OR OTHER DEALINGS IN THE SOFTWARE.
  23310. // resolves . and .. elements in a path array with directory names there
  23311. // must be no slashes, empty elements, or device names (c:\) in the array
  23312. // (so also no leading and trailing slashes - it does not distinguish
  23313. // relative and absolute paths)
  23314. function normalizeArray(parts, allowAboveRoot) {
  23315. // if the path tries to go above the root, `up` ends up > 0
  23316. var up = 0;
  23317. for (var i = parts.length - 1; i >= 0; i--) {
  23318. var last = parts[i];
  23319. if (last === '.') {
  23320. parts.splice(i, 1);
  23321. } else if (last === '..') {
  23322. parts.splice(i, 1);
  23323. up++;
  23324. } else if (up) {
  23325. parts.splice(i, 1);
  23326. up--;
  23327. }
  23328. }
  23329. // if the path is allowed to go above the root, restore leading ..s
  23330. if (allowAboveRoot) {
  23331. for (; up--; up) {
  23332. parts.unshift('..');
  23333. }
  23334. }
  23335. return parts;
  23336. }
  23337. // path.resolve([from ...], to)
  23338. // posix version
  23339. exports.resolve = function() {
  23340. var resolvedPath = '',
  23341. resolvedAbsolute = false;
  23342. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  23343. var path = (i >= 0) ? arguments[i] : process.cwd();
  23344. // Skip empty and invalid entries
  23345. if (typeof path !== 'string') {
  23346. throw new TypeError('Arguments to path.resolve must be strings');
  23347. } else if (!path) {
  23348. continue;
  23349. }
  23350. resolvedPath = path + '/' + resolvedPath;
  23351. resolvedAbsolute = path.charAt(0) === '/';
  23352. }
  23353. // At this point the path should be resolved to a full absolute path, but
  23354. // handle relative paths to be safe (might happen when process.cwd() fails)
  23355. // Normalize the path
  23356. resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
  23357. return !!p;
  23358. }), !resolvedAbsolute).join('/');
  23359. return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
  23360. };
  23361. // path.normalize(path)
  23362. // posix version
  23363. exports.normalize = function(path) {
  23364. var isAbsolute = exports.isAbsolute(path),
  23365. trailingSlash = substr(path, -1) === '/';
  23366. // Normalize the path
  23367. path = normalizeArray(filter(path.split('/'), function(p) {
  23368. return !!p;
  23369. }), !isAbsolute).join('/');
  23370. if (!path && !isAbsolute) {
  23371. path = '.';
  23372. }
  23373. if (path && trailingSlash) {
  23374. path += '/';
  23375. }
  23376. return (isAbsolute ? '/' : '') + path;
  23377. };
  23378. // posix version
  23379. exports.isAbsolute = function(path) {
  23380. return path.charAt(0) === '/';
  23381. };
  23382. // posix version
  23383. exports.join = function() {
  23384. var paths = Array.prototype.slice.call(arguments, 0);
  23385. return exports.normalize(filter(paths, function(p, index) {
  23386. if (typeof p !== 'string') {
  23387. throw new TypeError('Arguments to path.join must be strings');
  23388. }
  23389. return p;
  23390. }).join('/'));
  23391. };
  23392. // path.relative(from, to)
  23393. // posix version
  23394. exports.relative = function(from, to) {
  23395. from = exports.resolve(from).substr(1);
  23396. to = exports.resolve(to).substr(1);
  23397. function trim(arr) {
  23398. var start = 0;
  23399. for (; start < arr.length; start++) {
  23400. if (arr[start] !== '') break;
  23401. }
  23402. var end = arr.length - 1;
  23403. for (; end >= 0; end--) {
  23404. if (arr[end] !== '') break;
  23405. }
  23406. if (start > end) return [];
  23407. return arr.slice(start, end - start + 1);
  23408. }
  23409. var fromParts = trim(from.split('/'));
  23410. var toParts = trim(to.split('/'));
  23411. var length = Math.min(fromParts.length, toParts.length);
  23412. var samePartsLength = length;
  23413. for (var i = 0; i < length; i++) {
  23414. if (fromParts[i] !== toParts[i]) {
  23415. samePartsLength = i;
  23416. break;
  23417. }
  23418. }
  23419. var outputParts = [];
  23420. for (var i = samePartsLength; i < fromParts.length; i++) {
  23421. outputParts.push('..');
  23422. }
  23423. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  23424. return outputParts.join('/');
  23425. };
  23426. exports.sep = '/';
  23427. exports.delimiter = ':';
  23428. exports.dirname = function (path) {
  23429. if (typeof path !== 'string') path = path + '';
  23430. if (path.length === 0) return '.';
  23431. var code = path.charCodeAt(0);
  23432. var hasRoot = code === 47 /*/*/;
  23433. var end = -1;
  23434. var matchedSlash = true;
  23435. for (var i = path.length - 1; i >= 1; --i) {
  23436. code = path.charCodeAt(i);
  23437. if (code === 47 /*/*/) {
  23438. if (!matchedSlash) {
  23439. end = i;
  23440. break;
  23441. }
  23442. } else {
  23443. // We saw the first non-path separator
  23444. matchedSlash = false;
  23445. }
  23446. }
  23447. if (end === -1) return hasRoot ? '/' : '.';
  23448. if (hasRoot && end === 1) {
  23449. // return '//';
  23450. // Backwards-compat fix:
  23451. return '/';
  23452. }
  23453. return path.slice(0, end);
  23454. };
  23455. function basename(path) {
  23456. if (typeof path !== 'string') path = path + '';
  23457. var start = 0;
  23458. var end = -1;
  23459. var matchedSlash = true;
  23460. var i;
  23461. for (i = path.length - 1; i >= 0; --i) {
  23462. if (path.charCodeAt(i) === 47 /*/*/) {
  23463. // If we reached a path separator that was not part of a set of path
  23464. // separators at the end of the string, stop now
  23465. if (!matchedSlash) {
  23466. start = i + 1;
  23467. break;
  23468. }
  23469. } else if (end === -1) {
  23470. // We saw the first non-path separator, mark this as the end of our
  23471. // path component
  23472. matchedSlash = false;
  23473. end = i + 1;
  23474. }
  23475. }
  23476. if (end === -1) return '';
  23477. return path.slice(start, end);
  23478. }
  23479. // Uses a mixed approach for backwards-compatibility, as ext behavior changed
  23480. // in new Node.js versions, so only basename() above is backported here
  23481. exports.basename = function (path, ext) {
  23482. var f = basename(path);
  23483. if (ext && f.substr(-1 * ext.length) === ext) {
  23484. f = f.substr(0, f.length - ext.length);
  23485. }
  23486. return f;
  23487. };
  23488. exports.extname = function (path) {
  23489. if (typeof path !== 'string') path = path + '';
  23490. var startDot = -1;
  23491. var startPart = 0;
  23492. var end = -1;
  23493. var matchedSlash = true;
  23494. // Track the state of characters (if any) we see before our first dot and
  23495. // after any path separator we find
  23496. var preDotState = 0;
  23497. for (var i = path.length - 1; i >= 0; --i) {
  23498. var code = path.charCodeAt(i);
  23499. if (code === 47 /*/*/) {
  23500. // If we reached a path separator that was not part of a set of path
  23501. // separators at the end of the string, stop now
  23502. if (!matchedSlash) {
  23503. startPart = i + 1;
  23504. break;
  23505. }
  23506. continue;
  23507. }
  23508. if (end === -1) {
  23509. // We saw the first non-path separator, mark this as the end of our
  23510. // extension
  23511. matchedSlash = false;
  23512. end = i + 1;
  23513. }
  23514. if (code === 46 /*.*/) {
  23515. // If this is our first dot, mark it as the start of our extension
  23516. if (startDot === -1)
  23517. startDot = i;
  23518. else if (preDotState !== 1)
  23519. preDotState = 1;
  23520. } else if (startDot !== -1) {
  23521. // We saw a non-dot and non-path separator before our dot, so we should
  23522. // have a good chance at having a non-empty extension
  23523. preDotState = -1;
  23524. }
  23525. }
  23526. if (startDot === -1 || end === -1 ||
  23527. // We saw a non-dot character immediately before the dot
  23528. preDotState === 0 ||
  23529. // The (right-most) trimmed path component is exactly '..'
  23530. preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
  23531. return '';
  23532. }
  23533. return path.slice(startDot, end);
  23534. };
  23535. function filter (xs, f) {
  23536. if (xs.filter) return xs.filter(f);
  23537. var res = [];
  23538. for (var i = 0; i < xs.length; i++) {
  23539. if (f(xs[i], i, xs)) res.push(xs[i]);
  23540. }
  23541. return res;
  23542. }
  23543. // String.prototype.substr - negative index don't work in IE8
  23544. var substr = 'ab'.substr(-1) === 'b'
  23545. ? function (str, start, len) { return str.substr(start, len) }
  23546. : function (str, start, len) {
  23547. if (start < 0) start = str.length + start;
  23548. return str.substr(start, len);
  23549. }
  23550. ;
  23551. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 485)))
  23552. /***/ }),
  23553. /* 487 */,
  23554. /* 488 */,
  23555. /* 489 */,
  23556. /* 490 */,
  23557. /* 491 */,
  23558. /* 492 */
  23559. /*!**********************************************************************************************************************************************************!*\
  23560. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-toolbar/props.js ***!
  23561. \**********************************************************************************************************************************************************/
  23562. /*! no static exports found */
  23563. /***/ (function(module, exports, __webpack_require__) {
  23564. "use strict";
  23565. /* WEBPACK VAR INJECTION */(function(uni) {
  23566. Object.defineProperty(exports, "__esModule", {
  23567. value: true
  23568. });
  23569. exports.default = void 0;
  23570. var _default = {
  23571. props: {
  23572. // 是否展示工具条
  23573. show: {
  23574. type: Boolean,
  23575. default: uni.$u.props.toolbar.show
  23576. },
  23577. // 取消按钮的文字
  23578. cancelText: {
  23579. type: String,
  23580. default: uni.$u.props.toolbar.cancelText
  23581. },
  23582. // 确认按钮的文字
  23583. confirmText: {
  23584. type: String,
  23585. default: uni.$u.props.toolbar.confirmText
  23586. },
  23587. // 取消按钮的颜色
  23588. cancelColor: {
  23589. type: String,
  23590. default: uni.$u.props.toolbar.cancelColor
  23591. },
  23592. // 确认按钮的颜色
  23593. confirmColor: {
  23594. type: String,
  23595. default: uni.$u.props.toolbar.confirmColor
  23596. },
  23597. // 标题文字
  23598. title: {
  23599. type: String,
  23600. default: uni.$u.props.toolbar.title
  23601. }
  23602. }
  23603. };
  23604. exports.default = _default;
  23605. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23606. /***/ }),
  23607. /* 493 */,
  23608. /* 494 */,
  23609. /* 495 */,
  23610. /* 496 */,
  23611. /* 497 */,
  23612. /* 498 */,
  23613. /* 499 */,
  23614. /* 500 */
  23615. /*!******************************************************************************************************************************************************!*\
  23616. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-row/props.js ***!
  23617. \******************************************************************************************************************************************************/
  23618. /*! no static exports found */
  23619. /***/ (function(module, exports, __webpack_require__) {
  23620. "use strict";
  23621. /* WEBPACK VAR INJECTION */(function(uni) {
  23622. Object.defineProperty(exports, "__esModule", {
  23623. value: true
  23624. });
  23625. exports.default = void 0;
  23626. var _default = {
  23627. props: {
  23628. // 给col添加间距,左右边距各占一半
  23629. gutter: {
  23630. type: [String, Number],
  23631. default: uni.$u.props.row.gutter
  23632. },
  23633. // 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
  23634. justify: {
  23635. type: String,
  23636. default: uni.$u.props.row.justify
  23637. },
  23638. // 垂直对齐方式,可选值为top、center、bottom
  23639. align: {
  23640. type: String,
  23641. default: uni.$u.props.row.align
  23642. }
  23643. }
  23644. };
  23645. exports.default = _default;
  23646. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23647. /***/ }),
  23648. /* 501 */,
  23649. /* 502 */,
  23650. /* 503 */,
  23651. /* 504 */,
  23652. /* 505 */,
  23653. /* 506 */,
  23654. /* 507 */,
  23655. /* 508 */
  23656. /*!******************************************************************************************************************************************************!*\
  23657. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-col/props.js ***!
  23658. \******************************************************************************************************************************************************/
  23659. /*! no static exports found */
  23660. /***/ (function(module, exports, __webpack_require__) {
  23661. "use strict";
  23662. /* WEBPACK VAR INJECTION */(function(uni) {
  23663. Object.defineProperty(exports, "__esModule", {
  23664. value: true
  23665. });
  23666. exports.default = void 0;
  23667. var _default = {
  23668. props: {
  23669. // 占父容器宽度的多少等分,总分为12份
  23670. span: {
  23671. type: [String, Number],
  23672. default: uni.$u.props.col.span
  23673. },
  23674. // 指定栅格左侧的间隔数(总12栏)
  23675. offset: {
  23676. type: [String, Number],
  23677. default: uni.$u.props.col.offset
  23678. },
  23679. // 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
  23680. justify: {
  23681. type: String,
  23682. default: uni.$u.props.col.justify
  23683. },
  23684. // 垂直对齐方式,可选值为top、center、bottom、stretch
  23685. align: {
  23686. type: String,
  23687. default: uni.$u.props.col.align
  23688. },
  23689. // 文字对齐方式
  23690. textAlign: {
  23691. type: String,
  23692. default: uni.$u.props.col.textAlign
  23693. }
  23694. }
  23695. };
  23696. exports.default = _default;
  23697. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23698. /***/ }),
  23699. /* 509 */,
  23700. /* 510 */,
  23701. /* 511 */,
  23702. /* 512 */,
  23703. /* 513 */,
  23704. /* 514 */,
  23705. /* 515 */,
  23706. /* 516 */
  23707. /*!*************************************************************************************************************************************************************!*\
  23708. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/props.js ***!
  23709. \*************************************************************************************************************************************************************/
  23710. /*! no static exports found */
  23711. /***/ (function(module, exports, __webpack_require__) {
  23712. "use strict";
  23713. /* WEBPACK VAR INJECTION */(function(uni) {
  23714. Object.defineProperty(exports, "__esModule", {
  23715. value: true
  23716. });
  23717. exports.default = void 0;
  23718. var _default = {
  23719. props: {
  23720. // 是否展示组件
  23721. show: {
  23722. type: Boolean,
  23723. default: uni.$u.props.transition.show
  23724. },
  23725. // 使用的动画模式
  23726. mode: {
  23727. type: String,
  23728. default: uni.$u.props.transition.mode
  23729. },
  23730. // 动画的执行时间,单位ms
  23731. duration: {
  23732. type: [String, Number],
  23733. default: uni.$u.props.transition.duration
  23734. },
  23735. // 使用的动画过渡函数
  23736. timingFunction: {
  23737. type: String,
  23738. default: uni.$u.props.transition.timingFunction
  23739. }
  23740. }
  23741. };
  23742. exports.default = _default;
  23743. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23744. /***/ }),
  23745. /* 517 */
  23746. /*!******************************************************************************************************************************************************************!*\
  23747. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/transition.js ***!
  23748. \******************************************************************************************************************************************************************/
  23749. /*! no static exports found */
  23750. /***/ (function(module, exports, __webpack_require__) {
  23751. "use strict";
  23752. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23753. Object.defineProperty(exports, "__esModule", {
  23754. value: true
  23755. });
  23756. exports.default = void 0;
  23757. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  23758. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  23759. var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 518));
  23760. // 定义一个一定时间后自动成功的promise,让调用nextTick方法处,进入下一个then方法
  23761. var nextTick = function nextTick() {
  23762. return new Promise(function (resolve) {
  23763. return setTimeout(resolve, 1000 / 50);
  23764. });
  23765. };
  23766. // nvue动画模块实现细节抽离在外部文件
  23767. // 定义类名,通过给元素动态切换类名,赋予元素一定的css动画样式
  23768. var getClassNames = function getClassNames(name) {
  23769. return {
  23770. enter: "u-".concat(name, "-enter u-").concat(name, "-enter-active"),
  23771. 'enter-to': "u-".concat(name, "-enter-to u-").concat(name, "-enter-active"),
  23772. leave: "u-".concat(name, "-leave u-").concat(name, "-leave-active"),
  23773. 'leave-to': "u-".concat(name, "-leave-to u-").concat(name, "-leave-active")
  23774. };
  23775. };
  23776. var _default = {
  23777. methods: {
  23778. // 组件被点击发出事件
  23779. clickHandler: function clickHandler() {
  23780. this.$emit('click');
  23781. },
  23782. // vue版本的组件进场处理
  23783. vueEnter: function vueEnter() {
  23784. var _this = this;
  23785. // 动画进入时的类名
  23786. var classNames = getClassNames(this.mode);
  23787. // 定义状态和发出动画进入前事件
  23788. this.status = 'enter';
  23789. this.$emit('beforeEnter');
  23790. this.inited = true;
  23791. this.display = true;
  23792. this.classes = classNames.enter;
  23793. this.$nextTick( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  23794. return _regenerator.default.wrap(function _callee$(_context) {
  23795. while (1) {
  23796. switch (_context.prev = _context.next) {
  23797. case 0:
  23798. // 标识动画尚未结束
  23799. _this.$emit('enter');
  23800. _this.transitionEnded = false;
  23801. // 组件动画进入后触发的事件
  23802. _this.$emit('afterEnter');
  23803. // 赋予组件enter-to类名
  23804. _this.classes = classNames['enter-to'];
  23805. case 4:
  23806. case "end":
  23807. return _context.stop();
  23808. }
  23809. }
  23810. }, _callee);
  23811. })));
  23812. },
  23813. // 动画离场处理
  23814. vueLeave: function vueLeave() {
  23815. var _this2 = this;
  23816. // 如果不是展示状态,无需执行逻辑
  23817. if (!this.display) return;
  23818. var classNames = getClassNames(this.mode);
  23819. // 标记离开状态和发出事件
  23820. this.status = 'leave';
  23821. this.$emit('beforeLeave');
  23822. // 获得类名
  23823. this.classes = classNames.leave;
  23824. this.$nextTick(function () {
  23825. // 动画正在离场的状态
  23826. _this2.transitionEnded = false;
  23827. _this2.$emit('leave');
  23828. // 组件执行动画,到了执行的执行时间后,执行一些额外处理
  23829. setTimeout(_this2.onTransitionEnd, _this2.duration);
  23830. _this2.classes = classNames['leave-to'];
  23831. });
  23832. },
  23833. // 完成过渡后触发
  23834. onTransitionEnd: function onTransitionEnd() {
  23835. // 如果已经是结束的状态,无需再处理
  23836. if (this.transitionEnded) return;
  23837. this.transitionEnded = true;
  23838. // 发出组件动画执行后的事件
  23839. this.$emit(this.status === 'leave' ? 'afterLeave' : 'afterEnter');
  23840. if (!this.show && this.display) {
  23841. this.display = false;
  23842. this.inited = false;
  23843. }
  23844. }
  23845. }
  23846. };
  23847. exports.default = _default;
  23848. /***/ }),
  23849. /* 518 */
  23850. /*!********************************************************************************************************************************************************************!*\
  23851. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/nvue.ani-map.js ***!
  23852. \********************************************************************************************************************************************************************/
  23853. /*! no static exports found */
  23854. /***/ (function(module, exports, __webpack_require__) {
  23855. "use strict";
  23856. Object.defineProperty(exports, "__esModule", {
  23857. value: true
  23858. });
  23859. exports.default = void 0;
  23860. var _default = {
  23861. fade: {
  23862. enter: {
  23863. opacity: 0
  23864. },
  23865. 'enter-to': {
  23866. opacity: 1
  23867. },
  23868. leave: {
  23869. opacity: 1
  23870. },
  23871. 'leave-to': {
  23872. opacity: 0
  23873. }
  23874. },
  23875. 'fade-up': {
  23876. enter: {
  23877. opacity: 0,
  23878. transform: 'translateY(100%)'
  23879. },
  23880. 'enter-to': {
  23881. opacity: 1,
  23882. transform: 'translateY(0)'
  23883. },
  23884. leave: {
  23885. opacity: 1,
  23886. transform: 'translateY(0)'
  23887. },
  23888. 'leave-to': {
  23889. opacity: 0,
  23890. transform: 'translateY(100%)'
  23891. }
  23892. },
  23893. 'fade-down': {
  23894. enter: {
  23895. opacity: 0,
  23896. transform: 'translateY(-100%)'
  23897. },
  23898. 'enter-to': {
  23899. opacity: 1,
  23900. transform: 'translateY(0)'
  23901. },
  23902. leave: {
  23903. opacity: 1,
  23904. transform: 'translateY(0)'
  23905. },
  23906. 'leave-to': {
  23907. opacity: 0,
  23908. transform: 'translateY(-100%)'
  23909. }
  23910. },
  23911. 'fade-left': {
  23912. enter: {
  23913. opacity: 0,
  23914. transform: 'translateX(-100%)'
  23915. },
  23916. 'enter-to': {
  23917. opacity: 1,
  23918. transform: 'translateY(0)'
  23919. },
  23920. leave: {
  23921. opacity: 1,
  23922. transform: 'translateY(0)'
  23923. },
  23924. 'leave-to': {
  23925. opacity: 0,
  23926. transform: 'translateX(-100%)'
  23927. }
  23928. },
  23929. 'fade-right': {
  23930. enter: {
  23931. opacity: 0,
  23932. transform: 'translateX(100%)'
  23933. },
  23934. 'enter-to': {
  23935. opacity: 1,
  23936. transform: 'translateY(0)'
  23937. },
  23938. leave: {
  23939. opacity: 1,
  23940. transform: 'translateY(0)'
  23941. },
  23942. 'leave-to': {
  23943. opacity: 0,
  23944. transform: 'translateX(100%)'
  23945. }
  23946. },
  23947. 'slide-up': {
  23948. enter: {
  23949. transform: 'translateY(100%)'
  23950. },
  23951. 'enter-to': {
  23952. transform: 'translateY(0)'
  23953. },
  23954. leave: {
  23955. transform: 'translateY(0)'
  23956. },
  23957. 'leave-to': {
  23958. transform: 'translateY(100%)'
  23959. }
  23960. },
  23961. 'slide-down': {
  23962. enter: {
  23963. transform: 'translateY(-100%)'
  23964. },
  23965. 'enter-to': {
  23966. transform: 'translateY(0)'
  23967. },
  23968. leave: {
  23969. transform: 'translateY(0)'
  23970. },
  23971. 'leave-to': {
  23972. transform: 'translateY(-100%)'
  23973. }
  23974. },
  23975. 'slide-left': {
  23976. enter: {
  23977. transform: 'translateX(-100%)'
  23978. },
  23979. 'enter-to': {
  23980. transform: 'translateY(0)'
  23981. },
  23982. leave: {
  23983. transform: 'translateY(0)'
  23984. },
  23985. 'leave-to': {
  23986. transform: 'translateX(-100%)'
  23987. }
  23988. },
  23989. 'slide-right': {
  23990. enter: {
  23991. transform: 'translateX(100%)'
  23992. },
  23993. 'enter-to': {
  23994. transform: 'translateY(0)'
  23995. },
  23996. leave: {
  23997. transform: 'translateY(0)'
  23998. },
  23999. 'leave-to': {
  24000. transform: 'translateX(100%)'
  24001. }
  24002. },
  24003. zoom: {
  24004. enter: {
  24005. transform: 'scale(0.95)'
  24006. },
  24007. 'enter-to': {
  24008. transform: 'scale(1)'
  24009. },
  24010. leave: {
  24011. transform: 'scale(1)'
  24012. },
  24013. 'leave-to': {
  24014. transform: 'scale(0.95)'
  24015. }
  24016. },
  24017. 'fade-zoom': {
  24018. enter: {
  24019. opacity: 0,
  24020. transform: 'scale(0.95)'
  24021. },
  24022. 'enter-to': {
  24023. opacity: 1,
  24024. transform: 'scale(1)'
  24025. },
  24026. leave: {
  24027. opacity: 1,
  24028. transform: 'scale(1)'
  24029. },
  24030. 'leave-to': {
  24031. opacity: 0,
  24032. transform: 'scale(0.95)'
  24033. }
  24034. }
  24035. };
  24036. exports.default = _default;
  24037. /***/ }),
  24038. /* 519 */,
  24039. /* 520 */,
  24040. /* 521 */,
  24041. /* 522 */,
  24042. /* 523 */,
  24043. /* 524 */,
  24044. /* 525 */,
  24045. /* 526 */
  24046. /*!*************************************************************************************************************************************************************!*\
  24047. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-status-bar/props.js ***!
  24048. \*************************************************************************************************************************************************************/
  24049. /*! no static exports found */
  24050. /***/ (function(module, exports, __webpack_require__) {
  24051. "use strict";
  24052. /* WEBPACK VAR INJECTION */(function(uni) {
  24053. Object.defineProperty(exports, "__esModule", {
  24054. value: true
  24055. });
  24056. exports.default = void 0;
  24057. var _default = {
  24058. props: {
  24059. bgColor: {
  24060. type: String,
  24061. default: uni.$u.props.statusBar.bgColor
  24062. }
  24063. }
  24064. };
  24065. exports.default = _default;
  24066. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24067. /***/ }),
  24068. /* 527 */,
  24069. /* 528 */,
  24070. /* 529 */,
  24071. /* 530 */,
  24072. /* 531 */,
  24073. /* 532 */,
  24074. /* 533 */,
  24075. /* 534 */
  24076. /*!**************************************************************************************************************************************************************!*\
  24077. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-safe-bottom/props.js ***!
  24078. \**************************************************************************************************************************************************************/
  24079. /*! no static exports found */
  24080. /***/ (function(module, exports, __webpack_require__) {
  24081. "use strict";
  24082. Object.defineProperty(exports, "__esModule", {
  24083. value: true
  24084. });
  24085. exports.default = void 0;
  24086. var _default = {
  24087. props: {}
  24088. };
  24089. exports.default = _default;
  24090. /***/ }),
  24091. /* 535 */,
  24092. /* 536 */,
  24093. /* 537 */,
  24094. /* 538 */,
  24095. /* 539 */,
  24096. /* 540 */,
  24097. /* 541 */,
  24098. /* 542 */
  24099. /*!*******************************************************************************************************************************************************!*\
  24100. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-text/props.js ***!
  24101. \*******************************************************************************************************************************************************/
  24102. /*! no static exports found */
  24103. /***/ (function(module, exports, __webpack_require__) {
  24104. "use strict";
  24105. /* WEBPACK VAR INJECTION */(function(uni) {
  24106. Object.defineProperty(exports, "__esModule", {
  24107. value: true
  24108. });
  24109. exports.default = void 0;
  24110. var _default = {
  24111. props: {
  24112. // 主题颜色
  24113. type: {
  24114. type: String,
  24115. default: uni.$u.props.text.type
  24116. },
  24117. // 是否显示
  24118. show: {
  24119. type: Boolean,
  24120. default: uni.$u.props.text.show
  24121. },
  24122. // 显示的值
  24123. text: {
  24124. type: [String, Number],
  24125. default: uni.$u.props.text.text
  24126. },
  24127. // 前置图标
  24128. prefixIcon: {
  24129. type: String,
  24130. default: uni.$u.props.text.prefixIcon
  24131. },
  24132. // 后置图标
  24133. suffixIcon: {
  24134. type: String,
  24135. default: uni.$u.props.text.suffixIcon
  24136. },
  24137. // 文本处理的匹配模式
  24138. // text-普通文本,price-价格,phone-手机号,name-姓名,date-日期,link-超链接
  24139. mode: {
  24140. type: String,
  24141. default: uni.$u.props.text.mode
  24142. },
  24143. // mode=link下,配置的链接
  24144. href: {
  24145. type: String,
  24146. default: uni.$u.props.text.href
  24147. },
  24148. // 格式化规则
  24149. format: {
  24150. type: [String, Function],
  24151. default: uni.$u.props.text.format
  24152. },
  24153. // mode=phone时,点击文本是否拨打电话
  24154. call: {
  24155. type: Boolean,
  24156. default: uni.$u.props.text.call
  24157. },
  24158. // 小程序的打开方式
  24159. openType: {
  24160. type: String,
  24161. default: uni.$u.props.text.openType
  24162. },
  24163. // 是否粗体,默认normal
  24164. bold: {
  24165. type: Boolean,
  24166. default: uni.$u.props.text.bold
  24167. },
  24168. // 是否块状
  24169. block: {
  24170. type: Boolean,
  24171. default: uni.$u.props.text.block
  24172. },
  24173. // 文本显示的行数,如果设置,超出此行数,将会显示省略号
  24174. lines: {
  24175. type: [String, Number],
  24176. default: uni.$u.props.text.lines
  24177. },
  24178. // 文本颜色
  24179. color: {
  24180. type: String,
  24181. default: uni.$u.props.text.color
  24182. },
  24183. // 字体大小
  24184. size: {
  24185. type: [String, Number],
  24186. default: uni.$u.props.text.size
  24187. },
  24188. // 图标的样式
  24189. iconStyle: {
  24190. type: [Object, String],
  24191. default: uni.$u.props.text.iconStyle
  24192. },
  24193. // 文字装饰,下划线,中划线等,可选值 none|underline|line-through
  24194. decoration: {
  24195. tepe: String,
  24196. default: uni.$u.props.text.decoration
  24197. },
  24198. // 外边距,对象、字符串,数值形式均可
  24199. margin: {
  24200. type: [Object, String, Number],
  24201. default: uni.$u.props.text.margin
  24202. },
  24203. // 文本行高
  24204. lineHeight: {
  24205. type: [String, Number],
  24206. default: uni.$u.props.text.lineHeight
  24207. },
  24208. // 文本对齐方式,可选值left|center|right
  24209. align: {
  24210. type: String,
  24211. default: uni.$u.props.text.align
  24212. },
  24213. // 文字换行,可选值break-word|normal|anywhere
  24214. wordWrap: {
  24215. type: String,
  24216. default: uni.$u.props.text.wordWrap
  24217. }
  24218. }
  24219. };
  24220. exports.default = _default;
  24221. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24222. /***/ }),
  24223. /* 543 */,
  24224. /* 544 */,
  24225. /* 545 */,
  24226. /* 546 */,
  24227. /* 547 */,
  24228. /* 548 */,
  24229. /* 549 */,
  24230. /* 550 */,
  24231. /* 551 */,
  24232. /* 552 */,
  24233. /* 553 */,
  24234. /* 554 */,
  24235. /* 555 */
  24236. /*!*******************************************************************************************************************************************************!*\
  24237. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-text/value.js ***!
  24238. \*******************************************************************************************************************************************************/
  24239. /*! no static exports found */
  24240. /***/ (function(module, exports, __webpack_require__) {
  24241. "use strict";
  24242. /* WEBPACK VAR INJECTION */(function(uni) {
  24243. Object.defineProperty(exports, "__esModule", {
  24244. value: true
  24245. });
  24246. exports.default = void 0;
  24247. var _default = {
  24248. computed: {
  24249. // 经处理后需要显示的值
  24250. value: function value() {
  24251. var text = this.text,
  24252. mode = this.mode,
  24253. format = this.format,
  24254. href = this.href;
  24255. // 价格类型
  24256. if (mode === 'price') {
  24257. // 如果text不为金额进行提示
  24258. if (!/^\d+(\.\d+)?$/.test(text)) {
  24259. uni.$u.error('金额模式下,text参数需要为金额格式');
  24260. }
  24261. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的金额格式化处理
  24262. if (uni.$u.test.func(format)) {
  24263. // 如果用户传入的是函数,使用函数格式化
  24264. return format(text);
  24265. }
  24266. // 如果format非正则,非函数,则使用默认的金额格式化方法进行操作
  24267. return uni.$u.priceFormat(text, 2);
  24268. }
  24269. if (mode === 'date') {
  24270. // 判断是否合法的日期或者时间戳
  24271. !uni.$u.test.date(text) && uni.$u.error('日期模式下,text参数需要为日期或时间戳格式');
  24272. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的格式化处理
  24273. if (uni.$u.test.func(format)) {
  24274. // 如果用户传入的是函数,使用函数格式化
  24275. return format(text);
  24276. }
  24277. if (format) {
  24278. // 如果format非正则,非函数,则使用默认的时间格式化方法进行操作
  24279. return uni.$u.timeFormat(text, format);
  24280. }
  24281. // 如果没有设置format,则设置为默认的时间格式化形式
  24282. return uni.$u.timeFormat(text, 'yyyy-mm-dd');
  24283. }
  24284. if (mode === 'phone') {
  24285. // 判断是否合法的手机号
  24286. // !uni.$u.test.mobile(text) && uni.$u.error('手机号模式下,text参数需要为手机号码格式')
  24287. if (uni.$u.test.func(format)) {
  24288. // 如果用户传入的是函数,使用函数格式化
  24289. return format(text);
  24290. }
  24291. if (format === 'encrypt') {
  24292. // 如果format为encrypt,则将手机号进行星号加密处理
  24293. return "".concat(text.substr(0, 3), "****").concat(text.substr(7));
  24294. }
  24295. return text;
  24296. }
  24297. if (mode === 'name') {
  24298. // 判断是否合法的字符粗
  24299. !(typeof text === 'string') && uni.$u.error('姓名模式下,text参数需要为字符串格式');
  24300. if (uni.$u.test.func(format)) {
  24301. // 如果用户传入的是函数,使用函数格式化
  24302. return format(text);
  24303. }
  24304. if (format === 'encrypt') {
  24305. // 如果format为encrypt,则将姓名进行星号加密处理
  24306. return this.formatName(text);
  24307. }
  24308. return text;
  24309. }
  24310. if (mode === 'link') {
  24311. // 判断是否合法的字符粗
  24312. !uni.$u.test.url(href) && uni.$u.error('超链接模式下,href参数需要为URL格式');
  24313. return text;
  24314. }
  24315. return text;
  24316. }
  24317. },
  24318. methods: {
  24319. // 默认的姓名脱敏规则
  24320. formatName: function formatName(name) {
  24321. var value = '';
  24322. if (name.length === 2) {
  24323. value = name.substr(0, 1) + '*';
  24324. } else if (name.length > 2) {
  24325. var char = '';
  24326. for (var i = 0, len = name.length - 2; i < len; i++) {
  24327. char += '*';
  24328. }
  24329. value = name.substr(0, 1) + char + name.substr(-1, 1);
  24330. } else {
  24331. value = name;
  24332. }
  24333. return value;
  24334. }
  24335. }
  24336. };
  24337. exports.default = _default;
  24338. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24339. /***/ }),
  24340. /* 556 */,
  24341. /* 557 */,
  24342. /* 558 */,
  24343. /* 559 */,
  24344. /* 560 */,
  24345. /* 561 */,
  24346. /* 562 */,
  24347. /* 563 */
  24348. /*!*******************************************************************************************************************************************************!*\
  24349. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-link/props.js ***!
  24350. \*******************************************************************************************************************************************************/
  24351. /*! no static exports found */
  24352. /***/ (function(module, exports, __webpack_require__) {
  24353. "use strict";
  24354. /* WEBPACK VAR INJECTION */(function(uni) {
  24355. Object.defineProperty(exports, "__esModule", {
  24356. value: true
  24357. });
  24358. exports.default = void 0;
  24359. var _default = {
  24360. props: {
  24361. // 文字颜色
  24362. color: {
  24363. type: String,
  24364. default: uni.$u.props.link.color
  24365. },
  24366. // 字体大小,单位px
  24367. fontSize: {
  24368. type: [String, Number],
  24369. default: uni.$u.props.link.fontSize
  24370. },
  24371. // 是否显示下划线
  24372. underLine: {
  24373. type: Boolean,
  24374. default: uni.$u.props.link.underLine
  24375. },
  24376. // 要跳转的链接
  24377. href: {
  24378. type: String,
  24379. default: uni.$u.props.link.href
  24380. },
  24381. // 小程序中复制到粘贴板的提示语
  24382. mpTips: {
  24383. type: String,
  24384. default: uni.$u.props.link.mpTips
  24385. },
  24386. // 下划线颜色
  24387. lineColor: {
  24388. type: String,
  24389. default: uni.$u.props.link.lineColor
  24390. },
  24391. // 超链接的问题,不使用slot形式传入,是因为nvue下无法修改颜色
  24392. text: {
  24393. type: String,
  24394. default: uni.$u.props.link.text
  24395. }
  24396. }
  24397. };
  24398. exports.default = _default;
  24399. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24400. /***/ })
  24401. ]]);
  24402. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map