vendor.js 899 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481
  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, params) {
  243. return function (data) {
  244. return hook(data, params) || 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, params) {
  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, params));
  256. } else {
  257. var res = hook(data, params);
  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, options).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. // 重新访问 getApiInterceptorHooks, 允许 invoke 中再次调用 addInterceptor,removeInterceptor
  330. return api.apply(void 0, [wrapperOptions(getApiInterceptorHooks(method), options)].concat(params));
  331. });
  332. } else {
  333. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  334. }
  335. }
  336. return api.apply(void 0, [options].concat(params));
  337. }
  338. var promiseInterceptor = {
  339. returnValue: function returnValue(res) {
  340. if (!isPromise(res)) {
  341. return res;
  342. }
  343. return new Promise(function (resolve, reject) {
  344. res.then(function (res) {
  345. if (res[0]) {
  346. reject(res[0]);
  347. } else {
  348. resolve(res[1]);
  349. }
  350. });
  351. });
  352. }
  353. };
  354. 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/;
  355. var CONTEXT_API_RE = /^create|Manager$/;
  356. // Context例外情况
  357. var CONTEXT_API_RE_EXC = ['createBLEConnection'];
  358. // 同步例外情况
  359. var ASYNC_API = ['createBLEConnection', 'createPushMessage'];
  360. var CALLBACK_API_RE = /^on|^off/;
  361. function isContextApi(name) {
  362. return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1;
  363. }
  364. function isSyncApi(name) {
  365. return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1;
  366. }
  367. function isCallbackApi(name) {
  368. return CALLBACK_API_RE.test(name) && name !== 'onPush';
  369. }
  370. function handlePromise(promise) {
  371. return promise.then(function (data) {
  372. return [null, data];
  373. }).catch(function (err) {
  374. return [err];
  375. });
  376. }
  377. function shouldPromise(name) {
  378. if (isContextApi(name) || isSyncApi(name) || isCallbackApi(name)) {
  379. return false;
  380. }
  381. return true;
  382. }
  383. /* eslint-disable no-extend-native */
  384. if (!Promise.prototype.finally) {
  385. Promise.prototype.finally = function (callback) {
  386. var promise = this.constructor;
  387. return this.then(function (value) {
  388. return promise.resolve(callback()).then(function () {
  389. return value;
  390. });
  391. }, function (reason) {
  392. return promise.resolve(callback()).then(function () {
  393. throw reason;
  394. });
  395. });
  396. };
  397. }
  398. function promisify(name, api) {
  399. if (!shouldPromise(name) || !isFn(api)) {
  400. return api;
  401. }
  402. return function promiseApi() {
  403. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  404. for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
  405. params[_key2 - 1] = arguments[_key2];
  406. }
  407. if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {
  408. return wrapperReturnValue(name, invokeApi.apply(void 0, [name, api, options].concat(params)));
  409. }
  410. return wrapperReturnValue(name, handlePromise(new Promise(function (resolve, reject) {
  411. invokeApi.apply(void 0, [name, api, Object.assign({}, options, {
  412. success: resolve,
  413. fail: reject
  414. })].concat(params));
  415. })));
  416. };
  417. }
  418. var EPS = 1e-4;
  419. var BASE_DEVICE_WIDTH = 750;
  420. var isIOS = false;
  421. var deviceWidth = 0;
  422. var deviceDPR = 0;
  423. function checkDeviceWidth() {
  424. var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
  425. platform = _wx$getSystemInfoSync.platform,
  426. pixelRatio = _wx$getSystemInfoSync.pixelRatio,
  427. windowWidth = _wx$getSystemInfoSync.windowWidth; // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni
  428. deviceWidth = windowWidth;
  429. deviceDPR = pixelRatio;
  430. isIOS = platform === 'ios';
  431. }
  432. function upx2px(number, newDeviceWidth) {
  433. if (deviceWidth === 0) {
  434. checkDeviceWidth();
  435. }
  436. number = Number(number);
  437. if (number === 0) {
  438. return 0;
  439. }
  440. var result = number / BASE_DEVICE_WIDTH * (newDeviceWidth || deviceWidth);
  441. if (result < 0) {
  442. result = -result;
  443. }
  444. result = Math.floor(result + EPS);
  445. if (result === 0) {
  446. if (deviceDPR === 1 || !isIOS) {
  447. result = 1;
  448. } else {
  449. result = 0.5;
  450. }
  451. }
  452. return number < 0 ? -result : result;
  453. }
  454. var LOCALE_ZH_HANS = 'zh-Hans';
  455. var LOCALE_ZH_HANT = 'zh-Hant';
  456. var LOCALE_EN = 'en';
  457. var LOCALE_FR = 'fr';
  458. var LOCALE_ES = 'es';
  459. var messages = {};
  460. var locale;
  461. {
  462. locale = normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  463. }
  464. function initI18nMessages() {
  465. if (!isEnableLocale()) {
  466. return;
  467. }
  468. var localeKeys = Object.keys(__uniConfig.locales);
  469. if (localeKeys.length) {
  470. localeKeys.forEach(function (locale) {
  471. var curMessages = messages[locale];
  472. var userMessages = __uniConfig.locales[locale];
  473. if (curMessages) {
  474. Object.assign(curMessages, userMessages);
  475. } else {
  476. messages[locale] = userMessages;
  477. }
  478. });
  479. }
  480. }
  481. initI18nMessages();
  482. var i18n = (0, _uniI18n.initVueI18n)(locale, {});
  483. var t = i18n.t;
  484. var i18nMixin = i18n.mixin = {
  485. beforeCreate: function beforeCreate() {
  486. var _this = this;
  487. var unwatch = i18n.i18n.watchLocale(function () {
  488. _this.$forceUpdate();
  489. });
  490. this.$once('hook:beforeDestroy', function () {
  491. unwatch();
  492. });
  493. },
  494. methods: {
  495. $$t: function $$t(key, values) {
  496. return t(key, values);
  497. }
  498. }
  499. };
  500. var setLocale = i18n.setLocale;
  501. var getLocale = i18n.getLocale;
  502. function initAppLocale(Vue, appVm, locale) {
  503. var state = Vue.observable({
  504. locale: locale || i18n.getLocale()
  505. });
  506. var localeWatchers = [];
  507. appVm.$watchLocale = function (fn) {
  508. localeWatchers.push(fn);
  509. };
  510. Object.defineProperty(appVm, '$locale', {
  511. get: function get() {
  512. return state.locale;
  513. },
  514. set: function set(v) {
  515. state.locale = v;
  516. localeWatchers.forEach(function (watch) {
  517. return watch(v);
  518. });
  519. }
  520. });
  521. }
  522. function isEnableLocale() {
  523. return typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length;
  524. }
  525. function include(str, parts) {
  526. return !!parts.find(function (part) {
  527. return str.indexOf(part) !== -1;
  528. });
  529. }
  530. function startsWith(str, parts) {
  531. return parts.find(function (part) {
  532. return str.indexOf(part) === 0;
  533. });
  534. }
  535. function normalizeLocale(locale, messages) {
  536. if (!locale) {
  537. return;
  538. }
  539. locale = locale.trim().replace(/_/g, '-');
  540. if (messages && messages[locale]) {
  541. return locale;
  542. }
  543. locale = locale.toLowerCase();
  544. if (locale === 'chinese') {
  545. // 支付宝
  546. return LOCALE_ZH_HANS;
  547. }
  548. if (locale.indexOf('zh') === 0) {
  549. if (locale.indexOf('-hans') > -1) {
  550. return LOCALE_ZH_HANS;
  551. }
  552. if (locale.indexOf('-hant') > -1) {
  553. return LOCALE_ZH_HANT;
  554. }
  555. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  556. return LOCALE_ZH_HANT;
  557. }
  558. return LOCALE_ZH_HANS;
  559. }
  560. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  561. if (lang) {
  562. return lang;
  563. }
  564. }
  565. // export function initI18n() {
  566. // const localeKeys = Object.keys(__uniConfig.locales || {})
  567. // if (localeKeys.length) {
  568. // localeKeys.forEach((locale) =>
  569. // i18n.add(locale, __uniConfig.locales[locale])
  570. // )
  571. // }
  572. // }
  573. function getLocale$1() {
  574. // 优先使用 $locale
  575. if (isFn(getApp)) {
  576. var app = getApp({
  577. allowDefault: true
  578. });
  579. if (app && app.$vm) {
  580. return app.$vm.$locale;
  581. }
  582. }
  583. return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  584. }
  585. function setLocale$1(locale) {
  586. var app = isFn(getApp) ? getApp() : false;
  587. if (!app) {
  588. return false;
  589. }
  590. var oldLocale = app.$vm.$locale;
  591. if (oldLocale !== locale) {
  592. app.$vm.$locale = locale;
  593. onLocaleChangeCallbacks.forEach(function (fn) {
  594. return fn({
  595. locale: locale
  596. });
  597. });
  598. return true;
  599. }
  600. return false;
  601. }
  602. var onLocaleChangeCallbacks = [];
  603. function onLocaleChange(fn) {
  604. if (onLocaleChangeCallbacks.indexOf(fn) === -1) {
  605. onLocaleChangeCallbacks.push(fn);
  606. }
  607. }
  608. if (typeof global !== 'undefined') {
  609. global.getLocale = getLocale$1;
  610. }
  611. var interceptors = {
  612. promiseInterceptor: promiseInterceptor
  613. };
  614. var baseApi = /*#__PURE__*/Object.freeze({
  615. __proto__: null,
  616. upx2px: upx2px,
  617. getLocale: getLocale$1,
  618. setLocale: setLocale$1,
  619. onLocaleChange: onLocaleChange,
  620. addInterceptor: addInterceptor,
  621. removeInterceptor: removeInterceptor,
  622. interceptors: interceptors
  623. });
  624. function findExistsPageIndex(url) {
  625. var pages = getCurrentPages();
  626. var len = pages.length;
  627. while (len--) {
  628. var page = pages[len];
  629. if (page.$page && page.$page.fullPath === url) {
  630. return len;
  631. }
  632. }
  633. return -1;
  634. }
  635. var redirectTo = {
  636. name: function name(fromArgs) {
  637. if (fromArgs.exists === 'back' && fromArgs.delta) {
  638. return 'navigateBack';
  639. }
  640. return 'redirectTo';
  641. },
  642. args: function args(fromArgs) {
  643. if (fromArgs.exists === 'back' && fromArgs.url) {
  644. var existsPageIndex = findExistsPageIndex(fromArgs.url);
  645. if (existsPageIndex !== -1) {
  646. var delta = getCurrentPages().length - 1 - existsPageIndex;
  647. if (delta > 0) {
  648. fromArgs.delta = delta;
  649. }
  650. }
  651. }
  652. }
  653. };
  654. var previewImage = {
  655. args: function args(fromArgs) {
  656. var currentIndex = parseInt(fromArgs.current);
  657. if (isNaN(currentIndex)) {
  658. return;
  659. }
  660. var urls = fromArgs.urls;
  661. if (!Array.isArray(urls)) {
  662. return;
  663. }
  664. var len = urls.length;
  665. if (!len) {
  666. return;
  667. }
  668. if (currentIndex < 0) {
  669. currentIndex = 0;
  670. } else if (currentIndex >= len) {
  671. currentIndex = len - 1;
  672. }
  673. if (currentIndex > 0) {
  674. fromArgs.current = urls[currentIndex];
  675. fromArgs.urls = urls.filter(function (item, index) {
  676. return index < currentIndex ? item !== urls[currentIndex] : true;
  677. });
  678. } else {
  679. fromArgs.current = urls[0];
  680. }
  681. return {
  682. indicator: false,
  683. loop: false
  684. };
  685. }
  686. };
  687. var UUID_KEY = '__DC_STAT_UUID';
  688. var deviceId;
  689. function useDeviceId(result) {
  690. deviceId = deviceId || wx.getStorageSync(UUID_KEY);
  691. if (!deviceId) {
  692. deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);
  693. wx.setStorage({
  694. key: UUID_KEY,
  695. data: deviceId
  696. });
  697. }
  698. result.deviceId = deviceId;
  699. }
  700. function addSafeAreaInsets(result) {
  701. if (result.safeArea) {
  702. var safeArea = result.safeArea;
  703. result.safeAreaInsets = {
  704. top: safeArea.top,
  705. left: safeArea.left,
  706. right: result.windowWidth - safeArea.right,
  707. bottom: result.screenHeight - safeArea.bottom
  708. };
  709. }
  710. }
  711. function populateParameters(result) {
  712. var _result$brand = result.brand,
  713. brand = _result$brand === void 0 ? '' : _result$brand,
  714. _result$model = result.model,
  715. model = _result$model === void 0 ? '' : _result$model,
  716. _result$system = result.system,
  717. system = _result$system === void 0 ? '' : _result$system,
  718. _result$language = result.language,
  719. language = _result$language === void 0 ? '' : _result$language,
  720. theme = result.theme,
  721. version = result.version,
  722. platform = result.platform,
  723. fontSizeSetting = result.fontSizeSetting,
  724. SDKVersion = result.SDKVersion,
  725. pixelRatio = result.pixelRatio,
  726. deviceOrientation = result.deviceOrientation;
  727. // const isQuickApp = "mp-weixin".indexOf('quickapp-webview') !== -1
  728. var extraParam = {};
  729. // osName osVersion
  730. var osName = '';
  731. var osVersion = '';
  732. {
  733. osName = system.split(' ')[0] || '';
  734. osVersion = system.split(' ')[1] || '';
  735. }
  736. var hostVersion = version;
  737. // deviceType
  738. var deviceType = getGetDeviceType(result, model);
  739. // deviceModel
  740. var deviceBrand = getDeviceBrand(brand);
  741. // hostName
  742. var _hostName = getHostName(result);
  743. // deviceOrientation
  744. var _deviceOrientation = deviceOrientation; // 仅 微信 百度 支持
  745. // devicePixelRatio
  746. var _devicePixelRatio = pixelRatio;
  747. // SDKVersion
  748. var _SDKVersion = SDKVersion;
  749. // hostLanguage
  750. var hostLanguage = language.replace(/_/g, '-');
  751. // wx.getAccountInfoSync
  752. var parameters = {
  753. appId: "__UNI__434FDE4",
  754. appName: "lab-equipment-mini-program",
  755. appVersion: "1.0.0",
  756. appVersionCode: "100",
  757. appLanguage: getAppLanguage(hostLanguage),
  758. uniCompileVersion: "3.8.4",
  759. uniRuntimeVersion: "3.8.4",
  760. uniPlatform: undefined || "mp-weixin",
  761. deviceBrand: deviceBrand,
  762. deviceModel: model,
  763. deviceType: deviceType,
  764. devicePixelRatio: _devicePixelRatio,
  765. deviceOrientation: _deviceOrientation,
  766. osName: osName.toLocaleLowerCase(),
  767. osVersion: osVersion,
  768. hostTheme: theme,
  769. hostVersion: hostVersion,
  770. hostLanguage: hostLanguage,
  771. hostName: _hostName,
  772. hostSDKVersion: _SDKVersion,
  773. hostFontSizeSetting: fontSizeSetting,
  774. windowTop: 0,
  775. windowBottom: 0,
  776. // TODO
  777. osLanguage: undefined,
  778. osTheme: undefined,
  779. ua: undefined,
  780. hostPackageName: undefined,
  781. browserName: undefined,
  782. browserVersion: undefined
  783. };
  784. Object.assign(result, parameters, extraParam);
  785. }
  786. function getGetDeviceType(result, model) {
  787. var deviceType = result.deviceType || 'phone';
  788. {
  789. var deviceTypeMaps = {
  790. ipad: 'pad',
  791. windows: 'pc',
  792. mac: 'pc'
  793. };
  794. var deviceTypeMapsKeys = Object.keys(deviceTypeMaps);
  795. var _model = model.toLocaleLowerCase();
  796. for (var index = 0; index < deviceTypeMapsKeys.length; index++) {
  797. var _m = deviceTypeMapsKeys[index];
  798. if (_model.indexOf(_m) !== -1) {
  799. deviceType = deviceTypeMaps[_m];
  800. break;
  801. }
  802. }
  803. }
  804. return deviceType;
  805. }
  806. function getDeviceBrand(brand) {
  807. var deviceBrand = brand;
  808. if (deviceBrand) {
  809. deviceBrand = brand.toLocaleLowerCase();
  810. }
  811. return deviceBrand;
  812. }
  813. function getAppLanguage(defaultLanguage) {
  814. return getLocale$1 ? getLocale$1() : defaultLanguage;
  815. }
  816. function getHostName(result) {
  817. var _platform = 'WeChat';
  818. var _hostName = result.hostName || _platform; // mp-jd
  819. {
  820. if (result.environment) {
  821. _hostName = result.environment;
  822. } else if (result.host && result.host.env) {
  823. _hostName = result.host.env;
  824. }
  825. }
  826. return _hostName;
  827. }
  828. var getSystemInfo = {
  829. returnValue: function returnValue(result) {
  830. useDeviceId(result);
  831. addSafeAreaInsets(result);
  832. populateParameters(result);
  833. }
  834. };
  835. var showActionSheet = {
  836. args: function args(fromArgs) {
  837. if ((0, _typeof2.default)(fromArgs) === 'object') {
  838. fromArgs.alertText = fromArgs.title;
  839. }
  840. }
  841. };
  842. var getAppBaseInfo = {
  843. returnValue: function returnValue(result) {
  844. var _result = result,
  845. version = _result.version,
  846. language = _result.language,
  847. SDKVersion = _result.SDKVersion,
  848. theme = _result.theme;
  849. var _hostName = getHostName(result);
  850. var hostLanguage = language.replace('_', '-');
  851. result = sortObject(Object.assign(result, {
  852. appId: "__UNI__434FDE4",
  853. appName: "lab-equipment-mini-program",
  854. appVersion: "1.0.0",
  855. appVersionCode: "100",
  856. appLanguage: getAppLanguage(hostLanguage),
  857. hostVersion: version,
  858. hostLanguage: hostLanguage,
  859. hostName: _hostName,
  860. hostSDKVersion: SDKVersion,
  861. hostTheme: theme
  862. }));
  863. }
  864. };
  865. var getDeviceInfo = {
  866. returnValue: function returnValue(result) {
  867. var _result2 = result,
  868. brand = _result2.brand,
  869. model = _result2.model;
  870. var deviceType = getGetDeviceType(result, model);
  871. var deviceBrand = getDeviceBrand(brand);
  872. useDeviceId(result);
  873. result = sortObject(Object.assign(result, {
  874. deviceType: deviceType,
  875. deviceBrand: deviceBrand,
  876. deviceModel: model
  877. }));
  878. }
  879. };
  880. var getWindowInfo = {
  881. returnValue: function returnValue(result) {
  882. addSafeAreaInsets(result);
  883. result = sortObject(Object.assign(result, {
  884. windowTop: 0,
  885. windowBottom: 0
  886. }));
  887. }
  888. };
  889. var getAppAuthorizeSetting = {
  890. returnValue: function returnValue(result) {
  891. var locationReducedAccuracy = result.locationReducedAccuracy;
  892. result.locationAccuracy = 'unsupported';
  893. if (locationReducedAccuracy === true) {
  894. result.locationAccuracy = 'reduced';
  895. } else if (locationReducedAccuracy === false) {
  896. result.locationAccuracy = 'full';
  897. }
  898. }
  899. };
  900. // import navigateTo from 'uni-helpers/navigate-to'
  901. var compressImage = {
  902. args: function args(fromArgs) {
  903. // https://developers.weixin.qq.com/community/develop/doc/000c08940c865011298e0a43256800?highLine=compressHeight
  904. if (fromArgs.compressedHeight && !fromArgs.compressHeight) {
  905. fromArgs.compressHeight = fromArgs.compressedHeight;
  906. }
  907. if (fromArgs.compressedWidth && !fromArgs.compressWidth) {
  908. fromArgs.compressWidth = fromArgs.compressedWidth;
  909. }
  910. }
  911. };
  912. var protocols = {
  913. redirectTo: redirectTo,
  914. // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP
  915. previewImage: previewImage,
  916. getSystemInfo: getSystemInfo,
  917. getSystemInfoSync: getSystemInfo,
  918. showActionSheet: showActionSheet,
  919. getAppBaseInfo: getAppBaseInfo,
  920. getDeviceInfo: getDeviceInfo,
  921. getWindowInfo: getWindowInfo,
  922. getAppAuthorizeSetting: getAppAuthorizeSetting,
  923. compressImage: compressImage
  924. };
  925. var todos = ['vibrate', 'preloadPage', 'unPreloadPage', 'loadSubPackage'];
  926. var canIUses = [];
  927. var CALLBACKS = ['success', 'fail', 'cancel', 'complete'];
  928. function processCallback(methodName, method, returnValue) {
  929. return function (res) {
  930. return method(processReturnValue(methodName, res, returnValue));
  931. };
  932. }
  933. function processArgs(methodName, fromArgs) {
  934. var argsOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  935. var returnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  936. var keepFromArgs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  937. if (isPlainObject(fromArgs)) {
  938. // 一般 api 的参数解析
  939. var toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值
  940. if (isFn(argsOption)) {
  941. argsOption = argsOption(fromArgs, toArgs) || {};
  942. }
  943. for (var key in fromArgs) {
  944. if (hasOwn(argsOption, key)) {
  945. var keyOption = argsOption[key];
  946. if (isFn(keyOption)) {
  947. keyOption = keyOption(fromArgs[key], fromArgs, toArgs);
  948. }
  949. if (!keyOption) {
  950. // 不支持的参数
  951. console.warn("The '".concat(methodName, "' method of platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support option '").concat(key, "'"));
  952. } else if (isStr(keyOption)) {
  953. // 重写参数 key
  954. toArgs[keyOption] = fromArgs[key];
  955. } else if (isPlainObject(keyOption)) {
  956. // {name:newName,value:value}可重新指定参数 key:value
  957. toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;
  958. }
  959. } else if (CALLBACKS.indexOf(key) !== -1) {
  960. if (isFn(fromArgs[key])) {
  961. toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);
  962. }
  963. } else {
  964. if (!keepFromArgs) {
  965. toArgs[key] = fromArgs[key];
  966. }
  967. }
  968. }
  969. return toArgs;
  970. } else if (isFn(fromArgs)) {
  971. fromArgs = processCallback(methodName, fromArgs, returnValue);
  972. }
  973. return fromArgs;
  974. }
  975. function processReturnValue(methodName, res, returnValue) {
  976. var keepReturnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  977. if (isFn(protocols.returnValue)) {
  978. // 处理通用 returnValue
  979. res = protocols.returnValue(methodName, res);
  980. }
  981. return processArgs(methodName, res, returnValue, {}, keepReturnValue);
  982. }
  983. function wrapper(methodName, method) {
  984. if (hasOwn(protocols, methodName)) {
  985. var protocol = protocols[methodName];
  986. if (!protocol) {
  987. // 暂不支持的 api
  988. return function () {
  989. console.error("Platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support '".concat(methodName, "'."));
  990. };
  991. }
  992. return function (arg1, arg2) {
  993. // 目前 api 最多两个参数
  994. var options = protocol;
  995. if (isFn(protocol)) {
  996. options = protocol(arg1);
  997. }
  998. arg1 = processArgs(methodName, arg1, options.args, options.returnValue);
  999. var args = [arg1];
  1000. if (typeof arg2 !== 'undefined') {
  1001. args.push(arg2);
  1002. }
  1003. if (isFn(options.name)) {
  1004. methodName = options.name(arg1);
  1005. } else if (isStr(options.name)) {
  1006. methodName = options.name;
  1007. }
  1008. var returnValue = wx[methodName].apply(wx, args);
  1009. if (isSyncApi(methodName)) {
  1010. // 同步 api
  1011. return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName));
  1012. }
  1013. return returnValue;
  1014. };
  1015. }
  1016. return method;
  1017. }
  1018. var todoApis = Object.create(null);
  1019. var TODOS = ['onTabBarMidButtonTap', 'subscribePush', 'unsubscribePush', 'onPush', 'offPush', 'share'];
  1020. function createTodoApi(name) {
  1021. return function todoApi(_ref) {
  1022. var fail = _ref.fail,
  1023. complete = _ref.complete;
  1024. var res = {
  1025. errMsg: "".concat(name, ":fail method '").concat(name, "' not supported")
  1026. };
  1027. isFn(fail) && fail(res);
  1028. isFn(complete) && complete(res);
  1029. };
  1030. }
  1031. TODOS.forEach(function (name) {
  1032. todoApis[name] = createTodoApi(name);
  1033. });
  1034. var providers = {
  1035. oauth: ['weixin'],
  1036. share: ['weixin'],
  1037. payment: ['wxpay'],
  1038. push: ['weixin']
  1039. };
  1040. function getProvider(_ref2) {
  1041. var service = _ref2.service,
  1042. success = _ref2.success,
  1043. fail = _ref2.fail,
  1044. complete = _ref2.complete;
  1045. var res = false;
  1046. if (providers[service]) {
  1047. res = {
  1048. errMsg: 'getProvider:ok',
  1049. service: service,
  1050. provider: providers[service]
  1051. };
  1052. isFn(success) && success(res);
  1053. } else {
  1054. res = {
  1055. errMsg: 'getProvider:fail service not found'
  1056. };
  1057. isFn(fail) && fail(res);
  1058. }
  1059. isFn(complete) && complete(res);
  1060. }
  1061. var extraApi = /*#__PURE__*/Object.freeze({
  1062. __proto__: null,
  1063. getProvider: getProvider
  1064. });
  1065. var getEmitter = function () {
  1066. var Emitter;
  1067. return function getUniEmitter() {
  1068. if (!Emitter) {
  1069. Emitter = new _vue.default();
  1070. }
  1071. return Emitter;
  1072. };
  1073. }();
  1074. function apply(ctx, method, args) {
  1075. return ctx[method].apply(ctx, args);
  1076. }
  1077. function $on() {
  1078. return apply(getEmitter(), '$on', Array.prototype.slice.call(arguments));
  1079. }
  1080. function $off() {
  1081. return apply(getEmitter(), '$off', Array.prototype.slice.call(arguments));
  1082. }
  1083. function $once() {
  1084. return apply(getEmitter(), '$once', Array.prototype.slice.call(arguments));
  1085. }
  1086. function $emit() {
  1087. return apply(getEmitter(), '$emit', Array.prototype.slice.call(arguments));
  1088. }
  1089. var eventApi = /*#__PURE__*/Object.freeze({
  1090. __proto__: null,
  1091. $on: $on,
  1092. $off: $off,
  1093. $once: $once,
  1094. $emit: $emit
  1095. });
  1096. /**
  1097. * 框架内 try-catch
  1098. */
  1099. /**
  1100. * 开发者 try-catch
  1101. */
  1102. function tryCatch(fn) {
  1103. return function () {
  1104. try {
  1105. return fn.apply(fn, arguments);
  1106. } catch (e) {
  1107. // TODO
  1108. console.error(e);
  1109. }
  1110. };
  1111. }
  1112. function getApiCallbacks(params) {
  1113. var apiCallbacks = {};
  1114. for (var name in params) {
  1115. var param = params[name];
  1116. if (isFn(param)) {
  1117. apiCallbacks[name] = tryCatch(param);
  1118. delete params[name];
  1119. }
  1120. }
  1121. return apiCallbacks;
  1122. }
  1123. var cid;
  1124. var cidErrMsg;
  1125. var enabled;
  1126. function normalizePushMessage(message) {
  1127. try {
  1128. return JSON.parse(message);
  1129. } catch (e) {}
  1130. return message;
  1131. }
  1132. function invokePushCallback(args) {
  1133. if (args.type === 'enabled') {
  1134. enabled = true;
  1135. } else if (args.type === 'clientId') {
  1136. cid = args.cid;
  1137. cidErrMsg = args.errMsg;
  1138. invokeGetPushCidCallbacks(cid, args.errMsg);
  1139. } else if (args.type === 'pushMsg') {
  1140. var message = {
  1141. type: 'receive',
  1142. data: normalizePushMessage(args.message)
  1143. };
  1144. for (var i = 0; i < onPushMessageCallbacks.length; i++) {
  1145. var callback = onPushMessageCallbacks[i];
  1146. callback(message);
  1147. // 该消息已被阻止
  1148. if (message.stopped) {
  1149. break;
  1150. }
  1151. }
  1152. } else if (args.type === 'click') {
  1153. onPushMessageCallbacks.forEach(function (callback) {
  1154. callback({
  1155. type: 'click',
  1156. data: normalizePushMessage(args.message)
  1157. });
  1158. });
  1159. }
  1160. }
  1161. var getPushCidCallbacks = [];
  1162. function invokeGetPushCidCallbacks(cid, errMsg) {
  1163. getPushCidCallbacks.forEach(function (callback) {
  1164. callback(cid, errMsg);
  1165. });
  1166. getPushCidCallbacks.length = 0;
  1167. }
  1168. function getPushClientId(args) {
  1169. if (!isPlainObject(args)) {
  1170. args = {};
  1171. }
  1172. var _getApiCallbacks = getApiCallbacks(args),
  1173. success = _getApiCallbacks.success,
  1174. fail = _getApiCallbacks.fail,
  1175. complete = _getApiCallbacks.complete;
  1176. var hasSuccess = isFn(success);
  1177. var hasFail = isFn(fail);
  1178. var hasComplete = isFn(complete);
  1179. Promise.resolve().then(function () {
  1180. if (typeof enabled === 'undefined') {
  1181. enabled = false;
  1182. cid = '';
  1183. cidErrMsg = 'uniPush is not enabled';
  1184. }
  1185. getPushCidCallbacks.push(function (cid, errMsg) {
  1186. var res;
  1187. if (cid) {
  1188. res = {
  1189. errMsg: 'getPushClientId:ok',
  1190. cid: cid
  1191. };
  1192. hasSuccess && success(res);
  1193. } else {
  1194. res = {
  1195. errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '')
  1196. };
  1197. hasFail && fail(res);
  1198. }
  1199. hasComplete && complete(res);
  1200. });
  1201. if (typeof cid !== 'undefined') {
  1202. invokeGetPushCidCallbacks(cid, cidErrMsg);
  1203. }
  1204. });
  1205. }
  1206. var onPushMessageCallbacks = [];
  1207. // 不使用 defineOnApi 实现,是因为 defineOnApi 依赖 UniServiceJSBridge ,该对象目前在小程序上未提供,故简单实现
  1208. var onPushMessage = function onPushMessage(fn) {
  1209. if (onPushMessageCallbacks.indexOf(fn) === -1) {
  1210. onPushMessageCallbacks.push(fn);
  1211. }
  1212. };
  1213. var offPushMessage = function offPushMessage(fn) {
  1214. if (!fn) {
  1215. onPushMessageCallbacks.length = 0;
  1216. } else {
  1217. var index = onPushMessageCallbacks.indexOf(fn);
  1218. if (index > -1) {
  1219. onPushMessageCallbacks.splice(index, 1);
  1220. }
  1221. }
  1222. };
  1223. var baseInfo = wx.getAppBaseInfo && wx.getAppBaseInfo();
  1224. if (!baseInfo) {
  1225. baseInfo = wx.getSystemInfoSync();
  1226. }
  1227. var host = baseInfo ? baseInfo.host : null;
  1228. var shareVideoMessage = host && host.env === 'SAAASDK' ? wx.miniapp.shareVideoMessage : wx.shareVideoMessage;
  1229. var api = /*#__PURE__*/Object.freeze({
  1230. __proto__: null,
  1231. shareVideoMessage: shareVideoMessage,
  1232. getPushClientId: getPushClientId,
  1233. onPushMessage: onPushMessage,
  1234. offPushMessage: offPushMessage,
  1235. invokePushCallback: invokePushCallback
  1236. });
  1237. var mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];
  1238. function findVmByVueId(vm, vuePid) {
  1239. var $children = vm.$children;
  1240. // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)
  1241. for (var i = $children.length - 1; i >= 0; i--) {
  1242. var childVm = $children[i];
  1243. if (childVm.$scope._$vueId === vuePid) {
  1244. return childVm;
  1245. }
  1246. }
  1247. // 反向递归查找
  1248. var parentVm;
  1249. for (var _i = $children.length - 1; _i >= 0; _i--) {
  1250. parentVm = findVmByVueId($children[_i], vuePid);
  1251. if (parentVm) {
  1252. return parentVm;
  1253. }
  1254. }
  1255. }
  1256. function initBehavior(options) {
  1257. return Behavior(options);
  1258. }
  1259. function isPage() {
  1260. return !!this.route;
  1261. }
  1262. function initRelation(detail) {
  1263. this.triggerEvent('__l', detail);
  1264. }
  1265. function selectAllComponents(mpInstance, selector, $refs) {
  1266. var components = mpInstance.selectAllComponents(selector) || [];
  1267. components.forEach(function (component) {
  1268. var ref = component.dataset.ref;
  1269. $refs[ref] = component.$vm || toSkip(component);
  1270. {
  1271. if (component.dataset.vueGeneric === 'scoped') {
  1272. component.selectAllComponents('.scoped-ref').forEach(function (scopedComponent) {
  1273. selectAllComponents(scopedComponent, selector, $refs);
  1274. });
  1275. }
  1276. }
  1277. });
  1278. }
  1279. function syncRefs(refs, newRefs) {
  1280. var oldKeys = (0, _construct2.default)(Set, (0, _toConsumableArray2.default)(Object.keys(refs)));
  1281. var newKeys = Object.keys(newRefs);
  1282. newKeys.forEach(function (key) {
  1283. var oldValue = refs[key];
  1284. var newValue = newRefs[key];
  1285. if (Array.isArray(oldValue) && Array.isArray(newValue) && oldValue.length === newValue.length && newValue.every(function (value) {
  1286. return oldValue.includes(value);
  1287. })) {
  1288. return;
  1289. }
  1290. refs[key] = newValue;
  1291. oldKeys.delete(key);
  1292. });
  1293. oldKeys.forEach(function (key) {
  1294. delete refs[key];
  1295. });
  1296. return refs;
  1297. }
  1298. function initRefs(vm) {
  1299. var mpInstance = vm.$scope;
  1300. var refs = {};
  1301. Object.defineProperty(vm, '$refs', {
  1302. get: function get() {
  1303. var $refs = {};
  1304. selectAllComponents(mpInstance, '.vue-ref', $refs);
  1305. // TODO 暂不考虑 for 中的 scoped
  1306. var forComponents = mpInstance.selectAllComponents('.vue-ref-in-for') || [];
  1307. forComponents.forEach(function (component) {
  1308. var ref = component.dataset.ref;
  1309. if (!$refs[ref]) {
  1310. $refs[ref] = [];
  1311. }
  1312. $refs[ref].push(component.$vm || toSkip(component));
  1313. });
  1314. return syncRefs(refs, $refs);
  1315. }
  1316. });
  1317. }
  1318. function handleLink(event) {
  1319. var _ref3 = event.detail || event.value,
  1320. vuePid = _ref3.vuePid,
  1321. vueOptions = _ref3.vueOptions; // detail 是微信,value 是百度(dipatch)
  1322. var parentVm;
  1323. if (vuePid) {
  1324. parentVm = findVmByVueId(this.$vm, vuePid);
  1325. }
  1326. if (!parentVm) {
  1327. parentVm = this.$vm;
  1328. }
  1329. vueOptions.parent = parentVm;
  1330. }
  1331. function markMPComponent(component) {
  1332. // 在 Vue 中标记为小程序组件
  1333. var IS_MP = '__v_isMPComponent';
  1334. Object.defineProperty(component, IS_MP, {
  1335. configurable: true,
  1336. enumerable: false,
  1337. value: true
  1338. });
  1339. return component;
  1340. }
  1341. function toSkip(obj) {
  1342. var OB = '__ob__';
  1343. var SKIP = '__v_skip';
  1344. if (isObject(obj) && Object.isExtensible(obj)) {
  1345. // 避免被 @vue/composition-api 观测
  1346. Object.defineProperty(obj, OB, {
  1347. configurable: true,
  1348. enumerable: false,
  1349. value: (0, _defineProperty2.default)({}, SKIP, true)
  1350. });
  1351. }
  1352. return obj;
  1353. }
  1354. var WORKLET_RE = /_(.*)_worklet_factory_/;
  1355. function initWorkletMethods(mpMethods, vueMethods) {
  1356. if (vueMethods) {
  1357. Object.keys(vueMethods).forEach(function (name) {
  1358. var matches = name.match(WORKLET_RE);
  1359. if (matches) {
  1360. var workletName = matches[1];
  1361. mpMethods[name] = vueMethods[name];
  1362. mpMethods[workletName] = vueMethods[workletName];
  1363. }
  1364. });
  1365. }
  1366. }
  1367. var MPPage = Page;
  1368. var MPComponent = Component;
  1369. var customizeRE = /:/g;
  1370. var customize = cached(function (str) {
  1371. return camelize(str.replace(customizeRE, '-'));
  1372. });
  1373. function initTriggerEvent(mpInstance) {
  1374. var oldTriggerEvent = mpInstance.triggerEvent;
  1375. var newTriggerEvent = function newTriggerEvent(event) {
  1376. for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
  1377. args[_key3 - 1] = arguments[_key3];
  1378. }
  1379. // 事件名统一转驼峰格式,仅处理:当前组件为 vue 组件、当前组件为 vue 组件子组件
  1380. if (this.$vm || this.dataset && this.dataset.comType) {
  1381. event = customize(event);
  1382. } else {
  1383. // 针对微信/QQ小程序单独补充驼峰格式事件,以兼容历史项目
  1384. var newEvent = customize(event);
  1385. if (newEvent !== event) {
  1386. oldTriggerEvent.apply(this, [newEvent].concat(args));
  1387. }
  1388. }
  1389. return oldTriggerEvent.apply(this, [event].concat(args));
  1390. };
  1391. try {
  1392. // 京东小程序 triggerEvent 为只读
  1393. mpInstance.triggerEvent = newTriggerEvent;
  1394. } catch (error) {
  1395. mpInstance._triggerEvent = newTriggerEvent;
  1396. }
  1397. }
  1398. function initHook(name, options, isComponent) {
  1399. var oldHook = options[name];
  1400. options[name] = function () {
  1401. markMPComponent(this);
  1402. initTriggerEvent(this);
  1403. if (oldHook) {
  1404. for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  1405. args[_key4] = arguments[_key4];
  1406. }
  1407. return oldHook.apply(this, args);
  1408. }
  1409. };
  1410. }
  1411. if (!MPPage.__$wrappered) {
  1412. MPPage.__$wrappered = true;
  1413. Page = function Page() {
  1414. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1415. initHook('onLoad', options);
  1416. return MPPage(options);
  1417. };
  1418. Page.after = MPPage.after;
  1419. Component = function Component() {
  1420. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1421. initHook('created', options);
  1422. return MPComponent(options);
  1423. };
  1424. }
  1425. var PAGE_EVENT_HOOKS = ['onPullDownRefresh', 'onReachBottom', 'onAddToFavorites', 'onShareTimeline', 'onShareAppMessage', 'onPageScroll', 'onResize', 'onTabItemTap'];
  1426. function initMocks(vm, mocks) {
  1427. var mpInstance = vm.$mp[vm.mpType];
  1428. mocks.forEach(function (mock) {
  1429. if (hasOwn(mpInstance, mock)) {
  1430. vm[mock] = mpInstance[mock];
  1431. }
  1432. });
  1433. }
  1434. function hasHook(hook, vueOptions) {
  1435. if (!vueOptions) {
  1436. return true;
  1437. }
  1438. if (_vue.default.options && Array.isArray(_vue.default.options[hook])) {
  1439. return true;
  1440. }
  1441. vueOptions = vueOptions.default || vueOptions;
  1442. if (isFn(vueOptions)) {
  1443. if (isFn(vueOptions.extendOptions[hook])) {
  1444. return true;
  1445. }
  1446. if (vueOptions.super && vueOptions.super.options && Array.isArray(vueOptions.super.options[hook])) {
  1447. return true;
  1448. }
  1449. return false;
  1450. }
  1451. if (isFn(vueOptions[hook]) || Array.isArray(vueOptions[hook])) {
  1452. return true;
  1453. }
  1454. var mixins = vueOptions.mixins;
  1455. if (Array.isArray(mixins)) {
  1456. return !!mixins.find(function (mixin) {
  1457. return hasHook(hook, mixin);
  1458. });
  1459. }
  1460. }
  1461. function initHooks(mpOptions, hooks, vueOptions) {
  1462. hooks.forEach(function (hook) {
  1463. if (hasHook(hook, vueOptions)) {
  1464. mpOptions[hook] = function (args) {
  1465. return this.$vm && this.$vm.__call_hook(hook, args);
  1466. };
  1467. }
  1468. });
  1469. }
  1470. function initUnknownHooks(mpOptions, vueOptions) {
  1471. var excludes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1472. findHooks(vueOptions).forEach(function (hook) {
  1473. return initHook$1(mpOptions, hook, excludes);
  1474. });
  1475. }
  1476. function findHooks(vueOptions) {
  1477. var hooks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  1478. if (vueOptions) {
  1479. Object.keys(vueOptions).forEach(function (name) {
  1480. if (name.indexOf('on') === 0 && isFn(vueOptions[name])) {
  1481. hooks.push(name);
  1482. }
  1483. });
  1484. }
  1485. return hooks;
  1486. }
  1487. function initHook$1(mpOptions, hook, excludes) {
  1488. if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) {
  1489. mpOptions[hook] = function (args) {
  1490. return this.$vm && this.$vm.__call_hook(hook, args);
  1491. };
  1492. }
  1493. }
  1494. function initVueComponent(Vue, vueOptions) {
  1495. vueOptions = vueOptions.default || vueOptions;
  1496. var VueComponent;
  1497. if (isFn(vueOptions)) {
  1498. VueComponent = vueOptions;
  1499. } else {
  1500. VueComponent = Vue.extend(vueOptions);
  1501. }
  1502. vueOptions = VueComponent.options;
  1503. return [VueComponent, vueOptions];
  1504. }
  1505. function initSlots(vm, vueSlots) {
  1506. if (Array.isArray(vueSlots) && vueSlots.length) {
  1507. var $slots = Object.create(null);
  1508. vueSlots.forEach(function (slotName) {
  1509. $slots[slotName] = true;
  1510. });
  1511. vm.$scopedSlots = vm.$slots = $slots;
  1512. }
  1513. }
  1514. function initVueIds(vueIds, mpInstance) {
  1515. vueIds = (vueIds || '').split(',');
  1516. var len = vueIds.length;
  1517. if (len === 1) {
  1518. mpInstance._$vueId = vueIds[0];
  1519. } else if (len === 2) {
  1520. mpInstance._$vueId = vueIds[0];
  1521. mpInstance._$vuePid = vueIds[1];
  1522. }
  1523. }
  1524. function initData(vueOptions, context) {
  1525. var data = vueOptions.data || {};
  1526. var methods = vueOptions.methods || {};
  1527. if (typeof data === 'function') {
  1528. try {
  1529. data = data.call(context); // 支持 Vue.prototype 上挂的数据
  1530. } catch (e) {
  1531. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  1532. console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
  1533. }
  1534. }
  1535. } else {
  1536. try {
  1537. // 对 data 格式化
  1538. data = JSON.parse(JSON.stringify(data));
  1539. } catch (e) {}
  1540. }
  1541. if (!isPlainObject(data)) {
  1542. data = {};
  1543. }
  1544. Object.keys(methods).forEach(function (methodName) {
  1545. if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {
  1546. data[methodName] = methods[methodName];
  1547. }
  1548. });
  1549. return data;
  1550. }
  1551. var PROP_TYPES = [String, Number, Boolean, Object, Array, null];
  1552. function createObserver(name) {
  1553. return function observer(newVal, oldVal) {
  1554. if (this.$vm) {
  1555. this.$vm[name] = newVal; // 为了触发其他非 render watcher
  1556. }
  1557. };
  1558. }
  1559. function initBehaviors(vueOptions, initBehavior) {
  1560. var vueBehaviors = vueOptions.behaviors;
  1561. var vueExtends = vueOptions.extends;
  1562. var vueMixins = vueOptions.mixins;
  1563. var vueProps = vueOptions.props;
  1564. if (!vueProps) {
  1565. vueOptions.props = vueProps = [];
  1566. }
  1567. var behaviors = [];
  1568. if (Array.isArray(vueBehaviors)) {
  1569. vueBehaviors.forEach(function (behavior) {
  1570. behaviors.push(behavior.replace('uni://', "wx".concat("://")));
  1571. if (behavior === 'uni://form-field') {
  1572. if (Array.isArray(vueProps)) {
  1573. vueProps.push('name');
  1574. vueProps.push('value');
  1575. } else {
  1576. vueProps.name = {
  1577. type: String,
  1578. default: ''
  1579. };
  1580. vueProps.value = {
  1581. type: [String, Number, Boolean, Array, Object, Date],
  1582. default: ''
  1583. };
  1584. }
  1585. }
  1586. });
  1587. }
  1588. if (isPlainObject(vueExtends) && vueExtends.props) {
  1589. behaviors.push(initBehavior({
  1590. properties: initProperties(vueExtends.props, true)
  1591. }));
  1592. }
  1593. if (Array.isArray(vueMixins)) {
  1594. vueMixins.forEach(function (vueMixin) {
  1595. if (isPlainObject(vueMixin) && vueMixin.props) {
  1596. behaviors.push(initBehavior({
  1597. properties: initProperties(vueMixin.props, true)
  1598. }));
  1599. }
  1600. });
  1601. }
  1602. return behaviors;
  1603. }
  1604. function parsePropType(key, type, defaultValue, file) {
  1605. // [String]=>String
  1606. if (Array.isArray(type) && type.length === 1) {
  1607. return type[0];
  1608. }
  1609. return type;
  1610. }
  1611. function initProperties(props) {
  1612. var isBehavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  1613. var file = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  1614. var options = arguments.length > 3 ? arguments[3] : undefined;
  1615. var properties = {};
  1616. if (!isBehavior) {
  1617. properties.vueId = {
  1618. type: String,
  1619. value: ''
  1620. };
  1621. {
  1622. if (options.virtualHost) {
  1623. properties.virtualHostStyle = {
  1624. type: null,
  1625. value: ''
  1626. };
  1627. properties.virtualHostClass = {
  1628. type: null,
  1629. value: ''
  1630. };
  1631. }
  1632. }
  1633. // scopedSlotsCompiler auto
  1634. properties.scopedSlotsCompiler = {
  1635. type: String,
  1636. value: ''
  1637. };
  1638. properties.vueSlots = {
  1639. // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots
  1640. type: null,
  1641. value: [],
  1642. observer: function observer(newVal, oldVal) {
  1643. var $slots = Object.create(null);
  1644. newVal.forEach(function (slotName) {
  1645. $slots[slotName] = true;
  1646. });
  1647. this.setData({
  1648. $slots: $slots
  1649. });
  1650. }
  1651. };
  1652. }
  1653. if (Array.isArray(props)) {
  1654. // ['title']
  1655. props.forEach(function (key) {
  1656. properties[key] = {
  1657. type: null,
  1658. observer: createObserver(key)
  1659. };
  1660. });
  1661. } else if (isPlainObject(props)) {
  1662. // {title:{type:String,default:''},content:String}
  1663. Object.keys(props).forEach(function (key) {
  1664. var opts = props[key];
  1665. if (isPlainObject(opts)) {
  1666. // title:{type:String,default:''}
  1667. var value = opts.default;
  1668. if (isFn(value)) {
  1669. value = value();
  1670. }
  1671. opts.type = parsePropType(key, opts.type);
  1672. properties[key] = {
  1673. type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,
  1674. value: value,
  1675. observer: createObserver(key)
  1676. };
  1677. } else {
  1678. // content:String
  1679. var type = parsePropType(key, opts);
  1680. properties[key] = {
  1681. type: PROP_TYPES.indexOf(type) !== -1 ? type : null,
  1682. observer: createObserver(key)
  1683. };
  1684. }
  1685. });
  1686. }
  1687. return properties;
  1688. }
  1689. function wrapper$1(event) {
  1690. // TODO 又得兼容 mpvue 的 mp 对象
  1691. try {
  1692. event.mp = JSON.parse(JSON.stringify(event));
  1693. } catch (e) {}
  1694. event.stopPropagation = noop;
  1695. event.preventDefault = noop;
  1696. event.target = event.target || {};
  1697. if (!hasOwn(event, 'detail')) {
  1698. event.detail = {};
  1699. }
  1700. if (hasOwn(event, 'markerId')) {
  1701. event.detail = (0, _typeof2.default)(event.detail) === 'object' ? event.detail : {};
  1702. event.detail.markerId = event.markerId;
  1703. }
  1704. if (isPlainObject(event.detail)) {
  1705. event.target = Object.assign({}, event.target, event.detail);
  1706. }
  1707. return event;
  1708. }
  1709. function getExtraValue(vm, dataPathsArray) {
  1710. var context = vm;
  1711. dataPathsArray.forEach(function (dataPathArray) {
  1712. var dataPath = dataPathArray[0];
  1713. var value = dataPathArray[2];
  1714. if (dataPath || typeof value !== 'undefined') {
  1715. // ['','',index,'disable']
  1716. var propPath = dataPathArray[1];
  1717. var valuePath = dataPathArray[3];
  1718. var vFor;
  1719. if (Number.isInteger(dataPath)) {
  1720. vFor = dataPath;
  1721. } else if (!dataPath) {
  1722. vFor = context;
  1723. } else if (typeof dataPath === 'string' && dataPath) {
  1724. if (dataPath.indexOf('#s#') === 0) {
  1725. vFor = dataPath.substr(3);
  1726. } else {
  1727. vFor = vm.__get_value(dataPath, context);
  1728. }
  1729. }
  1730. if (Number.isInteger(vFor)) {
  1731. context = value;
  1732. } else if (!propPath) {
  1733. context = vFor[value];
  1734. } else {
  1735. if (Array.isArray(vFor)) {
  1736. context = vFor.find(function (vForItem) {
  1737. return vm.__get_value(propPath, vForItem) === value;
  1738. });
  1739. } else if (isPlainObject(vFor)) {
  1740. context = Object.keys(vFor).find(function (vForKey) {
  1741. return vm.__get_value(propPath, vFor[vForKey]) === value;
  1742. });
  1743. } else {
  1744. console.error('v-for 暂不支持循环数据:', vFor);
  1745. }
  1746. }
  1747. if (valuePath) {
  1748. context = vm.__get_value(valuePath, context);
  1749. }
  1750. }
  1751. });
  1752. return context;
  1753. }
  1754. function processEventExtra(vm, extra, event, __args__) {
  1755. var extraObj = {};
  1756. if (Array.isArray(extra) && extra.length) {
  1757. /**
  1758. *[
  1759. * ['data.items', 'data.id', item.data.id],
  1760. * ['metas', 'id', meta.id]
  1761. *],
  1762. *[
  1763. * ['data.items', 'data.id', item.data.id],
  1764. * ['metas', 'id', meta.id]
  1765. *],
  1766. *'test'
  1767. */
  1768. extra.forEach(function (dataPath, index) {
  1769. if (typeof dataPath === 'string') {
  1770. if (!dataPath) {
  1771. // model,prop.sync
  1772. extraObj['$' + index] = vm;
  1773. } else {
  1774. if (dataPath === '$event') {
  1775. // $event
  1776. extraObj['$' + index] = event;
  1777. } else if (dataPath === 'arguments') {
  1778. extraObj['$' + index] = event.detail ? event.detail.__args__ || __args__ : __args__;
  1779. } else if (dataPath.indexOf('$event.') === 0) {
  1780. // $event.target.value
  1781. extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);
  1782. } else {
  1783. extraObj['$' + index] = vm.__get_value(dataPath);
  1784. }
  1785. }
  1786. } else {
  1787. extraObj['$' + index] = getExtraValue(vm, dataPath);
  1788. }
  1789. });
  1790. }
  1791. return extraObj;
  1792. }
  1793. function getObjByArray(arr) {
  1794. var obj = {};
  1795. for (var i = 1; i < arr.length; i++) {
  1796. var element = arr[i];
  1797. obj[element[0]] = element[1];
  1798. }
  1799. return obj;
  1800. }
  1801. function processEventArgs(vm, event) {
  1802. var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1803. var extra = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  1804. var isCustom = arguments.length > 4 ? arguments[4] : undefined;
  1805. var methodName = arguments.length > 5 ? arguments[5] : undefined;
  1806. var isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象
  1807. // fixed 用户直接触发 mpInstance.triggerEvent
  1808. var __args__ = isPlainObject(event.detail) ? event.detail.__args__ || [event.detail] : [event.detail];
  1809. if (isCustom) {
  1810. // 自定义事件
  1811. isCustomMPEvent = event.currentTarget && event.currentTarget.dataset && event.currentTarget.dataset.comType === 'wx';
  1812. if (!args.length) {
  1813. // 无参数,直接传入 event 或 detail 数组
  1814. if (isCustomMPEvent) {
  1815. return [event];
  1816. }
  1817. return __args__;
  1818. }
  1819. }
  1820. var extraObj = processEventExtra(vm, extra, event, __args__);
  1821. var ret = [];
  1822. args.forEach(function (arg) {
  1823. if (arg === '$event') {
  1824. if (methodName === '__set_model' && !isCustom) {
  1825. // input v-model value
  1826. ret.push(event.target.value);
  1827. } else {
  1828. if (isCustom && !isCustomMPEvent) {
  1829. ret.push(__args__[0]);
  1830. } else {
  1831. // wxcomponent 组件或内置组件
  1832. ret.push(event);
  1833. }
  1834. }
  1835. } else {
  1836. if (Array.isArray(arg) && arg[0] === 'o') {
  1837. ret.push(getObjByArray(arg));
  1838. } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {
  1839. ret.push(extraObj[arg]);
  1840. } else {
  1841. ret.push(arg);
  1842. }
  1843. }
  1844. });
  1845. return ret;
  1846. }
  1847. var ONCE = '~';
  1848. var CUSTOM = '^';
  1849. function isMatchEventType(eventType, optType) {
  1850. return eventType === optType || optType === 'regionchange' && (eventType === 'begin' || eventType === 'end');
  1851. }
  1852. function getContextVm(vm) {
  1853. var $parent = vm.$parent;
  1854. // 父组件是 scoped slots 或者其他自定义组件时继续查找
  1855. while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {
  1856. $parent = $parent.$parent;
  1857. }
  1858. return $parent && $parent.$parent;
  1859. }
  1860. function handleEvent(event) {
  1861. var _this2 = this;
  1862. event = wrapper$1(event);
  1863. // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
  1864. var dataset = (event.currentTarget || event.target).dataset;
  1865. if (!dataset) {
  1866. return console.warn('事件信息不存在');
  1867. }
  1868. var eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰
  1869. if (!eventOpts) {
  1870. return console.warn('事件信息不存在');
  1871. }
  1872. // [['handle',[1,2,a]],['handle1',[1,2,a]]]
  1873. var eventType = event.type;
  1874. var ret = [];
  1875. eventOpts.forEach(function (eventOpt) {
  1876. var type = eventOpt[0];
  1877. var eventsArray = eventOpt[1];
  1878. var isCustom = type.charAt(0) === CUSTOM;
  1879. type = isCustom ? type.slice(1) : type;
  1880. var isOnce = type.charAt(0) === ONCE;
  1881. type = isOnce ? type.slice(1) : type;
  1882. if (eventsArray && isMatchEventType(eventType, type)) {
  1883. eventsArray.forEach(function (eventArray) {
  1884. var methodName = eventArray[0];
  1885. if (methodName) {
  1886. var handlerCtx = _this2.$vm;
  1887. if (handlerCtx.$options.generic) {
  1888. // mp-weixin,mp-toutiao 抽象节点模拟 scoped slots
  1889. handlerCtx = getContextVm(handlerCtx) || handlerCtx;
  1890. }
  1891. if (methodName === '$emit') {
  1892. handlerCtx.$emit.apply(handlerCtx, processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName));
  1893. return;
  1894. }
  1895. var handler = handlerCtx[methodName];
  1896. if (!isFn(handler)) {
  1897. var _type = _this2.$vm.mpType === 'page' ? 'Page' : 'Component';
  1898. var path = _this2.route || _this2.is;
  1899. throw new Error("".concat(_type, " \"").concat(path, "\" does not have a method \"").concat(methodName, "\""));
  1900. }
  1901. if (isOnce) {
  1902. if (handler.once) {
  1903. return;
  1904. }
  1905. handler.once = true;
  1906. }
  1907. var params = processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName);
  1908. params = Array.isArray(params) ? params : [];
  1909. // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据
  1910. if (/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(handler.toString())) {
  1911. // eslint-disable-next-line no-sparse-arrays
  1912. params = params.concat([,,,,,,,,,, event]);
  1913. }
  1914. ret.push(handler.apply(handlerCtx, params));
  1915. }
  1916. });
  1917. }
  1918. });
  1919. if (eventType === 'input' && ret.length === 1 && typeof ret[0] !== 'undefined') {
  1920. return ret[0];
  1921. }
  1922. }
  1923. var eventChannels = {};
  1924. var eventChannelStack = [];
  1925. function getEventChannel(id) {
  1926. if (id) {
  1927. var eventChannel = eventChannels[id];
  1928. delete eventChannels[id];
  1929. return eventChannel;
  1930. }
  1931. return eventChannelStack.shift();
  1932. }
  1933. var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection'];
  1934. function initEventChannel() {
  1935. _vue.default.prototype.getOpenerEventChannel = function () {
  1936. // 微信小程序使用自身getOpenerEventChannel
  1937. {
  1938. return this.$scope.getOpenerEventChannel();
  1939. }
  1940. };
  1941. var callHook = _vue.default.prototype.__call_hook;
  1942. _vue.default.prototype.__call_hook = function (hook, args) {
  1943. if (hook === 'onLoad' && args && args.__id__) {
  1944. this.__eventChannel__ = getEventChannel(args.__id__);
  1945. delete args.__id__;
  1946. }
  1947. return callHook.call(this, hook, args);
  1948. };
  1949. }
  1950. function initScopedSlotsParams() {
  1951. var center = {};
  1952. var parents = {};
  1953. function currentId(fn) {
  1954. var vueIds = this.$options.propsData.vueId;
  1955. if (vueIds) {
  1956. var vueId = vueIds.split(',')[0];
  1957. fn(vueId);
  1958. }
  1959. }
  1960. _vue.default.prototype.$hasSSP = function (vueId) {
  1961. var slot = center[vueId];
  1962. if (!slot) {
  1963. parents[vueId] = this;
  1964. this.$on('hook:destroyed', function () {
  1965. delete parents[vueId];
  1966. });
  1967. }
  1968. return slot;
  1969. };
  1970. _vue.default.prototype.$getSSP = function (vueId, name, needAll) {
  1971. var slot = center[vueId];
  1972. if (slot) {
  1973. var params = slot[name] || [];
  1974. if (needAll) {
  1975. return params;
  1976. }
  1977. return params[0];
  1978. }
  1979. };
  1980. _vue.default.prototype.$setSSP = function (name, value) {
  1981. var index = 0;
  1982. currentId.call(this, function (vueId) {
  1983. var slot = center[vueId];
  1984. var params = slot[name] = slot[name] || [];
  1985. params.push(value);
  1986. index = params.length - 1;
  1987. });
  1988. return index;
  1989. };
  1990. _vue.default.prototype.$initSSP = function () {
  1991. currentId.call(this, function (vueId) {
  1992. center[vueId] = {};
  1993. });
  1994. };
  1995. _vue.default.prototype.$callSSP = function () {
  1996. currentId.call(this, function (vueId) {
  1997. if (parents[vueId]) {
  1998. parents[vueId].$forceUpdate();
  1999. }
  2000. });
  2001. };
  2002. _vue.default.mixin({
  2003. destroyed: function destroyed() {
  2004. var propsData = this.$options.propsData;
  2005. var vueId = propsData && propsData.vueId;
  2006. if (vueId) {
  2007. delete center[vueId];
  2008. delete parents[vueId];
  2009. }
  2010. }
  2011. });
  2012. }
  2013. function parseBaseApp(vm, _ref4) {
  2014. var mocks = _ref4.mocks,
  2015. initRefs = _ref4.initRefs;
  2016. initEventChannel();
  2017. {
  2018. initScopedSlotsParams();
  2019. }
  2020. if (vm.$options.store) {
  2021. _vue.default.prototype.$store = vm.$options.store;
  2022. }
  2023. uniIdMixin(_vue.default);
  2024. _vue.default.prototype.mpHost = "mp-weixin";
  2025. _vue.default.mixin({
  2026. beforeCreate: function beforeCreate() {
  2027. if (!this.$options.mpType) {
  2028. return;
  2029. }
  2030. this.mpType = this.$options.mpType;
  2031. this.$mp = (0, _defineProperty2.default)({
  2032. data: {}
  2033. }, this.mpType, this.$options.mpInstance);
  2034. this.$scope = this.$options.mpInstance;
  2035. delete this.$options.mpType;
  2036. delete this.$options.mpInstance;
  2037. if (this.mpType === 'page' && typeof getApp === 'function') {
  2038. // hack vue-i18n
  2039. var app = getApp();
  2040. if (app.$vm && app.$vm.$i18n) {
  2041. this._i18n = app.$vm.$i18n;
  2042. }
  2043. }
  2044. if (this.mpType !== 'app') {
  2045. initRefs(this);
  2046. initMocks(this, mocks);
  2047. }
  2048. }
  2049. });
  2050. var appOptions = {
  2051. onLaunch: function onLaunch(args) {
  2052. if (this.$vm) {
  2053. // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
  2054. return;
  2055. }
  2056. {
  2057. if (wx.canIUse && !wx.canIUse('nextTick')) {
  2058. // 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断
  2059. console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');
  2060. }
  2061. }
  2062. this.$vm = vm;
  2063. this.$vm.$mp = {
  2064. app: this
  2065. };
  2066. this.$vm.$scope = this;
  2067. // vm 上也挂载 globalData
  2068. this.$vm.globalData = this.globalData;
  2069. this.$vm._isMounted = true;
  2070. this.$vm.__call_hook('mounted', args);
  2071. this.$vm.__call_hook('onLaunch', args);
  2072. }
  2073. };
  2074. // 兼容旧版本 globalData
  2075. appOptions.globalData = vm.$options.globalData || {};
  2076. // 将 methods 中的方法挂在 getApp() 中
  2077. var methods = vm.$options.methods;
  2078. if (methods) {
  2079. Object.keys(methods).forEach(function (name) {
  2080. appOptions[name] = methods[name];
  2081. });
  2082. }
  2083. initAppLocale(_vue.default, vm, normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN);
  2084. initHooks(appOptions, hooks);
  2085. initUnknownHooks(appOptions, vm.$options);
  2086. return appOptions;
  2087. }
  2088. function parseApp(vm) {
  2089. return parseBaseApp(vm, {
  2090. mocks: mocks,
  2091. initRefs: initRefs
  2092. });
  2093. }
  2094. function createApp(vm) {
  2095. App(parseApp(vm));
  2096. return vm;
  2097. }
  2098. var encodeReserveRE = /[!'()*]/g;
  2099. var encodeReserveReplacer = function encodeReserveReplacer(c) {
  2100. return '%' + c.charCodeAt(0).toString(16);
  2101. };
  2102. var commaRE = /%2C/g;
  2103. // fixed encodeURIComponent which is more conformant to RFC3986:
  2104. // - escapes [!'()*]
  2105. // - preserve commas
  2106. var encode = function encode(str) {
  2107. return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');
  2108. };
  2109. function stringifyQuery(obj) {
  2110. var encodeStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : encode;
  2111. var res = obj ? Object.keys(obj).map(function (key) {
  2112. var val = obj[key];
  2113. if (val === undefined) {
  2114. return '';
  2115. }
  2116. if (val === null) {
  2117. return encodeStr(key);
  2118. }
  2119. if (Array.isArray(val)) {
  2120. var result = [];
  2121. val.forEach(function (val2) {
  2122. if (val2 === undefined) {
  2123. return;
  2124. }
  2125. if (val2 === null) {
  2126. result.push(encodeStr(key));
  2127. } else {
  2128. result.push(encodeStr(key) + '=' + encodeStr(val2));
  2129. }
  2130. });
  2131. return result.join('&');
  2132. }
  2133. return encodeStr(key) + '=' + encodeStr(val);
  2134. }).filter(function (x) {
  2135. return x.length > 0;
  2136. }).join('&') : null;
  2137. return res ? "?".concat(res) : '';
  2138. }
  2139. function parseBaseComponent(vueComponentOptions) {
  2140. var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
  2141. isPage = _ref5.isPage,
  2142. initRelation = _ref5.initRelation;
  2143. var needVueOptions = arguments.length > 2 ? arguments[2] : undefined;
  2144. var _initVueComponent = initVueComponent(_vue.default, vueComponentOptions),
  2145. _initVueComponent2 = (0, _slicedToArray2.default)(_initVueComponent, 2),
  2146. VueComponent = _initVueComponent2[0],
  2147. vueOptions = _initVueComponent2[1];
  2148. var options = _objectSpread({
  2149. multipleSlots: true,
  2150. // styleIsolation: 'apply-shared',
  2151. addGlobalClass: true
  2152. }, vueOptions.options || {});
  2153. {
  2154. // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
  2155. if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {
  2156. Object.assign(options, vueOptions['mp-weixin'].options);
  2157. }
  2158. }
  2159. var componentOptions = {
  2160. options: options,
  2161. data: initData(vueOptions, _vue.default.prototype),
  2162. behaviors: initBehaviors(vueOptions, initBehavior),
  2163. properties: initProperties(vueOptions.props, false, vueOptions.__file, options),
  2164. lifetimes: {
  2165. attached: function attached() {
  2166. var properties = this.properties;
  2167. var options = {
  2168. mpType: isPage.call(this) ? 'page' : 'component',
  2169. mpInstance: this,
  2170. propsData: properties
  2171. };
  2172. initVueIds(properties.vueId, this);
  2173. // 处理父子关系
  2174. initRelation.call(this, {
  2175. vuePid: this._$vuePid,
  2176. vueOptions: options
  2177. });
  2178. // 初始化 vue 实例
  2179. this.$vm = new VueComponent(options);
  2180. // 处理$slots,$scopedSlots(暂不支持动态变化$slots)
  2181. initSlots(this.$vm, properties.vueSlots);
  2182. // 触发首次 setData
  2183. this.$vm.$mount();
  2184. },
  2185. ready: function ready() {
  2186. // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发
  2187. // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800
  2188. if (this.$vm) {
  2189. this.$vm._isMounted = true;
  2190. this.$vm.__call_hook('mounted');
  2191. this.$vm.__call_hook('onReady');
  2192. }
  2193. },
  2194. detached: function detached() {
  2195. this.$vm && this.$vm.$destroy();
  2196. }
  2197. },
  2198. pageLifetimes: {
  2199. show: function show(args) {
  2200. this.$vm && this.$vm.__call_hook('onPageShow', args);
  2201. },
  2202. hide: function hide() {
  2203. this.$vm && this.$vm.__call_hook('onPageHide');
  2204. },
  2205. resize: function resize(size) {
  2206. this.$vm && this.$vm.__call_hook('onPageResize', size);
  2207. }
  2208. },
  2209. methods: {
  2210. __l: handleLink,
  2211. __e: handleEvent
  2212. }
  2213. };
  2214. // externalClasses
  2215. if (vueOptions.externalClasses) {
  2216. componentOptions.externalClasses = vueOptions.externalClasses;
  2217. }
  2218. if (Array.isArray(vueOptions.wxsCallMethods)) {
  2219. vueOptions.wxsCallMethods.forEach(function (callMethod) {
  2220. componentOptions.methods[callMethod] = function (args) {
  2221. return this.$vm[callMethod](args);
  2222. };
  2223. });
  2224. }
  2225. if (needVueOptions) {
  2226. return [componentOptions, vueOptions, VueComponent];
  2227. }
  2228. if (isPage) {
  2229. return componentOptions;
  2230. }
  2231. return [componentOptions, VueComponent];
  2232. }
  2233. function parseComponent(vueComponentOptions, needVueOptions) {
  2234. return parseBaseComponent(vueComponentOptions, {
  2235. isPage: isPage,
  2236. initRelation: initRelation
  2237. }, needVueOptions);
  2238. }
  2239. var hooks$1 = ['onShow', 'onHide', 'onUnload'];
  2240. hooks$1.push.apply(hooks$1, PAGE_EVENT_HOOKS);
  2241. function parseBasePage(vuePageOptions) {
  2242. var _parseComponent = parseComponent(vuePageOptions, true),
  2243. _parseComponent2 = (0, _slicedToArray2.default)(_parseComponent, 2),
  2244. pageOptions = _parseComponent2[0],
  2245. vueOptions = _parseComponent2[1];
  2246. initHooks(pageOptions.methods, hooks$1, vueOptions);
  2247. pageOptions.methods.onLoad = function (query) {
  2248. this.options = query;
  2249. var copyQuery = Object.assign({}, query);
  2250. delete copyQuery.__id__;
  2251. this.$page = {
  2252. fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery)
  2253. };
  2254. this.$vm.$mp.query = query; // 兼容 mpvue
  2255. this.$vm.__call_hook('onLoad', query);
  2256. };
  2257. {
  2258. initUnknownHooks(pageOptions.methods, vuePageOptions, ['onReady']);
  2259. }
  2260. {
  2261. initWorkletMethods(pageOptions.methods, vueOptions.methods);
  2262. }
  2263. return pageOptions;
  2264. }
  2265. function parsePage(vuePageOptions) {
  2266. return parseBasePage(vuePageOptions);
  2267. }
  2268. function createPage(vuePageOptions) {
  2269. {
  2270. return Component(parsePage(vuePageOptions));
  2271. }
  2272. }
  2273. function createComponent(vueOptions) {
  2274. {
  2275. return Component(parseComponent(vueOptions));
  2276. }
  2277. }
  2278. function createSubpackageApp(vm) {
  2279. var appOptions = parseApp(vm);
  2280. var app = getApp({
  2281. allowDefault: true
  2282. });
  2283. vm.$scope = app;
  2284. var globalData = app.globalData;
  2285. if (globalData) {
  2286. Object.keys(appOptions.globalData).forEach(function (name) {
  2287. if (!hasOwn(globalData, name)) {
  2288. globalData[name] = appOptions.globalData[name];
  2289. }
  2290. });
  2291. }
  2292. Object.keys(appOptions).forEach(function (name) {
  2293. if (!hasOwn(app, name)) {
  2294. app[name] = appOptions[name];
  2295. }
  2296. });
  2297. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2298. wx.onAppShow(function () {
  2299. for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
  2300. args[_key5] = arguments[_key5];
  2301. }
  2302. vm.__call_hook('onShow', args);
  2303. });
  2304. }
  2305. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2306. wx.onAppHide(function () {
  2307. for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
  2308. args[_key6] = arguments[_key6];
  2309. }
  2310. vm.__call_hook('onHide', args);
  2311. });
  2312. }
  2313. if (isFn(appOptions.onLaunch)) {
  2314. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2315. vm.__call_hook('onLaunch', args);
  2316. }
  2317. return vm;
  2318. }
  2319. function createPlugin(vm) {
  2320. var appOptions = parseApp(vm);
  2321. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2322. wx.onAppShow(function () {
  2323. for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
  2324. args[_key7] = arguments[_key7];
  2325. }
  2326. vm.__call_hook('onShow', args);
  2327. });
  2328. }
  2329. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2330. wx.onAppHide(function () {
  2331. for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
  2332. args[_key8] = arguments[_key8];
  2333. }
  2334. vm.__call_hook('onHide', args);
  2335. });
  2336. }
  2337. if (isFn(appOptions.onLaunch)) {
  2338. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2339. vm.__call_hook('onLaunch', args);
  2340. }
  2341. return vm;
  2342. }
  2343. todos.forEach(function (todoApi) {
  2344. protocols[todoApi] = false;
  2345. });
  2346. canIUses.forEach(function (canIUseApi) {
  2347. var apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name : canIUseApi;
  2348. if (!wx.canIUse(apiName)) {
  2349. protocols[canIUseApi] = false;
  2350. }
  2351. });
  2352. var uni = {};
  2353. if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
  2354. uni = new Proxy({}, {
  2355. get: function get(target, name) {
  2356. if (hasOwn(target, name)) {
  2357. return target[name];
  2358. }
  2359. if (baseApi[name]) {
  2360. return baseApi[name];
  2361. }
  2362. if (api[name]) {
  2363. return promisify(name, api[name]);
  2364. }
  2365. {
  2366. if (extraApi[name]) {
  2367. return promisify(name, extraApi[name]);
  2368. }
  2369. if (todoApis[name]) {
  2370. return promisify(name, todoApis[name]);
  2371. }
  2372. }
  2373. if (eventApi[name]) {
  2374. return eventApi[name];
  2375. }
  2376. return promisify(name, wrapper(name, wx[name]));
  2377. },
  2378. set: function set(target, name, value) {
  2379. target[name] = value;
  2380. return true;
  2381. }
  2382. });
  2383. } else {
  2384. Object.keys(baseApi).forEach(function (name) {
  2385. uni[name] = baseApi[name];
  2386. });
  2387. {
  2388. Object.keys(todoApis).forEach(function (name) {
  2389. uni[name] = promisify(name, todoApis[name]);
  2390. });
  2391. Object.keys(extraApi).forEach(function (name) {
  2392. uni[name] = promisify(name, todoApis[name]);
  2393. });
  2394. }
  2395. Object.keys(eventApi).forEach(function (name) {
  2396. uni[name] = eventApi[name];
  2397. });
  2398. Object.keys(api).forEach(function (name) {
  2399. uni[name] = promisify(name, api[name]);
  2400. });
  2401. Object.keys(wx).forEach(function (name) {
  2402. if (hasOwn(wx, name) || hasOwn(protocols, name)) {
  2403. uni[name] = promisify(name, wrapper(name, wx[name]));
  2404. }
  2405. });
  2406. }
  2407. wx.createApp = createApp;
  2408. wx.createPage = createPage;
  2409. wx.createComponent = createComponent;
  2410. wx.createSubpackageApp = createSubpackageApp;
  2411. wx.createPlugin = createPlugin;
  2412. var uni$1 = uni;
  2413. var _default = uni$1;
  2414. exports.default = _default;
  2415. /* 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)))
  2416. /***/ }),
  2417. /* 3 */
  2418. /*!***********************************!*\
  2419. !*** (webpack)/buildin/global.js ***!
  2420. \***********************************/
  2421. /*! no static exports found */
  2422. /***/ (function(module, exports) {
  2423. var g;
  2424. // This works in non-strict mode
  2425. g = (function() {
  2426. return this;
  2427. })();
  2428. try {
  2429. // This works if eval is allowed (see CSP)
  2430. g = g || new Function("return this")();
  2431. } catch (e) {
  2432. // This works if the window reference is available
  2433. if (typeof window === "object") g = window;
  2434. }
  2435. // g can still be undefined, but nothing to do about it...
  2436. // We return undefined, instead of nothing here, so it's
  2437. // easier to handle this case. if(!global) { ...}
  2438. module.exports = g;
  2439. /***/ }),
  2440. /* 4 */
  2441. /*!**********************************************************************!*\
  2442. !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
  2443. \**********************************************************************/
  2444. /*! no static exports found */
  2445. /***/ (function(module, exports) {
  2446. function _interopRequireDefault(obj) {
  2447. return obj && obj.__esModule ? obj : {
  2448. "default": obj
  2449. };
  2450. }
  2451. module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2452. /***/ }),
  2453. /* 5 */
  2454. /*!**************************************************************!*\
  2455. !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***!
  2456. \**************************************************************/
  2457. /*! no static exports found */
  2458. /***/ (function(module, exports, __webpack_require__) {
  2459. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  2460. var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 7);
  2461. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  2462. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  2463. function _slicedToArray(arr, i) {
  2464. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  2465. }
  2466. module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2467. /***/ }),
  2468. /* 6 */
  2469. /*!***************************************************************!*\
  2470. !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
  2471. \***************************************************************/
  2472. /*! no static exports found */
  2473. /***/ (function(module, exports) {
  2474. function _arrayWithHoles(arr) {
  2475. if (Array.isArray(arr)) return arr;
  2476. }
  2477. module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2478. /***/ }),
  2479. /* 7 */
  2480. /*!*********************************************************************!*\
  2481. !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
  2482. \*********************************************************************/
  2483. /*! no static exports found */
  2484. /***/ (function(module, exports) {
  2485. function _iterableToArrayLimit(arr, i) {
  2486. var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
  2487. if (null != _i) {
  2488. var _s,
  2489. _e,
  2490. _x,
  2491. _r,
  2492. _arr = [],
  2493. _n = !0,
  2494. _d = !1;
  2495. try {
  2496. if (_x = (_i = _i.call(arr)).next, 0 === i) {
  2497. if (Object(_i) !== _i) return;
  2498. _n = !1;
  2499. } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
  2500. ;
  2501. }
  2502. } catch (err) {
  2503. _d = !0, _e = err;
  2504. } finally {
  2505. try {
  2506. if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
  2507. } finally {
  2508. if (_d) throw _e;
  2509. }
  2510. }
  2511. return _arr;
  2512. }
  2513. }
  2514. module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2515. /***/ }),
  2516. /* 8 */
  2517. /*!***************************************************************************!*\
  2518. !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
  2519. \***************************************************************************/
  2520. /*! no static exports found */
  2521. /***/ (function(module, exports, __webpack_require__) {
  2522. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  2523. function _unsupportedIterableToArray(o, minLen) {
  2524. if (!o) return;
  2525. if (typeof o === "string") return arrayLikeToArray(o, minLen);
  2526. var n = Object.prototype.toString.call(o).slice(8, -1);
  2527. if (n === "Object" && o.constructor) n = o.constructor.name;
  2528. if (n === "Map" || n === "Set") return Array.from(o);
  2529. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
  2530. }
  2531. module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2532. /***/ }),
  2533. /* 9 */
  2534. /*!*****************************************************************!*\
  2535. !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
  2536. \*****************************************************************/
  2537. /*! no static exports found */
  2538. /***/ (function(module, exports) {
  2539. function _arrayLikeToArray(arr, len) {
  2540. if (len == null || len > arr.length) len = arr.length;
  2541. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  2542. arr2[i] = arr[i];
  2543. }
  2544. return arr2;
  2545. }
  2546. module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2547. /***/ }),
  2548. /* 10 */
  2549. /*!****************************************************************!*\
  2550. !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
  2551. \****************************************************************/
  2552. /*! no static exports found */
  2553. /***/ (function(module, exports) {
  2554. function _nonIterableRest() {
  2555. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2556. }
  2557. module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2558. /***/ }),
  2559. /* 11 */
  2560. /*!***************************************************************!*\
  2561. !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
  2562. \***************************************************************/
  2563. /*! no static exports found */
  2564. /***/ (function(module, exports, __webpack_require__) {
  2565. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  2566. function _defineProperty(obj, key, value) {
  2567. key = toPropertyKey(key);
  2568. if (key in obj) {
  2569. Object.defineProperty(obj, key, {
  2570. value: value,
  2571. enumerable: true,
  2572. configurable: true,
  2573. writable: true
  2574. });
  2575. } else {
  2576. obj[key] = value;
  2577. }
  2578. return obj;
  2579. }
  2580. module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2581. /***/ }),
  2582. /* 12 */
  2583. /*!**************************************************************!*\
  2584. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  2585. \**************************************************************/
  2586. /*! no static exports found */
  2587. /***/ (function(module, exports, __webpack_require__) {
  2588. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  2589. var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 14);
  2590. function _toPropertyKey(arg) {
  2591. var key = toPrimitive(arg, "string");
  2592. return _typeof(key) === "symbol" ? key : String(key);
  2593. }
  2594. module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2595. /***/ }),
  2596. /* 13 */
  2597. /*!*******************************************************!*\
  2598. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  2599. \*******************************************************/
  2600. /*! no static exports found */
  2601. /***/ (function(module, exports) {
  2602. function _typeof(obj) {
  2603. "@babel/helpers - typeof";
  2604. return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
  2605. return typeof obj;
  2606. } : function (obj) {
  2607. return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  2608. }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
  2609. }
  2610. module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2611. /***/ }),
  2612. /* 14 */
  2613. /*!************************************************************!*\
  2614. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  2615. \************************************************************/
  2616. /*! no static exports found */
  2617. /***/ (function(module, exports, __webpack_require__) {
  2618. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  2619. function _toPrimitive(input, hint) {
  2620. if (_typeof(input) !== "object" || input === null) return input;
  2621. var prim = input[Symbol.toPrimitive];
  2622. if (prim !== undefined) {
  2623. var res = prim.call(input, hint || "default");
  2624. if (_typeof(res) !== "object") return res;
  2625. throw new TypeError("@@toPrimitive must return a primitive value.");
  2626. }
  2627. return (hint === "string" ? String : Number)(input);
  2628. }
  2629. module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2630. /***/ }),
  2631. /* 15 */
  2632. /*!**********************************************************!*\
  2633. !*** ./node_modules/@babel/runtime/helpers/construct.js ***!
  2634. \**********************************************************/
  2635. /*! no static exports found */
  2636. /***/ (function(module, exports, __webpack_require__) {
  2637. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  2638. var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 17);
  2639. function _construct(Parent, args, Class) {
  2640. if (isNativeReflectConstruct()) {
  2641. module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
  2642. } else {
  2643. module.exports = _construct = function _construct(Parent, args, Class) {
  2644. var a = [null];
  2645. a.push.apply(a, args);
  2646. var Constructor = Function.bind.apply(Parent, a);
  2647. var instance = new Constructor();
  2648. if (Class) setPrototypeOf(instance, Class.prototype);
  2649. return instance;
  2650. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2651. }
  2652. return _construct.apply(null, arguments);
  2653. }
  2654. module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2655. /***/ }),
  2656. /* 16 */
  2657. /*!***************************************************************!*\
  2658. !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
  2659. \***************************************************************/
  2660. /*! no static exports found */
  2661. /***/ (function(module, exports) {
  2662. function _setPrototypeOf(o, p) {
  2663. module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  2664. o.__proto__ = p;
  2665. return o;
  2666. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2667. return _setPrototypeOf(o, p);
  2668. }
  2669. module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2670. /***/ }),
  2671. /* 17 */
  2672. /*!*************************************************************************!*\
  2673. !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***!
  2674. \*************************************************************************/
  2675. /*! no static exports found */
  2676. /***/ (function(module, exports) {
  2677. function _isNativeReflectConstruct() {
  2678. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  2679. if (Reflect.construct.sham) return false;
  2680. if (typeof Proxy === "function") return true;
  2681. try {
  2682. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  2683. return true;
  2684. } catch (e) {
  2685. return false;
  2686. }
  2687. }
  2688. module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2689. /***/ }),
  2690. /* 18 */
  2691. /*!******************************************************************!*\
  2692. !*** ./node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
  2693. \******************************************************************/
  2694. /*! no static exports found */
  2695. /***/ (function(module, exports, __webpack_require__) {
  2696. var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 19);
  2697. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  2698. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  2699. var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 21);
  2700. function _toConsumableArray(arr) {
  2701. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  2702. }
  2703. module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2704. /***/ }),
  2705. /* 19 */
  2706. /*!******************************************************************!*\
  2707. !*** ./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
  2708. \******************************************************************/
  2709. /*! no static exports found */
  2710. /***/ (function(module, exports, __webpack_require__) {
  2711. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  2712. function _arrayWithoutHoles(arr) {
  2713. if (Array.isArray(arr)) return arrayLikeToArray(arr);
  2714. }
  2715. module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2716. /***/ }),
  2717. /* 20 */
  2718. /*!****************************************************************!*\
  2719. !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***!
  2720. \****************************************************************/
  2721. /*! no static exports found */
  2722. /***/ (function(module, exports) {
  2723. function _iterableToArray(iter) {
  2724. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  2725. }
  2726. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2727. /***/ }),
  2728. /* 21 */
  2729. /*!******************************************************************!*\
  2730. !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
  2731. \******************************************************************/
  2732. /*! no static exports found */
  2733. /***/ (function(module, exports) {
  2734. function _nonIterableSpread() {
  2735. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2736. }
  2737. module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2738. /***/ }),
  2739. /* 22 */
  2740. /*!*************************************************************!*\
  2741. !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
  2742. \*************************************************************/
  2743. /*! no static exports found */
  2744. /***/ (function(module, exports, __webpack_require__) {
  2745. "use strict";
  2746. /* WEBPACK VAR INJECTION */(function(uni, global) {
  2747. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  2748. Object.defineProperty(exports, "__esModule", {
  2749. value: true
  2750. });
  2751. exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0;
  2752. exports.compileI18nJsonStr = compileI18nJsonStr;
  2753. exports.hasI18nJson = hasI18nJson;
  2754. exports.initVueI18n = initVueI18n;
  2755. exports.isI18nStr = isI18nStr;
  2756. exports.isString = void 0;
  2757. exports.normalizeLocale = normalizeLocale;
  2758. exports.parseI18nJson = parseI18nJson;
  2759. exports.resolveLocale = resolveLocale;
  2760. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  2761. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  2762. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  2763. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  2764. var isObject = function isObject(val) {
  2765. return val !== null && (0, _typeof2.default)(val) === 'object';
  2766. };
  2767. var defaultDelimiters = ['{', '}'];
  2768. var BaseFormatter = /*#__PURE__*/function () {
  2769. function BaseFormatter() {
  2770. (0, _classCallCheck2.default)(this, BaseFormatter);
  2771. this._caches = Object.create(null);
  2772. }
  2773. (0, _createClass2.default)(BaseFormatter, [{
  2774. key: "interpolate",
  2775. value: function interpolate(message, values) {
  2776. var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters;
  2777. if (!values) {
  2778. return [message];
  2779. }
  2780. var tokens = this._caches[message];
  2781. if (!tokens) {
  2782. tokens = parse(message, delimiters);
  2783. this._caches[message] = tokens;
  2784. }
  2785. return compile(tokens, values);
  2786. }
  2787. }]);
  2788. return BaseFormatter;
  2789. }();
  2790. exports.Formatter = BaseFormatter;
  2791. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  2792. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  2793. function parse(format, _ref) {
  2794. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  2795. startDelimiter = _ref2[0],
  2796. endDelimiter = _ref2[1];
  2797. var tokens = [];
  2798. var position = 0;
  2799. var text = '';
  2800. while (position < format.length) {
  2801. var char = format[position++];
  2802. if (char === startDelimiter) {
  2803. if (text) {
  2804. tokens.push({
  2805. type: 'text',
  2806. value: text
  2807. });
  2808. }
  2809. text = '';
  2810. var sub = '';
  2811. char = format[position++];
  2812. while (char !== undefined && char !== endDelimiter) {
  2813. sub += char;
  2814. char = format[position++];
  2815. }
  2816. var isClosed = char === endDelimiter;
  2817. var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';
  2818. tokens.push({
  2819. value: sub,
  2820. type: type
  2821. });
  2822. }
  2823. // else if (char === '%') {
  2824. // // when found rails i18n syntax, skip text capture
  2825. // if (format[position] !== '{') {
  2826. // text += char
  2827. // }
  2828. // }
  2829. else {
  2830. text += char;
  2831. }
  2832. }
  2833. text && tokens.push({
  2834. type: 'text',
  2835. value: text
  2836. });
  2837. return tokens;
  2838. }
  2839. function compile(tokens, values) {
  2840. var compiled = [];
  2841. var index = 0;
  2842. var mode = Array.isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';
  2843. if (mode === 'unknown') {
  2844. return compiled;
  2845. }
  2846. while (index < tokens.length) {
  2847. var token = tokens[index];
  2848. switch (token.type) {
  2849. case 'text':
  2850. compiled.push(token.value);
  2851. break;
  2852. case 'list':
  2853. compiled.push(values[parseInt(token.value, 10)]);
  2854. break;
  2855. case 'named':
  2856. if (mode === 'named') {
  2857. compiled.push(values[token.value]);
  2858. } else {
  2859. if (true) {
  2860. console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!"));
  2861. }
  2862. }
  2863. break;
  2864. case 'unknown':
  2865. if (true) {
  2866. console.warn("Detect 'unknown' type of token!");
  2867. }
  2868. break;
  2869. }
  2870. index++;
  2871. }
  2872. return compiled;
  2873. }
  2874. var LOCALE_ZH_HANS = 'zh-Hans';
  2875. exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS;
  2876. var LOCALE_ZH_HANT = 'zh-Hant';
  2877. exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT;
  2878. var LOCALE_EN = 'en';
  2879. exports.LOCALE_EN = LOCALE_EN;
  2880. var LOCALE_FR = 'fr';
  2881. exports.LOCALE_FR = LOCALE_FR;
  2882. var LOCALE_ES = 'es';
  2883. exports.LOCALE_ES = LOCALE_ES;
  2884. var hasOwnProperty = Object.prototype.hasOwnProperty;
  2885. var hasOwn = function hasOwn(val, key) {
  2886. return hasOwnProperty.call(val, key);
  2887. };
  2888. var defaultFormatter = new BaseFormatter();
  2889. function include(str, parts) {
  2890. return !!parts.find(function (part) {
  2891. return str.indexOf(part) !== -1;
  2892. });
  2893. }
  2894. function startsWith(str, parts) {
  2895. return parts.find(function (part) {
  2896. return str.indexOf(part) === 0;
  2897. });
  2898. }
  2899. function normalizeLocale(locale, messages) {
  2900. if (!locale) {
  2901. return;
  2902. }
  2903. locale = locale.trim().replace(/_/g, '-');
  2904. if (messages && messages[locale]) {
  2905. return locale;
  2906. }
  2907. locale = locale.toLowerCase();
  2908. if (locale === 'chinese') {
  2909. // 支付宝
  2910. return LOCALE_ZH_HANS;
  2911. }
  2912. if (locale.indexOf('zh') === 0) {
  2913. if (locale.indexOf('-hans') > -1) {
  2914. return LOCALE_ZH_HANS;
  2915. }
  2916. if (locale.indexOf('-hant') > -1) {
  2917. return LOCALE_ZH_HANT;
  2918. }
  2919. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  2920. return LOCALE_ZH_HANT;
  2921. }
  2922. return LOCALE_ZH_HANS;
  2923. }
  2924. var locales = [LOCALE_EN, LOCALE_FR, LOCALE_ES];
  2925. if (messages && Object.keys(messages).length > 0) {
  2926. locales = Object.keys(messages);
  2927. }
  2928. var lang = startsWith(locale, locales);
  2929. if (lang) {
  2930. return lang;
  2931. }
  2932. }
  2933. var I18n = /*#__PURE__*/function () {
  2934. function I18n(_ref3) {
  2935. var locale = _ref3.locale,
  2936. fallbackLocale = _ref3.fallbackLocale,
  2937. messages = _ref3.messages,
  2938. watcher = _ref3.watcher,
  2939. formater = _ref3.formater;
  2940. (0, _classCallCheck2.default)(this, I18n);
  2941. this.locale = LOCALE_EN;
  2942. this.fallbackLocale = LOCALE_EN;
  2943. this.message = {};
  2944. this.messages = {};
  2945. this.watchers = [];
  2946. if (fallbackLocale) {
  2947. this.fallbackLocale = fallbackLocale;
  2948. }
  2949. this.formater = formater || defaultFormatter;
  2950. this.messages = messages || {};
  2951. this.setLocale(locale || LOCALE_EN);
  2952. if (watcher) {
  2953. this.watchLocale(watcher);
  2954. }
  2955. }
  2956. (0, _createClass2.default)(I18n, [{
  2957. key: "setLocale",
  2958. value: function setLocale(locale) {
  2959. var _this = this;
  2960. var oldLocale = this.locale;
  2961. this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;
  2962. if (!this.messages[this.locale]) {
  2963. // 可能初始化时不存在
  2964. this.messages[this.locale] = {};
  2965. }
  2966. this.message = this.messages[this.locale];
  2967. // 仅发生变化时,通知
  2968. if (oldLocale !== this.locale) {
  2969. this.watchers.forEach(function (watcher) {
  2970. watcher(_this.locale, oldLocale);
  2971. });
  2972. }
  2973. }
  2974. }, {
  2975. key: "getLocale",
  2976. value: function getLocale() {
  2977. return this.locale;
  2978. }
  2979. }, {
  2980. key: "watchLocale",
  2981. value: function watchLocale(fn) {
  2982. var _this2 = this;
  2983. var index = this.watchers.push(fn) - 1;
  2984. return function () {
  2985. _this2.watchers.splice(index, 1);
  2986. };
  2987. }
  2988. }, {
  2989. key: "add",
  2990. value: function add(locale, message) {
  2991. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  2992. var curMessages = this.messages[locale];
  2993. if (curMessages) {
  2994. if (override) {
  2995. Object.assign(curMessages, message);
  2996. } else {
  2997. Object.keys(message).forEach(function (key) {
  2998. if (!hasOwn(curMessages, key)) {
  2999. curMessages[key] = message[key];
  3000. }
  3001. });
  3002. }
  3003. } else {
  3004. this.messages[locale] = message;
  3005. }
  3006. }
  3007. }, {
  3008. key: "f",
  3009. value: function f(message, values, delimiters) {
  3010. return this.formater.interpolate(message, values, delimiters).join('');
  3011. }
  3012. }, {
  3013. key: "t",
  3014. value: function t(key, locale, values) {
  3015. var message = this.message;
  3016. if (typeof locale === 'string') {
  3017. locale = normalizeLocale(locale, this.messages);
  3018. locale && (message = this.messages[locale]);
  3019. } else {
  3020. values = locale;
  3021. }
  3022. if (!hasOwn(message, key)) {
  3023. console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default."));
  3024. return key;
  3025. }
  3026. return this.formater.interpolate(message[key], values).join('');
  3027. }
  3028. }]);
  3029. return I18n;
  3030. }();
  3031. exports.I18n = I18n;
  3032. function watchAppLocale(appVm, i18n) {
  3033. // 需要保证 watch 的触发在组件渲染之前
  3034. if (appVm.$watchLocale) {
  3035. // vue2
  3036. appVm.$watchLocale(function (newLocale) {
  3037. i18n.setLocale(newLocale);
  3038. });
  3039. } else {
  3040. appVm.$watch(function () {
  3041. return appVm.$locale;
  3042. }, function (newLocale) {
  3043. i18n.setLocale(newLocale);
  3044. });
  3045. }
  3046. }
  3047. function getDefaultLocale() {
  3048. if (typeof uni !== 'undefined' && uni.getLocale) {
  3049. return uni.getLocale();
  3050. }
  3051. // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale
  3052. if (typeof global !== 'undefined' && global.getLocale) {
  3053. return global.getLocale();
  3054. }
  3055. return LOCALE_EN;
  3056. }
  3057. function initVueI18n(locale) {
  3058. var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  3059. var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined;
  3060. var watcher = arguments.length > 3 ? arguments[3] : undefined;
  3061. // 兼容旧版本入参
  3062. if (typeof locale !== 'string') {
  3063. var _ref4 = [messages, locale];
  3064. locale = _ref4[0];
  3065. messages = _ref4[1];
  3066. }
  3067. if (typeof locale !== 'string') {
  3068. // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined
  3069. locale = getDefaultLocale();
  3070. }
  3071. if (typeof fallbackLocale !== 'string') {
  3072. fallbackLocale = typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale || LOCALE_EN;
  3073. }
  3074. var i18n = new I18n({
  3075. locale: locale,
  3076. fallbackLocale: fallbackLocale,
  3077. messages: messages,
  3078. watcher: watcher
  3079. });
  3080. var _t = function t(key, values) {
  3081. if (typeof getApp !== 'function') {
  3082. // app view
  3083. /* eslint-disable no-func-assign */
  3084. _t = function t(key, values) {
  3085. return i18n.t(key, values);
  3086. };
  3087. } else {
  3088. var isWatchedAppLocale = false;
  3089. _t = function t(key, values) {
  3090. var appVm = getApp().$vm;
  3091. // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化
  3092. // options: {
  3093. // type: Array,
  3094. // default () {
  3095. // return [{
  3096. // icon: 'shop',
  3097. // text: t("uni-goods-nav.options.shop"),
  3098. // }, {
  3099. // icon: 'cart',
  3100. // text: t("uni-goods-nav.options.cart")
  3101. // }]
  3102. // }
  3103. // },
  3104. if (appVm) {
  3105. // 触发响应式
  3106. appVm.$locale;
  3107. if (!isWatchedAppLocale) {
  3108. isWatchedAppLocale = true;
  3109. watchAppLocale(appVm, i18n);
  3110. }
  3111. }
  3112. return i18n.t(key, values);
  3113. };
  3114. }
  3115. return _t(key, values);
  3116. };
  3117. return {
  3118. i18n: i18n,
  3119. f: function f(message, values, delimiters) {
  3120. return i18n.f(message, values, delimiters);
  3121. },
  3122. t: function t(key, values) {
  3123. return _t(key, values);
  3124. },
  3125. add: function add(locale, message) {
  3126. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  3127. return i18n.add(locale, message, override);
  3128. },
  3129. watch: function watch(fn) {
  3130. return i18n.watchLocale(fn);
  3131. },
  3132. getLocale: function getLocale() {
  3133. return i18n.getLocale();
  3134. },
  3135. setLocale: function setLocale(newLocale) {
  3136. return i18n.setLocale(newLocale);
  3137. }
  3138. };
  3139. }
  3140. var isString = function isString(val) {
  3141. return typeof val === 'string';
  3142. };
  3143. exports.isString = isString;
  3144. var formater;
  3145. function hasI18nJson(jsonObj, delimiters) {
  3146. if (!formater) {
  3147. formater = new BaseFormatter();
  3148. }
  3149. return walkJsonObj(jsonObj, function (jsonObj, key) {
  3150. var value = jsonObj[key];
  3151. if (isString(value)) {
  3152. if (isI18nStr(value, delimiters)) {
  3153. return true;
  3154. }
  3155. } else {
  3156. return hasI18nJson(value, delimiters);
  3157. }
  3158. });
  3159. }
  3160. function parseI18nJson(jsonObj, values, delimiters) {
  3161. if (!formater) {
  3162. formater = new BaseFormatter();
  3163. }
  3164. walkJsonObj(jsonObj, function (jsonObj, key) {
  3165. var value = jsonObj[key];
  3166. if (isString(value)) {
  3167. if (isI18nStr(value, delimiters)) {
  3168. jsonObj[key] = compileStr(value, values, delimiters);
  3169. }
  3170. } else {
  3171. parseI18nJson(value, values, delimiters);
  3172. }
  3173. });
  3174. return jsonObj;
  3175. }
  3176. function compileI18nJsonStr(jsonStr, _ref5) {
  3177. var locale = _ref5.locale,
  3178. locales = _ref5.locales,
  3179. delimiters = _ref5.delimiters;
  3180. if (!isI18nStr(jsonStr, delimiters)) {
  3181. return jsonStr;
  3182. }
  3183. if (!formater) {
  3184. formater = new BaseFormatter();
  3185. }
  3186. var localeValues = [];
  3187. Object.keys(locales).forEach(function (name) {
  3188. if (name !== locale) {
  3189. localeValues.push({
  3190. locale: name,
  3191. values: locales[name]
  3192. });
  3193. }
  3194. });
  3195. localeValues.unshift({
  3196. locale: locale,
  3197. values: locales[locale]
  3198. });
  3199. try {
  3200. return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);
  3201. } catch (e) {}
  3202. return jsonStr;
  3203. }
  3204. function isI18nStr(value, delimiters) {
  3205. return value.indexOf(delimiters[0]) > -1;
  3206. }
  3207. function compileStr(value, values, delimiters) {
  3208. return formater.interpolate(value, values, delimiters).join('');
  3209. }
  3210. function compileValue(jsonObj, key, localeValues, delimiters) {
  3211. var value = jsonObj[key];
  3212. if (isString(value)) {
  3213. // 存在国际化
  3214. if (isI18nStr(value, delimiters)) {
  3215. jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);
  3216. if (localeValues.length > 1) {
  3217. // 格式化国际化语言
  3218. var valueLocales = jsonObj[key + 'Locales'] = {};
  3219. localeValues.forEach(function (localValue) {
  3220. valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);
  3221. });
  3222. }
  3223. }
  3224. } else {
  3225. compileJsonObj(value, localeValues, delimiters);
  3226. }
  3227. }
  3228. function compileJsonObj(jsonObj, localeValues, delimiters) {
  3229. walkJsonObj(jsonObj, function (jsonObj, key) {
  3230. compileValue(jsonObj, key, localeValues, delimiters);
  3231. });
  3232. return jsonObj;
  3233. }
  3234. function walkJsonObj(jsonObj, walk) {
  3235. if (Array.isArray(jsonObj)) {
  3236. for (var i = 0; i < jsonObj.length; i++) {
  3237. if (walk(jsonObj, i)) {
  3238. return true;
  3239. }
  3240. }
  3241. } else if (isObject(jsonObj)) {
  3242. for (var key in jsonObj) {
  3243. if (walk(jsonObj, key)) {
  3244. return true;
  3245. }
  3246. }
  3247. }
  3248. return false;
  3249. }
  3250. function resolveLocale(locales) {
  3251. return function (locale) {
  3252. if (!locale) {
  3253. return locale;
  3254. }
  3255. locale = normalizeLocale(locale) || locale;
  3256. return resolveLocaleChain(locale).find(function (locale) {
  3257. return locales.indexOf(locale) > -1;
  3258. });
  3259. };
  3260. }
  3261. function resolveLocaleChain(locale) {
  3262. var chain = [];
  3263. var tokens = locale.split('-');
  3264. while (tokens.length) {
  3265. chain.push(tokens.join('-'));
  3266. tokens.pop();
  3267. }
  3268. return chain;
  3269. }
  3270. /* 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)))
  3271. /***/ }),
  3272. /* 23 */
  3273. /*!***************************************************************!*\
  3274. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  3275. \***************************************************************/
  3276. /*! no static exports found */
  3277. /***/ (function(module, exports) {
  3278. function _classCallCheck(instance, Constructor) {
  3279. if (!(instance instanceof Constructor)) {
  3280. throw new TypeError("Cannot call a class as a function");
  3281. }
  3282. }
  3283. module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3284. /***/ }),
  3285. /* 24 */
  3286. /*!************************************************************!*\
  3287. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  3288. \************************************************************/
  3289. /*! no static exports found */
  3290. /***/ (function(module, exports, __webpack_require__) {
  3291. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  3292. function _defineProperties(target, props) {
  3293. for (var i = 0; i < props.length; i++) {
  3294. var descriptor = props[i];
  3295. descriptor.enumerable = descriptor.enumerable || false;
  3296. descriptor.configurable = true;
  3297. if ("value" in descriptor) descriptor.writable = true;
  3298. Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
  3299. }
  3300. }
  3301. function _createClass(Constructor, protoProps, staticProps) {
  3302. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  3303. if (staticProps) _defineProperties(Constructor, staticProps);
  3304. Object.defineProperty(Constructor, "prototype", {
  3305. writable: false
  3306. });
  3307. return Constructor;
  3308. }
  3309. module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3310. /***/ }),
  3311. /* 25 */
  3312. /*!******************************************************************************************!*\
  3313. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
  3314. \******************************************************************************************/
  3315. /*! exports provided: default */
  3316. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3317. "use strict";
  3318. __webpack_require__.r(__webpack_exports__);
  3319. /* WEBPACK VAR INJECTION */(function(global) {/*!
  3320. * Vue.js v2.6.11
  3321. * (c) 2014-2023 Evan You
  3322. * Released under the MIT License.
  3323. */
  3324. /* */
  3325. var emptyObject = Object.freeze({});
  3326. // These helpers produce better VM code in JS engines due to their
  3327. // explicitness and function inlining.
  3328. function isUndef (v) {
  3329. return v === undefined || v === null
  3330. }
  3331. function isDef (v) {
  3332. return v !== undefined && v !== null
  3333. }
  3334. function isTrue (v) {
  3335. return v === true
  3336. }
  3337. function isFalse (v) {
  3338. return v === false
  3339. }
  3340. /**
  3341. * Check if value is primitive.
  3342. */
  3343. function isPrimitive (value) {
  3344. return (
  3345. typeof value === 'string' ||
  3346. typeof value === 'number' ||
  3347. // $flow-disable-line
  3348. typeof value === 'symbol' ||
  3349. typeof value === 'boolean'
  3350. )
  3351. }
  3352. /**
  3353. * Quick object check - this is primarily used to tell
  3354. * Objects from primitive values when we know the value
  3355. * is a JSON-compliant type.
  3356. */
  3357. function isObject (obj) {
  3358. return obj !== null && typeof obj === 'object'
  3359. }
  3360. /**
  3361. * Get the raw type string of a value, e.g., [object Object].
  3362. */
  3363. var _toString = Object.prototype.toString;
  3364. function toRawType (value) {
  3365. return _toString.call(value).slice(8, -1)
  3366. }
  3367. /**
  3368. * Strict object type check. Only returns true
  3369. * for plain JavaScript objects.
  3370. */
  3371. function isPlainObject (obj) {
  3372. return _toString.call(obj) === '[object Object]'
  3373. }
  3374. function isRegExp (v) {
  3375. return _toString.call(v) === '[object RegExp]'
  3376. }
  3377. /**
  3378. * Check if val is a valid array index.
  3379. */
  3380. function isValidArrayIndex (val) {
  3381. var n = parseFloat(String(val));
  3382. return n >= 0 && Math.floor(n) === n && isFinite(val)
  3383. }
  3384. function isPromise (val) {
  3385. return (
  3386. isDef(val) &&
  3387. typeof val.then === 'function' &&
  3388. typeof val.catch === 'function'
  3389. )
  3390. }
  3391. /**
  3392. * Convert a value to a string that is actually rendered.
  3393. */
  3394. function toString (val) {
  3395. return val == null
  3396. ? ''
  3397. : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)
  3398. ? JSON.stringify(val, null, 2)
  3399. : String(val)
  3400. }
  3401. /**
  3402. * Convert an input value to a number for persistence.
  3403. * If the conversion fails, return original string.
  3404. */
  3405. function toNumber (val) {
  3406. var n = parseFloat(val);
  3407. return isNaN(n) ? val : n
  3408. }
  3409. /**
  3410. * Make a map and return a function for checking if a key
  3411. * is in that map.
  3412. */
  3413. function makeMap (
  3414. str,
  3415. expectsLowerCase
  3416. ) {
  3417. var map = Object.create(null);
  3418. var list = str.split(',');
  3419. for (var i = 0; i < list.length; i++) {
  3420. map[list[i]] = true;
  3421. }
  3422. return expectsLowerCase
  3423. ? function (val) { return map[val.toLowerCase()]; }
  3424. : function (val) { return map[val]; }
  3425. }
  3426. /**
  3427. * Check if a tag is a built-in tag.
  3428. */
  3429. var isBuiltInTag = makeMap('slot,component', true);
  3430. /**
  3431. * Check if an attribute is a reserved attribute.
  3432. */
  3433. var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
  3434. /**
  3435. * Remove an item from an array.
  3436. */
  3437. function remove (arr, item) {
  3438. if (arr.length) {
  3439. var index = arr.indexOf(item);
  3440. if (index > -1) {
  3441. return arr.splice(index, 1)
  3442. }
  3443. }
  3444. }
  3445. /**
  3446. * Check whether an object has the property.
  3447. */
  3448. var hasOwnProperty = Object.prototype.hasOwnProperty;
  3449. function hasOwn (obj, key) {
  3450. return hasOwnProperty.call(obj, key)
  3451. }
  3452. /**
  3453. * Create a cached version of a pure function.
  3454. */
  3455. function cached (fn) {
  3456. var cache = Object.create(null);
  3457. return (function cachedFn (str) {
  3458. var hit = cache[str];
  3459. return hit || (cache[str] = fn(str))
  3460. })
  3461. }
  3462. /**
  3463. * Camelize a hyphen-delimited string.
  3464. */
  3465. var camelizeRE = /-(\w)/g;
  3466. var camelize = cached(function (str) {
  3467. return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
  3468. });
  3469. /**
  3470. * Capitalize a string.
  3471. */
  3472. var capitalize = cached(function (str) {
  3473. return str.charAt(0).toUpperCase() + str.slice(1)
  3474. });
  3475. /**
  3476. * Hyphenate a camelCase string.
  3477. */
  3478. var hyphenateRE = /\B([A-Z])/g;
  3479. var hyphenate = cached(function (str) {
  3480. return str.replace(hyphenateRE, '-$1').toLowerCase()
  3481. });
  3482. /**
  3483. * Simple bind polyfill for environments that do not support it,
  3484. * e.g., PhantomJS 1.x. Technically, we don't need this anymore
  3485. * since native bind is now performant enough in most browsers.
  3486. * But removing it would mean breaking code that was able to run in
  3487. * PhantomJS 1.x, so this must be kept for backward compatibility.
  3488. */
  3489. /* istanbul ignore next */
  3490. function polyfillBind (fn, ctx) {
  3491. function boundFn (a) {
  3492. var l = arguments.length;
  3493. return l
  3494. ? l > 1
  3495. ? fn.apply(ctx, arguments)
  3496. : fn.call(ctx, a)
  3497. : fn.call(ctx)
  3498. }
  3499. boundFn._length = fn.length;
  3500. return boundFn
  3501. }
  3502. function nativeBind (fn, ctx) {
  3503. return fn.bind(ctx)
  3504. }
  3505. var bind = Function.prototype.bind
  3506. ? nativeBind
  3507. : polyfillBind;
  3508. /**
  3509. * Convert an Array-like object to a real Array.
  3510. */
  3511. function toArray (list, start) {
  3512. start = start || 0;
  3513. var i = list.length - start;
  3514. var ret = new Array(i);
  3515. while (i--) {
  3516. ret[i] = list[i + start];
  3517. }
  3518. return ret
  3519. }
  3520. /**
  3521. * Mix properties into target object.
  3522. */
  3523. function extend (to, _from) {
  3524. for (var key in _from) {
  3525. to[key] = _from[key];
  3526. }
  3527. return to
  3528. }
  3529. /**
  3530. * Merge an Array of Objects into a single Object.
  3531. */
  3532. function toObject (arr) {
  3533. var res = {};
  3534. for (var i = 0; i < arr.length; i++) {
  3535. if (arr[i]) {
  3536. extend(res, arr[i]);
  3537. }
  3538. }
  3539. return res
  3540. }
  3541. /* eslint-disable no-unused-vars */
  3542. /**
  3543. * Perform no operation.
  3544. * Stubbing args to make Flow happy without leaving useless transpiled code
  3545. * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
  3546. */
  3547. function noop (a, b, c) {}
  3548. /**
  3549. * Always return false.
  3550. */
  3551. var no = function (a, b, c) { return false; };
  3552. /* eslint-enable no-unused-vars */
  3553. /**
  3554. * Return the same value.
  3555. */
  3556. var identity = function (_) { return _; };
  3557. /**
  3558. * Check if two values are loosely equal - that is,
  3559. * if they are plain objects, do they have the same shape?
  3560. */
  3561. function looseEqual (a, b) {
  3562. if (a === b) { return true }
  3563. var isObjectA = isObject(a);
  3564. var isObjectB = isObject(b);
  3565. if (isObjectA && isObjectB) {
  3566. try {
  3567. var isArrayA = Array.isArray(a);
  3568. var isArrayB = Array.isArray(b);
  3569. if (isArrayA && isArrayB) {
  3570. return a.length === b.length && a.every(function (e, i) {
  3571. return looseEqual(e, b[i])
  3572. })
  3573. } else if (a instanceof Date && b instanceof Date) {
  3574. return a.getTime() === b.getTime()
  3575. } else if (!isArrayA && !isArrayB) {
  3576. var keysA = Object.keys(a);
  3577. var keysB = Object.keys(b);
  3578. return keysA.length === keysB.length && keysA.every(function (key) {
  3579. return looseEqual(a[key], b[key])
  3580. })
  3581. } else {
  3582. /* istanbul ignore next */
  3583. return false
  3584. }
  3585. } catch (e) {
  3586. /* istanbul ignore next */
  3587. return false
  3588. }
  3589. } else if (!isObjectA && !isObjectB) {
  3590. return String(a) === String(b)
  3591. } else {
  3592. return false
  3593. }
  3594. }
  3595. /**
  3596. * Return the first index at which a loosely equal value can be
  3597. * found in the array (if value is a plain object, the array must
  3598. * contain an object of the same shape), or -1 if it is not present.
  3599. */
  3600. function looseIndexOf (arr, val) {
  3601. for (var i = 0; i < arr.length; i++) {
  3602. if (looseEqual(arr[i], val)) { return i }
  3603. }
  3604. return -1
  3605. }
  3606. /**
  3607. * Ensure a function is called only once.
  3608. */
  3609. function once (fn) {
  3610. var called = false;
  3611. return function () {
  3612. if (!called) {
  3613. called = true;
  3614. fn.apply(this, arguments);
  3615. }
  3616. }
  3617. }
  3618. var ASSET_TYPES = [
  3619. 'component',
  3620. 'directive',
  3621. 'filter'
  3622. ];
  3623. var LIFECYCLE_HOOKS = [
  3624. 'beforeCreate',
  3625. 'created',
  3626. 'beforeMount',
  3627. 'mounted',
  3628. 'beforeUpdate',
  3629. 'updated',
  3630. 'beforeDestroy',
  3631. 'destroyed',
  3632. 'activated',
  3633. 'deactivated',
  3634. 'errorCaptured',
  3635. 'serverPrefetch'
  3636. ];
  3637. /* */
  3638. var config = ({
  3639. /**
  3640. * Option merge strategies (used in core/util/options)
  3641. */
  3642. // $flow-disable-line
  3643. optionMergeStrategies: Object.create(null),
  3644. /**
  3645. * Whether to suppress warnings.
  3646. */
  3647. silent: false,
  3648. /**
  3649. * Show production mode tip message on boot?
  3650. */
  3651. productionTip: "development" !== 'production',
  3652. /**
  3653. * Whether to enable devtools
  3654. */
  3655. devtools: "development" !== 'production',
  3656. /**
  3657. * Whether to record perf
  3658. */
  3659. performance: false,
  3660. /**
  3661. * Error handler for watcher errors
  3662. */
  3663. errorHandler: null,
  3664. /**
  3665. * Warn handler for watcher warns
  3666. */
  3667. warnHandler: null,
  3668. /**
  3669. * Ignore certain custom elements
  3670. */
  3671. ignoredElements: [],
  3672. /**
  3673. * Custom user key aliases for v-on
  3674. */
  3675. // $flow-disable-line
  3676. keyCodes: Object.create(null),
  3677. /**
  3678. * Check if a tag is reserved so that it cannot be registered as a
  3679. * component. This is platform-dependent and may be overwritten.
  3680. */
  3681. isReservedTag: no,
  3682. /**
  3683. * Check if an attribute is reserved so that it cannot be used as a component
  3684. * prop. This is platform-dependent and may be overwritten.
  3685. */
  3686. isReservedAttr: no,
  3687. /**
  3688. * Check if a tag is an unknown element.
  3689. * Platform-dependent.
  3690. */
  3691. isUnknownElement: no,
  3692. /**
  3693. * Get the namespace of an element
  3694. */
  3695. getTagNamespace: noop,
  3696. /**
  3697. * Parse the real tag name for the specific platform.
  3698. */
  3699. parsePlatformTagName: identity,
  3700. /**
  3701. * Check if an attribute must be bound using property, e.g. value
  3702. * Platform-dependent.
  3703. */
  3704. mustUseProp: no,
  3705. /**
  3706. * Perform updates asynchronously. Intended to be used by Vue Test Utils
  3707. * This will significantly reduce performance if set to false.
  3708. */
  3709. async: true,
  3710. /**
  3711. * Exposed for legacy reasons
  3712. */
  3713. _lifecycleHooks: LIFECYCLE_HOOKS
  3714. });
  3715. /* */
  3716. /**
  3717. * unicode letters used for parsing html tags, component names and property paths.
  3718. * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
  3719. * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
  3720. */
  3721. 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/;
  3722. /**
  3723. * Check if a string starts with $ or _
  3724. */
  3725. function isReserved (str) {
  3726. var c = (str + '').charCodeAt(0);
  3727. return c === 0x24 || c === 0x5F
  3728. }
  3729. /**
  3730. * Define a property.
  3731. */
  3732. function def (obj, key, val, enumerable) {
  3733. Object.defineProperty(obj, key, {
  3734. value: val,
  3735. enumerable: !!enumerable,
  3736. writable: true,
  3737. configurable: true
  3738. });
  3739. }
  3740. /**
  3741. * Parse simple path.
  3742. */
  3743. var bailRE = new RegExp(("[^" + (unicodeRegExp.source) + ".$_\\d]"));
  3744. function parsePath (path) {
  3745. if (bailRE.test(path)) {
  3746. return
  3747. }
  3748. var segments = path.split('.');
  3749. return function (obj) {
  3750. for (var i = 0; i < segments.length; i++) {
  3751. if (!obj) { return }
  3752. obj = obj[segments[i]];
  3753. }
  3754. return obj
  3755. }
  3756. }
  3757. /* */
  3758. // can we use __proto__?
  3759. var hasProto = '__proto__' in {};
  3760. // Browser environment sniffing
  3761. var inBrowser = typeof window !== 'undefined';
  3762. var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
  3763. var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
  3764. var UA = inBrowser && window.navigator.userAgent.toLowerCase();
  3765. var isIE = UA && /msie|trident/.test(UA);
  3766. var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
  3767. var isEdge = UA && UA.indexOf('edge/') > 0;
  3768. var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
  3769. var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
  3770. var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
  3771. var isPhantomJS = UA && /phantomjs/.test(UA);
  3772. var isFF = UA && UA.match(/firefox\/(\d+)/);
  3773. // Firefox has a "watch" function on Object.prototype...
  3774. var nativeWatch = ({}).watch;
  3775. if (inBrowser) {
  3776. try {
  3777. var opts = {};
  3778. Object.defineProperty(opts, 'passive', ({
  3779. get: function get () {
  3780. }
  3781. })); // https://github.com/facebook/flow/issues/285
  3782. window.addEventListener('test-passive', null, opts);
  3783. } catch (e) {}
  3784. }
  3785. // this needs to be lazy-evaled because vue may be required before
  3786. // vue-server-renderer can set VUE_ENV
  3787. var _isServer;
  3788. var isServerRendering = function () {
  3789. if (_isServer === undefined) {
  3790. /* istanbul ignore if */
  3791. if (!inBrowser && !inWeex && typeof global !== 'undefined') {
  3792. // detect presence of vue-server-renderer and avoid
  3793. // Webpack shimming the process
  3794. _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';
  3795. } else {
  3796. _isServer = false;
  3797. }
  3798. }
  3799. return _isServer
  3800. };
  3801. // detect devtools
  3802. var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  3803. /* istanbul ignore next */
  3804. function isNative (Ctor) {
  3805. return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
  3806. }
  3807. var hasSymbol =
  3808. typeof Symbol !== 'undefined' && isNative(Symbol) &&
  3809. typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
  3810. var _Set;
  3811. /* istanbul ignore if */ // $flow-disable-line
  3812. if (typeof Set !== 'undefined' && isNative(Set)) {
  3813. // use native Set when available.
  3814. _Set = Set;
  3815. } else {
  3816. // a non-standard Set polyfill that only works with primitive keys.
  3817. _Set = /*@__PURE__*/(function () {
  3818. function Set () {
  3819. this.set = Object.create(null);
  3820. }
  3821. Set.prototype.has = function has (key) {
  3822. return this.set[key] === true
  3823. };
  3824. Set.prototype.add = function add (key) {
  3825. this.set[key] = true;
  3826. };
  3827. Set.prototype.clear = function clear () {
  3828. this.set = Object.create(null);
  3829. };
  3830. return Set;
  3831. }());
  3832. }
  3833. /* */
  3834. var warn = noop;
  3835. var tip = noop;
  3836. var generateComponentTrace = (noop); // work around flow check
  3837. var formatComponentName = (noop);
  3838. if (true) {
  3839. var hasConsole = typeof console !== 'undefined';
  3840. var classifyRE = /(?:^|[-_])(\w)/g;
  3841. var classify = function (str) { return str
  3842. .replace(classifyRE, function (c) { return c.toUpperCase(); })
  3843. .replace(/[-_]/g, ''); };
  3844. warn = function (msg, vm) {
  3845. var trace = vm ? generateComponentTrace(vm) : '';
  3846. if (config.warnHandler) {
  3847. config.warnHandler.call(null, msg, vm, trace);
  3848. } else if (hasConsole && (!config.silent)) {
  3849. console.error(("[Vue warn]: " + msg + trace));
  3850. }
  3851. };
  3852. tip = function (msg, vm) {
  3853. if (hasConsole && (!config.silent)) {
  3854. console.warn("[Vue tip]: " + msg + (
  3855. vm ? generateComponentTrace(vm) : ''
  3856. ));
  3857. }
  3858. };
  3859. formatComponentName = function (vm, includeFile) {
  3860. if (vm.$root === vm) {
  3861. if (vm.$options && vm.$options.__file) { // fixed by xxxxxx
  3862. return ('') + vm.$options.__file
  3863. }
  3864. return '<Root>'
  3865. }
  3866. var options = typeof vm === 'function' && vm.cid != null
  3867. ? vm.options
  3868. : vm._isVue
  3869. ? vm.$options || vm.constructor.options
  3870. : vm;
  3871. var name = options.name || options._componentTag;
  3872. var file = options.__file;
  3873. if (!name && file) {
  3874. var match = file.match(/([^/\\]+)\.vue$/);
  3875. name = match && match[1];
  3876. }
  3877. return (
  3878. (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
  3879. (file && includeFile !== false ? (" at " + file) : '')
  3880. )
  3881. };
  3882. var repeat = function (str, n) {
  3883. var res = '';
  3884. while (n) {
  3885. if (n % 2 === 1) { res += str; }
  3886. if (n > 1) { str += str; }
  3887. n >>= 1;
  3888. }
  3889. return res
  3890. };
  3891. generateComponentTrace = function (vm) {
  3892. if (vm._isVue && vm.$parent) {
  3893. var tree = [];
  3894. var currentRecursiveSequence = 0;
  3895. while (vm && vm.$options.name !== 'PageBody') {
  3896. if (tree.length > 0) {
  3897. var last = tree[tree.length - 1];
  3898. if (last.constructor === vm.constructor) {
  3899. currentRecursiveSequence++;
  3900. vm = vm.$parent;
  3901. continue
  3902. } else if (currentRecursiveSequence > 0) {
  3903. tree[tree.length - 1] = [last, currentRecursiveSequence];
  3904. currentRecursiveSequence = 0;
  3905. }
  3906. }
  3907. !vm.$options.isReserved && tree.push(vm);
  3908. vm = vm.$parent;
  3909. }
  3910. return '\n\nfound in\n\n' + tree
  3911. .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
  3912. ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
  3913. : formatComponentName(vm))); })
  3914. .join('\n')
  3915. } else {
  3916. return ("\n\n(found in " + (formatComponentName(vm)) + ")")
  3917. }
  3918. };
  3919. }
  3920. /* */
  3921. var uid = 0;
  3922. /**
  3923. * A dep is an observable that can have multiple
  3924. * directives subscribing to it.
  3925. */
  3926. var Dep = function Dep () {
  3927. this.id = uid++;
  3928. this.subs = [];
  3929. };
  3930. Dep.prototype.addSub = function addSub (sub) {
  3931. this.subs.push(sub);
  3932. };
  3933. Dep.prototype.removeSub = function removeSub (sub) {
  3934. remove(this.subs, sub);
  3935. };
  3936. Dep.prototype.depend = function depend () {
  3937. if (Dep.SharedObject.target) {
  3938. Dep.SharedObject.target.addDep(this);
  3939. }
  3940. };
  3941. Dep.prototype.notify = function notify () {
  3942. // stabilize the subscriber list first
  3943. var subs = this.subs.slice();
  3944. if ( true && !config.async) {
  3945. // subs aren't sorted in scheduler if not running async
  3946. // we need to sort them now to make sure they fire in correct
  3947. // order
  3948. subs.sort(function (a, b) { return a.id - b.id; });
  3949. }
  3950. for (var i = 0, l = subs.length; i < l; i++) {
  3951. subs[i].update();
  3952. }
  3953. };
  3954. // The current target watcher being evaluated.
  3955. // This is globally unique because only one watcher
  3956. // can be evaluated at a time.
  3957. // fixed by xxxxxx (nvue shared vuex)
  3958. /* eslint-disable no-undef */
  3959. Dep.SharedObject = {};
  3960. Dep.SharedObject.target = null;
  3961. Dep.SharedObject.targetStack = [];
  3962. function pushTarget (target) {
  3963. Dep.SharedObject.targetStack.push(target);
  3964. Dep.SharedObject.target = target;
  3965. Dep.target = target;
  3966. }
  3967. function popTarget () {
  3968. Dep.SharedObject.targetStack.pop();
  3969. Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
  3970. Dep.target = Dep.SharedObject.target;
  3971. }
  3972. /* */
  3973. var VNode = function VNode (
  3974. tag,
  3975. data,
  3976. children,
  3977. text,
  3978. elm,
  3979. context,
  3980. componentOptions,
  3981. asyncFactory
  3982. ) {
  3983. this.tag = tag;
  3984. this.data = data;
  3985. this.children = children;
  3986. this.text = text;
  3987. this.elm = elm;
  3988. this.ns = undefined;
  3989. this.context = context;
  3990. this.fnContext = undefined;
  3991. this.fnOptions = undefined;
  3992. this.fnScopeId = undefined;
  3993. this.key = data && data.key;
  3994. this.componentOptions = componentOptions;
  3995. this.componentInstance = undefined;
  3996. this.parent = undefined;
  3997. this.raw = false;
  3998. this.isStatic = false;
  3999. this.isRootInsert = true;
  4000. this.isComment = false;
  4001. this.isCloned = false;
  4002. this.isOnce = false;
  4003. this.asyncFactory = asyncFactory;
  4004. this.asyncMeta = undefined;
  4005. this.isAsyncPlaceholder = false;
  4006. };
  4007. var prototypeAccessors = { child: { configurable: true } };
  4008. // DEPRECATED: alias for componentInstance for backwards compat.
  4009. /* istanbul ignore next */
  4010. prototypeAccessors.child.get = function () {
  4011. return this.componentInstance
  4012. };
  4013. Object.defineProperties( VNode.prototype, prototypeAccessors );
  4014. var createEmptyVNode = function (text) {
  4015. if ( text === void 0 ) text = '';
  4016. var node = new VNode();
  4017. node.text = text;
  4018. node.isComment = true;
  4019. return node
  4020. };
  4021. function createTextVNode (val) {
  4022. return new VNode(undefined, undefined, undefined, String(val))
  4023. }
  4024. // optimized shallow clone
  4025. // used for static nodes and slot nodes because they may be reused across
  4026. // multiple renders, cloning them avoids errors when DOM manipulations rely
  4027. // on their elm reference.
  4028. function cloneVNode (vnode) {
  4029. var cloned = new VNode(
  4030. vnode.tag,
  4031. vnode.data,
  4032. // #7975
  4033. // clone children array to avoid mutating original in case of cloning
  4034. // a child.
  4035. vnode.children && vnode.children.slice(),
  4036. vnode.text,
  4037. vnode.elm,
  4038. vnode.context,
  4039. vnode.componentOptions,
  4040. vnode.asyncFactory
  4041. );
  4042. cloned.ns = vnode.ns;
  4043. cloned.isStatic = vnode.isStatic;
  4044. cloned.key = vnode.key;
  4045. cloned.isComment = vnode.isComment;
  4046. cloned.fnContext = vnode.fnContext;
  4047. cloned.fnOptions = vnode.fnOptions;
  4048. cloned.fnScopeId = vnode.fnScopeId;
  4049. cloned.asyncMeta = vnode.asyncMeta;
  4050. cloned.isCloned = true;
  4051. return cloned
  4052. }
  4053. /*
  4054. * not type checking this file because flow doesn't play well with
  4055. * dynamically accessing methods on Array prototype
  4056. */
  4057. var arrayProto = Array.prototype;
  4058. var arrayMethods = Object.create(arrayProto);
  4059. var methodsToPatch = [
  4060. 'push',
  4061. 'pop',
  4062. 'shift',
  4063. 'unshift',
  4064. 'splice',
  4065. 'sort',
  4066. 'reverse'
  4067. ];
  4068. /**
  4069. * Intercept mutating methods and emit events
  4070. */
  4071. methodsToPatch.forEach(function (method) {
  4072. // cache original method
  4073. var original = arrayProto[method];
  4074. def(arrayMethods, method, function mutator () {
  4075. var args = [], len = arguments.length;
  4076. while ( len-- ) args[ len ] = arguments[ len ];
  4077. var result = original.apply(this, args);
  4078. var ob = this.__ob__;
  4079. var inserted;
  4080. switch (method) {
  4081. case 'push':
  4082. case 'unshift':
  4083. inserted = args;
  4084. break
  4085. case 'splice':
  4086. inserted = args.slice(2);
  4087. break
  4088. }
  4089. if (inserted) { ob.observeArray(inserted); }
  4090. // notify change
  4091. ob.dep.notify();
  4092. return result
  4093. });
  4094. });
  4095. /* */
  4096. var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
  4097. /**
  4098. * In some cases we may want to disable observation inside a component's
  4099. * update computation.
  4100. */
  4101. var shouldObserve = true;
  4102. function toggleObserving (value) {
  4103. shouldObserve = value;
  4104. }
  4105. /**
  4106. * Observer class that is attached to each observed
  4107. * object. Once attached, the observer converts the target
  4108. * object's property keys into getter/setters that
  4109. * collect dependencies and dispatch updates.
  4110. */
  4111. var Observer = function Observer (value) {
  4112. this.value = value;
  4113. this.dep = new Dep();
  4114. this.vmCount = 0;
  4115. def(value, '__ob__', this);
  4116. if (Array.isArray(value)) {
  4117. if (hasProto) {
  4118. {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑
  4119. if(value.push !== value.__proto__.push){
  4120. copyAugment(value, arrayMethods, arrayKeys);
  4121. } else {
  4122. protoAugment(value, arrayMethods);
  4123. }
  4124. }
  4125. } else {
  4126. copyAugment(value, arrayMethods, arrayKeys);
  4127. }
  4128. this.observeArray(value);
  4129. } else {
  4130. this.walk(value);
  4131. }
  4132. };
  4133. /**
  4134. * Walk through all properties and convert them into
  4135. * getter/setters. This method should only be called when
  4136. * value type is Object.
  4137. */
  4138. Observer.prototype.walk = function walk (obj) {
  4139. var keys = Object.keys(obj);
  4140. for (var i = 0; i < keys.length; i++) {
  4141. defineReactive$$1(obj, keys[i]);
  4142. }
  4143. };
  4144. /**
  4145. * Observe a list of Array items.
  4146. */
  4147. Observer.prototype.observeArray = function observeArray (items) {
  4148. for (var i = 0, l = items.length; i < l; i++) {
  4149. observe(items[i]);
  4150. }
  4151. };
  4152. // helpers
  4153. /**
  4154. * Augment a target Object or Array by intercepting
  4155. * the prototype chain using __proto__
  4156. */
  4157. function protoAugment (target, src) {
  4158. /* eslint-disable no-proto */
  4159. target.__proto__ = src;
  4160. /* eslint-enable no-proto */
  4161. }
  4162. /**
  4163. * Augment a target Object or Array by defining
  4164. * hidden properties.
  4165. */
  4166. /* istanbul ignore next */
  4167. function copyAugment (target, src, keys) {
  4168. for (var i = 0, l = keys.length; i < l; i++) {
  4169. var key = keys[i];
  4170. def(target, key, src[key]);
  4171. }
  4172. }
  4173. /**
  4174. * Attempt to create an observer instance for a value,
  4175. * returns the new observer if successfully observed,
  4176. * or the existing observer if the value already has one.
  4177. */
  4178. function observe (value, asRootData) {
  4179. if (!isObject(value) || value instanceof VNode) {
  4180. return
  4181. }
  4182. var ob;
  4183. if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
  4184. ob = value.__ob__;
  4185. } else if (
  4186. shouldObserve &&
  4187. !isServerRendering() &&
  4188. (Array.isArray(value) || isPlainObject(value)) &&
  4189. Object.isExtensible(value) &&
  4190. !value._isVue &&
  4191. !value.__v_isMPComponent
  4192. ) {
  4193. ob = new Observer(value);
  4194. }
  4195. if (asRootData && ob) {
  4196. ob.vmCount++;
  4197. }
  4198. return ob
  4199. }
  4200. /**
  4201. * Define a reactive property on an Object.
  4202. */
  4203. function defineReactive$$1 (
  4204. obj,
  4205. key,
  4206. val,
  4207. customSetter,
  4208. shallow
  4209. ) {
  4210. var dep = new Dep();
  4211. var property = Object.getOwnPropertyDescriptor(obj, key);
  4212. if (property && property.configurable === false) {
  4213. return
  4214. }
  4215. // cater for pre-defined getter/setters
  4216. var getter = property && property.get;
  4217. var setter = property && property.set;
  4218. if ((!getter || setter) && arguments.length === 2) {
  4219. val = obj[key];
  4220. }
  4221. var childOb = !shallow && observe(val);
  4222. Object.defineProperty(obj, key, {
  4223. enumerable: true,
  4224. configurable: true,
  4225. get: function reactiveGetter () {
  4226. var value = getter ? getter.call(obj) : val;
  4227. if (Dep.SharedObject.target) { // fixed by xxxxxx
  4228. dep.depend();
  4229. if (childOb) {
  4230. childOb.dep.depend();
  4231. if (Array.isArray(value)) {
  4232. dependArray(value);
  4233. }
  4234. }
  4235. }
  4236. return value
  4237. },
  4238. set: function reactiveSetter (newVal) {
  4239. var value = getter ? getter.call(obj) : val;
  4240. /* eslint-disable no-self-compare */
  4241. if (newVal === value || (newVal !== newVal && value !== value)) {
  4242. return
  4243. }
  4244. /* eslint-enable no-self-compare */
  4245. if ( true && customSetter) {
  4246. customSetter();
  4247. }
  4248. // #7981: for accessor properties without setter
  4249. if (getter && !setter) { return }
  4250. if (setter) {
  4251. setter.call(obj, newVal);
  4252. } else {
  4253. val = newVal;
  4254. }
  4255. childOb = !shallow && observe(newVal);
  4256. dep.notify();
  4257. }
  4258. });
  4259. }
  4260. /**
  4261. * Set a property on an object. Adds the new property and
  4262. * triggers change notification if the property doesn't
  4263. * already exist.
  4264. */
  4265. function set (target, key, val) {
  4266. if ( true &&
  4267. (isUndef(target) || isPrimitive(target))
  4268. ) {
  4269. warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
  4270. }
  4271. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4272. target.length = Math.max(target.length, key);
  4273. target.splice(key, 1, val);
  4274. return val
  4275. }
  4276. if (key in target && !(key in Object.prototype)) {
  4277. target[key] = val;
  4278. return val
  4279. }
  4280. var ob = (target).__ob__;
  4281. if (target._isVue || (ob && ob.vmCount)) {
  4282. true && warn(
  4283. 'Avoid adding reactive properties to a Vue instance or its root $data ' +
  4284. 'at runtime - declare it upfront in the data option.'
  4285. );
  4286. return val
  4287. }
  4288. if (!ob) {
  4289. target[key] = val;
  4290. return val
  4291. }
  4292. defineReactive$$1(ob.value, key, val);
  4293. ob.dep.notify();
  4294. return val
  4295. }
  4296. /**
  4297. * Delete a property and trigger change if necessary.
  4298. */
  4299. function del (target, key) {
  4300. if ( true &&
  4301. (isUndef(target) || isPrimitive(target))
  4302. ) {
  4303. warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
  4304. }
  4305. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4306. target.splice(key, 1);
  4307. return
  4308. }
  4309. var ob = (target).__ob__;
  4310. if (target._isVue || (ob && ob.vmCount)) {
  4311. true && warn(
  4312. 'Avoid deleting properties on a Vue instance or its root $data ' +
  4313. '- just set it to null.'
  4314. );
  4315. return
  4316. }
  4317. if (!hasOwn(target, key)) {
  4318. return
  4319. }
  4320. delete target[key];
  4321. if (!ob) {
  4322. return
  4323. }
  4324. ob.dep.notify();
  4325. }
  4326. /**
  4327. * Collect dependencies on array elements when the array is touched, since
  4328. * we cannot intercept array element access like property getters.
  4329. */
  4330. function dependArray (value) {
  4331. for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
  4332. e = value[i];
  4333. e && e.__ob__ && e.__ob__.dep.depend();
  4334. if (Array.isArray(e)) {
  4335. dependArray(e);
  4336. }
  4337. }
  4338. }
  4339. /* */
  4340. /**
  4341. * Option overwriting strategies are functions that handle
  4342. * how to merge a parent option value and a child option
  4343. * value into the final value.
  4344. */
  4345. var strats = config.optionMergeStrategies;
  4346. /**
  4347. * Options with restrictions
  4348. */
  4349. if (true) {
  4350. strats.el = strats.propsData = function (parent, child, vm, key) {
  4351. if (!vm) {
  4352. warn(
  4353. "option \"" + key + "\" can only be used during instance " +
  4354. 'creation with the `new` keyword.'
  4355. );
  4356. }
  4357. return defaultStrat(parent, child)
  4358. };
  4359. }
  4360. /**
  4361. * Helper that recursively merges two data objects together.
  4362. */
  4363. function mergeData (to, from) {
  4364. if (!from) { return to }
  4365. var key, toVal, fromVal;
  4366. var keys = hasSymbol
  4367. ? Reflect.ownKeys(from)
  4368. : Object.keys(from);
  4369. for (var i = 0; i < keys.length; i++) {
  4370. key = keys[i];
  4371. // in case the object is already observed...
  4372. if (key === '__ob__') { continue }
  4373. toVal = to[key];
  4374. fromVal = from[key];
  4375. if (!hasOwn(to, key)) {
  4376. set(to, key, fromVal);
  4377. } else if (
  4378. toVal !== fromVal &&
  4379. isPlainObject(toVal) &&
  4380. isPlainObject(fromVal)
  4381. ) {
  4382. mergeData(toVal, fromVal);
  4383. }
  4384. }
  4385. return to
  4386. }
  4387. /**
  4388. * Data
  4389. */
  4390. function mergeDataOrFn (
  4391. parentVal,
  4392. childVal,
  4393. vm
  4394. ) {
  4395. if (!vm) {
  4396. // in a Vue.extend merge, both should be functions
  4397. if (!childVal) {
  4398. return parentVal
  4399. }
  4400. if (!parentVal) {
  4401. return childVal
  4402. }
  4403. // when parentVal & childVal are both present,
  4404. // we need to return a function that returns the
  4405. // merged result of both functions... no need to
  4406. // check if parentVal is a function here because
  4407. // it has to be a function to pass previous merges.
  4408. return function mergedDataFn () {
  4409. return mergeData(
  4410. typeof childVal === 'function' ? childVal.call(this, this) : childVal,
  4411. typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
  4412. )
  4413. }
  4414. } else {
  4415. return function mergedInstanceDataFn () {
  4416. // instance merge
  4417. var instanceData = typeof childVal === 'function'
  4418. ? childVal.call(vm, vm)
  4419. : childVal;
  4420. var defaultData = typeof parentVal === 'function'
  4421. ? parentVal.call(vm, vm)
  4422. : parentVal;
  4423. if (instanceData) {
  4424. return mergeData(instanceData, defaultData)
  4425. } else {
  4426. return defaultData
  4427. }
  4428. }
  4429. }
  4430. }
  4431. strats.data = function (
  4432. parentVal,
  4433. childVal,
  4434. vm
  4435. ) {
  4436. if (!vm) {
  4437. if (childVal && typeof childVal !== 'function') {
  4438. true && warn(
  4439. 'The "data" option should be a function ' +
  4440. 'that returns a per-instance value in component ' +
  4441. 'definitions.',
  4442. vm
  4443. );
  4444. return parentVal
  4445. }
  4446. return mergeDataOrFn(parentVal, childVal)
  4447. }
  4448. return mergeDataOrFn(parentVal, childVal, vm)
  4449. };
  4450. /**
  4451. * Hooks and props are merged as arrays.
  4452. */
  4453. function mergeHook (
  4454. parentVal,
  4455. childVal
  4456. ) {
  4457. var res = childVal
  4458. ? parentVal
  4459. ? parentVal.concat(childVal)
  4460. : Array.isArray(childVal)
  4461. ? childVal
  4462. : [childVal]
  4463. : parentVal;
  4464. return res
  4465. ? dedupeHooks(res)
  4466. : res
  4467. }
  4468. function dedupeHooks (hooks) {
  4469. var res = [];
  4470. for (var i = 0; i < hooks.length; i++) {
  4471. if (res.indexOf(hooks[i]) === -1) {
  4472. res.push(hooks[i]);
  4473. }
  4474. }
  4475. return res
  4476. }
  4477. LIFECYCLE_HOOKS.forEach(function (hook) {
  4478. strats[hook] = mergeHook;
  4479. });
  4480. /**
  4481. * Assets
  4482. *
  4483. * When a vm is present (instance creation), we need to do
  4484. * a three-way merge between constructor options, instance
  4485. * options and parent options.
  4486. */
  4487. function mergeAssets (
  4488. parentVal,
  4489. childVal,
  4490. vm,
  4491. key
  4492. ) {
  4493. var res = Object.create(parentVal || null);
  4494. if (childVal) {
  4495. true && assertObjectType(key, childVal, vm);
  4496. return extend(res, childVal)
  4497. } else {
  4498. return res
  4499. }
  4500. }
  4501. ASSET_TYPES.forEach(function (type) {
  4502. strats[type + 's'] = mergeAssets;
  4503. });
  4504. /**
  4505. * Watchers.
  4506. *
  4507. * Watchers hashes should not overwrite one
  4508. * another, so we merge them as arrays.
  4509. */
  4510. strats.watch = function (
  4511. parentVal,
  4512. childVal,
  4513. vm,
  4514. key
  4515. ) {
  4516. // work around Firefox's Object.prototype.watch...
  4517. if (parentVal === nativeWatch) { parentVal = undefined; }
  4518. if (childVal === nativeWatch) { childVal = undefined; }
  4519. /* istanbul ignore if */
  4520. if (!childVal) { return Object.create(parentVal || null) }
  4521. if (true) {
  4522. assertObjectType(key, childVal, vm);
  4523. }
  4524. if (!parentVal) { return childVal }
  4525. var ret = {};
  4526. extend(ret, parentVal);
  4527. for (var key$1 in childVal) {
  4528. var parent = ret[key$1];
  4529. var child = childVal[key$1];
  4530. if (parent && !Array.isArray(parent)) {
  4531. parent = [parent];
  4532. }
  4533. ret[key$1] = parent
  4534. ? parent.concat(child)
  4535. : Array.isArray(child) ? child : [child];
  4536. }
  4537. return ret
  4538. };
  4539. /**
  4540. * Other object hashes.
  4541. */
  4542. strats.props =
  4543. strats.methods =
  4544. strats.inject =
  4545. strats.computed = function (
  4546. parentVal,
  4547. childVal,
  4548. vm,
  4549. key
  4550. ) {
  4551. if (childVal && "development" !== 'production') {
  4552. assertObjectType(key, childVal, vm);
  4553. }
  4554. if (!parentVal) { return childVal }
  4555. var ret = Object.create(null);
  4556. extend(ret, parentVal);
  4557. if (childVal) { extend(ret, childVal); }
  4558. return ret
  4559. };
  4560. strats.provide = mergeDataOrFn;
  4561. /**
  4562. * Default strategy.
  4563. */
  4564. var defaultStrat = function (parentVal, childVal) {
  4565. return childVal === undefined
  4566. ? parentVal
  4567. : childVal
  4568. };
  4569. /**
  4570. * Validate component names
  4571. */
  4572. function checkComponents (options) {
  4573. for (var key in options.components) {
  4574. validateComponentName(key);
  4575. }
  4576. }
  4577. function validateComponentName (name) {
  4578. if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + (unicodeRegExp.source) + "]*$")).test(name)) {
  4579. warn(
  4580. 'Invalid component name: "' + name + '". Component names ' +
  4581. 'should conform to valid custom element name in html5 specification.'
  4582. );
  4583. }
  4584. if (isBuiltInTag(name) || config.isReservedTag(name)) {
  4585. warn(
  4586. 'Do not use built-in or reserved HTML elements as component ' +
  4587. 'id: ' + name
  4588. );
  4589. }
  4590. }
  4591. /**
  4592. * Ensure all props option syntax are normalized into the
  4593. * Object-based format.
  4594. */
  4595. function normalizeProps (options, vm) {
  4596. var props = options.props;
  4597. if (!props) { return }
  4598. var res = {};
  4599. var i, val, name;
  4600. if (Array.isArray(props)) {
  4601. i = props.length;
  4602. while (i--) {
  4603. val = props[i];
  4604. if (typeof val === 'string') {
  4605. name = camelize(val);
  4606. res[name] = { type: null };
  4607. } else if (true) {
  4608. warn('props must be strings when using array syntax.');
  4609. }
  4610. }
  4611. } else if (isPlainObject(props)) {
  4612. for (var key in props) {
  4613. val = props[key];
  4614. name = camelize(key);
  4615. res[name] = isPlainObject(val)
  4616. ? val
  4617. : { type: val };
  4618. }
  4619. } else if (true) {
  4620. warn(
  4621. "Invalid value for option \"props\": expected an Array or an Object, " +
  4622. "but got " + (toRawType(props)) + ".",
  4623. vm
  4624. );
  4625. }
  4626. options.props = res;
  4627. }
  4628. /**
  4629. * Normalize all injections into Object-based format
  4630. */
  4631. function normalizeInject (options, vm) {
  4632. var inject = options.inject;
  4633. if (!inject) { return }
  4634. var normalized = options.inject = {};
  4635. if (Array.isArray(inject)) {
  4636. for (var i = 0; i < inject.length; i++) {
  4637. normalized[inject[i]] = { from: inject[i] };
  4638. }
  4639. } else if (isPlainObject(inject)) {
  4640. for (var key in inject) {
  4641. var val = inject[key];
  4642. normalized[key] = isPlainObject(val)
  4643. ? extend({ from: key }, val)
  4644. : { from: val };
  4645. }
  4646. } else if (true) {
  4647. warn(
  4648. "Invalid value for option \"inject\": expected an Array or an Object, " +
  4649. "but got " + (toRawType(inject)) + ".",
  4650. vm
  4651. );
  4652. }
  4653. }
  4654. /**
  4655. * Normalize raw function directives into object format.
  4656. */
  4657. function normalizeDirectives (options) {
  4658. var dirs = options.directives;
  4659. if (dirs) {
  4660. for (var key in dirs) {
  4661. var def$$1 = dirs[key];
  4662. if (typeof def$$1 === 'function') {
  4663. dirs[key] = { bind: def$$1, update: def$$1 };
  4664. }
  4665. }
  4666. }
  4667. }
  4668. function assertObjectType (name, value, vm) {
  4669. if (!isPlainObject(value)) {
  4670. warn(
  4671. "Invalid value for option \"" + name + "\": expected an Object, " +
  4672. "but got " + (toRawType(value)) + ".",
  4673. vm
  4674. );
  4675. }
  4676. }
  4677. /**
  4678. * Merge two option objects into a new one.
  4679. * Core utility used in both instantiation and inheritance.
  4680. */
  4681. function mergeOptions (
  4682. parent,
  4683. child,
  4684. vm
  4685. ) {
  4686. if (true) {
  4687. checkComponents(child);
  4688. }
  4689. if (typeof child === 'function') {
  4690. child = child.options;
  4691. }
  4692. normalizeProps(child, vm);
  4693. normalizeInject(child, vm);
  4694. normalizeDirectives(child);
  4695. // Apply extends and mixins on the child options,
  4696. // but only if it is a raw options object that isn't
  4697. // the result of another mergeOptions call.
  4698. // Only merged options has the _base property.
  4699. if (!child._base) {
  4700. if (child.extends) {
  4701. parent = mergeOptions(parent, child.extends, vm);
  4702. }
  4703. if (child.mixins) {
  4704. for (var i = 0, l = child.mixins.length; i < l; i++) {
  4705. parent = mergeOptions(parent, child.mixins[i], vm);
  4706. }
  4707. }
  4708. }
  4709. var options = {};
  4710. var key;
  4711. for (key in parent) {
  4712. mergeField(key);
  4713. }
  4714. for (key in child) {
  4715. if (!hasOwn(parent, key)) {
  4716. mergeField(key);
  4717. }
  4718. }
  4719. function mergeField (key) {
  4720. var strat = strats[key] || defaultStrat;
  4721. options[key] = strat(parent[key], child[key], vm, key);
  4722. }
  4723. return options
  4724. }
  4725. /**
  4726. * Resolve an asset.
  4727. * This function is used because child instances need access
  4728. * to assets defined in its ancestor chain.
  4729. */
  4730. function resolveAsset (
  4731. options,
  4732. type,
  4733. id,
  4734. warnMissing
  4735. ) {
  4736. /* istanbul ignore if */
  4737. if (typeof id !== 'string') {
  4738. return
  4739. }
  4740. var assets = options[type];
  4741. // check local registration variations first
  4742. if (hasOwn(assets, id)) { return assets[id] }
  4743. var camelizedId = camelize(id);
  4744. if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
  4745. var PascalCaseId = capitalize(camelizedId);
  4746. if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
  4747. // fallback to prototype chain
  4748. var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
  4749. if ( true && warnMissing && !res) {
  4750. warn(
  4751. 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
  4752. options
  4753. );
  4754. }
  4755. return res
  4756. }
  4757. /* */
  4758. function validateProp (
  4759. key,
  4760. propOptions,
  4761. propsData,
  4762. vm
  4763. ) {
  4764. var prop = propOptions[key];
  4765. var absent = !hasOwn(propsData, key);
  4766. var value = propsData[key];
  4767. // boolean casting
  4768. var booleanIndex = getTypeIndex(Boolean, prop.type);
  4769. if (booleanIndex > -1) {
  4770. if (absent && !hasOwn(prop, 'default')) {
  4771. value = false;
  4772. } else if (value === '' || value === hyphenate(key)) {
  4773. // only cast empty string / same name to boolean if
  4774. // boolean has higher priority
  4775. var stringIndex = getTypeIndex(String, prop.type);
  4776. if (stringIndex < 0 || booleanIndex < stringIndex) {
  4777. value = true;
  4778. }
  4779. }
  4780. }
  4781. // check default value
  4782. if (value === undefined) {
  4783. value = getPropDefaultValue(vm, prop, key);
  4784. // since the default value is a fresh copy,
  4785. // make sure to observe it.
  4786. var prevShouldObserve = shouldObserve;
  4787. toggleObserving(true);
  4788. observe(value);
  4789. toggleObserving(prevShouldObserve);
  4790. }
  4791. if (
  4792. true
  4793. ) {
  4794. assertProp(prop, key, value, vm, absent);
  4795. }
  4796. return value
  4797. }
  4798. /**
  4799. * Get the default value of a prop.
  4800. */
  4801. function getPropDefaultValue (vm, prop, key) {
  4802. // no default, return undefined
  4803. if (!hasOwn(prop, 'default')) {
  4804. return undefined
  4805. }
  4806. var def = prop.default;
  4807. // warn against non-factory defaults for Object & Array
  4808. if ( true && isObject(def)) {
  4809. warn(
  4810. 'Invalid default value for prop "' + key + '": ' +
  4811. 'Props with type Object/Array must use a factory function ' +
  4812. 'to return the default value.',
  4813. vm
  4814. );
  4815. }
  4816. // the raw prop value was also undefined from previous render,
  4817. // return previous default value to avoid unnecessary watcher trigger
  4818. if (vm && vm.$options.propsData &&
  4819. vm.$options.propsData[key] === undefined &&
  4820. vm._props[key] !== undefined
  4821. ) {
  4822. return vm._props[key]
  4823. }
  4824. // call factory function for non-Function types
  4825. // a value is Function if its prototype is function even across different execution context
  4826. return typeof def === 'function' && getType(prop.type) !== 'Function'
  4827. ? def.call(vm)
  4828. : def
  4829. }
  4830. /**
  4831. * Assert whether a prop is valid.
  4832. */
  4833. function assertProp (
  4834. prop,
  4835. name,
  4836. value,
  4837. vm,
  4838. absent
  4839. ) {
  4840. if (prop.required && absent) {
  4841. warn(
  4842. 'Missing required prop: "' + name + '"',
  4843. vm
  4844. );
  4845. return
  4846. }
  4847. if (value == null && !prop.required) {
  4848. return
  4849. }
  4850. var type = prop.type;
  4851. var valid = !type || type === true;
  4852. var expectedTypes = [];
  4853. if (type) {
  4854. if (!Array.isArray(type)) {
  4855. type = [type];
  4856. }
  4857. for (var i = 0; i < type.length && !valid; i++) {
  4858. var assertedType = assertType(value, type[i]);
  4859. expectedTypes.push(assertedType.expectedType || '');
  4860. valid = assertedType.valid;
  4861. }
  4862. }
  4863. if (!valid) {
  4864. warn(
  4865. getInvalidTypeMessage(name, value, expectedTypes),
  4866. vm
  4867. );
  4868. return
  4869. }
  4870. var validator = prop.validator;
  4871. if (validator) {
  4872. if (!validator(value)) {
  4873. warn(
  4874. 'Invalid prop: custom validator check failed for prop "' + name + '".',
  4875. vm
  4876. );
  4877. }
  4878. }
  4879. }
  4880. var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
  4881. function assertType (value, type) {
  4882. var valid;
  4883. var expectedType = getType(type);
  4884. if (simpleCheckRE.test(expectedType)) {
  4885. var t = typeof value;
  4886. valid = t === expectedType.toLowerCase();
  4887. // for primitive wrapper objects
  4888. if (!valid && t === 'object') {
  4889. valid = value instanceof type;
  4890. }
  4891. } else if (expectedType === 'Object') {
  4892. valid = isPlainObject(value);
  4893. } else if (expectedType === 'Array') {
  4894. valid = Array.isArray(value);
  4895. } else {
  4896. valid = value instanceof type;
  4897. }
  4898. return {
  4899. valid: valid,
  4900. expectedType: expectedType
  4901. }
  4902. }
  4903. /**
  4904. * Use function string name to check built-in types,
  4905. * because a simple equality check will fail when running
  4906. * across different vms / iframes.
  4907. */
  4908. function getType (fn) {
  4909. var match = fn && fn.toString().match(/^\s*function (\w+)/);
  4910. return match ? match[1] : ''
  4911. }
  4912. function isSameType (a, b) {
  4913. return getType(a) === getType(b)
  4914. }
  4915. function getTypeIndex (type, expectedTypes) {
  4916. if (!Array.isArray(expectedTypes)) {
  4917. return isSameType(expectedTypes, type) ? 0 : -1
  4918. }
  4919. for (var i = 0, len = expectedTypes.length; i < len; i++) {
  4920. if (isSameType(expectedTypes[i], type)) {
  4921. return i
  4922. }
  4923. }
  4924. return -1
  4925. }
  4926. function getInvalidTypeMessage (name, value, expectedTypes) {
  4927. var message = "Invalid prop: type check failed for prop \"" + name + "\"." +
  4928. " Expected " + (expectedTypes.map(capitalize).join(', '));
  4929. var expectedType = expectedTypes[0];
  4930. var receivedType = toRawType(value);
  4931. var expectedValue = styleValue(value, expectedType);
  4932. var receivedValue = styleValue(value, receivedType);
  4933. // check if we need to specify expected value
  4934. if (expectedTypes.length === 1 &&
  4935. isExplicable(expectedType) &&
  4936. !isBoolean(expectedType, receivedType)) {
  4937. message += " with value " + expectedValue;
  4938. }
  4939. message += ", got " + receivedType + " ";
  4940. // check if we need to specify received value
  4941. if (isExplicable(receivedType)) {
  4942. message += "with value " + receivedValue + ".";
  4943. }
  4944. return message
  4945. }
  4946. function styleValue (value, type) {
  4947. if (type === 'String') {
  4948. return ("\"" + value + "\"")
  4949. } else if (type === 'Number') {
  4950. return ("" + (Number(value)))
  4951. } else {
  4952. return ("" + value)
  4953. }
  4954. }
  4955. function isExplicable (value) {
  4956. var explicitTypes = ['string', 'number', 'boolean'];
  4957. return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })
  4958. }
  4959. function isBoolean () {
  4960. var args = [], len = arguments.length;
  4961. while ( len-- ) args[ len ] = arguments[ len ];
  4962. return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })
  4963. }
  4964. /* */
  4965. function handleError (err, vm, info) {
  4966. // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.
  4967. // See: https://github.com/vuejs/vuex/issues/1505
  4968. pushTarget();
  4969. try {
  4970. if (vm) {
  4971. var cur = vm;
  4972. while ((cur = cur.$parent)) {
  4973. var hooks = cur.$options.errorCaptured;
  4974. if (hooks) {
  4975. for (var i = 0; i < hooks.length; i++) {
  4976. try {
  4977. var capture = hooks[i].call(cur, err, vm, info) === false;
  4978. if (capture) { return }
  4979. } catch (e) {
  4980. globalHandleError(e, cur, 'errorCaptured hook');
  4981. }
  4982. }
  4983. }
  4984. }
  4985. }
  4986. globalHandleError(err, vm, info);
  4987. } finally {
  4988. popTarget();
  4989. }
  4990. }
  4991. function invokeWithErrorHandling (
  4992. handler,
  4993. context,
  4994. args,
  4995. vm,
  4996. info
  4997. ) {
  4998. var res;
  4999. try {
  5000. res = args ? handler.apply(context, args) : handler.call(context);
  5001. if (res && !res._isVue && isPromise(res) && !res._handled) {
  5002. res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); });
  5003. // issue #9511
  5004. // avoid catch triggering multiple times when nested calls
  5005. res._handled = true;
  5006. }
  5007. } catch (e) {
  5008. handleError(e, vm, info);
  5009. }
  5010. return res
  5011. }
  5012. function globalHandleError (err, vm, info) {
  5013. if (config.errorHandler) {
  5014. try {
  5015. return config.errorHandler.call(null, err, vm, info)
  5016. } catch (e) {
  5017. // if the user intentionally throws the original error in the handler,
  5018. // do not log it twice
  5019. if (e !== err) {
  5020. logError(e, null, 'config.errorHandler');
  5021. }
  5022. }
  5023. }
  5024. logError(err, vm, info);
  5025. }
  5026. function logError (err, vm, info) {
  5027. if (true) {
  5028. warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  5029. }
  5030. /* istanbul ignore else */
  5031. if ((inBrowser || inWeex) && typeof console !== 'undefined') {
  5032. console.error(err);
  5033. } else {
  5034. throw err
  5035. }
  5036. }
  5037. /* */
  5038. var callbacks = [];
  5039. var pending = false;
  5040. function flushCallbacks () {
  5041. pending = false;
  5042. var copies = callbacks.slice(0);
  5043. callbacks.length = 0;
  5044. for (var i = 0; i < copies.length; i++) {
  5045. copies[i]();
  5046. }
  5047. }
  5048. // Here we have async deferring wrappers using microtasks.
  5049. // In 2.5 we used (macro) tasks (in combination with microtasks).
  5050. // However, it has subtle problems when state is changed right before repaint
  5051. // (e.g. #6813, out-in transitions).
  5052. // Also, using (macro) tasks in event handler would cause some weird behaviors
  5053. // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).
  5054. // So we now use microtasks everywhere, again.
  5055. // A major drawback of this tradeoff is that there are some scenarios
  5056. // where microtasks have too high a priority and fire in between supposedly
  5057. // sequential events (e.g. #4521, #6690, which have workarounds)
  5058. // or even between bubbling of the same event (#6566).
  5059. var timerFunc;
  5060. // The nextTick behavior leverages the microtask queue, which can be accessed
  5061. // via either native Promise.then or MutationObserver.
  5062. // MutationObserver has wider support, however it is seriously bugged in
  5063. // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
  5064. // completely stops working after triggering a few times... so, if native
  5065. // Promise is available, we will use it:
  5066. /* istanbul ignore next, $flow-disable-line */
  5067. if (typeof Promise !== 'undefined' && isNative(Promise)) {
  5068. var p = Promise.resolve();
  5069. timerFunc = function () {
  5070. p.then(flushCallbacks);
  5071. // In problematic UIWebViews, Promise.then doesn't completely break, but
  5072. // it can get stuck in a weird state where callbacks are pushed into the
  5073. // microtask queue but the queue isn't being flushed, until the browser
  5074. // needs to do some other work, e.g. handle a timer. Therefore we can
  5075. // "force" the microtask queue to be flushed by adding an empty timer.
  5076. if (isIOS) { setTimeout(noop); }
  5077. };
  5078. } else if (!isIE && typeof MutationObserver !== 'undefined' && (
  5079. isNative(MutationObserver) ||
  5080. // PhantomJS and iOS 7.x
  5081. MutationObserver.toString() === '[object MutationObserverConstructor]'
  5082. )) {
  5083. // Use MutationObserver where native Promise is not available,
  5084. // e.g. PhantomJS, iOS7, Android 4.4
  5085. // (#6466 MutationObserver is unreliable in IE11)
  5086. var counter = 1;
  5087. var observer = new MutationObserver(flushCallbacks);
  5088. var textNode = document.createTextNode(String(counter));
  5089. observer.observe(textNode, {
  5090. characterData: true
  5091. });
  5092. timerFunc = function () {
  5093. counter = (counter + 1) % 2;
  5094. textNode.data = String(counter);
  5095. };
  5096. } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
  5097. // Fallback to setImmediate.
  5098. // Technically it leverages the (macro) task queue,
  5099. // but it is still a better choice than setTimeout.
  5100. timerFunc = function () {
  5101. setImmediate(flushCallbacks);
  5102. };
  5103. } else {
  5104. // Fallback to setTimeout.
  5105. timerFunc = function () {
  5106. setTimeout(flushCallbacks, 0);
  5107. };
  5108. }
  5109. function nextTick (cb, ctx) {
  5110. var _resolve;
  5111. callbacks.push(function () {
  5112. if (cb) {
  5113. try {
  5114. cb.call(ctx);
  5115. } catch (e) {
  5116. handleError(e, ctx, 'nextTick');
  5117. }
  5118. } else if (_resolve) {
  5119. _resolve(ctx);
  5120. }
  5121. });
  5122. if (!pending) {
  5123. pending = true;
  5124. timerFunc();
  5125. }
  5126. // $flow-disable-line
  5127. if (!cb && typeof Promise !== 'undefined') {
  5128. return new Promise(function (resolve) {
  5129. _resolve = resolve;
  5130. })
  5131. }
  5132. }
  5133. /* */
  5134. /* not type checking this file because flow doesn't play well with Proxy */
  5135. var initProxy;
  5136. if (true) {
  5137. var allowedGlobals = makeMap(
  5138. 'Infinity,undefined,NaN,isFinite,isNaN,' +
  5139. 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
  5140. 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
  5141. 'require' // for Webpack/Browserify
  5142. );
  5143. var warnNonPresent = function (target, key) {
  5144. warn(
  5145. "Property or method \"" + key + "\" is not defined on the instance but " +
  5146. 'referenced during render. Make sure that this property is reactive, ' +
  5147. 'either in the data option, or for class-based components, by ' +
  5148. 'initializing the property. ' +
  5149. 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
  5150. target
  5151. );
  5152. };
  5153. var warnReservedPrefix = function (target, key) {
  5154. warn(
  5155. "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " +
  5156. 'properties starting with "$" or "_" are not proxied in the Vue instance to ' +
  5157. 'prevent conflicts with Vue internals. ' +
  5158. 'See: https://vuejs.org/v2/api/#data',
  5159. target
  5160. );
  5161. };
  5162. var hasProxy =
  5163. typeof Proxy !== 'undefined' && isNative(Proxy);
  5164. if (hasProxy) {
  5165. var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
  5166. config.keyCodes = new Proxy(config.keyCodes, {
  5167. set: function set (target, key, value) {
  5168. if (isBuiltInModifier(key)) {
  5169. warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
  5170. return false
  5171. } else {
  5172. target[key] = value;
  5173. return true
  5174. }
  5175. }
  5176. });
  5177. }
  5178. var hasHandler = {
  5179. has: function has (target, key) {
  5180. var has = key in target;
  5181. var isAllowed = allowedGlobals(key) ||
  5182. (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));
  5183. if (!has && !isAllowed) {
  5184. if (key in target.$data) { warnReservedPrefix(target, key); }
  5185. else { warnNonPresent(target, key); }
  5186. }
  5187. return has || !isAllowed
  5188. }
  5189. };
  5190. var getHandler = {
  5191. get: function get (target, key) {
  5192. if (typeof key === 'string' && !(key in target)) {
  5193. if (key in target.$data) { warnReservedPrefix(target, key); }
  5194. else { warnNonPresent(target, key); }
  5195. }
  5196. return target[key]
  5197. }
  5198. };
  5199. initProxy = function initProxy (vm) {
  5200. if (hasProxy) {
  5201. // determine which proxy handler to use
  5202. var options = vm.$options;
  5203. var handlers = options.render && options.render._withStripped
  5204. ? getHandler
  5205. : hasHandler;
  5206. vm._renderProxy = new Proxy(vm, handlers);
  5207. } else {
  5208. vm._renderProxy = vm;
  5209. }
  5210. };
  5211. }
  5212. /* */
  5213. var seenObjects = new _Set();
  5214. /**
  5215. * Recursively traverse an object to evoke all converted
  5216. * getters, so that every nested property inside the object
  5217. * is collected as a "deep" dependency.
  5218. */
  5219. function traverse (val) {
  5220. _traverse(val, seenObjects);
  5221. seenObjects.clear();
  5222. }
  5223. function _traverse (val, seen) {
  5224. var i, keys;
  5225. var isA = Array.isArray(val);
  5226. if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
  5227. return
  5228. }
  5229. if (val.__ob__) {
  5230. var depId = val.__ob__.dep.id;
  5231. if (seen.has(depId)) {
  5232. return
  5233. }
  5234. seen.add(depId);
  5235. }
  5236. if (isA) {
  5237. i = val.length;
  5238. while (i--) { _traverse(val[i], seen); }
  5239. } else {
  5240. keys = Object.keys(val);
  5241. i = keys.length;
  5242. while (i--) { _traverse(val[keys[i]], seen); }
  5243. }
  5244. }
  5245. var mark;
  5246. var measure;
  5247. if (true) {
  5248. var perf = inBrowser && window.performance;
  5249. /* istanbul ignore if */
  5250. if (
  5251. perf &&
  5252. perf.mark &&
  5253. perf.measure &&
  5254. perf.clearMarks &&
  5255. perf.clearMeasures
  5256. ) {
  5257. mark = function (tag) { return perf.mark(tag); };
  5258. measure = function (name, startTag, endTag) {
  5259. perf.measure(name, startTag, endTag);
  5260. perf.clearMarks(startTag);
  5261. perf.clearMarks(endTag);
  5262. // perf.clearMeasures(name)
  5263. };
  5264. }
  5265. }
  5266. /* */
  5267. var normalizeEvent = cached(function (name) {
  5268. var passive = name.charAt(0) === '&';
  5269. name = passive ? name.slice(1) : name;
  5270. var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
  5271. name = once$$1 ? name.slice(1) : name;
  5272. var capture = name.charAt(0) === '!';
  5273. name = capture ? name.slice(1) : name;
  5274. return {
  5275. name: name,
  5276. once: once$$1,
  5277. capture: capture,
  5278. passive: passive
  5279. }
  5280. });
  5281. function createFnInvoker (fns, vm) {
  5282. function invoker () {
  5283. var arguments$1 = arguments;
  5284. var fns = invoker.fns;
  5285. if (Array.isArray(fns)) {
  5286. var cloned = fns.slice();
  5287. for (var i = 0; i < cloned.length; i++) {
  5288. invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler");
  5289. }
  5290. } else {
  5291. // return handler return value for single handlers
  5292. return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler")
  5293. }
  5294. }
  5295. invoker.fns = fns;
  5296. return invoker
  5297. }
  5298. function updateListeners (
  5299. on,
  5300. oldOn,
  5301. add,
  5302. remove$$1,
  5303. createOnceHandler,
  5304. vm
  5305. ) {
  5306. var name, def$$1, cur, old, event;
  5307. for (name in on) {
  5308. def$$1 = cur = on[name];
  5309. old = oldOn[name];
  5310. event = normalizeEvent(name);
  5311. if (isUndef(cur)) {
  5312. true && warn(
  5313. "Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
  5314. vm
  5315. );
  5316. } else if (isUndef(old)) {
  5317. if (isUndef(cur.fns)) {
  5318. cur = on[name] = createFnInvoker(cur, vm);
  5319. }
  5320. if (isTrue(event.once)) {
  5321. cur = on[name] = createOnceHandler(event.name, cur, event.capture);
  5322. }
  5323. add(event.name, cur, event.capture, event.passive, event.params);
  5324. } else if (cur !== old) {
  5325. old.fns = cur;
  5326. on[name] = old;
  5327. }
  5328. }
  5329. for (name in oldOn) {
  5330. if (isUndef(on[name])) {
  5331. event = normalizeEvent(name);
  5332. remove$$1(event.name, oldOn[name], event.capture);
  5333. }
  5334. }
  5335. }
  5336. /* */
  5337. /* */
  5338. // fixed by xxxxxx (mp properties)
  5339. function extractPropertiesFromVNodeData(data, Ctor, res, context) {
  5340. var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;
  5341. if (isUndef(propOptions)) {
  5342. return res
  5343. }
  5344. var externalClasses = Ctor.options.mpOptions.externalClasses || [];
  5345. var attrs = data.attrs;
  5346. var props = data.props;
  5347. if (isDef(attrs) || isDef(props)) {
  5348. for (var key in propOptions) {
  5349. var altKey = hyphenate(key);
  5350. var result = checkProp(res, props, key, altKey, true) ||
  5351. checkProp(res, attrs, key, altKey, false);
  5352. // externalClass
  5353. if (
  5354. result &&
  5355. res[key] &&
  5356. externalClasses.indexOf(altKey) !== -1 &&
  5357. context[camelize(res[key])]
  5358. ) {
  5359. // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)
  5360. res[key] = context[camelize(res[key])];
  5361. }
  5362. }
  5363. }
  5364. return res
  5365. }
  5366. function extractPropsFromVNodeData (
  5367. data,
  5368. Ctor,
  5369. tag,
  5370. context// fixed by xxxxxx
  5371. ) {
  5372. // we are only extracting raw values here.
  5373. // validation and default values are handled in the child
  5374. // component itself.
  5375. var propOptions = Ctor.options.props;
  5376. if (isUndef(propOptions)) {
  5377. // fixed by xxxxxx
  5378. return extractPropertiesFromVNodeData(data, Ctor, {}, context)
  5379. }
  5380. var res = {};
  5381. var attrs = data.attrs;
  5382. var props = data.props;
  5383. if (isDef(attrs) || isDef(props)) {
  5384. for (var key in propOptions) {
  5385. var altKey = hyphenate(key);
  5386. if (true) {
  5387. var keyInLowerCase = key.toLowerCase();
  5388. if (
  5389. key !== keyInLowerCase &&
  5390. attrs && hasOwn(attrs, keyInLowerCase)
  5391. ) {
  5392. tip(
  5393. "Prop \"" + keyInLowerCase + "\" is passed to component " +
  5394. (formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
  5395. " \"" + key + "\". " +
  5396. "Note that HTML attributes are case-insensitive and camelCased " +
  5397. "props need to use their kebab-case equivalents when using in-DOM " +
  5398. "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
  5399. );
  5400. }
  5401. }
  5402. checkProp(res, props, key, altKey, true) ||
  5403. checkProp(res, attrs, key, altKey, false);
  5404. }
  5405. }
  5406. // fixed by xxxxxx
  5407. return extractPropertiesFromVNodeData(data, Ctor, res, context)
  5408. }
  5409. function checkProp (
  5410. res,
  5411. hash,
  5412. key,
  5413. altKey,
  5414. preserve
  5415. ) {
  5416. if (isDef(hash)) {
  5417. if (hasOwn(hash, key)) {
  5418. res[key] = hash[key];
  5419. if (!preserve) {
  5420. delete hash[key];
  5421. }
  5422. return true
  5423. } else if (hasOwn(hash, altKey)) {
  5424. res[key] = hash[altKey];
  5425. if (!preserve) {
  5426. delete hash[altKey];
  5427. }
  5428. return true
  5429. }
  5430. }
  5431. return false
  5432. }
  5433. /* */
  5434. // The template compiler attempts to minimize the need for normalization by
  5435. // statically analyzing the template at compile time.
  5436. //
  5437. // For plain HTML markup, normalization can be completely skipped because the
  5438. // generated render function is guaranteed to return Array<VNode>. There are
  5439. // two cases where extra normalization is needed:
  5440. // 1. When the children contains components - because a functional component
  5441. // may return an Array instead of a single root. In this case, just a simple
  5442. // normalization is needed - if any child is an Array, we flatten the whole
  5443. // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
  5444. // because functional components already normalize their own children.
  5445. function simpleNormalizeChildren (children) {
  5446. for (var i = 0; i < children.length; i++) {
  5447. if (Array.isArray(children[i])) {
  5448. return Array.prototype.concat.apply([], children)
  5449. }
  5450. }
  5451. return children
  5452. }
  5453. // 2. When the children contains constructs that always generated nested Arrays,
  5454. // e.g. <template>, <slot>, v-for, or when the children is provided by user
  5455. // with hand-written render functions / JSX. In such cases a full normalization
  5456. // is needed to cater to all possible types of children values.
  5457. function normalizeChildren (children) {
  5458. return isPrimitive(children)
  5459. ? [createTextVNode(children)]
  5460. : Array.isArray(children)
  5461. ? normalizeArrayChildren(children)
  5462. : undefined
  5463. }
  5464. function isTextNode (node) {
  5465. return isDef(node) && isDef(node.text) && isFalse(node.isComment)
  5466. }
  5467. function normalizeArrayChildren (children, nestedIndex) {
  5468. var res = [];
  5469. var i, c, lastIndex, last;
  5470. for (i = 0; i < children.length; i++) {
  5471. c = children[i];
  5472. if (isUndef(c) || typeof c === 'boolean') { continue }
  5473. lastIndex = res.length - 1;
  5474. last = res[lastIndex];
  5475. // nested
  5476. if (Array.isArray(c)) {
  5477. if (c.length > 0) {
  5478. c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
  5479. // merge adjacent text nodes
  5480. if (isTextNode(c[0]) && isTextNode(last)) {
  5481. res[lastIndex] = createTextVNode(last.text + (c[0]).text);
  5482. c.shift();
  5483. }
  5484. res.push.apply(res, c);
  5485. }
  5486. } else if (isPrimitive(c)) {
  5487. if (isTextNode(last)) {
  5488. // merge adjacent text nodes
  5489. // this is necessary for SSR hydration because text nodes are
  5490. // essentially merged when rendered to HTML strings
  5491. res[lastIndex] = createTextVNode(last.text + c);
  5492. } else if (c !== '') {
  5493. // convert primitive to vnode
  5494. res.push(createTextVNode(c));
  5495. }
  5496. } else {
  5497. if (isTextNode(c) && isTextNode(last)) {
  5498. // merge adjacent text nodes
  5499. res[lastIndex] = createTextVNode(last.text + c.text);
  5500. } else {
  5501. // default key for nested array children (likely generated by v-for)
  5502. if (isTrue(children._isVList) &&
  5503. isDef(c.tag) &&
  5504. isUndef(c.key) &&
  5505. isDef(nestedIndex)) {
  5506. c.key = "__vlist" + nestedIndex + "_" + i + "__";
  5507. }
  5508. res.push(c);
  5509. }
  5510. }
  5511. }
  5512. return res
  5513. }
  5514. /* */
  5515. function initProvide (vm) {
  5516. var provide = vm.$options.provide;
  5517. if (provide) {
  5518. vm._provided = typeof provide === 'function'
  5519. ? provide.call(vm)
  5520. : provide;
  5521. }
  5522. }
  5523. function initInjections (vm) {
  5524. var result = resolveInject(vm.$options.inject, vm);
  5525. if (result) {
  5526. toggleObserving(false);
  5527. Object.keys(result).forEach(function (key) {
  5528. /* istanbul ignore else */
  5529. if (true) {
  5530. defineReactive$$1(vm, key, result[key], function () {
  5531. warn(
  5532. "Avoid mutating an injected value directly since the changes will be " +
  5533. "overwritten whenever the provided component re-renders. " +
  5534. "injection being mutated: \"" + key + "\"",
  5535. vm
  5536. );
  5537. });
  5538. } else {}
  5539. });
  5540. toggleObserving(true);
  5541. }
  5542. }
  5543. function resolveInject (inject, vm) {
  5544. if (inject) {
  5545. // inject is :any because flow is not smart enough to figure out cached
  5546. var result = Object.create(null);
  5547. var keys = hasSymbol
  5548. ? Reflect.ownKeys(inject)
  5549. : Object.keys(inject);
  5550. for (var i = 0; i < keys.length; i++) {
  5551. var key = keys[i];
  5552. // #6574 in case the inject object is observed...
  5553. if (key === '__ob__') { continue }
  5554. var provideKey = inject[key].from;
  5555. var source = vm;
  5556. while (source) {
  5557. if (source._provided && hasOwn(source._provided, provideKey)) {
  5558. result[key] = source._provided[provideKey];
  5559. break
  5560. }
  5561. source = source.$parent;
  5562. }
  5563. if (!source) {
  5564. if ('default' in inject[key]) {
  5565. var provideDefault = inject[key].default;
  5566. result[key] = typeof provideDefault === 'function'
  5567. ? provideDefault.call(vm)
  5568. : provideDefault;
  5569. } else if (true) {
  5570. warn(("Injection \"" + key + "\" not found"), vm);
  5571. }
  5572. }
  5573. }
  5574. return result
  5575. }
  5576. }
  5577. /* */
  5578. /**
  5579. * Runtime helper for resolving raw children VNodes into a slot object.
  5580. */
  5581. function resolveSlots (
  5582. children,
  5583. context
  5584. ) {
  5585. if (!children || !children.length) {
  5586. return {}
  5587. }
  5588. var slots = {};
  5589. for (var i = 0, l = children.length; i < l; i++) {
  5590. var child = children[i];
  5591. var data = child.data;
  5592. // remove slot attribute if the node is resolved as a Vue slot node
  5593. if (data && data.attrs && data.attrs.slot) {
  5594. delete data.attrs.slot;
  5595. }
  5596. // named slots should only be respected if the vnode was rendered in the
  5597. // same context.
  5598. if ((child.context === context || child.fnContext === context) &&
  5599. data && data.slot != null
  5600. ) {
  5601. var name = data.slot;
  5602. var slot = (slots[name] || (slots[name] = []));
  5603. if (child.tag === 'template') {
  5604. slot.push.apply(slot, child.children || []);
  5605. } else {
  5606. slot.push(child);
  5607. }
  5608. } else {
  5609. // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page
  5610. if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){
  5611. (slots['page'] || (slots['page'] = [])).push(child);
  5612. }else{
  5613. (slots.default || (slots.default = [])).push(child);
  5614. }
  5615. }
  5616. }
  5617. // ignore slots that contains only whitespace
  5618. for (var name$1 in slots) {
  5619. if (slots[name$1].every(isWhitespace)) {
  5620. delete slots[name$1];
  5621. }
  5622. }
  5623. return slots
  5624. }
  5625. function isWhitespace (node) {
  5626. return (node.isComment && !node.asyncFactory) || node.text === ' '
  5627. }
  5628. /* */
  5629. function normalizeScopedSlots (
  5630. slots,
  5631. normalSlots,
  5632. prevSlots
  5633. ) {
  5634. var res;
  5635. var hasNormalSlots = Object.keys(normalSlots).length > 0;
  5636. var isStable = slots ? !!slots.$stable : !hasNormalSlots;
  5637. var key = slots && slots.$key;
  5638. if (!slots) {
  5639. res = {};
  5640. } else if (slots._normalized) {
  5641. // fast path 1: child component re-render only, parent did not change
  5642. return slots._normalized
  5643. } else if (
  5644. isStable &&
  5645. prevSlots &&
  5646. prevSlots !== emptyObject &&
  5647. key === prevSlots.$key &&
  5648. !hasNormalSlots &&
  5649. !prevSlots.$hasNormal
  5650. ) {
  5651. // fast path 2: stable scoped slots w/ no normal slots to proxy,
  5652. // only need to normalize once
  5653. return prevSlots
  5654. } else {
  5655. res = {};
  5656. for (var key$1 in slots) {
  5657. if (slots[key$1] && key$1[0] !== '$') {
  5658. res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);
  5659. }
  5660. }
  5661. }
  5662. // expose normal slots on scopedSlots
  5663. for (var key$2 in normalSlots) {
  5664. if (!(key$2 in res)) {
  5665. res[key$2] = proxyNormalSlot(normalSlots, key$2);
  5666. }
  5667. }
  5668. // avoriaz seems to mock a non-extensible $scopedSlots object
  5669. // and when that is passed down this would cause an error
  5670. if (slots && Object.isExtensible(slots)) {
  5671. (slots)._normalized = res;
  5672. }
  5673. def(res, '$stable', isStable);
  5674. def(res, '$key', key);
  5675. def(res, '$hasNormal', hasNormalSlots);
  5676. return res
  5677. }
  5678. function normalizeScopedSlot(normalSlots, key, fn) {
  5679. var normalized = function () {
  5680. var res = arguments.length ? fn.apply(null, arguments) : fn({});
  5681. res = res && typeof res === 'object' && !Array.isArray(res)
  5682. ? [res] // single vnode
  5683. : normalizeChildren(res);
  5684. return res && (
  5685. res.length === 0 ||
  5686. (res.length === 1 && res[0].isComment) // #9658
  5687. ) ? undefined
  5688. : res
  5689. };
  5690. // this is a slot using the new v-slot syntax without scope. although it is
  5691. // compiled as a scoped slot, render fn users would expect it to be present
  5692. // on this.$slots because the usage is semantically a normal slot.
  5693. if (fn.proxy) {
  5694. Object.defineProperty(normalSlots, key, {
  5695. get: normalized,
  5696. enumerable: true,
  5697. configurable: true
  5698. });
  5699. }
  5700. return normalized
  5701. }
  5702. function proxyNormalSlot(slots, key) {
  5703. return function () { return slots[key]; }
  5704. }
  5705. /* */
  5706. /**
  5707. * Runtime helper for rendering v-for lists.
  5708. */
  5709. function renderList (
  5710. val,
  5711. render
  5712. ) {
  5713. var ret, i, l, keys, key;
  5714. if (Array.isArray(val) || typeof val === 'string') {
  5715. ret = new Array(val.length);
  5716. for (i = 0, l = val.length; i < l; i++) {
  5717. ret[i] = render(val[i], i, i, i); // fixed by xxxxxx
  5718. }
  5719. } else if (typeof val === 'number') {
  5720. ret = new Array(val);
  5721. for (i = 0; i < val; i++) {
  5722. ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx
  5723. }
  5724. } else if (isObject(val)) {
  5725. if (hasSymbol && val[Symbol.iterator]) {
  5726. ret = [];
  5727. var iterator = val[Symbol.iterator]();
  5728. var result = iterator.next();
  5729. while (!result.done) {
  5730. ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx
  5731. result = iterator.next();
  5732. }
  5733. } else {
  5734. keys = Object.keys(val);
  5735. ret = new Array(keys.length);
  5736. for (i = 0, l = keys.length; i < l; i++) {
  5737. key = keys[i];
  5738. ret[i] = render(val[key], key, i, i); // fixed by xxxxxx
  5739. }
  5740. }
  5741. }
  5742. if (!isDef(ret)) {
  5743. ret = [];
  5744. }
  5745. (ret)._isVList = true;
  5746. return ret
  5747. }
  5748. /* */
  5749. /**
  5750. * Runtime helper for rendering <slot>
  5751. */
  5752. function renderSlot (
  5753. name,
  5754. fallback,
  5755. props,
  5756. bindObject
  5757. ) {
  5758. var scopedSlotFn = this.$scopedSlots[name];
  5759. var nodes;
  5760. if (scopedSlotFn) { // scoped slot
  5761. props = props || {};
  5762. if (bindObject) {
  5763. if ( true && !isObject(bindObject)) {
  5764. warn(
  5765. 'slot v-bind without argument expects an Object',
  5766. this
  5767. );
  5768. }
  5769. props = extend(extend({}, bindObject), props);
  5770. }
  5771. // fixed by xxxxxx app-plus scopedSlot
  5772. nodes = scopedSlotFn(props, this, props._i) || fallback;
  5773. } else {
  5774. nodes = this.$slots[name] || fallback;
  5775. }
  5776. var target = props && props.slot;
  5777. if (target) {
  5778. return this.$createElement('template', { slot: target }, nodes)
  5779. } else {
  5780. return nodes
  5781. }
  5782. }
  5783. /* */
  5784. /**
  5785. * Runtime helper for resolving filters
  5786. */
  5787. function resolveFilter (id) {
  5788. return resolveAsset(this.$options, 'filters', id, true) || identity
  5789. }
  5790. /* */
  5791. function isKeyNotMatch (expect, actual) {
  5792. if (Array.isArray(expect)) {
  5793. return expect.indexOf(actual) === -1
  5794. } else {
  5795. return expect !== actual
  5796. }
  5797. }
  5798. /**
  5799. * Runtime helper for checking keyCodes from config.
  5800. * exposed as Vue.prototype._k
  5801. * passing in eventKeyName as last argument separately for backwards compat
  5802. */
  5803. function checkKeyCodes (
  5804. eventKeyCode,
  5805. key,
  5806. builtInKeyCode,
  5807. eventKeyName,
  5808. builtInKeyName
  5809. ) {
  5810. var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
  5811. if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
  5812. return isKeyNotMatch(builtInKeyName, eventKeyName)
  5813. } else if (mappedKeyCode) {
  5814. return isKeyNotMatch(mappedKeyCode, eventKeyCode)
  5815. } else if (eventKeyName) {
  5816. return hyphenate(eventKeyName) !== key
  5817. }
  5818. }
  5819. /* */
  5820. /**
  5821. * Runtime helper for merging v-bind="object" into a VNode's data.
  5822. */
  5823. function bindObjectProps (
  5824. data,
  5825. tag,
  5826. value,
  5827. asProp,
  5828. isSync
  5829. ) {
  5830. if (value) {
  5831. if (!isObject(value)) {
  5832. true && warn(
  5833. 'v-bind without argument expects an Object or Array value',
  5834. this
  5835. );
  5836. } else {
  5837. if (Array.isArray(value)) {
  5838. value = toObject(value);
  5839. }
  5840. var hash;
  5841. var loop = function ( key ) {
  5842. if (
  5843. key === 'class' ||
  5844. key === 'style' ||
  5845. isReservedAttribute(key)
  5846. ) {
  5847. hash = data;
  5848. } else {
  5849. var type = data.attrs && data.attrs.type;
  5850. hash = asProp || config.mustUseProp(tag, type, key)
  5851. ? data.domProps || (data.domProps = {})
  5852. : data.attrs || (data.attrs = {});
  5853. }
  5854. var camelizedKey = camelize(key);
  5855. var hyphenatedKey = hyphenate(key);
  5856. if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
  5857. hash[key] = value[key];
  5858. if (isSync) {
  5859. var on = data.on || (data.on = {});
  5860. on[("update:" + key)] = function ($event) {
  5861. value[key] = $event;
  5862. };
  5863. }
  5864. }
  5865. };
  5866. for (var key in value) loop( key );
  5867. }
  5868. }
  5869. return data
  5870. }
  5871. /* */
  5872. /**
  5873. * Runtime helper for rendering static trees.
  5874. */
  5875. function renderStatic (
  5876. index,
  5877. isInFor
  5878. ) {
  5879. var cached = this._staticTrees || (this._staticTrees = []);
  5880. var tree = cached[index];
  5881. // if has already-rendered static tree and not inside v-for,
  5882. // we can reuse the same tree.
  5883. if (tree && !isInFor) {
  5884. return tree
  5885. }
  5886. // otherwise, render a fresh tree.
  5887. tree = cached[index] = this.$options.staticRenderFns[index].call(
  5888. this._renderProxy,
  5889. null,
  5890. this // for render fns generated for functional component templates
  5891. );
  5892. markStatic(tree, ("__static__" + index), false);
  5893. return tree
  5894. }
  5895. /**
  5896. * Runtime helper for v-once.
  5897. * Effectively it means marking the node as static with a unique key.
  5898. */
  5899. function markOnce (
  5900. tree,
  5901. index,
  5902. key
  5903. ) {
  5904. markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
  5905. return tree
  5906. }
  5907. function markStatic (
  5908. tree,
  5909. key,
  5910. isOnce
  5911. ) {
  5912. if (Array.isArray(tree)) {
  5913. for (var i = 0; i < tree.length; i++) {
  5914. if (tree[i] && typeof tree[i] !== 'string') {
  5915. markStaticNode(tree[i], (key + "_" + i), isOnce);
  5916. }
  5917. }
  5918. } else {
  5919. markStaticNode(tree, key, isOnce);
  5920. }
  5921. }
  5922. function markStaticNode (node, key, isOnce) {
  5923. node.isStatic = true;
  5924. node.key = key;
  5925. node.isOnce = isOnce;
  5926. }
  5927. /* */
  5928. function bindObjectListeners (data, value) {
  5929. if (value) {
  5930. if (!isPlainObject(value)) {
  5931. true && warn(
  5932. 'v-on without argument expects an Object value',
  5933. this
  5934. );
  5935. } else {
  5936. var on = data.on = data.on ? extend({}, data.on) : {};
  5937. for (var key in value) {
  5938. var existing = on[key];
  5939. var ours = value[key];
  5940. on[key] = existing ? [].concat(existing, ours) : ours;
  5941. }
  5942. }
  5943. }
  5944. return data
  5945. }
  5946. /* */
  5947. function resolveScopedSlots (
  5948. fns, // see flow/vnode
  5949. res,
  5950. // the following are added in 2.6
  5951. hasDynamicKeys,
  5952. contentHashKey
  5953. ) {
  5954. res = res || { $stable: !hasDynamicKeys };
  5955. for (var i = 0; i < fns.length; i++) {
  5956. var slot = fns[i];
  5957. if (Array.isArray(slot)) {
  5958. resolveScopedSlots(slot, res, hasDynamicKeys);
  5959. } else if (slot) {
  5960. // marker for reverse proxying v-slot without scope on this.$slots
  5961. if (slot.proxy) {
  5962. slot.fn.proxy = true;
  5963. }
  5964. res[slot.key] = slot.fn;
  5965. }
  5966. }
  5967. if (contentHashKey) {
  5968. (res).$key = contentHashKey;
  5969. }
  5970. return res
  5971. }
  5972. /* */
  5973. function bindDynamicKeys (baseObj, values) {
  5974. for (var i = 0; i < values.length; i += 2) {
  5975. var key = values[i];
  5976. if (typeof key === 'string' && key) {
  5977. baseObj[values[i]] = values[i + 1];
  5978. } else if ( true && key !== '' && key !== null) {
  5979. // null is a special value for explicitly removing a binding
  5980. warn(
  5981. ("Invalid value for dynamic directive argument (expected string or null): " + key),
  5982. this
  5983. );
  5984. }
  5985. }
  5986. return baseObj
  5987. }
  5988. // helper to dynamically append modifier runtime markers to event names.
  5989. // ensure only append when value is already string, otherwise it will be cast
  5990. // to string and cause the type check to miss.
  5991. function prependModifier (value, symbol) {
  5992. return typeof value === 'string' ? symbol + value : value
  5993. }
  5994. /* */
  5995. function installRenderHelpers (target) {
  5996. target._o = markOnce;
  5997. target._n = toNumber;
  5998. target._s = toString;
  5999. target._l = renderList;
  6000. target._t = renderSlot;
  6001. target._q = looseEqual;
  6002. target._i = looseIndexOf;
  6003. target._m = renderStatic;
  6004. target._f = resolveFilter;
  6005. target._k = checkKeyCodes;
  6006. target._b = bindObjectProps;
  6007. target._v = createTextVNode;
  6008. target._e = createEmptyVNode;
  6009. target._u = resolveScopedSlots;
  6010. target._g = bindObjectListeners;
  6011. target._d = bindDynamicKeys;
  6012. target._p = prependModifier;
  6013. }
  6014. /* */
  6015. function FunctionalRenderContext (
  6016. data,
  6017. props,
  6018. children,
  6019. parent,
  6020. Ctor
  6021. ) {
  6022. var this$1 = this;
  6023. var options = Ctor.options;
  6024. // ensure the createElement function in functional components
  6025. // gets a unique context - this is necessary for correct named slot check
  6026. var contextVm;
  6027. if (hasOwn(parent, '_uid')) {
  6028. contextVm = Object.create(parent);
  6029. // $flow-disable-line
  6030. contextVm._original = parent;
  6031. } else {
  6032. // the context vm passed in is a functional context as well.
  6033. // in this case we want to make sure we are able to get a hold to the
  6034. // real context instance.
  6035. contextVm = parent;
  6036. // $flow-disable-line
  6037. parent = parent._original;
  6038. }
  6039. var isCompiled = isTrue(options._compiled);
  6040. var needNormalization = !isCompiled;
  6041. this.data = data;
  6042. this.props = props;
  6043. this.children = children;
  6044. this.parent = parent;
  6045. this.listeners = data.on || emptyObject;
  6046. this.injections = resolveInject(options.inject, parent);
  6047. this.slots = function () {
  6048. if (!this$1.$slots) {
  6049. normalizeScopedSlots(
  6050. data.scopedSlots,
  6051. this$1.$slots = resolveSlots(children, parent)
  6052. );
  6053. }
  6054. return this$1.$slots
  6055. };
  6056. Object.defineProperty(this, 'scopedSlots', ({
  6057. enumerable: true,
  6058. get: function get () {
  6059. return normalizeScopedSlots(data.scopedSlots, this.slots())
  6060. }
  6061. }));
  6062. // support for compiled functional template
  6063. if (isCompiled) {
  6064. // exposing $options for renderStatic()
  6065. this.$options = options;
  6066. // pre-resolve slots for renderSlot()
  6067. this.$slots = this.slots();
  6068. this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);
  6069. }
  6070. if (options._scopeId) {
  6071. this._c = function (a, b, c, d) {
  6072. var vnode = createElement(contextVm, a, b, c, d, needNormalization);
  6073. if (vnode && !Array.isArray(vnode)) {
  6074. vnode.fnScopeId = options._scopeId;
  6075. vnode.fnContext = parent;
  6076. }
  6077. return vnode
  6078. };
  6079. } else {
  6080. this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
  6081. }
  6082. }
  6083. installRenderHelpers(FunctionalRenderContext.prototype);
  6084. function createFunctionalComponent (
  6085. Ctor,
  6086. propsData,
  6087. data,
  6088. contextVm,
  6089. children
  6090. ) {
  6091. var options = Ctor.options;
  6092. var props = {};
  6093. var propOptions = options.props;
  6094. if (isDef(propOptions)) {
  6095. for (var key in propOptions) {
  6096. props[key] = validateProp(key, propOptions, propsData || emptyObject);
  6097. }
  6098. } else {
  6099. if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
  6100. if (isDef(data.props)) { mergeProps(props, data.props); }
  6101. }
  6102. var renderContext = new FunctionalRenderContext(
  6103. data,
  6104. props,
  6105. children,
  6106. contextVm,
  6107. Ctor
  6108. );
  6109. var vnode = options.render.call(null, renderContext._c, renderContext);
  6110. if (vnode instanceof VNode) {
  6111. return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)
  6112. } else if (Array.isArray(vnode)) {
  6113. var vnodes = normalizeChildren(vnode) || [];
  6114. var res = new Array(vnodes.length);
  6115. for (var i = 0; i < vnodes.length; i++) {
  6116. res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);
  6117. }
  6118. return res
  6119. }
  6120. }
  6121. function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {
  6122. // #7817 clone node before setting fnContext, otherwise if the node is reused
  6123. // (e.g. it was from a cached normal slot) the fnContext causes named slots
  6124. // that should not be matched to match.
  6125. var clone = cloneVNode(vnode);
  6126. clone.fnContext = contextVm;
  6127. clone.fnOptions = options;
  6128. if (true) {
  6129. (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;
  6130. }
  6131. if (data.slot) {
  6132. (clone.data || (clone.data = {})).slot = data.slot;
  6133. }
  6134. return clone
  6135. }
  6136. function mergeProps (to, from) {
  6137. for (var key in from) {
  6138. to[camelize(key)] = from[key];
  6139. }
  6140. }
  6141. /* */
  6142. /* */
  6143. /* */
  6144. /* */
  6145. // inline hooks to be invoked on component VNodes during patch
  6146. var componentVNodeHooks = {
  6147. init: function init (vnode, hydrating) {
  6148. if (
  6149. vnode.componentInstance &&
  6150. !vnode.componentInstance._isDestroyed &&
  6151. vnode.data.keepAlive
  6152. ) {
  6153. // kept-alive components, treat as a patch
  6154. var mountedNode = vnode; // work around flow
  6155. componentVNodeHooks.prepatch(mountedNode, mountedNode);
  6156. } else {
  6157. var child = vnode.componentInstance = createComponentInstanceForVnode(
  6158. vnode,
  6159. activeInstance
  6160. );
  6161. child.$mount(hydrating ? vnode.elm : undefined, hydrating);
  6162. }
  6163. },
  6164. prepatch: function prepatch (oldVnode, vnode) {
  6165. var options = vnode.componentOptions;
  6166. var child = vnode.componentInstance = oldVnode.componentInstance;
  6167. updateChildComponent(
  6168. child,
  6169. options.propsData, // updated props
  6170. options.listeners, // updated listeners
  6171. vnode, // new parent vnode
  6172. options.children // new children
  6173. );
  6174. },
  6175. insert: function insert (vnode) {
  6176. var context = vnode.context;
  6177. var componentInstance = vnode.componentInstance;
  6178. if (!componentInstance._isMounted) {
  6179. callHook(componentInstance, 'onServiceCreated');
  6180. callHook(componentInstance, 'onServiceAttached');
  6181. componentInstance._isMounted = true;
  6182. callHook(componentInstance, 'mounted');
  6183. }
  6184. if (vnode.data.keepAlive) {
  6185. if (context._isMounted) {
  6186. // vue-router#1212
  6187. // During updates, a kept-alive component's child components may
  6188. // change, so directly walking the tree here may call activated hooks
  6189. // on incorrect children. Instead we push them into a queue which will
  6190. // be processed after the whole patch process ended.
  6191. queueActivatedComponent(componentInstance);
  6192. } else {
  6193. activateChildComponent(componentInstance, true /* direct */);
  6194. }
  6195. }
  6196. },
  6197. destroy: function destroy (vnode) {
  6198. var componentInstance = vnode.componentInstance;
  6199. if (!componentInstance._isDestroyed) {
  6200. if (!vnode.data.keepAlive) {
  6201. componentInstance.$destroy();
  6202. } else {
  6203. deactivateChildComponent(componentInstance, true /* direct */);
  6204. }
  6205. }
  6206. }
  6207. };
  6208. var hooksToMerge = Object.keys(componentVNodeHooks);
  6209. function createComponent (
  6210. Ctor,
  6211. data,
  6212. context,
  6213. children,
  6214. tag
  6215. ) {
  6216. if (isUndef(Ctor)) {
  6217. return
  6218. }
  6219. var baseCtor = context.$options._base;
  6220. // plain options object: turn it into a constructor
  6221. if (isObject(Ctor)) {
  6222. Ctor = baseCtor.extend(Ctor);
  6223. }
  6224. // if at this stage it's not a constructor or an async component factory,
  6225. // reject.
  6226. if (typeof Ctor !== 'function') {
  6227. if (true) {
  6228. warn(("Invalid Component definition: " + (String(Ctor))), context);
  6229. }
  6230. return
  6231. }
  6232. // async component
  6233. var asyncFactory;
  6234. if (isUndef(Ctor.cid)) {
  6235. asyncFactory = Ctor;
  6236. Ctor = resolveAsyncComponent(asyncFactory, baseCtor);
  6237. if (Ctor === undefined) {
  6238. // return a placeholder node for async component, which is rendered
  6239. // as a comment node but preserves all the raw information for the node.
  6240. // the information will be used for async server-rendering and hydration.
  6241. return createAsyncPlaceholder(
  6242. asyncFactory,
  6243. data,
  6244. context,
  6245. children,
  6246. tag
  6247. )
  6248. }
  6249. }
  6250. data = data || {};
  6251. // resolve constructor options in case global mixins are applied after
  6252. // component constructor creation
  6253. resolveConstructorOptions(Ctor);
  6254. // transform component v-model data into props & events
  6255. if (isDef(data.model)) {
  6256. transformModel(Ctor.options, data);
  6257. }
  6258. // extract props
  6259. var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx
  6260. // functional component
  6261. if (isTrue(Ctor.options.functional)) {
  6262. return createFunctionalComponent(Ctor, propsData, data, context, children)
  6263. }
  6264. // extract listeners, since these needs to be treated as
  6265. // child component listeners instead of DOM listeners
  6266. var listeners = data.on;
  6267. // replace with listeners with .native modifier
  6268. // so it gets processed during parent component patch.
  6269. data.on = data.nativeOn;
  6270. if (isTrue(Ctor.options.abstract)) {
  6271. // abstract components do not keep anything
  6272. // other than props & listeners & slot
  6273. // work around flow
  6274. var slot = data.slot;
  6275. data = {};
  6276. if (slot) {
  6277. data.slot = slot;
  6278. }
  6279. }
  6280. // install component management hooks onto the placeholder node
  6281. installComponentHooks(data);
  6282. // return a placeholder vnode
  6283. var name = Ctor.options.name || tag;
  6284. var vnode = new VNode(
  6285. ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
  6286. data, undefined, undefined, undefined, context,
  6287. { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
  6288. asyncFactory
  6289. );
  6290. return vnode
  6291. }
  6292. function createComponentInstanceForVnode (
  6293. vnode, // we know it's MountedComponentVNode but flow doesn't
  6294. parent // activeInstance in lifecycle state
  6295. ) {
  6296. var options = {
  6297. _isComponent: true,
  6298. _parentVnode: vnode,
  6299. parent: parent
  6300. };
  6301. // check inline-template render functions
  6302. var inlineTemplate = vnode.data.inlineTemplate;
  6303. if (isDef(inlineTemplate)) {
  6304. options.render = inlineTemplate.render;
  6305. options.staticRenderFns = inlineTemplate.staticRenderFns;
  6306. }
  6307. return new vnode.componentOptions.Ctor(options)
  6308. }
  6309. function installComponentHooks (data) {
  6310. var hooks = data.hook || (data.hook = {});
  6311. for (var i = 0; i < hooksToMerge.length; i++) {
  6312. var key = hooksToMerge[i];
  6313. var existing = hooks[key];
  6314. var toMerge = componentVNodeHooks[key];
  6315. if (existing !== toMerge && !(existing && existing._merged)) {
  6316. hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;
  6317. }
  6318. }
  6319. }
  6320. function mergeHook$1 (f1, f2) {
  6321. var merged = function (a, b) {
  6322. // flow complains about extra args which is why we use any
  6323. f1(a, b);
  6324. f2(a, b);
  6325. };
  6326. merged._merged = true;
  6327. return merged
  6328. }
  6329. // transform component v-model info (value and callback) into
  6330. // prop and event handler respectively.
  6331. function transformModel (options, data) {
  6332. var prop = (options.model && options.model.prop) || 'value';
  6333. var event = (options.model && options.model.event) || 'input'
  6334. ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;
  6335. var on = data.on || (data.on = {});
  6336. var existing = on[event];
  6337. var callback = data.model.callback;
  6338. if (isDef(existing)) {
  6339. if (
  6340. Array.isArray(existing)
  6341. ? existing.indexOf(callback) === -1
  6342. : existing !== callback
  6343. ) {
  6344. on[event] = [callback].concat(existing);
  6345. }
  6346. } else {
  6347. on[event] = callback;
  6348. }
  6349. }
  6350. /* */
  6351. var SIMPLE_NORMALIZE = 1;
  6352. var ALWAYS_NORMALIZE = 2;
  6353. // wrapper function for providing a more flexible interface
  6354. // without getting yelled at by flow
  6355. function createElement (
  6356. context,
  6357. tag,
  6358. data,
  6359. children,
  6360. normalizationType,
  6361. alwaysNormalize
  6362. ) {
  6363. if (Array.isArray(data) || isPrimitive(data)) {
  6364. normalizationType = children;
  6365. children = data;
  6366. data = undefined;
  6367. }
  6368. if (isTrue(alwaysNormalize)) {
  6369. normalizationType = ALWAYS_NORMALIZE;
  6370. }
  6371. return _createElement(context, tag, data, children, normalizationType)
  6372. }
  6373. function _createElement (
  6374. context,
  6375. tag,
  6376. data,
  6377. children,
  6378. normalizationType
  6379. ) {
  6380. if (isDef(data) && isDef((data).__ob__)) {
  6381. true && warn(
  6382. "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
  6383. 'Always create fresh vnode data objects in each render!',
  6384. context
  6385. );
  6386. return createEmptyVNode()
  6387. }
  6388. // object syntax in v-bind
  6389. if (isDef(data) && isDef(data.is)) {
  6390. tag = data.is;
  6391. }
  6392. if (!tag) {
  6393. // in case of component :is set to falsy value
  6394. return createEmptyVNode()
  6395. }
  6396. // warn against non-primitive key
  6397. if ( true &&
  6398. isDef(data) && isDef(data.key) && !isPrimitive(data.key)
  6399. ) {
  6400. {
  6401. warn(
  6402. 'Avoid using non-primitive value as key, ' +
  6403. 'use string/number value instead.',
  6404. context
  6405. );
  6406. }
  6407. }
  6408. // support single function children as default scoped slot
  6409. if (Array.isArray(children) &&
  6410. typeof children[0] === 'function'
  6411. ) {
  6412. data = data || {};
  6413. data.scopedSlots = { default: children[0] };
  6414. children.length = 0;
  6415. }
  6416. if (normalizationType === ALWAYS_NORMALIZE) {
  6417. children = normalizeChildren(children);
  6418. } else if (normalizationType === SIMPLE_NORMALIZE) {
  6419. children = simpleNormalizeChildren(children);
  6420. }
  6421. var vnode, ns;
  6422. if (typeof tag === 'string') {
  6423. var Ctor;
  6424. ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
  6425. if (config.isReservedTag(tag)) {
  6426. // platform built-in elements
  6427. if ( true && isDef(data) && isDef(data.nativeOn)) {
  6428. warn(
  6429. ("The .native modifier for v-on is only valid on components but it was used on <" + tag + ">."),
  6430. context
  6431. );
  6432. }
  6433. vnode = new VNode(
  6434. config.parsePlatformTagName(tag), data, children,
  6435. undefined, undefined, context
  6436. );
  6437. } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
  6438. // component
  6439. vnode = createComponent(Ctor, data, context, children, tag);
  6440. } else {
  6441. // unknown or unlisted namespaced elements
  6442. // check at runtime because it may get assigned a namespace when its
  6443. // parent normalizes children
  6444. vnode = new VNode(
  6445. tag, data, children,
  6446. undefined, undefined, context
  6447. );
  6448. }
  6449. } else {
  6450. // direct component options / constructor
  6451. vnode = createComponent(tag, data, context, children);
  6452. }
  6453. if (Array.isArray(vnode)) {
  6454. return vnode
  6455. } else if (isDef(vnode)) {
  6456. if (isDef(ns)) { applyNS(vnode, ns); }
  6457. if (isDef(data)) { registerDeepBindings(data); }
  6458. return vnode
  6459. } else {
  6460. return createEmptyVNode()
  6461. }
  6462. }
  6463. function applyNS (vnode, ns, force) {
  6464. vnode.ns = ns;
  6465. if (vnode.tag === 'foreignObject') {
  6466. // use default namespace inside foreignObject
  6467. ns = undefined;
  6468. force = true;
  6469. }
  6470. if (isDef(vnode.children)) {
  6471. for (var i = 0, l = vnode.children.length; i < l; i++) {
  6472. var child = vnode.children[i];
  6473. if (isDef(child.tag) && (
  6474. isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
  6475. applyNS(child, ns, force);
  6476. }
  6477. }
  6478. }
  6479. }
  6480. // ref #5318
  6481. // necessary to ensure parent re-render when deep bindings like :style and
  6482. // :class are used on slot nodes
  6483. function registerDeepBindings (data) {
  6484. if (isObject(data.style)) {
  6485. traverse(data.style);
  6486. }
  6487. if (isObject(data.class)) {
  6488. traverse(data.class);
  6489. }
  6490. }
  6491. /* */
  6492. function initRender (vm) {
  6493. vm._vnode = null; // the root of the child tree
  6494. vm._staticTrees = null; // v-once cached trees
  6495. var options = vm.$options;
  6496. var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
  6497. var renderContext = parentVnode && parentVnode.context;
  6498. vm.$slots = resolveSlots(options._renderChildren, renderContext);
  6499. vm.$scopedSlots = emptyObject;
  6500. // bind the createElement fn to this instance
  6501. // so that we get proper render context inside it.
  6502. // args order: tag, data, children, normalizationType, alwaysNormalize
  6503. // internal version is used by render functions compiled from templates
  6504. vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
  6505. // normalization is always applied for the public version, used in
  6506. // user-written render functions.
  6507. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
  6508. // $attrs & $listeners are exposed for easier HOC creation.
  6509. // they need to be reactive so that HOCs using them are always updated
  6510. var parentData = parentVnode && parentVnode.data;
  6511. /* istanbul ignore else */
  6512. if (true) {
  6513. defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
  6514. !isUpdatingChildComponent && warn("$attrs is readonly.", vm);
  6515. }, true);
  6516. defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {
  6517. !isUpdatingChildComponent && warn("$listeners is readonly.", vm);
  6518. }, true);
  6519. } else {}
  6520. }
  6521. var currentRenderingInstance = null;
  6522. function renderMixin (Vue) {
  6523. // install runtime convenience helpers
  6524. installRenderHelpers(Vue.prototype);
  6525. Vue.prototype.$nextTick = function (fn) {
  6526. return nextTick(fn, this)
  6527. };
  6528. Vue.prototype._render = function () {
  6529. var vm = this;
  6530. var ref = vm.$options;
  6531. var render = ref.render;
  6532. var _parentVnode = ref._parentVnode;
  6533. if (_parentVnode) {
  6534. vm.$scopedSlots = normalizeScopedSlots(
  6535. _parentVnode.data.scopedSlots,
  6536. vm.$slots,
  6537. vm.$scopedSlots
  6538. );
  6539. }
  6540. // set parent vnode. this allows render functions to have access
  6541. // to the data on the placeholder node.
  6542. vm.$vnode = _parentVnode;
  6543. // render self
  6544. var vnode;
  6545. try {
  6546. // There's no need to maintain a stack because all render fns are called
  6547. // separately from one another. Nested component's render fns are called
  6548. // when parent component is patched.
  6549. currentRenderingInstance = vm;
  6550. vnode = render.call(vm._renderProxy, vm.$createElement);
  6551. } catch (e) {
  6552. handleError(e, vm, "render");
  6553. // return error render result,
  6554. // or previous vnode to prevent render error causing blank component
  6555. /* istanbul ignore else */
  6556. if ( true && vm.$options.renderError) {
  6557. try {
  6558. vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
  6559. } catch (e) {
  6560. handleError(e, vm, "renderError");
  6561. vnode = vm._vnode;
  6562. }
  6563. } else {
  6564. vnode = vm._vnode;
  6565. }
  6566. } finally {
  6567. currentRenderingInstance = null;
  6568. }
  6569. // if the returned array contains only a single node, allow it
  6570. if (Array.isArray(vnode) && vnode.length === 1) {
  6571. vnode = vnode[0];
  6572. }
  6573. // return empty vnode in case the render function errored out
  6574. if (!(vnode instanceof VNode)) {
  6575. if ( true && Array.isArray(vnode)) {
  6576. warn(
  6577. 'Multiple root nodes returned from render function. Render function ' +
  6578. 'should return a single root node.',
  6579. vm
  6580. );
  6581. }
  6582. vnode = createEmptyVNode();
  6583. }
  6584. // set parent
  6585. vnode.parent = _parentVnode;
  6586. return vnode
  6587. };
  6588. }
  6589. /* */
  6590. function ensureCtor (comp, base) {
  6591. if (
  6592. comp.__esModule ||
  6593. (hasSymbol && comp[Symbol.toStringTag] === 'Module')
  6594. ) {
  6595. comp = comp.default;
  6596. }
  6597. return isObject(comp)
  6598. ? base.extend(comp)
  6599. : comp
  6600. }
  6601. function createAsyncPlaceholder (
  6602. factory,
  6603. data,
  6604. context,
  6605. children,
  6606. tag
  6607. ) {
  6608. var node = createEmptyVNode();
  6609. node.asyncFactory = factory;
  6610. node.asyncMeta = { data: data, context: context, children: children, tag: tag };
  6611. return node
  6612. }
  6613. function resolveAsyncComponent (
  6614. factory,
  6615. baseCtor
  6616. ) {
  6617. if (isTrue(factory.error) && isDef(factory.errorComp)) {
  6618. return factory.errorComp
  6619. }
  6620. if (isDef(factory.resolved)) {
  6621. return factory.resolved
  6622. }
  6623. var owner = currentRenderingInstance;
  6624. if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
  6625. // already pending
  6626. factory.owners.push(owner);
  6627. }
  6628. if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
  6629. return factory.loadingComp
  6630. }
  6631. if (owner && !isDef(factory.owners)) {
  6632. var owners = factory.owners = [owner];
  6633. var sync = true;
  6634. var timerLoading = null;
  6635. var timerTimeout = null
  6636. ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });
  6637. var forceRender = function (renderCompleted) {
  6638. for (var i = 0, l = owners.length; i < l; i++) {
  6639. (owners[i]).$forceUpdate();
  6640. }
  6641. if (renderCompleted) {
  6642. owners.length = 0;
  6643. if (timerLoading !== null) {
  6644. clearTimeout(timerLoading);
  6645. timerLoading = null;
  6646. }
  6647. if (timerTimeout !== null) {
  6648. clearTimeout(timerTimeout);
  6649. timerTimeout = null;
  6650. }
  6651. }
  6652. };
  6653. var resolve = once(function (res) {
  6654. // cache resolved
  6655. factory.resolved = ensureCtor(res, baseCtor);
  6656. // invoke callbacks only if this is not a synchronous resolve
  6657. // (async resolves are shimmed as synchronous during SSR)
  6658. if (!sync) {
  6659. forceRender(true);
  6660. } else {
  6661. owners.length = 0;
  6662. }
  6663. });
  6664. var reject = once(function (reason) {
  6665. true && warn(
  6666. "Failed to resolve async component: " + (String(factory)) +
  6667. (reason ? ("\nReason: " + reason) : '')
  6668. );
  6669. if (isDef(factory.errorComp)) {
  6670. factory.error = true;
  6671. forceRender(true);
  6672. }
  6673. });
  6674. var res = factory(resolve, reject);
  6675. if (isObject(res)) {
  6676. if (isPromise(res)) {
  6677. // () => Promise
  6678. if (isUndef(factory.resolved)) {
  6679. res.then(resolve, reject);
  6680. }
  6681. } else if (isPromise(res.component)) {
  6682. res.component.then(resolve, reject);
  6683. if (isDef(res.error)) {
  6684. factory.errorComp = ensureCtor(res.error, baseCtor);
  6685. }
  6686. if (isDef(res.loading)) {
  6687. factory.loadingComp = ensureCtor(res.loading, baseCtor);
  6688. if (res.delay === 0) {
  6689. factory.loading = true;
  6690. } else {
  6691. timerLoading = setTimeout(function () {
  6692. timerLoading = null;
  6693. if (isUndef(factory.resolved) && isUndef(factory.error)) {
  6694. factory.loading = true;
  6695. forceRender(false);
  6696. }
  6697. }, res.delay || 200);
  6698. }
  6699. }
  6700. if (isDef(res.timeout)) {
  6701. timerTimeout = setTimeout(function () {
  6702. timerTimeout = null;
  6703. if (isUndef(factory.resolved)) {
  6704. reject(
  6705. true
  6706. ? ("timeout (" + (res.timeout) + "ms)")
  6707. : undefined
  6708. );
  6709. }
  6710. }, res.timeout);
  6711. }
  6712. }
  6713. }
  6714. sync = false;
  6715. // return in case resolved synchronously
  6716. return factory.loading
  6717. ? factory.loadingComp
  6718. : factory.resolved
  6719. }
  6720. }
  6721. /* */
  6722. function isAsyncPlaceholder (node) {
  6723. return node.isComment && node.asyncFactory
  6724. }
  6725. /* */
  6726. function getFirstComponentChild (children) {
  6727. if (Array.isArray(children)) {
  6728. for (var i = 0; i < children.length; i++) {
  6729. var c = children[i];
  6730. if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
  6731. return c
  6732. }
  6733. }
  6734. }
  6735. }
  6736. /* */
  6737. /* */
  6738. function initEvents (vm) {
  6739. vm._events = Object.create(null);
  6740. vm._hasHookEvent = false;
  6741. // init parent attached events
  6742. var listeners = vm.$options._parentListeners;
  6743. if (listeners) {
  6744. updateComponentListeners(vm, listeners);
  6745. }
  6746. }
  6747. var target;
  6748. function add (event, fn) {
  6749. target.$on(event, fn);
  6750. }
  6751. function remove$1 (event, fn) {
  6752. target.$off(event, fn);
  6753. }
  6754. function createOnceHandler (event, fn) {
  6755. var _target = target;
  6756. return function onceHandler () {
  6757. var res = fn.apply(null, arguments);
  6758. if (res !== null) {
  6759. _target.$off(event, onceHandler);
  6760. }
  6761. }
  6762. }
  6763. function updateComponentListeners (
  6764. vm,
  6765. listeners,
  6766. oldListeners
  6767. ) {
  6768. target = vm;
  6769. updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);
  6770. target = undefined;
  6771. }
  6772. function eventsMixin (Vue) {
  6773. var hookRE = /^hook:/;
  6774. Vue.prototype.$on = function (event, fn) {
  6775. var vm = this;
  6776. if (Array.isArray(event)) {
  6777. for (var i = 0, l = event.length; i < l; i++) {
  6778. vm.$on(event[i], fn);
  6779. }
  6780. } else {
  6781. (vm._events[event] || (vm._events[event] = [])).push(fn);
  6782. // optimize hook:event cost by using a boolean flag marked at registration
  6783. // instead of a hash lookup
  6784. if (hookRE.test(event)) {
  6785. vm._hasHookEvent = true;
  6786. }
  6787. }
  6788. return vm
  6789. };
  6790. Vue.prototype.$once = function (event, fn) {
  6791. var vm = this;
  6792. function on () {
  6793. vm.$off(event, on);
  6794. fn.apply(vm, arguments);
  6795. }
  6796. on.fn = fn;
  6797. vm.$on(event, on);
  6798. return vm
  6799. };
  6800. Vue.prototype.$off = function (event, fn) {
  6801. var vm = this;
  6802. // all
  6803. if (!arguments.length) {
  6804. vm._events = Object.create(null);
  6805. return vm
  6806. }
  6807. // array of events
  6808. if (Array.isArray(event)) {
  6809. for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
  6810. vm.$off(event[i$1], fn);
  6811. }
  6812. return vm
  6813. }
  6814. // specific event
  6815. var cbs = vm._events[event];
  6816. if (!cbs) {
  6817. return vm
  6818. }
  6819. if (!fn) {
  6820. vm._events[event] = null;
  6821. return vm
  6822. }
  6823. // specific handler
  6824. var cb;
  6825. var i = cbs.length;
  6826. while (i--) {
  6827. cb = cbs[i];
  6828. if (cb === fn || cb.fn === fn) {
  6829. cbs.splice(i, 1);
  6830. break
  6831. }
  6832. }
  6833. return vm
  6834. };
  6835. Vue.prototype.$emit = function (event) {
  6836. var vm = this;
  6837. if (true) {
  6838. var lowerCaseEvent = event.toLowerCase();
  6839. if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
  6840. tip(
  6841. "Event \"" + lowerCaseEvent + "\" is emitted in component " +
  6842. (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
  6843. "Note that HTML attributes are case-insensitive and you cannot use " +
  6844. "v-on to listen to camelCase events when using in-DOM templates. " +
  6845. "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
  6846. );
  6847. }
  6848. }
  6849. var cbs = vm._events[event];
  6850. if (cbs) {
  6851. cbs = cbs.length > 1 ? toArray(cbs) : cbs;
  6852. var args = toArray(arguments, 1);
  6853. var info = "event handler for \"" + event + "\"";
  6854. for (var i = 0, l = cbs.length; i < l; i++) {
  6855. invokeWithErrorHandling(cbs[i], vm, args, vm, info);
  6856. }
  6857. }
  6858. return vm
  6859. };
  6860. }
  6861. /* */
  6862. var activeInstance = null;
  6863. var isUpdatingChildComponent = false;
  6864. function setActiveInstance(vm) {
  6865. var prevActiveInstance = activeInstance;
  6866. activeInstance = vm;
  6867. return function () {
  6868. activeInstance = prevActiveInstance;
  6869. }
  6870. }
  6871. function initLifecycle (vm) {
  6872. var options = vm.$options;
  6873. // locate first non-abstract parent
  6874. var parent = options.parent;
  6875. if (parent && !options.abstract) {
  6876. while (parent.$options.abstract && parent.$parent) {
  6877. parent = parent.$parent;
  6878. }
  6879. parent.$children.push(vm);
  6880. }
  6881. vm.$parent = parent;
  6882. vm.$root = parent ? parent.$root : vm;
  6883. vm.$children = [];
  6884. vm.$refs = {};
  6885. vm._watcher = null;
  6886. vm._inactive = null;
  6887. vm._directInactive = false;
  6888. vm._isMounted = false;
  6889. vm._isDestroyed = false;
  6890. vm._isBeingDestroyed = false;
  6891. }
  6892. function lifecycleMixin (Vue) {
  6893. Vue.prototype._update = function (vnode, hydrating) {
  6894. var vm = this;
  6895. var prevEl = vm.$el;
  6896. var prevVnode = vm._vnode;
  6897. var restoreActiveInstance = setActiveInstance(vm);
  6898. vm._vnode = vnode;
  6899. // Vue.prototype.__patch__ is injected in entry points
  6900. // based on the rendering backend used.
  6901. if (!prevVnode) {
  6902. // initial render
  6903. vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);
  6904. } else {
  6905. // updates
  6906. vm.$el = vm.__patch__(prevVnode, vnode);
  6907. }
  6908. restoreActiveInstance();
  6909. // update __vue__ reference
  6910. if (prevEl) {
  6911. prevEl.__vue__ = null;
  6912. }
  6913. if (vm.$el) {
  6914. vm.$el.__vue__ = vm;
  6915. }
  6916. // if parent is an HOC, update its $el as well
  6917. if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
  6918. vm.$parent.$el = vm.$el;
  6919. }
  6920. // updated hook is called by the scheduler to ensure that children are
  6921. // updated in a parent's updated hook.
  6922. };
  6923. Vue.prototype.$forceUpdate = function () {
  6924. var vm = this;
  6925. if (vm._watcher) {
  6926. vm._watcher.update();
  6927. }
  6928. };
  6929. Vue.prototype.$destroy = function () {
  6930. var vm = this;
  6931. if (vm._isBeingDestroyed) {
  6932. return
  6933. }
  6934. callHook(vm, 'beforeDestroy');
  6935. vm._isBeingDestroyed = true;
  6936. // remove self from parent
  6937. var parent = vm.$parent;
  6938. if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
  6939. remove(parent.$children, vm);
  6940. }
  6941. // teardown watchers
  6942. if (vm._watcher) {
  6943. vm._watcher.teardown();
  6944. }
  6945. var i = vm._watchers.length;
  6946. while (i--) {
  6947. vm._watchers[i].teardown();
  6948. }
  6949. // remove reference from data ob
  6950. // frozen object may not have observer.
  6951. if (vm._data.__ob__) {
  6952. vm._data.__ob__.vmCount--;
  6953. }
  6954. // call the last hook...
  6955. vm._isDestroyed = true;
  6956. // invoke destroy hooks on current rendered tree
  6957. vm.__patch__(vm._vnode, null);
  6958. // fire destroyed hook
  6959. callHook(vm, 'destroyed');
  6960. // turn off all instance listeners.
  6961. vm.$off();
  6962. // remove __vue__ reference
  6963. if (vm.$el) {
  6964. vm.$el.__vue__ = null;
  6965. }
  6966. // release circular reference (#6759)
  6967. if (vm.$vnode) {
  6968. vm.$vnode.parent = null;
  6969. }
  6970. };
  6971. }
  6972. function updateChildComponent (
  6973. vm,
  6974. propsData,
  6975. listeners,
  6976. parentVnode,
  6977. renderChildren
  6978. ) {
  6979. if (true) {
  6980. isUpdatingChildComponent = true;
  6981. }
  6982. // determine whether component has slot children
  6983. // we need to do this before overwriting $options._renderChildren.
  6984. // check if there are dynamic scopedSlots (hand-written or compiled but with
  6985. // dynamic slot names). Static scoped slots compiled from template has the
  6986. // "$stable" marker.
  6987. var newScopedSlots = parentVnode.data.scopedSlots;
  6988. var oldScopedSlots = vm.$scopedSlots;
  6989. var hasDynamicScopedSlot = !!(
  6990. (newScopedSlots && !newScopedSlots.$stable) ||
  6991. (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||
  6992. (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)
  6993. );
  6994. // Any static slot children from the parent may have changed during parent's
  6995. // update. Dynamic scoped slots may also have changed. In such cases, a forced
  6996. // update is necessary to ensure correctness.
  6997. var needsForceUpdate = !!(
  6998. renderChildren || // has new static slots
  6999. vm.$options._renderChildren || // has old static slots
  7000. hasDynamicScopedSlot
  7001. );
  7002. vm.$options._parentVnode = parentVnode;
  7003. vm.$vnode = parentVnode; // update vm's placeholder node without re-render
  7004. if (vm._vnode) { // update child tree's parent
  7005. vm._vnode.parent = parentVnode;
  7006. }
  7007. vm.$options._renderChildren = renderChildren;
  7008. // update $attrs and $listeners hash
  7009. // these are also reactive so they may trigger child update if the child
  7010. // used them during render
  7011. vm.$attrs = parentVnode.data.attrs || emptyObject;
  7012. vm.$listeners = listeners || emptyObject;
  7013. // update props
  7014. if (propsData && vm.$options.props) {
  7015. toggleObserving(false);
  7016. var props = vm._props;
  7017. var propKeys = vm.$options._propKeys || [];
  7018. for (var i = 0; i < propKeys.length; i++) {
  7019. var key = propKeys[i];
  7020. var propOptions = vm.$options.props; // wtf flow?
  7021. props[key] = validateProp(key, propOptions, propsData, vm);
  7022. }
  7023. toggleObserving(true);
  7024. // keep a copy of raw propsData
  7025. vm.$options.propsData = propsData;
  7026. }
  7027. // fixed by xxxxxx update properties(mp runtime)
  7028. vm._$updateProperties && vm._$updateProperties(vm);
  7029. // update listeners
  7030. listeners = listeners || emptyObject;
  7031. var oldListeners = vm.$options._parentListeners;
  7032. vm.$options._parentListeners = listeners;
  7033. updateComponentListeners(vm, listeners, oldListeners);
  7034. // resolve slots + force update if has children
  7035. if (needsForceUpdate) {
  7036. vm.$slots = resolveSlots(renderChildren, parentVnode.context);
  7037. vm.$forceUpdate();
  7038. }
  7039. if (true) {
  7040. isUpdatingChildComponent = false;
  7041. }
  7042. }
  7043. function isInInactiveTree (vm) {
  7044. while (vm && (vm = vm.$parent)) {
  7045. if (vm._inactive) { return true }
  7046. }
  7047. return false
  7048. }
  7049. function activateChildComponent (vm, direct) {
  7050. if (direct) {
  7051. vm._directInactive = false;
  7052. if (isInInactiveTree(vm)) {
  7053. return
  7054. }
  7055. } else if (vm._directInactive) {
  7056. return
  7057. }
  7058. if (vm._inactive || vm._inactive === null) {
  7059. vm._inactive = false;
  7060. for (var i = 0; i < vm.$children.length; i++) {
  7061. activateChildComponent(vm.$children[i]);
  7062. }
  7063. callHook(vm, 'activated');
  7064. }
  7065. }
  7066. function deactivateChildComponent (vm, direct) {
  7067. if (direct) {
  7068. vm._directInactive = true;
  7069. if (isInInactiveTree(vm)) {
  7070. return
  7071. }
  7072. }
  7073. if (!vm._inactive) {
  7074. vm._inactive = true;
  7075. for (var i = 0; i < vm.$children.length; i++) {
  7076. deactivateChildComponent(vm.$children[i]);
  7077. }
  7078. callHook(vm, 'deactivated');
  7079. }
  7080. }
  7081. function callHook (vm, hook) {
  7082. // #7573 disable dep collection when invoking lifecycle hooks
  7083. pushTarget();
  7084. var handlers = vm.$options[hook];
  7085. var info = hook + " hook";
  7086. if (handlers) {
  7087. for (var i = 0, j = handlers.length; i < j; i++) {
  7088. invokeWithErrorHandling(handlers[i], vm, null, vm, info);
  7089. }
  7090. }
  7091. if (vm._hasHookEvent) {
  7092. vm.$emit('hook:' + hook);
  7093. }
  7094. popTarget();
  7095. }
  7096. /* */
  7097. var MAX_UPDATE_COUNT = 100;
  7098. var queue = [];
  7099. var activatedChildren = [];
  7100. var has = {};
  7101. var circular = {};
  7102. var waiting = false;
  7103. var flushing = false;
  7104. var index = 0;
  7105. /**
  7106. * Reset the scheduler's state.
  7107. */
  7108. function resetSchedulerState () {
  7109. index = queue.length = activatedChildren.length = 0;
  7110. has = {};
  7111. if (true) {
  7112. circular = {};
  7113. }
  7114. waiting = flushing = false;
  7115. }
  7116. // Async edge case #6566 requires saving the timestamp when event listeners are
  7117. // attached. However, calling performance.now() has a perf overhead especially
  7118. // if the page has thousands of event listeners. Instead, we take a timestamp
  7119. // every time the scheduler flushes and use that for all event listeners
  7120. // attached during that flush.
  7121. var currentFlushTimestamp = 0;
  7122. // Async edge case fix requires storing an event listener's attach timestamp.
  7123. var getNow = Date.now;
  7124. // Determine what event timestamp the browser is using. Annoyingly, the
  7125. // timestamp can either be hi-res (relative to page load) or low-res
  7126. // (relative to UNIX epoch), so in order to compare time we have to use the
  7127. // same timestamp type when saving the flush timestamp.
  7128. // All IE versions use low-res event timestamps, and have problematic clock
  7129. // implementations (#9632)
  7130. if (inBrowser && !isIE) {
  7131. var performance = window.performance;
  7132. if (
  7133. performance &&
  7134. typeof performance.now === 'function' &&
  7135. getNow() > document.createEvent('Event').timeStamp
  7136. ) {
  7137. // if the event timestamp, although evaluated AFTER the Date.now(), is
  7138. // smaller than it, it means the event is using a hi-res timestamp,
  7139. // and we need to use the hi-res version for event listener timestamps as
  7140. // well.
  7141. getNow = function () { return performance.now(); };
  7142. }
  7143. }
  7144. /**
  7145. * Flush both queues and run the watchers.
  7146. */
  7147. function flushSchedulerQueue () {
  7148. currentFlushTimestamp = getNow();
  7149. flushing = true;
  7150. var watcher, id;
  7151. // Sort queue before flush.
  7152. // This ensures that:
  7153. // 1. Components are updated from parent to child. (because parent is always
  7154. // created before the child)
  7155. // 2. A component's user watchers are run before its render watcher (because
  7156. // user watchers are created before the render watcher)
  7157. // 3. If a component is destroyed during a parent component's watcher run,
  7158. // its watchers can be skipped.
  7159. queue.sort(function (a, b) { return a.id - b.id; });
  7160. // do not cache length because more watchers might be pushed
  7161. // as we run existing watchers
  7162. for (index = 0; index < queue.length; index++) {
  7163. watcher = queue[index];
  7164. if (watcher.before) {
  7165. watcher.before();
  7166. }
  7167. id = watcher.id;
  7168. has[id] = null;
  7169. watcher.run();
  7170. // in dev build, check and stop circular updates.
  7171. if ( true && has[id] != null) {
  7172. circular[id] = (circular[id] || 0) + 1;
  7173. if (circular[id] > MAX_UPDATE_COUNT) {
  7174. warn(
  7175. 'You may have an infinite update loop ' + (
  7176. watcher.user
  7177. ? ("in watcher with expression \"" + (watcher.expression) + "\"")
  7178. : "in a component render function."
  7179. ),
  7180. watcher.vm
  7181. );
  7182. break
  7183. }
  7184. }
  7185. }
  7186. // keep copies of post queues before resetting state
  7187. var activatedQueue = activatedChildren.slice();
  7188. var updatedQueue = queue.slice();
  7189. resetSchedulerState();
  7190. // call component updated and activated hooks
  7191. callActivatedHooks(activatedQueue);
  7192. callUpdatedHooks(updatedQueue);
  7193. // devtool hook
  7194. /* istanbul ignore if */
  7195. if (devtools && config.devtools) {
  7196. devtools.emit('flush');
  7197. }
  7198. }
  7199. function callUpdatedHooks (queue) {
  7200. var i = queue.length;
  7201. while (i--) {
  7202. var watcher = queue[i];
  7203. var vm = watcher.vm;
  7204. if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {
  7205. callHook(vm, 'updated');
  7206. }
  7207. }
  7208. }
  7209. /**
  7210. * Queue a kept-alive component that was activated during patch.
  7211. * The queue will be processed after the entire tree has been patched.
  7212. */
  7213. function queueActivatedComponent (vm) {
  7214. // setting _inactive to false here so that a render function can
  7215. // rely on checking whether it's in an inactive tree (e.g. router-view)
  7216. vm._inactive = false;
  7217. activatedChildren.push(vm);
  7218. }
  7219. function callActivatedHooks (queue) {
  7220. for (var i = 0; i < queue.length; i++) {
  7221. queue[i]._inactive = true;
  7222. activateChildComponent(queue[i], true /* true */);
  7223. }
  7224. }
  7225. /**
  7226. * Push a watcher into the watcher queue.
  7227. * Jobs with duplicate IDs will be skipped unless it's
  7228. * pushed when the queue is being flushed.
  7229. */
  7230. function queueWatcher (watcher) {
  7231. var id = watcher.id;
  7232. if (has[id] == null) {
  7233. has[id] = true;
  7234. if (!flushing) {
  7235. queue.push(watcher);
  7236. } else {
  7237. // if already flushing, splice the watcher based on its id
  7238. // if already past its id, it will be run next immediately.
  7239. var i = queue.length - 1;
  7240. while (i > index && queue[i].id > watcher.id) {
  7241. i--;
  7242. }
  7243. queue.splice(i + 1, 0, watcher);
  7244. }
  7245. // queue the flush
  7246. if (!waiting) {
  7247. waiting = true;
  7248. if ( true && !config.async) {
  7249. flushSchedulerQueue();
  7250. return
  7251. }
  7252. nextTick(flushSchedulerQueue);
  7253. }
  7254. }
  7255. }
  7256. /* */
  7257. var uid$2 = 0;
  7258. /**
  7259. * A watcher parses an expression, collects dependencies,
  7260. * and fires callback when the expression value changes.
  7261. * This is used for both the $watch() api and directives.
  7262. */
  7263. var Watcher = function Watcher (
  7264. vm,
  7265. expOrFn,
  7266. cb,
  7267. options,
  7268. isRenderWatcher
  7269. ) {
  7270. this.vm = vm;
  7271. if (isRenderWatcher) {
  7272. vm._watcher = this;
  7273. }
  7274. vm._watchers.push(this);
  7275. // options
  7276. if (options) {
  7277. this.deep = !!options.deep;
  7278. this.user = !!options.user;
  7279. this.lazy = !!options.lazy;
  7280. this.sync = !!options.sync;
  7281. this.before = options.before;
  7282. } else {
  7283. this.deep = this.user = this.lazy = this.sync = false;
  7284. }
  7285. this.cb = cb;
  7286. this.id = ++uid$2; // uid for batching
  7287. this.active = true;
  7288. this.dirty = this.lazy; // for lazy watchers
  7289. this.deps = [];
  7290. this.newDeps = [];
  7291. this.depIds = new _Set();
  7292. this.newDepIds = new _Set();
  7293. this.expression = true
  7294. ? expOrFn.toString()
  7295. : undefined;
  7296. // parse expression for getter
  7297. if (typeof expOrFn === 'function') {
  7298. this.getter = expOrFn;
  7299. } else {
  7300. this.getter = parsePath(expOrFn);
  7301. if (!this.getter) {
  7302. this.getter = noop;
  7303. true && warn(
  7304. "Failed watching path: \"" + expOrFn + "\" " +
  7305. 'Watcher only accepts simple dot-delimited paths. ' +
  7306. 'For full control, use a function instead.',
  7307. vm
  7308. );
  7309. }
  7310. }
  7311. this.value = this.lazy
  7312. ? undefined
  7313. : this.get();
  7314. };
  7315. /**
  7316. * Evaluate the getter, and re-collect dependencies.
  7317. */
  7318. Watcher.prototype.get = function get () {
  7319. pushTarget(this);
  7320. var value;
  7321. var vm = this.vm;
  7322. try {
  7323. value = this.getter.call(vm, vm);
  7324. } catch (e) {
  7325. if (this.user) {
  7326. handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
  7327. } else {
  7328. throw e
  7329. }
  7330. } finally {
  7331. // "touch" every property so they are all tracked as
  7332. // dependencies for deep watching
  7333. if (this.deep) {
  7334. traverse(value);
  7335. }
  7336. popTarget();
  7337. this.cleanupDeps();
  7338. }
  7339. return value
  7340. };
  7341. /**
  7342. * Add a dependency to this directive.
  7343. */
  7344. Watcher.prototype.addDep = function addDep (dep) {
  7345. var id = dep.id;
  7346. if (!this.newDepIds.has(id)) {
  7347. this.newDepIds.add(id);
  7348. this.newDeps.push(dep);
  7349. if (!this.depIds.has(id)) {
  7350. dep.addSub(this);
  7351. }
  7352. }
  7353. };
  7354. /**
  7355. * Clean up for dependency collection.
  7356. */
  7357. Watcher.prototype.cleanupDeps = function cleanupDeps () {
  7358. var i = this.deps.length;
  7359. while (i--) {
  7360. var dep = this.deps[i];
  7361. if (!this.newDepIds.has(dep.id)) {
  7362. dep.removeSub(this);
  7363. }
  7364. }
  7365. var tmp = this.depIds;
  7366. this.depIds = this.newDepIds;
  7367. this.newDepIds = tmp;
  7368. this.newDepIds.clear();
  7369. tmp = this.deps;
  7370. this.deps = this.newDeps;
  7371. this.newDeps = tmp;
  7372. this.newDeps.length = 0;
  7373. };
  7374. /**
  7375. * Subscriber interface.
  7376. * Will be called when a dependency changes.
  7377. */
  7378. Watcher.prototype.update = function update () {
  7379. /* istanbul ignore else */
  7380. if (this.lazy) {
  7381. this.dirty = true;
  7382. } else if (this.sync) {
  7383. this.run();
  7384. } else {
  7385. queueWatcher(this);
  7386. }
  7387. };
  7388. /**
  7389. * Scheduler job interface.
  7390. * Will be called by the scheduler.
  7391. */
  7392. Watcher.prototype.run = function run () {
  7393. if (this.active) {
  7394. var value = this.get();
  7395. if (
  7396. value !== this.value ||
  7397. // Deep watchers and watchers on Object/Arrays should fire even
  7398. // when the value is the same, because the value may
  7399. // have mutated.
  7400. isObject(value) ||
  7401. this.deep
  7402. ) {
  7403. // set new value
  7404. var oldValue = this.value;
  7405. this.value = value;
  7406. if (this.user) {
  7407. try {
  7408. this.cb.call(this.vm, value, oldValue);
  7409. } catch (e) {
  7410. handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
  7411. }
  7412. } else {
  7413. this.cb.call(this.vm, value, oldValue);
  7414. }
  7415. }
  7416. }
  7417. };
  7418. /**
  7419. * Evaluate the value of the watcher.
  7420. * This only gets called for lazy watchers.
  7421. */
  7422. Watcher.prototype.evaluate = function evaluate () {
  7423. this.value = this.get();
  7424. this.dirty = false;
  7425. };
  7426. /**
  7427. * Depend on all deps collected by this watcher.
  7428. */
  7429. Watcher.prototype.depend = function depend () {
  7430. var i = this.deps.length;
  7431. while (i--) {
  7432. this.deps[i].depend();
  7433. }
  7434. };
  7435. /**
  7436. * Remove self from all dependencies' subscriber list.
  7437. */
  7438. Watcher.prototype.teardown = function teardown () {
  7439. if (this.active) {
  7440. // remove self from vm's watcher list
  7441. // this is a somewhat expensive operation so we skip it
  7442. // if the vm is being destroyed.
  7443. if (!this.vm._isBeingDestroyed) {
  7444. remove(this.vm._watchers, this);
  7445. }
  7446. var i = this.deps.length;
  7447. while (i--) {
  7448. this.deps[i].removeSub(this);
  7449. }
  7450. this.active = false;
  7451. }
  7452. };
  7453. /* */
  7454. var sharedPropertyDefinition = {
  7455. enumerable: true,
  7456. configurable: true,
  7457. get: noop,
  7458. set: noop
  7459. };
  7460. function proxy (target, sourceKey, key) {
  7461. sharedPropertyDefinition.get = function proxyGetter () {
  7462. return this[sourceKey][key]
  7463. };
  7464. sharedPropertyDefinition.set = function proxySetter (val) {
  7465. this[sourceKey][key] = val;
  7466. };
  7467. Object.defineProperty(target, key, sharedPropertyDefinition);
  7468. }
  7469. function initState (vm) {
  7470. vm._watchers = [];
  7471. var opts = vm.$options;
  7472. if (opts.props) { initProps(vm, opts.props); }
  7473. if (opts.methods) { initMethods(vm, opts.methods); }
  7474. if (opts.data) {
  7475. initData(vm);
  7476. } else {
  7477. observe(vm._data = {}, true /* asRootData */);
  7478. }
  7479. if (opts.computed) { initComputed(vm, opts.computed); }
  7480. if (opts.watch && opts.watch !== nativeWatch) {
  7481. initWatch(vm, opts.watch);
  7482. }
  7483. }
  7484. function initProps (vm, propsOptions) {
  7485. var propsData = vm.$options.propsData || {};
  7486. var props = vm._props = {};
  7487. // cache prop keys so that future props updates can iterate using Array
  7488. // instead of dynamic object key enumeration.
  7489. var keys = vm.$options._propKeys = [];
  7490. var isRoot = !vm.$parent;
  7491. // root instance props should be converted
  7492. if (!isRoot) {
  7493. toggleObserving(false);
  7494. }
  7495. var loop = function ( key ) {
  7496. keys.push(key);
  7497. var value = validateProp(key, propsOptions, propsData, vm);
  7498. /* istanbul ignore else */
  7499. if (true) {
  7500. var hyphenatedKey = hyphenate(key);
  7501. if (isReservedAttribute(hyphenatedKey) ||
  7502. config.isReservedAttr(hyphenatedKey)) {
  7503. warn(
  7504. ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
  7505. vm
  7506. );
  7507. }
  7508. defineReactive$$1(props, key, value, function () {
  7509. if (!isRoot && !isUpdatingChildComponent) {
  7510. {
  7511. if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou' || vm.mpHost === 'mp-xhs'){//百度、快手、小红书 observer 在 setData callback 之后触发,直接忽略该 warn
  7512. return
  7513. }
  7514. //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警
  7515. if(
  7516. key === 'value' &&
  7517. Array.isArray(vm.$options.behaviors) &&
  7518. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  7519. ){
  7520. return
  7521. }
  7522. if(vm._getFormData){
  7523. return
  7524. }
  7525. var $parent = vm.$parent;
  7526. while($parent){
  7527. if($parent.__next_tick_pending){
  7528. return
  7529. }
  7530. $parent = $parent.$parent;
  7531. }
  7532. }
  7533. warn(
  7534. "Avoid mutating a prop directly since the value will be " +
  7535. "overwritten whenever the parent component re-renders. " +
  7536. "Instead, use a data or computed property based on the prop's " +
  7537. "value. Prop being mutated: \"" + key + "\"",
  7538. vm
  7539. );
  7540. }
  7541. });
  7542. } else {}
  7543. // static props are already proxied on the component's prototype
  7544. // during Vue.extend(). We only need to proxy props defined at
  7545. // instantiation here.
  7546. if (!(key in vm)) {
  7547. proxy(vm, "_props", key);
  7548. }
  7549. };
  7550. for (var key in propsOptions) loop( key );
  7551. toggleObserving(true);
  7552. }
  7553. function initData (vm) {
  7554. var data = vm.$options.data;
  7555. data = vm._data = typeof data === 'function'
  7556. ? getData(data, vm)
  7557. : data || {};
  7558. if (!isPlainObject(data)) {
  7559. data = {};
  7560. true && warn(
  7561. 'data functions should return an object:\n' +
  7562. 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
  7563. vm
  7564. );
  7565. }
  7566. // proxy data on instance
  7567. var keys = Object.keys(data);
  7568. var props = vm.$options.props;
  7569. var methods = vm.$options.methods;
  7570. var i = keys.length;
  7571. while (i--) {
  7572. var key = keys[i];
  7573. if (true) {
  7574. if (methods && hasOwn(methods, key)) {
  7575. warn(
  7576. ("Method \"" + key + "\" has already been defined as a data property."),
  7577. vm
  7578. );
  7579. }
  7580. }
  7581. if (props && hasOwn(props, key)) {
  7582. true && warn(
  7583. "The data property \"" + key + "\" is already declared as a prop. " +
  7584. "Use prop default value instead.",
  7585. vm
  7586. );
  7587. } else if (!isReserved(key)) {
  7588. proxy(vm, "_data", key);
  7589. }
  7590. }
  7591. // observe data
  7592. observe(data, true /* asRootData */);
  7593. }
  7594. function getData (data, vm) {
  7595. // #7573 disable dep collection when invoking data getters
  7596. pushTarget();
  7597. try {
  7598. return data.call(vm, vm)
  7599. } catch (e) {
  7600. handleError(e, vm, "data()");
  7601. return {}
  7602. } finally {
  7603. popTarget();
  7604. }
  7605. }
  7606. var computedWatcherOptions = { lazy: true };
  7607. function initComputed (vm, computed) {
  7608. // $flow-disable-line
  7609. var watchers = vm._computedWatchers = Object.create(null);
  7610. // computed properties are just getters during SSR
  7611. var isSSR = isServerRendering();
  7612. for (var key in computed) {
  7613. var userDef = computed[key];
  7614. var getter = typeof userDef === 'function' ? userDef : userDef.get;
  7615. if ( true && getter == null) {
  7616. warn(
  7617. ("Getter is missing for computed property \"" + key + "\"."),
  7618. vm
  7619. );
  7620. }
  7621. if (!isSSR) {
  7622. // create internal watcher for the computed property.
  7623. watchers[key] = new Watcher(
  7624. vm,
  7625. getter || noop,
  7626. noop,
  7627. computedWatcherOptions
  7628. );
  7629. }
  7630. // component-defined computed properties are already defined on the
  7631. // component prototype. We only need to define computed properties defined
  7632. // at instantiation here.
  7633. if (!(key in vm)) {
  7634. defineComputed(vm, key, userDef);
  7635. } else if (true) {
  7636. if (key in vm.$data) {
  7637. warn(("The computed property \"" + key + "\" is already defined in data."), vm);
  7638. } else if (vm.$options.props && key in vm.$options.props) {
  7639. warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
  7640. }
  7641. }
  7642. }
  7643. }
  7644. function defineComputed (
  7645. target,
  7646. key,
  7647. userDef
  7648. ) {
  7649. var shouldCache = !isServerRendering();
  7650. if (typeof userDef === 'function') {
  7651. sharedPropertyDefinition.get = shouldCache
  7652. ? createComputedGetter(key)
  7653. : createGetterInvoker(userDef);
  7654. sharedPropertyDefinition.set = noop;
  7655. } else {
  7656. sharedPropertyDefinition.get = userDef.get
  7657. ? shouldCache && userDef.cache !== false
  7658. ? createComputedGetter(key)
  7659. : createGetterInvoker(userDef.get)
  7660. : noop;
  7661. sharedPropertyDefinition.set = userDef.set || noop;
  7662. }
  7663. if ( true &&
  7664. sharedPropertyDefinition.set === noop) {
  7665. sharedPropertyDefinition.set = function () {
  7666. warn(
  7667. ("Computed property \"" + key + "\" was assigned to but it has no setter."),
  7668. this
  7669. );
  7670. };
  7671. }
  7672. Object.defineProperty(target, key, sharedPropertyDefinition);
  7673. }
  7674. function createComputedGetter (key) {
  7675. return function computedGetter () {
  7676. var watcher = this._computedWatchers && this._computedWatchers[key];
  7677. if (watcher) {
  7678. if (watcher.dirty) {
  7679. watcher.evaluate();
  7680. }
  7681. if (Dep.SharedObject.target) {// fixed by xxxxxx
  7682. watcher.depend();
  7683. }
  7684. return watcher.value
  7685. }
  7686. }
  7687. }
  7688. function createGetterInvoker(fn) {
  7689. return function computedGetter () {
  7690. return fn.call(this, this)
  7691. }
  7692. }
  7693. function initMethods (vm, methods) {
  7694. var props = vm.$options.props;
  7695. for (var key in methods) {
  7696. if (true) {
  7697. if (typeof methods[key] !== 'function') {
  7698. warn(
  7699. "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " +
  7700. "Did you reference the function correctly?",
  7701. vm
  7702. );
  7703. }
  7704. if (props && hasOwn(props, key)) {
  7705. warn(
  7706. ("Method \"" + key + "\" has already been defined as a prop."),
  7707. vm
  7708. );
  7709. }
  7710. if ((key in vm) && isReserved(key)) {
  7711. warn(
  7712. "Method \"" + key + "\" conflicts with an existing Vue instance method. " +
  7713. "Avoid defining component methods that start with _ or $."
  7714. );
  7715. }
  7716. }
  7717. vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);
  7718. }
  7719. }
  7720. function initWatch (vm, watch) {
  7721. for (var key in watch) {
  7722. var handler = watch[key];
  7723. if (Array.isArray(handler)) {
  7724. for (var i = 0; i < handler.length; i++) {
  7725. createWatcher(vm, key, handler[i]);
  7726. }
  7727. } else {
  7728. createWatcher(vm, key, handler);
  7729. }
  7730. }
  7731. }
  7732. function createWatcher (
  7733. vm,
  7734. expOrFn,
  7735. handler,
  7736. options
  7737. ) {
  7738. if (isPlainObject(handler)) {
  7739. options = handler;
  7740. handler = handler.handler;
  7741. }
  7742. if (typeof handler === 'string') {
  7743. handler = vm[handler];
  7744. }
  7745. return vm.$watch(expOrFn, handler, options)
  7746. }
  7747. function stateMixin (Vue) {
  7748. // flow somehow has problems with directly declared definition object
  7749. // when using Object.defineProperty, so we have to procedurally build up
  7750. // the object here.
  7751. var dataDef = {};
  7752. dataDef.get = function () { return this._data };
  7753. var propsDef = {};
  7754. propsDef.get = function () { return this._props };
  7755. if (true) {
  7756. dataDef.set = function () {
  7757. warn(
  7758. 'Avoid replacing instance root $data. ' +
  7759. 'Use nested data properties instead.',
  7760. this
  7761. );
  7762. };
  7763. propsDef.set = function () {
  7764. warn("$props is readonly.", this);
  7765. };
  7766. }
  7767. Object.defineProperty(Vue.prototype, '$data', dataDef);
  7768. Object.defineProperty(Vue.prototype, '$props', propsDef);
  7769. Vue.prototype.$set = set;
  7770. Vue.prototype.$delete = del;
  7771. Vue.prototype.$watch = function (
  7772. expOrFn,
  7773. cb,
  7774. options
  7775. ) {
  7776. var vm = this;
  7777. if (isPlainObject(cb)) {
  7778. return createWatcher(vm, expOrFn, cb, options)
  7779. }
  7780. options = options || {};
  7781. options.user = true;
  7782. var watcher = new Watcher(vm, expOrFn, cb, options);
  7783. if (options.immediate) {
  7784. try {
  7785. cb.call(vm, watcher.value);
  7786. } catch (error) {
  7787. handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\""));
  7788. }
  7789. }
  7790. return function unwatchFn () {
  7791. watcher.teardown();
  7792. }
  7793. };
  7794. }
  7795. /* */
  7796. var uid$3 = 0;
  7797. function initMixin (Vue) {
  7798. Vue.prototype._init = function (options) {
  7799. var vm = this;
  7800. // a uid
  7801. vm._uid = uid$3++;
  7802. var startTag, endTag;
  7803. /* istanbul ignore if */
  7804. if ( true && config.performance && mark) {
  7805. startTag = "vue-perf-start:" + (vm._uid);
  7806. endTag = "vue-perf-end:" + (vm._uid);
  7807. mark(startTag);
  7808. }
  7809. // a flag to avoid this being observed
  7810. vm._isVue = true;
  7811. // merge options
  7812. if (options && options._isComponent) {
  7813. // optimize internal component instantiation
  7814. // since dynamic options merging is pretty slow, and none of the
  7815. // internal component options needs special treatment.
  7816. initInternalComponent(vm, options);
  7817. } else {
  7818. vm.$options = mergeOptions(
  7819. resolveConstructorOptions(vm.constructor),
  7820. options || {},
  7821. vm
  7822. );
  7823. }
  7824. /* istanbul ignore else */
  7825. if (true) {
  7826. initProxy(vm);
  7827. } else {}
  7828. // expose real self
  7829. vm._self = vm;
  7830. initLifecycle(vm);
  7831. initEvents(vm);
  7832. initRender(vm);
  7833. callHook(vm, 'beforeCreate');
  7834. !vm._$fallback && initInjections(vm); // resolve injections before data/props
  7835. initState(vm);
  7836. !vm._$fallback && initProvide(vm); // resolve provide after data/props
  7837. !vm._$fallback && callHook(vm, 'created');
  7838. /* istanbul ignore if */
  7839. if ( true && config.performance && mark) {
  7840. vm._name = formatComponentName(vm, false);
  7841. mark(endTag);
  7842. measure(("vue " + (vm._name) + " init"), startTag, endTag);
  7843. }
  7844. if (vm.$options.el) {
  7845. vm.$mount(vm.$options.el);
  7846. }
  7847. };
  7848. }
  7849. function initInternalComponent (vm, options) {
  7850. var opts = vm.$options = Object.create(vm.constructor.options);
  7851. // doing this because it's faster than dynamic enumeration.
  7852. var parentVnode = options._parentVnode;
  7853. opts.parent = options.parent;
  7854. opts._parentVnode = parentVnode;
  7855. var vnodeComponentOptions = parentVnode.componentOptions;
  7856. opts.propsData = vnodeComponentOptions.propsData;
  7857. opts._parentListeners = vnodeComponentOptions.listeners;
  7858. opts._renderChildren = vnodeComponentOptions.children;
  7859. opts._componentTag = vnodeComponentOptions.tag;
  7860. if (options.render) {
  7861. opts.render = options.render;
  7862. opts.staticRenderFns = options.staticRenderFns;
  7863. }
  7864. }
  7865. function resolveConstructorOptions (Ctor) {
  7866. var options = Ctor.options;
  7867. if (Ctor.super) {
  7868. var superOptions = resolveConstructorOptions(Ctor.super);
  7869. var cachedSuperOptions = Ctor.superOptions;
  7870. if (superOptions !== cachedSuperOptions) {
  7871. // super option changed,
  7872. // need to resolve new options.
  7873. Ctor.superOptions = superOptions;
  7874. // check if there are any late-modified/attached options (#4976)
  7875. var modifiedOptions = resolveModifiedOptions(Ctor);
  7876. // update base extend options
  7877. if (modifiedOptions) {
  7878. extend(Ctor.extendOptions, modifiedOptions);
  7879. }
  7880. options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
  7881. if (options.name) {
  7882. options.components[options.name] = Ctor;
  7883. }
  7884. }
  7885. }
  7886. return options
  7887. }
  7888. function resolveModifiedOptions (Ctor) {
  7889. var modified;
  7890. var latest = Ctor.options;
  7891. var sealed = Ctor.sealedOptions;
  7892. for (var key in latest) {
  7893. if (latest[key] !== sealed[key]) {
  7894. if (!modified) { modified = {}; }
  7895. modified[key] = latest[key];
  7896. }
  7897. }
  7898. return modified
  7899. }
  7900. function Vue (options) {
  7901. if ( true &&
  7902. !(this instanceof Vue)
  7903. ) {
  7904. warn('Vue is a constructor and should be called with the `new` keyword');
  7905. }
  7906. this._init(options);
  7907. }
  7908. initMixin(Vue);
  7909. stateMixin(Vue);
  7910. eventsMixin(Vue);
  7911. lifecycleMixin(Vue);
  7912. renderMixin(Vue);
  7913. /* */
  7914. function initUse (Vue) {
  7915. Vue.use = function (plugin) {
  7916. var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
  7917. if (installedPlugins.indexOf(plugin) > -1) {
  7918. return this
  7919. }
  7920. // additional parameters
  7921. var args = toArray(arguments, 1);
  7922. args.unshift(this);
  7923. if (typeof plugin.install === 'function') {
  7924. plugin.install.apply(plugin, args);
  7925. } else if (typeof plugin === 'function') {
  7926. plugin.apply(null, args);
  7927. }
  7928. installedPlugins.push(plugin);
  7929. return this
  7930. };
  7931. }
  7932. /* */
  7933. function initMixin$1 (Vue) {
  7934. Vue.mixin = function (mixin) {
  7935. this.options = mergeOptions(this.options, mixin);
  7936. return this
  7937. };
  7938. }
  7939. /* */
  7940. function initExtend (Vue) {
  7941. /**
  7942. * Each instance constructor, including Vue, has a unique
  7943. * cid. This enables us to create wrapped "child
  7944. * constructors" for prototypal inheritance and cache them.
  7945. */
  7946. Vue.cid = 0;
  7947. var cid = 1;
  7948. /**
  7949. * Class inheritance
  7950. */
  7951. Vue.extend = function (extendOptions) {
  7952. extendOptions = extendOptions || {};
  7953. var Super = this;
  7954. var SuperId = Super.cid;
  7955. var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
  7956. if (cachedCtors[SuperId]) {
  7957. return cachedCtors[SuperId]
  7958. }
  7959. var name = extendOptions.name || Super.options.name;
  7960. if ( true && name) {
  7961. validateComponentName(name);
  7962. }
  7963. var Sub = function VueComponent (options) {
  7964. this._init(options);
  7965. };
  7966. Sub.prototype = Object.create(Super.prototype);
  7967. Sub.prototype.constructor = Sub;
  7968. Sub.cid = cid++;
  7969. Sub.options = mergeOptions(
  7970. Super.options,
  7971. extendOptions
  7972. );
  7973. Sub['super'] = Super;
  7974. // For props and computed properties, we define the proxy getters on
  7975. // the Vue instances at extension time, on the extended prototype. This
  7976. // avoids Object.defineProperty calls for each instance created.
  7977. if (Sub.options.props) {
  7978. initProps$1(Sub);
  7979. }
  7980. if (Sub.options.computed) {
  7981. initComputed$1(Sub);
  7982. }
  7983. // allow further extension/mixin/plugin usage
  7984. Sub.extend = Super.extend;
  7985. Sub.mixin = Super.mixin;
  7986. Sub.use = Super.use;
  7987. // create asset registers, so extended classes
  7988. // can have their private assets too.
  7989. ASSET_TYPES.forEach(function (type) {
  7990. Sub[type] = Super[type];
  7991. });
  7992. // enable recursive self-lookup
  7993. if (name) {
  7994. Sub.options.components[name] = Sub;
  7995. }
  7996. // keep a reference to the super options at extension time.
  7997. // later at instantiation we can check if Super's options have
  7998. // been updated.
  7999. Sub.superOptions = Super.options;
  8000. Sub.extendOptions = extendOptions;
  8001. Sub.sealedOptions = extend({}, Sub.options);
  8002. // cache constructor
  8003. cachedCtors[SuperId] = Sub;
  8004. return Sub
  8005. };
  8006. }
  8007. function initProps$1 (Comp) {
  8008. var props = Comp.options.props;
  8009. for (var key in props) {
  8010. proxy(Comp.prototype, "_props", key);
  8011. }
  8012. }
  8013. function initComputed$1 (Comp) {
  8014. var computed = Comp.options.computed;
  8015. for (var key in computed) {
  8016. defineComputed(Comp.prototype, key, computed[key]);
  8017. }
  8018. }
  8019. /* */
  8020. function initAssetRegisters (Vue) {
  8021. /**
  8022. * Create asset registration methods.
  8023. */
  8024. ASSET_TYPES.forEach(function (type) {
  8025. Vue[type] = function (
  8026. id,
  8027. definition
  8028. ) {
  8029. if (!definition) {
  8030. return this.options[type + 's'][id]
  8031. } else {
  8032. /* istanbul ignore if */
  8033. if ( true && type === 'component') {
  8034. validateComponentName(id);
  8035. }
  8036. if (type === 'component' && isPlainObject(definition)) {
  8037. definition.name = definition.name || id;
  8038. definition = this.options._base.extend(definition);
  8039. }
  8040. if (type === 'directive' && typeof definition === 'function') {
  8041. definition = { bind: definition, update: definition };
  8042. }
  8043. this.options[type + 's'][id] = definition;
  8044. return definition
  8045. }
  8046. };
  8047. });
  8048. }
  8049. /* */
  8050. function getComponentName (opts) {
  8051. return opts && (opts.Ctor.options.name || opts.tag)
  8052. }
  8053. function matches (pattern, name) {
  8054. if (Array.isArray(pattern)) {
  8055. return pattern.indexOf(name) > -1
  8056. } else if (typeof pattern === 'string') {
  8057. return pattern.split(',').indexOf(name) > -1
  8058. } else if (isRegExp(pattern)) {
  8059. return pattern.test(name)
  8060. }
  8061. /* istanbul ignore next */
  8062. return false
  8063. }
  8064. function pruneCache (keepAliveInstance, filter) {
  8065. var cache = keepAliveInstance.cache;
  8066. var keys = keepAliveInstance.keys;
  8067. var _vnode = keepAliveInstance._vnode;
  8068. for (var key in cache) {
  8069. var cachedNode = cache[key];
  8070. if (cachedNode) {
  8071. var name = getComponentName(cachedNode.componentOptions);
  8072. if (name && !filter(name)) {
  8073. pruneCacheEntry(cache, key, keys, _vnode);
  8074. }
  8075. }
  8076. }
  8077. }
  8078. function pruneCacheEntry (
  8079. cache,
  8080. key,
  8081. keys,
  8082. current
  8083. ) {
  8084. var cached$$1 = cache[key];
  8085. if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
  8086. cached$$1.componentInstance.$destroy();
  8087. }
  8088. cache[key] = null;
  8089. remove(keys, key);
  8090. }
  8091. var patternTypes = [String, RegExp, Array];
  8092. var KeepAlive = {
  8093. name: 'keep-alive',
  8094. abstract: true,
  8095. props: {
  8096. include: patternTypes,
  8097. exclude: patternTypes,
  8098. max: [String, Number]
  8099. },
  8100. created: function created () {
  8101. this.cache = Object.create(null);
  8102. this.keys = [];
  8103. },
  8104. destroyed: function destroyed () {
  8105. for (var key in this.cache) {
  8106. pruneCacheEntry(this.cache, key, this.keys);
  8107. }
  8108. },
  8109. mounted: function mounted () {
  8110. var this$1 = this;
  8111. this.$watch('include', function (val) {
  8112. pruneCache(this$1, function (name) { return matches(val, name); });
  8113. });
  8114. this.$watch('exclude', function (val) {
  8115. pruneCache(this$1, function (name) { return !matches(val, name); });
  8116. });
  8117. },
  8118. render: function render () {
  8119. var slot = this.$slots.default;
  8120. var vnode = getFirstComponentChild(slot);
  8121. var componentOptions = vnode && vnode.componentOptions;
  8122. if (componentOptions) {
  8123. // check pattern
  8124. var name = getComponentName(componentOptions);
  8125. var ref = this;
  8126. var include = ref.include;
  8127. var exclude = ref.exclude;
  8128. if (
  8129. // not included
  8130. (include && (!name || !matches(include, name))) ||
  8131. // excluded
  8132. (exclude && name && matches(exclude, name))
  8133. ) {
  8134. return vnode
  8135. }
  8136. var ref$1 = this;
  8137. var cache = ref$1.cache;
  8138. var keys = ref$1.keys;
  8139. var key = vnode.key == null
  8140. // same constructor may get registered as different local components
  8141. // so cid alone is not enough (#3269)
  8142. ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
  8143. : vnode.key;
  8144. if (cache[key]) {
  8145. vnode.componentInstance = cache[key].componentInstance;
  8146. // make current key freshest
  8147. remove(keys, key);
  8148. keys.push(key);
  8149. } else {
  8150. cache[key] = vnode;
  8151. keys.push(key);
  8152. // prune oldest entry
  8153. if (this.max && keys.length > parseInt(this.max)) {
  8154. pruneCacheEntry(cache, keys[0], keys, this._vnode);
  8155. }
  8156. }
  8157. vnode.data.keepAlive = true;
  8158. }
  8159. return vnode || (slot && slot[0])
  8160. }
  8161. };
  8162. var builtInComponents = {
  8163. KeepAlive: KeepAlive
  8164. };
  8165. /* */
  8166. function initGlobalAPI (Vue) {
  8167. // config
  8168. var configDef = {};
  8169. configDef.get = function () { return config; };
  8170. if (true) {
  8171. configDef.set = function () {
  8172. warn(
  8173. 'Do not replace the Vue.config object, set individual fields instead.'
  8174. );
  8175. };
  8176. }
  8177. Object.defineProperty(Vue, 'config', configDef);
  8178. // exposed util methods.
  8179. // NOTE: these are not considered part of the public API - avoid relying on
  8180. // them unless you are aware of the risk.
  8181. Vue.util = {
  8182. warn: warn,
  8183. extend: extend,
  8184. mergeOptions: mergeOptions,
  8185. defineReactive: defineReactive$$1
  8186. };
  8187. Vue.set = set;
  8188. Vue.delete = del;
  8189. Vue.nextTick = nextTick;
  8190. // 2.6 explicit observable API
  8191. Vue.observable = function (obj) {
  8192. observe(obj);
  8193. return obj
  8194. };
  8195. Vue.options = Object.create(null);
  8196. ASSET_TYPES.forEach(function (type) {
  8197. Vue.options[type + 's'] = Object.create(null);
  8198. });
  8199. // this is used to identify the "base" constructor to extend all plain-object
  8200. // components with in Weex's multi-instance scenarios.
  8201. Vue.options._base = Vue;
  8202. extend(Vue.options.components, builtInComponents);
  8203. initUse(Vue);
  8204. initMixin$1(Vue);
  8205. initExtend(Vue);
  8206. initAssetRegisters(Vue);
  8207. }
  8208. initGlobalAPI(Vue);
  8209. Object.defineProperty(Vue.prototype, '$isServer', {
  8210. get: isServerRendering
  8211. });
  8212. Object.defineProperty(Vue.prototype, '$ssrContext', {
  8213. get: function get () {
  8214. /* istanbul ignore next */
  8215. return this.$vnode && this.$vnode.ssrContext
  8216. }
  8217. });
  8218. // expose FunctionalRenderContext for ssr runtime helper installation
  8219. Object.defineProperty(Vue, 'FunctionalRenderContext', {
  8220. value: FunctionalRenderContext
  8221. });
  8222. Vue.version = '2.6.11';
  8223. /**
  8224. * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js
  8225. */
  8226. var ARRAYTYPE = '[object Array]';
  8227. var OBJECTTYPE = '[object Object]';
  8228. var NULLTYPE = '[object Null]';
  8229. var UNDEFINEDTYPE = '[object Undefined]';
  8230. // const FUNCTIONTYPE = '[object Function]'
  8231. function diff(current, pre) {
  8232. var result = {};
  8233. syncKeys(current, pre);
  8234. _diff(current, pre, '', result);
  8235. return result
  8236. }
  8237. function syncKeys(current, pre) {
  8238. if (current === pre) { return }
  8239. var rootCurrentType = type(current);
  8240. var rootPreType = type(pre);
  8241. if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {
  8242. if(Object.keys(current).length >= Object.keys(pre).length){
  8243. for (var key in pre) {
  8244. var currentValue = current[key];
  8245. if (currentValue === undefined) {
  8246. current[key] = null;
  8247. } else {
  8248. syncKeys(currentValue, pre[key]);
  8249. }
  8250. }
  8251. }
  8252. } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {
  8253. if (current.length >= pre.length) {
  8254. pre.forEach(function (item, index) {
  8255. syncKeys(current[index], item);
  8256. });
  8257. }
  8258. }
  8259. }
  8260. function nullOrUndefined(currentType, preType) {
  8261. if(
  8262. (currentType === NULLTYPE || currentType === UNDEFINEDTYPE) &&
  8263. (preType === NULLTYPE || preType === UNDEFINEDTYPE)
  8264. ) {
  8265. return false
  8266. }
  8267. return true
  8268. }
  8269. function _diff(current, pre, path, result) {
  8270. if (current === pre) { return }
  8271. var rootCurrentType = type(current);
  8272. var rootPreType = type(pre);
  8273. if (rootCurrentType == OBJECTTYPE) {
  8274. if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {
  8275. setResult(result, path, current);
  8276. } else {
  8277. var loop = function ( key ) {
  8278. var currentValue = current[key];
  8279. var preValue = pre[key];
  8280. var currentType = type(currentValue);
  8281. var preType = type(preValue);
  8282. if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {
  8283. if (currentValue !== pre[key] && nullOrUndefined(currentType, preType)) {
  8284. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8285. }
  8286. } else if (currentType == ARRAYTYPE) {
  8287. if (preType != ARRAYTYPE) {
  8288. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8289. } else {
  8290. if (currentValue.length < preValue.length) {
  8291. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8292. } else {
  8293. currentValue.forEach(function (item, index) {
  8294. _diff(item, preValue[index], (path == '' ? '' : path + ".") + key + '[' + index + ']', result);
  8295. });
  8296. }
  8297. }
  8298. } else if (currentType == OBJECTTYPE) {
  8299. if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {
  8300. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8301. } else {
  8302. for (var subKey in currentValue) {
  8303. _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + ".") + key + '.' + subKey, result);
  8304. }
  8305. }
  8306. }
  8307. };
  8308. for (var key in current) loop( key );
  8309. }
  8310. } else if (rootCurrentType == ARRAYTYPE) {
  8311. if (rootPreType != ARRAYTYPE) {
  8312. setResult(result, path, current);
  8313. } else {
  8314. if (current.length < pre.length) {
  8315. setResult(result, path, current);
  8316. } else {
  8317. current.forEach(function (item, index) {
  8318. _diff(item, pre[index], path + '[' + index + ']', result);
  8319. });
  8320. }
  8321. }
  8322. } else {
  8323. setResult(result, path, current);
  8324. }
  8325. }
  8326. function setResult(result, k, v) {
  8327. // if (type(v) != FUNCTIONTYPE) {
  8328. result[k] = v;
  8329. // }
  8330. }
  8331. function type(obj) {
  8332. return Object.prototype.toString.call(obj)
  8333. }
  8334. /* */
  8335. function flushCallbacks$1(vm) {
  8336. if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
  8337. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8338. var mpInstance = vm.$scope;
  8339. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8340. ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
  8341. }
  8342. var copies = vm.__next_tick_callbacks.slice(0);
  8343. vm.__next_tick_callbacks.length = 0;
  8344. for (var i = 0; i < copies.length; i++) {
  8345. copies[i]();
  8346. }
  8347. }
  8348. }
  8349. function hasRenderWatcher(vm) {
  8350. return queue.find(function (watcher) { return vm._watcher === watcher; })
  8351. }
  8352. function nextTick$1(vm, cb) {
  8353. //1.nextTick 之前 已 setData 且 setData 还未回调完成
  8354. //2.nextTick 之前存在 render watcher
  8355. if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
  8356. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  8357. var mpInstance = vm.$scope;
  8358. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8359. ']:nextVueTick');
  8360. }
  8361. return nextTick(cb, vm)
  8362. }else{
  8363. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  8364. var mpInstance$1 = vm.$scope;
  8365. console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
  8366. ']:nextMPTick');
  8367. }
  8368. }
  8369. var _resolve;
  8370. if (!vm.__next_tick_callbacks) {
  8371. vm.__next_tick_callbacks = [];
  8372. }
  8373. vm.__next_tick_callbacks.push(function () {
  8374. if (cb) {
  8375. try {
  8376. cb.call(vm);
  8377. } catch (e) {
  8378. handleError(e, vm, 'nextTick');
  8379. }
  8380. } else if (_resolve) {
  8381. _resolve(vm);
  8382. }
  8383. });
  8384. // $flow-disable-line
  8385. if (!cb && typeof Promise !== 'undefined') {
  8386. return new Promise(function (resolve) {
  8387. _resolve = resolve;
  8388. })
  8389. }
  8390. }
  8391. /* */
  8392. function clearInstance(key, value) {
  8393. // 简易去除 Vue 和小程序组件实例
  8394. if (value) {
  8395. if (value._isVue || value.__v_isMPComponent) {
  8396. return {}
  8397. }
  8398. }
  8399. return value
  8400. }
  8401. function cloneWithData(vm) {
  8402. // 确保当前 vm 所有数据被同步
  8403. var ret = Object.create(null);
  8404. var dataKeys = [].concat(
  8405. Object.keys(vm._data || {}),
  8406. Object.keys(vm._computedWatchers || {}));
  8407. dataKeys.reduce(function(ret, key) {
  8408. ret[key] = vm[key];
  8409. return ret
  8410. }, ret);
  8411. // vue-composition-api
  8412. var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
  8413. var rawBindings = compositionApiState && compositionApiState.rawBindings;
  8414. if (rawBindings) {
  8415. Object.keys(rawBindings).forEach(function (key) {
  8416. ret[key] = vm[key];
  8417. });
  8418. }
  8419. //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
  8420. Object.assign(ret, vm.$mp.data || {});
  8421. if (
  8422. Array.isArray(vm.$options.behaviors) &&
  8423. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  8424. ) { //form-field
  8425. ret['name'] = vm.name;
  8426. ret['value'] = vm.value;
  8427. }
  8428. return JSON.parse(JSON.stringify(ret, clearInstance))
  8429. }
  8430. var patch = function(oldVnode, vnode) {
  8431. var this$1 = this;
  8432. if (vnode === null) { //destroy
  8433. return
  8434. }
  8435. if (this.mpType === 'page' || this.mpType === 'component') {
  8436. var mpInstance = this.$scope;
  8437. var data = Object.create(null);
  8438. try {
  8439. data = cloneWithData(this);
  8440. } catch (err) {
  8441. console.error(err);
  8442. }
  8443. data.__webviewId__ = mpInstance.data.__webviewId__;
  8444. var mpData = Object.create(null);
  8445. Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据
  8446. mpData[key] = mpInstance.data[key];
  8447. });
  8448. var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
  8449. if (Object.keys(diffData).length) {
  8450. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8451. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
  8452. ']差量更新',
  8453. JSON.stringify(diffData));
  8454. }
  8455. this.__next_tick_pending = true;
  8456. mpInstance.setData(diffData, function () {
  8457. this$1.__next_tick_pending = false;
  8458. flushCallbacks$1(this$1);
  8459. });
  8460. } else {
  8461. flushCallbacks$1(this);
  8462. }
  8463. }
  8464. };
  8465. /* */
  8466. function createEmptyRender() {
  8467. }
  8468. function mountComponent$1(
  8469. vm,
  8470. el,
  8471. hydrating
  8472. ) {
  8473. if (!vm.mpType) {//main.js 中的 new Vue
  8474. return vm
  8475. }
  8476. if (vm.mpType === 'app') {
  8477. vm.$options.render = createEmptyRender;
  8478. }
  8479. if (!vm.$options.render) {
  8480. vm.$options.render = createEmptyRender;
  8481. if (true) {
  8482. /* istanbul ignore if */
  8483. if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
  8484. vm.$options.el || el) {
  8485. warn(
  8486. 'You are using the runtime-only build of Vue where the template ' +
  8487. 'compiler is not available. Either pre-compile the templates into ' +
  8488. 'render functions, or use the compiler-included build.',
  8489. vm
  8490. );
  8491. } else {
  8492. warn(
  8493. 'Failed to mount component: template or render function not defined.',
  8494. vm
  8495. );
  8496. }
  8497. }
  8498. }
  8499. !vm._$fallback && callHook(vm, 'beforeMount');
  8500. var updateComponent = function () {
  8501. vm._update(vm._render(), hydrating);
  8502. };
  8503. // we set this to vm._watcher inside the watcher's constructor
  8504. // since the watcher's initial patch may call $forceUpdate (e.g. inside child
  8505. // component's mounted hook), which relies on vm._watcher being already defined
  8506. new Watcher(vm, updateComponent, noop, {
  8507. before: function before() {
  8508. if (vm._isMounted && !vm._isDestroyed) {
  8509. callHook(vm, 'beforeUpdate');
  8510. }
  8511. }
  8512. }, true /* isRenderWatcher */);
  8513. hydrating = false;
  8514. return vm
  8515. }
  8516. /* */
  8517. function renderClass (
  8518. staticClass,
  8519. dynamicClass
  8520. ) {
  8521. if (isDef(staticClass) || isDef(dynamicClass)) {
  8522. return concat(staticClass, stringifyClass(dynamicClass))
  8523. }
  8524. /* istanbul ignore next */
  8525. return ''
  8526. }
  8527. function concat (a, b) {
  8528. return a ? b ? (a + ' ' + b) : a : (b || '')
  8529. }
  8530. function stringifyClass (value) {
  8531. if (Array.isArray(value)) {
  8532. return stringifyArray(value)
  8533. }
  8534. if (isObject(value)) {
  8535. return stringifyObject(value)
  8536. }
  8537. if (typeof value === 'string') {
  8538. return value
  8539. }
  8540. /* istanbul ignore next */
  8541. return ''
  8542. }
  8543. function stringifyArray (value) {
  8544. var res = '';
  8545. var stringified;
  8546. for (var i = 0, l = value.length; i < l; i++) {
  8547. if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
  8548. if (res) { res += ' '; }
  8549. res += stringified;
  8550. }
  8551. }
  8552. return res
  8553. }
  8554. function stringifyObject (value) {
  8555. var res = '';
  8556. for (var key in value) {
  8557. if (value[key]) {
  8558. if (res) { res += ' '; }
  8559. res += key;
  8560. }
  8561. }
  8562. return res
  8563. }
  8564. /* */
  8565. var parseStyleText = cached(function (cssText) {
  8566. var res = {};
  8567. var listDelimiter = /;(?![^(]*\))/g;
  8568. var propertyDelimiter = /:(.+)/;
  8569. cssText.split(listDelimiter).forEach(function (item) {
  8570. if (item) {
  8571. var tmp = item.split(propertyDelimiter);
  8572. tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
  8573. }
  8574. });
  8575. return res
  8576. });
  8577. // normalize possible array / string values into Object
  8578. function normalizeStyleBinding (bindingStyle) {
  8579. if (Array.isArray(bindingStyle)) {
  8580. return toObject(bindingStyle)
  8581. }
  8582. if (typeof bindingStyle === 'string') {
  8583. return parseStyleText(bindingStyle)
  8584. }
  8585. return bindingStyle
  8586. }
  8587. /* */
  8588. var MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];
  8589. function getTarget(obj, path) {
  8590. var parts = path.split('.');
  8591. var key = parts[0];
  8592. if (key.indexOf('__$n') === 0) { //number index
  8593. key = parseInt(key.replace('__$n', ''));
  8594. }
  8595. if (parts.length === 1) {
  8596. return obj[key]
  8597. }
  8598. return getTarget(obj[key], parts.slice(1).join('.'))
  8599. }
  8600. function internalMixin(Vue) {
  8601. Vue.config.errorHandler = function(err, vm, info) {
  8602. Vue.util.warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  8603. console.error(err);
  8604. /* eslint-disable no-undef */
  8605. var app = typeof getApp === 'function' && getApp();
  8606. if (app && app.onError) {
  8607. app.onError(err);
  8608. }
  8609. };
  8610. var oldEmit = Vue.prototype.$emit;
  8611. Vue.prototype.$emit = function(event) {
  8612. if (this.$scope && event) {
  8613. var triggerEvent = this.$scope['_triggerEvent'] || this.$scope['triggerEvent'];
  8614. if (triggerEvent) {
  8615. try {
  8616. triggerEvent.call(this.$scope, event, {
  8617. __args__: toArray(arguments, 1)
  8618. });
  8619. } catch (error) {
  8620. }
  8621. }
  8622. }
  8623. return oldEmit.apply(this, arguments)
  8624. };
  8625. Vue.prototype.$nextTick = function(fn) {
  8626. return nextTick$1(this, fn)
  8627. };
  8628. MP_METHODS.forEach(function (method) {
  8629. Vue.prototype[method] = function(args) {
  8630. if (this.$scope && this.$scope[method]) {
  8631. return this.$scope[method](args)
  8632. }
  8633. // mp-alipay
  8634. if (typeof my === 'undefined') {
  8635. return
  8636. }
  8637. if (method === 'createSelectorQuery') {
  8638. /* eslint-disable no-undef */
  8639. return my.createSelectorQuery(args)
  8640. } else if (method === 'createIntersectionObserver') {
  8641. /* eslint-disable no-undef */
  8642. return my.createIntersectionObserver(args)
  8643. }
  8644. // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent
  8645. };
  8646. });
  8647. Vue.prototype.__init_provide = initProvide;
  8648. Vue.prototype.__init_injections = initInjections;
  8649. Vue.prototype.__call_hook = function(hook, args) {
  8650. var vm = this;
  8651. // #7573 disable dep collection when invoking lifecycle hooks
  8652. pushTarget();
  8653. var handlers = vm.$options[hook];
  8654. var info = hook + " hook";
  8655. var ret;
  8656. if (handlers) {
  8657. for (var i = 0, j = handlers.length; i < j; i++) {
  8658. ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);
  8659. }
  8660. }
  8661. if (vm._hasHookEvent) {
  8662. vm.$emit('hook:' + hook, args);
  8663. }
  8664. popTarget();
  8665. return ret
  8666. };
  8667. Vue.prototype.__set_model = function(target, key, value, modifiers) {
  8668. if (Array.isArray(modifiers)) {
  8669. if (modifiers.indexOf('trim') !== -1) {
  8670. value = value.trim();
  8671. }
  8672. if (modifiers.indexOf('number') !== -1) {
  8673. value = this._n(value);
  8674. }
  8675. }
  8676. if (!target) {
  8677. target = this;
  8678. }
  8679. // 解决动态属性添加
  8680. Vue.set(target, key, value);
  8681. };
  8682. Vue.prototype.__set_sync = function(target, key, value) {
  8683. if (!target) {
  8684. target = this;
  8685. }
  8686. // 解决动态属性添加
  8687. Vue.set(target, key, value);
  8688. };
  8689. Vue.prototype.__get_orig = function(item) {
  8690. if (isPlainObject(item)) {
  8691. return item['$orig'] || item
  8692. }
  8693. return item
  8694. };
  8695. Vue.prototype.__get_value = function(dataPath, target) {
  8696. return getTarget(target || this, dataPath)
  8697. };
  8698. Vue.prototype.__get_class = function(dynamicClass, staticClass) {
  8699. return renderClass(staticClass, dynamicClass)
  8700. };
  8701. Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {
  8702. if (!dynamicStyle && !staticStyle) {
  8703. return ''
  8704. }
  8705. var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);
  8706. var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;
  8707. return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + ":" + (styleObj[name])); }).join(';')
  8708. };
  8709. Vue.prototype.__map = function(val, iteratee) {
  8710. //TODO 暂不考虑 string
  8711. var ret, i, l, keys, key;
  8712. if (Array.isArray(val)) {
  8713. ret = new Array(val.length);
  8714. for (i = 0, l = val.length; i < l; i++) {
  8715. ret[i] = iteratee(val[i], i);
  8716. }
  8717. return ret
  8718. } else if (isObject(val)) {
  8719. keys = Object.keys(val);
  8720. ret = Object.create(null);
  8721. for (i = 0, l = keys.length; i < l; i++) {
  8722. key = keys[i];
  8723. ret[key] = iteratee(val[key], key, i);
  8724. }
  8725. return ret
  8726. } else if (typeof val === 'number') {
  8727. ret = new Array(val);
  8728. for (i = 0, l = val; i < l; i++) {
  8729. // 第一个参数暂时仍和小程序一致
  8730. ret[i] = iteratee(i, i);
  8731. }
  8732. return ret
  8733. }
  8734. return []
  8735. };
  8736. }
  8737. /* */
  8738. var LIFECYCLE_HOOKS$1 = [
  8739. //App
  8740. 'onLaunch',
  8741. 'onShow',
  8742. 'onHide',
  8743. 'onUniNViewMessage',
  8744. 'onPageNotFound',
  8745. 'onThemeChange',
  8746. 'onError',
  8747. 'onUnhandledRejection',
  8748. //Page
  8749. 'onInit',
  8750. 'onLoad',
  8751. // 'onShow',
  8752. 'onReady',
  8753. // 'onHide',
  8754. 'onUnload',
  8755. 'onPullDownRefresh',
  8756. 'onReachBottom',
  8757. 'onTabItemTap',
  8758. 'onAddToFavorites',
  8759. 'onShareTimeline',
  8760. 'onShareAppMessage',
  8761. 'onResize',
  8762. 'onPageScroll',
  8763. 'onNavigationBarButtonTap',
  8764. 'onBackPress',
  8765. 'onNavigationBarSearchInputChanged',
  8766. 'onNavigationBarSearchInputConfirmed',
  8767. 'onNavigationBarSearchInputClicked',
  8768. 'onUploadDouyinVideo',
  8769. 'onNFCReadMessage',
  8770. //Component
  8771. // 'onReady', // 兼容旧版本,应该移除该事件
  8772. 'onPageShow',
  8773. 'onPageHide',
  8774. 'onPageResize'
  8775. ];
  8776. function lifecycleMixin$1(Vue) {
  8777. //fixed vue-class-component
  8778. var oldExtend = Vue.extend;
  8779. Vue.extend = function(extendOptions) {
  8780. extendOptions = extendOptions || {};
  8781. var methods = extendOptions.methods;
  8782. if (methods) {
  8783. Object.keys(methods).forEach(function (methodName) {
  8784. if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {
  8785. extendOptions[methodName] = methods[methodName];
  8786. delete methods[methodName];
  8787. }
  8788. });
  8789. }
  8790. return oldExtend.call(this, extendOptions)
  8791. };
  8792. var strategies = Vue.config.optionMergeStrategies;
  8793. var mergeHook = strategies.created;
  8794. LIFECYCLE_HOOKS$1.forEach(function (hook) {
  8795. strategies[hook] = mergeHook;
  8796. });
  8797. Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;
  8798. }
  8799. /* */
  8800. // install platform patch function
  8801. Vue.prototype.__patch__ = patch;
  8802. // public mount method
  8803. Vue.prototype.$mount = function(
  8804. el ,
  8805. hydrating
  8806. ) {
  8807. return mountComponent$1(this, el, hydrating)
  8808. };
  8809. lifecycleMixin$1(Vue);
  8810. internalMixin(Vue);
  8811. /* */
  8812. /* harmony default export */ __webpack_exports__["default"] = (Vue);
  8813. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  8814. /***/ }),
  8815. /* 26 */
  8816. /*!*****************************************************************************************************************!*\
  8817. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/pages.json ***!
  8818. \*****************************************************************************************************************/
  8819. /*! no static exports found */
  8820. /***/ (function(module, exports) {
  8821. /***/ }),
  8822. /* 27 */,
  8823. /* 28 */,
  8824. /* 29 */,
  8825. /* 30 */
  8826. /*!**************************************************************************************************************************!*\
  8827. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/permission.js ***!
  8828. \**************************************************************************************************************************/
  8829. /*! no static exports found */
  8830. /***/ (function(module, exports, __webpack_require__) {
  8831. "use strict";
  8832. /* WEBPACK VAR INJECTION */(function(uni) {
  8833. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  8834. Object.defineProperty(exports, "__esModule", {
  8835. value: true
  8836. });
  8837. exports.default = _default;
  8838. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  8839. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  8840. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  8841. var _auth = __webpack_require__(/*! @/utils/auth */ 34);
  8842. // 白名单
  8843. var whiteList = ['/',
  8844. // 注意入口页必须直接写 '/'
  8845. {
  8846. pattern: /^\/pages\/list.*/
  8847. },
  8848. // 支持正则表达式
  8849. '/pages/home/home', '/pages/logo/index', '/pages/login/login', '/pages/notice/notice', {
  8850. pattern: /^\/pages\/visitor\/*/
  8851. }, {
  8852. pattern: /^\/pages\/login\/*/
  8853. }];
  8854. function _default() {
  8855. return _ref.apply(this, arguments);
  8856. }
  8857. function _ref() {
  8858. _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  8859. var list;
  8860. return _regenerator.default.wrap(function _callee$(_context) {
  8861. while (1) {
  8862. switch (_context.prev = _context.next) {
  8863. case 0:
  8864. list = ['navigateTo', 'redirectTo', 'reLaunch', 'switchTab']; // 用遍历的方式分别为,uni.navigateTo,uni.redirectTo,uni.reLaunch,uni.switchTab这4个路由方法添加拦截器
  8865. list.forEach(function (item) {
  8866. uni.addInterceptor(item, {
  8867. invoke: function invoke(e) {
  8868. // 获取要跳转的页面路径(url去掉"?"和"?"后的参数)
  8869. var url = e.url.split('?')[0];
  8870. // console.log('url', url)
  8871. // 判断当前窗口是白名单,如果是则不重定向路由
  8872. var pass;
  8873. if (whiteList) {
  8874. pass = whiteList.some(function (item) {
  8875. if ((0, _typeof2.default)(item) === 'object' && item.pattern) {
  8876. return item.pattern.test(url);
  8877. }
  8878. return url === item;
  8879. });
  8880. }
  8881. // 不是白名单并且没有token
  8882. if (!pass && !(0, _auth.getToken)()) {
  8883. uni.showToast({
  8884. title: '请先登录',
  8885. icon: 'error'
  8886. });
  8887. setTimeout(function () {
  8888. uni.navigateTo({
  8889. url: "/pages/logo/index"
  8890. });
  8891. }, 1000);
  8892. return false;
  8893. }
  8894. return e;
  8895. },
  8896. fail: function fail(err) {
  8897. // 失败回调拦截
  8898. console.log(err);
  8899. }
  8900. });
  8901. });
  8902. case 2:
  8903. case "end":
  8904. return _context.stop();
  8905. }
  8906. }
  8907. }, _callee);
  8908. }));
  8909. return _ref.apply(this, arguments);
  8910. }
  8911. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  8912. /***/ }),
  8913. /* 31 */
  8914. /*!************************************************************************************************!*\
  8915. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/@babel/runtime/regenerator/index.js ***!
  8916. \************************************************************************************************/
  8917. /*! no static exports found */
  8918. /***/ (function(module, exports, __webpack_require__) {
  8919. // TODO(Babel 8): Remove this file.
  8920. var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 32)();
  8921. module.exports = runtime;
  8922. /***/ }),
  8923. /* 32 */
  8924. /*!*******************************************************************!*\
  8925. !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
  8926. \*******************************************************************/
  8927. /*! no static exports found */
  8928. /***/ (function(module, exports, __webpack_require__) {
  8929. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  8930. function _regeneratorRuntime() {
  8931. "use strict";
  8932. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  8933. module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
  8934. return exports;
  8935. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  8936. var exports = {},
  8937. Op = Object.prototype,
  8938. hasOwn = Op.hasOwnProperty,
  8939. defineProperty = Object.defineProperty || function (obj, key, desc) {
  8940. obj[key] = desc.value;
  8941. },
  8942. $Symbol = "function" == typeof Symbol ? Symbol : {},
  8943. iteratorSymbol = $Symbol.iterator || "@@iterator",
  8944. asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
  8945. toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
  8946. function define(obj, key, value) {
  8947. return Object.defineProperty(obj, key, {
  8948. value: value,
  8949. enumerable: !0,
  8950. configurable: !0,
  8951. writable: !0
  8952. }), obj[key];
  8953. }
  8954. try {
  8955. define({}, "");
  8956. } catch (err) {
  8957. define = function define(obj, key, value) {
  8958. return obj[key] = value;
  8959. };
  8960. }
  8961. function wrap(innerFn, outerFn, self, tryLocsList) {
  8962. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
  8963. generator = Object.create(protoGenerator.prototype),
  8964. context = new Context(tryLocsList || []);
  8965. return defineProperty(generator, "_invoke", {
  8966. value: makeInvokeMethod(innerFn, self, context)
  8967. }), generator;
  8968. }
  8969. function tryCatch(fn, obj, arg) {
  8970. try {
  8971. return {
  8972. type: "normal",
  8973. arg: fn.call(obj, arg)
  8974. };
  8975. } catch (err) {
  8976. return {
  8977. type: "throw",
  8978. arg: err
  8979. };
  8980. }
  8981. }
  8982. exports.wrap = wrap;
  8983. var ContinueSentinel = {};
  8984. function Generator() {}
  8985. function GeneratorFunction() {}
  8986. function GeneratorFunctionPrototype() {}
  8987. var IteratorPrototype = {};
  8988. define(IteratorPrototype, iteratorSymbol, function () {
  8989. return this;
  8990. });
  8991. var getProto = Object.getPrototypeOf,
  8992. NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  8993. NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
  8994. var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
  8995. function defineIteratorMethods(prototype) {
  8996. ["next", "throw", "return"].forEach(function (method) {
  8997. define(prototype, method, function (arg) {
  8998. return this._invoke(method, arg);
  8999. });
  9000. });
  9001. }
  9002. function AsyncIterator(generator, PromiseImpl) {
  9003. function invoke(method, arg, resolve, reject) {
  9004. var record = tryCatch(generator[method], generator, arg);
  9005. if ("throw" !== record.type) {
  9006. var result = record.arg,
  9007. value = result.value;
  9008. return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
  9009. invoke("next", value, resolve, reject);
  9010. }, function (err) {
  9011. invoke("throw", err, resolve, reject);
  9012. }) : PromiseImpl.resolve(value).then(function (unwrapped) {
  9013. result.value = unwrapped, resolve(result);
  9014. }, function (error) {
  9015. return invoke("throw", error, resolve, reject);
  9016. });
  9017. }
  9018. reject(record.arg);
  9019. }
  9020. var previousPromise;
  9021. defineProperty(this, "_invoke", {
  9022. value: function value(method, arg) {
  9023. function callInvokeWithMethodAndArg() {
  9024. return new PromiseImpl(function (resolve, reject) {
  9025. invoke(method, arg, resolve, reject);
  9026. });
  9027. }
  9028. return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
  9029. }
  9030. });
  9031. }
  9032. function makeInvokeMethod(innerFn, self, context) {
  9033. var state = "suspendedStart";
  9034. return function (method, arg) {
  9035. if ("executing" === state) throw new Error("Generator is already running");
  9036. if ("completed" === state) {
  9037. if ("throw" === method) throw arg;
  9038. return doneResult();
  9039. }
  9040. for (context.method = method, context.arg = arg;;) {
  9041. var delegate = context.delegate;
  9042. if (delegate) {
  9043. var delegateResult = maybeInvokeDelegate(delegate, context);
  9044. if (delegateResult) {
  9045. if (delegateResult === ContinueSentinel) continue;
  9046. return delegateResult;
  9047. }
  9048. }
  9049. if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
  9050. if ("suspendedStart" === state) throw state = "completed", context.arg;
  9051. context.dispatchException(context.arg);
  9052. } else "return" === context.method && context.abrupt("return", context.arg);
  9053. state = "executing";
  9054. var record = tryCatch(innerFn, self, context);
  9055. if ("normal" === record.type) {
  9056. if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
  9057. return {
  9058. value: record.arg,
  9059. done: context.done
  9060. };
  9061. }
  9062. "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
  9063. }
  9064. };
  9065. }
  9066. function maybeInvokeDelegate(delegate, context) {
  9067. var methodName = context.method,
  9068. method = delegate.iterator[methodName];
  9069. 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;
  9070. var record = tryCatch(method, delegate.iterator, context.arg);
  9071. if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
  9072. var info = record.arg;
  9073. 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);
  9074. }
  9075. function pushTryEntry(locs) {
  9076. var entry = {
  9077. tryLoc: locs[0]
  9078. };
  9079. 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
  9080. }
  9081. function resetTryEntry(entry) {
  9082. var record = entry.completion || {};
  9083. record.type = "normal", delete record.arg, entry.completion = record;
  9084. }
  9085. function Context(tryLocsList) {
  9086. this.tryEntries = [{
  9087. tryLoc: "root"
  9088. }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
  9089. }
  9090. function values(iterable) {
  9091. if (iterable) {
  9092. var iteratorMethod = iterable[iteratorSymbol];
  9093. if (iteratorMethod) return iteratorMethod.call(iterable);
  9094. if ("function" == typeof iterable.next) return iterable;
  9095. if (!isNaN(iterable.length)) {
  9096. var i = -1,
  9097. next = function next() {
  9098. for (; ++i < iterable.length;) {
  9099. if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
  9100. }
  9101. return next.value = undefined, next.done = !0, next;
  9102. };
  9103. return next.next = next;
  9104. }
  9105. }
  9106. return {
  9107. next: doneResult
  9108. };
  9109. }
  9110. function doneResult() {
  9111. return {
  9112. value: undefined,
  9113. done: !0
  9114. };
  9115. }
  9116. return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
  9117. value: GeneratorFunctionPrototype,
  9118. configurable: !0
  9119. }), defineProperty(GeneratorFunctionPrototype, "constructor", {
  9120. value: GeneratorFunction,
  9121. configurable: !0
  9122. }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
  9123. var ctor = "function" == typeof genFun && genFun.constructor;
  9124. return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
  9125. }, exports.mark = function (genFun) {
  9126. return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
  9127. }, exports.awrap = function (arg) {
  9128. return {
  9129. __await: arg
  9130. };
  9131. }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
  9132. return this;
  9133. }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
  9134. void 0 === PromiseImpl && (PromiseImpl = Promise);
  9135. var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
  9136. return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
  9137. return result.done ? result.value : iter.next();
  9138. });
  9139. }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
  9140. return this;
  9141. }), define(Gp, "toString", function () {
  9142. return "[object Generator]";
  9143. }), exports.keys = function (val) {
  9144. var object = Object(val),
  9145. keys = [];
  9146. for (var key in object) {
  9147. keys.push(key);
  9148. }
  9149. return keys.reverse(), function next() {
  9150. for (; keys.length;) {
  9151. var key = keys.pop();
  9152. if (key in object) return next.value = key, next.done = !1, next;
  9153. }
  9154. return next.done = !0, next;
  9155. };
  9156. }, exports.values = values, Context.prototype = {
  9157. constructor: Context,
  9158. reset: function reset(skipTempReset) {
  9159. 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) {
  9160. "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
  9161. }
  9162. },
  9163. stop: function stop() {
  9164. this.done = !0;
  9165. var rootRecord = this.tryEntries[0].completion;
  9166. if ("throw" === rootRecord.type) throw rootRecord.arg;
  9167. return this.rval;
  9168. },
  9169. dispatchException: function dispatchException(exception) {
  9170. if (this.done) throw exception;
  9171. var context = this;
  9172. function handle(loc, caught) {
  9173. return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
  9174. }
  9175. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9176. var entry = this.tryEntries[i],
  9177. record = entry.completion;
  9178. if ("root" === entry.tryLoc) return handle("end");
  9179. if (entry.tryLoc <= this.prev) {
  9180. var hasCatch = hasOwn.call(entry, "catchLoc"),
  9181. hasFinally = hasOwn.call(entry, "finallyLoc");
  9182. if (hasCatch && hasFinally) {
  9183. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  9184. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  9185. } else if (hasCatch) {
  9186. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  9187. } else {
  9188. if (!hasFinally) throw new Error("try statement without catch or finally");
  9189. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  9190. }
  9191. }
  9192. }
  9193. },
  9194. abrupt: function abrupt(type, arg) {
  9195. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9196. var entry = this.tryEntries[i];
  9197. if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
  9198. var finallyEntry = entry;
  9199. break;
  9200. }
  9201. }
  9202. finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
  9203. var record = finallyEntry ? finallyEntry.completion : {};
  9204. return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
  9205. },
  9206. complete: function complete(record, afterLoc) {
  9207. if ("throw" === record.type) throw record.arg;
  9208. 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;
  9209. },
  9210. finish: function finish(finallyLoc) {
  9211. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9212. var entry = this.tryEntries[i];
  9213. if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
  9214. }
  9215. },
  9216. "catch": function _catch(tryLoc) {
  9217. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9218. var entry = this.tryEntries[i];
  9219. if (entry.tryLoc === tryLoc) {
  9220. var record = entry.completion;
  9221. if ("throw" === record.type) {
  9222. var thrown = record.arg;
  9223. resetTryEntry(entry);
  9224. }
  9225. return thrown;
  9226. }
  9227. }
  9228. throw new Error("illegal catch attempt");
  9229. },
  9230. delegateYield: function delegateYield(iterable, resultName, nextLoc) {
  9231. return this.delegate = {
  9232. iterator: values(iterable),
  9233. resultName: resultName,
  9234. nextLoc: nextLoc
  9235. }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
  9236. }
  9237. }, exports;
  9238. }
  9239. module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9240. /***/ }),
  9241. /* 33 */
  9242. /*!*****************************************************************!*\
  9243. !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
  9244. \*****************************************************************/
  9245. /*! no static exports found */
  9246. /***/ (function(module, exports) {
  9247. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  9248. try {
  9249. var info = gen[key](arg);
  9250. var value = info.value;
  9251. } catch (error) {
  9252. reject(error);
  9253. return;
  9254. }
  9255. if (info.done) {
  9256. resolve(value);
  9257. } else {
  9258. Promise.resolve(value).then(_next, _throw);
  9259. }
  9260. }
  9261. function _asyncToGenerator(fn) {
  9262. return function () {
  9263. var self = this,
  9264. args = arguments;
  9265. return new Promise(function (resolve, reject) {
  9266. var gen = fn.apply(self, args);
  9267. function _next(value) {
  9268. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  9269. }
  9270. function _throw(err) {
  9271. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  9272. }
  9273. _next(undefined);
  9274. });
  9275. };
  9276. }
  9277. module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9278. /***/ }),
  9279. /* 34 */
  9280. /*!********************************************************************************************************************!*\
  9281. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/auth.js ***!
  9282. \********************************************************************************************************************/
  9283. /*! no static exports found */
  9284. /***/ (function(module, exports, __webpack_require__) {
  9285. "use strict";
  9286. /* WEBPACK VAR INJECTION */(function(uni) {
  9287. Object.defineProperty(exports, "__esModule", {
  9288. value: true
  9289. });
  9290. exports.getToken = getToken;
  9291. exports.removeToken = removeToken;
  9292. exports.setToken = setToken;
  9293. var TokenKey = 'Admin-Token';
  9294. function getToken() {
  9295. return uni.getStorageSync(TokenKey);
  9296. }
  9297. function setToken(token) {
  9298. return uni.setStorageSync(TokenKey, token);
  9299. }
  9300. function removeToken() {
  9301. return uni.removeStorageSync(TokenKey);
  9302. }
  9303. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9304. /***/ }),
  9305. /* 35 */,
  9306. /* 36 */,
  9307. /* 37 */
  9308. /*!**********************************************************************************************************!*\
  9309. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
  9310. \**********************************************************************************************************/
  9311. /*! exports provided: default */
  9312. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9313. "use strict";
  9314. __webpack_require__.r(__webpack_exports__);
  9315. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
  9316. /* globals __VUE_SSR_CONTEXT__ */
  9317. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  9318. // This module is a runtime utility for cleaner component module output and will
  9319. // be included in the final webpack user bundle.
  9320. function normalizeComponent (
  9321. scriptExports,
  9322. render,
  9323. staticRenderFns,
  9324. functionalTemplate,
  9325. injectStyles,
  9326. scopeId,
  9327. moduleIdentifier, /* server only */
  9328. shadowMode, /* vue-cli only */
  9329. components, // fixed by xxxxxx auto components
  9330. renderjs // fixed by xxxxxx renderjs
  9331. ) {
  9332. // Vue.extend constructor export interop
  9333. var options = typeof scriptExports === 'function'
  9334. ? scriptExports.options
  9335. : scriptExports
  9336. // fixed by xxxxxx auto components
  9337. if (components) {
  9338. if (!options.components) {
  9339. options.components = {}
  9340. }
  9341. var hasOwn = Object.prototype.hasOwnProperty
  9342. for (var name in components) {
  9343. if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {
  9344. options.components[name] = components[name]
  9345. }
  9346. }
  9347. }
  9348. // fixed by xxxxxx renderjs
  9349. if (renderjs) {
  9350. if(typeof renderjs.beforeCreate === 'function'){
  9351. renderjs.beforeCreate = [renderjs.beforeCreate]
  9352. }
  9353. (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {
  9354. this[renderjs.__module] = this
  9355. });
  9356. (options.mixins || (options.mixins = [])).push(renderjs)
  9357. }
  9358. // render functions
  9359. if (render) {
  9360. options.render = render
  9361. options.staticRenderFns = staticRenderFns
  9362. options._compiled = true
  9363. }
  9364. // functional template
  9365. if (functionalTemplate) {
  9366. options.functional = true
  9367. }
  9368. // scopedId
  9369. if (scopeId) {
  9370. options._scopeId = 'data-v-' + scopeId
  9371. }
  9372. var hook
  9373. if (moduleIdentifier) { // server build
  9374. hook = function (context) {
  9375. // 2.3 injection
  9376. context =
  9377. context || // cached call
  9378. (this.$vnode && this.$vnode.ssrContext) || // stateful
  9379. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  9380. // 2.2 with runInNewContext: true
  9381. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  9382. context = __VUE_SSR_CONTEXT__
  9383. }
  9384. // inject component styles
  9385. if (injectStyles) {
  9386. injectStyles.call(this, context)
  9387. }
  9388. // register component module identifier for async chunk inferrence
  9389. if (context && context._registeredComponents) {
  9390. context._registeredComponents.add(moduleIdentifier)
  9391. }
  9392. }
  9393. // used by ssr in case component is cached and beforeCreate
  9394. // never gets called
  9395. options._ssrRegister = hook
  9396. } else if (injectStyles) {
  9397. hook = shadowMode
  9398. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  9399. : injectStyles
  9400. }
  9401. if (hook) {
  9402. if (options.functional) {
  9403. // for template-only hot-reload because in that case the render fn doesn't
  9404. // go through the normalizer
  9405. options._injectStyles = hook
  9406. // register for functioal component in vue file
  9407. var originalRender = options.render
  9408. options.render = function renderWithStyleInjection (h, context) {
  9409. hook.call(context)
  9410. return originalRender(h, context)
  9411. }
  9412. } else {
  9413. // inject component registration as beforeCreate hook
  9414. var existing = options.beforeCreate
  9415. options.beforeCreate = existing
  9416. ? [].concat(existing, hook)
  9417. : [hook]
  9418. }
  9419. }
  9420. return {
  9421. exports: scriptExports,
  9422. options: options
  9423. }
  9424. }
  9425. /***/ }),
  9426. /* 38 */
  9427. /*!*************************************************************************************************************************************!*\
  9428. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/index.js ***!
  9429. \*************************************************************************************************************************************/
  9430. /*! no static exports found */
  9431. /***/ (function(module, exports, __webpack_require__) {
  9432. "use strict";
  9433. /* WEBPACK VAR INJECTION */(function(uni) {
  9434. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9435. Object.defineProperty(exports, "__esModule", {
  9436. value: true
  9437. });
  9438. exports.default = void 0;
  9439. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9440. var _mixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mixin.js */ 39));
  9441. var _mpMixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mpMixin.js */ 40));
  9442. var _luchRequest = _interopRequireDefault(__webpack_require__(/*! ./libs/luch-request */ 41));
  9443. var _route = _interopRequireDefault(__webpack_require__(/*! ./libs/util/route.js */ 59));
  9444. var _colorGradient = _interopRequireDefault(__webpack_require__(/*! ./libs/function/colorGradient.js */ 60));
  9445. var _test = _interopRequireDefault(__webpack_require__(/*! ./libs/function/test.js */ 61));
  9446. var _debounce = _interopRequireDefault(__webpack_require__(/*! ./libs/function/debounce.js */ 62));
  9447. var _throttle = _interopRequireDefault(__webpack_require__(/*! ./libs/function/throttle.js */ 63));
  9448. var _index = _interopRequireDefault(__webpack_require__(/*! ./libs/function/index.js */ 64));
  9449. var _config = _interopRequireDefault(__webpack_require__(/*! ./libs/config/config.js */ 67));
  9450. var _props = _interopRequireDefault(__webpack_require__(/*! ./libs/config/props.js */ 68));
  9451. var _zIndex = _interopRequireDefault(__webpack_require__(/*! ./libs/config/zIndex.js */ 158));
  9452. var _color = _interopRequireDefault(__webpack_require__(/*! ./libs/config/color.js */ 116));
  9453. var _platform = _interopRequireDefault(__webpack_require__(/*! ./libs/function/platform */ 159));
  9454. 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; }
  9455. 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; }
  9456. // 看到此报错,是因为没有配置vue.config.js的【transpileDependencies】,详见:https://www.uviewui.com/components/npmSetting.html#_5-cli模式额外配置
  9457. var pleaseSetTranspileDependencies = {},
  9458. babelTest = pleaseSetTranspileDependencies === null || pleaseSetTranspileDependencies === void 0 ? void 0 : pleaseSetTranspileDependencies.test;
  9459. // 引入全局mixin
  9460. var $u = _objectSpread(_objectSpread({
  9461. route: _route.default,
  9462. date: _index.default.timeFormat,
  9463. // 另名date
  9464. colorGradient: _colorGradient.default.colorGradient,
  9465. hexToRgb: _colorGradient.default.hexToRgb,
  9466. rgbToHex: _colorGradient.default.rgbToHex,
  9467. colorToRgba: _colorGradient.default.colorToRgba,
  9468. test: _test.default,
  9469. type: ['primary', 'success', 'error', 'warning', 'info'],
  9470. http: new _luchRequest.default(),
  9471. config: _config.default,
  9472. // uView配置信息相关,比如版本号
  9473. zIndex: _zIndex.default,
  9474. debounce: _debounce.default,
  9475. throttle: _throttle.default,
  9476. mixin: _mixin.default,
  9477. mpMixin: _mpMixin.default,
  9478. props: _props.default
  9479. }, _index.default), {}, {
  9480. color: _color.default,
  9481. platform: _platform.default
  9482. });
  9483. // $u挂载到uni对象上
  9484. uni.$u = $u;
  9485. var install = function install(Vue) {
  9486. // 时间格式化,同时两个名称,date和timeFormat
  9487. Vue.filter('timeFormat', function (timestamp, format) {
  9488. return uni.$u.timeFormat(timestamp, format);
  9489. });
  9490. Vue.filter('date', function (timestamp, format) {
  9491. return uni.$u.timeFormat(timestamp, format);
  9492. });
  9493. // 将多久以前的方法,注入到全局过滤器
  9494. Vue.filter('timeFrom', function (timestamp, format) {
  9495. return uni.$u.timeFrom(timestamp, format);
  9496. });
  9497. // 同时挂载到uni和Vue.prototype中
  9498. // 只有vue,挂载到Vue.prototype才有意义,因为nvue中全局Vue.prototype和Vue.mixin是无效的
  9499. Vue.prototype.$u = $u;
  9500. Vue.mixin(_mixin.default);
  9501. };
  9502. var _default = {
  9503. install: install
  9504. };
  9505. exports.default = _default;
  9506. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9507. /***/ }),
  9508. /* 39 */
  9509. /*!************************************************************************************************************************************************!*\
  9510. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/mixin.js ***!
  9511. \************************************************************************************************************************************************/
  9512. /*! no static exports found */
  9513. /***/ (function(module, exports, __webpack_require__) {
  9514. /* WEBPACK VAR INJECTION */(function(uni) {module.exports = {
  9515. // 定义每个组件都可能需要用到的外部样式以及类名
  9516. props: {
  9517. // 每个组件都有的父组件传递的样式,可以为字符串或者对象形式
  9518. customStyle: {
  9519. type: [Object, String],
  9520. default: function _default() {
  9521. return {};
  9522. }
  9523. },
  9524. customClass: {
  9525. type: String,
  9526. default: ''
  9527. },
  9528. // 跳转的页面路径
  9529. url: {
  9530. type: String,
  9531. default: ''
  9532. },
  9533. // 页面跳转的类型
  9534. linkType: {
  9535. type: String,
  9536. default: 'navigateTo'
  9537. }
  9538. },
  9539. data: function data() {
  9540. return {};
  9541. },
  9542. onLoad: function onLoad() {
  9543. // getRect挂载到$u上,因为这方法需要使用in(this),所以无法把它独立成一个单独的文件导出
  9544. this.$u.getRect = this.$uGetRect;
  9545. },
  9546. created: function created() {
  9547. // 组件当中,只有created声明周期,为了能在组件使用,故也在created中将方法挂载到$u
  9548. this.$u.getRect = this.$uGetRect;
  9549. },
  9550. computed: {
  9551. // 在2.x版本中,将会把$u挂载到uni对象下,导致在模板中无法使用uni.$u.xxx形式
  9552. // 所以这里通过computed计算属性将其附加到this.$u上,就可以在模板或者js中使用uni.$u.xxx
  9553. // 只在nvue环境通过此方式引入完整的$u,其他平台会出现性能问题,非nvue则按需引入(主要原因是props过大)
  9554. $u: function $u() {
  9555. // 在非nvue端,移除props,http,mixin等对象,避免在小程序setData时数据过大影响性能
  9556. return uni.$u.deepMerge(uni.$u, {
  9557. props: undefined,
  9558. http: undefined,
  9559. mixin: undefined
  9560. });
  9561. },
  9562. /**
  9563. * 生成bem规则类名
  9564. * 由于微信小程序,H5,nvue之间绑定class的差异,无法通过:class="[bem()]"的形式进行同用
  9565. * 故采用如下折中做法,最后返回的是数组(一般平台)或字符串(支付宝和字节跳动平台),类似['a', 'b', 'c']或'a b c'的形式
  9566. * @param {String} name 组件名称
  9567. * @param {Array} fixed 一直会存在的类名
  9568. * @param {Array} change 会根据变量值为true或者false而出现或者隐藏的类名
  9569. * @returns {Array|string}
  9570. */
  9571. bem: function bem() {
  9572. return function (name, fixed, change) {
  9573. var _this = this;
  9574. // 类名前缀
  9575. var prefix = "u-".concat(name, "--");
  9576. var classes = {};
  9577. if (fixed) {
  9578. fixed.map(function (item) {
  9579. // 这里的类名,会一直存在
  9580. classes[prefix + _this[item]] = true;
  9581. });
  9582. }
  9583. if (change) {
  9584. change.map(function (item) {
  9585. // 这里的类名,会根据this[item]的值为true或者false,而进行添加或者移除某一个类
  9586. _this[item] ? classes[prefix + item] = _this[item] : delete classes[prefix + item];
  9587. });
  9588. }
  9589. return Object.keys(classes);
  9590. // 支付宝,头条小程序无法动态绑定一个数组类名,否则解析出来的结果会带有",",而导致失效
  9591. };
  9592. }
  9593. },
  9594. methods: {
  9595. // 跳转某一个页面
  9596. openPage: function openPage() {
  9597. var urlKey = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'url';
  9598. var url = this[urlKey];
  9599. if (url) {
  9600. // 执行类似uni.navigateTo的方法
  9601. uni[this.linkType]({
  9602. url: url
  9603. });
  9604. }
  9605. },
  9606. // 查询节点信息
  9607. // 目前此方法在支付宝小程序中无法获取组件跟接点的尺寸,为支付宝的bug(2020-07-21)
  9608. // 解决办法为在组件根部再套一个没有任何作用的view元素
  9609. $uGetRect: function $uGetRect(selector, all) {
  9610. var _this2 = this;
  9611. return new Promise(function (resolve) {
  9612. uni.createSelectorQuery().in(_this2)[all ? 'selectAll' : 'select'](selector).boundingClientRect(function (rect) {
  9613. if (all && Array.isArray(rect) && rect.length) {
  9614. resolve(rect);
  9615. }
  9616. if (!all && rect) {
  9617. resolve(rect);
  9618. }
  9619. }).exec();
  9620. });
  9621. },
  9622. getParentData: function getParentData() {
  9623. var _this3 = this;
  9624. var parentName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  9625. // 避免在created中去定义parent变量
  9626. if (!this.parent) this.parent = {};
  9627. // 这里的本质原理是,通过获取父组件实例(也即类似u-radio的父组件u-radio-group的this)
  9628. // 将父组件this中对应的参数,赋值给本组件(u-radio的this)的parentData对象中对应的属性
  9629. // 之所以需要这么做,是因为所有端中,头条小程序不支持通过this.parent.xxx去监听父组件参数的变化
  9630. // 此处并不会自动更新子组件的数据,而是依赖父组件u-radio-group去监听data的变化,手动调用更新子组件的方法去重新获取
  9631. this.parent = uni.$u.$parent.call(this, parentName);
  9632. if (this.parent.children) {
  9633. // 如果父组件的children不存在本组件的实例,才将本实例添加到父组件的children中
  9634. this.parent.children.indexOf(this) === -1 && this.parent.children.push(this);
  9635. }
  9636. if (this.parent && this.parentData) {
  9637. // 历遍parentData中的属性,将parent中的同名属性赋值给parentData
  9638. Object.keys(this.parentData).map(function (key) {
  9639. _this3.parentData[key] = _this3.parent[key];
  9640. });
  9641. }
  9642. },
  9643. // 阻止事件冒泡
  9644. preventEvent: function preventEvent(e) {
  9645. e && typeof e.stopPropagation === 'function' && e.stopPropagation();
  9646. },
  9647. // 空操作
  9648. noop: function noop(e) {
  9649. this.preventEvent(e);
  9650. }
  9651. },
  9652. onReachBottom: function onReachBottom() {
  9653. uni.$emit('uOnReachBottom');
  9654. },
  9655. beforeDestroy: function beforeDestroy() {
  9656. var _this4 = this;
  9657. // 判断当前页面是否存在parent和chldren,一般在checkbox和checkbox-group父子联动的场景会有此情况
  9658. // 组件销毁时,移除子组件在父组件children数组中的实例,释放资源,避免数据混乱
  9659. if (this.parent && uni.$u.test.array(this.parent.children)) {
  9660. // 组件销毁时,移除父组件中的children数组中对应的实例
  9661. var childrenList = this.parent.children;
  9662. childrenList.map(function (child, index) {
  9663. // 如果相等,则移除
  9664. if (child === _this4) {
  9665. childrenList.splice(index, 1);
  9666. }
  9667. });
  9668. }
  9669. }
  9670. };
  9671. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9672. /***/ }),
  9673. /* 40 */
  9674. /*!**************************************************************************************************************************************************!*\
  9675. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/mpMixin.js ***!
  9676. \**************************************************************************************************************************************************/
  9677. /*! no static exports found */
  9678. /***/ (function(module, exports, __webpack_require__) {
  9679. "use strict";
  9680. Object.defineProperty(exports, "__esModule", {
  9681. value: true
  9682. });
  9683. exports.default = void 0;
  9684. var _default = {
  9685. // 将自定义节点设置成虚拟的,更加接近Vue组件的表现,能更好的使用flex属性
  9686. options: {
  9687. virtualHost: true
  9688. }
  9689. };
  9690. exports.default = _default;
  9691. /***/ }),
  9692. /* 41 */
  9693. /*!*******************************************************************************************************************************************************!*\
  9694. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/index.js ***!
  9695. \*******************************************************************************************************************************************************/
  9696. /*! no static exports found */
  9697. /***/ (function(module, exports, __webpack_require__) {
  9698. "use strict";
  9699. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9700. Object.defineProperty(exports, "__esModule", {
  9701. value: true
  9702. });
  9703. exports.default = void 0;
  9704. var _Request = _interopRequireDefault(__webpack_require__(/*! ./core/Request */ 42));
  9705. var _default = _Request.default;
  9706. exports.default = _default;
  9707. /***/ }),
  9708. /* 42 */
  9709. /*!**************************************************************************************************************************************************************!*\
  9710. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/Request.js ***!
  9711. \**************************************************************************************************************************************************************/
  9712. /*! no static exports found */
  9713. /***/ (function(module, exports, __webpack_require__) {
  9714. "use strict";
  9715. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9716. Object.defineProperty(exports, "__esModule", {
  9717. value: true
  9718. });
  9719. exports.default = void 0;
  9720. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9721. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  9722. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  9723. var _dispatchRequest = _interopRequireDefault(__webpack_require__(/*! ./dispatchRequest */ 43));
  9724. var _InterceptorManager = _interopRequireDefault(__webpack_require__(/*! ./InterceptorManager */ 51));
  9725. var _mergeConfig = _interopRequireDefault(__webpack_require__(/*! ./mergeConfig */ 52));
  9726. var _defaults = _interopRequireDefault(__webpack_require__(/*! ./defaults */ 53));
  9727. var _utils = __webpack_require__(/*! ../utils */ 46);
  9728. var _clone = _interopRequireDefault(__webpack_require__(/*! ../utils/clone */ 54));
  9729. 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; }
  9730. 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; }
  9731. var Request = /*#__PURE__*/function () {
  9732. /**
  9733. * @param {Object} arg - 全局配置
  9734. * @param {String} arg.baseURL - 全局根路径
  9735. * @param {Object} arg.header - 全局header
  9736. * @param {String} arg.method = [GET|POST|PUT|DELETE|CONNECT|HEAD|OPTIONS|TRACE] - 全局默认请求方式
  9737. * @param {String} arg.dataType = [json] - 全局默认的dataType
  9738. * @param {String} arg.responseType = [text|arraybuffer] - 全局默认的responseType。支付宝小程序不支持
  9739. * @param {Object} arg.custom - 全局默认的自定义参数
  9740. * @param {Number} arg.timeout - 全局默认的超时时间,单位 ms。默认60000。H5(HBuilderX 2.9.9+)、APP(HBuilderX 2.9.9+)、微信小程序(2.10.0)、支付宝小程序
  9741. * @param {Boolean} arg.sslVerify - 全局默认的是否验证 ssl 证书。默认true.仅App安卓端支持(HBuilderX 2.3.3+)
  9742. * @param {Boolean} arg.withCredentials - 全局默认的跨域请求时是否携带凭证(cookies)。默认false。仅H5支持(HBuilderX 2.6.15+)
  9743. * @param {Boolean} arg.firstIpv4 - 全DNS解析时优先使用ipv4。默认false。仅 App-Android 支持 (HBuilderX 2.8.0+)
  9744. * @param {Function(statusCode):Boolean} arg.validateStatus - 全局默认的自定义验证器。默认statusCode >= 200 && statusCode < 300
  9745. */
  9746. function Request() {
  9747. var arg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  9748. (0, _classCallCheck2.default)(this, Request);
  9749. if (!(0, _utils.isPlainObject)(arg)) {
  9750. arg = {};
  9751. console.warn('设置全局参数必须接收一个Object');
  9752. }
  9753. this.config = (0, _clone.default)(_objectSpread(_objectSpread({}, _defaults.default), arg));
  9754. this.interceptors = {
  9755. request: new _InterceptorManager.default(),
  9756. response: new _InterceptorManager.default()
  9757. };
  9758. }
  9759. /**
  9760. * @Function
  9761. * @param {Request~setConfigCallback} f - 设置全局默认配置
  9762. */
  9763. (0, _createClass2.default)(Request, [{
  9764. key: "setConfig",
  9765. value: function setConfig(f) {
  9766. this.config = f(this.config);
  9767. }
  9768. }, {
  9769. key: "middleware",
  9770. value: function middleware(config) {
  9771. config = (0, _mergeConfig.default)(this.config, config);
  9772. var chain = [_dispatchRequest.default, undefined];
  9773. var promise = Promise.resolve(config);
  9774. this.interceptors.request.forEach(function (interceptor) {
  9775. chain.unshift(interceptor.fulfilled, interceptor.rejected);
  9776. });
  9777. this.interceptors.response.forEach(function (interceptor) {
  9778. chain.push(interceptor.fulfilled, interceptor.rejected);
  9779. });
  9780. while (chain.length) {
  9781. promise = promise.then(chain.shift(), chain.shift());
  9782. }
  9783. return promise;
  9784. }
  9785. /**
  9786. * @Function
  9787. * @param {Object} config - 请求配置项
  9788. * @prop {String} options.url - 请求路径
  9789. * @prop {Object} options.data - 请求参数
  9790. * @prop {Object} [options.responseType = config.responseType] [text|arraybuffer] - 响应的数据类型
  9791. * @prop {Object} [options.dataType = config.dataType] - 如果设为 json,会尝试对返回的数据做一次 JSON.parse
  9792. * @prop {Object} [options.header = config.header] - 请求header
  9793. * @prop {Object} [options.method = config.method] - 请求方法
  9794. * @returns {Promise<unknown>}
  9795. */
  9796. }, {
  9797. key: "request",
  9798. value: function request() {
  9799. var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  9800. return this.middleware(config);
  9801. }
  9802. }, {
  9803. key: "get",
  9804. value: function get(url) {
  9805. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  9806. return this.middleware(_objectSpread({
  9807. url: url,
  9808. method: 'GET'
  9809. }, options));
  9810. }
  9811. }, {
  9812. key: "post",
  9813. value: function post(url, data) {
  9814. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9815. return this.middleware(_objectSpread({
  9816. url: url,
  9817. data: data,
  9818. method: 'POST'
  9819. }, options));
  9820. }
  9821. }, {
  9822. key: "put",
  9823. value: function put(url, data) {
  9824. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9825. return this.middleware(_objectSpread({
  9826. url: url,
  9827. data: data,
  9828. method: 'PUT'
  9829. }, options));
  9830. }
  9831. }, {
  9832. key: "delete",
  9833. value: function _delete(url, data) {
  9834. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9835. return this.middleware(_objectSpread({
  9836. url: url,
  9837. data: data,
  9838. method: 'DELETE'
  9839. }, options));
  9840. }
  9841. }, {
  9842. key: "connect",
  9843. value: function connect(url, data) {
  9844. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9845. return this.middleware(_objectSpread({
  9846. url: url,
  9847. data: data,
  9848. method: 'CONNECT'
  9849. }, options));
  9850. }
  9851. }, {
  9852. key: "head",
  9853. value: function head(url, data) {
  9854. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9855. return this.middleware(_objectSpread({
  9856. url: url,
  9857. data: data,
  9858. method: 'HEAD'
  9859. }, options));
  9860. }
  9861. }, {
  9862. key: "options",
  9863. value: function options(url, data) {
  9864. var _options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9865. return this.middleware(_objectSpread({
  9866. url: url,
  9867. data: data,
  9868. method: 'OPTIONS'
  9869. }, _options));
  9870. }
  9871. }, {
  9872. key: "trace",
  9873. value: function trace(url, data) {
  9874. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9875. return this.middleware(_objectSpread({
  9876. url: url,
  9877. data: data,
  9878. method: 'TRACE'
  9879. }, options));
  9880. }
  9881. }, {
  9882. key: "upload",
  9883. value: function upload(url) {
  9884. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  9885. config.url = url;
  9886. config.method = 'UPLOAD';
  9887. return this.middleware(config);
  9888. }
  9889. }, {
  9890. key: "download",
  9891. value: function download(url) {
  9892. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  9893. config.url = url;
  9894. config.method = 'DOWNLOAD';
  9895. return this.middleware(config);
  9896. }
  9897. }]);
  9898. return Request;
  9899. }();
  9900. /**
  9901. * setConfig回调
  9902. * @return {Object} - 返回操作后的config
  9903. * @callback Request~setConfigCallback
  9904. * @param {Object} config - 全局默认config
  9905. */
  9906. exports.default = Request;
  9907. /***/ }),
  9908. /* 43 */
  9909. /*!**********************************************************************************************************************************************************************!*\
  9910. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/dispatchRequest.js ***!
  9911. \**********************************************************************************************************************************************************************/
  9912. /*! no static exports found */
  9913. /***/ (function(module, exports, __webpack_require__) {
  9914. "use strict";
  9915. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9916. Object.defineProperty(exports, "__esModule", {
  9917. value: true
  9918. });
  9919. exports.default = void 0;
  9920. var _index = _interopRequireDefault(__webpack_require__(/*! ../adapters/index */ 44));
  9921. var _default = function _default(config) {
  9922. return (0, _index.default)(config);
  9923. };
  9924. exports.default = _default;
  9925. /***/ }),
  9926. /* 44 */
  9927. /*!****************************************************************************************************************************************************************!*\
  9928. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/adapters/index.js ***!
  9929. \****************************************************************************************************************************************************************/
  9930. /*! no static exports found */
  9931. /***/ (function(module, exports, __webpack_require__) {
  9932. "use strict";
  9933. /* WEBPACK VAR INJECTION */(function(uni) {
  9934. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9935. Object.defineProperty(exports, "__esModule", {
  9936. value: true
  9937. });
  9938. exports.default = void 0;
  9939. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9940. var _buildURL = _interopRequireDefault(__webpack_require__(/*! ../helpers/buildURL */ 45));
  9941. var _buildFullPath = _interopRequireDefault(__webpack_require__(/*! ../core/buildFullPath */ 47));
  9942. var _settle = _interopRequireDefault(__webpack_require__(/*! ../core/settle */ 50));
  9943. var _utils = __webpack_require__(/*! ../utils */ 46);
  9944. 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; }
  9945. 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; }
  9946. /**
  9947. * 返回可选值存在的配置
  9948. * @param {Array} keys - 可选值数组
  9949. * @param {Object} config2 - 配置
  9950. * @return {{}} - 存在的配置项
  9951. */
  9952. var mergeKeys = function mergeKeys(keys, config2) {
  9953. var config = {};
  9954. keys.forEach(function (prop) {
  9955. if (!(0, _utils.isUndefined)(config2[prop])) {
  9956. config[prop] = config2[prop];
  9957. }
  9958. });
  9959. return config;
  9960. };
  9961. var _default = function _default(config) {
  9962. return new Promise(function (resolve, reject) {
  9963. var fullPath = (0, _buildURL.default)((0, _buildFullPath.default)(config.baseURL, config.url), config.params);
  9964. var _config = {
  9965. url: fullPath,
  9966. header: config.header,
  9967. complete: function complete(response) {
  9968. config.fullPath = fullPath;
  9969. response.config = config;
  9970. try {
  9971. // 对可能字符串不是json 的情况容错
  9972. if (typeof response.data === 'string') {
  9973. response.data = JSON.parse(response.data);
  9974. }
  9975. // eslint-disable-next-line no-empty
  9976. } catch (e) {}
  9977. (0, _settle.default)(resolve, reject, response);
  9978. }
  9979. };
  9980. var requestTask;
  9981. if (config.method === 'UPLOAD') {
  9982. delete _config.header['content-type'];
  9983. delete _config.header['Content-Type'];
  9984. var otherConfig = {
  9985. filePath: config.filePath,
  9986. name: config.name
  9987. };
  9988. var optionalKeys = ['formData'];
  9989. requestTask = uni.uploadFile(_objectSpread(_objectSpread(_objectSpread({}, _config), otherConfig), mergeKeys(optionalKeys, config)));
  9990. } else if (config.method === 'DOWNLOAD') {
  9991. requestTask = uni.downloadFile(_config);
  9992. } else {
  9993. var _optionalKeys = ['data', 'method', 'timeout', 'dataType', 'responseType'];
  9994. requestTask = uni.request(_objectSpread(_objectSpread({}, _config), mergeKeys(_optionalKeys, config)));
  9995. }
  9996. if (config.getTask) {
  9997. config.getTask(requestTask, config);
  9998. }
  9999. });
  10000. };
  10001. exports.default = _default;
  10002. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  10003. /***/ }),
  10004. /* 45 */
  10005. /*!******************************************************************************************************************************************************************!*\
  10006. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/helpers/buildURL.js ***!
  10007. \******************************************************************************************************************************************************************/
  10008. /*! no static exports found */
  10009. /***/ (function(module, exports, __webpack_require__) {
  10010. "use strict";
  10011. var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  10012. Object.defineProperty(exports, "__esModule", {
  10013. value: true
  10014. });
  10015. exports.default = buildURL;
  10016. var utils = _interopRequireWildcard(__webpack_require__(/*! ../utils */ 46));
  10017. 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); }
  10018. 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; }
  10019. function encode(val) {
  10020. return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
  10021. }
  10022. /**
  10023. * Build a URL by appending params to the end
  10024. *
  10025. * @param {string} url The base of the url (e.g., http://www.google.com)
  10026. * @param {object} [params] The params to be appended
  10027. * @returns {string} The formatted url
  10028. */
  10029. function buildURL(url, params) {
  10030. /* eslint no-param-reassign:0 */
  10031. if (!params) {
  10032. return url;
  10033. }
  10034. var serializedParams;
  10035. if (utils.isURLSearchParams(params)) {
  10036. serializedParams = params.toString();
  10037. } else {
  10038. var parts = [];
  10039. utils.forEach(params, function (val, key) {
  10040. if (val === null || typeof val === 'undefined') {
  10041. return;
  10042. }
  10043. if (utils.isArray(val)) {
  10044. key = "".concat(key, "[]");
  10045. } else {
  10046. val = [val];
  10047. }
  10048. utils.forEach(val, function (v) {
  10049. if (utils.isDate(v)) {
  10050. v = v.toISOString();
  10051. } else if (utils.isObject(v)) {
  10052. v = JSON.stringify(v);
  10053. }
  10054. parts.push("".concat(encode(key), "=").concat(encode(v)));
  10055. });
  10056. });
  10057. serializedParams = parts.join('&');
  10058. }
  10059. if (serializedParams) {
  10060. var hashmarkIndex = url.indexOf('#');
  10061. if (hashmarkIndex !== -1) {
  10062. url = url.slice(0, hashmarkIndex);
  10063. }
  10064. url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
  10065. }
  10066. return url;
  10067. }
  10068. /***/ }),
  10069. /* 46 */
  10070. /*!*******************************************************************************************************************************************************!*\
  10071. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/utils.js ***!
  10072. \*******************************************************************************************************************************************************/
  10073. /*! no static exports found */
  10074. /***/ (function(module, exports, __webpack_require__) {
  10075. "use strict";
  10076. // utils is a library of generic helper functions non-specific to axios
  10077. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10078. Object.defineProperty(exports, "__esModule", {
  10079. value: true
  10080. });
  10081. exports.deepMerge = deepMerge;
  10082. exports.forEach = forEach;
  10083. exports.isArray = isArray;
  10084. exports.isBoolean = isBoolean;
  10085. exports.isDate = isDate;
  10086. exports.isObject = isObject;
  10087. exports.isPlainObject = isPlainObject;
  10088. exports.isURLSearchParams = isURLSearchParams;
  10089. exports.isUndefined = isUndefined;
  10090. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  10091. var toString = Object.prototype.toString;
  10092. /**
  10093. * Determine if a value is an Array
  10094. *
  10095. * @param {Object} val The value to test
  10096. * @returns {boolean} True if value is an Array, otherwise false
  10097. */
  10098. function isArray(val) {
  10099. return toString.call(val) === '[object Array]';
  10100. }
  10101. /**
  10102. * Determine if a value is an Object
  10103. *
  10104. * @param {Object} val The value to test
  10105. * @returns {boolean} True if value is an Object, otherwise false
  10106. */
  10107. function isObject(val) {
  10108. return val !== null && (0, _typeof2.default)(val) === 'object';
  10109. }
  10110. /**
  10111. * Determine if a value is a Date
  10112. *
  10113. * @param {Object} val The value to test
  10114. * @returns {boolean} True if value is a Date, otherwise false
  10115. */
  10116. function isDate(val) {
  10117. return toString.call(val) === '[object Date]';
  10118. }
  10119. /**
  10120. * Determine if a value is a URLSearchParams object
  10121. *
  10122. * @param {Object} val The value to test
  10123. * @returns {boolean} True if value is a URLSearchParams object, otherwise false
  10124. */
  10125. function isURLSearchParams(val) {
  10126. return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
  10127. }
  10128. /**
  10129. * Iterate over an Array or an Object invoking a function for each item.
  10130. *
  10131. * If `obj` is an Array callback will be called passing
  10132. * the value, index, and complete array for each item.
  10133. *
  10134. * If 'obj' is an Object callback will be called passing
  10135. * the value, key, and complete object for each property.
  10136. *
  10137. * @param {Object|Array} obj The object to iterate
  10138. * @param {Function} fn The callback to invoke for each item
  10139. */
  10140. function forEach(obj, fn) {
  10141. // Don't bother if no value provided
  10142. if (obj === null || typeof obj === 'undefined') {
  10143. return;
  10144. }
  10145. // Force an array if not already something iterable
  10146. if ((0, _typeof2.default)(obj) !== 'object') {
  10147. /* eslint no-param-reassign:0 */
  10148. obj = [obj];
  10149. }
  10150. if (isArray(obj)) {
  10151. // Iterate over array values
  10152. for (var i = 0, l = obj.length; i < l; i++) {
  10153. fn.call(null, obj[i], i, obj);
  10154. }
  10155. } else {
  10156. // Iterate over object keys
  10157. for (var key in obj) {
  10158. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  10159. fn.call(null, obj[key], key, obj);
  10160. }
  10161. }
  10162. }
  10163. }
  10164. /**
  10165. * 是否为boolean 值
  10166. * @param val
  10167. * @returns {boolean}
  10168. */
  10169. function isBoolean(val) {
  10170. return typeof val === 'boolean';
  10171. }
  10172. /**
  10173. * 是否为真正的对象{} new Object
  10174. * @param {any} obj - 检测的对象
  10175. * @returns {boolean}
  10176. */
  10177. function isPlainObject(obj) {
  10178. return Object.prototype.toString.call(obj) === '[object Object]';
  10179. }
  10180. /**
  10181. * Function equal to merge with the difference being that no reference
  10182. * to original objects is kept.
  10183. *
  10184. * @see merge
  10185. * @param {Object} obj1 Object to merge
  10186. * @returns {Object} Result of all merge properties
  10187. */
  10188. function deepMerge( /* obj1, obj2, obj3, ... */
  10189. ) {
  10190. var result = {};
  10191. function assignValue(val, key) {
  10192. if ((0, _typeof2.default)(result[key]) === 'object' && (0, _typeof2.default)(val) === 'object') {
  10193. result[key] = deepMerge(result[key], val);
  10194. } else if ((0, _typeof2.default)(val) === 'object') {
  10195. result[key] = deepMerge({}, val);
  10196. } else {
  10197. result[key] = val;
  10198. }
  10199. }
  10200. for (var i = 0, l = arguments.length; i < l; i++) {
  10201. forEach(arguments[i], assignValue);
  10202. }
  10203. return result;
  10204. }
  10205. function isUndefined(val) {
  10206. return typeof val === 'undefined';
  10207. }
  10208. /***/ }),
  10209. /* 47 */
  10210. /*!********************************************************************************************************************************************************************!*\
  10211. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/buildFullPath.js ***!
  10212. \********************************************************************************************************************************************************************/
  10213. /*! no static exports found */
  10214. /***/ (function(module, exports, __webpack_require__) {
  10215. "use strict";
  10216. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10217. Object.defineProperty(exports, "__esModule", {
  10218. value: true
  10219. });
  10220. exports.default = buildFullPath;
  10221. var _isAbsoluteURL = _interopRequireDefault(__webpack_require__(/*! ../helpers/isAbsoluteURL */ 48));
  10222. var _combineURLs = _interopRequireDefault(__webpack_require__(/*! ../helpers/combineURLs */ 49));
  10223. /**
  10224. * Creates a new URL by combining the baseURL with the requestedURL,
  10225. * only when the requestedURL is not already an absolute URL.
  10226. * If the requestURL is absolute, this function returns the requestedURL untouched.
  10227. *
  10228. * @param {string} baseURL The base URL
  10229. * @param {string} requestedURL Absolute or relative URL to combine
  10230. * @returns {string} The combined full path
  10231. */
  10232. function buildFullPath(baseURL, requestedURL) {
  10233. if (baseURL && !(0, _isAbsoluteURL.default)(requestedURL)) {
  10234. return (0, _combineURLs.default)(baseURL, requestedURL);
  10235. }
  10236. return requestedURL;
  10237. }
  10238. /***/ }),
  10239. /* 48 */
  10240. /*!***********************************************************************************************************************************************************************!*\
  10241. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/helpers/isAbsoluteURL.js ***!
  10242. \***********************************************************************************************************************************************************************/
  10243. /*! no static exports found */
  10244. /***/ (function(module, exports, __webpack_require__) {
  10245. "use strict";
  10246. /**
  10247. * Determines whether the specified URL is absolute
  10248. *
  10249. * @param {string} url The URL to test
  10250. * @returns {boolean} True if the specified URL is absolute, otherwise false
  10251. */
  10252. Object.defineProperty(exports, "__esModule", {
  10253. value: true
  10254. });
  10255. exports.default = isAbsoluteURL;
  10256. function isAbsoluteURL(url) {
  10257. // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
  10258. // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
  10259. // by any combination of letters, digits, plus, period, or hyphen.
  10260. return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
  10261. }
  10262. /***/ }),
  10263. /* 49 */
  10264. /*!*********************************************************************************************************************************************************************!*\
  10265. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/helpers/combineURLs.js ***!
  10266. \*********************************************************************************************************************************************************************/
  10267. /*! no static exports found */
  10268. /***/ (function(module, exports, __webpack_require__) {
  10269. "use strict";
  10270. /**
  10271. * Creates a new URL by combining the specified URLs
  10272. *
  10273. * @param {string} baseURL The base URL
  10274. * @param {string} relativeURL The relative URL
  10275. * @returns {string} The combined URL
  10276. */
  10277. Object.defineProperty(exports, "__esModule", {
  10278. value: true
  10279. });
  10280. exports.default = combineURLs;
  10281. function combineURLs(baseURL, relativeURL) {
  10282. return relativeURL ? "".concat(baseURL.replace(/\/+$/, ''), "/").concat(relativeURL.replace(/^\/+/, '')) : baseURL;
  10283. }
  10284. /***/ }),
  10285. /* 50 */
  10286. /*!*************************************************************************************************************************************************************!*\
  10287. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/settle.js ***!
  10288. \*************************************************************************************************************************************************************/
  10289. /*! no static exports found */
  10290. /***/ (function(module, exports, __webpack_require__) {
  10291. "use strict";
  10292. Object.defineProperty(exports, "__esModule", {
  10293. value: true
  10294. });
  10295. exports.default = settle;
  10296. /**
  10297. * Resolve or reject a Promise based on response status.
  10298. *
  10299. * @param {Function} resolve A function that resolves the promise.
  10300. * @param {Function} reject A function that rejects the promise.
  10301. * @param {object} response The response.
  10302. */
  10303. function settle(resolve, reject, response) {
  10304. var validateStatus = response.config.validateStatus;
  10305. var status = response.statusCode;
  10306. if (status && (!validateStatus || validateStatus(status))) {
  10307. resolve(response);
  10308. } else {
  10309. reject(response);
  10310. }
  10311. }
  10312. /***/ }),
  10313. /* 51 */
  10314. /*!*************************************************************************************************************************************************************************!*\
  10315. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/InterceptorManager.js ***!
  10316. \*************************************************************************************************************************************************************************/
  10317. /*! no static exports found */
  10318. /***/ (function(module, exports, __webpack_require__) {
  10319. "use strict";
  10320. Object.defineProperty(exports, "__esModule", {
  10321. value: true
  10322. });
  10323. exports.default = void 0;
  10324. function InterceptorManager() {
  10325. this.handlers = [];
  10326. }
  10327. /**
  10328. * Add a new interceptor to the stack
  10329. *
  10330. * @param {Function} fulfilled The function to handle `then` for a `Promise`
  10331. * @param {Function} rejected The function to handle `reject` for a `Promise`
  10332. *
  10333. * @return {Number} An ID used to remove interceptor later
  10334. */
  10335. InterceptorManager.prototype.use = function use(fulfilled, rejected) {
  10336. this.handlers.push({
  10337. fulfilled: fulfilled,
  10338. rejected: rejected
  10339. });
  10340. return this.handlers.length - 1;
  10341. };
  10342. /**
  10343. * Remove an interceptor from the stack
  10344. *
  10345. * @param {Number} id The ID that was returned by `use`
  10346. */
  10347. InterceptorManager.prototype.eject = function eject(id) {
  10348. if (this.handlers[id]) {
  10349. this.handlers[id] = null;
  10350. }
  10351. };
  10352. /**
  10353. * Iterate over all the registered interceptors
  10354. *
  10355. * This method is particularly useful for skipping over any
  10356. * interceptors that may have become `null` calling `eject`.
  10357. *
  10358. * @param {Function} fn The function to call for each interceptor
  10359. */
  10360. InterceptorManager.prototype.forEach = function forEach(fn) {
  10361. this.handlers.forEach(function (h) {
  10362. if (h !== null) {
  10363. fn(h);
  10364. }
  10365. });
  10366. };
  10367. var _default = InterceptorManager;
  10368. exports.default = _default;
  10369. /***/ }),
  10370. /* 52 */
  10371. /*!******************************************************************************************************************************************************************!*\
  10372. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/mergeConfig.js ***!
  10373. \******************************************************************************************************************************************************************/
  10374. /*! no static exports found */
  10375. /***/ (function(module, exports, __webpack_require__) {
  10376. "use strict";
  10377. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10378. Object.defineProperty(exports, "__esModule", {
  10379. value: true
  10380. });
  10381. exports.default = void 0;
  10382. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  10383. var _utils = __webpack_require__(/*! ../utils */ 46);
  10384. 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; }
  10385. 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; }
  10386. /**
  10387. * 合并局部配置优先的配置,如果局部有该配置项则用局部,如果全局有该配置项则用全局
  10388. * @param {Array} keys - 配置项
  10389. * @param {Object} globalsConfig - 当前的全局配置
  10390. * @param {Object} config2 - 局部配置
  10391. * @return {{}}
  10392. */
  10393. var mergeKeys = function mergeKeys(keys, globalsConfig, config2) {
  10394. var config = {};
  10395. keys.forEach(function (prop) {
  10396. if (!(0, _utils.isUndefined)(config2[prop])) {
  10397. config[prop] = config2[prop];
  10398. } else if (!(0, _utils.isUndefined)(globalsConfig[prop])) {
  10399. config[prop] = globalsConfig[prop];
  10400. }
  10401. });
  10402. return config;
  10403. };
  10404. /**
  10405. *
  10406. * @param globalsConfig - 当前实例的全局配置
  10407. * @param config2 - 当前的局部配置
  10408. * @return - 合并后的配置
  10409. */
  10410. var _default = function _default(globalsConfig) {
  10411. var config2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10412. var method = config2.method || globalsConfig.method || 'GET';
  10413. var config = {
  10414. baseURL: globalsConfig.baseURL || '',
  10415. method: method,
  10416. url: config2.url || '',
  10417. params: config2.params || {},
  10418. custom: _objectSpread(_objectSpread({}, globalsConfig.custom || {}), config2.custom || {}),
  10419. header: (0, _utils.deepMerge)(globalsConfig.header || {}, config2.header || {})
  10420. };
  10421. var defaultToConfig2Keys = ['getTask', 'validateStatus'];
  10422. config = _objectSpread(_objectSpread({}, config), mergeKeys(defaultToConfig2Keys, globalsConfig, config2));
  10423. // eslint-disable-next-line no-empty
  10424. if (method === 'DOWNLOAD') {} else if (method === 'UPLOAD') {
  10425. delete config.header['content-type'];
  10426. delete config.header['Content-Type'];
  10427. var uploadKeys = ['filePath', 'name', 'formData'];
  10428. uploadKeys.forEach(function (prop) {
  10429. if (!(0, _utils.isUndefined)(config2[prop])) {
  10430. config[prop] = config2[prop];
  10431. }
  10432. });
  10433. } else {
  10434. var defaultsKeys = ['data', 'timeout', 'dataType', 'responseType'];
  10435. config = _objectSpread(_objectSpread({}, config), mergeKeys(defaultsKeys, globalsConfig, config2));
  10436. }
  10437. return config;
  10438. };
  10439. exports.default = _default;
  10440. /***/ }),
  10441. /* 53 */
  10442. /*!***************************************************************************************************************************************************************!*\
  10443. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/defaults.js ***!
  10444. \***************************************************************************************************************************************************************/
  10445. /*! no static exports found */
  10446. /***/ (function(module, exports, __webpack_require__) {
  10447. "use strict";
  10448. Object.defineProperty(exports, "__esModule", {
  10449. value: true
  10450. });
  10451. exports.default = void 0;
  10452. /**
  10453. * 默认的全局配置
  10454. */
  10455. var _default = {
  10456. baseURL: '',
  10457. header: {},
  10458. method: 'GET',
  10459. dataType: 'json',
  10460. responseType: 'text',
  10461. custom: {},
  10462. timeout: 60000,
  10463. validateStatus: function validateStatus(status) {
  10464. return status >= 200 && status < 300;
  10465. }
  10466. };
  10467. exports.default = _default;
  10468. /***/ }),
  10469. /* 54 */
  10470. /*!*************************************************************************************************************************************************************!*\
  10471. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/utils/clone.js ***!
  10472. \*************************************************************************************************************************************************************/
  10473. /*! no static exports found */
  10474. /***/ (function(module, exports, __webpack_require__) {
  10475. "use strict";
  10476. /* WEBPACK VAR INJECTION */(function(Buffer) {
  10477. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10478. Object.defineProperty(exports, "__esModule", {
  10479. value: true
  10480. });
  10481. exports.default = void 0;
  10482. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  10483. /* eslint-disable */
  10484. var clone = function () {
  10485. 'use strict';
  10486. function _instanceof(obj, type) {
  10487. return type != null && obj instanceof type;
  10488. }
  10489. var nativeMap;
  10490. try {
  10491. nativeMap = Map;
  10492. } catch (_) {
  10493. // maybe a reference error because no `Map`. Give it a dummy value that no
  10494. // value will ever be an instanceof.
  10495. nativeMap = function nativeMap() {};
  10496. }
  10497. var nativeSet;
  10498. try {
  10499. nativeSet = Set;
  10500. } catch (_) {
  10501. nativeSet = function nativeSet() {};
  10502. }
  10503. var nativePromise;
  10504. try {
  10505. nativePromise = Promise;
  10506. } catch (_) {
  10507. nativePromise = function nativePromise() {};
  10508. }
  10509. /**
  10510. * Clones (copies) an Object using deep copying.
  10511. *
  10512. * This function supports circular references by default, but if you are certain
  10513. * there are no circular references in your object, you can save some CPU time
  10514. * by calling clone(obj, false).
  10515. *
  10516. * Caution: if `circular` is false and `parent` contains circular references,
  10517. * your program may enter an infinite loop and crash.
  10518. *
  10519. * @param `parent` - the object to be cloned
  10520. * @param `circular` - set to true if the object to be cloned may contain
  10521. * circular references. (optional - true by default)
  10522. * @param `depth` - set to a number if the object is only to be cloned to
  10523. * a particular depth. (optional - defaults to Infinity)
  10524. * @param `prototype` - sets the prototype to be used when cloning an object.
  10525. * (optional - defaults to parent prototype).
  10526. * @param `includeNonEnumerable` - set to true if the non-enumerable properties
  10527. * should be cloned as well. Non-enumerable properties on the prototype
  10528. * chain will be ignored. (optional - false by default)
  10529. */
  10530. function clone(parent, circular, depth, prototype, includeNonEnumerable) {
  10531. if ((0, _typeof2.default)(circular) === 'object') {
  10532. depth = circular.depth;
  10533. prototype = circular.prototype;
  10534. includeNonEnumerable = circular.includeNonEnumerable;
  10535. circular = circular.circular;
  10536. }
  10537. // maintain two arrays for circular references, where corresponding parents
  10538. // and children have the same index
  10539. var allParents = [];
  10540. var allChildren = [];
  10541. var useBuffer = typeof Buffer != 'undefined';
  10542. if (typeof circular == 'undefined') circular = true;
  10543. if (typeof depth == 'undefined') depth = Infinity;
  10544. // recurse this function so we don't reset allParents and allChildren
  10545. function _clone(parent, depth) {
  10546. // cloning null always returns null
  10547. if (parent === null) return null;
  10548. if (depth === 0) return parent;
  10549. var child;
  10550. var proto;
  10551. if ((0, _typeof2.default)(parent) != 'object') {
  10552. return parent;
  10553. }
  10554. if (_instanceof(parent, nativeMap)) {
  10555. child = new nativeMap();
  10556. } else if (_instanceof(parent, nativeSet)) {
  10557. child = new nativeSet();
  10558. } else if (_instanceof(parent, nativePromise)) {
  10559. child = new nativePromise(function (resolve, reject) {
  10560. parent.then(function (value) {
  10561. resolve(_clone(value, depth - 1));
  10562. }, function (err) {
  10563. reject(_clone(err, depth - 1));
  10564. });
  10565. });
  10566. } else if (clone.__isArray(parent)) {
  10567. child = [];
  10568. } else if (clone.__isRegExp(parent)) {
  10569. child = new RegExp(parent.source, __getRegExpFlags(parent));
  10570. if (parent.lastIndex) child.lastIndex = parent.lastIndex;
  10571. } else if (clone.__isDate(parent)) {
  10572. child = new Date(parent.getTime());
  10573. } else if (useBuffer && Buffer.isBuffer(parent)) {
  10574. if (Buffer.from) {
  10575. // Node.js >= 5.10.0
  10576. child = Buffer.from(parent);
  10577. } else {
  10578. // Older Node.js versions
  10579. child = new Buffer(parent.length);
  10580. parent.copy(child);
  10581. }
  10582. return child;
  10583. } else if (_instanceof(parent, Error)) {
  10584. child = Object.create(parent);
  10585. } else {
  10586. if (typeof prototype == 'undefined') {
  10587. proto = Object.getPrototypeOf(parent);
  10588. child = Object.create(proto);
  10589. } else {
  10590. child = Object.create(prototype);
  10591. proto = prototype;
  10592. }
  10593. }
  10594. if (circular) {
  10595. var index = allParents.indexOf(parent);
  10596. if (index != -1) {
  10597. return allChildren[index];
  10598. }
  10599. allParents.push(parent);
  10600. allChildren.push(child);
  10601. }
  10602. if (_instanceof(parent, nativeMap)) {
  10603. parent.forEach(function (value, key) {
  10604. var keyChild = _clone(key, depth - 1);
  10605. var valueChild = _clone(value, depth - 1);
  10606. child.set(keyChild, valueChild);
  10607. });
  10608. }
  10609. if (_instanceof(parent, nativeSet)) {
  10610. parent.forEach(function (value) {
  10611. var entryChild = _clone(value, depth - 1);
  10612. child.add(entryChild);
  10613. });
  10614. }
  10615. for (var i in parent) {
  10616. var attrs = Object.getOwnPropertyDescriptor(parent, i);
  10617. if (attrs) {
  10618. child[i] = _clone(parent[i], depth - 1);
  10619. }
  10620. try {
  10621. var objProperty = Object.getOwnPropertyDescriptor(parent, i);
  10622. if (objProperty.set === 'undefined') {
  10623. // no setter defined. Skip cloning this property
  10624. continue;
  10625. }
  10626. child[i] = _clone(parent[i], depth - 1);
  10627. } catch (e) {
  10628. if (e instanceof TypeError) {
  10629. // when in strict mode, TypeError will be thrown if child[i] property only has a getter
  10630. // we can't do anything about this, other than inform the user that this property cannot be set.
  10631. continue;
  10632. } else if (e instanceof ReferenceError) {
  10633. //this may happen in non strict mode
  10634. continue;
  10635. }
  10636. }
  10637. }
  10638. if (Object.getOwnPropertySymbols) {
  10639. var symbols = Object.getOwnPropertySymbols(parent);
  10640. for (var i = 0; i < symbols.length; i++) {
  10641. // Don't need to worry about cloning a symbol because it is a primitive,
  10642. // like a number or string.
  10643. var symbol = symbols[i];
  10644. var descriptor = Object.getOwnPropertyDescriptor(parent, symbol);
  10645. if (descriptor && !descriptor.enumerable && !includeNonEnumerable) {
  10646. continue;
  10647. }
  10648. child[symbol] = _clone(parent[symbol], depth - 1);
  10649. Object.defineProperty(child, symbol, descriptor);
  10650. }
  10651. }
  10652. if (includeNonEnumerable) {
  10653. var allPropertyNames = Object.getOwnPropertyNames(parent);
  10654. for (var i = 0; i < allPropertyNames.length; i++) {
  10655. var propertyName = allPropertyNames[i];
  10656. var descriptor = Object.getOwnPropertyDescriptor(parent, propertyName);
  10657. if (descriptor && descriptor.enumerable) {
  10658. continue;
  10659. }
  10660. child[propertyName] = _clone(parent[propertyName], depth - 1);
  10661. Object.defineProperty(child, propertyName, descriptor);
  10662. }
  10663. }
  10664. return child;
  10665. }
  10666. return _clone(parent, depth);
  10667. }
  10668. /**
  10669. * Simple flat clone using prototype, accepts only objects, usefull for property
  10670. * override on FLAT configuration object (no nested props).
  10671. *
  10672. * USE WITH CAUTION! This may not behave as you wish if you do not know how this
  10673. * works.
  10674. */
  10675. clone.clonePrototype = function clonePrototype(parent) {
  10676. if (parent === null) return null;
  10677. var c = function c() {};
  10678. c.prototype = parent;
  10679. return new c();
  10680. };
  10681. // private utility functions
  10682. function __objToStr(o) {
  10683. return Object.prototype.toString.call(o);
  10684. }
  10685. clone.__objToStr = __objToStr;
  10686. function __isDate(o) {
  10687. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object Date]';
  10688. }
  10689. clone.__isDate = __isDate;
  10690. function __isArray(o) {
  10691. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object Array]';
  10692. }
  10693. clone.__isArray = __isArray;
  10694. function __isRegExp(o) {
  10695. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object RegExp]';
  10696. }
  10697. clone.__isRegExp = __isRegExp;
  10698. function __getRegExpFlags(re) {
  10699. var flags = '';
  10700. if (re.global) flags += 'g';
  10701. if (re.ignoreCase) flags += 'i';
  10702. if (re.multiline) flags += 'm';
  10703. return flags;
  10704. }
  10705. clone.__getRegExpFlags = __getRegExpFlags;
  10706. return clone;
  10707. }();
  10708. var _default = clone;
  10709. exports.default = _default;
  10710. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 55).Buffer))
  10711. /***/ }),
  10712. /* 55 */
  10713. /*!**************************************!*\
  10714. !*** ./node_modules/buffer/index.js ***!
  10715. \**************************************/
  10716. /*! no static exports found */
  10717. /***/ (function(module, exports, __webpack_require__) {
  10718. "use strict";
  10719. /* WEBPACK VAR INJECTION */(function(global) {/*!
  10720. * The buffer module from node.js, for the browser.
  10721. *
  10722. * @author Feross Aboukhadijeh <http://feross.org>
  10723. * @license MIT
  10724. */
  10725. /* eslint-disable no-proto */
  10726. var base64 = __webpack_require__(/*! base64-js */ 56)
  10727. var ieee754 = __webpack_require__(/*! ieee754 */ 57)
  10728. var isArray = __webpack_require__(/*! isarray */ 58)
  10729. exports.Buffer = Buffer
  10730. exports.SlowBuffer = SlowBuffer
  10731. exports.INSPECT_MAX_BYTES = 50
  10732. /**
  10733. * If `Buffer.TYPED_ARRAY_SUPPORT`:
  10734. * === true Use Uint8Array implementation (fastest)
  10735. * === false Use Object implementation (most compatible, even IE6)
  10736. *
  10737. * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
  10738. * Opera 11.6+, iOS 4.2+.
  10739. *
  10740. * Due to various browser bugs, sometimes the Object implementation will be used even
  10741. * when the browser supports typed arrays.
  10742. *
  10743. * Note:
  10744. *
  10745. * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
  10746. * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
  10747. *
  10748. * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
  10749. *
  10750. * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
  10751. * incorrect length in some situations.
  10752. * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
  10753. * get the Object implementation, which is slower but behaves correctly.
  10754. */
  10755. Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
  10756. ? global.TYPED_ARRAY_SUPPORT
  10757. : typedArraySupport()
  10758. /*
  10759. * Export kMaxLength after typed array support is determined.
  10760. */
  10761. exports.kMaxLength = kMaxLength()
  10762. function typedArraySupport () {
  10763. try {
  10764. var arr = new Uint8Array(1)
  10765. arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}
  10766. return arr.foo() === 42 && // typed array instances can be augmented
  10767. typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
  10768. arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
  10769. } catch (e) {
  10770. return false
  10771. }
  10772. }
  10773. function kMaxLength () {
  10774. return Buffer.TYPED_ARRAY_SUPPORT
  10775. ? 0x7fffffff
  10776. : 0x3fffffff
  10777. }
  10778. function createBuffer (that, length) {
  10779. if (kMaxLength() < length) {
  10780. throw new RangeError('Invalid typed array length')
  10781. }
  10782. if (Buffer.TYPED_ARRAY_SUPPORT) {
  10783. // Return an augmented `Uint8Array` instance, for best performance
  10784. that = new Uint8Array(length)
  10785. that.__proto__ = Buffer.prototype
  10786. } else {
  10787. // Fallback: Return an object instance of the Buffer class
  10788. if (that === null) {
  10789. that = new Buffer(length)
  10790. }
  10791. that.length = length
  10792. }
  10793. return that
  10794. }
  10795. /**
  10796. * The Buffer constructor returns instances of `Uint8Array` that have their
  10797. * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
  10798. * `Uint8Array`, so the returned instances will have all the node `Buffer` methods
  10799. * and the `Uint8Array` methods. Square bracket notation works as expected -- it
  10800. * returns a single octet.
  10801. *
  10802. * The `Uint8Array` prototype remains unmodified.
  10803. */
  10804. function Buffer (arg, encodingOrOffset, length) {
  10805. if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {
  10806. return new Buffer(arg, encodingOrOffset, length)
  10807. }
  10808. // Common case.
  10809. if (typeof arg === 'number') {
  10810. if (typeof encodingOrOffset === 'string') {
  10811. throw new Error(
  10812. 'If encoding is specified then the first argument must be a string'
  10813. )
  10814. }
  10815. return allocUnsafe(this, arg)
  10816. }
  10817. return from(this, arg, encodingOrOffset, length)
  10818. }
  10819. Buffer.poolSize = 8192 // not used by this implementation
  10820. // TODO: Legacy, not needed anymore. Remove in next major version.
  10821. Buffer._augment = function (arr) {
  10822. arr.__proto__ = Buffer.prototype
  10823. return arr
  10824. }
  10825. function from (that, value, encodingOrOffset, length) {
  10826. if (typeof value === 'number') {
  10827. throw new TypeError('"value" argument must not be a number')
  10828. }
  10829. if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {
  10830. return fromArrayBuffer(that, value, encodingOrOffset, length)
  10831. }
  10832. if (typeof value === 'string') {
  10833. return fromString(that, value, encodingOrOffset)
  10834. }
  10835. return fromObject(that, value)
  10836. }
  10837. /**
  10838. * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
  10839. * if value is a number.
  10840. * Buffer.from(str[, encoding])
  10841. * Buffer.from(array)
  10842. * Buffer.from(buffer)
  10843. * Buffer.from(arrayBuffer[, byteOffset[, length]])
  10844. **/
  10845. Buffer.from = function (value, encodingOrOffset, length) {
  10846. return from(null, value, encodingOrOffset, length)
  10847. }
  10848. if (Buffer.TYPED_ARRAY_SUPPORT) {
  10849. Buffer.prototype.__proto__ = Uint8Array.prototype
  10850. Buffer.__proto__ = Uint8Array
  10851. if (typeof Symbol !== 'undefined' && Symbol.species &&
  10852. Buffer[Symbol.species] === Buffer) {
  10853. // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
  10854. Object.defineProperty(Buffer, Symbol.species, {
  10855. value: null,
  10856. configurable: true
  10857. })
  10858. }
  10859. }
  10860. function assertSize (size) {
  10861. if (typeof size !== 'number') {
  10862. throw new TypeError('"size" argument must be a number')
  10863. } else if (size < 0) {
  10864. throw new RangeError('"size" argument must not be negative')
  10865. }
  10866. }
  10867. function alloc (that, size, fill, encoding) {
  10868. assertSize(size)
  10869. if (size <= 0) {
  10870. return createBuffer(that, size)
  10871. }
  10872. if (fill !== undefined) {
  10873. // Only pay attention to encoding if it's a string. This
  10874. // prevents accidentally sending in a number that would
  10875. // be interpretted as a start offset.
  10876. return typeof encoding === 'string'
  10877. ? createBuffer(that, size).fill(fill, encoding)
  10878. : createBuffer(that, size).fill(fill)
  10879. }
  10880. return createBuffer(that, size)
  10881. }
  10882. /**
  10883. * Creates a new filled Buffer instance.
  10884. * alloc(size[, fill[, encoding]])
  10885. **/
  10886. Buffer.alloc = function (size, fill, encoding) {
  10887. return alloc(null, size, fill, encoding)
  10888. }
  10889. function allocUnsafe (that, size) {
  10890. assertSize(size)
  10891. that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)
  10892. if (!Buffer.TYPED_ARRAY_SUPPORT) {
  10893. for (var i = 0; i < size; ++i) {
  10894. that[i] = 0
  10895. }
  10896. }
  10897. return that
  10898. }
  10899. /**
  10900. * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
  10901. * */
  10902. Buffer.allocUnsafe = function (size) {
  10903. return allocUnsafe(null, size)
  10904. }
  10905. /**
  10906. * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
  10907. */
  10908. Buffer.allocUnsafeSlow = function (size) {
  10909. return allocUnsafe(null, size)
  10910. }
  10911. function fromString (that, string, encoding) {
  10912. if (typeof encoding !== 'string' || encoding === '') {
  10913. encoding = 'utf8'
  10914. }
  10915. if (!Buffer.isEncoding(encoding)) {
  10916. throw new TypeError('"encoding" must be a valid string encoding')
  10917. }
  10918. var length = byteLength(string, encoding) | 0
  10919. that = createBuffer(that, length)
  10920. var actual = that.write(string, encoding)
  10921. if (actual !== length) {
  10922. // Writing a hex string, for example, that contains invalid characters will
  10923. // cause everything after the first invalid character to be ignored. (e.g.
  10924. // 'abxxcd' will be treated as 'ab')
  10925. that = that.slice(0, actual)
  10926. }
  10927. return that
  10928. }
  10929. function fromArrayLike (that, array) {
  10930. var length = array.length < 0 ? 0 : checked(array.length) | 0
  10931. that = createBuffer(that, length)
  10932. for (var i = 0; i < length; i += 1) {
  10933. that[i] = array[i] & 255
  10934. }
  10935. return that
  10936. }
  10937. function fromArrayBuffer (that, array, byteOffset, length) {
  10938. array.byteLength // this throws if `array` is not a valid ArrayBuffer
  10939. if (byteOffset < 0 || array.byteLength < byteOffset) {
  10940. throw new RangeError('\'offset\' is out of bounds')
  10941. }
  10942. if (array.byteLength < byteOffset + (length || 0)) {
  10943. throw new RangeError('\'length\' is out of bounds')
  10944. }
  10945. if (byteOffset === undefined && length === undefined) {
  10946. array = new Uint8Array(array)
  10947. } else if (length === undefined) {
  10948. array = new Uint8Array(array, byteOffset)
  10949. } else {
  10950. array = new Uint8Array(array, byteOffset, length)
  10951. }
  10952. if (Buffer.TYPED_ARRAY_SUPPORT) {
  10953. // Return an augmented `Uint8Array` instance, for best performance
  10954. that = array
  10955. that.__proto__ = Buffer.prototype
  10956. } else {
  10957. // Fallback: Return an object instance of the Buffer class
  10958. that = fromArrayLike(that, array)
  10959. }
  10960. return that
  10961. }
  10962. function fromObject (that, obj) {
  10963. if (Buffer.isBuffer(obj)) {
  10964. var len = checked(obj.length) | 0
  10965. that = createBuffer(that, len)
  10966. if (that.length === 0) {
  10967. return that
  10968. }
  10969. obj.copy(that, 0, 0, len)
  10970. return that
  10971. }
  10972. if (obj) {
  10973. if ((typeof ArrayBuffer !== 'undefined' &&
  10974. obj.buffer instanceof ArrayBuffer) || 'length' in obj) {
  10975. if (typeof obj.length !== 'number' || isnan(obj.length)) {
  10976. return createBuffer(that, 0)
  10977. }
  10978. return fromArrayLike(that, obj)
  10979. }
  10980. if (obj.type === 'Buffer' && isArray(obj.data)) {
  10981. return fromArrayLike(that, obj.data)
  10982. }
  10983. }
  10984. throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')
  10985. }
  10986. function checked (length) {
  10987. // Note: cannot use `length < kMaxLength()` here because that fails when
  10988. // length is NaN (which is otherwise coerced to zero.)
  10989. if (length >= kMaxLength()) {
  10990. throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
  10991. 'size: 0x' + kMaxLength().toString(16) + ' bytes')
  10992. }
  10993. return length | 0
  10994. }
  10995. function SlowBuffer (length) {
  10996. if (+length != length) { // eslint-disable-line eqeqeq
  10997. length = 0
  10998. }
  10999. return Buffer.alloc(+length)
  11000. }
  11001. Buffer.isBuffer = function isBuffer (b) {
  11002. return !!(b != null && b._isBuffer)
  11003. }
  11004. Buffer.compare = function compare (a, b) {
  11005. if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
  11006. throw new TypeError('Arguments must be Buffers')
  11007. }
  11008. if (a === b) return 0
  11009. var x = a.length
  11010. var y = b.length
  11011. for (var i = 0, len = Math.min(x, y); i < len; ++i) {
  11012. if (a[i] !== b[i]) {
  11013. x = a[i]
  11014. y = b[i]
  11015. break
  11016. }
  11017. }
  11018. if (x < y) return -1
  11019. if (y < x) return 1
  11020. return 0
  11021. }
  11022. Buffer.isEncoding = function isEncoding (encoding) {
  11023. switch (String(encoding).toLowerCase()) {
  11024. case 'hex':
  11025. case 'utf8':
  11026. case 'utf-8':
  11027. case 'ascii':
  11028. case 'latin1':
  11029. case 'binary':
  11030. case 'base64':
  11031. case 'ucs2':
  11032. case 'ucs-2':
  11033. case 'utf16le':
  11034. case 'utf-16le':
  11035. return true
  11036. default:
  11037. return false
  11038. }
  11039. }
  11040. Buffer.concat = function concat (list, length) {
  11041. if (!isArray(list)) {
  11042. throw new TypeError('"list" argument must be an Array of Buffers')
  11043. }
  11044. if (list.length === 0) {
  11045. return Buffer.alloc(0)
  11046. }
  11047. var i
  11048. if (length === undefined) {
  11049. length = 0
  11050. for (i = 0; i < list.length; ++i) {
  11051. length += list[i].length
  11052. }
  11053. }
  11054. var buffer = Buffer.allocUnsafe(length)
  11055. var pos = 0
  11056. for (i = 0; i < list.length; ++i) {
  11057. var buf = list[i]
  11058. if (!Buffer.isBuffer(buf)) {
  11059. throw new TypeError('"list" argument must be an Array of Buffers')
  11060. }
  11061. buf.copy(buffer, pos)
  11062. pos += buf.length
  11063. }
  11064. return buffer
  11065. }
  11066. function byteLength (string, encoding) {
  11067. if (Buffer.isBuffer(string)) {
  11068. return string.length
  11069. }
  11070. if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&
  11071. (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {
  11072. return string.byteLength
  11073. }
  11074. if (typeof string !== 'string') {
  11075. string = '' + string
  11076. }
  11077. var len = string.length
  11078. if (len === 0) return 0
  11079. // Use a for loop to avoid recursion
  11080. var loweredCase = false
  11081. for (;;) {
  11082. switch (encoding) {
  11083. case 'ascii':
  11084. case 'latin1':
  11085. case 'binary':
  11086. return len
  11087. case 'utf8':
  11088. case 'utf-8':
  11089. case undefined:
  11090. return utf8ToBytes(string).length
  11091. case 'ucs2':
  11092. case 'ucs-2':
  11093. case 'utf16le':
  11094. case 'utf-16le':
  11095. return len * 2
  11096. case 'hex':
  11097. return len >>> 1
  11098. case 'base64':
  11099. return base64ToBytes(string).length
  11100. default:
  11101. if (loweredCase) return utf8ToBytes(string).length // assume utf8
  11102. encoding = ('' + encoding).toLowerCase()
  11103. loweredCase = true
  11104. }
  11105. }
  11106. }
  11107. Buffer.byteLength = byteLength
  11108. function slowToString (encoding, start, end) {
  11109. var loweredCase = false
  11110. // No need to verify that "this.length <= MAX_UINT32" since it's a read-only
  11111. // property of a typed array.
  11112. // This behaves neither like String nor Uint8Array in that we set start/end
  11113. // to their upper/lower bounds if the value passed is out of range.
  11114. // undefined is handled specially as per ECMA-262 6th Edition,
  11115. // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
  11116. if (start === undefined || start < 0) {
  11117. start = 0
  11118. }
  11119. // Return early if start > this.length. Done here to prevent potential uint32
  11120. // coercion fail below.
  11121. if (start > this.length) {
  11122. return ''
  11123. }
  11124. if (end === undefined || end > this.length) {
  11125. end = this.length
  11126. }
  11127. if (end <= 0) {
  11128. return ''
  11129. }
  11130. // Force coersion to uint32. This will also coerce falsey/NaN values to 0.
  11131. end >>>= 0
  11132. start >>>= 0
  11133. if (end <= start) {
  11134. return ''
  11135. }
  11136. if (!encoding) encoding = 'utf8'
  11137. while (true) {
  11138. switch (encoding) {
  11139. case 'hex':
  11140. return hexSlice(this, start, end)
  11141. case 'utf8':
  11142. case 'utf-8':
  11143. return utf8Slice(this, start, end)
  11144. case 'ascii':
  11145. return asciiSlice(this, start, end)
  11146. case 'latin1':
  11147. case 'binary':
  11148. return latin1Slice(this, start, end)
  11149. case 'base64':
  11150. return base64Slice(this, start, end)
  11151. case 'ucs2':
  11152. case 'ucs-2':
  11153. case 'utf16le':
  11154. case 'utf-16le':
  11155. return utf16leSlice(this, start, end)
  11156. default:
  11157. if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
  11158. encoding = (encoding + '').toLowerCase()
  11159. loweredCase = true
  11160. }
  11161. }
  11162. }
  11163. // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect
  11164. // Buffer instances.
  11165. Buffer.prototype._isBuffer = true
  11166. function swap (b, n, m) {
  11167. var i = b[n]
  11168. b[n] = b[m]
  11169. b[m] = i
  11170. }
  11171. Buffer.prototype.swap16 = function swap16 () {
  11172. var len = this.length
  11173. if (len % 2 !== 0) {
  11174. throw new RangeError('Buffer size must be a multiple of 16-bits')
  11175. }
  11176. for (var i = 0; i < len; i += 2) {
  11177. swap(this, i, i + 1)
  11178. }
  11179. return this
  11180. }
  11181. Buffer.prototype.swap32 = function swap32 () {
  11182. var len = this.length
  11183. if (len % 4 !== 0) {
  11184. throw new RangeError('Buffer size must be a multiple of 32-bits')
  11185. }
  11186. for (var i = 0; i < len; i += 4) {
  11187. swap(this, i, i + 3)
  11188. swap(this, i + 1, i + 2)
  11189. }
  11190. return this
  11191. }
  11192. Buffer.prototype.swap64 = function swap64 () {
  11193. var len = this.length
  11194. if (len % 8 !== 0) {
  11195. throw new RangeError('Buffer size must be a multiple of 64-bits')
  11196. }
  11197. for (var i = 0; i < len; i += 8) {
  11198. swap(this, i, i + 7)
  11199. swap(this, i + 1, i + 6)
  11200. swap(this, i + 2, i + 5)
  11201. swap(this, i + 3, i + 4)
  11202. }
  11203. return this
  11204. }
  11205. Buffer.prototype.toString = function toString () {
  11206. var length = this.length | 0
  11207. if (length === 0) return ''
  11208. if (arguments.length === 0) return utf8Slice(this, 0, length)
  11209. return slowToString.apply(this, arguments)
  11210. }
  11211. Buffer.prototype.equals = function equals (b) {
  11212. if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
  11213. if (this === b) return true
  11214. return Buffer.compare(this, b) === 0
  11215. }
  11216. Buffer.prototype.inspect = function inspect () {
  11217. var str = ''
  11218. var max = exports.INSPECT_MAX_BYTES
  11219. if (this.length > 0) {
  11220. str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')
  11221. if (this.length > max) str += ' ... '
  11222. }
  11223. return '<Buffer ' + str + '>'
  11224. }
  11225. Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
  11226. if (!Buffer.isBuffer(target)) {
  11227. throw new TypeError('Argument must be a Buffer')
  11228. }
  11229. if (start === undefined) {
  11230. start = 0
  11231. }
  11232. if (end === undefined) {
  11233. end = target ? target.length : 0
  11234. }
  11235. if (thisStart === undefined) {
  11236. thisStart = 0
  11237. }
  11238. if (thisEnd === undefined) {
  11239. thisEnd = this.length
  11240. }
  11241. if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
  11242. throw new RangeError('out of range index')
  11243. }
  11244. if (thisStart >= thisEnd && start >= end) {
  11245. return 0
  11246. }
  11247. if (thisStart >= thisEnd) {
  11248. return -1
  11249. }
  11250. if (start >= end) {
  11251. return 1
  11252. }
  11253. start >>>= 0
  11254. end >>>= 0
  11255. thisStart >>>= 0
  11256. thisEnd >>>= 0
  11257. if (this === target) return 0
  11258. var x = thisEnd - thisStart
  11259. var y = end - start
  11260. var len = Math.min(x, y)
  11261. var thisCopy = this.slice(thisStart, thisEnd)
  11262. var targetCopy = target.slice(start, end)
  11263. for (var i = 0; i < len; ++i) {
  11264. if (thisCopy[i] !== targetCopy[i]) {
  11265. x = thisCopy[i]
  11266. y = targetCopy[i]
  11267. break
  11268. }
  11269. }
  11270. if (x < y) return -1
  11271. if (y < x) return 1
  11272. return 0
  11273. }
  11274. // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
  11275. // OR the last index of `val` in `buffer` at offset <= `byteOffset`.
  11276. //
  11277. // Arguments:
  11278. // - buffer - a Buffer to search
  11279. // - val - a string, Buffer, or number
  11280. // - byteOffset - an index into `buffer`; will be clamped to an int32
  11281. // - encoding - an optional encoding, relevant is val is a string
  11282. // - dir - true for indexOf, false for lastIndexOf
  11283. function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
  11284. // Empty buffer means no match
  11285. if (buffer.length === 0) return -1
  11286. // Normalize byteOffset
  11287. if (typeof byteOffset === 'string') {
  11288. encoding = byteOffset
  11289. byteOffset = 0
  11290. } else if (byteOffset > 0x7fffffff) {
  11291. byteOffset = 0x7fffffff
  11292. } else if (byteOffset < -0x80000000) {
  11293. byteOffset = -0x80000000
  11294. }
  11295. byteOffset = +byteOffset // Coerce to Number.
  11296. if (isNaN(byteOffset)) {
  11297. // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
  11298. byteOffset = dir ? 0 : (buffer.length - 1)
  11299. }
  11300. // Normalize byteOffset: negative offsets start from the end of the buffer
  11301. if (byteOffset < 0) byteOffset = buffer.length + byteOffset
  11302. if (byteOffset >= buffer.length) {
  11303. if (dir) return -1
  11304. else byteOffset = buffer.length - 1
  11305. } else if (byteOffset < 0) {
  11306. if (dir) byteOffset = 0
  11307. else return -1
  11308. }
  11309. // Normalize val
  11310. if (typeof val === 'string') {
  11311. val = Buffer.from(val, encoding)
  11312. }
  11313. // Finally, search either indexOf (if dir is true) or lastIndexOf
  11314. if (Buffer.isBuffer(val)) {
  11315. // Special case: looking for empty string/buffer always fails
  11316. if (val.length === 0) {
  11317. return -1
  11318. }
  11319. return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
  11320. } else if (typeof val === 'number') {
  11321. val = val & 0xFF // Search for a byte value [0-255]
  11322. if (Buffer.TYPED_ARRAY_SUPPORT &&
  11323. typeof Uint8Array.prototype.indexOf === 'function') {
  11324. if (dir) {
  11325. return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
  11326. } else {
  11327. return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
  11328. }
  11329. }
  11330. return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)
  11331. }
  11332. throw new TypeError('val must be string, number or Buffer')
  11333. }
  11334. function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
  11335. var indexSize = 1
  11336. var arrLength = arr.length
  11337. var valLength = val.length
  11338. if (encoding !== undefined) {
  11339. encoding = String(encoding).toLowerCase()
  11340. if (encoding === 'ucs2' || encoding === 'ucs-2' ||
  11341. encoding === 'utf16le' || encoding === 'utf-16le') {
  11342. if (arr.length < 2 || val.length < 2) {
  11343. return -1
  11344. }
  11345. indexSize = 2
  11346. arrLength /= 2
  11347. valLength /= 2
  11348. byteOffset /= 2
  11349. }
  11350. }
  11351. function read (buf, i) {
  11352. if (indexSize === 1) {
  11353. return buf[i]
  11354. } else {
  11355. return buf.readUInt16BE(i * indexSize)
  11356. }
  11357. }
  11358. var i
  11359. if (dir) {
  11360. var foundIndex = -1
  11361. for (i = byteOffset; i < arrLength; i++) {
  11362. if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
  11363. if (foundIndex === -1) foundIndex = i
  11364. if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
  11365. } else {
  11366. if (foundIndex !== -1) i -= i - foundIndex
  11367. foundIndex = -1
  11368. }
  11369. }
  11370. } else {
  11371. if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength
  11372. for (i = byteOffset; i >= 0; i--) {
  11373. var found = true
  11374. for (var j = 0; j < valLength; j++) {
  11375. if (read(arr, i + j) !== read(val, j)) {
  11376. found = false
  11377. break
  11378. }
  11379. }
  11380. if (found) return i
  11381. }
  11382. }
  11383. return -1
  11384. }
  11385. Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
  11386. return this.indexOf(val, byteOffset, encoding) !== -1
  11387. }
  11388. Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
  11389. return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
  11390. }
  11391. Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
  11392. return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
  11393. }
  11394. function hexWrite (buf, string, offset, length) {
  11395. offset = Number(offset) || 0
  11396. var remaining = buf.length - offset
  11397. if (!length) {
  11398. length = remaining
  11399. } else {
  11400. length = Number(length)
  11401. if (length > remaining) {
  11402. length = remaining
  11403. }
  11404. }
  11405. // must be an even number of digits
  11406. var strLen = string.length
  11407. if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')
  11408. if (length > strLen / 2) {
  11409. length = strLen / 2
  11410. }
  11411. for (var i = 0; i < length; ++i) {
  11412. var parsed = parseInt(string.substr(i * 2, 2), 16)
  11413. if (isNaN(parsed)) return i
  11414. buf[offset + i] = parsed
  11415. }
  11416. return i
  11417. }
  11418. function utf8Write (buf, string, offset, length) {
  11419. return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
  11420. }
  11421. function asciiWrite (buf, string, offset, length) {
  11422. return blitBuffer(asciiToBytes(string), buf, offset, length)
  11423. }
  11424. function latin1Write (buf, string, offset, length) {
  11425. return asciiWrite(buf, string, offset, length)
  11426. }
  11427. function base64Write (buf, string, offset, length) {
  11428. return blitBuffer(base64ToBytes(string), buf, offset, length)
  11429. }
  11430. function ucs2Write (buf, string, offset, length) {
  11431. return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
  11432. }
  11433. Buffer.prototype.write = function write (string, offset, length, encoding) {
  11434. // Buffer#write(string)
  11435. if (offset === undefined) {
  11436. encoding = 'utf8'
  11437. length = this.length
  11438. offset = 0
  11439. // Buffer#write(string, encoding)
  11440. } else if (length === undefined && typeof offset === 'string') {
  11441. encoding = offset
  11442. length = this.length
  11443. offset = 0
  11444. // Buffer#write(string, offset[, length][, encoding])
  11445. } else if (isFinite(offset)) {
  11446. offset = offset | 0
  11447. if (isFinite(length)) {
  11448. length = length | 0
  11449. if (encoding === undefined) encoding = 'utf8'
  11450. } else {
  11451. encoding = length
  11452. length = undefined
  11453. }
  11454. // legacy write(string, encoding, offset, length) - remove in v0.13
  11455. } else {
  11456. throw new Error(
  11457. 'Buffer.write(string, encoding, offset[, length]) is no longer supported'
  11458. )
  11459. }
  11460. var remaining = this.length - offset
  11461. if (length === undefined || length > remaining) length = remaining
  11462. if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
  11463. throw new RangeError('Attempt to write outside buffer bounds')
  11464. }
  11465. if (!encoding) encoding = 'utf8'
  11466. var loweredCase = false
  11467. for (;;) {
  11468. switch (encoding) {
  11469. case 'hex':
  11470. return hexWrite(this, string, offset, length)
  11471. case 'utf8':
  11472. case 'utf-8':
  11473. return utf8Write(this, string, offset, length)
  11474. case 'ascii':
  11475. return asciiWrite(this, string, offset, length)
  11476. case 'latin1':
  11477. case 'binary':
  11478. return latin1Write(this, string, offset, length)
  11479. case 'base64':
  11480. // Warning: maxLength not taken into account in base64Write
  11481. return base64Write(this, string, offset, length)
  11482. case 'ucs2':
  11483. case 'ucs-2':
  11484. case 'utf16le':
  11485. case 'utf-16le':
  11486. return ucs2Write(this, string, offset, length)
  11487. default:
  11488. if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
  11489. encoding = ('' + encoding).toLowerCase()
  11490. loweredCase = true
  11491. }
  11492. }
  11493. }
  11494. Buffer.prototype.toJSON = function toJSON () {
  11495. return {
  11496. type: 'Buffer',
  11497. data: Array.prototype.slice.call(this._arr || this, 0)
  11498. }
  11499. }
  11500. function base64Slice (buf, start, end) {
  11501. if (start === 0 && end === buf.length) {
  11502. return base64.fromByteArray(buf)
  11503. } else {
  11504. return base64.fromByteArray(buf.slice(start, end))
  11505. }
  11506. }
  11507. function utf8Slice (buf, start, end) {
  11508. end = Math.min(buf.length, end)
  11509. var res = []
  11510. var i = start
  11511. while (i < end) {
  11512. var firstByte = buf[i]
  11513. var codePoint = null
  11514. var bytesPerSequence = (firstByte > 0xEF) ? 4
  11515. : (firstByte > 0xDF) ? 3
  11516. : (firstByte > 0xBF) ? 2
  11517. : 1
  11518. if (i + bytesPerSequence <= end) {
  11519. var secondByte, thirdByte, fourthByte, tempCodePoint
  11520. switch (bytesPerSequence) {
  11521. case 1:
  11522. if (firstByte < 0x80) {
  11523. codePoint = firstByte
  11524. }
  11525. break
  11526. case 2:
  11527. secondByte = buf[i + 1]
  11528. if ((secondByte & 0xC0) === 0x80) {
  11529. tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
  11530. if (tempCodePoint > 0x7F) {
  11531. codePoint = tempCodePoint
  11532. }
  11533. }
  11534. break
  11535. case 3:
  11536. secondByte = buf[i + 1]
  11537. thirdByte = buf[i + 2]
  11538. if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
  11539. tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
  11540. if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
  11541. codePoint = tempCodePoint
  11542. }
  11543. }
  11544. break
  11545. case 4:
  11546. secondByte = buf[i + 1]
  11547. thirdByte = buf[i + 2]
  11548. fourthByte = buf[i + 3]
  11549. if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
  11550. tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
  11551. if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
  11552. codePoint = tempCodePoint
  11553. }
  11554. }
  11555. }
  11556. }
  11557. if (codePoint === null) {
  11558. // we did not generate a valid codePoint so insert a
  11559. // replacement char (U+FFFD) and advance only 1 byte
  11560. codePoint = 0xFFFD
  11561. bytesPerSequence = 1
  11562. } else if (codePoint > 0xFFFF) {
  11563. // encode to utf16 (surrogate pair dance)
  11564. codePoint -= 0x10000
  11565. res.push(codePoint >>> 10 & 0x3FF | 0xD800)
  11566. codePoint = 0xDC00 | codePoint & 0x3FF
  11567. }
  11568. res.push(codePoint)
  11569. i += bytesPerSequence
  11570. }
  11571. return decodeCodePointsArray(res)
  11572. }
  11573. // Based on http://stackoverflow.com/a/22747272/680742, the browser with
  11574. // the lowest limit is Chrome, with 0x10000 args.
  11575. // We go 1 magnitude less, for safety
  11576. var MAX_ARGUMENTS_LENGTH = 0x1000
  11577. function decodeCodePointsArray (codePoints) {
  11578. var len = codePoints.length
  11579. if (len <= MAX_ARGUMENTS_LENGTH) {
  11580. return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
  11581. }
  11582. // Decode in chunks to avoid "call stack size exceeded".
  11583. var res = ''
  11584. var i = 0
  11585. while (i < len) {
  11586. res += String.fromCharCode.apply(
  11587. String,
  11588. codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
  11589. )
  11590. }
  11591. return res
  11592. }
  11593. function asciiSlice (buf, start, end) {
  11594. var ret = ''
  11595. end = Math.min(buf.length, end)
  11596. for (var i = start; i < end; ++i) {
  11597. ret += String.fromCharCode(buf[i] & 0x7F)
  11598. }
  11599. return ret
  11600. }
  11601. function latin1Slice (buf, start, end) {
  11602. var ret = ''
  11603. end = Math.min(buf.length, end)
  11604. for (var i = start; i < end; ++i) {
  11605. ret += String.fromCharCode(buf[i])
  11606. }
  11607. return ret
  11608. }
  11609. function hexSlice (buf, start, end) {
  11610. var len = buf.length
  11611. if (!start || start < 0) start = 0
  11612. if (!end || end < 0 || end > len) end = len
  11613. var out = ''
  11614. for (var i = start; i < end; ++i) {
  11615. out += toHex(buf[i])
  11616. }
  11617. return out
  11618. }
  11619. function utf16leSlice (buf, start, end) {
  11620. var bytes = buf.slice(start, end)
  11621. var res = ''
  11622. for (var i = 0; i < bytes.length; i += 2) {
  11623. res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
  11624. }
  11625. return res
  11626. }
  11627. Buffer.prototype.slice = function slice (start, end) {
  11628. var len = this.length
  11629. start = ~~start
  11630. end = end === undefined ? len : ~~end
  11631. if (start < 0) {
  11632. start += len
  11633. if (start < 0) start = 0
  11634. } else if (start > len) {
  11635. start = len
  11636. }
  11637. if (end < 0) {
  11638. end += len
  11639. if (end < 0) end = 0
  11640. } else if (end > len) {
  11641. end = len
  11642. }
  11643. if (end < start) end = start
  11644. var newBuf
  11645. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11646. newBuf = this.subarray(start, end)
  11647. newBuf.__proto__ = Buffer.prototype
  11648. } else {
  11649. var sliceLen = end - start
  11650. newBuf = new Buffer(sliceLen, undefined)
  11651. for (var i = 0; i < sliceLen; ++i) {
  11652. newBuf[i] = this[i + start]
  11653. }
  11654. }
  11655. return newBuf
  11656. }
  11657. /*
  11658. * Need to make sure that buffer isn't trying to write out of bounds.
  11659. */
  11660. function checkOffset (offset, ext, length) {
  11661. if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
  11662. if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
  11663. }
  11664. Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
  11665. offset = offset | 0
  11666. byteLength = byteLength | 0
  11667. if (!noAssert) checkOffset(offset, byteLength, this.length)
  11668. var val = this[offset]
  11669. var mul = 1
  11670. var i = 0
  11671. while (++i < byteLength && (mul *= 0x100)) {
  11672. val += this[offset + i] * mul
  11673. }
  11674. return val
  11675. }
  11676. Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
  11677. offset = offset | 0
  11678. byteLength = byteLength | 0
  11679. if (!noAssert) {
  11680. checkOffset(offset, byteLength, this.length)
  11681. }
  11682. var val = this[offset + --byteLength]
  11683. var mul = 1
  11684. while (byteLength > 0 && (mul *= 0x100)) {
  11685. val += this[offset + --byteLength] * mul
  11686. }
  11687. return val
  11688. }
  11689. Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
  11690. if (!noAssert) checkOffset(offset, 1, this.length)
  11691. return this[offset]
  11692. }
  11693. Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
  11694. if (!noAssert) checkOffset(offset, 2, this.length)
  11695. return this[offset] | (this[offset + 1] << 8)
  11696. }
  11697. Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
  11698. if (!noAssert) checkOffset(offset, 2, this.length)
  11699. return (this[offset] << 8) | this[offset + 1]
  11700. }
  11701. Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
  11702. if (!noAssert) checkOffset(offset, 4, this.length)
  11703. return ((this[offset]) |
  11704. (this[offset + 1] << 8) |
  11705. (this[offset + 2] << 16)) +
  11706. (this[offset + 3] * 0x1000000)
  11707. }
  11708. Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
  11709. if (!noAssert) checkOffset(offset, 4, this.length)
  11710. return (this[offset] * 0x1000000) +
  11711. ((this[offset + 1] << 16) |
  11712. (this[offset + 2] << 8) |
  11713. this[offset + 3])
  11714. }
  11715. Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
  11716. offset = offset | 0
  11717. byteLength = byteLength | 0
  11718. if (!noAssert) checkOffset(offset, byteLength, this.length)
  11719. var val = this[offset]
  11720. var mul = 1
  11721. var i = 0
  11722. while (++i < byteLength && (mul *= 0x100)) {
  11723. val += this[offset + i] * mul
  11724. }
  11725. mul *= 0x80
  11726. if (val >= mul) val -= Math.pow(2, 8 * byteLength)
  11727. return val
  11728. }
  11729. Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
  11730. offset = offset | 0
  11731. byteLength = byteLength | 0
  11732. if (!noAssert) checkOffset(offset, byteLength, this.length)
  11733. var i = byteLength
  11734. var mul = 1
  11735. var val = this[offset + --i]
  11736. while (i > 0 && (mul *= 0x100)) {
  11737. val += this[offset + --i] * mul
  11738. }
  11739. mul *= 0x80
  11740. if (val >= mul) val -= Math.pow(2, 8 * byteLength)
  11741. return val
  11742. }
  11743. Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
  11744. if (!noAssert) checkOffset(offset, 1, this.length)
  11745. if (!(this[offset] & 0x80)) return (this[offset])
  11746. return ((0xff - this[offset] + 1) * -1)
  11747. }
  11748. Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
  11749. if (!noAssert) checkOffset(offset, 2, this.length)
  11750. var val = this[offset] | (this[offset + 1] << 8)
  11751. return (val & 0x8000) ? val | 0xFFFF0000 : val
  11752. }
  11753. Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
  11754. if (!noAssert) checkOffset(offset, 2, this.length)
  11755. var val = this[offset + 1] | (this[offset] << 8)
  11756. return (val & 0x8000) ? val | 0xFFFF0000 : val
  11757. }
  11758. Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
  11759. if (!noAssert) checkOffset(offset, 4, this.length)
  11760. return (this[offset]) |
  11761. (this[offset + 1] << 8) |
  11762. (this[offset + 2] << 16) |
  11763. (this[offset + 3] << 24)
  11764. }
  11765. Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
  11766. if (!noAssert) checkOffset(offset, 4, this.length)
  11767. return (this[offset] << 24) |
  11768. (this[offset + 1] << 16) |
  11769. (this[offset + 2] << 8) |
  11770. (this[offset + 3])
  11771. }
  11772. Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
  11773. if (!noAssert) checkOffset(offset, 4, this.length)
  11774. return ieee754.read(this, offset, true, 23, 4)
  11775. }
  11776. Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
  11777. if (!noAssert) checkOffset(offset, 4, this.length)
  11778. return ieee754.read(this, offset, false, 23, 4)
  11779. }
  11780. Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
  11781. if (!noAssert) checkOffset(offset, 8, this.length)
  11782. return ieee754.read(this, offset, true, 52, 8)
  11783. }
  11784. Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
  11785. if (!noAssert) checkOffset(offset, 8, this.length)
  11786. return ieee754.read(this, offset, false, 52, 8)
  11787. }
  11788. function checkInt (buf, value, offset, ext, max, min) {
  11789. if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
  11790. if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
  11791. if (offset + ext > buf.length) throw new RangeError('Index out of range')
  11792. }
  11793. Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
  11794. value = +value
  11795. offset = offset | 0
  11796. byteLength = byteLength | 0
  11797. if (!noAssert) {
  11798. var maxBytes = Math.pow(2, 8 * byteLength) - 1
  11799. checkInt(this, value, offset, byteLength, maxBytes, 0)
  11800. }
  11801. var mul = 1
  11802. var i = 0
  11803. this[offset] = value & 0xFF
  11804. while (++i < byteLength && (mul *= 0x100)) {
  11805. this[offset + i] = (value / mul) & 0xFF
  11806. }
  11807. return offset + byteLength
  11808. }
  11809. Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
  11810. value = +value
  11811. offset = offset | 0
  11812. byteLength = byteLength | 0
  11813. if (!noAssert) {
  11814. var maxBytes = Math.pow(2, 8 * byteLength) - 1
  11815. checkInt(this, value, offset, byteLength, maxBytes, 0)
  11816. }
  11817. var i = byteLength - 1
  11818. var mul = 1
  11819. this[offset + i] = value & 0xFF
  11820. while (--i >= 0 && (mul *= 0x100)) {
  11821. this[offset + i] = (value / mul) & 0xFF
  11822. }
  11823. return offset + byteLength
  11824. }
  11825. Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
  11826. value = +value
  11827. offset = offset | 0
  11828. if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
  11829. if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
  11830. this[offset] = (value & 0xff)
  11831. return offset + 1
  11832. }
  11833. function objectWriteUInt16 (buf, value, offset, littleEndian) {
  11834. if (value < 0) value = 0xffff + value + 1
  11835. for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {
  11836. buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
  11837. (littleEndian ? i : 1 - i) * 8
  11838. }
  11839. }
  11840. Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
  11841. value = +value
  11842. offset = offset | 0
  11843. if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  11844. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11845. this[offset] = (value & 0xff)
  11846. this[offset + 1] = (value >>> 8)
  11847. } else {
  11848. objectWriteUInt16(this, value, offset, true)
  11849. }
  11850. return offset + 2
  11851. }
  11852. Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
  11853. value = +value
  11854. offset = offset | 0
  11855. if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  11856. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11857. this[offset] = (value >>> 8)
  11858. this[offset + 1] = (value & 0xff)
  11859. } else {
  11860. objectWriteUInt16(this, value, offset, false)
  11861. }
  11862. return offset + 2
  11863. }
  11864. function objectWriteUInt32 (buf, value, offset, littleEndian) {
  11865. if (value < 0) value = 0xffffffff + value + 1
  11866. for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {
  11867. buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
  11868. }
  11869. }
  11870. Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
  11871. value = +value
  11872. offset = offset | 0
  11873. if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  11874. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11875. this[offset + 3] = (value >>> 24)
  11876. this[offset + 2] = (value >>> 16)
  11877. this[offset + 1] = (value >>> 8)
  11878. this[offset] = (value & 0xff)
  11879. } else {
  11880. objectWriteUInt32(this, value, offset, true)
  11881. }
  11882. return offset + 4
  11883. }
  11884. Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
  11885. value = +value
  11886. offset = offset | 0
  11887. if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  11888. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11889. this[offset] = (value >>> 24)
  11890. this[offset + 1] = (value >>> 16)
  11891. this[offset + 2] = (value >>> 8)
  11892. this[offset + 3] = (value & 0xff)
  11893. } else {
  11894. objectWriteUInt32(this, value, offset, false)
  11895. }
  11896. return offset + 4
  11897. }
  11898. Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
  11899. value = +value
  11900. offset = offset | 0
  11901. if (!noAssert) {
  11902. var limit = Math.pow(2, 8 * byteLength - 1)
  11903. checkInt(this, value, offset, byteLength, limit - 1, -limit)
  11904. }
  11905. var i = 0
  11906. var mul = 1
  11907. var sub = 0
  11908. this[offset] = value & 0xFF
  11909. while (++i < byteLength && (mul *= 0x100)) {
  11910. if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
  11911. sub = 1
  11912. }
  11913. this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  11914. }
  11915. return offset + byteLength
  11916. }
  11917. Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
  11918. value = +value
  11919. offset = offset | 0
  11920. if (!noAssert) {
  11921. var limit = Math.pow(2, 8 * byteLength - 1)
  11922. checkInt(this, value, offset, byteLength, limit - 1, -limit)
  11923. }
  11924. var i = byteLength - 1
  11925. var mul = 1
  11926. var sub = 0
  11927. this[offset + i] = value & 0xFF
  11928. while (--i >= 0 && (mul *= 0x100)) {
  11929. if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
  11930. sub = 1
  11931. }
  11932. this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  11933. }
  11934. return offset + byteLength
  11935. }
  11936. Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
  11937. value = +value
  11938. offset = offset | 0
  11939. if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
  11940. if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
  11941. if (value < 0) value = 0xff + value + 1
  11942. this[offset] = (value & 0xff)
  11943. return offset + 1
  11944. }
  11945. Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
  11946. value = +value
  11947. offset = offset | 0
  11948. if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  11949. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11950. this[offset] = (value & 0xff)
  11951. this[offset + 1] = (value >>> 8)
  11952. } else {
  11953. objectWriteUInt16(this, value, offset, true)
  11954. }
  11955. return offset + 2
  11956. }
  11957. Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
  11958. value = +value
  11959. offset = offset | 0
  11960. if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  11961. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11962. this[offset] = (value >>> 8)
  11963. this[offset + 1] = (value & 0xff)
  11964. } else {
  11965. objectWriteUInt16(this, value, offset, false)
  11966. }
  11967. return offset + 2
  11968. }
  11969. Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
  11970. value = +value
  11971. offset = offset | 0
  11972. if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  11973. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11974. this[offset] = (value & 0xff)
  11975. this[offset + 1] = (value >>> 8)
  11976. this[offset + 2] = (value >>> 16)
  11977. this[offset + 3] = (value >>> 24)
  11978. } else {
  11979. objectWriteUInt32(this, value, offset, true)
  11980. }
  11981. return offset + 4
  11982. }
  11983. Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
  11984. value = +value
  11985. offset = offset | 0
  11986. if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  11987. if (value < 0) value = 0xffffffff + value + 1
  11988. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11989. this[offset] = (value >>> 24)
  11990. this[offset + 1] = (value >>> 16)
  11991. this[offset + 2] = (value >>> 8)
  11992. this[offset + 3] = (value & 0xff)
  11993. } else {
  11994. objectWriteUInt32(this, value, offset, false)
  11995. }
  11996. return offset + 4
  11997. }
  11998. function checkIEEE754 (buf, value, offset, ext, max, min) {
  11999. if (offset + ext > buf.length) throw new RangeError('Index out of range')
  12000. if (offset < 0) throw new RangeError('Index out of range')
  12001. }
  12002. function writeFloat (buf, value, offset, littleEndian, noAssert) {
  12003. if (!noAssert) {
  12004. checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
  12005. }
  12006. ieee754.write(buf, value, offset, littleEndian, 23, 4)
  12007. return offset + 4
  12008. }
  12009. Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
  12010. return writeFloat(this, value, offset, true, noAssert)
  12011. }
  12012. Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
  12013. return writeFloat(this, value, offset, false, noAssert)
  12014. }
  12015. function writeDouble (buf, value, offset, littleEndian, noAssert) {
  12016. if (!noAssert) {
  12017. checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
  12018. }
  12019. ieee754.write(buf, value, offset, littleEndian, 52, 8)
  12020. return offset + 8
  12021. }
  12022. Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
  12023. return writeDouble(this, value, offset, true, noAssert)
  12024. }
  12025. Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
  12026. return writeDouble(this, value, offset, false, noAssert)
  12027. }
  12028. // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
  12029. Buffer.prototype.copy = function copy (target, targetStart, start, end) {
  12030. if (!start) start = 0
  12031. if (!end && end !== 0) end = this.length
  12032. if (targetStart >= target.length) targetStart = target.length
  12033. if (!targetStart) targetStart = 0
  12034. if (end > 0 && end < start) end = start
  12035. // Copy 0 bytes; we're done
  12036. if (end === start) return 0
  12037. if (target.length === 0 || this.length === 0) return 0
  12038. // Fatal error conditions
  12039. if (targetStart < 0) {
  12040. throw new RangeError('targetStart out of bounds')
  12041. }
  12042. if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')
  12043. if (end < 0) throw new RangeError('sourceEnd out of bounds')
  12044. // Are we oob?
  12045. if (end > this.length) end = this.length
  12046. if (target.length - targetStart < end - start) {
  12047. end = target.length - targetStart + start
  12048. }
  12049. var len = end - start
  12050. var i
  12051. if (this === target && start < targetStart && targetStart < end) {
  12052. // descending copy from end
  12053. for (i = len - 1; i >= 0; --i) {
  12054. target[i + targetStart] = this[i + start]
  12055. }
  12056. } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
  12057. // ascending copy from start
  12058. for (i = 0; i < len; ++i) {
  12059. target[i + targetStart] = this[i + start]
  12060. }
  12061. } else {
  12062. Uint8Array.prototype.set.call(
  12063. target,
  12064. this.subarray(start, start + len),
  12065. targetStart
  12066. )
  12067. }
  12068. return len
  12069. }
  12070. // Usage:
  12071. // buffer.fill(number[, offset[, end]])
  12072. // buffer.fill(buffer[, offset[, end]])
  12073. // buffer.fill(string[, offset[, end]][, encoding])
  12074. Buffer.prototype.fill = function fill (val, start, end, encoding) {
  12075. // Handle string cases:
  12076. if (typeof val === 'string') {
  12077. if (typeof start === 'string') {
  12078. encoding = start
  12079. start = 0
  12080. end = this.length
  12081. } else if (typeof end === 'string') {
  12082. encoding = end
  12083. end = this.length
  12084. }
  12085. if (val.length === 1) {
  12086. var code = val.charCodeAt(0)
  12087. if (code < 256) {
  12088. val = code
  12089. }
  12090. }
  12091. if (encoding !== undefined && typeof encoding !== 'string') {
  12092. throw new TypeError('encoding must be a string')
  12093. }
  12094. if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
  12095. throw new TypeError('Unknown encoding: ' + encoding)
  12096. }
  12097. } else if (typeof val === 'number') {
  12098. val = val & 255
  12099. }
  12100. // Invalid ranges are not set to a default, so can range check early.
  12101. if (start < 0 || this.length < start || this.length < end) {
  12102. throw new RangeError('Out of range index')
  12103. }
  12104. if (end <= start) {
  12105. return this
  12106. }
  12107. start = start >>> 0
  12108. end = end === undefined ? this.length : end >>> 0
  12109. if (!val) val = 0
  12110. var i
  12111. if (typeof val === 'number') {
  12112. for (i = start; i < end; ++i) {
  12113. this[i] = val
  12114. }
  12115. } else {
  12116. var bytes = Buffer.isBuffer(val)
  12117. ? val
  12118. : utf8ToBytes(new Buffer(val, encoding).toString())
  12119. var len = bytes.length
  12120. for (i = 0; i < end - start; ++i) {
  12121. this[i + start] = bytes[i % len]
  12122. }
  12123. }
  12124. return this
  12125. }
  12126. // HELPER FUNCTIONS
  12127. // ================
  12128. var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
  12129. function base64clean (str) {
  12130. // Node strips out invalid characters like \n and \t from the string, base64-js does not
  12131. str = stringtrim(str).replace(INVALID_BASE64_RE, '')
  12132. // Node converts strings with length < 2 to ''
  12133. if (str.length < 2) return ''
  12134. // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
  12135. while (str.length % 4 !== 0) {
  12136. str = str + '='
  12137. }
  12138. return str
  12139. }
  12140. function stringtrim (str) {
  12141. if (str.trim) return str.trim()
  12142. return str.replace(/^\s+|\s+$/g, '')
  12143. }
  12144. function toHex (n) {
  12145. if (n < 16) return '0' + n.toString(16)
  12146. return n.toString(16)
  12147. }
  12148. function utf8ToBytes (string, units) {
  12149. units = units || Infinity
  12150. var codePoint
  12151. var length = string.length
  12152. var leadSurrogate = null
  12153. var bytes = []
  12154. for (var i = 0; i < length; ++i) {
  12155. codePoint = string.charCodeAt(i)
  12156. // is surrogate component
  12157. if (codePoint > 0xD7FF && codePoint < 0xE000) {
  12158. // last char was a lead
  12159. if (!leadSurrogate) {
  12160. // no lead yet
  12161. if (codePoint > 0xDBFF) {
  12162. // unexpected trail
  12163. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12164. continue
  12165. } else if (i + 1 === length) {
  12166. // unpaired lead
  12167. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12168. continue
  12169. }
  12170. // valid lead
  12171. leadSurrogate = codePoint
  12172. continue
  12173. }
  12174. // 2 leads in a row
  12175. if (codePoint < 0xDC00) {
  12176. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12177. leadSurrogate = codePoint
  12178. continue
  12179. }
  12180. // valid surrogate pair
  12181. codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
  12182. } else if (leadSurrogate) {
  12183. // valid bmp char, but last char was a lead
  12184. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12185. }
  12186. leadSurrogate = null
  12187. // encode utf8
  12188. if (codePoint < 0x80) {
  12189. if ((units -= 1) < 0) break
  12190. bytes.push(codePoint)
  12191. } else if (codePoint < 0x800) {
  12192. if ((units -= 2) < 0) break
  12193. bytes.push(
  12194. codePoint >> 0x6 | 0xC0,
  12195. codePoint & 0x3F | 0x80
  12196. )
  12197. } else if (codePoint < 0x10000) {
  12198. if ((units -= 3) < 0) break
  12199. bytes.push(
  12200. codePoint >> 0xC | 0xE0,
  12201. codePoint >> 0x6 & 0x3F | 0x80,
  12202. codePoint & 0x3F | 0x80
  12203. )
  12204. } else if (codePoint < 0x110000) {
  12205. if ((units -= 4) < 0) break
  12206. bytes.push(
  12207. codePoint >> 0x12 | 0xF0,
  12208. codePoint >> 0xC & 0x3F | 0x80,
  12209. codePoint >> 0x6 & 0x3F | 0x80,
  12210. codePoint & 0x3F | 0x80
  12211. )
  12212. } else {
  12213. throw new Error('Invalid code point')
  12214. }
  12215. }
  12216. return bytes
  12217. }
  12218. function asciiToBytes (str) {
  12219. var byteArray = []
  12220. for (var i = 0; i < str.length; ++i) {
  12221. // Node's code seems to be doing this and not & 0x7F..
  12222. byteArray.push(str.charCodeAt(i) & 0xFF)
  12223. }
  12224. return byteArray
  12225. }
  12226. function utf16leToBytes (str, units) {
  12227. var c, hi, lo
  12228. var byteArray = []
  12229. for (var i = 0; i < str.length; ++i) {
  12230. if ((units -= 2) < 0) break
  12231. c = str.charCodeAt(i)
  12232. hi = c >> 8
  12233. lo = c % 256
  12234. byteArray.push(lo)
  12235. byteArray.push(hi)
  12236. }
  12237. return byteArray
  12238. }
  12239. function base64ToBytes (str) {
  12240. return base64.toByteArray(base64clean(str))
  12241. }
  12242. function blitBuffer (src, dst, offset, length) {
  12243. for (var i = 0; i < length; ++i) {
  12244. if ((i + offset >= dst.length) || (i >= src.length)) break
  12245. dst[i + offset] = src[i]
  12246. }
  12247. return i
  12248. }
  12249. function isnan (val) {
  12250. return val !== val // eslint-disable-line no-self-compare
  12251. }
  12252. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ 3)))
  12253. /***/ }),
  12254. /* 56 */
  12255. /*!*****************************************!*\
  12256. !*** ./node_modules/base64-js/index.js ***!
  12257. \*****************************************/
  12258. /*! no static exports found */
  12259. /***/ (function(module, exports, __webpack_require__) {
  12260. "use strict";
  12261. exports.byteLength = byteLength
  12262. exports.toByteArray = toByteArray
  12263. exports.fromByteArray = fromByteArray
  12264. var lookup = []
  12265. var revLookup = []
  12266. var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
  12267. var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
  12268. for (var i = 0, len = code.length; i < len; ++i) {
  12269. lookup[i] = code[i]
  12270. revLookup[code.charCodeAt(i)] = i
  12271. }
  12272. // Support decoding URL-safe base64 strings, as Node.js does.
  12273. // See: https://en.wikipedia.org/wiki/Base64#URL_applications
  12274. revLookup['-'.charCodeAt(0)] = 62
  12275. revLookup['_'.charCodeAt(0)] = 63
  12276. function getLens (b64) {
  12277. var len = b64.length
  12278. if (len % 4 > 0) {
  12279. throw new Error('Invalid string. Length must be a multiple of 4')
  12280. }
  12281. // Trim off extra bytes after placeholder bytes are found
  12282. // See: https://github.com/beatgammit/base64-js/issues/42
  12283. var validLen = b64.indexOf('=')
  12284. if (validLen === -1) validLen = len
  12285. var placeHoldersLen = validLen === len
  12286. ? 0
  12287. : 4 - (validLen % 4)
  12288. return [validLen, placeHoldersLen]
  12289. }
  12290. // base64 is 4/3 + up to two characters of the original data
  12291. function byteLength (b64) {
  12292. var lens = getLens(b64)
  12293. var validLen = lens[0]
  12294. var placeHoldersLen = lens[1]
  12295. return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
  12296. }
  12297. function _byteLength (b64, validLen, placeHoldersLen) {
  12298. return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
  12299. }
  12300. function toByteArray (b64) {
  12301. var tmp
  12302. var lens = getLens(b64)
  12303. var validLen = lens[0]
  12304. var placeHoldersLen = lens[1]
  12305. var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
  12306. var curByte = 0
  12307. // if there are placeholders, only get up to the last complete 4 chars
  12308. var len = placeHoldersLen > 0
  12309. ? validLen - 4
  12310. : validLen
  12311. var i
  12312. for (i = 0; i < len; i += 4) {
  12313. tmp =
  12314. (revLookup[b64.charCodeAt(i)] << 18) |
  12315. (revLookup[b64.charCodeAt(i + 1)] << 12) |
  12316. (revLookup[b64.charCodeAt(i + 2)] << 6) |
  12317. revLookup[b64.charCodeAt(i + 3)]
  12318. arr[curByte++] = (tmp >> 16) & 0xFF
  12319. arr[curByte++] = (tmp >> 8) & 0xFF
  12320. arr[curByte++] = tmp & 0xFF
  12321. }
  12322. if (placeHoldersLen === 2) {
  12323. tmp =
  12324. (revLookup[b64.charCodeAt(i)] << 2) |
  12325. (revLookup[b64.charCodeAt(i + 1)] >> 4)
  12326. arr[curByte++] = tmp & 0xFF
  12327. }
  12328. if (placeHoldersLen === 1) {
  12329. tmp =
  12330. (revLookup[b64.charCodeAt(i)] << 10) |
  12331. (revLookup[b64.charCodeAt(i + 1)] << 4) |
  12332. (revLookup[b64.charCodeAt(i + 2)] >> 2)
  12333. arr[curByte++] = (tmp >> 8) & 0xFF
  12334. arr[curByte++] = tmp & 0xFF
  12335. }
  12336. return arr
  12337. }
  12338. function tripletToBase64 (num) {
  12339. return lookup[num >> 18 & 0x3F] +
  12340. lookup[num >> 12 & 0x3F] +
  12341. lookup[num >> 6 & 0x3F] +
  12342. lookup[num & 0x3F]
  12343. }
  12344. function encodeChunk (uint8, start, end) {
  12345. var tmp
  12346. var output = []
  12347. for (var i = start; i < end; i += 3) {
  12348. tmp =
  12349. ((uint8[i] << 16) & 0xFF0000) +
  12350. ((uint8[i + 1] << 8) & 0xFF00) +
  12351. (uint8[i + 2] & 0xFF)
  12352. output.push(tripletToBase64(tmp))
  12353. }
  12354. return output.join('')
  12355. }
  12356. function fromByteArray (uint8) {
  12357. var tmp
  12358. var len = uint8.length
  12359. var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
  12360. var parts = []
  12361. var maxChunkLength = 16383 // must be multiple of 3
  12362. // go through the array every three bytes, we'll deal with trailing stuff later
  12363. for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
  12364. parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
  12365. }
  12366. // pad the end with zeros, but make sure to not forget the extra bytes
  12367. if (extraBytes === 1) {
  12368. tmp = uint8[len - 1]
  12369. parts.push(
  12370. lookup[tmp >> 2] +
  12371. lookup[(tmp << 4) & 0x3F] +
  12372. '=='
  12373. )
  12374. } else if (extraBytes === 2) {
  12375. tmp = (uint8[len - 2] << 8) + uint8[len - 1]
  12376. parts.push(
  12377. lookup[tmp >> 10] +
  12378. lookup[(tmp >> 4) & 0x3F] +
  12379. lookup[(tmp << 2) & 0x3F] +
  12380. '='
  12381. )
  12382. }
  12383. return parts.join('')
  12384. }
  12385. /***/ }),
  12386. /* 57 */
  12387. /*!***************************************!*\
  12388. !*** ./node_modules/ieee754/index.js ***!
  12389. \***************************************/
  12390. /*! no static exports found */
  12391. /***/ (function(module, exports) {
  12392. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  12393. exports.read = function (buffer, offset, isLE, mLen, nBytes) {
  12394. var e, m
  12395. var eLen = (nBytes * 8) - mLen - 1
  12396. var eMax = (1 << eLen) - 1
  12397. var eBias = eMax >> 1
  12398. var nBits = -7
  12399. var i = isLE ? (nBytes - 1) : 0
  12400. var d = isLE ? -1 : 1
  12401. var s = buffer[offset + i]
  12402. i += d
  12403. e = s & ((1 << (-nBits)) - 1)
  12404. s >>= (-nBits)
  12405. nBits += eLen
  12406. for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
  12407. m = e & ((1 << (-nBits)) - 1)
  12408. e >>= (-nBits)
  12409. nBits += mLen
  12410. for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
  12411. if (e === 0) {
  12412. e = 1 - eBias
  12413. } else if (e === eMax) {
  12414. return m ? NaN : ((s ? -1 : 1) * Infinity)
  12415. } else {
  12416. m = m + Math.pow(2, mLen)
  12417. e = e - eBias
  12418. }
  12419. return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
  12420. }
  12421. exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
  12422. var e, m, c
  12423. var eLen = (nBytes * 8) - mLen - 1
  12424. var eMax = (1 << eLen) - 1
  12425. var eBias = eMax >> 1
  12426. var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
  12427. var i = isLE ? 0 : (nBytes - 1)
  12428. var d = isLE ? 1 : -1
  12429. var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
  12430. value = Math.abs(value)
  12431. if (isNaN(value) || value === Infinity) {
  12432. m = isNaN(value) ? 1 : 0
  12433. e = eMax
  12434. } else {
  12435. e = Math.floor(Math.log(value) / Math.LN2)
  12436. if (value * (c = Math.pow(2, -e)) < 1) {
  12437. e--
  12438. c *= 2
  12439. }
  12440. if (e + eBias >= 1) {
  12441. value += rt / c
  12442. } else {
  12443. value += rt * Math.pow(2, 1 - eBias)
  12444. }
  12445. if (value * c >= 2) {
  12446. e++
  12447. c /= 2
  12448. }
  12449. if (e + eBias >= eMax) {
  12450. m = 0
  12451. e = eMax
  12452. } else if (e + eBias >= 1) {
  12453. m = ((value * c) - 1) * Math.pow(2, mLen)
  12454. e = e + eBias
  12455. } else {
  12456. m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
  12457. e = 0
  12458. }
  12459. }
  12460. for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
  12461. e = (e << mLen) | m
  12462. eLen += mLen
  12463. for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
  12464. buffer[offset + i - d] |= s * 128
  12465. }
  12466. /***/ }),
  12467. /* 58 */
  12468. /*!***************************************!*\
  12469. !*** ./node_modules/isarray/index.js ***!
  12470. \***************************************/
  12471. /*! no static exports found */
  12472. /***/ (function(module, exports) {
  12473. var toString = {}.toString;
  12474. module.exports = Array.isArray || function (arr) {
  12475. return toString.call(arr) == '[object Array]';
  12476. };
  12477. /***/ }),
  12478. /* 59 */
  12479. /*!***********************************************************************************************************************************************!*\
  12480. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/util/route.js ***!
  12481. \***********************************************************************************************************************************************/
  12482. /*! no static exports found */
  12483. /***/ (function(module, exports, __webpack_require__) {
  12484. "use strict";
  12485. /* WEBPACK VAR INJECTION */(function(uni) {
  12486. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  12487. Object.defineProperty(exports, "__esModule", {
  12488. value: true
  12489. });
  12490. exports.default = void 0;
  12491. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  12492. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  12493. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  12494. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  12495. /**
  12496. * 路由跳转方法,该方法相对于直接使用uni.xxx的好处是使用更加简单快捷
  12497. * 并且带有路由拦截功能
  12498. */
  12499. var Router = /*#__PURE__*/function () {
  12500. function Router() {
  12501. (0, _classCallCheck2.default)(this, Router);
  12502. // 原始属性定义
  12503. this.config = {
  12504. type: 'navigateTo',
  12505. url: '',
  12506. delta: 1,
  12507. // navigateBack页面后退时,回退的层数
  12508. params: {},
  12509. // 传递的参数
  12510. animationType: 'pop-in',
  12511. // 窗口动画,只在APP有效
  12512. animationDuration: 300,
  12513. // 窗口动画持续时间,单位毫秒,只在APP有效
  12514. intercept: false // 是否需要拦截
  12515. };
  12516. // 因为route方法是需要对外赋值给另外的对象使用,同时route内部有使用this,会导致route失去上下文
  12517. // 这里在构造函数中进行this绑定
  12518. this.route = this.route.bind(this);
  12519. }
  12520. // 判断url前面是否有"/",如果没有则加上,否则无法跳转
  12521. (0, _createClass2.default)(Router, [{
  12522. key: "addRootPath",
  12523. value: function addRootPath(url) {
  12524. return url[0] === '/' ? url : "/".concat(url);
  12525. }
  12526. // 整合路由参数
  12527. }, {
  12528. key: "mixinParam",
  12529. value: function mixinParam(url, params) {
  12530. url = url && this.addRootPath(url);
  12531. // 使用正则匹配,主要依据是判断是否有"/","?","="等,如“/page/index/index?name=mary"
  12532. // 如果有url中有get参数,转换后无需带上"?"
  12533. var query = '';
  12534. if (/.*\/.*\?.*=.*/.test(url)) {
  12535. // object对象转为get类型的参数
  12536. query = uni.$u.queryParams(params, false);
  12537. // 因为已有get参数,所以后面拼接的参数需要带上"&"隔开
  12538. return url += "&".concat(query);
  12539. }
  12540. // 直接拼接参数,因为此处url中没有后面的query参数,也就没有"?/&"之类的符号
  12541. query = uni.$u.queryParams(params);
  12542. return url += query;
  12543. }
  12544. // 对外的方法名称
  12545. }, {
  12546. key: "route",
  12547. value: function () {
  12548. var _route = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  12549. var options,
  12550. params,
  12551. mergeConfig,
  12552. isNext,
  12553. _args = arguments;
  12554. return _regenerator.default.wrap(function _callee$(_context) {
  12555. while (1) {
  12556. switch (_context.prev = _context.next) {
  12557. case 0:
  12558. options = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
  12559. params = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
  12560. // 合并用户的配置和内部的默认配置
  12561. mergeConfig = {};
  12562. if (typeof options === 'string') {
  12563. // 如果options为字符串,则为route(url, params)的形式
  12564. mergeConfig.url = this.mixinParam(options, params);
  12565. mergeConfig.type = 'navigateTo';
  12566. } else {
  12567. mergeConfig = uni.$u.deepMerge(this.config, options);
  12568. // 否则正常使用mergeConfig中的url和params进行拼接
  12569. mergeConfig.url = this.mixinParam(options.url, options.params);
  12570. }
  12571. // 如果本次跳转的路径和本页面路径一致,不执行跳转,防止用户快速点击跳转按钮,造成多次跳转同一个页面的问题
  12572. if (!(mergeConfig.url === uni.$u.page())) {
  12573. _context.next = 6;
  12574. break;
  12575. }
  12576. return _context.abrupt("return");
  12577. case 6:
  12578. if (params.intercept) {
  12579. this.config.intercept = params.intercept;
  12580. }
  12581. // params参数也带给拦截器
  12582. mergeConfig.params = params;
  12583. // 合并内外部参数
  12584. mergeConfig = uni.$u.deepMerge(this.config, mergeConfig);
  12585. // 判断用户是否定义了拦截器
  12586. if (!(typeof uni.$u.routeIntercept === 'function')) {
  12587. _context.next = 16;
  12588. break;
  12589. }
  12590. _context.next = 12;
  12591. return new Promise(function (resolve, reject) {
  12592. uni.$u.routeIntercept(mergeConfig, resolve);
  12593. });
  12594. case 12:
  12595. isNext = _context.sent;
  12596. // 如果isNext为true,则执行路由跳转
  12597. isNext && this.openPage(mergeConfig);
  12598. _context.next = 17;
  12599. break;
  12600. case 16:
  12601. this.openPage(mergeConfig);
  12602. case 17:
  12603. case "end":
  12604. return _context.stop();
  12605. }
  12606. }
  12607. }, _callee, this);
  12608. }));
  12609. function route() {
  12610. return _route.apply(this, arguments);
  12611. }
  12612. return route;
  12613. }() // 执行路由跳转
  12614. }, {
  12615. key: "openPage",
  12616. value: function openPage(config) {
  12617. // 解构参数
  12618. var url = config.url,
  12619. type = config.type,
  12620. delta = config.delta,
  12621. animationType = config.animationType,
  12622. animationDuration = config.animationDuration;
  12623. if (config.type == 'navigateTo' || config.type == 'to') {
  12624. uni.navigateTo({
  12625. url: url,
  12626. animationType: animationType,
  12627. animationDuration: animationDuration
  12628. });
  12629. }
  12630. if (config.type == 'redirectTo' || config.type == 'redirect') {
  12631. uni.redirectTo({
  12632. url: url
  12633. });
  12634. }
  12635. if (config.type == 'switchTab' || config.type == 'tab') {
  12636. uni.switchTab({
  12637. url: url
  12638. });
  12639. }
  12640. if (config.type == 'reLaunch' || config.type == 'launch') {
  12641. uni.reLaunch({
  12642. url: url
  12643. });
  12644. }
  12645. if (config.type == 'navigateBack' || config.type == 'back') {
  12646. uni.navigateBack({
  12647. delta: delta
  12648. });
  12649. }
  12650. }
  12651. }]);
  12652. return Router;
  12653. }();
  12654. var _default = new Router().route;
  12655. exports.default = _default;
  12656. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  12657. /***/ }),
  12658. /* 60 */
  12659. /*!***********************************************************************************************************************************************************!*\
  12660. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/colorGradient.js ***!
  12661. \***********************************************************************************************************************************************************/
  12662. /*! no static exports found */
  12663. /***/ (function(module, exports, __webpack_require__) {
  12664. "use strict";
  12665. Object.defineProperty(exports, "__esModule", {
  12666. value: true
  12667. });
  12668. exports.default = void 0;
  12669. /**
  12670. * 求两个颜色之间的渐变值
  12671. * @param {string} startColor 开始的颜色
  12672. * @param {string} endColor 结束的颜色
  12673. * @param {number} step 颜色等分的份额
  12674. * */
  12675. function colorGradient() {
  12676. var startColor = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'rgb(0, 0, 0)';
  12677. var endColor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rgb(255, 255, 255)';
  12678. var step = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
  12679. var startRGB = hexToRgb(startColor, false); // 转换为rgb数组模式
  12680. var startR = startRGB[0];
  12681. var startG = startRGB[1];
  12682. var startB = startRGB[2];
  12683. var endRGB = hexToRgb(endColor, false);
  12684. var endR = endRGB[0];
  12685. var endG = endRGB[1];
  12686. var endB = endRGB[2];
  12687. var sR = (endR - startR) / step; // 总差值
  12688. var sG = (endG - startG) / step;
  12689. var sB = (endB - startB) / step;
  12690. var colorArr = [];
  12691. for (var i = 0; i < step; i++) {
  12692. // 计算每一步的hex值
  12693. var hex = rgbToHex("rgb(".concat(Math.round(sR * i + startR), ",").concat(Math.round(sG * i + startG), ",").concat(Math.round(sB * i + startB), ")"));
  12694. // 确保第一个颜色值为startColor的值
  12695. if (i === 0) hex = rgbToHex(startColor);
  12696. // 确保最后一个颜色值为endColor的值
  12697. if (i === step - 1) hex = rgbToHex(endColor);
  12698. colorArr.push(hex);
  12699. }
  12700. return colorArr;
  12701. }
  12702. // 将hex表示方式转换为rgb表示方式(这里返回rgb数组模式)
  12703. function hexToRgb(sColor) {
  12704. var str = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  12705. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  12706. sColor = String(sColor).toLowerCase();
  12707. if (sColor && reg.test(sColor)) {
  12708. if (sColor.length === 4) {
  12709. var sColorNew = '#';
  12710. for (var i = 1; i < 4; i += 1) {
  12711. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  12712. }
  12713. sColor = sColorNew;
  12714. }
  12715. // 处理六位的颜色值
  12716. var sColorChange = [];
  12717. for (var _i = 1; _i < 7; _i += 2) {
  12718. sColorChange.push(parseInt("0x".concat(sColor.slice(_i, _i + 2))));
  12719. }
  12720. if (!str) {
  12721. return sColorChange;
  12722. }
  12723. return "rgb(".concat(sColorChange[0], ",").concat(sColorChange[1], ",").concat(sColorChange[2], ")");
  12724. }
  12725. if (/^(rgb|RGB)/.test(sColor)) {
  12726. var arr = sColor.replace(/(?:\(|\)|rgb|RGB)*/g, '').split(',');
  12727. return arr.map(function (val) {
  12728. return Number(val);
  12729. });
  12730. }
  12731. return sColor;
  12732. }
  12733. // 将rgb表示方式转换为hex表示方式
  12734. function rgbToHex(rgb) {
  12735. var _this = rgb;
  12736. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  12737. if (/^(rgb|RGB)/.test(_this)) {
  12738. var aColor = _this.replace(/(?:\(|\)|rgb|RGB)*/g, '').split(',');
  12739. var strHex = '#';
  12740. for (var i = 0; i < aColor.length; i++) {
  12741. var hex = Number(aColor[i]).toString(16);
  12742. hex = String(hex).length == 1 ? "".concat(0, hex) : hex; // 保证每个rgb的值为2位
  12743. if (hex === '0') {
  12744. hex += hex;
  12745. }
  12746. strHex += hex;
  12747. }
  12748. if (strHex.length !== 7) {
  12749. strHex = _this;
  12750. }
  12751. return strHex;
  12752. }
  12753. if (reg.test(_this)) {
  12754. var aNum = _this.replace(/#/, '').split('');
  12755. if (aNum.length === 6) {
  12756. return _this;
  12757. }
  12758. if (aNum.length === 3) {
  12759. var numHex = '#';
  12760. for (var _i2 = 0; _i2 < aNum.length; _i2 += 1) {
  12761. numHex += aNum[_i2] + aNum[_i2];
  12762. }
  12763. return numHex;
  12764. }
  12765. } else {
  12766. return _this;
  12767. }
  12768. }
  12769. /**
  12770. * JS颜色十六进制转换为rgb或rgba,返回的格式为 rgba(255,255,255,0.5)字符串
  12771. * sHex为传入的十六进制的色值
  12772. * alpha为rgba的透明度
  12773. */
  12774. function colorToRgba(color, alpha) {
  12775. color = rgbToHex(color);
  12776. // 十六进制颜色值的正则表达式
  12777. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  12778. /* 16进制颜色转为RGB格式 */
  12779. var sColor = String(color).toLowerCase();
  12780. if (sColor && reg.test(sColor)) {
  12781. if (sColor.length === 4) {
  12782. var sColorNew = '#';
  12783. for (var i = 1; i < 4; i += 1) {
  12784. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  12785. }
  12786. sColor = sColorNew;
  12787. }
  12788. // 处理六位的颜色值
  12789. var sColorChange = [];
  12790. for (var _i3 = 1; _i3 < 7; _i3 += 2) {
  12791. sColorChange.push(parseInt("0x".concat(sColor.slice(_i3, _i3 + 2))));
  12792. }
  12793. // return sColorChange.join(',')
  12794. return "rgba(".concat(sColorChange.join(','), ",").concat(alpha, ")");
  12795. }
  12796. return sColor;
  12797. }
  12798. var _default = {
  12799. colorGradient: colorGradient,
  12800. hexToRgb: hexToRgb,
  12801. rgbToHex: rgbToHex,
  12802. colorToRgba: colorToRgba
  12803. };
  12804. exports.default = _default;
  12805. /***/ }),
  12806. /* 61 */
  12807. /*!**************************************************************************************************************************************************!*\
  12808. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/test.js ***!
  12809. \**************************************************************************************************************************************************/
  12810. /*! no static exports found */
  12811. /***/ (function(module, exports, __webpack_require__) {
  12812. "use strict";
  12813. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  12814. Object.defineProperty(exports, "__esModule", {
  12815. value: true
  12816. });
  12817. exports.default = void 0;
  12818. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  12819. /**
  12820. * 验证电子邮箱格式
  12821. */
  12822. function email(value) {
  12823. return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(value);
  12824. }
  12825. /**
  12826. * 验证手机格式
  12827. */
  12828. function mobile(value) {
  12829. return /^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(value);
  12830. }
  12831. /**
  12832. * 验证URL格式
  12833. */
  12834. function url(value) {
  12835. 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);
  12836. }
  12837. /**
  12838. * 验证日期格式
  12839. */
  12840. function date(value) {
  12841. if (!value) return false;
  12842. // 判断是否数值或者字符串数值(意味着为时间戳),转为数值,否则new Date无法识别字符串时间戳
  12843. if (number(value)) value = +value;
  12844. return !/Invalid|NaN/.test(new Date(value).toString());
  12845. }
  12846. /**
  12847. * 验证ISO类型的日期格式
  12848. */
  12849. function dateISO(value) {
  12850. return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(value);
  12851. }
  12852. /**
  12853. * 验证十进制数字
  12854. */
  12855. function number(value) {
  12856. return /^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(value);
  12857. }
  12858. /**
  12859. * 验证字符串
  12860. */
  12861. function string(value) {
  12862. return typeof value === 'string';
  12863. }
  12864. /**
  12865. * 验证整数
  12866. */
  12867. function digits(value) {
  12868. return /^\d+$/.test(value);
  12869. }
  12870. /**
  12871. * 验证身份证号码
  12872. */
  12873. function idCard(value) {
  12874. 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);
  12875. }
  12876. /**
  12877. * 是否车牌号
  12878. */
  12879. function carNo(value) {
  12880. // 新能源车牌
  12881. var xreg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/;
  12882. // 旧车牌
  12883. var creg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;
  12884. if (value.length === 7) {
  12885. return creg.test(value);
  12886. }
  12887. if (value.length === 8) {
  12888. return xreg.test(value);
  12889. }
  12890. return false;
  12891. }
  12892. /**
  12893. * 金额,只允许2位小数
  12894. */
  12895. function amount(value) {
  12896. // 金额,只允许保留两位小数
  12897. return /^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(value);
  12898. }
  12899. /**
  12900. * 中文
  12901. */
  12902. function chinese(value) {
  12903. var reg = /^[\u4e00-\u9fa5]+$/gi;
  12904. return reg.test(value);
  12905. }
  12906. /**
  12907. * 只能输入字母
  12908. */
  12909. function letter(value) {
  12910. return /^[a-zA-Z]*$/.test(value);
  12911. }
  12912. /**
  12913. * 只能是字母或者数字
  12914. */
  12915. function enOrNum(value) {
  12916. // 英文或者数字
  12917. var reg = /^[0-9a-zA-Z]*$/g;
  12918. return reg.test(value);
  12919. }
  12920. /**
  12921. * 验证是否包含某个值
  12922. */
  12923. function contains(value, param) {
  12924. return value.indexOf(param) >= 0;
  12925. }
  12926. /**
  12927. * 验证一个值范围[min, max]
  12928. */
  12929. function range(value, param) {
  12930. return value >= param[0] && value <= param[1];
  12931. }
  12932. /**
  12933. * 验证一个长度范围[min, max]
  12934. */
  12935. function rangeLength(value, param) {
  12936. return value.length >= param[0] && value.length <= param[1];
  12937. }
  12938. /**
  12939. * 是否固定电话
  12940. */
  12941. function landline(value) {
  12942. var reg = /^\d{3,4}-\d{7,8}(-\d{3,4})?$/;
  12943. return reg.test(value);
  12944. }
  12945. /**
  12946. * 判断是否为空
  12947. */
  12948. function empty(value) {
  12949. switch ((0, _typeof2.default)(value)) {
  12950. case 'undefined':
  12951. return true;
  12952. case 'string':
  12953. if (value.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) return true;
  12954. break;
  12955. case 'boolean':
  12956. if (!value) return true;
  12957. break;
  12958. case 'number':
  12959. if (value === 0 || isNaN(value)) return true;
  12960. break;
  12961. case 'object':
  12962. if (value === null || value.length === 0) return true;
  12963. for (var i in value) {
  12964. return false;
  12965. }
  12966. return true;
  12967. }
  12968. return false;
  12969. }
  12970. /**
  12971. * 是否json字符串
  12972. */
  12973. function jsonString(value) {
  12974. if (typeof value === 'string') {
  12975. try {
  12976. var obj = JSON.parse(value);
  12977. if ((0, _typeof2.default)(obj) === 'object' && obj) {
  12978. return true;
  12979. }
  12980. return false;
  12981. } catch (e) {
  12982. return false;
  12983. }
  12984. }
  12985. return false;
  12986. }
  12987. /**
  12988. * 是否数组
  12989. */
  12990. function array(value) {
  12991. if (typeof Array.isArray === 'function') {
  12992. return Array.isArray(value);
  12993. }
  12994. return Object.prototype.toString.call(value) === '[object Array]';
  12995. }
  12996. /**
  12997. * 是否对象
  12998. */
  12999. function object(value) {
  13000. return Object.prototype.toString.call(value) === '[object Object]';
  13001. }
  13002. /**
  13003. * 是否短信验证码
  13004. */
  13005. function code(value) {
  13006. var len = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6;
  13007. return new RegExp("^\\d{".concat(len, "}$")).test(value);
  13008. }
  13009. /**
  13010. * 是否函数方法
  13011. * @param {Object} value
  13012. */
  13013. function func(value) {
  13014. return typeof value === 'function';
  13015. }
  13016. /**
  13017. * 是否promise对象
  13018. * @param {Object} value
  13019. */
  13020. function promise(value) {
  13021. return object(value) && func(value.then) && func(value.catch);
  13022. }
  13023. /** 是否图片格式
  13024. * @param {Object} value
  13025. */
  13026. function image(value) {
  13027. var newValue = value.split('?')[0];
  13028. var IMAGE_REGEXP = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;
  13029. return IMAGE_REGEXP.test(newValue);
  13030. }
  13031. /**
  13032. * 是否视频格式
  13033. * @param {Object} value
  13034. */
  13035. function video(value) {
  13036. var VIDEO_REGEXP = /\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i;
  13037. return VIDEO_REGEXP.test(value);
  13038. }
  13039. /**
  13040. * 是否为正则对象
  13041. * @param {Object}
  13042. * @return {Boolean}
  13043. */
  13044. function regExp(o) {
  13045. return o && Object.prototype.toString.call(o) === '[object RegExp]';
  13046. }
  13047. var _default = {
  13048. email: email,
  13049. mobile: mobile,
  13050. url: url,
  13051. date: date,
  13052. dateISO: dateISO,
  13053. number: number,
  13054. digits: digits,
  13055. idCard: idCard,
  13056. carNo: carNo,
  13057. amount: amount,
  13058. chinese: chinese,
  13059. letter: letter,
  13060. enOrNum: enOrNum,
  13061. contains: contains,
  13062. range: range,
  13063. rangeLength: rangeLength,
  13064. empty: empty,
  13065. isEmpty: empty,
  13066. jsonString: jsonString,
  13067. landline: landline,
  13068. object: object,
  13069. array: array,
  13070. code: code,
  13071. func: func,
  13072. promise: promise,
  13073. video: video,
  13074. image: image,
  13075. regExp: regExp,
  13076. string: string
  13077. };
  13078. exports.default = _default;
  13079. /***/ }),
  13080. /* 62 */
  13081. /*!******************************************************************************************************************************************************!*\
  13082. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/debounce.js ***!
  13083. \******************************************************************************************************************************************************/
  13084. /*! no static exports found */
  13085. /***/ (function(module, exports, __webpack_require__) {
  13086. "use strict";
  13087. Object.defineProperty(exports, "__esModule", {
  13088. value: true
  13089. });
  13090. exports.default = void 0;
  13091. var timeout = null;
  13092. /**
  13093. * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数
  13094. *
  13095. * @param {Function} func 要执行的回调函数
  13096. * @param {Number} wait 延时的时间
  13097. * @param {Boolean} immediate 是否立即执行
  13098. * @return null
  13099. */
  13100. function debounce(func) {
  13101. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  13102. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  13103. // 清除定时器
  13104. if (timeout !== null) clearTimeout(timeout);
  13105. // 立即执行,此类情况一般用不到
  13106. if (immediate) {
  13107. var callNow = !timeout;
  13108. timeout = setTimeout(function () {
  13109. timeout = null;
  13110. }, wait);
  13111. if (callNow) typeof func === 'function' && func();
  13112. } else {
  13113. // 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法
  13114. timeout = setTimeout(function () {
  13115. typeof func === 'function' && func();
  13116. }, wait);
  13117. }
  13118. }
  13119. var _default = debounce;
  13120. exports.default = _default;
  13121. /***/ }),
  13122. /* 63 */
  13123. /*!******************************************************************************************************************************************************!*\
  13124. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/throttle.js ***!
  13125. \******************************************************************************************************************************************************/
  13126. /*! no static exports found */
  13127. /***/ (function(module, exports, __webpack_require__) {
  13128. "use strict";
  13129. Object.defineProperty(exports, "__esModule", {
  13130. value: true
  13131. });
  13132. exports.default = void 0;
  13133. var timer;
  13134. var flag;
  13135. /**
  13136. * 节流原理:在一定时间内,只能触发一次
  13137. *
  13138. * @param {Function} func 要执行的回调函数
  13139. * @param {Number} wait 延时的时间
  13140. * @param {Boolean} immediate 是否立即执行
  13141. * @return null
  13142. */
  13143. function throttle(func) {
  13144. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  13145. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  13146. if (immediate) {
  13147. if (!flag) {
  13148. flag = true;
  13149. // 如果是立即执行,则在wait毫秒内开始时执行
  13150. typeof func === 'function' && func();
  13151. timer = setTimeout(function () {
  13152. flag = false;
  13153. }, wait);
  13154. }
  13155. } else if (!flag) {
  13156. flag = true;
  13157. // 如果是非立即执行,则在wait毫秒内的结束处执行
  13158. timer = setTimeout(function () {
  13159. flag = false;
  13160. typeof func === 'function' && func();
  13161. }, wait);
  13162. }
  13163. }
  13164. var _default = throttle;
  13165. exports.default = _default;
  13166. /***/ }),
  13167. /* 64 */
  13168. /*!***************************************************************************************************************************************************!*\
  13169. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/index.js ***!
  13170. \***************************************************************************************************************************************************/
  13171. /*! no static exports found */
  13172. /***/ (function(module, exports, __webpack_require__) {
  13173. "use strict";
  13174. /* WEBPACK VAR INJECTION */(function(uni) {
  13175. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  13176. Object.defineProperty(exports, "__esModule", {
  13177. value: true
  13178. });
  13179. exports.default = void 0;
  13180. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  13181. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  13182. var _test = _interopRequireDefault(__webpack_require__(/*! ./test.js */ 61));
  13183. var _digit = __webpack_require__(/*! ./digit.js */ 65);
  13184. /**
  13185. * @description 如果value小于min,取min;如果value大于max,取max
  13186. * @param {number} min
  13187. * @param {number} max
  13188. * @param {number} value
  13189. */
  13190. function range() {
  13191. var min = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  13192. var max = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  13193. var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
  13194. return Math.max(min, Math.min(max, Number(value)));
  13195. }
  13196. /**
  13197. * @description 用于获取用户传递值的px值 如果用户传递了"xxpx"或者"xxrpx",取出其数值部分,如果是"xxxrpx"还需要用过uni.upx2px进行转换
  13198. * @param {number|string} value 用户传递值的px值
  13199. * @param {boolean} unit
  13200. * @returns {number|string}
  13201. */
  13202. function getPx(value) {
  13203. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  13204. if (_test.default.number(value)) {
  13205. return unit ? "".concat(value, "px") : Number(value);
  13206. }
  13207. // 如果带有rpx,先取出其数值部分,再转为px值
  13208. if (/(rpx|upx)$/.test(value)) {
  13209. return unit ? "".concat(uni.upx2px(parseInt(value)), "px") : Number(uni.upx2px(parseInt(value)));
  13210. }
  13211. return unit ? "".concat(parseInt(value), "px") : parseInt(value);
  13212. }
  13213. /**
  13214. * @description 进行延时,以达到可以简写代码的目的 比如: await uni.$u.sleep(20)将会阻塞20ms
  13215. * @param {number} value 堵塞时间 单位ms 毫秒
  13216. * @returns {Promise} 返回promise
  13217. */
  13218. function sleep() {
  13219. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 30;
  13220. return new Promise(function (resolve) {
  13221. setTimeout(function () {
  13222. resolve();
  13223. }, value);
  13224. });
  13225. }
  13226. /**
  13227. * @description 运行期判断平台
  13228. * @returns {string} 返回所在平台(小写)
  13229. * @link 运行期判断平台 https://uniapp.dcloud.io/frame?id=判断平台
  13230. */
  13231. function os() {
  13232. return uni.getSystemInfoSync().platform.toLowerCase();
  13233. }
  13234. /**
  13235. * @description 获取系统信息同步接口
  13236. * @link 获取系统信息同步接口 https://uniapp.dcloud.io/api/system/info?id=getsysteminfosync
  13237. */
  13238. function sys() {
  13239. return uni.getSystemInfoSync();
  13240. }
  13241. /**
  13242. * @description 取一个区间数
  13243. * @param {Number} min 最小值
  13244. * @param {Number} max 最大值
  13245. */
  13246. function random(min, max) {
  13247. if (min >= 0 && max > 0 && max >= min) {
  13248. var gab = max - min + 1;
  13249. return Math.floor(Math.random() * gab + min);
  13250. }
  13251. return 0;
  13252. }
  13253. /**
  13254. * @param {Number} len uuid的长度
  13255. * @param {Boolean} firstU 将返回的首字母置为"u"
  13256. * @param {Nubmer} radix 生成uuid的基数(意味着返回的字符串都是这个基数),2-二进制,8-八进制,10-十进制,16-十六进制
  13257. */
  13258. function guid() {
  13259. var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 32;
  13260. var firstU = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  13261. var radix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  13262. var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
  13263. var uuid = [];
  13264. radix = radix || chars.length;
  13265. if (len) {
  13266. // 如果指定uuid长度,只是取随机的字符,0|x为位运算,能去掉x的小数位,返回整数位
  13267. for (var i = 0; i < len; i++) {
  13268. uuid[i] = chars[0 | Math.random() * radix];
  13269. }
  13270. } else {
  13271. var r;
  13272. // rfc4122标准要求返回的uuid中,某些位为固定的字符
  13273. uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
  13274. uuid[14] = '4';
  13275. for (var _i = 0; _i < 36; _i++) {
  13276. if (!uuid[_i]) {
  13277. r = 0 | Math.random() * 16;
  13278. uuid[_i] = chars[_i == 19 ? r & 0x3 | 0x8 : r];
  13279. }
  13280. }
  13281. }
  13282. // 移除第一个字符,并用u替代,因为第一个字符为数值时,该guuid不能用作id或者class
  13283. if (firstU) {
  13284. uuid.shift();
  13285. return "u".concat(uuid.join(''));
  13286. }
  13287. return uuid.join('');
  13288. }
  13289. /**
  13290. * @description 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法
  13291. this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx
  13292. 这里默认值等于undefined有它的含义,因为最顶层元素(组件)的$parent就是undefined,意味着不传name
  13293. 值(默认为undefined),就是查找最顶层的$parent
  13294. * @param {string|undefined} name 父组件的参数名
  13295. */
  13296. function $parent() {
  13297. var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
  13298. var parent = this.$parent;
  13299. // 通过while历遍,这里主要是为了H5需要多层解析的问题
  13300. while (parent) {
  13301. // 父组件
  13302. if (parent.$options && parent.$options.name !== name) {
  13303. // 如果组件的name不相等,继续上一级寻找
  13304. parent = parent.$parent;
  13305. } else {
  13306. return parent;
  13307. }
  13308. }
  13309. return false;
  13310. }
  13311. /**
  13312. * @description 样式转换
  13313. * 对象转字符串,或者字符串转对象
  13314. * @param {object | string} customStyle 需要转换的目标
  13315. * @param {String} target 转换的目的,object-转为对象,string-转为字符串
  13316. * @returns {object|string}
  13317. */
  13318. function addStyle(customStyle) {
  13319. var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'object';
  13320. // 字符串转字符串,对象转对象情形,直接返回
  13321. if (_test.default.empty(customStyle) || (0, _typeof2.default)(customStyle) === 'object' && target === 'object' || target === 'string' && typeof customStyle === 'string') {
  13322. return customStyle;
  13323. }
  13324. // 字符串转对象
  13325. if (target === 'object') {
  13326. // 去除字符串样式中的两端空格(中间的空格不能去掉,比如padding: 20px 0如果去掉了就错了),空格是无用的
  13327. customStyle = trim(customStyle);
  13328. // 根据";"将字符串转为数组形式
  13329. var styleArray = customStyle.split(';');
  13330. var style = {};
  13331. // 历遍数组,拼接成对象
  13332. for (var i = 0; i < styleArray.length; i++) {
  13333. // 'font-size:20px;color:red;',如此最后字符串有";"的话,会导致styleArray最后一个元素为空字符串,这里需要过滤
  13334. if (styleArray[i]) {
  13335. var item = styleArray[i].split(':');
  13336. style[trim(item[0])] = trim(item[1]);
  13337. }
  13338. }
  13339. return style;
  13340. }
  13341. // 这里为对象转字符串形式
  13342. var string = '';
  13343. for (var _i2 in customStyle) {
  13344. // 驼峰转为中划线的形式,否则css内联样式,无法识别驼峰样式属性名
  13345. var key = _i2.replace(/([A-Z])/g, '-$1').toLowerCase();
  13346. string += "".concat(key, ":").concat(customStyle[_i2], ";");
  13347. }
  13348. // 去除两端空格
  13349. return trim(string);
  13350. }
  13351. /**
  13352. * @description 添加单位,如果有rpx,upx,%,px等单位结尾或者值为auto,直接返回,否则加上px单位结尾
  13353. * @param {string|number} value 需要添加单位的值
  13354. * @param {string} unit 添加的单位名 比如px
  13355. */
  13356. function addUnit() {
  13357. var _uni$$u$config$unit, _uni, _uni$$u, _uni$$u$config;
  13358. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'auto';
  13359. 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';
  13360. value = String(value);
  13361. // 用uView内置验证规则中的number判断是否为数值
  13362. return _test.default.number(value) ? "".concat(value).concat(unit) : value;
  13363. }
  13364. /**
  13365. * @description 深度克隆
  13366. * @param {object} obj 需要深度克隆的对象
  13367. * @returns {*} 克隆后的对象或者原值(不是对象)
  13368. */
  13369. function deepClone(obj) {
  13370. // 对常见的“非”值,直接返回原来值
  13371. if ([null, undefined, NaN, false].includes(obj)) return obj;
  13372. if ((0, _typeof2.default)(obj) !== 'object' && typeof obj !== 'function') {
  13373. // 原始类型直接返回
  13374. return obj;
  13375. }
  13376. var o = _test.default.array(obj) ? [] : {};
  13377. for (var i in obj) {
  13378. if (obj.hasOwnProperty(i)) {
  13379. o[i] = (0, _typeof2.default)(obj[i]) === 'object' ? deepClone(obj[i]) : obj[i];
  13380. }
  13381. }
  13382. return o;
  13383. }
  13384. /**
  13385. * @description JS对象深度合并
  13386. * @param {object} target 需要拷贝的对象
  13387. * @param {object} source 拷贝的来源对象
  13388. * @returns {object|boolean} 深度合并后的对象或者false(入参有不是对象)
  13389. */
  13390. function deepMerge() {
  13391. var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  13392. var source = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  13393. target = deepClone(target);
  13394. if ((0, _typeof2.default)(target) !== 'object' || (0, _typeof2.default)(source) !== 'object') return false;
  13395. for (var prop in source) {
  13396. if (!source.hasOwnProperty(prop)) continue;
  13397. if (prop in target) {
  13398. if ((0, _typeof2.default)(target[prop]) !== 'object') {
  13399. target[prop] = source[prop];
  13400. } else if ((0, _typeof2.default)(source[prop]) !== 'object') {
  13401. target[prop] = source[prop];
  13402. } else if (target[prop].concat && source[prop].concat) {
  13403. target[prop] = target[prop].concat(source[prop]);
  13404. } else {
  13405. target[prop] = deepMerge(target[prop], source[prop]);
  13406. }
  13407. } else {
  13408. target[prop] = source[prop];
  13409. }
  13410. }
  13411. return target;
  13412. }
  13413. /**
  13414. * @description error提示
  13415. * @param {*} err 错误内容
  13416. */
  13417. function error(err) {
  13418. // 开发环境才提示,生产环境不会提示
  13419. if (true) {
  13420. console.error("uView\u63D0\u793A\uFF1A".concat(err));
  13421. }
  13422. }
  13423. /**
  13424. * @description 打乱数组
  13425. * @param {array} array 需要打乱的数组
  13426. * @returns {array} 打乱后的数组
  13427. */
  13428. function randomArray() {
  13429. var array = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  13430. // 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0
  13431. return array.sort(function () {
  13432. return Math.random() - 0.5;
  13433. });
  13434. }
  13435. // padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
  13436. // 所以这里做一个兼容polyfill的兼容处理
  13437. if (!String.prototype.padStart) {
  13438. // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
  13439. String.prototype.padStart = function (maxLength) {
  13440. var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
  13441. if (Object.prototype.toString.call(fillString) !== '[object String]') {
  13442. throw new TypeError('fillString must be String');
  13443. }
  13444. var str = this;
  13445. // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
  13446. if (str.length >= maxLength) return String(str);
  13447. var fillLength = maxLength - str.length;
  13448. var times = Math.ceil(fillLength / fillString.length);
  13449. while (times >>= 1) {
  13450. fillString += fillString;
  13451. if (times === 1) {
  13452. fillString += fillString;
  13453. }
  13454. }
  13455. return fillString.slice(0, fillLength) + str;
  13456. };
  13457. }
  13458. /**
  13459. * @description 格式化时间
  13460. * @param {String|Number} dateTime 需要格式化的时间戳
  13461. * @param {String} fmt 格式化规则 yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合 默认yyyy-mm-dd
  13462. * @returns {string} 返回格式化后的字符串
  13463. */
  13464. function timeFormat() {
  13465. var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  13466. var formatStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  13467. var date;
  13468. // 若传入时间为假值,则取当前时间
  13469. if (!dateTime) {
  13470. date = new Date();
  13471. }
  13472. // 若为unix秒时间戳,则转为毫秒时间戳(逻辑有点奇怪,但不敢改,以保证历史兼容)
  13473. else if (/^\d{10}$/.test(dateTime === null || dateTime === void 0 ? void 0 : dateTime.toString().trim())) {
  13474. date = new Date(dateTime * 1000);
  13475. }
  13476. // 若用户传入字符串格式时间戳,new Date无法解析,需做兼容
  13477. else if (typeof dateTime === 'string' && /^\d+$/.test(dateTime.trim())) {
  13478. date = new Date(Number(dateTime));
  13479. }
  13480. // 处理平台性差异,在Safari/Webkit中,new Date仅支持/作为分割符的字符串时间
  13481. // 处理 '2022-07-10 01:02:03',跳过 '2022-07-10T01:02:03'
  13482. else if (typeof dateTime === 'string' && dateTime.includes('-') && !dateTime.includes('T')) {
  13483. date = new Date(dateTime.replace(/-/g, '/'));
  13484. }
  13485. // 其他都认为符合 RFC 2822 规范
  13486. else {
  13487. date = new Date(dateTime);
  13488. }
  13489. var timeSource = {
  13490. 'y': date.getFullYear().toString(),
  13491. // 年
  13492. 'm': (date.getMonth() + 1).toString().padStart(2, '0'),
  13493. // 月
  13494. 'd': date.getDate().toString().padStart(2, '0'),
  13495. // 日
  13496. 'h': date.getHours().toString().padStart(2, '0'),
  13497. // 时
  13498. 'M': date.getMinutes().toString().padStart(2, '0'),
  13499. // 分
  13500. 's': date.getSeconds().toString().padStart(2, '0') // 秒
  13501. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  13502. };
  13503. for (var key in timeSource) {
  13504. var _ref = new RegExp("".concat(key, "+")).exec(formatStr) || [],
  13505. _ref2 = (0, _slicedToArray2.default)(_ref, 1),
  13506. ret = _ref2[0];
  13507. if (ret) {
  13508. // 年可能只需展示两位
  13509. var beginIndex = key === 'y' && ret.length === 2 ? 2 : 0;
  13510. formatStr = formatStr.replace(ret, timeSource[key].slice(beginIndex));
  13511. }
  13512. }
  13513. return formatStr;
  13514. }
  13515. /**
  13516. * @description 时间戳转为多久之前
  13517. * @param {String|Number} timestamp 时间戳
  13518. * @param {String|Boolean} format
  13519. * 格式化规则如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
  13520. * 如果为布尔值false,无论什么时间,都返回多久以前的格式
  13521. * @returns {string} 转化后的内容
  13522. */
  13523. function timeFrom() {
  13524. var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  13525. var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  13526. if (timestamp == null) timestamp = Number(new Date());
  13527. timestamp = parseInt(timestamp);
  13528. // 判断用户输入的时间戳是秒还是毫秒,一般前端js获取的时间戳是毫秒(13位),后端传过来的为秒(10位)
  13529. if (timestamp.toString().length == 10) timestamp *= 1000;
  13530. var timer = new Date().getTime() - timestamp;
  13531. timer = parseInt(timer / 1000);
  13532. // 如果小于5分钟,则返回"刚刚",其他以此类推
  13533. var tips = '';
  13534. switch (true) {
  13535. case timer < 300:
  13536. tips = '刚刚';
  13537. break;
  13538. case timer >= 300 && timer < 3600:
  13539. tips = "".concat(parseInt(timer / 60), "\u5206\u949F\u524D");
  13540. break;
  13541. case timer >= 3600 && timer < 86400:
  13542. tips = "".concat(parseInt(timer / 3600), "\u5C0F\u65F6\u524D");
  13543. break;
  13544. case timer >= 86400 && timer < 2592000:
  13545. tips = "".concat(parseInt(timer / 86400), "\u5929\u524D");
  13546. break;
  13547. default:
  13548. // 如果format为false,则无论什么时间戳,都显示xx之前
  13549. if (format === false) {
  13550. if (timer >= 2592000 && timer < 365 * 86400) {
  13551. tips = "".concat(parseInt(timer / (86400 * 30)), "\u4E2A\u6708\u524D");
  13552. } else {
  13553. tips = "".concat(parseInt(timer / (86400 * 365)), "\u5E74\u524D");
  13554. }
  13555. } else {
  13556. tips = timeFormat(timestamp, format);
  13557. }
  13558. }
  13559. return tips;
  13560. }
  13561. /**
  13562. * @description 去除空格
  13563. * @param String str 需要去除空格的字符串
  13564. * @param String pos both(左右)|left|right|all 默认both
  13565. */
  13566. function trim(str) {
  13567. var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'both';
  13568. str = String(str);
  13569. if (pos == 'both') {
  13570. return str.replace(/^\s+|\s+$/g, '');
  13571. }
  13572. if (pos == 'left') {
  13573. return str.replace(/^\s*/, '');
  13574. }
  13575. if (pos == 'right') {
  13576. return str.replace(/(\s*$)/g, '');
  13577. }
  13578. if (pos == 'all') {
  13579. return str.replace(/\s+/g, '');
  13580. }
  13581. return str;
  13582. }
  13583. /**
  13584. * @description 对象转url参数
  13585. * @param {object} data,对象
  13586. * @param {Boolean} isPrefix,是否自动加上"?"
  13587. * @param {string} arrayFormat 规则 indices|brackets|repeat|comma
  13588. */
  13589. function queryParams() {
  13590. var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  13591. var isPrefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  13592. var arrayFormat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'brackets';
  13593. var prefix = isPrefix ? '?' : '';
  13594. var _result = [];
  13595. if (['indices', 'brackets', 'repeat', 'comma'].indexOf(arrayFormat) == -1) arrayFormat = 'brackets';
  13596. var _loop = function _loop(key) {
  13597. var value = data[key];
  13598. // 去掉为空的参数
  13599. if (['', undefined, null].indexOf(value) >= 0) {
  13600. return "continue";
  13601. }
  13602. // 如果值为数组,另行处理
  13603. if (value.constructor === Array) {
  13604. // e.g. {ids: [1, 2, 3]}
  13605. switch (arrayFormat) {
  13606. case 'indices':
  13607. // 结果: ids[0]=1&ids[1]=2&ids[2]=3
  13608. for (var i = 0; i < value.length; i++) {
  13609. _result.push("".concat(key, "[").concat(i, "]=").concat(value[i]));
  13610. }
  13611. break;
  13612. case 'brackets':
  13613. // 结果: ids[]=1&ids[]=2&ids[]=3
  13614. value.forEach(function (_value) {
  13615. _result.push("".concat(key, "[]=").concat(_value));
  13616. });
  13617. break;
  13618. case 'repeat':
  13619. // 结果: ids=1&ids=2&ids=3
  13620. value.forEach(function (_value) {
  13621. _result.push("".concat(key, "=").concat(_value));
  13622. });
  13623. break;
  13624. case 'comma':
  13625. // 结果: ids=1,2,3
  13626. var commaStr = '';
  13627. value.forEach(function (_value) {
  13628. commaStr += (commaStr ? ',' : '') + _value;
  13629. });
  13630. _result.push("".concat(key, "=").concat(commaStr));
  13631. break;
  13632. default:
  13633. value.forEach(function (_value) {
  13634. _result.push("".concat(key, "[]=").concat(_value));
  13635. });
  13636. }
  13637. } else {
  13638. _result.push("".concat(key, "=").concat(value));
  13639. }
  13640. };
  13641. for (var key in data) {
  13642. var _ret = _loop(key);
  13643. if (_ret === "continue") continue;
  13644. }
  13645. return _result.length ? prefix + _result.join('&') : '';
  13646. }
  13647. /**
  13648. * 显示消息提示框
  13649. * @param {String} title 提示的内容,长度与 icon 取值有关。
  13650. * @param {Number} duration 提示的延迟时间,单位毫秒,默认:2000
  13651. */
  13652. function toast(title) {
  13653. var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2000;
  13654. uni.showToast({
  13655. title: String(title),
  13656. icon: 'none',
  13657. duration: duration
  13658. });
  13659. }
  13660. /**
  13661. * @description 根据主题type值,获取对应的图标
  13662. * @param {String} type 主题名称,primary|info|error|warning|success
  13663. * @param {boolean} fill 是否使用fill填充实体的图标
  13664. */
  13665. function type2icon() {
  13666. var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
  13667. var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  13668. // 如果非预置值,默认为success
  13669. if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
  13670. var iconName = '';
  13671. // 目前(2019-12-12),info和primary使用同一个图标
  13672. switch (type) {
  13673. case 'primary':
  13674. iconName = 'info-circle';
  13675. break;
  13676. case 'info':
  13677. iconName = 'info-circle';
  13678. break;
  13679. case 'error':
  13680. iconName = 'close-circle';
  13681. break;
  13682. case 'warning':
  13683. iconName = 'error-circle';
  13684. break;
  13685. case 'success':
  13686. iconName = 'checkmark-circle';
  13687. break;
  13688. default:
  13689. iconName = 'checkmark-circle';
  13690. }
  13691. // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
  13692. if (fill) iconName += '-fill';
  13693. return iconName;
  13694. }
  13695. /**
  13696. * @description 数字格式化
  13697. * @param {number|string} number 要格式化的数字
  13698. * @param {number} decimals 保留几位小数
  13699. * @param {string} decimalPoint 小数点符号
  13700. * @param {string} thousandsSeparator 千分位符号
  13701. * @returns {string} 格式化后的数字
  13702. */
  13703. function priceFormat(number) {
  13704. var decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  13705. var decimalPoint = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '.';
  13706. var thousandsSeparator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ',';
  13707. number = "".concat(number).replace(/[^0-9+-Ee.]/g, '');
  13708. var n = !isFinite(+number) ? 0 : +number;
  13709. var prec = !isFinite(+decimals) ? 0 : Math.abs(decimals);
  13710. var sep = typeof thousandsSeparator === 'undefined' ? ',' : thousandsSeparator;
  13711. var dec = typeof decimalPoint === 'undefined' ? '.' : decimalPoint;
  13712. var s = '';
  13713. s = (prec ? (0, _digit.round)(n, prec) + '' : "".concat(Math.round(n))).split('.');
  13714. var re = /(-?\d+)(\d{3})/;
  13715. while (re.test(s[0])) {
  13716. s[0] = s[0].replace(re, "$1".concat(sep, "$2"));
  13717. }
  13718. if ((s[1] || '').length < prec) {
  13719. s[1] = s[1] || '';
  13720. s[1] += new Array(prec - s[1].length + 1).join('0');
  13721. }
  13722. return s.join(dec);
  13723. }
  13724. /**
  13725. * @description 获取duration值
  13726. * 如果带有ms或者s直接返回,如果大于一定值,认为是ms单位,小于一定值,认为是s单位
  13727. * 比如以30位阈值,那么300大于30,可以理解为用户想要的是300ms,而不是想花300s去执行一个动画
  13728. * @param {String|number} value 比如: "1s"|"100ms"|1|100
  13729. * @param {boolean} unit 提示: 如果是false 默认返回number
  13730. * @return {string|number}
  13731. */
  13732. function getDuration(value) {
  13733. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  13734. var valueNum = parseInt(value);
  13735. if (unit) {
  13736. if (/s$/.test(value)) return value;
  13737. return value > 30 ? "".concat(value, "ms") : "".concat(value, "s");
  13738. }
  13739. if (/ms$/.test(value)) return valueNum;
  13740. if (/s$/.test(value)) return valueNum > 30 ? valueNum : valueNum * 1000;
  13741. return valueNum;
  13742. }
  13743. /**
  13744. * @description 日期的月或日补零操作
  13745. * @param {String} value 需要补零的值
  13746. */
  13747. function padZero(value) {
  13748. return "00".concat(value).slice(-2);
  13749. }
  13750. /**
  13751. * @description 在u-form的子组件内容发生变化,或者失去焦点时,尝试通知u-form执行校验方法
  13752. * @param {*} instance
  13753. * @param {*} event
  13754. */
  13755. function formValidate(instance, event) {
  13756. var formItem = uni.$u.$parent.call(instance, 'u-form-item');
  13757. var form = uni.$u.$parent.call(instance, 'u-form');
  13758. // 如果发生变化的input或者textarea等,其父组件中有u-form-item或者u-form等,就执行form的validate方法
  13759. // 同时将form-item的pros传递给form,让其进行精确对象验证
  13760. if (formItem && form) {
  13761. form.validateField(formItem.prop, function () {}, event);
  13762. }
  13763. }
  13764. /**
  13765. * @description 获取某个对象下的属性,用于通过类似'a.b.c'的形式去获取一个对象的的属性的形式
  13766. * @param {object} obj 对象
  13767. * @param {string} key 需要获取的属性字段
  13768. * @returns {*}
  13769. */
  13770. function getProperty(obj, key) {
  13771. if (!obj) {
  13772. return;
  13773. }
  13774. if (typeof key !== 'string' || key === '') {
  13775. return '';
  13776. }
  13777. if (key.indexOf('.') !== -1) {
  13778. var keys = key.split('.');
  13779. var firstObj = obj[keys[0]] || {};
  13780. for (var i = 1; i < keys.length; i++) {
  13781. if (firstObj) {
  13782. firstObj = firstObj[keys[i]];
  13783. }
  13784. }
  13785. return firstObj;
  13786. }
  13787. return obj[key];
  13788. }
  13789. /**
  13790. * @description 设置对象的属性值,如果'a.b.c'的形式进行设置
  13791. * @param {object} obj 对象
  13792. * @param {string} key 需要设置的属性
  13793. * @param {string} value 设置的值
  13794. */
  13795. function setProperty(obj, key, value) {
  13796. if (!obj) {
  13797. return;
  13798. }
  13799. // 递归赋值
  13800. var inFn = function inFn(_obj, keys, v) {
  13801. // 最后一个属性key
  13802. if (keys.length === 1) {
  13803. _obj[keys[0]] = v;
  13804. return;
  13805. }
  13806. // 0~length-1个key
  13807. while (keys.length > 1) {
  13808. var k = keys[0];
  13809. if (!_obj[k] || (0, _typeof2.default)(_obj[k]) !== 'object') {
  13810. _obj[k] = {};
  13811. }
  13812. var _key = keys.shift();
  13813. // 自调用判断是否存在属性,不存在则自动创建对象
  13814. inFn(_obj[k], keys, v);
  13815. }
  13816. };
  13817. if (typeof key !== 'string' || key === '') {} else if (key.indexOf('.') !== -1) {
  13818. // 支持多层级赋值操作
  13819. var keys = key.split('.');
  13820. inFn(obj, keys, value);
  13821. } else {
  13822. obj[key] = value;
  13823. }
  13824. }
  13825. /**
  13826. * @description 获取当前页面路径
  13827. */
  13828. function page() {
  13829. var _pages$route, _pages;
  13830. var pages = getCurrentPages();
  13831. // 某些特殊情况下(比如页面进行redirectTo时的一些时机),pages可能为空数组
  13832. return "/".concat((_pages$route = (_pages = pages[pages.length - 1]) === null || _pages === void 0 ? void 0 : _pages.route) !== null && _pages$route !== void 0 ? _pages$route : '');
  13833. }
  13834. /**
  13835. * @description 获取当前路由栈实例数组
  13836. */
  13837. function pages() {
  13838. var pages = getCurrentPages();
  13839. return pages;
  13840. }
  13841. /**
  13842. * @description 修改uView内置属性值
  13843. * @param {object} props 修改内置props属性
  13844. * @param {object} config 修改内置config属性
  13845. * @param {object} color 修改内置color属性
  13846. * @param {object} zIndex 修改内置zIndex属性
  13847. */
  13848. function setConfig(_ref3) {
  13849. var _ref3$props = _ref3.props,
  13850. props = _ref3$props === void 0 ? {} : _ref3$props,
  13851. _ref3$config = _ref3.config,
  13852. config = _ref3$config === void 0 ? {} : _ref3$config,
  13853. _ref3$color = _ref3.color,
  13854. color = _ref3$color === void 0 ? {} : _ref3$color,
  13855. _ref3$zIndex = _ref3.zIndex,
  13856. zIndex = _ref3$zIndex === void 0 ? {} : _ref3$zIndex;
  13857. var deepMerge = uni.$u.deepMerge;
  13858. uni.$u.config = deepMerge(uni.$u.config, config);
  13859. uni.$u.props = deepMerge(uni.$u.props, props);
  13860. uni.$u.color = deepMerge(uni.$u.color, color);
  13861. uni.$u.zIndex = deepMerge(uni.$u.zIndex, zIndex);
  13862. }
  13863. var _default = {
  13864. range: range,
  13865. getPx: getPx,
  13866. sleep: sleep,
  13867. os: os,
  13868. sys: sys,
  13869. random: random,
  13870. guid: guid,
  13871. $parent: $parent,
  13872. addStyle: addStyle,
  13873. addUnit: addUnit,
  13874. deepClone: deepClone,
  13875. deepMerge: deepMerge,
  13876. error: error,
  13877. randomArray: randomArray,
  13878. timeFormat: timeFormat,
  13879. timeFrom: timeFrom,
  13880. trim: trim,
  13881. queryParams: queryParams,
  13882. toast: toast,
  13883. type2icon: type2icon,
  13884. priceFormat: priceFormat,
  13885. getDuration: getDuration,
  13886. padZero: padZero,
  13887. formValidate: formValidate,
  13888. getProperty: getProperty,
  13889. setProperty: setProperty,
  13890. page: page,
  13891. pages: pages,
  13892. setConfig: setConfig
  13893. };
  13894. exports.default = _default;
  13895. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  13896. /***/ }),
  13897. /* 65 */
  13898. /*!***************************************************************************************************************************************************!*\
  13899. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/digit.js ***!
  13900. \***************************************************************************************************************************************************/
  13901. /*! no static exports found */
  13902. /***/ (function(module, exports, __webpack_require__) {
  13903. "use strict";
  13904. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  13905. Object.defineProperty(exports, "__esModule", {
  13906. value: true
  13907. });
  13908. exports.default = void 0;
  13909. exports.divide = divide;
  13910. exports.enableBoundaryChecking = enableBoundaryChecking;
  13911. exports.minus = minus;
  13912. exports.plus = plus;
  13913. exports.round = round;
  13914. exports.times = times;
  13915. var _toArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toArray */ 66));
  13916. var _boundaryCheckingState = true; // 是否进行越界检查的全局开关
  13917. /**
  13918. * 把错误的数据转正
  13919. * @private
  13920. * @example strip(0.09999999999999998)=0.1
  13921. */
  13922. function strip(num) {
  13923. var precision = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 15;
  13924. return +parseFloat(Number(num).toPrecision(precision));
  13925. }
  13926. /**
  13927. * Return digits length of a number
  13928. * @private
  13929. * @param {*number} num Input number
  13930. */
  13931. function digitLength(num) {
  13932. // Get digit length of e
  13933. var eSplit = num.toString().split(/[eE]/);
  13934. var len = (eSplit[0].split('.')[1] || '').length - +(eSplit[1] || 0);
  13935. return len > 0 ? len : 0;
  13936. }
  13937. /**
  13938. * 把小数转成整数,如果是小数则放大成整数
  13939. * @private
  13940. * @param {*number} num 输入数
  13941. */
  13942. function float2Fixed(num) {
  13943. if (num.toString().indexOf('e') === -1) {
  13944. return Number(num.toString().replace('.', ''));
  13945. }
  13946. var dLen = digitLength(num);
  13947. return dLen > 0 ? strip(Number(num) * Math.pow(10, dLen)) : Number(num);
  13948. }
  13949. /**
  13950. * 检测数字是否越界,如果越界给出提示
  13951. * @private
  13952. * @param {*number} num 输入数
  13953. */
  13954. function checkBoundary(num) {
  13955. if (_boundaryCheckingState) {
  13956. if (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) {
  13957. console.warn("".concat(num, " \u8D85\u51FA\u4E86\u7CBE\u5EA6\u9650\u5236\uFF0C\u7ED3\u679C\u53EF\u80FD\u4E0D\u6B63\u786E"));
  13958. }
  13959. }
  13960. }
  13961. /**
  13962. * 把递归操作扁平迭代化
  13963. * @param {number[]} arr 要操作的数字数组
  13964. * @param {function} operation 迭代操作
  13965. * @private
  13966. */
  13967. function iteratorOperation(arr, operation) {
  13968. var _arr = (0, _toArray2.default)(arr),
  13969. num1 = _arr[0],
  13970. num2 = _arr[1],
  13971. others = _arr.slice(2);
  13972. var res = operation(num1, num2);
  13973. others.forEach(function (num) {
  13974. res = operation(res, num);
  13975. });
  13976. return res;
  13977. }
  13978. /**
  13979. * 高精度乘法
  13980. * @export
  13981. */
  13982. function times() {
  13983. for (var _len = arguments.length, nums = new Array(_len), _key = 0; _key < _len; _key++) {
  13984. nums[_key] = arguments[_key];
  13985. }
  13986. if (nums.length > 2) {
  13987. return iteratorOperation(nums, times);
  13988. }
  13989. var num1 = nums[0],
  13990. num2 = nums[1];
  13991. var num1Changed = float2Fixed(num1);
  13992. var num2Changed = float2Fixed(num2);
  13993. var baseNum = digitLength(num1) + digitLength(num2);
  13994. var leftValue = num1Changed * num2Changed;
  13995. checkBoundary(leftValue);
  13996. return leftValue / Math.pow(10, baseNum);
  13997. }
  13998. /**
  13999. * 高精度加法
  14000. * @export
  14001. */
  14002. function plus() {
  14003. for (var _len2 = arguments.length, nums = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
  14004. nums[_key2] = arguments[_key2];
  14005. }
  14006. if (nums.length > 2) {
  14007. return iteratorOperation(nums, plus);
  14008. }
  14009. var num1 = nums[0],
  14010. num2 = nums[1];
  14011. // 取最大的小数位
  14012. var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  14013. // 把小数都转为整数然后再计算
  14014. return (times(num1, baseNum) + times(num2, baseNum)) / baseNum;
  14015. }
  14016. /**
  14017. * 高精度减法
  14018. * @export
  14019. */
  14020. function minus() {
  14021. for (var _len3 = arguments.length, nums = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
  14022. nums[_key3] = arguments[_key3];
  14023. }
  14024. if (nums.length > 2) {
  14025. return iteratorOperation(nums, minus);
  14026. }
  14027. var num1 = nums[0],
  14028. num2 = nums[1];
  14029. var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  14030. return (times(num1, baseNum) - times(num2, baseNum)) / baseNum;
  14031. }
  14032. /**
  14033. * 高精度除法
  14034. * @export
  14035. */
  14036. function divide() {
  14037. for (var _len4 = arguments.length, nums = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  14038. nums[_key4] = arguments[_key4];
  14039. }
  14040. if (nums.length > 2) {
  14041. return iteratorOperation(nums, divide);
  14042. }
  14043. var num1 = nums[0],
  14044. num2 = nums[1];
  14045. var num1Changed = float2Fixed(num1);
  14046. var num2Changed = float2Fixed(num2);
  14047. checkBoundary(num1Changed);
  14048. checkBoundary(num2Changed);
  14049. // 重要,这里必须用strip进行修正
  14050. return times(num1Changed / num2Changed, strip(Math.pow(10, digitLength(num2) - digitLength(num1))));
  14051. }
  14052. /**
  14053. * 四舍五入
  14054. * @export
  14055. */
  14056. function round(num, ratio) {
  14057. var base = Math.pow(10, ratio);
  14058. var result = divide(Math.round(Math.abs(times(num, base))), base);
  14059. if (num < 0 && result !== 0) {
  14060. result = times(result, -1);
  14061. }
  14062. // 位数不足则补0
  14063. return result;
  14064. }
  14065. /**
  14066. * 是否进行边界检查,默认开启
  14067. * @param flag 标记开关,true 为开启,false 为关闭,默认为 true
  14068. * @export
  14069. */
  14070. function enableBoundaryChecking() {
  14071. var flag = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
  14072. _boundaryCheckingState = flag;
  14073. }
  14074. var _default = {
  14075. times: times,
  14076. plus: plus,
  14077. minus: minus,
  14078. divide: divide,
  14079. round: round,
  14080. enableBoundaryChecking: enableBoundaryChecking
  14081. };
  14082. exports.default = _default;
  14083. /***/ }),
  14084. /* 66 */
  14085. /*!********************************************************!*\
  14086. !*** ./node_modules/@babel/runtime/helpers/toArray.js ***!
  14087. \********************************************************/
  14088. /*! no static exports found */
  14089. /***/ (function(module, exports, __webpack_require__) {
  14090. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  14091. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  14092. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  14093. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  14094. function _toArray(arr) {
  14095. return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
  14096. }
  14097. module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  14098. /***/ }),
  14099. /* 67 */
  14100. /*!**************************************************************************************************************************************************!*\
  14101. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/config.js ***!
  14102. \**************************************************************************************************************************************************/
  14103. /*! no static exports found */
  14104. /***/ (function(module, exports, __webpack_require__) {
  14105. "use strict";
  14106. Object.defineProperty(exports, "__esModule", {
  14107. value: true
  14108. });
  14109. exports.default = void 0;
  14110. // 此版本发布于2022-00-24
  14111. var version = '2.0.34';
  14112. // 开发环境才提示,生产环境不会提示
  14113. if (true) {
  14114. console.log("\n %c uView V".concat(version, " %c https://uviewui.com/ \n\n"), 'color: #ffffff; background: #3c9cff; padding:5px 0; border-radius: 5px;');
  14115. }
  14116. var _default = {
  14117. v: version,
  14118. version: version,
  14119. // 主题名称
  14120. type: ['primary', 'success', 'info', 'error', 'warning'],
  14121. // 颜色部分,本来可以通过scss的:export导出供js使用,但是奈何nvue不支持
  14122. color: {
  14123. 'u-primary': '#2979ff',
  14124. 'u-warning': '#ff9900',
  14125. 'u-success': '#19be6b',
  14126. 'u-error': '#fa3534',
  14127. 'u-info': '#909399',
  14128. 'u-main-color': '#303133',
  14129. 'u-content-color': '#606266',
  14130. 'u-tips-color': '#909399',
  14131. 'u-light-color': '#c0c4cc'
  14132. },
  14133. // 默认单位,可以通过配置为rpx,那么在用于传入组件大小参数为数值时,就默认为rpx
  14134. unit: 'px'
  14135. };
  14136. exports.default = _default;
  14137. /***/ }),
  14138. /* 68 */
  14139. /*!*************************************************************************************************************************************************!*\
  14140. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props.js ***!
  14141. \*************************************************************************************************************************************************/
  14142. /*! no static exports found */
  14143. /***/ (function(module, exports, __webpack_require__) {
  14144. "use strict";
  14145. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  14146. Object.defineProperty(exports, "__esModule", {
  14147. value: true
  14148. });
  14149. exports.default = void 0;
  14150. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  14151. var _config = _interopRequireDefault(__webpack_require__(/*! ./config */ 67));
  14152. var _actionSheet = _interopRequireDefault(__webpack_require__(/*! ./props/actionSheet.js */ 69));
  14153. var _album = _interopRequireDefault(__webpack_require__(/*! ./props/album.js */ 70));
  14154. var _alert = _interopRequireDefault(__webpack_require__(/*! ./props/alert.js */ 71));
  14155. var _avatar = _interopRequireDefault(__webpack_require__(/*! ./props/avatar */ 72));
  14156. var _avatarGroup = _interopRequireDefault(__webpack_require__(/*! ./props/avatarGroup */ 73));
  14157. var _backtop = _interopRequireDefault(__webpack_require__(/*! ./props/backtop */ 74));
  14158. var _badge = _interopRequireDefault(__webpack_require__(/*! ./props/badge */ 75));
  14159. var _button = _interopRequireDefault(__webpack_require__(/*! ./props/button */ 76));
  14160. var _calendar = _interopRequireDefault(__webpack_require__(/*! ./props/calendar */ 77));
  14161. var _carKeyboard = _interopRequireDefault(__webpack_require__(/*! ./props/carKeyboard */ 78));
  14162. var _cell = _interopRequireDefault(__webpack_require__(/*! ./props/cell */ 79));
  14163. var _cellGroup = _interopRequireDefault(__webpack_require__(/*! ./props/cellGroup */ 80));
  14164. var _checkbox = _interopRequireDefault(__webpack_require__(/*! ./props/checkbox */ 81));
  14165. var _checkboxGroup = _interopRequireDefault(__webpack_require__(/*! ./props/checkboxGroup */ 82));
  14166. var _circleProgress = _interopRequireDefault(__webpack_require__(/*! ./props/circleProgress */ 83));
  14167. var _code = _interopRequireDefault(__webpack_require__(/*! ./props/code */ 84));
  14168. var _codeInput = _interopRequireDefault(__webpack_require__(/*! ./props/codeInput */ 85));
  14169. var _col = _interopRequireDefault(__webpack_require__(/*! ./props/col */ 86));
  14170. var _collapse = _interopRequireDefault(__webpack_require__(/*! ./props/collapse */ 87));
  14171. var _collapseItem = _interopRequireDefault(__webpack_require__(/*! ./props/collapseItem */ 88));
  14172. var _columnNotice = _interopRequireDefault(__webpack_require__(/*! ./props/columnNotice */ 89));
  14173. var _countDown = _interopRequireDefault(__webpack_require__(/*! ./props/countDown */ 90));
  14174. var _countTo = _interopRequireDefault(__webpack_require__(/*! ./props/countTo */ 91));
  14175. var _datetimePicker = _interopRequireDefault(__webpack_require__(/*! ./props/datetimePicker */ 92));
  14176. var _divider = _interopRequireDefault(__webpack_require__(/*! ./props/divider */ 93));
  14177. var _empty = _interopRequireDefault(__webpack_require__(/*! ./props/empty */ 94));
  14178. var _form = _interopRequireDefault(__webpack_require__(/*! ./props/form */ 95));
  14179. var _formItem = _interopRequireDefault(__webpack_require__(/*! ./props/formItem */ 96));
  14180. var _gap = _interopRequireDefault(__webpack_require__(/*! ./props/gap */ 97));
  14181. var _grid = _interopRequireDefault(__webpack_require__(/*! ./props/grid */ 98));
  14182. var _gridItem = _interopRequireDefault(__webpack_require__(/*! ./props/gridItem */ 99));
  14183. var _icon = _interopRequireDefault(__webpack_require__(/*! ./props/icon */ 100));
  14184. var _image = _interopRequireDefault(__webpack_require__(/*! ./props/image */ 101));
  14185. var _indexAnchor = _interopRequireDefault(__webpack_require__(/*! ./props/indexAnchor */ 102));
  14186. var _indexList = _interopRequireDefault(__webpack_require__(/*! ./props/indexList */ 103));
  14187. var _input = _interopRequireDefault(__webpack_require__(/*! ./props/input */ 104));
  14188. var _keyboard = _interopRequireDefault(__webpack_require__(/*! ./props/keyboard */ 105));
  14189. var _line = _interopRequireDefault(__webpack_require__(/*! ./props/line */ 106));
  14190. var _lineProgress = _interopRequireDefault(__webpack_require__(/*! ./props/lineProgress */ 107));
  14191. var _link = _interopRequireDefault(__webpack_require__(/*! ./props/link */ 108));
  14192. var _list = _interopRequireDefault(__webpack_require__(/*! ./props/list */ 109));
  14193. var _listItem = _interopRequireDefault(__webpack_require__(/*! ./props/listItem */ 110));
  14194. var _loadingIcon = _interopRequireDefault(__webpack_require__(/*! ./props/loadingIcon */ 111));
  14195. var _loadingPage = _interopRequireDefault(__webpack_require__(/*! ./props/loadingPage */ 112));
  14196. var _loadmore = _interopRequireDefault(__webpack_require__(/*! ./props/loadmore */ 113));
  14197. var _modal = _interopRequireDefault(__webpack_require__(/*! ./props/modal */ 114));
  14198. var _navbar = _interopRequireDefault(__webpack_require__(/*! ./props/navbar */ 115));
  14199. var _noNetwork = _interopRequireDefault(__webpack_require__(/*! ./props/noNetwork */ 117));
  14200. var _noticeBar = _interopRequireDefault(__webpack_require__(/*! ./props/noticeBar */ 118));
  14201. var _notify = _interopRequireDefault(__webpack_require__(/*! ./props/notify */ 119));
  14202. var _numberBox = _interopRequireDefault(__webpack_require__(/*! ./props/numberBox */ 120));
  14203. var _numberKeyboard = _interopRequireDefault(__webpack_require__(/*! ./props/numberKeyboard */ 121));
  14204. var _overlay = _interopRequireDefault(__webpack_require__(/*! ./props/overlay */ 122));
  14205. var _parse = _interopRequireDefault(__webpack_require__(/*! ./props/parse */ 123));
  14206. var _picker = _interopRequireDefault(__webpack_require__(/*! ./props/picker */ 124));
  14207. var _popup = _interopRequireDefault(__webpack_require__(/*! ./props/popup */ 125));
  14208. var _radio = _interopRequireDefault(__webpack_require__(/*! ./props/radio */ 126));
  14209. var _radioGroup = _interopRequireDefault(__webpack_require__(/*! ./props/radioGroup */ 127));
  14210. var _rate = _interopRequireDefault(__webpack_require__(/*! ./props/rate */ 128));
  14211. var _readMore = _interopRequireDefault(__webpack_require__(/*! ./props/readMore */ 129));
  14212. var _row = _interopRequireDefault(__webpack_require__(/*! ./props/row */ 130));
  14213. var _rowNotice = _interopRequireDefault(__webpack_require__(/*! ./props/rowNotice */ 131));
  14214. var _scrollList = _interopRequireDefault(__webpack_require__(/*! ./props/scrollList */ 132));
  14215. var _search = _interopRequireDefault(__webpack_require__(/*! ./props/search */ 133));
  14216. var _section = _interopRequireDefault(__webpack_require__(/*! ./props/section */ 134));
  14217. var _skeleton = _interopRequireDefault(__webpack_require__(/*! ./props/skeleton */ 135));
  14218. var _slider = _interopRequireDefault(__webpack_require__(/*! ./props/slider */ 136));
  14219. var _statusBar = _interopRequireDefault(__webpack_require__(/*! ./props/statusBar */ 137));
  14220. var _steps = _interopRequireDefault(__webpack_require__(/*! ./props/steps */ 138));
  14221. var _stepsItem = _interopRequireDefault(__webpack_require__(/*! ./props/stepsItem */ 139));
  14222. var _sticky = _interopRequireDefault(__webpack_require__(/*! ./props/sticky */ 140));
  14223. var _subsection = _interopRequireDefault(__webpack_require__(/*! ./props/subsection */ 141));
  14224. var _swipeAction = _interopRequireDefault(__webpack_require__(/*! ./props/swipeAction */ 142));
  14225. var _swipeActionItem = _interopRequireDefault(__webpack_require__(/*! ./props/swipeActionItem */ 143));
  14226. var _swiper = _interopRequireDefault(__webpack_require__(/*! ./props/swiper */ 144));
  14227. var _swipterIndicator = _interopRequireDefault(__webpack_require__(/*! ./props/swipterIndicator */ 145));
  14228. var _switch2 = _interopRequireDefault(__webpack_require__(/*! ./props/switch */ 146));
  14229. var _tabbar = _interopRequireDefault(__webpack_require__(/*! ./props/tabbar */ 147));
  14230. var _tabbarItem = _interopRequireDefault(__webpack_require__(/*! ./props/tabbarItem */ 148));
  14231. var _tabs = _interopRequireDefault(__webpack_require__(/*! ./props/tabs */ 149));
  14232. var _tag = _interopRequireDefault(__webpack_require__(/*! ./props/tag */ 150));
  14233. var _text = _interopRequireDefault(__webpack_require__(/*! ./props/text */ 151));
  14234. var _textarea = _interopRequireDefault(__webpack_require__(/*! ./props/textarea */ 152));
  14235. var _toast = _interopRequireDefault(__webpack_require__(/*! ./props/toast */ 153));
  14236. var _toolbar = _interopRequireDefault(__webpack_require__(/*! ./props/toolbar */ 154));
  14237. var _tooltip = _interopRequireDefault(__webpack_require__(/*! ./props/tooltip */ 155));
  14238. var _transition = _interopRequireDefault(__webpack_require__(/*! ./props/transition */ 156));
  14239. var _upload = _interopRequireDefault(__webpack_require__(/*! ./props/upload */ 157));
  14240. 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; }
  14241. 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; }
  14242. var color = _config.default.color;
  14243. 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);
  14244. exports.default = _default;
  14245. /***/ }),
  14246. /* 69 */
  14247. /*!*************************************************************************************************************************************************************!*\
  14248. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/actionSheet.js ***!
  14249. \*************************************************************************************************************************************************************/
  14250. /*! no static exports found */
  14251. /***/ (function(module, exports, __webpack_require__) {
  14252. "use strict";
  14253. Object.defineProperty(exports, "__esModule", {
  14254. value: true
  14255. });
  14256. exports.default = void 0;
  14257. /*
  14258. * @Author : LQ
  14259. * @Description :
  14260. * @version : 1.0
  14261. * @Date : 2021-08-20 16:44:21
  14262. * @LastAuthor : LQ
  14263. * @lastTime : 2021-08-20 16:44:35
  14264. * @FilePath : /u-view2.0/uview-ui/libs/config/props/actionSheet.js
  14265. */
  14266. var _default = {
  14267. // action-sheet组件
  14268. actionSheet: {
  14269. show: false,
  14270. title: '',
  14271. description: '',
  14272. actions: function actions() {
  14273. return [];
  14274. },
  14275. index: '',
  14276. cancelText: '',
  14277. closeOnClickAction: true,
  14278. safeAreaInsetBottom: true,
  14279. openType: '',
  14280. closeOnClickOverlay: true,
  14281. round: 0
  14282. }
  14283. };
  14284. exports.default = _default;
  14285. /***/ }),
  14286. /* 70 */
  14287. /*!*******************************************************************************************************************************************************!*\
  14288. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/album.js ***!
  14289. \*******************************************************************************************************************************************************/
  14290. /*! no static exports found */
  14291. /***/ (function(module, exports, __webpack_require__) {
  14292. "use strict";
  14293. Object.defineProperty(exports, "__esModule", {
  14294. value: true
  14295. });
  14296. exports.default = void 0;
  14297. /*
  14298. * @Author : LQ
  14299. * @Description :
  14300. * @version : 1.0
  14301. * @Date : 2021-08-20 16:44:21
  14302. * @LastAuthor : LQ
  14303. * @lastTime : 2021-08-20 16:47:24
  14304. * @FilePath : /u-view2.0/uview-ui/libs/config/props/album.js
  14305. */
  14306. var _default = {
  14307. // album 组件
  14308. album: {
  14309. urls: function urls() {
  14310. return [];
  14311. },
  14312. keyName: '',
  14313. singleSize: 180,
  14314. multipleSize: 70,
  14315. space: 6,
  14316. singleMode: 'scaleToFill',
  14317. multipleMode: 'aspectFill',
  14318. maxCount: 9,
  14319. previewFullImage: true,
  14320. rowCount: 3,
  14321. showMore: true
  14322. }
  14323. };
  14324. exports.default = _default;
  14325. /***/ }),
  14326. /* 71 */
  14327. /*!*******************************************************************************************************************************************************!*\
  14328. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/alert.js ***!
  14329. \*******************************************************************************************************************************************************/
  14330. /*! no static exports found */
  14331. /***/ (function(module, exports, __webpack_require__) {
  14332. "use strict";
  14333. Object.defineProperty(exports, "__esModule", {
  14334. value: true
  14335. });
  14336. exports.default = void 0;
  14337. /*
  14338. * @Author : LQ
  14339. * @Description :
  14340. * @version : 1.0
  14341. * @Date : 2021-08-20 16:44:21
  14342. * @LastAuthor : LQ
  14343. * @lastTime : 2021-08-20 16:48:53
  14344. * @FilePath : /u-view2.0/uview-ui/libs/config/props/alert.js
  14345. */
  14346. var _default = {
  14347. // alert警告组件
  14348. alert: {
  14349. title: '',
  14350. type: 'warning',
  14351. description: '',
  14352. closable: false,
  14353. showIcon: false,
  14354. effect: 'light',
  14355. center: false,
  14356. fontSize: 14
  14357. }
  14358. };
  14359. exports.default = _default;
  14360. /***/ }),
  14361. /* 72 */
  14362. /*!********************************************************************************************************************************************************!*\
  14363. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/avatar.js ***!
  14364. \********************************************************************************************************************************************************/
  14365. /*! no static exports found */
  14366. /***/ (function(module, exports, __webpack_require__) {
  14367. "use strict";
  14368. Object.defineProperty(exports, "__esModule", {
  14369. value: true
  14370. });
  14371. exports.default = void 0;
  14372. /*
  14373. * @Author : LQ
  14374. * @Description :
  14375. * @version : 1.0
  14376. * @Date : 2021-08-20 16:44:21
  14377. * @LastAuthor : LQ
  14378. * @lastTime : 2021-08-20 16:49:22
  14379. * @FilePath : /u-view2.0/uview-ui/libs/config/props/avatar.js
  14380. */
  14381. var _default = {
  14382. // avatar 组件
  14383. avatar: {
  14384. src: '',
  14385. shape: 'circle',
  14386. size: 40,
  14387. mode: 'scaleToFill',
  14388. text: '',
  14389. bgColor: '#c0c4cc',
  14390. color: '#ffffff',
  14391. fontSize: 18,
  14392. icon: '',
  14393. mpAvatar: false,
  14394. randomBgColor: false,
  14395. defaultUrl: '',
  14396. colorIndex: '',
  14397. name: ''
  14398. }
  14399. };
  14400. exports.default = _default;
  14401. /***/ }),
  14402. /* 73 */
  14403. /*!*************************************************************************************************************************************************************!*\
  14404. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/avatarGroup.js ***!
  14405. \*************************************************************************************************************************************************************/
  14406. /*! no static exports found */
  14407. /***/ (function(module, exports, __webpack_require__) {
  14408. "use strict";
  14409. Object.defineProperty(exports, "__esModule", {
  14410. value: true
  14411. });
  14412. exports.default = void 0;
  14413. /*
  14414. * @Author : LQ
  14415. * @Description :
  14416. * @version : 1.0
  14417. * @Date : 2021-08-20 16:44:21
  14418. * @LastAuthor : LQ
  14419. * @lastTime : 2021-08-20 16:49:55
  14420. * @FilePath : /u-view2.0/uview-ui/libs/config/props/avatarGroup.js
  14421. */
  14422. var _default = {
  14423. // avatarGroup 组件
  14424. avatarGroup: {
  14425. urls: function urls() {
  14426. return [];
  14427. },
  14428. maxCount: 5,
  14429. shape: 'circle',
  14430. mode: 'scaleToFill',
  14431. showMore: true,
  14432. size: 40,
  14433. keyName: '',
  14434. gap: 0.5,
  14435. extraValue: 0
  14436. }
  14437. };
  14438. exports.default = _default;
  14439. /***/ }),
  14440. /* 74 */
  14441. /*!*********************************************************************************************************************************************************!*\
  14442. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/backtop.js ***!
  14443. \*********************************************************************************************************************************************************/
  14444. /*! no static exports found */
  14445. /***/ (function(module, exports, __webpack_require__) {
  14446. "use strict";
  14447. Object.defineProperty(exports, "__esModule", {
  14448. value: true
  14449. });
  14450. exports.default = void 0;
  14451. /*
  14452. * @Author : LQ
  14453. * @Description :
  14454. * @version : 1.0
  14455. * @Date : 2021-08-20 16:44:21
  14456. * @LastAuthor : LQ
  14457. * @lastTime : 2021-08-20 16:50:18
  14458. * @FilePath : /u-view2.0/uview-ui/libs/config/props/backtop.js
  14459. */
  14460. var _default = {
  14461. // backtop组件
  14462. backtop: {
  14463. mode: 'circle',
  14464. icon: 'arrow-upward',
  14465. text: '',
  14466. duration: 100,
  14467. scrollTop: 0,
  14468. top: 400,
  14469. bottom: 100,
  14470. right: 20,
  14471. zIndex: 9,
  14472. iconStyle: function iconStyle() {
  14473. return {
  14474. color: '#909399',
  14475. fontSize: '19px'
  14476. };
  14477. }
  14478. }
  14479. };
  14480. exports.default = _default;
  14481. /***/ }),
  14482. /* 75 */
  14483. /*!*******************************************************************************************************************************************************!*\
  14484. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/badge.js ***!
  14485. \*******************************************************************************************************************************************************/
  14486. /*! no static exports found */
  14487. /***/ (function(module, exports, __webpack_require__) {
  14488. "use strict";
  14489. Object.defineProperty(exports, "__esModule", {
  14490. value: true
  14491. });
  14492. exports.default = void 0;
  14493. /*
  14494. * @Author : LQ
  14495. * @Description :
  14496. * @version : 1.0
  14497. * @Date : 2021-08-20 16:44:21
  14498. * @LastAuthor : LQ
  14499. * @lastTime : 2021-08-23 19:51:50
  14500. * @FilePath : /u-view2.0/uview-ui/libs/config/props/badge.js
  14501. */
  14502. var _default = {
  14503. // 徽标数组件
  14504. badge: {
  14505. isDot: false,
  14506. value: '',
  14507. show: true,
  14508. max: 999,
  14509. type: 'error',
  14510. showZero: false,
  14511. bgColor: null,
  14512. color: null,
  14513. shape: 'circle',
  14514. numberType: 'overflow',
  14515. offset: function offset() {
  14516. return [];
  14517. },
  14518. inverted: false,
  14519. absolute: false
  14520. }
  14521. };
  14522. exports.default = _default;
  14523. /***/ }),
  14524. /* 76 */
  14525. /*!********************************************************************************************************************************************************!*\
  14526. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/button.js ***!
  14527. \********************************************************************************************************************************************************/
  14528. /*! no static exports found */
  14529. /***/ (function(module, exports, __webpack_require__) {
  14530. "use strict";
  14531. Object.defineProperty(exports, "__esModule", {
  14532. value: true
  14533. });
  14534. exports.default = void 0;
  14535. /*
  14536. * @Author : LQ
  14537. * @Description :
  14538. * @version : 1.0
  14539. * @Date : 2021-08-20 16:44:21
  14540. * @LastAuthor : LQ
  14541. * @lastTime : 2021-08-20 16:51:27
  14542. * @FilePath : /u-view2.0/uview-ui/libs/config/props/button.js
  14543. */
  14544. var _default = {
  14545. // button组件
  14546. button: {
  14547. hairline: false,
  14548. type: 'info',
  14549. size: 'normal',
  14550. shape: 'square',
  14551. plain: false,
  14552. disabled: false,
  14553. loading: false,
  14554. loadingText: '',
  14555. loadingMode: 'spinner',
  14556. loadingSize: 15,
  14557. openType: '',
  14558. formType: '',
  14559. appParameter: '',
  14560. hoverStopPropagation: true,
  14561. lang: 'en',
  14562. sessionFrom: '',
  14563. sendMessageTitle: '',
  14564. sendMessagePath: '',
  14565. sendMessageImg: '',
  14566. showMessageCard: false,
  14567. dataName: '',
  14568. throttleTime: 0,
  14569. hoverStartTime: 0,
  14570. hoverStayTime: 200,
  14571. text: '',
  14572. icon: '',
  14573. iconColor: '',
  14574. color: ''
  14575. }
  14576. };
  14577. exports.default = _default;
  14578. /***/ }),
  14579. /* 77 */
  14580. /*!**********************************************************************************************************************************************************!*\
  14581. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/calendar.js ***!
  14582. \**********************************************************************************************************************************************************/
  14583. /*! no static exports found */
  14584. /***/ (function(module, exports, __webpack_require__) {
  14585. "use strict";
  14586. Object.defineProperty(exports, "__esModule", {
  14587. value: true
  14588. });
  14589. exports.default = void 0;
  14590. /*
  14591. * @Author : LQ
  14592. * @Description :
  14593. * @version : 1.0
  14594. * @Date : 2021-08-20 16:44:21
  14595. * @LastAuthor : LQ
  14596. * @lastTime : 2021-08-20 16:52:43
  14597. * @FilePath : /u-view2.0/uview-ui/libs/config/props/calendar.js
  14598. */
  14599. var _default = {
  14600. // calendar 组件
  14601. calendar: {
  14602. title: '日期选择',
  14603. showTitle: true,
  14604. showSubtitle: true,
  14605. mode: 'single',
  14606. startText: '开始',
  14607. endText: '结束',
  14608. customList: function customList() {
  14609. return [];
  14610. },
  14611. color: '#3c9cff',
  14612. minDate: 0,
  14613. maxDate: 0,
  14614. defaultDate: null,
  14615. maxCount: Number.MAX_SAFE_INTEGER,
  14616. // Infinity
  14617. rowHeight: 56,
  14618. formatter: null,
  14619. showLunar: false,
  14620. showMark: true,
  14621. confirmText: '确定',
  14622. confirmDisabledText: '确定',
  14623. show: false,
  14624. closeOnClickOverlay: false,
  14625. readonly: false,
  14626. showConfirm: true,
  14627. maxRange: Number.MAX_SAFE_INTEGER,
  14628. // Infinity
  14629. rangePrompt: '',
  14630. showRangePrompt: true,
  14631. allowSameDay: false,
  14632. round: 0,
  14633. monthNum: 3
  14634. }
  14635. };
  14636. exports.default = _default;
  14637. /***/ }),
  14638. /* 78 */
  14639. /*!*************************************************************************************************************************************************************!*\
  14640. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/carKeyboard.js ***!
  14641. \*************************************************************************************************************************************************************/
  14642. /*! no static exports found */
  14643. /***/ (function(module, exports, __webpack_require__) {
  14644. "use strict";
  14645. Object.defineProperty(exports, "__esModule", {
  14646. value: true
  14647. });
  14648. exports.default = void 0;
  14649. /*
  14650. * @Author : LQ
  14651. * @Description :
  14652. * @version : 1.0
  14653. * @Date : 2021-08-20 16:44:21
  14654. * @LastAuthor : LQ
  14655. * @lastTime : 2021-08-20 16:53:20
  14656. * @FilePath : /u-view2.0/uview-ui/libs/config/props/carKeyboard.js
  14657. */
  14658. var _default = {
  14659. // 车牌号键盘
  14660. carKeyboard: {
  14661. random: false
  14662. }
  14663. };
  14664. exports.default = _default;
  14665. /***/ }),
  14666. /* 79 */
  14667. /*!******************************************************************************************************************************************************!*\
  14668. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/cell.js ***!
  14669. \******************************************************************************************************************************************************/
  14670. /*! no static exports found */
  14671. /***/ (function(module, exports, __webpack_require__) {
  14672. "use strict";
  14673. Object.defineProperty(exports, "__esModule", {
  14674. value: true
  14675. });
  14676. exports.default = void 0;
  14677. /*
  14678. * @Author : LQ
  14679. * @Description :
  14680. * @version : 1.0
  14681. * @Date : 2021-08-20 16:44:21
  14682. * @LastAuthor : LQ
  14683. * @lastTime : 2021-08-23 20:53:09
  14684. * @FilePath : /u-view2.0/uview-ui/libs/config/props/cell.js
  14685. */
  14686. var _default = {
  14687. // cell组件的props
  14688. cell: {
  14689. customClass: '',
  14690. title: '',
  14691. label: '',
  14692. value: '',
  14693. icon: '',
  14694. disabled: false,
  14695. border: true,
  14696. center: false,
  14697. url: '',
  14698. linkType: 'navigateTo',
  14699. clickable: false,
  14700. isLink: false,
  14701. required: false,
  14702. arrowDirection: '',
  14703. iconStyle: {},
  14704. rightIconStyle: {},
  14705. rightIcon: 'arrow-right',
  14706. titleStyle: {},
  14707. size: '',
  14708. stop: true,
  14709. name: ''
  14710. }
  14711. };
  14712. exports.default = _default;
  14713. /***/ }),
  14714. /* 80 */
  14715. /*!***********************************************************************************************************************************************************!*\
  14716. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/cellGroup.js ***!
  14717. \***********************************************************************************************************************************************************/
  14718. /*! no static exports found */
  14719. /***/ (function(module, exports, __webpack_require__) {
  14720. "use strict";
  14721. Object.defineProperty(exports, "__esModule", {
  14722. value: true
  14723. });
  14724. exports.default = void 0;
  14725. /*
  14726. * @Author : LQ
  14727. * @Description :
  14728. * @version : 1.0
  14729. * @Date : 2021-08-20 16:44:21
  14730. * @LastAuthor : LQ
  14731. * @lastTime : 2021-08-20 16:54:16
  14732. * @FilePath : /u-view2.0/uview-ui/libs/config/props/cellGroup.js
  14733. */
  14734. var _default = {
  14735. // cell-group组件的props
  14736. cellGroup: {
  14737. title: '',
  14738. border: true,
  14739. customStyle: {}
  14740. }
  14741. };
  14742. exports.default = _default;
  14743. /***/ }),
  14744. /* 81 */
  14745. /*!**********************************************************************************************************************************************************!*\
  14746. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/checkbox.js ***!
  14747. \**********************************************************************************************************************************************************/
  14748. /*! no static exports found */
  14749. /***/ (function(module, exports, __webpack_require__) {
  14750. "use strict";
  14751. Object.defineProperty(exports, "__esModule", {
  14752. value: true
  14753. });
  14754. exports.default = void 0;
  14755. /*
  14756. * @Author : LQ
  14757. * @Description :
  14758. * @version : 1.0
  14759. * @Date : 2021-08-20 16:44:21
  14760. * @LastAuthor : LQ
  14761. * @lastTime : 2021-08-23 21:06:59
  14762. * @FilePath : /u-view2.0/uview-ui/libs/config/props/checkbox.js
  14763. */
  14764. var _default = {
  14765. // checkbox组件
  14766. checkbox: {
  14767. name: '',
  14768. shape: '',
  14769. size: '',
  14770. checkbox: false,
  14771. disabled: '',
  14772. activeColor: '',
  14773. inactiveColor: '',
  14774. iconSize: '',
  14775. iconColor: '',
  14776. label: '',
  14777. labelSize: '',
  14778. labelColor: '',
  14779. labelDisabled: ''
  14780. }
  14781. };
  14782. exports.default = _default;
  14783. /***/ }),
  14784. /* 82 */
  14785. /*!***************************************************************************************************************************************************************!*\
  14786. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/checkboxGroup.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:54:47
  14802. * @FilePath : /u-view2.0/uview-ui/libs/config/props/checkboxGroup.js
  14803. */
  14804. var _default = {
  14805. // checkbox-group组件
  14806. checkboxGroup: {
  14807. name: '',
  14808. value: function value() {
  14809. return [];
  14810. },
  14811. shape: 'square',
  14812. disabled: false,
  14813. activeColor: '#2979ff',
  14814. inactiveColor: '#c8c9cc',
  14815. size: 18,
  14816. placement: 'row',
  14817. labelSize: 14,
  14818. labelColor: '#303133',
  14819. labelDisabled: false,
  14820. iconColor: '#ffffff',
  14821. iconSize: 12,
  14822. iconPlacement: 'left',
  14823. borderBottom: false
  14824. }
  14825. };
  14826. exports.default = _default;
  14827. /***/ }),
  14828. /* 83 */
  14829. /*!****************************************************************************************************************************************************************!*\
  14830. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/circleProgress.js ***!
  14831. \****************************************************************************************************************************************************************/
  14832. /*! no static exports found */
  14833. /***/ (function(module, exports, __webpack_require__) {
  14834. "use strict";
  14835. Object.defineProperty(exports, "__esModule", {
  14836. value: true
  14837. });
  14838. exports.default = void 0;
  14839. /*
  14840. * @Author : LQ
  14841. * @Description :
  14842. * @version : 1.0
  14843. * @Date : 2021-08-20 16:44:21
  14844. * @LastAuthor : LQ
  14845. * @lastTime : 2021-08-20 16:55:02
  14846. * @FilePath : /u-view2.0/uview-ui/libs/config/props/circleProgress.js
  14847. */
  14848. var _default = {
  14849. // circleProgress 组件
  14850. circleProgress: {
  14851. percentage: 30
  14852. }
  14853. };
  14854. exports.default = _default;
  14855. /***/ }),
  14856. /* 84 */
  14857. /*!******************************************************************************************************************************************************!*\
  14858. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/code.js ***!
  14859. \******************************************************************************************************************************************************/
  14860. /*! no static exports found */
  14861. /***/ (function(module, exports, __webpack_require__) {
  14862. "use strict";
  14863. Object.defineProperty(exports, "__esModule", {
  14864. value: true
  14865. });
  14866. exports.default = void 0;
  14867. /*
  14868. * @Author : LQ
  14869. * @Description :
  14870. * @version : 1.0
  14871. * @Date : 2021-08-20 16:44:21
  14872. * @LastAuthor : LQ
  14873. * @lastTime : 2021-08-20 16:55:27
  14874. * @FilePath : /u-view2.0/uview-ui/libs/config/props/code.js
  14875. */
  14876. var _default = {
  14877. // code 组件
  14878. code: {
  14879. seconds: 60,
  14880. startText: '获取验证码',
  14881. changeText: 'X秒重新获取',
  14882. endText: '重新获取',
  14883. keepRunning: false,
  14884. uniqueKey: ''
  14885. }
  14886. };
  14887. exports.default = _default;
  14888. /***/ }),
  14889. /* 85 */
  14890. /*!***********************************************************************************************************************************************************!*\
  14891. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/codeInput.js ***!
  14892. \***********************************************************************************************************************************************************/
  14893. /*! no static exports found */
  14894. /***/ (function(module, exports, __webpack_require__) {
  14895. "use strict";
  14896. Object.defineProperty(exports, "__esModule", {
  14897. value: true
  14898. });
  14899. exports.default = void 0;
  14900. /*
  14901. * @Author : LQ
  14902. * @Description :
  14903. * @version : 1.0
  14904. * @Date : 2021-08-20 16:44:21
  14905. * @LastAuthor : LQ
  14906. * @lastTime : 2021-08-20 16:55:58
  14907. * @FilePath : /u-view2.0/uview-ui/libs/config/props/codeInput.js
  14908. */
  14909. var _default = {
  14910. // codeInput 组件
  14911. codeInput: {
  14912. adjustPosition: true,
  14913. maxlength: 6,
  14914. dot: false,
  14915. mode: 'box',
  14916. hairline: false,
  14917. space: 10,
  14918. value: '',
  14919. focus: false,
  14920. bold: false,
  14921. color: '#606266',
  14922. fontSize: 18,
  14923. size: 35,
  14924. disabledKeyboard: false,
  14925. borderColor: '#c9cacc',
  14926. disabledDot: true
  14927. }
  14928. };
  14929. exports.default = _default;
  14930. /***/ }),
  14931. /* 86 */
  14932. /*!*****************************************************************************************************************************************************!*\
  14933. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/col.js ***!
  14934. \*****************************************************************************************************************************************************/
  14935. /*! no static exports found */
  14936. /***/ (function(module, exports, __webpack_require__) {
  14937. "use strict";
  14938. Object.defineProperty(exports, "__esModule", {
  14939. value: true
  14940. });
  14941. exports.default = void 0;
  14942. /*
  14943. * @Author : LQ
  14944. * @Description :
  14945. * @version : 1.0
  14946. * @Date : 2021-08-20 16:44:21
  14947. * @LastAuthor : LQ
  14948. * @lastTime : 2021-08-20 16:56:12
  14949. * @FilePath : /u-view2.0/uview-ui/libs/config/props/col.js
  14950. */
  14951. var _default = {
  14952. // col 组件
  14953. col: {
  14954. span: 12,
  14955. offset: 0,
  14956. justify: 'start',
  14957. align: 'stretch',
  14958. textAlign: 'left'
  14959. }
  14960. };
  14961. exports.default = _default;
  14962. /***/ }),
  14963. /* 87 */
  14964. /*!**********************************************************************************************************************************************************!*\
  14965. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/collapse.js ***!
  14966. \**********************************************************************************************************************************************************/
  14967. /*! no static exports found */
  14968. /***/ (function(module, exports, __webpack_require__) {
  14969. "use strict";
  14970. Object.defineProperty(exports, "__esModule", {
  14971. value: true
  14972. });
  14973. exports.default = void 0;
  14974. /*
  14975. * @Author : LQ
  14976. * @Description :
  14977. * @version : 1.0
  14978. * @Date : 2021-08-20 16:44:21
  14979. * @LastAuthor : LQ
  14980. * @lastTime : 2021-08-20 16:56:30
  14981. * @FilePath : /u-view2.0/uview-ui/libs/config/props/collapse.js
  14982. */
  14983. var _default = {
  14984. // collapse 组件
  14985. collapse: {
  14986. value: null,
  14987. accordion: false,
  14988. border: true
  14989. }
  14990. };
  14991. exports.default = _default;
  14992. /***/ }),
  14993. /* 88 */
  14994. /*!**************************************************************************************************************************************************************!*\
  14995. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/collapseItem.js ***!
  14996. \**************************************************************************************************************************************************************/
  14997. /*! no static exports found */
  14998. /***/ (function(module, exports, __webpack_require__) {
  14999. "use strict";
  15000. Object.defineProperty(exports, "__esModule", {
  15001. value: true
  15002. });
  15003. exports.default = void 0;
  15004. /*
  15005. * @Author : LQ
  15006. * @Description :
  15007. * @version : 1.0
  15008. * @Date : 2021-08-20 16:44:21
  15009. * @LastAuthor : LQ
  15010. * @lastTime : 2021-08-20 16:56:42
  15011. * @FilePath : /u-view2.0/uview-ui/libs/config/props/collapseItem.js
  15012. */
  15013. var _default = {
  15014. // collapseItem 组件
  15015. collapseItem: {
  15016. title: '',
  15017. value: '',
  15018. label: '',
  15019. disabled: false,
  15020. isLink: true,
  15021. clickable: true,
  15022. border: true,
  15023. align: 'left',
  15024. name: '',
  15025. icon: '',
  15026. duration: 300
  15027. }
  15028. };
  15029. exports.default = _default;
  15030. /***/ }),
  15031. /* 89 */
  15032. /*!**************************************************************************************************************************************************************!*\
  15033. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/columnNotice.js ***!
  15034. \**************************************************************************************************************************************************************/
  15035. /*! no static exports found */
  15036. /***/ (function(module, exports, __webpack_require__) {
  15037. "use strict";
  15038. Object.defineProperty(exports, "__esModule", {
  15039. value: true
  15040. });
  15041. exports.default = void 0;
  15042. /*
  15043. * @Author : LQ
  15044. * @Description :
  15045. * @version : 1.0
  15046. * @Date : 2021-08-20 16:44:21
  15047. * @LastAuthor : LQ
  15048. * @lastTime : 2021-08-20 16:57:16
  15049. * @FilePath : /u-view2.0/uview-ui/libs/config/props/columnNotice.js
  15050. */
  15051. var _default = {
  15052. // columnNotice 组件
  15053. columnNotice: {
  15054. text: '',
  15055. icon: 'volume',
  15056. mode: '',
  15057. color: '#f9ae3d',
  15058. bgColor: '#fdf6ec',
  15059. fontSize: 14,
  15060. speed: 80,
  15061. step: false,
  15062. duration: 1500,
  15063. disableTouch: true
  15064. }
  15065. };
  15066. exports.default = _default;
  15067. /***/ }),
  15068. /* 90 */
  15069. /*!***********************************************************************************************************************************************************!*\
  15070. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/countDown.js ***!
  15071. \***********************************************************************************************************************************************************/
  15072. /*! no static exports found */
  15073. /***/ (function(module, exports, __webpack_require__) {
  15074. "use strict";
  15075. Object.defineProperty(exports, "__esModule", {
  15076. value: true
  15077. });
  15078. exports.default = void 0;
  15079. /*
  15080. * @Author : LQ
  15081. * @Description :
  15082. * @version : 1.0
  15083. * @Date : 2021-08-20 16:44:21
  15084. * @LastAuthor : LQ
  15085. * @lastTime : 2021-08-20 17:11:29
  15086. * @FilePath : /u-view2.0/uview-ui/libs/config/props/countDown.js
  15087. */
  15088. var _default = {
  15089. // u-count-down 计时器组件
  15090. countDown: {
  15091. time: 0,
  15092. format: 'HH:mm:ss',
  15093. autoStart: true,
  15094. millisecond: false
  15095. }
  15096. };
  15097. exports.default = _default;
  15098. /***/ }),
  15099. /* 91 */
  15100. /*!*********************************************************************************************************************************************************!*\
  15101. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/countTo.js ***!
  15102. \*********************************************************************************************************************************************************/
  15103. /*! no static exports found */
  15104. /***/ (function(module, exports, __webpack_require__) {
  15105. "use strict";
  15106. Object.defineProperty(exports, "__esModule", {
  15107. value: true
  15108. });
  15109. exports.default = void 0;
  15110. /*
  15111. * @Author : LQ
  15112. * @Description :
  15113. * @version : 1.0
  15114. * @Date : 2021-08-20 16:44:21
  15115. * @LastAuthor : LQ
  15116. * @lastTime : 2021-08-20 16:57:32
  15117. * @FilePath : /u-view2.0/uview-ui/libs/config/props/countTo.js
  15118. */
  15119. var _default = {
  15120. // countTo 组件
  15121. countTo: {
  15122. startVal: 0,
  15123. endVal: 0,
  15124. duration: 2000,
  15125. autoplay: true,
  15126. decimals: 0,
  15127. useEasing: true,
  15128. decimal: '.',
  15129. color: '#606266',
  15130. fontSize: 22,
  15131. bold: false,
  15132. separator: ''
  15133. }
  15134. };
  15135. exports.default = _default;
  15136. /***/ }),
  15137. /* 92 */
  15138. /*!****************************************************************************************************************************************************************!*\
  15139. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/datetimePicker.js ***!
  15140. \****************************************************************************************************************************************************************/
  15141. /*! no static exports found */
  15142. /***/ (function(module, exports, __webpack_require__) {
  15143. "use strict";
  15144. Object.defineProperty(exports, "__esModule", {
  15145. value: true
  15146. });
  15147. exports.default = void 0;
  15148. /*
  15149. * @Author : LQ
  15150. * @Description :
  15151. * @version : 1.0
  15152. * @Date : 2021-08-20 16:44:21
  15153. * @LastAuthor : LQ
  15154. * @lastTime : 2021-08-20 16:57:48
  15155. * @FilePath : /u-view2.0/uview-ui/libs/config/props/datetimePicker.js
  15156. */
  15157. var _default = {
  15158. // datetimePicker 组件
  15159. datetimePicker: {
  15160. show: false,
  15161. showToolbar: true,
  15162. value: '',
  15163. title: '',
  15164. mode: 'datetime',
  15165. maxDate: new Date(new Date().getFullYear() + 10, 0, 1).getTime(),
  15166. minDate: new Date(new Date().getFullYear() - 10, 0, 1).getTime(),
  15167. minHour: 0,
  15168. maxHour: 23,
  15169. minMinute: 0,
  15170. maxMinute: 59,
  15171. filter: null,
  15172. formatter: null,
  15173. loading: false,
  15174. itemHeight: 44,
  15175. cancelText: '取消',
  15176. confirmText: '确认',
  15177. cancelColor: '#909193',
  15178. confirmColor: '#3c9cff',
  15179. visibleItemCount: 5,
  15180. closeOnClickOverlay: false,
  15181. defaultIndex: function defaultIndex() {
  15182. return [];
  15183. }
  15184. }
  15185. };
  15186. exports.default = _default;
  15187. /***/ }),
  15188. /* 93 */
  15189. /*!*********************************************************************************************************************************************************!*\
  15190. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/divider.js ***!
  15191. \*********************************************************************************************************************************************************/
  15192. /*! no static exports found */
  15193. /***/ (function(module, exports, __webpack_require__) {
  15194. "use strict";
  15195. Object.defineProperty(exports, "__esModule", {
  15196. value: true
  15197. });
  15198. exports.default = void 0;
  15199. /*
  15200. * @Author : LQ
  15201. * @Description :
  15202. * @version : 1.0
  15203. * @Date : 2021-08-20 16:44:21
  15204. * @LastAuthor : LQ
  15205. * @lastTime : 2021-08-20 16:58:03
  15206. * @FilePath : /u-view2.0/uview-ui/libs/config/props/divider.js
  15207. */
  15208. var _default = {
  15209. // divider组件
  15210. divider: {
  15211. dashed: false,
  15212. hairline: true,
  15213. dot: false,
  15214. textPosition: 'center',
  15215. text: '',
  15216. textSize: 14,
  15217. textColor: '#909399',
  15218. lineColor: '#dcdfe6'
  15219. }
  15220. };
  15221. exports.default = _default;
  15222. /***/ }),
  15223. /* 94 */
  15224. /*!*******************************************************************************************************************************************************!*\
  15225. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/empty.js ***!
  15226. \*******************************************************************************************************************************************************/
  15227. /*! no static exports found */
  15228. /***/ (function(module, exports, __webpack_require__) {
  15229. "use strict";
  15230. Object.defineProperty(exports, "__esModule", {
  15231. value: true
  15232. });
  15233. exports.default = void 0;
  15234. /*
  15235. * @Author : LQ
  15236. * @Description :
  15237. * @version : 1.0
  15238. * @Date : 2021-08-20 16:44:21
  15239. * @LastAuthor : LQ
  15240. * @lastTime : 2021-08-20 17:03:27
  15241. * @FilePath : /u-view2.0/uview-ui/libs/config/props/empty.js
  15242. */
  15243. var _default = {
  15244. // empty组件
  15245. empty: {
  15246. icon: '',
  15247. text: '',
  15248. textColor: '#c0c4cc',
  15249. textSize: 14,
  15250. iconColor: '#c0c4cc',
  15251. iconSize: 90,
  15252. mode: 'data',
  15253. width: 160,
  15254. height: 160,
  15255. show: true,
  15256. marginTop: 0
  15257. }
  15258. };
  15259. exports.default = _default;
  15260. /***/ }),
  15261. /* 95 */
  15262. /*!******************************************************************************************************************************************************!*\
  15263. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/form.js ***!
  15264. \******************************************************************************************************************************************************/
  15265. /*! no static exports found */
  15266. /***/ (function(module, exports, __webpack_require__) {
  15267. "use strict";
  15268. Object.defineProperty(exports, "__esModule", {
  15269. value: true
  15270. });
  15271. exports.default = void 0;
  15272. /*
  15273. * @Author : LQ
  15274. * @Description :
  15275. * @version : 1.0
  15276. * @Date : 2021-08-20 16:44:21
  15277. * @LastAuthor : LQ
  15278. * @lastTime : 2021-08-20 17:03:49
  15279. * @FilePath : /u-view2.0/uview-ui/libs/config/props/form.js
  15280. */
  15281. var _default = {
  15282. // form 组件
  15283. form: {
  15284. model: function model() {
  15285. return {};
  15286. },
  15287. rules: function rules() {
  15288. return {};
  15289. },
  15290. errorType: 'message',
  15291. borderBottom: true,
  15292. labelPosition: 'left',
  15293. labelWidth: 45,
  15294. labelAlign: 'left',
  15295. labelStyle: function labelStyle() {
  15296. return {};
  15297. }
  15298. }
  15299. };
  15300. exports.default = _default;
  15301. /***/ }),
  15302. /* 96 */
  15303. /*!**********************************************************************************************************************************************************!*\
  15304. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/formItem.js ***!
  15305. \**********************************************************************************************************************************************************/
  15306. /*! no static exports found */
  15307. /***/ (function(module, exports, __webpack_require__) {
  15308. "use strict";
  15309. Object.defineProperty(exports, "__esModule", {
  15310. value: true
  15311. });
  15312. exports.default = void 0;
  15313. /*
  15314. * @Author : LQ
  15315. * @Description :
  15316. * @version : 1.0
  15317. * @Date : 2021-08-20 16:44:21
  15318. * @LastAuthor : LQ
  15319. * @lastTime : 2021-08-20 17:04:32
  15320. * @FilePath : /u-view2.0/uview-ui/libs/config/props/formItem.js
  15321. */
  15322. var _default = {
  15323. // formItem 组件
  15324. formItem: {
  15325. label: '',
  15326. prop: '',
  15327. borderBottom: '',
  15328. labelPosition: '',
  15329. labelWidth: '',
  15330. rightIcon: '',
  15331. leftIcon: '',
  15332. required: false,
  15333. leftIconStyle: ''
  15334. }
  15335. };
  15336. exports.default = _default;
  15337. /***/ }),
  15338. /* 97 */
  15339. /*!*****************************************************************************************************************************************************!*\
  15340. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/gap.js ***!
  15341. \*****************************************************************************************************************************************************/
  15342. /*! no static exports found */
  15343. /***/ (function(module, exports, __webpack_require__) {
  15344. "use strict";
  15345. Object.defineProperty(exports, "__esModule", {
  15346. value: true
  15347. });
  15348. exports.default = void 0;
  15349. /*
  15350. * @Author : LQ
  15351. * @Description :
  15352. * @version : 1.0
  15353. * @Date : 2021-08-20 16:44:21
  15354. * @LastAuthor : LQ
  15355. * @lastTime : 2021-08-20 17:05:25
  15356. * @FilePath : /u-view2.0/uview-ui/libs/config/props/gap.js
  15357. */
  15358. var _default = {
  15359. // gap组件
  15360. gap: {
  15361. bgColor: 'transparent',
  15362. height: 20,
  15363. marginTop: 0,
  15364. marginBottom: 0,
  15365. customStyle: {}
  15366. }
  15367. };
  15368. exports.default = _default;
  15369. /***/ }),
  15370. /* 98 */
  15371. /*!******************************************************************************************************************************************************!*\
  15372. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/grid.js ***!
  15373. \******************************************************************************************************************************************************/
  15374. /*! no static exports found */
  15375. /***/ (function(module, exports, __webpack_require__) {
  15376. "use strict";
  15377. Object.defineProperty(exports, "__esModule", {
  15378. value: true
  15379. });
  15380. exports.default = void 0;
  15381. /*
  15382. * @Author : LQ
  15383. * @Description :
  15384. * @version : 1.0
  15385. * @Date : 2021-08-20 16:44:21
  15386. * @LastAuthor : LQ
  15387. * @lastTime : 2021-08-20 17:05:57
  15388. * @FilePath : /u-view2.0/uview-ui/libs/config/props/grid.js
  15389. */
  15390. var _default = {
  15391. // grid组件
  15392. grid: {
  15393. col: 3,
  15394. border: false,
  15395. align: 'left'
  15396. }
  15397. };
  15398. exports.default = _default;
  15399. /***/ }),
  15400. /* 99 */
  15401. /*!**********************************************************************************************************************************************************!*\
  15402. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/gridItem.js ***!
  15403. \**********************************************************************************************************************************************************/
  15404. /*! no static exports found */
  15405. /***/ (function(module, exports, __webpack_require__) {
  15406. "use strict";
  15407. Object.defineProperty(exports, "__esModule", {
  15408. value: true
  15409. });
  15410. exports.default = void 0;
  15411. /*
  15412. * @Author : LQ
  15413. * @Description :
  15414. * @version : 1.0
  15415. * @Date : 2021-08-20 16:44:21
  15416. * @LastAuthor : LQ
  15417. * @lastTime : 2021-08-20 17:06:13
  15418. * @FilePath : /u-view2.0/uview-ui/libs/config/props/gridItem.js
  15419. */
  15420. var _default = {
  15421. // grid-item组件
  15422. gridItem: {
  15423. name: null,
  15424. bgColor: 'transparent'
  15425. }
  15426. };
  15427. exports.default = _default;
  15428. /***/ }),
  15429. /* 100 */
  15430. /*!******************************************************************************************************************************************************!*\
  15431. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/icon.js ***!
  15432. \******************************************************************************************************************************************************/
  15433. /*! no static exports found */
  15434. /***/ (function(module, exports, __webpack_require__) {
  15435. "use strict";
  15436. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  15437. Object.defineProperty(exports, "__esModule", {
  15438. value: true
  15439. });
  15440. exports.default = void 0;
  15441. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 67));
  15442. /*
  15443. * @Author : LQ
  15444. * @Description :
  15445. * @version : 1.0
  15446. * @Date : 2021-08-20 16:44:21
  15447. * @LastAuthor : LQ
  15448. * @lastTime : 2021-08-20 18:00:14
  15449. * @FilePath : /u-view2.0/uview-ui/libs/config/props/icon.js
  15450. */
  15451. var color = _config.default.color;
  15452. var _default = {
  15453. // icon组件
  15454. icon: {
  15455. name: '',
  15456. color: color['u-content-color'],
  15457. size: '16px',
  15458. bold: false,
  15459. index: '',
  15460. hoverClass: '',
  15461. customPrefix: 'uicon',
  15462. label: '',
  15463. labelPos: 'right',
  15464. labelSize: '15px',
  15465. labelColor: color['u-content-color'],
  15466. space: '3px',
  15467. imgMode: '',
  15468. width: '',
  15469. height: '',
  15470. top: 0,
  15471. stop: false
  15472. }
  15473. };
  15474. exports.default = _default;
  15475. /***/ }),
  15476. /* 101 */
  15477. /*!*******************************************************************************************************************************************************!*\
  15478. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/image.js ***!
  15479. \*******************************************************************************************************************************************************/
  15480. /*! no static exports found */
  15481. /***/ (function(module, exports, __webpack_require__) {
  15482. "use strict";
  15483. Object.defineProperty(exports, "__esModule", {
  15484. value: true
  15485. });
  15486. exports.default = void 0;
  15487. /*
  15488. * @Author : LQ
  15489. * @Description :
  15490. * @version : 1.0
  15491. * @Date : 2021-08-20 16:44:21
  15492. * @LastAuthor : LQ
  15493. * @lastTime : 2021-08-20 17:01:51
  15494. * @FilePath : /u-view2.0/uview-ui/libs/config/props/image.js
  15495. */
  15496. var _default = {
  15497. // image组件
  15498. image: {
  15499. src: '',
  15500. mode: 'aspectFill',
  15501. width: '300',
  15502. height: '225',
  15503. shape: 'square',
  15504. radius: 0,
  15505. lazyLoad: true,
  15506. showMenuByLongpress: true,
  15507. loadingIcon: 'photo',
  15508. errorIcon: 'error-circle',
  15509. showLoading: true,
  15510. showError: true,
  15511. fade: true,
  15512. webp: false,
  15513. duration: 500,
  15514. bgColor: '#f3f4f6'
  15515. }
  15516. };
  15517. exports.default = _default;
  15518. /***/ }),
  15519. /* 102 */
  15520. /*!*************************************************************************************************************************************************************!*\
  15521. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/indexAnchor.js ***!
  15522. \*************************************************************************************************************************************************************/
  15523. /*! no static exports found */
  15524. /***/ (function(module, exports, __webpack_require__) {
  15525. "use strict";
  15526. Object.defineProperty(exports, "__esModule", {
  15527. value: true
  15528. });
  15529. exports.default = void 0;
  15530. /*
  15531. * @Author : LQ
  15532. * @Description :
  15533. * @version : 1.0
  15534. * @Date : 2021-08-20 16:44:21
  15535. * @LastAuthor : LQ
  15536. * @lastTime : 2021-08-20 17:13:15
  15537. * @FilePath : /u-view2.0/uview-ui/libs/config/props/indexAnchor.js
  15538. */
  15539. var _default = {
  15540. // indexAnchor 组件
  15541. indexAnchor: {
  15542. text: '',
  15543. color: '#606266',
  15544. size: 14,
  15545. bgColor: '#dedede',
  15546. height: 32
  15547. }
  15548. };
  15549. exports.default = _default;
  15550. /***/ }),
  15551. /* 103 */
  15552. /*!***********************************************************************************************************************************************************!*\
  15553. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/indexList.js ***!
  15554. \***********************************************************************************************************************************************************/
  15555. /*! no static exports found */
  15556. /***/ (function(module, exports, __webpack_require__) {
  15557. "use strict";
  15558. Object.defineProperty(exports, "__esModule", {
  15559. value: true
  15560. });
  15561. exports.default = void 0;
  15562. /*
  15563. * @Author : LQ
  15564. * @Description :
  15565. * @version : 1.0
  15566. * @Date : 2021-08-20 16:44:21
  15567. * @LastAuthor : LQ
  15568. * @lastTime : 2021-08-20 17:13:35
  15569. * @FilePath : /u-view2.0/uview-ui/libs/config/props/indexList.js
  15570. */
  15571. var _default = {
  15572. // indexList 组件
  15573. indexList: {
  15574. inactiveColor: '#606266',
  15575. activeColor: '#5677fc',
  15576. indexList: function indexList() {
  15577. return [];
  15578. },
  15579. sticky: true,
  15580. customNavHeight: 0
  15581. }
  15582. };
  15583. exports.default = _default;
  15584. /***/ }),
  15585. /* 104 */
  15586. /*!*******************************************************************************************************************************************************!*\
  15587. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/input.js ***!
  15588. \*******************************************************************************************************************************************************/
  15589. /*! no static exports found */
  15590. /***/ (function(module, exports, __webpack_require__) {
  15591. "use strict";
  15592. Object.defineProperty(exports, "__esModule", {
  15593. value: true
  15594. });
  15595. exports.default = void 0;
  15596. /*
  15597. * @Author : LQ
  15598. * @Description :
  15599. * @version : 1.0
  15600. * @Date : 2021-08-20 16:44:21
  15601. * @LastAuthor : LQ
  15602. * @lastTime : 2021-08-20 17:13:55
  15603. * @FilePath : /u-view2.0/uview-ui/libs/config/props/input.js
  15604. */
  15605. var _default = {
  15606. // index 组件
  15607. input: {
  15608. value: '',
  15609. type: 'text',
  15610. fixed: false,
  15611. disabled: false,
  15612. disabledColor: '#f5f7fa',
  15613. clearable: false,
  15614. password: false,
  15615. maxlength: -1,
  15616. placeholder: null,
  15617. placeholderClass: 'input-placeholder',
  15618. placeholderStyle: 'color: #c0c4cc',
  15619. showWordLimit: false,
  15620. confirmType: 'done',
  15621. confirmHold: false,
  15622. holdKeyboard: false,
  15623. focus: false,
  15624. autoBlur: false,
  15625. disableDefaultPadding: false,
  15626. cursor: -1,
  15627. cursorSpacing: 30,
  15628. selectionStart: -1,
  15629. selectionEnd: -1,
  15630. adjustPosition: true,
  15631. inputAlign: 'left',
  15632. fontSize: '15px',
  15633. color: '#303133',
  15634. prefixIcon: '',
  15635. prefixIconStyle: '',
  15636. suffixIcon: '',
  15637. suffixIconStyle: '',
  15638. border: 'surround',
  15639. readonly: false,
  15640. shape: 'square',
  15641. formatter: null
  15642. }
  15643. };
  15644. exports.default = _default;
  15645. /***/ }),
  15646. /* 105 */
  15647. /*!**********************************************************************************************************************************************************!*\
  15648. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/keyboard.js ***!
  15649. \**********************************************************************************************************************************************************/
  15650. /*! no static exports found */
  15651. /***/ (function(module, exports, __webpack_require__) {
  15652. "use strict";
  15653. Object.defineProperty(exports, "__esModule", {
  15654. value: true
  15655. });
  15656. exports.default = void 0;
  15657. /*
  15658. * @Author : LQ
  15659. * @Description :
  15660. * @version : 1.0
  15661. * @Date : 2021-08-20 16:44:21
  15662. * @LastAuthor : LQ
  15663. * @lastTime : 2021-08-20 17:07:49
  15664. * @FilePath : /u-view2.0/uview-ui/libs/config/props/keyboard.js
  15665. */
  15666. var _default = {
  15667. // 键盘组件
  15668. keyboard: {
  15669. mode: 'number',
  15670. dotDisabled: false,
  15671. tooltip: true,
  15672. showTips: true,
  15673. tips: '',
  15674. showCancel: true,
  15675. showConfirm: true,
  15676. random: false,
  15677. safeAreaInsetBottom: true,
  15678. closeOnClickOverlay: true,
  15679. show: false,
  15680. overlay: true,
  15681. zIndex: 10075,
  15682. cancelText: '取消',
  15683. confirmText: '确定',
  15684. autoChange: false
  15685. }
  15686. };
  15687. exports.default = _default;
  15688. /***/ }),
  15689. /* 106 */
  15690. /*!******************************************************************************************************************************************************!*\
  15691. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/line.js ***!
  15692. \******************************************************************************************************************************************************/
  15693. /*! no static exports found */
  15694. /***/ (function(module, exports, __webpack_require__) {
  15695. "use strict";
  15696. Object.defineProperty(exports, "__esModule", {
  15697. value: true
  15698. });
  15699. exports.default = void 0;
  15700. /*
  15701. * @Author : LQ
  15702. * @Description :
  15703. * @version : 1.0
  15704. * @Date : 2021-08-20 16:44:21
  15705. * @LastAuthor : LQ
  15706. * @lastTime : 2021-08-20 17:04:49
  15707. * @FilePath : /u-view2.0/uview-ui/libs/config/props/line.js
  15708. */
  15709. var _default = {
  15710. // line组件
  15711. line: {
  15712. color: '#d6d7d9',
  15713. length: '100%',
  15714. direction: 'row',
  15715. hairline: true,
  15716. margin: 0,
  15717. dashed: false
  15718. }
  15719. };
  15720. exports.default = _default;
  15721. /***/ }),
  15722. /* 107 */
  15723. /*!**************************************************************************************************************************************************************!*\
  15724. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/lineProgress.js ***!
  15725. \**************************************************************************************************************************************************************/
  15726. /*! no static exports found */
  15727. /***/ (function(module, exports, __webpack_require__) {
  15728. "use strict";
  15729. Object.defineProperty(exports, "__esModule", {
  15730. value: true
  15731. });
  15732. exports.default = void 0;
  15733. /*
  15734. * @Author : LQ
  15735. * @Description :
  15736. * @version : 1.0
  15737. * @Date : 2021-08-20 16:44:21
  15738. * @LastAuthor : LQ
  15739. * @lastTime : 2021-08-20 17:14:11
  15740. * @FilePath : /u-view2.0/uview-ui/libs/config/props/lineProgress.js
  15741. */
  15742. var _default = {
  15743. // lineProgress 组件
  15744. lineProgress: {
  15745. activeColor: '#19be6b',
  15746. inactiveColor: '#ececec',
  15747. percentage: 0,
  15748. showText: true,
  15749. height: 12
  15750. }
  15751. };
  15752. exports.default = _default;
  15753. /***/ }),
  15754. /* 108 */
  15755. /*!******************************************************************************************************************************************************!*\
  15756. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/link.js ***!
  15757. \******************************************************************************************************************************************************/
  15758. /*! no static exports found */
  15759. /***/ (function(module, exports, __webpack_require__) {
  15760. "use strict";
  15761. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  15762. Object.defineProperty(exports, "__esModule", {
  15763. value: true
  15764. });
  15765. exports.default = void 0;
  15766. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 67));
  15767. /*
  15768. * @Author : LQ
  15769. * @Description :
  15770. * @version : 1.0
  15771. * @Date : 2021-08-20 16:44:21
  15772. * @LastAuthor : LQ
  15773. * @lastTime : 2021-08-20 17:45:36
  15774. * @FilePath : /u-view2.0/uview-ui/libs/config/props/link.js
  15775. */
  15776. var color = _config.default.color;
  15777. var _default = {
  15778. // link超链接组件props参数
  15779. link: {
  15780. color: color['u-primary'],
  15781. fontSize: 15,
  15782. underLine: false,
  15783. href: '',
  15784. mpTips: '链接已复制,请在浏览器打开',
  15785. lineColor: '',
  15786. text: ''
  15787. }
  15788. };
  15789. exports.default = _default;
  15790. /***/ }),
  15791. /* 109 */
  15792. /*!******************************************************************************************************************************************************!*\
  15793. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/list.js ***!
  15794. \******************************************************************************************************************************************************/
  15795. /*! no static exports found */
  15796. /***/ (function(module, exports, __webpack_require__) {
  15797. "use strict";
  15798. Object.defineProperty(exports, "__esModule", {
  15799. value: true
  15800. });
  15801. exports.default = void 0;
  15802. /*
  15803. * @Author : LQ
  15804. * @Description :
  15805. * @version : 1.0
  15806. * @Date : 2021-08-20 16:44:21
  15807. * @LastAuthor : LQ
  15808. * @lastTime : 2021-08-20 17:14:53
  15809. * @FilePath : /u-view2.0/uview-ui/libs/config/props/list.js
  15810. */
  15811. var _default = {
  15812. // list 组件
  15813. list: {
  15814. showScrollbar: false,
  15815. lowerThreshold: 50,
  15816. upperThreshold: 0,
  15817. scrollTop: 0,
  15818. offsetAccuracy: 10,
  15819. enableFlex: false,
  15820. pagingEnabled: false,
  15821. scrollable: true,
  15822. scrollIntoView: '',
  15823. scrollWithAnimation: false,
  15824. enableBackToTop: false,
  15825. height: 0,
  15826. width: 0,
  15827. preLoadScreen: 1
  15828. }
  15829. };
  15830. exports.default = _default;
  15831. /***/ }),
  15832. /* 110 */
  15833. /*!**********************************************************************************************************************************************************!*\
  15834. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/listItem.js ***!
  15835. \**********************************************************************************************************************************************************/
  15836. /*! no static exports found */
  15837. /***/ (function(module, exports, __webpack_require__) {
  15838. "use strict";
  15839. Object.defineProperty(exports, "__esModule", {
  15840. value: true
  15841. });
  15842. exports.default = void 0;
  15843. /*
  15844. * @Author : LQ
  15845. * @Description :
  15846. * @version : 1.0
  15847. * @Date : 2021-08-20 16:44:21
  15848. * @LastAuthor : LQ
  15849. * @lastTime : 2021-08-20 17:15:40
  15850. * @FilePath : /u-view2.0/uview-ui/libs/config/props/listItem.js
  15851. */
  15852. var _default = {
  15853. // listItem 组件
  15854. listItem: {
  15855. anchor: ''
  15856. }
  15857. };
  15858. exports.default = _default;
  15859. /***/ }),
  15860. /* 111 */
  15861. /*!*************************************************************************************************************************************************************!*\
  15862. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/loadingIcon.js ***!
  15863. \*************************************************************************************************************************************************************/
  15864. /*! no static exports found */
  15865. /***/ (function(module, exports, __webpack_require__) {
  15866. "use strict";
  15867. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  15868. Object.defineProperty(exports, "__esModule", {
  15869. value: true
  15870. });
  15871. exports.default = void 0;
  15872. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 67));
  15873. /*
  15874. * @Author : LQ
  15875. * @Description :
  15876. * @version : 1.0
  15877. * @Date : 2021-08-20 16:44:21
  15878. * @LastAuthor : LQ
  15879. * @lastTime : 2021-08-20 17:45:47
  15880. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadingIcon.js
  15881. */
  15882. var color = _config.default.color;
  15883. var _default = {
  15884. // loading-icon加载中图标组件
  15885. loadingIcon: {
  15886. show: true,
  15887. color: color['u-tips-color'],
  15888. textColor: color['u-tips-color'],
  15889. vertical: false,
  15890. mode: 'spinner',
  15891. size: 24,
  15892. textSize: 15,
  15893. text: '',
  15894. timingFunction: 'ease-in-out',
  15895. duration: 1200,
  15896. inactiveColor: ''
  15897. }
  15898. };
  15899. exports.default = _default;
  15900. /***/ }),
  15901. /* 112 */
  15902. /*!*************************************************************************************************************************************************************!*\
  15903. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/loadingPage.js ***!
  15904. \*************************************************************************************************************************************************************/
  15905. /*! no static exports found */
  15906. /***/ (function(module, exports, __webpack_require__) {
  15907. "use strict";
  15908. Object.defineProperty(exports, "__esModule", {
  15909. value: true
  15910. });
  15911. exports.default = void 0;
  15912. /*
  15913. * @Author : LQ
  15914. * @Description :
  15915. * @version : 1.0
  15916. * @Date : 2021-08-20 16:44:21
  15917. * @LastAuthor : LQ
  15918. * @lastTime : 2021-08-20 17:00:23
  15919. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadingPage.js
  15920. */
  15921. var _default = {
  15922. // loading-page组件
  15923. loadingPage: {
  15924. loadingText: '正在加载',
  15925. image: '',
  15926. loadingMode: 'circle',
  15927. loading: false,
  15928. bgColor: '#ffffff',
  15929. color: '#C8C8C8',
  15930. fontSize: 19,
  15931. iconSize: 28,
  15932. loadingColor: '#C8C8C8'
  15933. }
  15934. };
  15935. exports.default = _default;
  15936. /***/ }),
  15937. /* 113 */
  15938. /*!**********************************************************************************************************************************************************!*\
  15939. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/loadmore.js ***!
  15940. \**********************************************************************************************************************************************************/
  15941. /*! no static exports found */
  15942. /***/ (function(module, exports, __webpack_require__) {
  15943. "use strict";
  15944. Object.defineProperty(exports, "__esModule", {
  15945. value: true
  15946. });
  15947. exports.default = void 0;
  15948. /*
  15949. * @Author : LQ
  15950. * @Description :
  15951. * @version : 1.0
  15952. * @Date : 2021-08-20 16:44:21
  15953. * @LastAuthor : LQ
  15954. * @lastTime : 2021-08-20 17:15:26
  15955. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadmore.js
  15956. */
  15957. var _default = {
  15958. // loadmore 组件
  15959. loadmore: {
  15960. status: 'loadmore',
  15961. bgColor: 'transparent',
  15962. icon: true,
  15963. fontSize: 14,
  15964. iconSize: 17,
  15965. color: '#606266',
  15966. loadingIcon: 'spinner',
  15967. loadmoreText: '加载更多',
  15968. loadingText: '正在加载...',
  15969. nomoreText: '没有更多了',
  15970. isDot: false,
  15971. iconColor: '#b7b7b7',
  15972. marginTop: 10,
  15973. marginBottom: 10,
  15974. height: 'auto',
  15975. line: false,
  15976. lineColor: '#E6E8EB',
  15977. dashed: false
  15978. }
  15979. };
  15980. exports.default = _default;
  15981. /***/ }),
  15982. /* 114 */
  15983. /*!*******************************************************************************************************************************************************!*\
  15984. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/modal.js ***!
  15985. \*******************************************************************************************************************************************************/
  15986. /*! no static exports found */
  15987. /***/ (function(module, exports, __webpack_require__) {
  15988. "use strict";
  15989. Object.defineProperty(exports, "__esModule", {
  15990. value: true
  15991. });
  15992. exports.default = void 0;
  15993. /*
  15994. * @Author : LQ
  15995. * @Description :
  15996. * @version : 1.0
  15997. * @Date : 2021-08-20 16:44:21
  15998. * @LastAuthor : LQ
  15999. * @lastTime : 2021-08-20 17:15:59
  16000. * @FilePath : /u-view2.0/uview-ui/libs/config/props/modal.js
  16001. */
  16002. var _default = {
  16003. // modal 组件
  16004. modal: {
  16005. show: false,
  16006. title: '',
  16007. content: '',
  16008. confirmText: '确认',
  16009. cancelText: '取消',
  16010. showConfirmButton: true,
  16011. showCancelButton: false,
  16012. confirmColor: '#2979ff',
  16013. cancelColor: '#606266',
  16014. buttonReverse: false,
  16015. zoom: true,
  16016. asyncClose: false,
  16017. closeOnClickOverlay: false,
  16018. negativeTop: 0,
  16019. width: '650rpx',
  16020. confirmButtonShape: ''
  16021. }
  16022. };
  16023. exports.default = _default;
  16024. /***/ }),
  16025. /* 115 */
  16026. /*!********************************************************************************************************************************************************!*\
  16027. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/navbar.js ***!
  16028. \********************************************************************************************************************************************************/
  16029. /*! no static exports found */
  16030. /***/ (function(module, exports, __webpack_require__) {
  16031. "use strict";
  16032. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  16033. Object.defineProperty(exports, "__esModule", {
  16034. value: true
  16035. });
  16036. exports.default = void 0;
  16037. var _color = _interopRequireDefault(__webpack_require__(/*! ../color */ 116));
  16038. /*
  16039. * @Author : LQ
  16040. * @Description :
  16041. * @version : 1.0
  16042. * @Date : 2021-08-20 16:44:21
  16043. * @LastAuthor : LQ
  16044. * @lastTime : 2021-08-20 17:16:18
  16045. * @FilePath : /u-view2.0/uview-ui/libs/config/props/navbar.js
  16046. */
  16047. var _default = {
  16048. // navbar 组件
  16049. navbar: {
  16050. safeAreaInsetTop: true,
  16051. placeholder: false,
  16052. fixed: true,
  16053. border: false,
  16054. leftIcon: 'arrow-left',
  16055. leftText: '',
  16056. rightText: '',
  16057. rightIcon: '',
  16058. title: '',
  16059. bgColor: '#ffffff',
  16060. titleWidth: '400rpx',
  16061. height: '44px',
  16062. leftIconSize: 20,
  16063. leftIconColor: _color.default.mainColor,
  16064. autoBack: false,
  16065. titleStyle: ''
  16066. }
  16067. };
  16068. exports.default = _default;
  16069. /***/ }),
  16070. /* 116 */
  16071. /*!*************************************************************************************************************************************************!*\
  16072. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/color.js ***!
  16073. \*************************************************************************************************************************************************/
  16074. /*! no static exports found */
  16075. /***/ (function(module, exports, __webpack_require__) {
  16076. "use strict";
  16077. Object.defineProperty(exports, "__esModule", {
  16078. value: true
  16079. });
  16080. exports.default = void 0;
  16081. // 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
  16082. // 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
  16083. var color = {
  16084. primary: '#3c9cff',
  16085. info: '#909399',
  16086. default: '#909399',
  16087. warning: '#f9ae3d',
  16088. error: '#f56c6c',
  16089. success: '#5ac725',
  16090. mainColor: '#303133',
  16091. contentColor: '#606266',
  16092. tipsColor: '#909399',
  16093. lightColor: '#c0c4cc',
  16094. borderColor: '#e4e7ed'
  16095. };
  16096. var _default = color;
  16097. exports.default = _default;
  16098. /***/ }),
  16099. /* 117 */
  16100. /*!***********************************************************************************************************************************************************!*\
  16101. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/noNetwork.js ***!
  16102. \***********************************************************************************************************************************************************/
  16103. /*! no static exports found */
  16104. /***/ (function(module, exports, __webpack_require__) {
  16105. "use strict";
  16106. Object.defineProperty(exports, "__esModule", {
  16107. value: true
  16108. });
  16109. exports.default = void 0;
  16110. /*
  16111. * @Author : LQ
  16112. * @Description :
  16113. * @version : 1.0
  16114. * @Date : 2021-08-20 16:44:21
  16115. * @LastAuthor : LQ
  16116. * @lastTime : 2021-08-20 17:16:39
  16117. * @FilePath : /u-view2.0/uview-ui/libs/config/props/noNetwork.js
  16118. */
  16119. var _default = {
  16120. // noNetwork
  16121. noNetwork: {
  16122. tips: '哎呀,网络信号丢失',
  16123. zIndex: '',
  16124. image: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQ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Ol+dBAG0AnXRAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC'
  16125. }
  16126. };
  16127. exports.default = _default;
  16128. /***/ }),
  16129. /* 118 */
  16130. /*!***********************************************************************************************************************************************************!*\
  16131. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/noticeBar.js ***!
  16132. \***********************************************************************************************************************************************************/
  16133. /*! no static exports found */
  16134. /***/ (function(module, exports, __webpack_require__) {
  16135. "use strict";
  16136. Object.defineProperty(exports, "__esModule", {
  16137. value: true
  16138. });
  16139. exports.default = void 0;
  16140. /*
  16141. * @Author : LQ
  16142. * @Description :
  16143. * @version : 1.0
  16144. * @Date : 2021-08-20 16:44:21
  16145. * @LastAuthor : LQ
  16146. * @lastTime : 2021-08-20 17:17:13
  16147. * @FilePath : /u-view2.0/uview-ui/libs/config/props/noticeBar.js
  16148. */
  16149. var _default = {
  16150. // noticeBar
  16151. noticeBar: {
  16152. text: function text() {
  16153. return [];
  16154. },
  16155. direction: 'row',
  16156. step: false,
  16157. icon: 'volume',
  16158. mode: '',
  16159. color: '#f9ae3d',
  16160. bgColor: '#fdf6ec',
  16161. speed: 80,
  16162. fontSize: 14,
  16163. duration: 2000,
  16164. disableTouch: true,
  16165. url: '',
  16166. linkType: 'navigateTo'
  16167. }
  16168. };
  16169. exports.default = _default;
  16170. /***/ }),
  16171. /* 119 */
  16172. /*!********************************************************************************************************************************************************!*\
  16173. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/notify.js ***!
  16174. \********************************************************************************************************************************************************/
  16175. /*! no static exports found */
  16176. /***/ (function(module, exports, __webpack_require__) {
  16177. "use strict";
  16178. Object.defineProperty(exports, "__esModule", {
  16179. value: true
  16180. });
  16181. exports.default = void 0;
  16182. /*
  16183. * @Author : LQ
  16184. * @Description :
  16185. * @version : 1.0
  16186. * @Date : 2021-08-20 16:44:21
  16187. * @LastAuthor : LQ
  16188. * @lastTime : 2021-08-20 17:10:21
  16189. * @FilePath : /u-view2.0/uview-ui/libs/config/props/notify.js
  16190. */
  16191. var _default = {
  16192. // notify组件
  16193. notify: {
  16194. top: 0,
  16195. type: 'primary',
  16196. color: '#ffffff',
  16197. bgColor: '',
  16198. message: '',
  16199. duration: 3000,
  16200. fontSize: 15,
  16201. safeAreaInsetTop: false
  16202. }
  16203. };
  16204. exports.default = _default;
  16205. /***/ }),
  16206. /* 120 */
  16207. /*!***********************************************************************************************************************************************************!*\
  16208. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/numberBox.js ***!
  16209. \***********************************************************************************************************************************************************/
  16210. /*! no static exports found */
  16211. /***/ (function(module, exports, __webpack_require__) {
  16212. "use strict";
  16213. Object.defineProperty(exports, "__esModule", {
  16214. value: true
  16215. });
  16216. exports.default = void 0;
  16217. /*
  16218. * @Author : LQ
  16219. * @Description :
  16220. * @version : 1.0
  16221. * @Date : 2021-08-20 16:44:21
  16222. * @LastAuthor : LQ
  16223. * @lastTime : 2021-08-20 17:11:46
  16224. * @FilePath : /u-view2.0/uview-ui/libs/config/props/numberBox.js
  16225. */
  16226. var _default = {
  16227. // 步进器组件
  16228. numberBox: {
  16229. name: '',
  16230. value: 0,
  16231. min: 1,
  16232. max: Number.MAX_SAFE_INTEGER,
  16233. step: 1,
  16234. integer: false,
  16235. disabled: false,
  16236. disabledInput: false,
  16237. asyncChange: false,
  16238. inputWidth: 35,
  16239. showMinus: true,
  16240. showPlus: true,
  16241. decimalLength: null,
  16242. longPress: true,
  16243. color: '#323233',
  16244. buttonSize: 30,
  16245. bgColor: '#EBECEE',
  16246. cursorSpacing: 100,
  16247. disableMinus: false,
  16248. disablePlus: false,
  16249. iconStyle: ''
  16250. }
  16251. };
  16252. exports.default = _default;
  16253. /***/ }),
  16254. /* 121 */
  16255. /*!****************************************************************************************************************************************************************!*\
  16256. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/numberKeyboard.js ***!
  16257. \****************************************************************************************************************************************************************/
  16258. /*! no static exports found */
  16259. /***/ (function(module, exports, __webpack_require__) {
  16260. "use strict";
  16261. Object.defineProperty(exports, "__esModule", {
  16262. value: true
  16263. });
  16264. exports.default = void 0;
  16265. /*
  16266. * @Author : LQ
  16267. * @Description :
  16268. * @version : 1.0
  16269. * @Date : 2021-08-20 16:44:21
  16270. * @LastAuthor : LQ
  16271. * @lastTime : 2021-08-20 17:08:05
  16272. * @FilePath : /u-view2.0/uview-ui/libs/config/props/numberKeyboard.js
  16273. */
  16274. var _default = {
  16275. // 数字键盘
  16276. numberKeyboard: {
  16277. mode: 'number',
  16278. dotDisabled: false,
  16279. random: false
  16280. }
  16281. };
  16282. exports.default = _default;
  16283. /***/ }),
  16284. /* 122 */
  16285. /*!*********************************************************************************************************************************************************!*\
  16286. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/overlay.js ***!
  16287. \*********************************************************************************************************************************************************/
  16288. /*! no static exports found */
  16289. /***/ (function(module, exports, __webpack_require__) {
  16290. "use strict";
  16291. Object.defineProperty(exports, "__esModule", {
  16292. value: true
  16293. });
  16294. exports.default = void 0;
  16295. /*
  16296. * @Author : LQ
  16297. * @Description :
  16298. * @version : 1.0
  16299. * @Date : 2021-08-20 16:44:21
  16300. * @LastAuthor : LQ
  16301. * @lastTime : 2021-08-20 17:06:50
  16302. * @FilePath : /u-view2.0/uview-ui/libs/config/props/overlay.js
  16303. */
  16304. var _default = {
  16305. // overlay组件
  16306. overlay: {
  16307. show: false,
  16308. zIndex: 10070,
  16309. duration: 300,
  16310. opacity: 0.5
  16311. }
  16312. };
  16313. exports.default = _default;
  16314. /***/ }),
  16315. /* 123 */
  16316. /*!*******************************************************************************************************************************************************!*\
  16317. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/parse.js ***!
  16318. \*******************************************************************************************************************************************************/
  16319. /*! no static exports found */
  16320. /***/ (function(module, exports, __webpack_require__) {
  16321. "use strict";
  16322. Object.defineProperty(exports, "__esModule", {
  16323. value: true
  16324. });
  16325. exports.default = void 0;
  16326. /*
  16327. * @Author : LQ
  16328. * @Description :
  16329. * @version : 1.0
  16330. * @Date : 2021-08-20 16:44:21
  16331. * @LastAuthor : LQ
  16332. * @lastTime : 2021-08-20 17:17:33
  16333. * @FilePath : /u-view2.0/uview-ui/libs/config/props/parse.js
  16334. */
  16335. var _default = {
  16336. // parse
  16337. parse: {
  16338. copyLink: true,
  16339. errorImg: '',
  16340. lazyLoad: false,
  16341. loadingImg: '',
  16342. pauseVideo: true,
  16343. previewImg: true,
  16344. setTitle: true,
  16345. showImgMenu: true
  16346. }
  16347. };
  16348. exports.default = _default;
  16349. /***/ }),
  16350. /* 124 */
  16351. /*!********************************************************************************************************************************************************!*\
  16352. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/picker.js ***!
  16353. \********************************************************************************************************************************************************/
  16354. /*! no static exports found */
  16355. /***/ (function(module, exports, __webpack_require__) {
  16356. "use strict";
  16357. Object.defineProperty(exports, "__esModule", {
  16358. value: true
  16359. });
  16360. exports.default = void 0;
  16361. /*
  16362. * @Author : LQ
  16363. * @Description :
  16364. * @version : 1.0
  16365. * @Date : 2021-08-20 16:44:21
  16366. * @LastAuthor : LQ
  16367. * @lastTime : 2021-08-20 17:18:20
  16368. * @FilePath : /u-view2.0/uview-ui/libs/config/props/picker.js
  16369. */
  16370. var _default = {
  16371. // picker
  16372. picker: {
  16373. show: false,
  16374. showToolbar: true,
  16375. title: '',
  16376. columns: function columns() {
  16377. return [];
  16378. },
  16379. loading: false,
  16380. itemHeight: 44,
  16381. cancelText: '取消',
  16382. confirmText: '确定',
  16383. cancelColor: '#909193',
  16384. confirmColor: '#3c9cff',
  16385. visibleItemCount: 5,
  16386. keyName: 'text',
  16387. closeOnClickOverlay: false,
  16388. defaultIndex: function defaultIndex() {
  16389. return [];
  16390. },
  16391. immediateChange: false
  16392. }
  16393. };
  16394. exports.default = _default;
  16395. /***/ }),
  16396. /* 125 */
  16397. /*!*******************************************************************************************************************************************************!*\
  16398. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/popup.js ***!
  16399. \*******************************************************************************************************************************************************/
  16400. /*! no static exports found */
  16401. /***/ (function(module, exports, __webpack_require__) {
  16402. "use strict";
  16403. Object.defineProperty(exports, "__esModule", {
  16404. value: true
  16405. });
  16406. exports.default = void 0;
  16407. /*
  16408. * @Author : LQ
  16409. * @Description :
  16410. * @version : 1.0
  16411. * @Date : 2021-08-20 16:44:21
  16412. * @LastAuthor : LQ
  16413. * @lastTime : 2021-08-20 17:06:33
  16414. * @FilePath : /u-view2.0/uview-ui/libs/config/props/popup.js
  16415. */
  16416. var _default = {
  16417. // popup组件
  16418. popup: {
  16419. show: false,
  16420. overlay: true,
  16421. mode: 'bottom',
  16422. duration: 300,
  16423. closeable: false,
  16424. overlayStyle: function overlayStyle() {},
  16425. closeOnClickOverlay: true,
  16426. zIndex: 10075,
  16427. safeAreaInsetBottom: true,
  16428. safeAreaInsetTop: false,
  16429. closeIconPos: 'top-right',
  16430. round: 0,
  16431. zoom: true,
  16432. bgColor: '',
  16433. overlayOpacity: 0.5
  16434. }
  16435. };
  16436. exports.default = _default;
  16437. /***/ }),
  16438. /* 126 */
  16439. /*!*******************************************************************************************************************************************************!*\
  16440. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/radio.js ***!
  16441. \*******************************************************************************************************************************************************/
  16442. /*! no static exports found */
  16443. /***/ (function(module, exports, __webpack_require__) {
  16444. "use strict";
  16445. Object.defineProperty(exports, "__esModule", {
  16446. value: true
  16447. });
  16448. exports.default = void 0;
  16449. /*
  16450. * @Author : LQ
  16451. * @Description :
  16452. * @version : 1.0
  16453. * @Date : 2021-08-20 16:44:21
  16454. * @LastAuthor : LQ
  16455. * @lastTime : 2021-08-20 17:02:34
  16456. * @FilePath : /u-view2.0/uview-ui/libs/config/props/radio.js
  16457. */
  16458. var _default = {
  16459. // radio组件
  16460. radio: {
  16461. name: '',
  16462. shape: '',
  16463. disabled: '',
  16464. labelDisabled: '',
  16465. activeColor: '',
  16466. inactiveColor: '',
  16467. iconSize: '',
  16468. labelSize: '',
  16469. label: '',
  16470. labelColor: '',
  16471. size: '',
  16472. iconColor: '',
  16473. placement: ''
  16474. }
  16475. };
  16476. exports.default = _default;
  16477. /***/ }),
  16478. /* 127 */
  16479. /*!************************************************************************************************************************************************************!*\
  16480. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/radioGroup.js ***!
  16481. \************************************************************************************************************************************************************/
  16482. /*! no static exports found */
  16483. /***/ (function(module, exports, __webpack_require__) {
  16484. "use strict";
  16485. Object.defineProperty(exports, "__esModule", {
  16486. value: true
  16487. });
  16488. exports.default = void 0;
  16489. /*
  16490. * @Author : LQ
  16491. * @Description :
  16492. * @version : 1.0
  16493. * @Date : 2021-08-20 16:44:21
  16494. * @LastAuthor : LQ
  16495. * @lastTime : 2021-08-20 17:03:12
  16496. * @FilePath : /u-view2.0/uview-ui/libs/config/props/radioGroup.js
  16497. */
  16498. var _default = {
  16499. // radio-group组件
  16500. radioGroup: {
  16501. value: '',
  16502. disabled: false,
  16503. shape: 'circle',
  16504. activeColor: '#2979ff',
  16505. inactiveColor: '#c8c9cc',
  16506. name: '',
  16507. size: 18,
  16508. placement: 'row',
  16509. label: '',
  16510. labelColor: '#303133',
  16511. labelSize: 14,
  16512. labelDisabled: false,
  16513. iconColor: '#ffffff',
  16514. iconSize: 12,
  16515. borderBottom: false,
  16516. iconPlacement: 'left'
  16517. }
  16518. };
  16519. exports.default = _default;
  16520. /***/ }),
  16521. /* 128 */
  16522. /*!******************************************************************************************************************************************************!*\
  16523. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/rate.js ***!
  16524. \******************************************************************************************************************************************************/
  16525. /*! no static exports found */
  16526. /***/ (function(module, exports, __webpack_require__) {
  16527. "use strict";
  16528. Object.defineProperty(exports, "__esModule", {
  16529. value: true
  16530. });
  16531. exports.default = void 0;
  16532. /*
  16533. * @Author : LQ
  16534. * @Description :
  16535. * @version : 1.0
  16536. * @Date : 2021-08-20 16:44:21
  16537. * @LastAuthor : LQ
  16538. * @lastTime : 2021-08-20 17:05:09
  16539. * @FilePath : /u-view2.0/uview-ui/libs/config/props/rate.js
  16540. */
  16541. var _default = {
  16542. // rate组件
  16543. rate: {
  16544. value: 1,
  16545. count: 5,
  16546. disabled: false,
  16547. size: 18,
  16548. inactiveColor: '#b2b2b2',
  16549. activeColor: '#FA3534',
  16550. gutter: 4,
  16551. minCount: 1,
  16552. allowHalf: false,
  16553. activeIcon: 'star-fill',
  16554. inactiveIcon: 'star',
  16555. touchable: true
  16556. }
  16557. };
  16558. exports.default = _default;
  16559. /***/ }),
  16560. /* 129 */
  16561. /*!**********************************************************************************************************************************************************!*\
  16562. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/readMore.js ***!
  16563. \**********************************************************************************************************************************************************/
  16564. /*! no static exports found */
  16565. /***/ (function(module, exports, __webpack_require__) {
  16566. "use strict";
  16567. Object.defineProperty(exports, "__esModule", {
  16568. value: true
  16569. });
  16570. exports.default = void 0;
  16571. /*
  16572. * @Author : LQ
  16573. * @Description :
  16574. * @version : 1.0
  16575. * @Date : 2021-08-20 16:44:21
  16576. * @LastAuthor : LQ
  16577. * @lastTime : 2021-08-20 17:18:41
  16578. * @FilePath : /u-view2.0/uview-ui/libs/config/props/readMore.js
  16579. */
  16580. var _default = {
  16581. // readMore
  16582. readMore: {
  16583. showHeight: 400,
  16584. toggle: false,
  16585. closeText: '展开阅读全文',
  16586. openText: '收起',
  16587. color: '#2979ff',
  16588. fontSize: 14,
  16589. textIndent: '2em',
  16590. name: ''
  16591. }
  16592. };
  16593. exports.default = _default;
  16594. /***/ }),
  16595. /* 130 */
  16596. /*!*****************************************************************************************************************************************************!*\
  16597. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/row.js ***!
  16598. \*****************************************************************************************************************************************************/
  16599. /*! no static exports found */
  16600. /***/ (function(module, exports, __webpack_require__) {
  16601. "use strict";
  16602. Object.defineProperty(exports, "__esModule", {
  16603. value: true
  16604. });
  16605. exports.default = void 0;
  16606. /*
  16607. * @Author : LQ
  16608. * @Description :
  16609. * @version : 1.0
  16610. * @Date : 2021-08-20 16:44:21
  16611. * @LastAuthor : LQ
  16612. * @lastTime : 2021-08-20 17:18:58
  16613. * @FilePath : /u-view2.0/uview-ui/libs/config/props/row.js
  16614. */
  16615. var _default = {
  16616. // row
  16617. row: {
  16618. gutter: 0,
  16619. justify: 'start',
  16620. align: 'center'
  16621. }
  16622. };
  16623. exports.default = _default;
  16624. /***/ }),
  16625. /* 131 */
  16626. /*!***********************************************************************************************************************************************************!*\
  16627. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/rowNotice.js ***!
  16628. \***********************************************************************************************************************************************************/
  16629. /*! no static exports found */
  16630. /***/ (function(module, exports, __webpack_require__) {
  16631. "use strict";
  16632. Object.defineProperty(exports, "__esModule", {
  16633. value: true
  16634. });
  16635. exports.default = void 0;
  16636. /*
  16637. * @Author : LQ
  16638. * @Description :
  16639. * @version : 1.0
  16640. * @Date : 2021-08-20 16:44:21
  16641. * @LastAuthor : LQ
  16642. * @lastTime : 2021-08-20 17:19:13
  16643. * @FilePath : /u-view2.0/uview-ui/libs/config/props/rowNotice.js
  16644. */
  16645. var _default = {
  16646. // rowNotice
  16647. rowNotice: {
  16648. text: '',
  16649. icon: 'volume',
  16650. mode: '',
  16651. color: '#f9ae3d',
  16652. bgColor: '#fdf6ec',
  16653. fontSize: 14,
  16654. speed: 80
  16655. }
  16656. };
  16657. exports.default = _default;
  16658. /***/ }),
  16659. /* 132 */
  16660. /*!************************************************************************************************************************************************************!*\
  16661. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/scrollList.js ***!
  16662. \************************************************************************************************************************************************************/
  16663. /*! no static exports found */
  16664. /***/ (function(module, exports, __webpack_require__) {
  16665. "use strict";
  16666. Object.defineProperty(exports, "__esModule", {
  16667. value: true
  16668. });
  16669. exports.default = void 0;
  16670. /*
  16671. * @Author : LQ
  16672. * @Description :
  16673. * @version : 1.0
  16674. * @Date : 2021-08-20 16:44:21
  16675. * @LastAuthor : LQ
  16676. * @lastTime : 2021-08-20 17:19:28
  16677. * @FilePath : /u-view2.0/uview-ui/libs/config/props/scrollList.js
  16678. */
  16679. var _default = {
  16680. // scrollList
  16681. scrollList: {
  16682. indicatorWidth: 50,
  16683. indicatorBarWidth: 20,
  16684. indicator: true,
  16685. indicatorColor: '#f2f2f2',
  16686. indicatorActiveColor: '#3c9cff',
  16687. indicatorStyle: ''
  16688. }
  16689. };
  16690. exports.default = _default;
  16691. /***/ }),
  16692. /* 133 */
  16693. /*!********************************************************************************************************************************************************!*\
  16694. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/search.js ***!
  16695. \********************************************************************************************************************************************************/
  16696. /*! no static exports found */
  16697. /***/ (function(module, exports, __webpack_require__) {
  16698. "use strict";
  16699. Object.defineProperty(exports, "__esModule", {
  16700. value: true
  16701. });
  16702. exports.default = void 0;
  16703. /*
  16704. * @Author : LQ
  16705. * @Description :
  16706. * @version : 1.0
  16707. * @Date : 2021-08-20 16:44:21
  16708. * @LastAuthor : LQ
  16709. * @lastTime : 2021-08-20 17:19:45
  16710. * @FilePath : /u-view2.0/uview-ui/libs/config/props/search.js
  16711. */
  16712. var _default = {
  16713. // search
  16714. search: {
  16715. shape: 'round',
  16716. bgColor: '#f2f2f2',
  16717. placeholder: '请输入关键字',
  16718. clearabled: true,
  16719. focus: false,
  16720. showAction: true,
  16721. actionStyle: function actionStyle() {
  16722. return {};
  16723. },
  16724. actionText: '搜索',
  16725. inputAlign: 'left',
  16726. inputStyle: function inputStyle() {
  16727. return {};
  16728. },
  16729. disabled: false,
  16730. borderColor: 'transparent',
  16731. searchIconColor: '#909399',
  16732. searchIconSize: 22,
  16733. color: '#606266',
  16734. placeholderColor: '#909399',
  16735. searchIcon: 'search',
  16736. margin: '0',
  16737. animation: false,
  16738. value: '',
  16739. maxlength: '-1',
  16740. height: 32,
  16741. label: null
  16742. }
  16743. };
  16744. exports.default = _default;
  16745. /***/ }),
  16746. /* 134 */
  16747. /*!*********************************************************************************************************************************************************!*\
  16748. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/section.js ***!
  16749. \*********************************************************************************************************************************************************/
  16750. /*! no static exports found */
  16751. /***/ (function(module, exports, __webpack_require__) {
  16752. "use strict";
  16753. Object.defineProperty(exports, "__esModule", {
  16754. value: true
  16755. });
  16756. exports.default = void 0;
  16757. /*
  16758. * @Author : LQ
  16759. * @Description :
  16760. * @version : 1.0
  16761. * @Date : 2021-08-20 16:44:21
  16762. * @LastAuthor : LQ
  16763. * @lastTime : 2021-08-20 17:07:33
  16764. * @FilePath : /u-view2.0/uview-ui/libs/config/props/section.js
  16765. */
  16766. var _default = {
  16767. // u-section组件
  16768. section: {
  16769. title: '',
  16770. subTitle: '更多',
  16771. right: true,
  16772. fontSize: 15,
  16773. bold: true,
  16774. color: '#303133',
  16775. subColor: '#909399',
  16776. showLine: true,
  16777. lineColor: '',
  16778. arrow: true
  16779. }
  16780. };
  16781. exports.default = _default;
  16782. /***/ }),
  16783. /* 135 */
  16784. /*!**********************************************************************************************************************************************************!*\
  16785. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/skeleton.js ***!
  16786. \**********************************************************************************************************************************************************/
  16787. /*! no static exports found */
  16788. /***/ (function(module, exports, __webpack_require__) {
  16789. "use strict";
  16790. Object.defineProperty(exports, "__esModule", {
  16791. value: true
  16792. });
  16793. exports.default = void 0;
  16794. /*
  16795. * @Author : LQ
  16796. * @Description :
  16797. * @version : 1.0
  16798. * @Date : 2021-08-20 16:44:21
  16799. * @LastAuthor : LQ
  16800. * @lastTime : 2021-08-20 17:20:14
  16801. * @FilePath : /u-view2.0/uview-ui/libs/config/props/skeleton.js
  16802. */
  16803. var _default = {
  16804. // skeleton
  16805. skeleton: {
  16806. loading: true,
  16807. animate: true,
  16808. rows: 0,
  16809. rowsWidth: '100%',
  16810. rowsHeight: 18,
  16811. title: true,
  16812. titleWidth: '50%',
  16813. titleHeight: 18,
  16814. avatar: false,
  16815. avatarSize: 32,
  16816. avatarShape: 'circle'
  16817. }
  16818. };
  16819. exports.default = _default;
  16820. /***/ }),
  16821. /* 136 */
  16822. /*!********************************************************************************************************************************************************!*\
  16823. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/slider.js ***!
  16824. \********************************************************************************************************************************************************/
  16825. /*! no static exports found */
  16826. /***/ (function(module, exports, __webpack_require__) {
  16827. "use strict";
  16828. Object.defineProperty(exports, "__esModule", {
  16829. value: true
  16830. });
  16831. exports.default = void 0;
  16832. /*
  16833. * @Author : LQ
  16834. * @Description :
  16835. * @version : 1.0
  16836. * @Date : 2021-08-20 16:44:21
  16837. * @LastAuthor : LQ
  16838. * @lastTime : 2021-08-20 17:08:25
  16839. * @FilePath : /u-view2.0/uview-ui/libs/config/props/slider.js
  16840. */
  16841. var _default = {
  16842. // slider组件
  16843. slider: {
  16844. value: 0,
  16845. blockSize: 18,
  16846. min: 0,
  16847. max: 100,
  16848. step: 1,
  16849. activeColor: '#2979ff',
  16850. inactiveColor: '#c0c4cc',
  16851. blockColor: '#ffffff',
  16852. showValue: false,
  16853. disabled: false,
  16854. blockStyle: function blockStyle() {}
  16855. }
  16856. };
  16857. exports.default = _default;
  16858. /***/ }),
  16859. /* 137 */
  16860. /*!***********************************************************************************************************************************************************!*\
  16861. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/statusBar.js ***!
  16862. \***********************************************************************************************************************************************************/
  16863. /*! no static exports found */
  16864. /***/ (function(module, exports, __webpack_require__) {
  16865. "use strict";
  16866. Object.defineProperty(exports, "__esModule", {
  16867. value: true
  16868. });
  16869. exports.default = void 0;
  16870. /*
  16871. * @Author : LQ
  16872. * @Description :
  16873. * @version : 1.0
  16874. * @Date : 2021-08-20 16:44:21
  16875. * @LastAuthor : LQ
  16876. * @lastTime : 2021-08-20 17:20:39
  16877. * @FilePath : /u-view2.0/uview-ui/libs/config/props/statusBar.js
  16878. */
  16879. var _default = {
  16880. // statusBar
  16881. statusBar: {
  16882. bgColor: 'transparent'
  16883. }
  16884. };
  16885. exports.default = _default;
  16886. /***/ }),
  16887. /* 138 */
  16888. /*!*******************************************************************************************************************************************************!*\
  16889. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/steps.js ***!
  16890. \*******************************************************************************************************************************************************/
  16891. /*! no static exports found */
  16892. /***/ (function(module, exports, __webpack_require__) {
  16893. "use strict";
  16894. Object.defineProperty(exports, "__esModule", {
  16895. value: true
  16896. });
  16897. exports.default = void 0;
  16898. /*
  16899. * @Author : LQ
  16900. * @Description :
  16901. * @version : 1.0
  16902. * @Date : 2021-08-20 16:44:21
  16903. * @LastAuthor : LQ
  16904. * @lastTime : 2021-08-20 17:12:37
  16905. * @FilePath : /u-view2.0/uview-ui/libs/config/props/steps.js
  16906. */
  16907. var _default = {
  16908. // steps组件
  16909. steps: {
  16910. direction: 'row',
  16911. current: 0,
  16912. activeColor: '#3c9cff',
  16913. inactiveColor: '#969799',
  16914. activeIcon: '',
  16915. inactiveIcon: '',
  16916. dot: false
  16917. }
  16918. };
  16919. exports.default = _default;
  16920. /***/ }),
  16921. /* 139 */
  16922. /*!***********************************************************************************************************************************************************!*\
  16923. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/stepsItem.js ***!
  16924. \***********************************************************************************************************************************************************/
  16925. /*! no static exports found */
  16926. /***/ (function(module, exports, __webpack_require__) {
  16927. "use strict";
  16928. Object.defineProperty(exports, "__esModule", {
  16929. value: true
  16930. });
  16931. exports.default = void 0;
  16932. /*
  16933. * @Author : LQ
  16934. * @Description :
  16935. * @version : 1.0
  16936. * @Date : 2021-08-20 16:44:21
  16937. * @LastAuthor : LQ
  16938. * @lastTime : 2021-08-20 17:12:55
  16939. * @FilePath : /u-view2.0/uview-ui/libs/config/props/stepsItem.js
  16940. */
  16941. var _default = {
  16942. // steps-item组件
  16943. stepsItem: {
  16944. title: '',
  16945. desc: '',
  16946. iconSize: 17,
  16947. error: false
  16948. }
  16949. };
  16950. exports.default = _default;
  16951. /***/ }),
  16952. /* 140 */
  16953. /*!********************************************************************************************************************************************************!*\
  16954. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/sticky.js ***!
  16955. \********************************************************************************************************************************************************/
  16956. /*! no static exports found */
  16957. /***/ (function(module, exports, __webpack_require__) {
  16958. "use strict";
  16959. Object.defineProperty(exports, "__esModule", {
  16960. value: true
  16961. });
  16962. exports.default = void 0;
  16963. /*
  16964. * @Author : LQ
  16965. * @Description :
  16966. * @version : 1.0
  16967. * @Date : 2021-08-20 16:44:21
  16968. * @LastAuthor : LQ
  16969. * @lastTime : 2021-08-20 17:01:30
  16970. * @FilePath : /u-view2.0/uview-ui/libs/config/props/sticky.js
  16971. */
  16972. var _default = {
  16973. // sticky组件
  16974. sticky: {
  16975. offsetTop: 0,
  16976. customNavHeight: 0,
  16977. disabled: false,
  16978. bgColor: 'transparent',
  16979. zIndex: '',
  16980. index: ''
  16981. }
  16982. };
  16983. exports.default = _default;
  16984. /***/ }),
  16985. /* 141 */
  16986. /*!************************************************************************************************************************************************************!*\
  16987. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/subsection.js ***!
  16988. \************************************************************************************************************************************************************/
  16989. /*! no static exports found */
  16990. /***/ (function(module, exports, __webpack_require__) {
  16991. "use strict";
  16992. Object.defineProperty(exports, "__esModule", {
  16993. value: true
  16994. });
  16995. exports.default = void 0;
  16996. /*
  16997. * @Author : LQ
  16998. * @Description :
  16999. * @version : 1.0
  17000. * @Date : 2021-08-20 16:44:21
  17001. * @LastAuthor : LQ
  17002. * @lastTime : 2021-08-20 17:12:20
  17003. * @FilePath : /u-view2.0/uview-ui/libs/config/props/subsection.js
  17004. */
  17005. var _default = {
  17006. // subsection组件
  17007. subsection: {
  17008. list: [],
  17009. current: 0,
  17010. activeColor: '#3c9cff',
  17011. inactiveColor: '#303133',
  17012. mode: 'button',
  17013. fontSize: 12,
  17014. bold: true,
  17015. bgColor: '#eeeeef',
  17016. keyName: 'name'
  17017. }
  17018. };
  17019. exports.default = _default;
  17020. /***/ }),
  17021. /* 142 */
  17022. /*!*************************************************************************************************************************************************************!*\
  17023. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swipeAction.js ***!
  17024. \*************************************************************************************************************************************************************/
  17025. /*! no static exports found */
  17026. /***/ (function(module, exports, __webpack_require__) {
  17027. "use strict";
  17028. Object.defineProperty(exports, "__esModule", {
  17029. value: true
  17030. });
  17031. exports.default = void 0;
  17032. /*
  17033. * @Author : LQ
  17034. * @Description :
  17035. * @version : 1.0
  17036. * @Date : 2021-08-20 16:44:21
  17037. * @LastAuthor : LQ
  17038. * @lastTime : 2021-08-20 17:00:42
  17039. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeAction.js
  17040. */
  17041. var _default = {
  17042. // swipe-action组件
  17043. swipeAction: {
  17044. autoClose: true
  17045. }
  17046. };
  17047. exports.default = _default;
  17048. /***/ }),
  17049. /* 143 */
  17050. /*!*****************************************************************************************************************************************************************!*\
  17051. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swipeActionItem.js ***!
  17052. \*****************************************************************************************************************************************************************/
  17053. /*! no static exports found */
  17054. /***/ (function(module, exports, __webpack_require__) {
  17055. "use strict";
  17056. Object.defineProperty(exports, "__esModule", {
  17057. value: true
  17058. });
  17059. exports.default = void 0;
  17060. /*
  17061. * @Author : LQ
  17062. * @Description :
  17063. * @version : 1.0
  17064. * @Date : 2021-08-20 16:44:21
  17065. * @LastAuthor : LQ
  17066. * @lastTime : 2021-08-20 17:01:13
  17067. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeActionItem.js
  17068. */
  17069. var _default = {
  17070. // swipeActionItem 组件
  17071. swipeActionItem: {
  17072. show: false,
  17073. name: '',
  17074. disabled: false,
  17075. threshold: 20,
  17076. autoClose: true,
  17077. options: [],
  17078. duration: 300
  17079. }
  17080. };
  17081. exports.default = _default;
  17082. /***/ }),
  17083. /* 144 */
  17084. /*!********************************************************************************************************************************************************!*\
  17085. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swiper.js ***!
  17086. \********************************************************************************************************************************************************/
  17087. /*! no static exports found */
  17088. /***/ (function(module, exports, __webpack_require__) {
  17089. "use strict";
  17090. Object.defineProperty(exports, "__esModule", {
  17091. value: true
  17092. });
  17093. exports.default = void 0;
  17094. /*
  17095. * @Author : LQ
  17096. * @Description :
  17097. * @version : 1.0
  17098. * @Date : 2021-08-20 16:44:21
  17099. * @LastAuthor : LQ
  17100. * @lastTime : 2021-08-20 17:21:38
  17101. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiper.js
  17102. */
  17103. var _default = {
  17104. // swiper 组件
  17105. swiper: {
  17106. list: function list() {
  17107. return [];
  17108. },
  17109. indicator: false,
  17110. indicatorActiveColor: '#FFFFFF',
  17111. indicatorInactiveColor: 'rgba(255, 255, 255, 0.35)',
  17112. indicatorStyle: '',
  17113. indicatorMode: 'line',
  17114. autoplay: true,
  17115. current: 0,
  17116. currentItemId: '',
  17117. interval: 3000,
  17118. duration: 300,
  17119. circular: false,
  17120. previousMargin: 0,
  17121. nextMargin: 0,
  17122. acceleration: false,
  17123. displayMultipleItems: 1,
  17124. easingFunction: 'default',
  17125. keyName: 'url',
  17126. imgMode: 'aspectFill',
  17127. height: 130,
  17128. bgColor: '#f3f4f6',
  17129. radius: 4,
  17130. loading: false,
  17131. showTitle: false
  17132. }
  17133. };
  17134. exports.default = _default;
  17135. /***/ }),
  17136. /* 145 */
  17137. /*!******************************************************************************************************************************************************************!*\
  17138. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swipterIndicator.js ***!
  17139. \******************************************************************************************************************************************************************/
  17140. /*! no static exports found */
  17141. /***/ (function(module, exports, __webpack_require__) {
  17142. "use strict";
  17143. Object.defineProperty(exports, "__esModule", {
  17144. value: true
  17145. });
  17146. exports.default = void 0;
  17147. /*
  17148. * @Author : LQ
  17149. * @Description :
  17150. * @version : 1.0
  17151. * @Date : 2021-08-20 16:44:21
  17152. * @LastAuthor : LQ
  17153. * @lastTime : 2021-08-20 17:22:07
  17154. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiperIndicator.js
  17155. */
  17156. var _default = {
  17157. // swiperIndicator 组件
  17158. swiperIndicator: {
  17159. length: 0,
  17160. current: 0,
  17161. indicatorActiveColor: '',
  17162. indicatorInactiveColor: '',
  17163. indicatorMode: 'line'
  17164. }
  17165. };
  17166. exports.default = _default;
  17167. /***/ }),
  17168. /* 146 */
  17169. /*!********************************************************************************************************************************************************!*\
  17170. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/switch.js ***!
  17171. \********************************************************************************************************************************************************/
  17172. /*! no static exports found */
  17173. /***/ (function(module, exports, __webpack_require__) {
  17174. "use strict";
  17175. Object.defineProperty(exports, "__esModule", {
  17176. value: true
  17177. });
  17178. exports.default = void 0;
  17179. /*
  17180. * @Author : LQ
  17181. * @Description :
  17182. * @version : 1.0
  17183. * @Date : 2021-08-20 16:44:21
  17184. * @LastAuthor : LQ
  17185. * @lastTime : 2021-08-20 17:22:24
  17186. * @FilePath : /u-view2.0/uview-ui/libs/config/props/switch.js
  17187. */
  17188. var _default = {
  17189. // switch
  17190. switch: {
  17191. loading: false,
  17192. disabled: false,
  17193. size: 25,
  17194. activeColor: '#2979ff',
  17195. inactiveColor: '#ffffff',
  17196. value: false,
  17197. activeValue: true,
  17198. inactiveValue: false,
  17199. asyncChange: false,
  17200. space: 0
  17201. }
  17202. };
  17203. exports.default = _default;
  17204. /***/ }),
  17205. /* 147 */
  17206. /*!********************************************************************************************************************************************************!*\
  17207. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tabbar.js ***!
  17208. \********************************************************************************************************************************************************/
  17209. /*! no static exports found */
  17210. /***/ (function(module, exports, __webpack_require__) {
  17211. "use strict";
  17212. Object.defineProperty(exports, "__esModule", {
  17213. value: true
  17214. });
  17215. exports.default = void 0;
  17216. /*
  17217. * @Author : LQ
  17218. * @Description :
  17219. * @version : 1.0
  17220. * @Date : 2021-08-20 16:44:21
  17221. * @LastAuthor : LQ
  17222. * @lastTime : 2021-08-20 17:22:40
  17223. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbar.js
  17224. */
  17225. var _default = {
  17226. // tabbar
  17227. tabbar: {
  17228. value: null,
  17229. safeAreaInsetBottom: true,
  17230. border: true,
  17231. zIndex: 1,
  17232. activeColor: '#1989fa',
  17233. inactiveColor: '#7d7e80',
  17234. fixed: true,
  17235. placeholder: true
  17236. }
  17237. };
  17238. exports.default = _default;
  17239. /***/ }),
  17240. /* 148 */
  17241. /*!************************************************************************************************************************************************************!*\
  17242. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tabbarItem.js ***!
  17243. \************************************************************************************************************************************************************/
  17244. /*! no static exports found */
  17245. /***/ (function(module, exports, __webpack_require__) {
  17246. "use strict";
  17247. Object.defineProperty(exports, "__esModule", {
  17248. value: true
  17249. });
  17250. exports.default = void 0;
  17251. /*
  17252. * @Author : LQ
  17253. * @Description :
  17254. * @version : 1.0
  17255. * @Date : 2021-08-20 16:44:21
  17256. * @LastAuthor : LQ
  17257. * @lastTime : 2021-08-20 17:22:55
  17258. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbarItem.js
  17259. */
  17260. var _default = {
  17261. //
  17262. tabbarItem: {
  17263. name: null,
  17264. icon: '',
  17265. badge: null,
  17266. dot: false,
  17267. text: '',
  17268. badgeStyle: 'top: 6px;right:2px;'
  17269. }
  17270. };
  17271. exports.default = _default;
  17272. /***/ }),
  17273. /* 149 */
  17274. /*!******************************************************************************************************************************************************!*\
  17275. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tabs.js ***!
  17276. \******************************************************************************************************************************************************/
  17277. /*! no static exports found */
  17278. /***/ (function(module, exports, __webpack_require__) {
  17279. "use strict";
  17280. Object.defineProperty(exports, "__esModule", {
  17281. value: true
  17282. });
  17283. exports.default = void 0;
  17284. /*
  17285. * @Author : LQ
  17286. * @Description :
  17287. * @version : 1.0
  17288. * @Date : 2021-08-20 16:44:21
  17289. * @LastAuthor : LQ
  17290. * @lastTime : 2021-08-20 17:23:14
  17291. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabs.js
  17292. */
  17293. var _default = {
  17294. //
  17295. tabs: {
  17296. duration: 300,
  17297. list: function list() {
  17298. return [];
  17299. },
  17300. lineColor: '#3c9cff',
  17301. activeStyle: function activeStyle() {
  17302. return {
  17303. color: '#303133'
  17304. };
  17305. },
  17306. inactiveStyle: function inactiveStyle() {
  17307. return {
  17308. color: '#606266'
  17309. };
  17310. },
  17311. lineWidth: 20,
  17312. lineHeight: 3,
  17313. lineBgSize: 'cover',
  17314. itemStyle: function itemStyle() {
  17315. return {
  17316. height: '44px'
  17317. };
  17318. },
  17319. scrollable: true,
  17320. current: 0,
  17321. keyName: 'name'
  17322. }
  17323. };
  17324. exports.default = _default;
  17325. /***/ }),
  17326. /* 150 */
  17327. /*!*****************************************************************************************************************************************************!*\
  17328. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tag.js ***!
  17329. \*****************************************************************************************************************************************************/
  17330. /*! no static exports found */
  17331. /***/ (function(module, exports, __webpack_require__) {
  17332. "use strict";
  17333. Object.defineProperty(exports, "__esModule", {
  17334. value: true
  17335. });
  17336. exports.default = void 0;
  17337. /*
  17338. * @Author : LQ
  17339. * @Description :
  17340. * @version : 1.0
  17341. * @Date : 2021-08-20 16:44:21
  17342. * @LastAuthor : LQ
  17343. * @lastTime : 2021-08-20 17:23:37
  17344. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tag.js
  17345. */
  17346. var _default = {
  17347. // tag 组件
  17348. tag: {
  17349. type: 'primary',
  17350. disabled: false,
  17351. size: 'medium',
  17352. shape: 'square',
  17353. text: '',
  17354. bgColor: '',
  17355. color: '',
  17356. borderColor: '',
  17357. closeColor: '#C6C7CB',
  17358. name: '',
  17359. plainFill: false,
  17360. plain: false,
  17361. closable: false,
  17362. show: true,
  17363. icon: ''
  17364. }
  17365. };
  17366. exports.default = _default;
  17367. /***/ }),
  17368. /* 151 */
  17369. /*!******************************************************************************************************************************************************!*\
  17370. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/text.js ***!
  17371. \******************************************************************************************************************************************************/
  17372. /*! no static exports found */
  17373. /***/ (function(module, exports, __webpack_require__) {
  17374. "use strict";
  17375. Object.defineProperty(exports, "__esModule", {
  17376. value: true
  17377. });
  17378. exports.default = void 0;
  17379. /*
  17380. * @Author : LQ
  17381. * @Description :
  17382. * @version : 1.0
  17383. * @Date : 2021-08-20 16:44:21
  17384. * @LastAuthor : LQ
  17385. * @lastTime : 2021-08-20 17:23:58
  17386. * @FilePath : /u-view2.0/uview-ui/libs/config/props/text.js
  17387. */
  17388. var _default = {
  17389. // text 组件
  17390. text: {
  17391. type: '',
  17392. show: true,
  17393. text: '',
  17394. prefixIcon: '',
  17395. suffixIcon: '',
  17396. mode: '',
  17397. href: '',
  17398. format: '',
  17399. call: false,
  17400. openType: '',
  17401. bold: false,
  17402. block: false,
  17403. lines: '',
  17404. color: '#303133',
  17405. size: 15,
  17406. iconStyle: function iconStyle() {
  17407. return {
  17408. fontSize: '15px'
  17409. };
  17410. },
  17411. decoration: 'none',
  17412. margin: 0,
  17413. lineHeight: '',
  17414. align: 'left',
  17415. wordWrap: 'normal'
  17416. }
  17417. };
  17418. exports.default = _default;
  17419. /***/ }),
  17420. /* 152 */
  17421. /*!**********************************************************************************************************************************************************!*\
  17422. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/textarea.js ***!
  17423. \**********************************************************************************************************************************************************/
  17424. /*! no static exports found */
  17425. /***/ (function(module, exports, __webpack_require__) {
  17426. "use strict";
  17427. Object.defineProperty(exports, "__esModule", {
  17428. value: true
  17429. });
  17430. exports.default = void 0;
  17431. /*
  17432. * @Author : LQ
  17433. * @Description :
  17434. * @version : 1.0
  17435. * @Date : 2021-08-20 16:44:21
  17436. * @LastAuthor : LQ
  17437. * @lastTime : 2021-08-20 17:24:32
  17438. * @FilePath : /u-view2.0/uview-ui/libs/config/props/textarea.js
  17439. */
  17440. var _default = {
  17441. // textarea 组件
  17442. textarea: {
  17443. value: '',
  17444. placeholder: '',
  17445. placeholderClass: 'textarea-placeholder',
  17446. placeholderStyle: 'color: #c0c4cc',
  17447. height: 70,
  17448. confirmType: 'done',
  17449. disabled: false,
  17450. count: false,
  17451. focus: false,
  17452. autoHeight: false,
  17453. fixed: false,
  17454. cursorSpacing: 0,
  17455. cursor: '',
  17456. showConfirmBar: true,
  17457. selectionStart: -1,
  17458. selectionEnd: -1,
  17459. adjustPosition: true,
  17460. disableDefaultPadding: false,
  17461. holdKeyboard: false,
  17462. maxlength: 140,
  17463. border: 'surround',
  17464. formatter: null
  17465. }
  17466. };
  17467. exports.default = _default;
  17468. /***/ }),
  17469. /* 153 */
  17470. /*!*******************************************************************************************************************************************************!*\
  17471. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/toast.js ***!
  17472. \*******************************************************************************************************************************************************/
  17473. /*! no static exports found */
  17474. /***/ (function(module, exports, __webpack_require__) {
  17475. "use strict";
  17476. Object.defineProperty(exports, "__esModule", {
  17477. value: true
  17478. });
  17479. exports.default = void 0;
  17480. /*
  17481. * @Author : LQ
  17482. * @Description :
  17483. * @version : 1.0
  17484. * @Date : 2021-08-20 16:44:21
  17485. * @LastAuthor : LQ
  17486. * @lastTime : 2021-08-20 17:07:07
  17487. * @FilePath : /u-view2.0/uview-ui/libs/config/props/toast.js
  17488. */
  17489. var _default = {
  17490. // toast组件
  17491. toast: {
  17492. zIndex: 10090,
  17493. loading: false,
  17494. text: '',
  17495. icon: '',
  17496. type: '',
  17497. loadingMode: '',
  17498. show: '',
  17499. overlay: false,
  17500. position: 'center',
  17501. params: function params() {},
  17502. duration: 2000,
  17503. isTab: false,
  17504. url: '',
  17505. callback: null,
  17506. back: false
  17507. }
  17508. };
  17509. exports.default = _default;
  17510. /***/ }),
  17511. /* 154 */
  17512. /*!*********************************************************************************************************************************************************!*\
  17513. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/toolbar.js ***!
  17514. \*********************************************************************************************************************************************************/
  17515. /*! no static exports found */
  17516. /***/ (function(module, exports, __webpack_require__) {
  17517. "use strict";
  17518. Object.defineProperty(exports, "__esModule", {
  17519. value: true
  17520. });
  17521. exports.default = void 0;
  17522. /*
  17523. * @Author : LQ
  17524. * @Description :
  17525. * @version : 1.0
  17526. * @Date : 2021-08-20 16:44:21
  17527. * @LastAuthor : LQ
  17528. * @lastTime : 2021-08-20 17:24:55
  17529. * @FilePath : /u-view2.0/uview-ui/libs/config/props/toolbar.js
  17530. */
  17531. var _default = {
  17532. // toolbar 组件
  17533. toolbar: {
  17534. show: true,
  17535. cancelText: '取消',
  17536. confirmText: '确认',
  17537. cancelColor: '#909193',
  17538. confirmColor: '#3c9cff',
  17539. title: ''
  17540. }
  17541. };
  17542. exports.default = _default;
  17543. /***/ }),
  17544. /* 155 */
  17545. /*!*********************************************************************************************************************************************************!*\
  17546. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tooltip.js ***!
  17547. \*********************************************************************************************************************************************************/
  17548. /*! no static exports found */
  17549. /***/ (function(module, exports, __webpack_require__) {
  17550. "use strict";
  17551. Object.defineProperty(exports, "__esModule", {
  17552. value: true
  17553. });
  17554. exports.default = void 0;
  17555. /*
  17556. * @Author : LQ
  17557. * @Description :
  17558. * @version : 1.0
  17559. * @Date : 2021-08-20 16:44:21
  17560. * @LastAuthor : LQ
  17561. * @lastTime : 2021-08-20 17:25:14
  17562. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tooltip.js
  17563. */
  17564. var _default = {
  17565. // tooltip 组件
  17566. tooltip: {
  17567. text: '',
  17568. copyText: '',
  17569. size: 14,
  17570. color: '#606266',
  17571. bgColor: 'transparent',
  17572. direction: 'top',
  17573. zIndex: 10071,
  17574. showCopy: true,
  17575. buttons: function buttons() {
  17576. return [];
  17577. },
  17578. overlay: true,
  17579. showToast: true
  17580. }
  17581. };
  17582. exports.default = _default;
  17583. /***/ }),
  17584. /* 156 */
  17585. /*!************************************************************************************************************************************************************!*\
  17586. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/transition.js ***!
  17587. \************************************************************************************************************************************************************/
  17588. /*! no static exports found */
  17589. /***/ (function(module, exports, __webpack_require__) {
  17590. "use strict";
  17591. Object.defineProperty(exports, "__esModule", {
  17592. value: true
  17593. });
  17594. exports.default = void 0;
  17595. /*
  17596. * @Author : LQ
  17597. * @Description :
  17598. * @version : 1.0
  17599. * @Date : 2021-08-20 16:44:21
  17600. * @LastAuthor : LQ
  17601. * @lastTime : 2021-08-20 16:59:00
  17602. * @FilePath : /u-view2.0/uview-ui/libs/config/props/transition.js
  17603. */
  17604. var _default = {
  17605. // transition动画组件的props
  17606. transition: {
  17607. show: false,
  17608. mode: 'fade',
  17609. duration: '300',
  17610. timingFunction: 'ease-out'
  17611. }
  17612. };
  17613. exports.default = _default;
  17614. /***/ }),
  17615. /* 157 */
  17616. /*!********************************************************************************************************************************************************!*\
  17617. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/upload.js ***!
  17618. \********************************************************************************************************************************************************/
  17619. /*! no static exports found */
  17620. /***/ (function(module, exports, __webpack_require__) {
  17621. "use strict";
  17622. Object.defineProperty(exports, "__esModule", {
  17623. value: true
  17624. });
  17625. exports.default = void 0;
  17626. /*
  17627. * @Author : LQ
  17628. * @Description :
  17629. * @version : 1.0
  17630. * @Date : 2021-08-20 16:44:21
  17631. * @LastAuthor : LQ
  17632. * @lastTime : 2021-08-20 17:09:50
  17633. * @FilePath : /u-view2.0/uview-ui/libs/config/props/upload.js
  17634. */
  17635. var _default = {
  17636. // upload组件
  17637. upload: {
  17638. accept: 'image',
  17639. capture: function capture() {
  17640. return ['album', 'camera'];
  17641. },
  17642. compressed: true,
  17643. camera: 'back',
  17644. maxDuration: 60,
  17645. uploadIcon: 'camera-fill',
  17646. uploadIconColor: '#D3D4D6',
  17647. useBeforeRead: false,
  17648. previewFullImage: true,
  17649. maxCount: 52,
  17650. disabled: false,
  17651. imageMode: 'aspectFill',
  17652. name: '',
  17653. sizeType: function sizeType() {
  17654. return ['original', 'compressed'];
  17655. },
  17656. multiple: false,
  17657. deletable: true,
  17658. maxSize: Number.MAX_VALUE,
  17659. fileList: function fileList() {
  17660. return [];
  17661. },
  17662. uploadText: '',
  17663. width: 80,
  17664. height: 80,
  17665. previewImage: true
  17666. }
  17667. };
  17668. exports.default = _default;
  17669. /***/ }),
  17670. /* 158 */
  17671. /*!**************************************************************************************************************************************************!*\
  17672. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/zIndex.js ***!
  17673. \**************************************************************************************************************************************************/
  17674. /*! no static exports found */
  17675. /***/ (function(module, exports, __webpack_require__) {
  17676. "use strict";
  17677. Object.defineProperty(exports, "__esModule", {
  17678. value: true
  17679. });
  17680. exports.default = void 0;
  17681. // uniapp在H5中各API的z-index值如下:
  17682. /**
  17683. * actionsheet: 999
  17684. * modal: 999
  17685. * navigate: 998
  17686. * tabbar: 998
  17687. * toast: 999
  17688. */
  17689. var _default = {
  17690. toast: 10090,
  17691. noNetwork: 10080,
  17692. // popup包含popup,actionsheet,keyboard,picker的值
  17693. popup: 10075,
  17694. mask: 10070,
  17695. navbar: 980,
  17696. topTips: 975,
  17697. sticky: 970,
  17698. indexListSticky: 965
  17699. };
  17700. exports.default = _default;
  17701. /***/ }),
  17702. /* 159 */
  17703. /*!******************************************************************************************************************************************************!*\
  17704. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/platform.js ***!
  17705. \******************************************************************************************************************************************************/
  17706. /*! no static exports found */
  17707. /***/ (function(module, exports, __webpack_require__) {
  17708. "use strict";
  17709. Object.defineProperty(exports, "__esModule", {
  17710. value: true
  17711. });
  17712. exports.default = void 0;
  17713. /**
  17714. * 注意:
  17715. * 此部分内容,在vue-cli模式下,需要在vue.config.js加入如下内容才有效:
  17716. * module.exports = {
  17717. * transpileDependencies: ['uview-v2']
  17718. * }
  17719. */
  17720. var platform = 'none';
  17721. platform = 'vue2';
  17722. platform = 'weixin';
  17723. platform = 'mp';
  17724. var _default = platform;
  17725. exports.default = _default;
  17726. /***/ }),
  17727. /* 160 */,
  17728. /* 161 */,
  17729. /* 162 */,
  17730. /* 163 */,
  17731. /* 164 */,
  17732. /* 165 */,
  17733. /* 166 */,
  17734. /* 167 */,
  17735. /* 168 */,
  17736. /* 169 */,
  17737. /* 170 */,
  17738. /* 171 */,
  17739. /* 172 */,
  17740. /* 173 */,
  17741. /* 174 */
  17742. /*!*********************************************************************************************************************!*\
  17743. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/visitor.js ***!
  17744. \*********************************************************************************************************************/
  17745. /*! no static exports found */
  17746. /***/ (function(module, exports, __webpack_require__) {
  17747. "use strict";
  17748. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  17749. Object.defineProperty(exports, "__esModule", {
  17750. value: true
  17751. });
  17752. exports.assetDetail = assetDetail;
  17753. exports.assetList = assetList;
  17754. exports.getImage = getImage;
  17755. exports.playerVideo = playerVideo;
  17756. exports.studyDetail = studyDetail;
  17757. exports.studyList = studyList;
  17758. exports.studyNew = studyNew;
  17759. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 175));
  17760. var _baseurl = _interopRequireDefault(__webpack_require__(/*! @/utils/baseurl.js */ 176));
  17761. function assetList() {
  17762. return _request.default.get('/visitor/asset/list');
  17763. }
  17764. function assetDetail(barCode) {
  17765. return _request.default.get("/visitor/asset/detail/".concat(barCode));
  17766. }
  17767. function studyList(x, y) {
  17768. return _request.default.get('/visitor/study/list', {
  17769. pageNum: x,
  17770. pageSize: y
  17771. }).then(function (res) {
  17772. return res;
  17773. });
  17774. }
  17775. function studyNew(number) {
  17776. return _request.default.get("/visitor/study/new?number=".concat(number));
  17777. }
  17778. function studyDetail(studyId) {
  17779. return _request.default.get("/visitor/study/detail/".concat(studyId));
  17780. }
  17781. function getImage(src) {
  17782. if (!src) {
  17783. return;
  17784. }
  17785. var real_src = src.split(",")[0];
  17786. return _baseurl.default + real_src;
  17787. }
  17788. function playerVideo(url) {
  17789. return "".concat(_baseurl.default, "/asset/demoVideo/player?name=").concat(url);
  17790. }
  17791. /***/ }),
  17792. /* 175 */
  17793. /*!***********************************************************************************************************************!*\
  17794. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/request.js ***!
  17795. \***********************************************************************************************************************/
  17796. /*! no static exports found */
  17797. /***/ (function(module, exports, __webpack_require__) {
  17798. "use strict";
  17799. /* WEBPACK VAR INJECTION */(function(uni, wx) {
  17800. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  17801. Object.defineProperty(exports, "__esModule", {
  17802. value: true
  17803. });
  17804. exports.default = void 0;
  17805. var _baseurl = _interopRequireDefault(__webpack_require__(/*! @/utils/baseurl.js */ 176));
  17806. var _auth = __webpack_require__(/*! @/utils/auth */ 34);
  17807. var _errorCode = _interopRequireDefault(__webpack_require__(/*! @/utils/errorCode */ 177));
  17808. var Fly = __webpack_require__(/*! flyio/dist/npm/wx */ 178);
  17809. var fly = new Fly();
  17810. //设置超时
  17811. fly.config.timeout = 30000;
  17812. //设置请求基地址
  17813. fly.config.baseURL = _baseurl.default;
  17814. fly.interceptors.request.use(function (config) {
  17815. // 在发送请求之前做些什么
  17816. // if(isLoading){
  17817. // console.log(isLoading,222)
  17818. // uni.showLoading({
  17819. // title: "加载中",
  17820. // mask: true,
  17821. // })
  17822. // }
  17823. var isToken = (config.headers || {}).isToken === false;
  17824. if ((0, _auth.getToken)() && !isToken) {
  17825. config.headers['Authorization'] = "Bearer ".concat((0, _auth.getToken)());
  17826. }
  17827. return config;
  17828. }, function (error) {
  17829. // 对请求错误做些什么
  17830. // if(isLoading){
  17831. // uni.hideLoading();
  17832. // }
  17833. uni.showToast({
  17834. title: error,
  17835. icon: 'error'
  17836. });
  17837. return Promise.reject(error);
  17838. });
  17839. // 添加响应拦截器
  17840. fly.interceptors.response.use(function (res) {
  17841. // 对响应数据做些事
  17842. var _res$data = res.data,
  17843. code = _res$data.code,
  17844. msg = _res$data.msg,
  17845. data = _res$data.data;
  17846. var rescode = code || 200;
  17847. // 获取错误信息
  17848. var resmsg = _errorCode.default[rescode] || msg || _errorCode.default['default'];
  17849. // 二进制数据则直接返回
  17850. // if(isLoading){
  17851. // uni.hideLoading();
  17852. // }
  17853. if (res.request.responseType === 'blob' || res.request.responseType === 'arraybuffer') {
  17854. return resmsg;
  17855. }
  17856. if (rescode === 401) {
  17857. wx.showModal({
  17858. title: '系统提示',
  17859. content: '请先进行登录',
  17860. mask: true,
  17861. success: function success(res) {
  17862. if (res.confirm) {
  17863. uni.reLaunch({
  17864. url: "/pages/logo/index"
  17865. });
  17866. } else if (res.cancel) {
  17867. console.log('用户点击取消');
  17868. }
  17869. }
  17870. });
  17871. } else if (rescode === 500) {
  17872. var mess = "";
  17873. if (resmsg === "用户不存在/密码错误") {
  17874. mess = "工号/密码错误";
  17875. } else if (resmsg === "登录用户: 不存在") {
  17876. mess = "用户不存在";
  17877. } else {
  17878. mess = resmsg;
  17879. }
  17880. uni.showToast({
  17881. title: mess,
  17882. icon: 'error'
  17883. });
  17884. return Promise.reject(new Error(resmsg));
  17885. } else if (rescode !== 200) {
  17886. uni.showToast({
  17887. title: resmsg,
  17888. icon: 'error'
  17889. });
  17890. return Promise.reject('error');
  17891. } else {
  17892. return data;
  17893. }
  17894. }, function (error) {
  17895. var message = error.message.message;
  17896. uni.showToast({
  17897. title: message,
  17898. duration: 5 * 1000,
  17899. icon: 'error'
  17900. });
  17901. return Promise.reject(error);
  17902. });
  17903. var _default = fly;
  17904. exports.default = _default;
  17905. /* 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"]))
  17906. /***/ }),
  17907. /* 176 */
  17908. /*!***********************************************************************************************************************!*\
  17909. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/baseurl.js ***!
  17910. \***********************************************************************************************************************/
  17911. /*! no static exports found */
  17912. /***/ (function(module, exports, __webpack_require__) {
  17913. "use strict";
  17914. Object.defineProperty(exports, "__esModule", {
  17915. value: true
  17916. });
  17917. exports.default = void 0;
  17918. var devUrl = 'http://192.168.0.100:80/dev-api';
  17919. // let devUrl = 'http://localhost:80/dev-api';
  17920. var prodUrl = 'http://localhost:80/prod-api';
  17921. var baseUrl = true ? devUrl : undefined;
  17922. var _default = baseUrl;
  17923. exports.default = _default;
  17924. /***/ }),
  17925. /* 177 */
  17926. /*!*************************************************************************************************************************!*\
  17927. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/errorCode.js ***!
  17928. \*************************************************************************************************************************/
  17929. /*! no static exports found */
  17930. /***/ (function(module, exports, __webpack_require__) {
  17931. "use strict";
  17932. Object.defineProperty(exports, "__esModule", {
  17933. value: true
  17934. });
  17935. exports.default = void 0;
  17936. var _default = {
  17937. '401': '认证失败,无法访问系统资源',
  17938. '403': '当前操作没有权限',
  17939. '404': '访问资源不存在',
  17940. 'default': '系统未知错误,请反馈给管理员'
  17941. };
  17942. exports.default = _default;
  17943. /***/ }),
  17944. /* 178 */
  17945. /*!*******************************************!*\
  17946. !*** ./node_modules/flyio/dist/npm/wx.js ***!
  17947. \*******************************************/
  17948. /*! no static exports found */
  17949. /***/ (function(module, exports, __webpack_require__) {
  17950. /* WEBPACK VAR INJECTION */(function(wx) {(function webpackUniversalModuleDefinition(root, factory) {
  17951. if(true)
  17952. module.exports = factory();
  17953. else { var i, a; }
  17954. })(this, function() {
  17955. return /******/ (function(modules) { // webpackBootstrap
  17956. /******/ // The module cache
  17957. /******/ var installedModules = {};
  17958. /******/
  17959. /******/ // The require function
  17960. /******/ function __webpack_require__(moduleId) {
  17961. /******/
  17962. /******/ // Check if module is in cache
  17963. /******/ if(installedModules[moduleId]) {
  17964. /******/ return installedModules[moduleId].exports;
  17965. /******/ }
  17966. /******/ // Create a new module (and put it into the cache)
  17967. /******/ var module = installedModules[moduleId] = {
  17968. /******/ i: moduleId,
  17969. /******/ l: false,
  17970. /******/ exports: {}
  17971. /******/ };
  17972. /******/
  17973. /******/ // Execute the module function
  17974. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  17975. /******/
  17976. /******/ // Flag the module as loaded
  17977. /******/ module.l = true;
  17978. /******/
  17979. /******/ // Return the exports of the module
  17980. /******/ return module.exports;
  17981. /******/ }
  17982. /******/
  17983. /******/
  17984. /******/ // expose the modules object (__webpack_modules__)
  17985. /******/ __webpack_require__.m = modules;
  17986. /******/
  17987. /******/ // expose the module cache
  17988. /******/ __webpack_require__.c = installedModules;
  17989. /******/
  17990. /******/ // identity function for calling harmony imports with the correct context
  17991. /******/ __webpack_require__.i = function(value) { return value; };
  17992. /******/
  17993. /******/ // define getter function for harmony exports
  17994. /******/ __webpack_require__.d = function(exports, name, getter) {
  17995. /******/ if(!__webpack_require__.o(exports, name)) {
  17996. /******/ Object.defineProperty(exports, name, {
  17997. /******/ configurable: false,
  17998. /******/ enumerable: true,
  17999. /******/ get: getter
  18000. /******/ });
  18001. /******/ }
  18002. /******/ };
  18003. /******/
  18004. /******/ // getDefaultExport function for compatibility with non-harmony modules
  18005. /******/ __webpack_require__.n = function(module) {
  18006. /******/ var getter = module && module.__esModule ?
  18007. /******/ function getDefault() { return module['default']; } :
  18008. /******/ function getModuleExports() { return module; };
  18009. /******/ __webpack_require__.d(getter, 'a', getter);
  18010. /******/ return getter;
  18011. /******/ };
  18012. /******/
  18013. /******/ // Object.prototype.hasOwnProperty.call
  18014. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  18015. /******/
  18016. /******/ // __webpack_public_path__
  18017. /******/ __webpack_require__.p = "";
  18018. /******/
  18019. /******/ // Load entry module and return exports
  18020. /******/ return __webpack_require__(__webpack_require__.s = 13);
  18021. /******/ })
  18022. /************************************************************************/
  18023. /******/ ([
  18024. /* 0 */
  18025. /***/ (function(module, exports, __webpack_require__) {
  18026. "use strict";
  18027. 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; };
  18028. module.exports = {
  18029. type: function type(ob) {
  18030. return Object.prototype.toString.call(ob).slice(8, -1).toLowerCase();
  18031. },
  18032. isObject: function isObject(ob, real) {
  18033. if (real) {
  18034. return this.type(ob) === "object";
  18035. } else {
  18036. return ob && (typeof ob === 'undefined' ? 'undefined' : _typeof(ob)) === 'object';
  18037. }
  18038. },
  18039. isFormData: function isFormData(val) {
  18040. return typeof FormData !== 'undefined' && val instanceof FormData;
  18041. },
  18042. trim: function trim(str) {
  18043. return str.replace(/(^\s*)|(\s*$)/g, '');
  18044. },
  18045. encode: function encode(val) {
  18046. return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
  18047. },
  18048. formatParams: function formatParams(data) {
  18049. var str = "";
  18050. var first = true;
  18051. var that = this;
  18052. if (!this.isObject(data)) {
  18053. return data;
  18054. }
  18055. function _encode(sub, path) {
  18056. var encode = that.encode;
  18057. var type = that.type(sub);
  18058. if (type == "array") {
  18059. sub.forEach(function (e, i) {
  18060. if (!that.isObject(e)) i = "";
  18061. _encode(e, path + ('%5B' + i + '%5D'));
  18062. });
  18063. } else if (type == "object") {
  18064. for (var key in sub) {
  18065. if (path) {
  18066. _encode(sub[key], path + "%5B" + encode(key) + "%5D");
  18067. } else {
  18068. _encode(sub[key], encode(key));
  18069. }
  18070. }
  18071. } else {
  18072. if (!first) {
  18073. str += "&";
  18074. }
  18075. first = false;
  18076. str += path + "=" + encode(sub);
  18077. }
  18078. }
  18079. _encode(data, "");
  18080. return str;
  18081. },
  18082. // Do not overwrite existing attributes
  18083. merge: function merge(a, b) {
  18084. for (var key in b) {
  18085. if (!a.hasOwnProperty(key)) {
  18086. a[key] = b[key];
  18087. } else if (this.isObject(b[key], 1) && this.isObject(a[key], 1)) {
  18088. this.merge(a[key], b[key]);
  18089. }
  18090. }
  18091. return a;
  18092. }
  18093. };
  18094. /***/ }),
  18095. /* 1 */
  18096. /***/ (function(module, exports, __webpack_require__) {
  18097. function KEEP(_,cb){cb();}
  18098. "use strict";
  18099. 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; };
  18100. 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; }; }();
  18101. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  18102. /*
  18103. * author: wendu
  18104. * email: 824783146@qq.com
  18105. **/
  18106. var util = __webpack_require__(0);
  18107. var isBrowser = typeof document !== "undefined";
  18108. //EngineWrapper can help generating a http engine quickly through a adapter
  18109. function EngineWrapper(adapter) {
  18110. var AjaxEngine = function () {
  18111. function AjaxEngine() {
  18112. _classCallCheck(this, AjaxEngine);
  18113. this.requestHeaders = {};
  18114. this.readyState = 0;
  18115. this.timeout = 0; // 0 stands for no timeout
  18116. this.responseURL = "";
  18117. this.responseHeaders = {};
  18118. }
  18119. _createClass(AjaxEngine, [{
  18120. key: "_call",
  18121. value: function _call(name) {
  18122. this[name] && this[name].apply(this, [].splice.call(arguments, 1));
  18123. }
  18124. }, {
  18125. key: "_changeReadyState",
  18126. value: function _changeReadyState(state) {
  18127. this.readyState = state;
  18128. this._call("onreadystatechange");
  18129. }
  18130. }, {
  18131. key: "open",
  18132. value: function open(method, url) {
  18133. this.method = method;
  18134. if (!url) {
  18135. url = location.href;
  18136. } else {
  18137. url = util.trim(url);
  18138. if (url.indexOf("http") !== 0) {
  18139. // Normalize the request url
  18140. if (isBrowser) {
  18141. var t = document.createElement("a");
  18142. t.href = url;
  18143. url = t.href;
  18144. }
  18145. }
  18146. }
  18147. this.responseURL = url;
  18148. this._changeReadyState(1);
  18149. }
  18150. }, {
  18151. key: "send",
  18152. value: function send(arg) {
  18153. var _this = this;
  18154. arg = arg || null;
  18155. var self = this;
  18156. if (adapter) {
  18157. var request = {
  18158. method: self.method,
  18159. url: self.responseURL,
  18160. headers: self.requestHeaders || {},
  18161. body: arg
  18162. };
  18163. util.merge(request, self._options || {});
  18164. if (request.method === "GET") {
  18165. request.body = null;
  18166. }
  18167. self._changeReadyState(3);
  18168. var timer = void 0;
  18169. self.timeout = self.timeout || 0;
  18170. if (self.timeout > 0) {
  18171. timer = setTimeout(function () {
  18172. if (self.readyState === 3) {
  18173. _this._call("onloadend");
  18174. self._changeReadyState(0);
  18175. self._call("ontimeout");
  18176. }
  18177. }, self.timeout);
  18178. }
  18179. request.timeout = self.timeout;
  18180. adapter(request, function (response) {
  18181. function getAndDelete(key) {
  18182. var t = response[key];
  18183. delete response[key];
  18184. return t;
  18185. }
  18186. // If the request has already timeout, return
  18187. if (self.readyState !== 3) return;
  18188. clearTimeout(timer);
  18189. // Make sure the type of status is integer
  18190. self.status = getAndDelete("statusCode") - 0;
  18191. var responseText = getAndDelete("responseText");
  18192. var statusMessage = getAndDelete("statusMessage");
  18193. // Network error, set the status code 0
  18194. if (!self.status) {
  18195. self.statusText = responseText;
  18196. self._call("onerror", { msg: statusMessage });
  18197. } else {
  18198. // Parsing the response headers to array in a object, because
  18199. // there may be multiple values with the same header name
  18200. var responseHeaders = getAndDelete("headers");
  18201. var headers = {};
  18202. for (var field in responseHeaders) {
  18203. var value = responseHeaders[field];
  18204. var key = field.toLowerCase();
  18205. // Is array
  18206. if ((typeof value === "undefined" ? "undefined" : _typeof(value)) === "object") {
  18207. headers[key] = value;
  18208. } else {
  18209. headers[key] = headers[key] || [];
  18210. headers[key].push(value);
  18211. }
  18212. }
  18213. var cookies = headers["set-cookie"];
  18214. if (isBrowser && cookies) {
  18215. cookies.forEach(function (e) {
  18216. // Remove the http-Only property of the cookie
  18217. // so that JavaScript can operate it.
  18218. document.cookie = e.replace(/;\s*httpOnly/ig, "");
  18219. });
  18220. }
  18221. self.responseHeaders = headers;
  18222. // Set the fields of engine from response
  18223. self.statusText = statusMessage || "";
  18224. self.response = self.responseText = responseText;
  18225. self._response = response;
  18226. self._changeReadyState(4);
  18227. self._call("onload");
  18228. }
  18229. self._call("onloadend");
  18230. });
  18231. } else {
  18232. console.error("Ajax require adapter");
  18233. }
  18234. }
  18235. }, {
  18236. key: "setRequestHeader",
  18237. value: function setRequestHeader(key, value) {
  18238. this.requestHeaders[util.trim(key)] = value;
  18239. }
  18240. }, {
  18241. key: "getResponseHeader",
  18242. value: function getResponseHeader(key) {
  18243. return (this.responseHeaders[key.toLowerCase()] || "").toString() || null;
  18244. }
  18245. }, {
  18246. key: "getAllResponseHeaders",
  18247. value: function getAllResponseHeaders() {
  18248. var str = "";
  18249. for (var key in this.responseHeaders) {
  18250. str += key + ":" + this.getResponseHeader(key) + "\r\n";
  18251. }
  18252. return str || null;
  18253. }
  18254. }, {
  18255. key: "abort",
  18256. value: function abort(msg) {
  18257. this._changeReadyState(0);
  18258. this._call("onerror", { msg: msg });
  18259. this._call("onloadend");
  18260. }
  18261. }], [{
  18262. key: "setAdapter",
  18263. value: function setAdapter(requestAdapter) {
  18264. adapter = requestAdapter;
  18265. }
  18266. }]);
  18267. return AjaxEngine;
  18268. }();
  18269. return AjaxEngine;
  18270. }
  18271. // learn more about keep-loader: https://github.com/wendux/keep-loader
  18272. ;
  18273. module.exports = EngineWrapper;
  18274. /***/ }),
  18275. /* 2 */
  18276. /***/ (function(module, exports, __webpack_require__) {
  18277. function KEEP(_,cb){cb();}
  18278. "use strict";
  18279. 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; }; }();
  18280. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  18281. var utils = __webpack_require__(0);
  18282. var isBrowser = typeof document !== "undefined";
  18283. var Fly = function () {
  18284. function Fly(engine) {
  18285. _classCallCheck(this, Fly);
  18286. this.engine = engine || XMLHttpRequest;
  18287. this.default = this; //For typeScript
  18288. /**
  18289. * Add lock/unlock API for interceptor.
  18290. *
  18291. * Once an request/response interceptor is locked, the incoming request/response
  18292. * will be added to a queue before they enter the interceptor, they will not be
  18293. * continued until the interceptor is unlocked.
  18294. *
  18295. * @param [interceptor] either is interceptors.request or interceptors.response
  18296. */
  18297. function wrap(interceptor) {
  18298. var resolve = void 0;
  18299. var reject = void 0;
  18300. function _clear() {
  18301. interceptor.p = resolve = reject = null;
  18302. }
  18303. utils.merge(interceptor, {
  18304. lock: function lock() {
  18305. if (!resolve) {
  18306. interceptor.p = new Promise(function (_resolve, _reject) {
  18307. resolve = _resolve;
  18308. reject = _reject;
  18309. });
  18310. }
  18311. },
  18312. unlock: function unlock() {
  18313. if (resolve) {
  18314. resolve();
  18315. _clear();
  18316. }
  18317. },
  18318. clear: function clear() {
  18319. if (reject) {
  18320. reject("cancel");
  18321. _clear();
  18322. }
  18323. }
  18324. });
  18325. }
  18326. var interceptors = this.interceptors = {
  18327. response: {
  18328. use: function use(handler, onerror) {
  18329. this.handler = handler;
  18330. this.onerror = onerror;
  18331. }
  18332. },
  18333. request: {
  18334. use: function use(handler) {
  18335. this.handler = handler;
  18336. }
  18337. }
  18338. };
  18339. var irq = interceptors.request;
  18340. var irp = interceptors.response;
  18341. wrap(irp);
  18342. wrap(irq);
  18343. this.config = {
  18344. method: "GET",
  18345. baseURL: "",
  18346. headers: {},
  18347. timeout: 0,
  18348. params: {}, // Default Url params
  18349. parseJson: true, // Convert response data to JSON object automatically.
  18350. withCredentials: false
  18351. };
  18352. }
  18353. _createClass(Fly, [{
  18354. key: "request",
  18355. value: function request(url, data, options) {
  18356. var _this = this;
  18357. var engine = new this.engine();
  18358. var contentType = "Content-Type";
  18359. var contentTypeLowerCase = contentType.toLowerCase();
  18360. var interceptors = this.interceptors;
  18361. var requestInterceptor = interceptors.request;
  18362. var responseInterceptor = interceptors.response;
  18363. var requestInterceptorHandler = requestInterceptor.handler;
  18364. var promise = new Promise(function (resolve, reject) {
  18365. if (utils.isObject(url)) {
  18366. options = url;
  18367. url = options.url;
  18368. }
  18369. options = options || {};
  18370. options.headers = options.headers || {};
  18371. function isPromise(p) {
  18372. // some polyfill implementation of Promise may be not standard,
  18373. // so, we test by duck-typing
  18374. return p && p.then && p.catch;
  18375. }
  18376. /**
  18377. * If the request/response interceptor has been locked,
  18378. * the new request/response will enter a queue. otherwise, it will be performed directly.
  18379. * @param [promise] if the promise exist, means the interceptor is locked.
  18380. * @param [callback]
  18381. */
  18382. function enqueueIfLocked(promise, callback) {
  18383. if (promise) {
  18384. promise.then(function () {
  18385. callback();
  18386. });
  18387. } else {
  18388. callback();
  18389. }
  18390. }
  18391. // make the http request
  18392. function makeRequest(options) {
  18393. data = options.body;
  18394. // Normalize the request url
  18395. url = utils.trim(options.url);
  18396. var baseUrl = utils.trim(options.baseURL || "");
  18397. if (!url && isBrowser && !baseUrl) url = location.href;
  18398. if (url.indexOf("http") !== 0) {
  18399. var isAbsolute = url[0] === "/";
  18400. if (!baseUrl && isBrowser) {
  18401. var arr = location.pathname.split("/");
  18402. arr.pop();
  18403. baseUrl = location.protocol + "//" + location.host + (isAbsolute ? "" : arr.join("/"));
  18404. }
  18405. if (baseUrl[baseUrl.length - 1] !== "/") {
  18406. baseUrl += "/";
  18407. }
  18408. url = baseUrl + (isAbsolute ? url.substr(1) : url);
  18409. if (isBrowser) {
  18410. // Normalize the url which contains the ".." or ".", such as
  18411. // "http://xx.com/aa/bb/../../xx" to "http://xx.com/xx" .
  18412. var t = document.createElement("a");
  18413. t.href = url;
  18414. url = t.href;
  18415. }
  18416. }
  18417. var responseType = utils.trim(options.responseType || "");
  18418. var needQuery = ["GET", "HEAD", "DELETE", "OPTION"].indexOf(options.method) !== -1;
  18419. var dataType = utils.type(data);
  18420. var params = options.params || {};
  18421. // merge url params when the method is "GET" (data is object)
  18422. if (needQuery && dataType === "object") {
  18423. params = utils.merge(data, params);
  18424. }
  18425. // encode params to String
  18426. params = utils.formatParams(params);
  18427. // save url params
  18428. var _params = [];
  18429. if (params) {
  18430. _params.push(params);
  18431. }
  18432. // Add data to url params when the method is "GET" (data is String)
  18433. if (needQuery && data && dataType === "string") {
  18434. _params.push(data);
  18435. }
  18436. // make the final url
  18437. if (_params.length > 0) {
  18438. url += (url.indexOf("?") === -1 ? "?" : "&") + _params.join("&");
  18439. }
  18440. engine.open(options.method, url);
  18441. // try catch for ie >=9
  18442. try {
  18443. engine.withCredentials = !!options.withCredentials;
  18444. engine.timeout = options.timeout || 0;
  18445. if (responseType !== "stream") {
  18446. engine.responseType = responseType;
  18447. }
  18448. } catch (e) {}
  18449. var customContentType = options.headers[contentType] || options.headers[contentTypeLowerCase];
  18450. // default content type
  18451. var _contentType = "application/x-www-form-urlencoded";
  18452. // If the request data is json object, transforming it to json string,
  18453. // and set request content-type to "json". In browser, the data will
  18454. // be sent as RequestBody instead of FormData
  18455. if (utils.trim((customContentType || "").toLowerCase()) === _contentType) {
  18456. data = utils.formatParams(data);
  18457. } else if (!utils.isFormData(data) && ["object", "array"].indexOf(utils.type(data)) !== -1) {
  18458. _contentType = 'application/json;charset=utf-8';
  18459. data = JSON.stringify(data);
  18460. }
  18461. //If user doesn't set content-type, set default.
  18462. if (!(customContentType || needQuery)) {
  18463. options.headers[contentType] = _contentType;
  18464. }
  18465. for (var k in options.headers) {
  18466. if (k === contentType && utils.isFormData(data)) {
  18467. // Delete the content-type, Let the browser set it
  18468. delete options.headers[k];
  18469. } else {
  18470. try {
  18471. // In browser environment, some header fields are readonly,
  18472. // write will cause the exception .
  18473. engine.setRequestHeader(k, options.headers[k]);
  18474. } catch (e) {}
  18475. }
  18476. }
  18477. function onresult(handler, data, type) {
  18478. enqueueIfLocked(responseInterceptor.p, function () {
  18479. if (handler) {
  18480. //如果失败,添加请求信息
  18481. if (type) {
  18482. data.request = options;
  18483. }
  18484. var ret = handler.call(responseInterceptor, data, Promise);
  18485. data = ret === undefined ? data : ret;
  18486. }
  18487. if (!isPromise(data)) {
  18488. data = Promise[type === 0 ? "resolve" : "reject"](data);
  18489. }
  18490. data.then(function (d) {
  18491. resolve(d);
  18492. }).catch(function (e) {
  18493. reject(e);
  18494. });
  18495. });
  18496. }
  18497. function onerror(e) {
  18498. e.engine = engine;
  18499. onresult(responseInterceptor.onerror, e, -1);
  18500. }
  18501. function Err(msg, status) {
  18502. this.message = msg;
  18503. this.status = status;
  18504. }
  18505. engine.onload = function () {
  18506. try {
  18507. // The xhr of IE9 has not response field
  18508. var response = engine.response || engine.responseText;
  18509. if (response && options.parseJson && (engine.getResponseHeader(contentType) || "").indexOf("json") !== -1
  18510. // Some third engine implementation may transform the response text to json object automatically,
  18511. // so we should test the type of response before transforming it
  18512. && !utils.isObject(response)) {
  18513. response = JSON.parse(response);
  18514. }
  18515. var headers = engine.responseHeaders;
  18516. // In browser
  18517. if (!headers) {
  18518. headers = {};
  18519. var items = (engine.getAllResponseHeaders() || "").split("\r\n");
  18520. items.pop();
  18521. items.forEach(function (e) {
  18522. if (!e) return;
  18523. var key = e.split(":")[0];
  18524. headers[key] = engine.getResponseHeader(key);
  18525. });
  18526. }
  18527. var status = engine.status;
  18528. var statusText = engine.statusText;
  18529. var _data = { data: response, headers: headers, status: status, statusText: statusText };
  18530. // The _response filed of engine is set in adapter which be called in engine-wrapper.js
  18531. utils.merge(_data, engine._response);
  18532. if (status >= 200 && status < 300 || status === 304) {
  18533. _data.engine = engine;
  18534. _data.request = options;
  18535. onresult(responseInterceptor.handler, _data, 0);
  18536. } else {
  18537. var e = new Err(statusText, status);
  18538. e.response = _data;
  18539. onerror(e);
  18540. }
  18541. } catch (e) {
  18542. onerror(new Err(e.msg, engine.status));
  18543. }
  18544. };
  18545. engine.onerror = function (e) {
  18546. onerror(new Err(e.msg || "Network Error", 0));
  18547. };
  18548. engine.ontimeout = function () {
  18549. onerror(new Err("timeout [ " + engine.timeout + "ms ]", 1));
  18550. };
  18551. engine._options = options;
  18552. setTimeout(function () {
  18553. engine.send(needQuery ? null : data);
  18554. }, 0);
  18555. }
  18556. enqueueIfLocked(requestInterceptor.p, function () {
  18557. utils.merge(options, JSON.parse(JSON.stringify(_this.config)));
  18558. var headers = options.headers;
  18559. headers[contentType] = headers[contentType] || headers[contentTypeLowerCase] || "";
  18560. delete headers[contentTypeLowerCase];
  18561. options.body = data || options.body;
  18562. url = utils.trim(url || "");
  18563. options.method = options.method.toUpperCase();
  18564. options.url = url;
  18565. var ret = options;
  18566. if (requestInterceptorHandler) {
  18567. ret = requestInterceptorHandler.call(requestInterceptor, options, Promise) || options;
  18568. }
  18569. if (!isPromise(ret)) {
  18570. ret = Promise.resolve(ret);
  18571. }
  18572. ret.then(function (d) {
  18573. //if options continue
  18574. if (d === options) {
  18575. makeRequest(d);
  18576. } else {
  18577. resolve(d);
  18578. }
  18579. }, function (err) {
  18580. reject(err);
  18581. });
  18582. });
  18583. });
  18584. promise.engine = engine;
  18585. return promise;
  18586. }
  18587. }, {
  18588. key: "all",
  18589. value: function all(promises) {
  18590. return Promise.all(promises);
  18591. }
  18592. }, {
  18593. key: "spread",
  18594. value: function spread(callback) {
  18595. return function (arr) {
  18596. return callback.apply(null, arr);
  18597. };
  18598. }
  18599. }]);
  18600. return Fly;
  18601. }();
  18602. //For typeScript
  18603. Fly.default = Fly;
  18604. ["get", "post", "put", "patch", "head", "delete"].forEach(function (e) {
  18605. Fly.prototype[e] = function (url, data, option) {
  18606. return this.request(url, data, utils.merge({ method: e }, option));
  18607. };
  18608. });
  18609. ["lock", "unlock", "clear"].forEach(function (e) {
  18610. Fly.prototype[e] = function () {
  18611. this.interceptors.request[e]();
  18612. };
  18613. });
  18614. // Learn more about keep-loader: https://github.com/wendux/keep-loader
  18615. ;
  18616. module.exports = Fly;
  18617. /***/ }),
  18618. /* 3 */,
  18619. /* 4 */,
  18620. /* 5 */,
  18621. /* 6 */,
  18622. /* 7 */
  18623. /***/ (function(module, exports, __webpack_require__) {
  18624. "use strict";
  18625. //微信小程序适配器
  18626. module.exports = function (request, responseCallback) {
  18627. var con = {
  18628. method: request.method,
  18629. url: request.url,
  18630. dataType: request.dataType || undefined,
  18631. header: request.headers,
  18632. data: request.body || {},
  18633. responseType: request.responseType || 'text',
  18634. success: function success(res) {
  18635. responseCallback({
  18636. statusCode: res.statusCode,
  18637. responseText: res.data,
  18638. headers: res.header,
  18639. statusMessage: res.errMsg
  18640. });
  18641. },
  18642. fail: function fail(res) {
  18643. responseCallback({
  18644. statusCode: res.statusCode || 0,
  18645. statusMessage: res.errMsg
  18646. });
  18647. }
  18648. };
  18649. wx.request(con);
  18650. };
  18651. /***/ }),
  18652. /* 8 */,
  18653. /* 9 */,
  18654. /* 10 */,
  18655. /* 11 */,
  18656. /* 12 */,
  18657. /* 13 */
  18658. /***/ (function(module, exports, __webpack_require__) {
  18659. "use strict";
  18660. //微信小程序入口
  18661. var _Fly = __webpack_require__(2);
  18662. var EngineWrapper = __webpack_require__(1);
  18663. var adapter = __webpack_require__(7);
  18664. var wxEngine = EngineWrapper(adapter);
  18665. module.exports = function (engine) {
  18666. return new _Fly(engine || wxEngine);
  18667. };
  18668. /***/ })
  18669. /******/ ]);
  18670. });
  18671. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  18672. /***/ }),
  18673. /* 179 */,
  18674. /* 180 */,
  18675. /* 181 */,
  18676. /* 182 */,
  18677. /* 183 */,
  18678. /* 184 */,
  18679. /* 185 */,
  18680. /* 186 */,
  18681. /* 187 */
  18682. /*!********************************************************************************************************************!*\
  18683. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/notice.js ***!
  18684. \********************************************************************************************************************/
  18685. /*! no static exports found */
  18686. /***/ (function(module, exports, __webpack_require__) {
  18687. "use strict";
  18688. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18689. Object.defineProperty(exports, "__esModule", {
  18690. value: true
  18691. });
  18692. exports.getNewInform = getNewInform;
  18693. exports.getNewNotice = getNewNotice;
  18694. exports.getNoticeDetail = getNoticeDetail;
  18695. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request.js */ 175));
  18696. function getNewInform(x, y) {
  18697. return _request.default.get('/system/notice/list', {
  18698. noticeType: 1,
  18699. status: 0,
  18700. pageNum: x,
  18701. pageSize: y
  18702. }).then(function (res) {
  18703. return res;
  18704. });
  18705. }
  18706. function getNewNotice(x, y) {
  18707. return _request.default.get('/system/notice/list', {
  18708. noticeType: 1,
  18709. status: 0,
  18710. pageNum: x,
  18711. pageSize: y
  18712. }).then(function (res) {
  18713. return res;
  18714. });
  18715. }
  18716. function getNoticeDetail(id) {
  18717. return _request.default.get("/system/notice/".concat(id)).then(function (res) {
  18718. return res;
  18719. });
  18720. }
  18721. /***/ }),
  18722. /* 188 */
  18723. /*!*******************************************************************************************************************!*\
  18724. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/asset.js ***!
  18725. \*******************************************************************************************************************/
  18726. /*! no static exports found */
  18727. /***/ (function(module, exports, __webpack_require__) {
  18728. "use strict";
  18729. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18730. Object.defineProperty(exports, "__esModule", {
  18731. value: true
  18732. });
  18733. exports.borrowAsset = borrowAsset;
  18734. exports.getAllPlace = getAllPlace;
  18735. exports.getBorrowList = getBorrowList;
  18736. exports.getFaultDetail = getFaultDetail;
  18737. exports.getFaultReport = getFaultReport;
  18738. exports.getReturnDetail = getReturnDetail;
  18739. exports.handleFaultReport = handleFaultReport;
  18740. exports.keywordSearch = keywordSearch;
  18741. exports.reportFault = reportFault;
  18742. exports.returnAsset = returnAsset;
  18743. exports.searchAsset = searchAsset;
  18744. exports.sumBorrow = sumBorrow;
  18745. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 175));
  18746. //扫码或者根据关键词查询
  18747. function searchAsset(data) {
  18748. return _request.default.get('/asset/asset/search', data).then(function (res) {
  18749. return res;
  18750. });
  18751. }
  18752. //获取全部的存放地点
  18753. function getAllPlace() {
  18754. return _request.default.get('/asset/place/all').then(function (res) {
  18755. return res;
  18756. });
  18757. }
  18758. //借用设备
  18759. function borrowAsset(borrowDate, returnDate, data) {
  18760. return _request.default.post("/asset/borrow/save/".concat(borrowDate, "/").concat(returnDate), data).then(function (res) {
  18761. return res;
  18762. });
  18763. }
  18764. //归还设备
  18765. function returnAsset(barCode) {
  18766. return _request.default.put("/asset/borrow/return/".concat(barCode)).then(function (res) {
  18767. return res;
  18768. });
  18769. }
  18770. //获取借用设备记录
  18771. function getBorrowList(data) {
  18772. return _request.default.get('/asset/borrow/recordList', data).then(function (res) {
  18773. return res;
  18774. });
  18775. }
  18776. //获取已归还的记录详细
  18777. function getReturnDetail(id) {
  18778. return _request.default.get("/asset/borrow/record/".concat(id)).then(function (res) {
  18779. return res;
  18780. });
  18781. }
  18782. //统计借用设备记录
  18783. function sumBorrow(data) {
  18784. return _request.default.get('/asset/borrow/recordCount', {
  18785. status: data
  18786. }).then(function (res) {
  18787. return res;
  18788. });
  18789. }
  18790. //故障上报
  18791. function reportFault(data) {
  18792. return _request.default.post('/asset/fault/save', data).then(function (res) {
  18793. return res;
  18794. });
  18795. }
  18796. //管理员故障处理列表
  18797. function getFaultReport() {
  18798. return _request.default.get('/asset/fault/list').then(function (res) {
  18799. return res;
  18800. });
  18801. }
  18802. //管理员:获取故障详细,处理故障
  18803. function getFaultDetail(id) {
  18804. return _request.default.get("/asset/fault/".concat(id)).then(function (res) {
  18805. return res;
  18806. });
  18807. }
  18808. //管理:故障处理
  18809. function handleFaultReport(data) {
  18810. return _request.default.put('/asset/fault/process', data).then(function (res) {
  18811. return res;
  18812. });
  18813. }
  18814. function keywordSearch(pageNum, pageSize, data) {
  18815. return _request.default.get("/asset/asset/search/list/".concat(pageNum, "/").concat(pageSize), data).then(function (res) {
  18816. return res;
  18817. });
  18818. }
  18819. /***/ }),
  18820. /* 189 */,
  18821. /* 190 */,
  18822. /* 191 */,
  18823. /* 192 */,
  18824. /* 193 */,
  18825. /* 194 */,
  18826. /* 195 */,
  18827. /* 196 */,
  18828. /* 197 */
  18829. /*!******************************************************************************************************************!*\
  18830. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/user.js ***!
  18831. \******************************************************************************************************************/
  18832. /*! no static exports found */
  18833. /***/ (function(module, exports, __webpack_require__) {
  18834. "use strict";
  18835. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18836. Object.defineProperty(exports, "__esModule", {
  18837. value: true
  18838. });
  18839. exports.getInfo = getInfo;
  18840. exports.login = login;
  18841. exports.logout = logout;
  18842. exports.resetPwd = resetPwd;
  18843. exports.savePassword = savePassword;
  18844. exports.saveUserInfo = saveUserInfo;
  18845. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 175));
  18846. function login(username, password) {
  18847. var data = {
  18848. username: username,
  18849. password: password
  18850. };
  18851. return _request.default.post('/login', data, {
  18852. headers: {
  18853. isToken: false
  18854. }
  18855. }).then(function (res) {
  18856. return res;
  18857. });
  18858. }
  18859. // 获取用户详细信息
  18860. function getInfo() {
  18861. return _request.default.get('/getInfo').then(function (res) {
  18862. return res;
  18863. });
  18864. }
  18865. //修改用户信息
  18866. function saveUserInfo(data) {
  18867. return _request.default.put('/system/user/profile', data).then(function (res) {
  18868. return res;
  18869. });
  18870. }
  18871. //修改用户密码
  18872. function savePassword(oldPwd, newPwd) {
  18873. return _request.default.put('/system/user/profile/updatePwd', {
  18874. oldPassword: oldPwd,
  18875. newPassword: newPwd
  18876. }).then(function (res) {
  18877. return res;
  18878. });
  18879. }
  18880. //退出
  18881. function logout() {
  18882. return _request.default.post('/logout').then(function (res) {
  18883. return res;
  18884. });
  18885. }
  18886. function resetPwd(username, password) {
  18887. return _request.default.put("/system/user/resetPwd/".concat(username, "/").concat(password)).then(function (res) {
  18888. return res;
  18889. });
  18890. }
  18891. /***/ }),
  18892. /* 198 */
  18893. /*!***********************************************************************************************************************!*\
  18894. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/storage.js ***!
  18895. \***********************************************************************************************************************/
  18896. /*! no static exports found */
  18897. /***/ (function(module, exports, __webpack_require__) {
  18898. "use strict";
  18899. /* WEBPACK VAR INJECTION */(function(uni) {
  18900. Object.defineProperty(exports, "__esModule", {
  18901. value: true
  18902. });
  18903. exports.default = void 0;
  18904. var sessionCache = {
  18905. set: function set(key, value) {
  18906. // if (!sessionStorage) {
  18907. // return
  18908. // }
  18909. if (key != null && value != null) {
  18910. uni.setStorageSync(key, value);
  18911. }
  18912. },
  18913. get: function get(key) {
  18914. // if (!sessionStorage) {
  18915. // return null
  18916. // }
  18917. if (key == null) {
  18918. return null;
  18919. }
  18920. return uni.getStorageSync(key);
  18921. },
  18922. setJSON: function setJSON(key, jsonValue) {
  18923. if (jsonValue != null) {
  18924. this.set(key, JSON.stringify(jsonValue));
  18925. }
  18926. },
  18927. getJSON: function getJSON(key) {
  18928. var value = this.get(key);
  18929. if (value != null) {
  18930. return JSON.parse(value);
  18931. }
  18932. },
  18933. remove: function remove(key) {
  18934. uni.removeStorageSync(key);
  18935. }
  18936. };
  18937. var _default = {
  18938. session: sessionCache
  18939. };
  18940. exports.default = _default;
  18941. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  18942. /***/ }),
  18943. /* 199 */,
  18944. /* 200 */,
  18945. /* 201 */,
  18946. /* 202 */,
  18947. /* 203 */,
  18948. /* 204 */,
  18949. /* 205 */
  18950. /*!*******************************************************************************************************************************!*\
  18951. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/static/images/search.png ***!
  18952. \*******************************************************************************************************************************/
  18953. /*! no static exports found */
  18954. /***/ (function(module, exports) {
  18955. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae19CZBcx3neO+fY2Qs3SHBxkAQFCaRFMrQkU7JIlFWRzESSo1h0EitVscuOS6lS7DhVdqWcVNFxqmzHl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QBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQaABgf8PtPt2mjRdNicAAAAASUVORK5CYII="
  18956. /***/ }),
  18957. /* 206 */
  18958. /*!************************************************************************************************************************************!*\
  18959. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/static/images/shebeiname1.png ***!
  18960. \************************************************************************************************************************************/
  18961. /*! no static exports found */
  18962. /***/ (function(module, exports) {
  18963. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAF5tJREFUeF7tnQ2QFGeZx/9PzwK7fAjTCwuVQESY3g1sEi+5M0ByarRiGYyKH2dMyu+LBqaHRCvCKaWlG+8SUook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HTk9w10oK018q/OkwY56TfH7Lae+oNNAwWjRPDS8CZ3j2GlEg9EdW8xXN3SICPMhsYN5hJWsAQo/KghnTQvgfAws7Mxr7c8FdIaKypLGmQUfNMzuaZ+x14CoiUAXV0R7WAMdk+0NzJj44TX6x8O+/cYlSKXBimB4NB9XkuY8F4wFgBQShhey00dMJ5hBT+Lsb2xVz9frn9cZDekQYoEdfpmTXc+P90e27AIxAscxgICLQB4fJnhvB72GkCbCc5WZmV7f529PcpXoiqBKw1SCb3TxhbW7yIsAugisNMKkHtFbIKHKYYL9RrAL4KUTjD/n4KBp3r1eXI1So+gS4N4BHKkMO4CE0Rj58OxW4mU+QDPAXMDmOpBqAdQT0A9gxvcPw/FOUqgIwwchfvDOArioyA6AtAuZudFKLFO5mMvHkjO+5PPJUQ6/P8DN50AoOhyA8kAAAAASUVORK5CYII="
  18964. /***/ }),
  18965. /* 207 */,
  18966. /* 208 */,
  18967. /* 209 */,
  18968. /* 210 */,
  18969. /* 211 */,
  18970. /* 212 */,
  18971. /* 213 */,
  18972. /* 214 */,
  18973. /* 215 */,
  18974. /* 216 */,
  18975. /* 217 */
  18976. /*!************************************************************************************************************************!*\
  18977. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/common/js/core.js ***!
  18978. \************************************************************************************************************************/
  18979. /*! no static exports found */
  18980. /***/ (function(module, exports, __webpack_require__) {
  18981. "use strict";
  18982. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18983. Object.defineProperty(exports, "__esModule", {
  18984. value: true
  18985. });
  18986. exports.addDateRange = addDateRange;
  18987. exports.blobValidate = blobValidate;
  18988. exports.dateToString = dateToString;
  18989. exports.handleTree = handleTree;
  18990. exports.mergeRecursive = mergeRecursive;
  18991. exports.parseStrEmpty = parseStrEmpty;
  18992. exports.parseTime = parseTime;
  18993. exports.resetForm = resetForm;
  18994. exports.selectDictLabel = selectDictLabel;
  18995. exports.selectDictLabels = selectDictLabels;
  18996. exports.sprintf = sprintf;
  18997. exports.tansParams = tansParams;
  18998. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  18999. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  19000. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  19001. 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; } } }; }
  19002. 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); }
  19003. 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; }
  19004. function dateToString(val) {
  19005. function addZero(num) {
  19006. return num < 10 ? "0" + num : num;
  19007. }
  19008. var date = new Date(val);
  19009. var year = date.getFullYear();
  19010. var month = date.getMonth() + 1;
  19011. var day = date.getDate();
  19012. var hour = date.getHours();
  19013. var min = addZero(date.getMinutes());
  19014. return year + "-" + month + "-" + day + " " + hour + ":" + min;
  19015. }
  19016. /**
  19017. * 通用js方法封装处理
  19018. */
  19019. // 日期格式化
  19020. function parseTime(time, pattern) {
  19021. if (arguments.length === 0 || !time) {
  19022. return null;
  19023. }
  19024. var format = pattern || '{y}-{m}-{d} {h}:{i}:{s}';
  19025. var date;
  19026. if ((0, _typeof2.default)(time) === 'object') {
  19027. date = time;
  19028. } else {
  19029. if (typeof time === 'string' && /^[0-9]+$/.test(time)) {
  19030. time = parseInt(time);
  19031. } else if (typeof time === 'string') {
  19032. time = time.replace(new RegExp(/-/gm), '/').replace('T', ' ').replace(new RegExp(/\.[\d]{3}/gm), '');
  19033. }
  19034. if (typeof time === 'number' && time.toString().length === 10) {
  19035. time = time * 1000;
  19036. }
  19037. date = new Date(time);
  19038. }
  19039. var formatObj = {
  19040. y: date.getFullYear(),
  19041. m: date.getMonth() + 1,
  19042. d: date.getDate(),
  19043. h: date.getHours(),
  19044. i: date.getMinutes(),
  19045. s: date.getSeconds(),
  19046. a: date.getDay()
  19047. };
  19048. var time_str = format.replace(/{(y|m|d|h|i|s|a)+}/g, function (result, key) {
  19049. var value = formatObj[key];
  19050. // Note: getDay() returns 0 on Sunday
  19051. if (key === 'a') {
  19052. return ['日', '一', '二', '三', '四', '五', '六'][value];
  19053. }
  19054. if (result.length > 0 && value < 10) {
  19055. value = '0' + value;
  19056. }
  19057. return value || 0;
  19058. });
  19059. return time_str;
  19060. }
  19061. // 表单重置
  19062. function resetForm(refName) {
  19063. if (this.$refs[refName]) {
  19064. this.$refs[refName].resetFields();
  19065. }
  19066. }
  19067. // 添加日期范围
  19068. function addDateRange(params, dateRange, propName) {
  19069. var search = params;
  19070. search.params = (0, _typeof2.default)(search.params) === 'object' && search.params !== null && !Array.isArray(search.params) ? search.params : {};
  19071. dateRange = Array.isArray(dateRange) ? dateRange : [];
  19072. if (typeof propName === 'undefined') {
  19073. search.params['beginTime'] = dateRange[0];
  19074. search.params['endTime'] = dateRange[1];
  19075. } else {
  19076. search.params['begin' + propName] = dateRange[0];
  19077. search.params['end' + propName] = dateRange[1];
  19078. }
  19079. return search;
  19080. }
  19081. // 回显数据字典
  19082. function selectDictLabel(datas, value) {
  19083. if (value === undefined) {
  19084. return "";
  19085. }
  19086. var actions = [];
  19087. Object.keys(datas).some(function (key) {
  19088. if (datas[key].value == '' + value) {
  19089. actions.push(datas[key].label);
  19090. return true;
  19091. }
  19092. });
  19093. if (actions.length === 0) {
  19094. actions.push(value);
  19095. }
  19096. return actions.join('');
  19097. }
  19098. // 回显数据字典(字符串数组)
  19099. function selectDictLabels(datas, value, separator) {
  19100. if (value === undefined) {
  19101. return "";
  19102. }
  19103. var actions = [];
  19104. var currentSeparator = undefined === separator ? "," : separator;
  19105. var temp = value.split(currentSeparator);
  19106. Object.keys(value.split(currentSeparator)).some(function (val) {
  19107. var match = false;
  19108. Object.keys(datas).some(function (key) {
  19109. if (datas[key].value == '' + temp[val]) {
  19110. actions.push(datas[key].label + currentSeparator);
  19111. match = true;
  19112. }
  19113. });
  19114. if (!match) {
  19115. actions.push(temp[val] + currentSeparator);
  19116. }
  19117. });
  19118. return actions.join('').substring(0, actions.join('').length - 1);
  19119. }
  19120. // 字符串格式化(%s )
  19121. function sprintf(str) {
  19122. var args = arguments,
  19123. flag = true,
  19124. i = 1;
  19125. str = str.replace(/%s/g, function () {
  19126. var arg = args[i++];
  19127. if (typeof arg === 'undefined') {
  19128. flag = false;
  19129. return '';
  19130. }
  19131. return arg;
  19132. });
  19133. return flag ? str : '';
  19134. }
  19135. // 转换字符串,undefined,null等转化为""
  19136. function parseStrEmpty(str) {
  19137. if (!str || str == "undefined" || str == "null") {
  19138. return "";
  19139. }
  19140. return str;
  19141. }
  19142. // 数据合并
  19143. function mergeRecursive(source, target) {
  19144. for (var p in target) {
  19145. try {
  19146. if (target[p].constructor == Object) {
  19147. source[p] = mergeRecursive(source[p], target[p]);
  19148. } else {
  19149. source[p] = target[p];
  19150. }
  19151. } catch (e) {
  19152. source[p] = target[p];
  19153. }
  19154. }
  19155. return source;
  19156. }
  19157. ;
  19158. /**
  19159. * 构造树型结构数据
  19160. * @param {*} data 数据源
  19161. * @param {*} id id字段 默认 'id'
  19162. * @param {*} parentId 父节点字段 默认 'parentId'
  19163. * @param {*} children 孩子节点字段 默认 'children'
  19164. */
  19165. function handleTree(data, id, parentId, children) {
  19166. var config = {
  19167. id: id || 'id',
  19168. parentId: parentId || 'parentId',
  19169. childrenList: children || 'children'
  19170. };
  19171. var childrenListMap = {};
  19172. var nodeIds = {};
  19173. var tree = [];
  19174. var _iterator = _createForOfIteratorHelper(data),
  19175. _step;
  19176. try {
  19177. for (_iterator.s(); !(_step = _iterator.n()).done;) {
  19178. var d = _step.value;
  19179. var _parentId = d[config.parentId];
  19180. if (childrenListMap[_parentId] == null) {
  19181. childrenListMap[_parentId] = [];
  19182. }
  19183. nodeIds[d[config.id]] = d;
  19184. childrenListMap[_parentId].push(d);
  19185. }
  19186. } catch (err) {
  19187. _iterator.e(err);
  19188. } finally {
  19189. _iterator.f();
  19190. }
  19191. var _iterator2 = _createForOfIteratorHelper(data),
  19192. _step2;
  19193. try {
  19194. for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
  19195. var _d = _step2.value;
  19196. var _parentId2 = _d[config.parentId];
  19197. if (nodeIds[_parentId2] == null) {
  19198. tree.push(_d);
  19199. }
  19200. }
  19201. } catch (err) {
  19202. _iterator2.e(err);
  19203. } finally {
  19204. _iterator2.f();
  19205. }
  19206. for (var _i = 0, _tree = tree; _i < _tree.length; _i++) {
  19207. var t = _tree[_i];
  19208. adaptToChildrenList(t);
  19209. }
  19210. function adaptToChildrenList(o) {
  19211. if (childrenListMap[o[config.id]] !== null) {
  19212. o[config.childrenList] = childrenListMap[o[config.id]];
  19213. }
  19214. if (o[config.childrenList]) {
  19215. var _iterator3 = _createForOfIteratorHelper(o[config.childrenList]),
  19216. _step3;
  19217. try {
  19218. for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
  19219. var c = _step3.value;
  19220. adaptToChildrenList(c);
  19221. }
  19222. } catch (err) {
  19223. _iterator3.e(err);
  19224. } finally {
  19225. _iterator3.f();
  19226. }
  19227. }
  19228. }
  19229. return tree;
  19230. }
  19231. /**
  19232. * 参数处理
  19233. * @param {*} params 参数
  19234. */
  19235. function tansParams(params) {
  19236. var result = '';
  19237. for (var _i2 = 0, _Object$keys = Object.keys(params); _i2 < _Object$keys.length; _i2++) {
  19238. var propName = _Object$keys[_i2];
  19239. var value = params[propName];
  19240. var part = encodeURIComponent(propName) + "=";
  19241. if (value !== null && value !== "" && typeof value !== "undefined") {
  19242. if ((0, _typeof2.default)(value) === 'object') {
  19243. for (var _i3 = 0, _Object$keys2 = Object.keys(value); _i3 < _Object$keys2.length; _i3++) {
  19244. var key = _Object$keys2[_i3];
  19245. if (value[key] !== null && value[key] !== "" && typeof value[key] !== 'undefined') {
  19246. var _params = propName + '[' + key + ']';
  19247. var subPart = encodeURIComponent(_params) + "=";
  19248. result += subPart + encodeURIComponent(value[key]) + "&";
  19249. }
  19250. }
  19251. } else {
  19252. result += part + encodeURIComponent(value) + "&";
  19253. }
  19254. }
  19255. }
  19256. return result;
  19257. }
  19258. // 验证是否为blob格式
  19259. function blobValidate(_x) {
  19260. return _blobValidate.apply(this, arguments);
  19261. }
  19262. function _blobValidate() {
  19263. _blobValidate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(data) {
  19264. var text;
  19265. return _regenerator.default.wrap(function _callee$(_context) {
  19266. while (1) {
  19267. switch (_context.prev = _context.next) {
  19268. case 0:
  19269. _context.prev = 0;
  19270. _context.next = 3;
  19271. return data.text();
  19272. case 3:
  19273. text = _context.sent;
  19274. JSON.parse(text);
  19275. return _context.abrupt("return", false);
  19276. case 8:
  19277. _context.prev = 8;
  19278. _context.t0 = _context["catch"](0);
  19279. return _context.abrupt("return", true);
  19280. case 11:
  19281. case "end":
  19282. return _context.stop();
  19283. }
  19284. }
  19285. }, _callee, null, [[0, 8]]);
  19286. }));
  19287. return _blobValidate.apply(this, arguments);
  19288. }
  19289. /***/ }),
  19290. /* 218 */,
  19291. /* 219 */,
  19292. /* 220 */,
  19293. /* 221 */,
  19294. /* 222 */,
  19295. /* 223 */,
  19296. /* 224 */,
  19297. /* 225 */,
  19298. /* 226 */,
  19299. /* 227 */,
  19300. /* 228 */,
  19301. /* 229 */,
  19302. /* 230 */,
  19303. /* 231 */,
  19304. /* 232 */,
  19305. /* 233 */,
  19306. /* 234 */,
  19307. /* 235 */,
  19308. /* 236 */,
  19309. /* 237 */,
  19310. /* 238 */,
  19311. /* 239 */,
  19312. /* 240 */
  19313. /*!***************************************************************************************************************************************!*\
  19314. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/static/images/20230411112151.png ***!
  19315. \***************************************************************************************************************************************/
  19316. /*! no static exports found */
  19317. /***/ (function(module, exports) {
  19318. module.exports = "/static/images/20230411112151.png";
  19319. /***/ }),
  19320. /* 241 */,
  19321. /* 242 */,
  19322. /* 243 */,
  19323. /* 244 */,
  19324. /* 245 */,
  19325. /* 246 */,
  19326. /* 247 */,
  19327. /* 248 */,
  19328. /* 249 */,
  19329. /* 250 */,
  19330. /* 251 */,
  19331. /* 252 */,
  19332. /* 253 */,
  19333. /* 254 */,
  19334. /* 255 */,
  19335. /* 256 */,
  19336. /* 257 */,
  19337. /* 258 */,
  19338. /* 259 */,
  19339. /* 260 */,
  19340. /* 261 */,
  19341. /* 262 */,
  19342. /* 263 */,
  19343. /* 264 */,
  19344. /* 265 */,
  19345. /* 266 */,
  19346. /* 267 */,
  19347. /* 268 */,
  19348. /* 269 */,
  19349. /* 270 */,
  19350. /* 271 */,
  19351. /* 272 */,
  19352. /* 273 */
  19353. /*!*****************************************************************************************************************************!*\
  19354. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/static/images/list.png ***!
  19355. \*****************************************************************************************************************************/
  19356. /*! no static exports found */
  19357. /***/ (function(module, exports) {
  19358. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae19WYxc13nmXWvpbpJNNleJi1okJUqkYtJRFEexJTHOjGeUCTwxJgqCydMgmSAPGQQZIMYA8yDMU4JMZgAHwQDB5HWQKIuTOHGieGlbshbblEjKpmS5xa2bbFKUyCbZWy13me87957qqlvVXVXd1V1Vt/4jsc+5Zz/fufer//z3P+cahjhBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAE0oeAmb4hyYgGHYGJidCxtlx6LJibeu/06dPeoOORpvFbaRqMjEUQCMPQNEamjwWhNWZ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. /* 281 */,
  19368. /* 282 */,
  19369. /* 283 */,
  19370. /* 284 */,
  19371. /* 285 */,
  19372. /* 286 */,
  19373. /* 287 */,
  19374. /* 288 */,
  19375. /* 289 */,
  19376. /* 290 */,
  19377. /* 291 */,
  19378. /* 292 */,
  19379. /* 293 */,
  19380. /* 294 */,
  19381. /* 295 */,
  19382. /* 296 */,
  19383. /* 297 */,
  19384. /* 298 */,
  19385. /* 299 */,
  19386. /* 300 */,
  19387. /* 301 */,
  19388. /* 302 */,
  19389. /* 303 */,
  19390. /* 304 */,
  19391. /* 305 */,
  19392. /* 306 */,
  19393. /* 307 */
  19394. /*!*********************************************************************************************************************************************************!*\
  19395. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-search/props.js ***!
  19396. \*********************************************************************************************************************************************************/
  19397. /*! no static exports found */
  19398. /***/ (function(module, exports, __webpack_require__) {
  19399. "use strict";
  19400. /* WEBPACK VAR INJECTION */(function(uni) {
  19401. Object.defineProperty(exports, "__esModule", {
  19402. value: true
  19403. });
  19404. exports.default = void 0;
  19405. var _default = {
  19406. props: {
  19407. // 搜索框形状,round-圆形,square-方形
  19408. shape: {
  19409. type: String,
  19410. default: uni.$u.props.search.shape
  19411. },
  19412. // 搜索框背景色,默认值#f2f2f2
  19413. bgColor: {
  19414. type: String,
  19415. default: uni.$u.props.search.bgColor
  19416. },
  19417. // 占位提示文字
  19418. placeholder: {
  19419. type: String,
  19420. default: uni.$u.props.search.placeholder
  19421. },
  19422. // 是否启用清除控件
  19423. clearabled: {
  19424. type: Boolean,
  19425. default: uni.$u.props.search.clearabled
  19426. },
  19427. // 是否自动聚焦
  19428. focus: {
  19429. type: Boolean,
  19430. default: uni.$u.props.search.focus
  19431. },
  19432. // 是否在搜索框右侧显示取消按钮
  19433. showAction: {
  19434. type: Boolean,
  19435. default: uni.$u.props.search.showAction
  19436. },
  19437. // 右边控件的样式
  19438. actionStyle: {
  19439. type: Object,
  19440. default: uni.$u.props.search.actionStyle
  19441. },
  19442. // 取消按钮文字
  19443. actionText: {
  19444. type: String,
  19445. default: uni.$u.props.search.actionText
  19446. },
  19447. // 输入框内容对齐方式,可选值为 left|center|right
  19448. inputAlign: {
  19449. type: String,
  19450. default: uni.$u.props.search.inputAlign
  19451. },
  19452. // input输入框的样式,可以定义文字颜色,大小等,对象形式
  19453. inputStyle: {
  19454. type: Object,
  19455. default: uni.$u.props.search.inputStyle
  19456. },
  19457. // 是否启用输入框
  19458. disabled: {
  19459. type: Boolean,
  19460. default: uni.$u.props.search.disabled
  19461. },
  19462. // 边框颜色
  19463. borderColor: {
  19464. type: String,
  19465. default: uni.$u.props.search.borderColor
  19466. },
  19467. // 搜索图标的颜色,默认同输入框字体颜色
  19468. searchIconColor: {
  19469. type: String,
  19470. default: uni.$u.props.search.searchIconColor
  19471. },
  19472. // 输入框字体颜色
  19473. color: {
  19474. type: String,
  19475. default: uni.$u.props.search.color
  19476. },
  19477. // placeholder的颜色
  19478. placeholderColor: {
  19479. type: String,
  19480. default: uni.$u.props.search.placeholderColor
  19481. },
  19482. // 左边输入框的图标,可以为uView图标名称或图片路径
  19483. searchIcon: {
  19484. type: String,
  19485. default: uni.$u.props.search.searchIcon
  19486. },
  19487. searchIconSize: {
  19488. type: [Number, String],
  19489. default: uni.$u.props.search.searchIconSize
  19490. },
  19491. // 组件与其他上下左右元素之间的距离,带单位的字符串形式,如"30px"、"30px 20px"等写法
  19492. margin: {
  19493. type: String,
  19494. default: uni.$u.props.search.margin
  19495. },
  19496. // 开启showAction时,是否在input获取焦点时才显示
  19497. animation: {
  19498. type: Boolean,
  19499. default: uni.$u.props.search.animation
  19500. },
  19501. // 输入框的初始化内容
  19502. value: {
  19503. type: String,
  19504. default: uni.$u.props.search.value
  19505. },
  19506. // 输入框最大能输入的长度,-1为不限制长度(来自uniapp文档)
  19507. maxlength: {
  19508. type: [String, Number],
  19509. default: uni.$u.props.search.maxlength
  19510. },
  19511. // 搜索框高度,单位px
  19512. height: {
  19513. type: [String, Number],
  19514. default: uni.$u.props.search.height
  19515. },
  19516. // 搜索框左侧文本
  19517. label: {
  19518. type: [String, Number, null],
  19519. default: uni.$u.props.search.label
  19520. }
  19521. }
  19522. };
  19523. exports.default = _default;
  19524. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19525. /***/ }),
  19526. /* 308 */,
  19527. /* 309 */,
  19528. /* 310 */,
  19529. /* 311 */,
  19530. /* 312 */,
  19531. /* 313 */,
  19532. /* 314 */,
  19533. /* 315 */
  19534. /*!********************************************************************************************************************************************************!*\
  19535. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-input/props.js ***!
  19536. \********************************************************************************************************************************************************/
  19537. /*! no static exports found */
  19538. /***/ (function(module, exports, __webpack_require__) {
  19539. "use strict";
  19540. /* WEBPACK VAR INJECTION */(function(uni) {
  19541. Object.defineProperty(exports, "__esModule", {
  19542. value: true
  19543. });
  19544. exports.default = void 0;
  19545. var _default = {
  19546. props: {
  19547. // 输入的值
  19548. value: {
  19549. type: [String, Number],
  19550. default: uni.$u.props.input.value
  19551. },
  19552. // 输入框类型
  19553. // number-数字输入键盘,app-vue下可以输入浮点数,app-nvue和小程序平台下只能输入整数
  19554. // idcard-身份证输入键盘,微信、支付宝、百度、QQ小程序
  19555. // digit-带小数点的数字键盘,App的nvue页面、微信、支付宝、百度、头条、QQ小程序
  19556. // text-文本输入键盘
  19557. type: {
  19558. type: String,
  19559. default: uni.$u.props.input.type
  19560. },
  19561. // 如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true,
  19562. // 兼容性:微信小程序、百度小程序、字节跳动小程序、QQ小程序
  19563. fixed: {
  19564. type: Boolean,
  19565. default: uni.$u.props.input.fixed
  19566. },
  19567. // 是否禁用输入框
  19568. disabled: {
  19569. type: Boolean,
  19570. default: uni.$u.props.input.disabled
  19571. },
  19572. // 禁用状态时的背景色
  19573. disabledColor: {
  19574. type: String,
  19575. default: uni.$u.props.input.disabledColor
  19576. },
  19577. // 是否显示清除控件
  19578. clearable: {
  19579. type: Boolean,
  19580. default: uni.$u.props.input.clearable
  19581. },
  19582. // 是否密码类型
  19583. password: {
  19584. type: Boolean,
  19585. default: uni.$u.props.input.password
  19586. },
  19587. // 最大输入长度,设置为 -1 的时候不限制最大长度
  19588. maxlength: {
  19589. type: [String, Number],
  19590. default: uni.$u.props.input.maxlength
  19591. },
  19592. // 输入框为空时的占位符
  19593. placeholder: {
  19594. type: String,
  19595. default: uni.$u.props.input.placeholder
  19596. },
  19597. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  19598. placeholderClass: {
  19599. type: String,
  19600. default: uni.$u.props.input.placeholderClass
  19601. },
  19602. // 指定placeholder的样式
  19603. placeholderStyle: {
  19604. type: [String, Object],
  19605. default: uni.$u.props.input.placeholderStyle
  19606. },
  19607. // 是否显示输入字数统计,只在 type ="text"或type ="textarea"时有效
  19608. showWordLimit: {
  19609. type: Boolean,
  19610. default: uni.$u.props.input.showWordLimit
  19611. },
  19612. // 设置右下角按钮的文字,有效值:send|search|next|go|done,兼容性详见uni-app文档
  19613. // https://uniapp.dcloud.io/component/input
  19614. // https://uniapp.dcloud.io/component/textarea
  19615. confirmType: {
  19616. type: String,
  19617. default: uni.$u.props.input.confirmType
  19618. },
  19619. // 点击键盘右下角按钮时是否保持键盘不收起,H5无效
  19620. confirmHold: {
  19621. type: Boolean,
  19622. default: uni.$u.props.input.confirmHold
  19623. },
  19624. // focus时,点击页面的时候不收起键盘,微信小程序有效
  19625. holdKeyboard: {
  19626. type: Boolean,
  19627. default: uni.$u.props.input.holdKeyboard
  19628. },
  19629. // 自动获取焦点
  19630. // 在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。nvue 页面不支持,需使用组件的 focus()、blur() 方法控制焦点
  19631. focus: {
  19632. type: Boolean,
  19633. default: uni.$u.props.input.focus
  19634. },
  19635. // 键盘收起时,是否自动失去焦点,目前仅App3.0.0+有效
  19636. autoBlur: {
  19637. type: Boolean,
  19638. default: uni.$u.props.input.autoBlur
  19639. },
  19640. // 是否去掉 iOS 下的默认内边距,仅微信小程序,且type=textarea时有效
  19641. disableDefaultPadding: {
  19642. type: Boolean,
  19643. default: uni.$u.props.input.disableDefaultPadding
  19644. },
  19645. // 指定focus时光标的位置
  19646. cursor: {
  19647. type: [String, Number],
  19648. default: uni.$u.props.input.cursor
  19649. },
  19650. // 输入框聚焦时底部与键盘的距离
  19651. cursorSpacing: {
  19652. type: [String, Number],
  19653. default: uni.$u.props.input.cursorSpacing
  19654. },
  19655. // 光标起始位置,自动聚集时有效,需与selection-end搭配使用
  19656. selectionStart: {
  19657. type: [String, Number],
  19658. default: uni.$u.props.input.selectionStart
  19659. },
  19660. // 光标结束位置,自动聚集时有效,需与selection-start搭配使用
  19661. selectionEnd: {
  19662. type: [String, Number],
  19663. default: uni.$u.props.input.selectionEnd
  19664. },
  19665. // 键盘弹起时,是否自动上推页面
  19666. adjustPosition: {
  19667. type: Boolean,
  19668. default: uni.$u.props.input.adjustPosition
  19669. },
  19670. // 输入框内容对齐方式,可选值为:left|center|right
  19671. inputAlign: {
  19672. type: String,
  19673. default: uni.$u.props.input.inputAlign
  19674. },
  19675. // 输入框字体的大小
  19676. fontSize: {
  19677. type: [String, Number],
  19678. default: uni.$u.props.input.fontSize
  19679. },
  19680. // 输入框字体颜色
  19681. color: {
  19682. type: String,
  19683. default: uni.$u.props.input.color
  19684. },
  19685. // 输入框前置图标
  19686. prefixIcon: {
  19687. type: String,
  19688. default: uni.$u.props.input.prefixIcon
  19689. },
  19690. // 前置图标样式,对象或字符串
  19691. prefixIconStyle: {
  19692. type: [String, Object],
  19693. default: uni.$u.props.input.prefixIconStyle
  19694. },
  19695. // 输入框后置图标
  19696. suffixIcon: {
  19697. type: String,
  19698. default: uni.$u.props.input.suffixIcon
  19699. },
  19700. // 后置图标样式,对象或字符串
  19701. suffixIconStyle: {
  19702. type: [String, Object],
  19703. default: uni.$u.props.input.suffixIconStyle
  19704. },
  19705. // 边框类型,surround-四周边框,bottom-底部边框,none-无边框
  19706. border: {
  19707. type: String,
  19708. default: uni.$u.props.input.border
  19709. },
  19710. // 是否只读,与disabled不同之处在于disabled会置灰组件,而readonly则不会
  19711. readonly: {
  19712. type: Boolean,
  19713. default: uni.$u.props.input.readonly
  19714. },
  19715. // 输入框形状,circle-圆形,square-方形
  19716. shape: {
  19717. type: String,
  19718. default: uni.$u.props.input.shape
  19719. },
  19720. // 用于处理或者过滤输入框内容的方法
  19721. formatter: {
  19722. type: [Function, null],
  19723. default: uni.$u.props.input.formatter
  19724. },
  19725. // 是否忽略组件内对文本合成系统事件的处理
  19726. ignoreCompositionEvent: {
  19727. type: Boolean,
  19728. default: true
  19729. }
  19730. }
  19731. };
  19732. exports.default = _default;
  19733. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19734. /***/ }),
  19735. /* 316 */,
  19736. /* 317 */,
  19737. /* 318 */,
  19738. /* 319 */,
  19739. /* 320 */,
  19740. /* 321 */,
  19741. /* 322 */,
  19742. /* 323 */,
  19743. /* 324 */,
  19744. /* 325 */,
  19745. /* 326 */,
  19746. /* 327 */,
  19747. /* 328 */
  19748. /*!********************************************************************************************************************************************************!*\
  19749. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-empty/props.js ***!
  19750. \********************************************************************************************************************************************************/
  19751. /*! no static exports found */
  19752. /***/ (function(module, exports, __webpack_require__) {
  19753. "use strict";
  19754. /* WEBPACK VAR INJECTION */(function(uni) {
  19755. Object.defineProperty(exports, "__esModule", {
  19756. value: true
  19757. });
  19758. exports.default = void 0;
  19759. var _default = {
  19760. props: {
  19761. // 内置图标名称,或图片路径,建议绝对路径
  19762. icon: {
  19763. type: String,
  19764. default: uni.$u.props.empty.icon
  19765. },
  19766. // 提示文字
  19767. text: {
  19768. type: String,
  19769. default: uni.$u.props.empty.text
  19770. },
  19771. // 文字颜色
  19772. textColor: {
  19773. type: String,
  19774. default: uni.$u.props.empty.textColor
  19775. },
  19776. // 文字大小
  19777. textSize: {
  19778. type: [String, Number],
  19779. default: uni.$u.props.empty.textSize
  19780. },
  19781. // 图标的颜色
  19782. iconColor: {
  19783. type: String,
  19784. default: uni.$u.props.empty.iconColor
  19785. },
  19786. // 图标的大小
  19787. iconSize: {
  19788. type: [String, Number],
  19789. default: uni.$u.props.empty.iconSize
  19790. },
  19791. // 选择预置的图标类型
  19792. mode: {
  19793. type: String,
  19794. default: uni.$u.props.empty.mode
  19795. },
  19796. // 图标宽度,单位px
  19797. width: {
  19798. type: [String, Number],
  19799. default: uni.$u.props.empty.width
  19800. },
  19801. // 图标高度,单位px
  19802. height: {
  19803. type: [String, Number],
  19804. default: uni.$u.props.empty.height
  19805. },
  19806. // 是否显示组件
  19807. show: {
  19808. type: Boolean,
  19809. default: uni.$u.props.empty.show
  19810. },
  19811. // 组件距离上一个元素之间的距离,默认px单位
  19812. marginTop: {
  19813. type: [String, Number],
  19814. default: uni.$u.props.empty.marginTop
  19815. }
  19816. }
  19817. };
  19818. exports.default = _default;
  19819. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19820. /***/ }),
  19821. /* 329 */,
  19822. /* 330 */,
  19823. /* 331 */,
  19824. /* 332 */,
  19825. /* 333 */,
  19826. /* 334 */,
  19827. /* 335 */,
  19828. /* 336 */
  19829. /*!*******************************************************************************************************************************************************!*\
  19830. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-list/props.js ***!
  19831. \*******************************************************************************************************************************************************/
  19832. /*! no static exports found */
  19833. /***/ (function(module, exports, __webpack_require__) {
  19834. "use strict";
  19835. /* WEBPACK VAR INJECTION */(function(uni) {
  19836. Object.defineProperty(exports, "__esModule", {
  19837. value: true
  19838. });
  19839. exports.default = void 0;
  19840. var _default = {
  19841. props: {
  19842. // 控制是否出现滚动条,仅nvue有效
  19843. showScrollbar: {
  19844. type: Boolean,
  19845. default: uni.$u.props.list.showScrollbar
  19846. },
  19847. // 距底部多少时触发scrolltolower事件
  19848. lowerThreshold: {
  19849. type: [String, Number],
  19850. default: uni.$u.props.list.lowerThreshold
  19851. },
  19852. // 距顶部多少时触发scrolltoupper事件,非nvue有效
  19853. upperThreshold: {
  19854. type: [String, Number],
  19855. default: uni.$u.props.list.upperThreshold
  19856. },
  19857. // 设置竖向滚动条位置
  19858. scrollTop: {
  19859. type: [String, Number],
  19860. default: uni.$u.props.list.scrollTop
  19861. },
  19862. // 控制 onscroll 事件触发的频率,仅nvue有效
  19863. offsetAccuracy: {
  19864. type: [String, Number],
  19865. default: uni.$u.props.list.offsetAccuracy
  19866. },
  19867. // 启用 flexbox 布局。开启后,当前节点声明了display: flex就会成为flex container,并作用于其孩子节点,仅微信小程序有效
  19868. enableFlex: {
  19869. type: Boolean,
  19870. default: uni.$u.props.list.enableFlex
  19871. },
  19872. // 是否按分页模式显示List,默认值false
  19873. pagingEnabled: {
  19874. type: Boolean,
  19875. default: uni.$u.props.list.pagingEnabled
  19876. },
  19877. // 是否允许List滚动
  19878. scrollable: {
  19879. type: Boolean,
  19880. default: uni.$u.props.list.scrollable
  19881. },
  19882. // 值应为某子元素id(id不能以数字开头)
  19883. scrollIntoView: {
  19884. type: String,
  19885. default: uni.$u.props.list.scrollIntoView
  19886. },
  19887. // 在设置滚动条位置时使用动画过渡
  19888. scrollWithAnimation: {
  19889. type: Boolean,
  19890. default: uni.$u.props.list.scrollWithAnimation
  19891. },
  19892. // iOS点击顶部状态栏、安卓双击标题栏时,滚动条返回顶部,只对微信小程序有效
  19893. enableBackToTop: {
  19894. type: Boolean,
  19895. default: uni.$u.props.list.enableBackToTop
  19896. },
  19897. // 列表的高度
  19898. height: {
  19899. type: [String, Number],
  19900. default: uni.$u.props.list.height
  19901. },
  19902. // 列表宽度
  19903. width: {
  19904. type: [String, Number],
  19905. default: uni.$u.props.list.width
  19906. },
  19907. // 列表前后预渲染的屏数,1代表一个屏幕的高度,1.5代表1个半屏幕高度
  19908. preLoadScreen: {
  19909. type: [String, Number],
  19910. default: uni.$u.props.list.preLoadScreen
  19911. }
  19912. // vue下,是否开启虚拟列表
  19913. }
  19914. };
  19915. exports.default = _default;
  19916. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19917. /***/ }),
  19918. /* 337 */,
  19919. /* 338 */,
  19920. /* 339 */,
  19921. /* 340 */,
  19922. /* 341 */,
  19923. /* 342 */,
  19924. /* 343 */,
  19925. /* 344 */
  19926. /*!************************************************************************************************************************************************************!*\
  19927. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-list-item/props.js ***!
  19928. \************************************************************************************************************************************************************/
  19929. /*! no static exports found */
  19930. /***/ (function(module, exports, __webpack_require__) {
  19931. "use strict";
  19932. /* WEBPACK VAR INJECTION */(function(uni) {
  19933. Object.defineProperty(exports, "__esModule", {
  19934. value: true
  19935. });
  19936. exports.default = void 0;
  19937. var _default = {
  19938. props: {
  19939. // 用于滚动到指定item
  19940. anchor: {
  19941. type: [String, Number],
  19942. default: uni.$u.props.listItem.anchor
  19943. }
  19944. }
  19945. };
  19946. exports.default = _default;
  19947. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19948. /***/ }),
  19949. /* 345 */,
  19950. /* 346 */,
  19951. /* 347 */,
  19952. /* 348 */,
  19953. /* 349 */,
  19954. /* 350 */,
  19955. /* 351 */,
  19956. /* 352 */
  19957. /*!*******************************************************************************************************************************************************!*\
  19958. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-form/props.js ***!
  19959. \*******************************************************************************************************************************************************/
  19960. /*! no static exports found */
  19961. /***/ (function(module, exports, __webpack_require__) {
  19962. "use strict";
  19963. /* WEBPACK VAR INJECTION */(function(uni) {
  19964. Object.defineProperty(exports, "__esModule", {
  19965. value: true
  19966. });
  19967. exports.default = void 0;
  19968. var _default = {
  19969. props: {
  19970. // 当前form的需要验证字段的集合
  19971. model: {
  19972. type: Object,
  19973. default: uni.$u.props.form.model
  19974. },
  19975. // 验证规则
  19976. rules: {
  19977. type: [Object, Function, Array],
  19978. default: uni.$u.props.form.rules
  19979. },
  19980. // 有错误时的提示方式,message-提示信息,toast-进行toast提示
  19981. // border-bottom-下边框呈现红色,none-无提示
  19982. errorType: {
  19983. type: String,
  19984. default: uni.$u.props.form.errorType
  19985. },
  19986. // 是否显示表单域的下划线边框
  19987. borderBottom: {
  19988. type: Boolean,
  19989. default: uni.$u.props.form.borderBottom
  19990. },
  19991. // label的位置,left-左边,top-上边
  19992. labelPosition: {
  19993. type: String,
  19994. default: uni.$u.props.form.labelPosition
  19995. },
  19996. // label的宽度,单位px
  19997. labelWidth: {
  19998. type: [String, Number],
  19999. default: uni.$u.props.form.labelWidth
  20000. },
  20001. // lable字体的对齐方式
  20002. labelAlign: {
  20003. type: String,
  20004. default: uni.$u.props.form.labelAlign
  20005. },
  20006. // lable的样式,对象形式
  20007. labelStyle: {
  20008. type: Object,
  20009. default: uni.$u.props.form.labelStyle
  20010. }
  20011. }
  20012. };
  20013. exports.default = _default;
  20014. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20015. /***/ }),
  20016. /* 353 */,
  20017. /* 354 */,
  20018. /* 355 */,
  20019. /* 356 */,
  20020. /* 357 */,
  20021. /* 358 */
  20022. /*!************************************************************************************************************************************************************!*\
  20023. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-form-item/props.js ***!
  20024. \************************************************************************************************************************************************************/
  20025. /*! no static exports found */
  20026. /***/ (function(module, exports, __webpack_require__) {
  20027. "use strict";
  20028. /* WEBPACK VAR INJECTION */(function(uni) {
  20029. Object.defineProperty(exports, "__esModule", {
  20030. value: true
  20031. });
  20032. exports.default = void 0;
  20033. var _default = {
  20034. props: {
  20035. // input的label提示语
  20036. label: {
  20037. type: String,
  20038. default: uni.$u.props.formItem.label
  20039. },
  20040. // 绑定的值
  20041. prop: {
  20042. type: String,
  20043. default: uni.$u.props.formItem.prop
  20044. },
  20045. // 是否显示表单域的下划线边框
  20046. borderBottom: {
  20047. type: [String, Boolean],
  20048. default: uni.$u.props.formItem.borderBottom
  20049. },
  20050. // label的位置,left-左边,top-上边
  20051. labelPosition: {
  20052. type: String,
  20053. default: uni.$u.props.formItem.labelPosition
  20054. },
  20055. // label的宽度,单位px
  20056. labelWidth: {
  20057. type: [String, Number],
  20058. default: uni.$u.props.formItem.labelWidth
  20059. },
  20060. // 右侧图标
  20061. rightIcon: {
  20062. type: String,
  20063. default: uni.$u.props.formItem.rightIcon
  20064. },
  20065. // 左侧图标
  20066. leftIcon: {
  20067. type: String,
  20068. default: uni.$u.props.formItem.leftIcon
  20069. },
  20070. // 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置
  20071. required: {
  20072. type: Boolean,
  20073. default: uni.$u.props.formItem.required
  20074. },
  20075. leftIconStyle: {
  20076. type: [String, Object],
  20077. default: uni.$u.props.formItem.leftIconStyle
  20078. }
  20079. }
  20080. };
  20081. exports.default = _default;
  20082. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20083. /***/ }),
  20084. /* 359 */,
  20085. /* 360 */,
  20086. /* 361 */,
  20087. /* 362 */,
  20088. /* 363 */,
  20089. /* 364 */,
  20090. /* 365 */,
  20091. /* 366 */
  20092. /*!*********************************************************************************************************************************************************!*\
  20093. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-picker/props.js ***!
  20094. \*********************************************************************************************************************************************************/
  20095. /*! no static exports found */
  20096. /***/ (function(module, exports, __webpack_require__) {
  20097. "use strict";
  20098. /* WEBPACK VAR INJECTION */(function(uni) {
  20099. Object.defineProperty(exports, "__esModule", {
  20100. value: true
  20101. });
  20102. exports.default = void 0;
  20103. var _default = {
  20104. props: {
  20105. // 是否展示picker弹窗
  20106. show: {
  20107. type: Boolean,
  20108. default: uni.$u.props.picker.show
  20109. },
  20110. // 是否展示顶部的操作栏
  20111. showToolbar: {
  20112. type: Boolean,
  20113. default: uni.$u.props.picker.showToolbar
  20114. },
  20115. // 顶部标题
  20116. title: {
  20117. type: String,
  20118. default: uni.$u.props.picker.title
  20119. },
  20120. // 对象数组,设置每一列的数据
  20121. columns: {
  20122. type: Array,
  20123. default: uni.$u.props.picker.columns
  20124. },
  20125. // 是否显示加载中状态
  20126. loading: {
  20127. type: Boolean,
  20128. default: uni.$u.props.picker.loading
  20129. },
  20130. // 各列中,单个选项的高度
  20131. itemHeight: {
  20132. type: [String, Number],
  20133. default: uni.$u.props.picker.itemHeight
  20134. },
  20135. // 取消按钮的文字
  20136. cancelText: {
  20137. type: String,
  20138. default: uni.$u.props.picker.cancelText
  20139. },
  20140. // 确认按钮的文字
  20141. confirmText: {
  20142. type: String,
  20143. default: uni.$u.props.picker.confirmText
  20144. },
  20145. // 取消按钮的颜色
  20146. cancelColor: {
  20147. type: String,
  20148. default: uni.$u.props.picker.cancelColor
  20149. },
  20150. // 确认按钮的颜色
  20151. confirmColor: {
  20152. type: String,
  20153. default: uni.$u.props.picker.confirmColor
  20154. },
  20155. // 每列中可见选项的数量
  20156. visibleItemCount: {
  20157. type: [String, Number],
  20158. default: uni.$u.props.picker.visibleItemCount
  20159. },
  20160. // 选项对象中,需要展示的属性键名
  20161. keyName: {
  20162. type: String,
  20163. default: uni.$u.props.picker.keyName
  20164. },
  20165. // 是否允许点击遮罩关闭选择器
  20166. closeOnClickOverlay: {
  20167. type: Boolean,
  20168. default: uni.$u.props.picker.closeOnClickOverlay
  20169. },
  20170. // 各列的默认索引
  20171. defaultIndex: {
  20172. type: Array,
  20173. default: uni.$u.props.picker.defaultIndex
  20174. },
  20175. // 是否在手指松开时立即触发 change 事件。若不开启则会在滚动动画结束后触发 change 事件,只在微信2.21.1及以上有效
  20176. immediateChange: {
  20177. type: Boolean,
  20178. default: uni.$u.props.picker.immediateChange
  20179. }
  20180. }
  20181. };
  20182. exports.default = _default;
  20183. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20184. /***/ }),
  20185. /* 367 */,
  20186. /* 368 */,
  20187. /* 369 */,
  20188. /* 370 */,
  20189. /* 371 */,
  20190. /* 372 */,
  20191. /* 373 */,
  20192. /* 374 */
  20193. /*!******************************************************************************************************************************************************************!*\
  20194. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-datetime-picker/props.js ***!
  20195. \******************************************************************************************************************************************************************/
  20196. /*! no static exports found */
  20197. /***/ (function(module, exports, __webpack_require__) {
  20198. "use strict";
  20199. /* WEBPACK VAR INJECTION */(function(uni) {
  20200. Object.defineProperty(exports, "__esModule", {
  20201. value: true
  20202. });
  20203. exports.default = void 0;
  20204. var _default = {
  20205. props: {
  20206. // 是否打开组件
  20207. show: {
  20208. type: Boolean,
  20209. default: uni.$u.props.datetimePicker.show
  20210. },
  20211. // 是否展示顶部的操作栏
  20212. showToolbar: {
  20213. type: Boolean,
  20214. default: uni.$u.props.datetimePicker.showToolbar
  20215. },
  20216. // 绑定值
  20217. value: {
  20218. type: [String, Number],
  20219. default: uni.$u.props.datetimePicker.value
  20220. },
  20221. // 顶部标题
  20222. title: {
  20223. type: String,
  20224. default: uni.$u.props.datetimePicker.title
  20225. },
  20226. // 展示格式,mode=date为日期选择,mode=time为时间选择,mode=year-month为年月选择,mode=datetime为日期时间选择
  20227. mode: {
  20228. type: String,
  20229. default: uni.$u.props.datetimePicker.mode
  20230. },
  20231. // 可选的最大时间
  20232. maxDate: {
  20233. type: Number,
  20234. // 最大默认值为后10年
  20235. default: uni.$u.props.datetimePicker.maxDate
  20236. },
  20237. // 可选的最小时间
  20238. minDate: {
  20239. type: Number,
  20240. // 最小默认值为前10年
  20241. default: uni.$u.props.datetimePicker.minDate
  20242. },
  20243. // 可选的最小小时,仅mode=time有效
  20244. minHour: {
  20245. type: Number,
  20246. default: uni.$u.props.datetimePicker.minHour
  20247. },
  20248. // 可选的最大小时,仅mode=time有效
  20249. maxHour: {
  20250. type: Number,
  20251. default: uni.$u.props.datetimePicker.maxHour
  20252. },
  20253. // 可选的最小分钟,仅mode=time有效
  20254. minMinute: {
  20255. type: Number,
  20256. default: uni.$u.props.datetimePicker.minMinute
  20257. },
  20258. // 可选的最大分钟,仅mode=time有效
  20259. maxMinute: {
  20260. type: Number,
  20261. default: uni.$u.props.datetimePicker.maxMinute
  20262. },
  20263. // 选项过滤函数
  20264. filter: {
  20265. type: [Function, null],
  20266. default: uni.$u.props.datetimePicker.filter
  20267. },
  20268. // 选项格式化函数
  20269. formatter: {
  20270. type: [Function, null],
  20271. default: uni.$u.props.datetimePicker.formatter
  20272. },
  20273. // 是否显示加载中状态
  20274. loading: {
  20275. type: Boolean,
  20276. default: uni.$u.props.datetimePicker.loading
  20277. },
  20278. // 各列中,单个选项的高度
  20279. itemHeight: {
  20280. type: [String, Number],
  20281. default: uni.$u.props.datetimePicker.itemHeight
  20282. },
  20283. // 取消按钮的文字
  20284. cancelText: {
  20285. type: String,
  20286. default: uni.$u.props.datetimePicker.cancelText
  20287. },
  20288. // 确认按钮的文字
  20289. confirmText: {
  20290. type: String,
  20291. default: uni.$u.props.datetimePicker.confirmText
  20292. },
  20293. // 取消按钮的颜色
  20294. cancelColor: {
  20295. type: String,
  20296. default: uni.$u.props.datetimePicker.cancelColor
  20297. },
  20298. // 确认按钮的颜色
  20299. confirmColor: {
  20300. type: String,
  20301. default: uni.$u.props.datetimePicker.confirmColor
  20302. },
  20303. // 每列中可见选项的数量
  20304. visibleItemCount: {
  20305. type: [String, Number],
  20306. default: uni.$u.props.datetimePicker.visibleItemCount
  20307. },
  20308. // 是否允许点击遮罩关闭选择器
  20309. closeOnClickOverlay: {
  20310. type: Boolean,
  20311. default: uni.$u.props.datetimePicker.closeOnClickOverlay
  20312. },
  20313. // 各列的默认索引
  20314. defaultIndex: {
  20315. type: Array,
  20316. default: uni.$u.props.datetimePicker.defaultIndex
  20317. }
  20318. }
  20319. };
  20320. exports.default = _default;
  20321. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20322. /***/ }),
  20323. /* 375 */
  20324. /*!***********************************************************************************************************************************************!*\
  20325. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/util/dayjs.js ***!
  20326. \***********************************************************************************************************************************************/
  20327. /*! no static exports found */
  20328. /***/ (function(module, exports, __webpack_require__) {
  20329. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20330. !function (t, e) {
  20331. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = e() : true ? !(__WEBPACK_AMD_DEFINE_FACTORY__ = (e),
  20332. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20333. (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
  20334. __WEBPACK_AMD_DEFINE_FACTORY__),
  20335. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20336. }(this, function () {
  20337. 'use strict';
  20338. var t = 'millisecond';
  20339. var e = 'second';
  20340. var n = 'minute';
  20341. var r = 'hour';
  20342. var i = 'day';
  20343. var s = 'week';
  20344. var u = 'month';
  20345. var a = 'quarter';
  20346. var o = 'year';
  20347. var f = 'date';
  20348. var h = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/;
  20349. 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;
  20350. var d = {
  20351. name: 'en',
  20352. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  20353. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_')
  20354. };
  20355. var $ = function $(t, e, n) {
  20356. var r = String(t);
  20357. return !r || r.length >= e ? t : "".concat(Array(e + 1 - r.length).join(n)).concat(t);
  20358. };
  20359. var l = {
  20360. s: $,
  20361. z: function z(t) {
  20362. var e = -t.utcOffset();
  20363. var n = Math.abs(e);
  20364. var r = Math.floor(n / 60);
  20365. var i = n % 60;
  20366. return "".concat((e <= 0 ? '+' : '-') + $(r, 2, '0'), ":").concat($(i, 2, '0'));
  20367. },
  20368. m: function t(e, n) {
  20369. if (e.date() < n.date()) return -t(n, e);
  20370. var r = 12 * (n.year() - e.year()) + (n.month() - e.month());
  20371. var i = e.clone().add(r, u);
  20372. var s = n - i < 0;
  20373. var a = e.clone().add(r + (s ? -1 : 1), u);
  20374. return +(-(r + (n - i) / (s ? i - a : a - i)) || 0);
  20375. },
  20376. a: function a(t) {
  20377. return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
  20378. },
  20379. p: function p(h) {
  20380. return {
  20381. M: u,
  20382. y: o,
  20383. w: s,
  20384. d: i,
  20385. D: f,
  20386. h: r,
  20387. m: n,
  20388. s: e,
  20389. ms: t,
  20390. Q: a
  20391. }[h] || String(h || '').toLowerCase().replace(/s$/, '');
  20392. },
  20393. u: function u(t) {
  20394. return void 0 === t;
  20395. }
  20396. };
  20397. var y = 'en';
  20398. var M = {};
  20399. M[y] = d;
  20400. var m = function m(t) {
  20401. return t instanceof S;
  20402. };
  20403. var D = function D(t, e, n) {
  20404. var r;
  20405. if (!t) return y;
  20406. if (typeof t === 'string') M[t] && (r = t), e && (M[t] = e, r = t);else {
  20407. var _i = t.name;
  20408. M[_i] = t, r = _i;
  20409. }
  20410. return !n && r && (y = r), r || !n && y;
  20411. };
  20412. var v = function v(t, e) {
  20413. if (m(t)) return t.clone();
  20414. var n = _typeof(e) === 'object' ? e : {};
  20415. return n.date = t, n.args = arguments, new S(n);
  20416. };
  20417. var g = l;
  20418. g.l = D, g.i = m, g.w = function (t, e) {
  20419. return v(t, {
  20420. locale: e.$L,
  20421. utc: e.$u,
  20422. x: e.$x,
  20423. $offset: e.$offset
  20424. });
  20425. };
  20426. var S = function () {
  20427. function d(t) {
  20428. this.$L = D(t.locale, null, !0), this.parse(t);
  20429. }
  20430. var $ = d.prototype;
  20431. return $.parse = function (t) {
  20432. this.$d = function (t) {
  20433. var e = t.date;
  20434. var n = t.utc;
  20435. if (e === null) return new Date(NaN);
  20436. if (g.u(e)) return new Date();
  20437. if (e instanceof Date) return new Date(e);
  20438. if (typeof e === 'string' && !/Z$/i.test(e)) {
  20439. var _r = e.match(h);
  20440. if (_r) {
  20441. var _i2 = _r[2] - 1 || 0;
  20442. var _s = (_r[7] || '0').substring(0, 3);
  20443. 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);
  20444. }
  20445. }
  20446. return new Date(e);
  20447. }(t), this.$x = t.x || {}, this.init();
  20448. }, $.init = function () {
  20449. var t = this.$d;
  20450. 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();
  20451. }, $.$utils = function () {
  20452. return g;
  20453. }, $.isValid = function () {
  20454. return !(this.$d.toString() === 'Invalid Date');
  20455. }, $.isSame = function (t, e) {
  20456. var n = v(t);
  20457. return this.startOf(e) <= n && n <= this.endOf(e);
  20458. }, $.isAfter = function (t, e) {
  20459. return v(t) < this.startOf(e);
  20460. }, $.isBefore = function (t, e) {
  20461. return this.endOf(e) < v(t);
  20462. }, $.$g = function (t, e, n) {
  20463. return g.u(t) ? this[e] : this.set(n, t);
  20464. }, $.unix = function () {
  20465. return Math.floor(this.valueOf() / 1e3);
  20466. }, $.valueOf = function () {
  20467. return this.$d.getTime();
  20468. }, $.startOf = function (t, a) {
  20469. var h = this;
  20470. var c = !!g.u(a) || a;
  20471. var d = g.p(t);
  20472. var $ = function $(t, e) {
  20473. var n = g.w(h.$u ? Date.UTC(h.$y, e, t) : new Date(h.$y, e, t), h);
  20474. return c ? n : n.endOf(i);
  20475. };
  20476. var l = function l(t, e) {
  20477. return g.w(h.toDate()[t].apply(h.toDate('s'), (c ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), h);
  20478. };
  20479. var y = this.$W;
  20480. var M = this.$M;
  20481. var m = this.$D;
  20482. var D = "set".concat(this.$u ? 'UTC' : '');
  20483. switch (d) {
  20484. case o:
  20485. return c ? $(1, 0) : $(31, 11);
  20486. case u:
  20487. return c ? $(1, M) : $(0, M + 1);
  20488. case s:
  20489. var v = this.$locale().weekStart || 0;
  20490. var S = (y < v ? y + 7 : y) - v;
  20491. return $(c ? m - S : m + (6 - S), M);
  20492. case i:
  20493. case f:
  20494. return l("".concat(D, "Hours"), 0);
  20495. case r:
  20496. return l("".concat(D, "Minutes"), 1);
  20497. case n:
  20498. return l("".concat(D, "Seconds"), 2);
  20499. case e:
  20500. return l("".concat(D, "Milliseconds"), 3);
  20501. default:
  20502. return this.clone();
  20503. }
  20504. }, $.endOf = function (t) {
  20505. return this.startOf(t, !1);
  20506. }, $.$set = function (s, a) {
  20507. var h;
  20508. var c = g.p(s);
  20509. var d = "set".concat(this.$u ? 'UTC' : '');
  20510. 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];
  20511. var l = c === i ? this.$D + (a - this.$W) : a;
  20512. if (c === u || c === o) {
  20513. var _y = this.clone().set(f, 1);
  20514. _y.$d[$](l), _y.init(), this.$d = _y.set(f, Math.min(this.$D, _y.daysInMonth())).$d;
  20515. } else $ && this.$d[$](l);
  20516. return this.init(), this;
  20517. }, $.set = function (t, e) {
  20518. return this.clone().$set(t, e);
  20519. }, $.get = function (t) {
  20520. return this[g.p(t)]();
  20521. }, $.add = function (t, a) {
  20522. var f;
  20523. var h = this;
  20524. t = Number(t);
  20525. var c = g.p(a);
  20526. var d = function d(e) {
  20527. var n = v(h);
  20528. return g.w(n.date(n.date() + Math.round(e * t)), h);
  20529. };
  20530. if (c === u) return this.set(u, this.$M + t);
  20531. if (c === o) return this.set(o, this.$y + t);
  20532. if (c === i) return d(1);
  20533. if (c === s) return d(7);
  20534. var $ = (f = {}, f[n] = 6e4, f[r] = 36e5, f[e] = 1e3, f)[c] || 1;
  20535. var l = this.$d.getTime() + t * $;
  20536. return g.w(l, this);
  20537. }, $.subtract = function (t, e) {
  20538. return this.add(-1 * t, e);
  20539. }, $.format = function (t) {
  20540. var e = this;
  20541. if (!this.isValid()) return 'Invalid Date';
  20542. var n = t || 'YYYY-MM-DDTHH:mm:ssZ';
  20543. var r = g.z(this);
  20544. var i = this.$locale();
  20545. var s = this.$H;
  20546. var u = this.$m;
  20547. var a = this.$M;
  20548. var o = i.weekdays;
  20549. var f = i.months;
  20550. var h = function h(t, r, i, s) {
  20551. return t && (t[r] || t(e, n)) || i[r].substr(0, s);
  20552. };
  20553. var d = function d(t) {
  20554. return g.s(s % 12 || 12, t, '0');
  20555. };
  20556. var $ = i.meridiem || function (t, e, n) {
  20557. var r = t < 12 ? 'AM' : 'PM';
  20558. return n ? r.toLowerCase() : r;
  20559. };
  20560. var l = {
  20561. YY: String(this.$y).slice(-2),
  20562. YYYY: this.$y,
  20563. M: a + 1,
  20564. MM: g.s(a + 1, 2, '0'),
  20565. MMM: h(i.monthsShort, a, f, 3),
  20566. MMMM: h(f, a),
  20567. D: this.$D,
  20568. DD: g.s(this.$D, 2, '0'),
  20569. d: String(this.$W),
  20570. dd: h(i.weekdaysMin, this.$W, o, 2),
  20571. ddd: h(i.weekdaysShort, this.$W, o, 3),
  20572. dddd: o[this.$W],
  20573. H: String(s),
  20574. HH: g.s(s, 2, '0'),
  20575. h: d(1),
  20576. hh: d(2),
  20577. a: $(s, u, !0),
  20578. A: $(s, u, !1),
  20579. m: String(u),
  20580. mm: g.s(u, 2, '0'),
  20581. s: String(this.$s),
  20582. ss: g.s(this.$s, 2, '0'),
  20583. SSS: g.s(this.$ms, 3, '0'),
  20584. Z: r
  20585. };
  20586. return n.replace(c, function (t, e) {
  20587. return e || l[t] || r.replace(':', '');
  20588. });
  20589. }, $.utcOffset = function () {
  20590. return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
  20591. }, $.diff = function (t, f, h) {
  20592. var c;
  20593. var d = g.p(f);
  20594. var $ = v(t);
  20595. var l = 6e4 * ($.utcOffset() - this.utcOffset());
  20596. var y = this - $;
  20597. var M = g.m(this, $);
  20598. 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);
  20599. }, $.daysInMonth = function () {
  20600. return this.endOf(u).$D;
  20601. }, $.$locale = function () {
  20602. return M[this.$L];
  20603. }, $.locale = function (t, e) {
  20604. if (!t) return this.$L;
  20605. var n = this.clone();
  20606. var r = D(t, e, !0);
  20607. return r && (n.$L = r), n;
  20608. }, $.clone = function () {
  20609. return g.w(this.$d, this);
  20610. }, $.toDate = function () {
  20611. return new Date(this.valueOf());
  20612. }, $.toJSON = function () {
  20613. return this.isValid() ? this.toISOString() : null;
  20614. }, $.toISOString = function () {
  20615. return this.$d.toISOString();
  20616. }, $.toString = function () {
  20617. return this.$d.toUTCString();
  20618. }, d;
  20619. }();
  20620. var p = S.prototype;
  20621. return v.prototype = p, [['$ms', t], ['$s', e], ['$m', n], ['$H', r], ['$W', i], ['$M', u], ['$y', o], ['$D', f]].forEach(function (t) {
  20622. p[t[1]] = function (e) {
  20623. return this.$g(e, t[0], t[1]);
  20624. };
  20625. }), v.extend = function (t, e) {
  20626. return t.$i || (t(e, S, v), t.$i = !0), v;
  20627. }, v.locale = D, v.isDayjs = m, v.unix = function (t) {
  20628. return v(1e3 * t);
  20629. }, v.en = M[y], v.Ls = M, v.p = {}, v;
  20630. });
  20631. /***/ }),
  20632. /* 376 */,
  20633. /* 377 */,
  20634. /* 378 */,
  20635. /* 379 */,
  20636. /* 380 */,
  20637. /* 381 */,
  20638. /* 382 */,
  20639. /* 383 */
  20640. /*!*************************************************************************************************************************************************!*\
  20641. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/button.js ***!
  20642. \*************************************************************************************************************************************************/
  20643. /*! no static exports found */
  20644. /***/ (function(module, exports, __webpack_require__) {
  20645. "use strict";
  20646. Object.defineProperty(exports, "__esModule", {
  20647. value: true
  20648. });
  20649. exports.default = void 0;
  20650. var _default = {
  20651. props: {
  20652. lang: String,
  20653. sessionFrom: String,
  20654. sendMessageTitle: String,
  20655. sendMessagePath: String,
  20656. sendMessageImg: String,
  20657. showMessageCard: Boolean,
  20658. appParameter: String,
  20659. formType: String,
  20660. openType: String
  20661. }
  20662. };
  20663. exports.default = _default;
  20664. /***/ }),
  20665. /* 384 */
  20666. /*!***************************************************************************************************************************************************!*\
  20667. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/openType.js ***!
  20668. \***************************************************************************************************************************************************/
  20669. /*! no static exports found */
  20670. /***/ (function(module, exports, __webpack_require__) {
  20671. "use strict";
  20672. Object.defineProperty(exports, "__esModule", {
  20673. value: true
  20674. });
  20675. exports.default = void 0;
  20676. var _default = {
  20677. props: {
  20678. openType: String
  20679. },
  20680. methods: {
  20681. onGetUserInfo: function onGetUserInfo(event) {
  20682. this.$emit('getuserinfo', event.detail);
  20683. },
  20684. onContact: function onContact(event) {
  20685. this.$emit('contact', event.detail);
  20686. },
  20687. onGetPhoneNumber: function onGetPhoneNumber(event) {
  20688. this.$emit('getphonenumber', event.detail);
  20689. },
  20690. onError: function onError(event) {
  20691. this.$emit('error', event.detail);
  20692. },
  20693. onLaunchApp: function onLaunchApp(event) {
  20694. this.$emit('launchapp', event.detail);
  20695. },
  20696. onOpenSetting: function onOpenSetting(event) {
  20697. this.$emit('opensetting', event.detail);
  20698. }
  20699. }
  20700. };
  20701. exports.default = _default;
  20702. /***/ }),
  20703. /* 385 */
  20704. /*!*********************************************************************************************************************************************************!*\
  20705. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-button/props.js ***!
  20706. \*********************************************************************************************************************************************************/
  20707. /*! no static exports found */
  20708. /***/ (function(module, exports, __webpack_require__) {
  20709. "use strict";
  20710. /* WEBPACK VAR INJECTION */(function(uni) {
  20711. Object.defineProperty(exports, "__esModule", {
  20712. value: true
  20713. });
  20714. exports.default = void 0;
  20715. /*
  20716. * @Author : LQ
  20717. * @Description :
  20718. * @version : 1.0
  20719. * @Date : 2021-08-16 10:04:04
  20720. * @LastAuthor : LQ
  20721. * @lastTime : 2021-08-16 10:04:24
  20722. * @FilePath : /u-view2.0/uview-ui/components/u-button/props.js
  20723. */
  20724. var _default = {
  20725. props: {
  20726. // 是否细边框
  20727. hairline: {
  20728. type: Boolean,
  20729. default: uni.$u.props.button.hairline
  20730. },
  20731. // 按钮的预置样式,info,primary,error,warning,success
  20732. type: {
  20733. type: String,
  20734. default: uni.$u.props.button.type
  20735. },
  20736. // 按钮尺寸,large,normal,small,mini
  20737. size: {
  20738. type: String,
  20739. default: uni.$u.props.button.size
  20740. },
  20741. // 按钮形状,circle(两边为半圆),square(带圆角)
  20742. shape: {
  20743. type: String,
  20744. default: uni.$u.props.button.shape
  20745. },
  20746. // 按钮是否镂空
  20747. plain: {
  20748. type: Boolean,
  20749. default: uni.$u.props.button.plain
  20750. },
  20751. // 是否禁止状态
  20752. disabled: {
  20753. type: Boolean,
  20754. default: uni.$u.props.button.disabled
  20755. },
  20756. // 是否加载中
  20757. loading: {
  20758. type: Boolean,
  20759. default: uni.$u.props.button.loading
  20760. },
  20761. // 加载中提示文字
  20762. loadingText: {
  20763. type: [String, Number],
  20764. default: uni.$u.props.button.loadingText
  20765. },
  20766. // 加载状态图标类型
  20767. loadingMode: {
  20768. type: String,
  20769. default: uni.$u.props.button.loadingMode
  20770. },
  20771. // 加载图标大小
  20772. loadingSize: {
  20773. type: [String, Number],
  20774. default: uni.$u.props.button.loadingSize
  20775. },
  20776. // 开放能力,具体请看uniapp稳定关于button组件部分说明
  20777. // https://uniapp.dcloud.io/component/button
  20778. openType: {
  20779. type: String,
  20780. default: uni.$u.props.button.openType
  20781. },
  20782. // 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件
  20783. // 取值为submit(提交表单),reset(重置表单)
  20784. formType: {
  20785. type: String,
  20786. default: uni.$u.props.button.formType
  20787. },
  20788. // 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效
  20789. // 只微信小程序、QQ小程序有效
  20790. appParameter: {
  20791. type: String,
  20792. default: uni.$u.props.button.appParameter
  20793. },
  20794. // 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效
  20795. hoverStopPropagation: {
  20796. type: Boolean,
  20797. default: uni.$u.props.button.hoverStopPropagation
  20798. },
  20799. // 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。只微信小程序有效
  20800. lang: {
  20801. type: String,
  20802. default: uni.$u.props.button.lang
  20803. },
  20804. // 会话来源,open-type="contact"时有效。只微信小程序有效
  20805. sessionFrom: {
  20806. type: String,
  20807. default: uni.$u.props.button.sessionFrom
  20808. },
  20809. // 会话内消息卡片标题,open-type="contact"时有效
  20810. // 默认当前标题,只微信小程序有效
  20811. sendMessageTitle: {
  20812. type: String,
  20813. default: uni.$u.props.button.sendMessageTitle
  20814. },
  20815. // 会话内消息卡片点击跳转小程序路径,open-type="contact"时有效
  20816. // 默认当前分享路径,只微信小程序有效
  20817. sendMessagePath: {
  20818. type: String,
  20819. default: uni.$u.props.button.sendMessagePath
  20820. },
  20821. // 会话内消息卡片图片,open-type="contact"时有效
  20822. // 默认当前页面截图,只微信小程序有效
  20823. sendMessageImg: {
  20824. type: String,
  20825. default: uni.$u.props.button.sendMessageImg
  20826. },
  20827. // 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示,
  20828. // 用户点击后可以快速发送小程序消息,open-type="contact"时有效
  20829. showMessageCard: {
  20830. type: Boolean,
  20831. default: uni.$u.props.button.showMessageCard
  20832. },
  20833. // 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取
  20834. dataName: {
  20835. type: String,
  20836. default: uni.$u.props.button.dataName
  20837. },
  20838. // 节流,一定时间内只能触发一次
  20839. throttleTime: {
  20840. type: [String, Number],
  20841. default: uni.$u.props.button.throttleTime
  20842. },
  20843. // 按住后多久出现点击态,单位毫秒
  20844. hoverStartTime: {
  20845. type: [String, Number],
  20846. default: uni.$u.props.button.hoverStartTime
  20847. },
  20848. // 手指松开后点击态保留时间,单位毫秒
  20849. hoverStayTime: {
  20850. type: [String, Number],
  20851. default: uni.$u.props.button.hoverStayTime
  20852. },
  20853. // 按钮文字,之所以通过props传入,是因为slot传入的话
  20854. // nvue中无法控制文字的样式
  20855. text: {
  20856. type: [String, Number],
  20857. default: uni.$u.props.button.text
  20858. },
  20859. // 按钮图标
  20860. icon: {
  20861. type: String,
  20862. default: uni.$u.props.button.icon
  20863. },
  20864. // 按钮图标
  20865. iconColor: {
  20866. type: String,
  20867. default: uni.$u.props.button.icon
  20868. },
  20869. // 按钮颜色,支持传入linear-gradient渐变色
  20870. color: {
  20871. type: String,
  20872. default: uni.$u.props.button.color
  20873. }
  20874. }
  20875. };
  20876. exports.default = _default;
  20877. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20878. /***/ }),
  20879. /* 386 */,
  20880. /* 387 */,
  20881. /* 388 */,
  20882. /* 389 */,
  20883. /* 390 */,
  20884. /* 391 */,
  20885. /* 392 */,
  20886. /* 393 */,
  20887. /* 394 */,
  20888. /* 395 */,
  20889. /* 396 */,
  20890. /* 397 */,
  20891. /* 398 */,
  20892. /* 399 */,
  20893. /* 400 */
  20894. /*!********************************************************************************************************************************************************!*\
  20895. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-popup/props.js ***!
  20896. \********************************************************************************************************************************************************/
  20897. /*! no static exports found */
  20898. /***/ (function(module, exports, __webpack_require__) {
  20899. "use strict";
  20900. /* WEBPACK VAR INJECTION */(function(uni) {
  20901. Object.defineProperty(exports, "__esModule", {
  20902. value: true
  20903. });
  20904. exports.default = void 0;
  20905. var _default = {
  20906. props: {
  20907. // 是否展示弹窗
  20908. show: {
  20909. type: Boolean,
  20910. default: uni.$u.props.popup.show
  20911. },
  20912. // 是否显示遮罩
  20913. overlay: {
  20914. type: Boolean,
  20915. default: uni.$u.props.popup.overlay
  20916. },
  20917. // 弹出的方向,可选值为 top bottom right left center
  20918. mode: {
  20919. type: String,
  20920. default: uni.$u.props.popup.mode
  20921. },
  20922. // 动画时长,单位ms
  20923. duration: {
  20924. type: [String, Number],
  20925. default: uni.$u.props.popup.duration
  20926. },
  20927. // 是否显示关闭图标
  20928. closeable: {
  20929. type: Boolean,
  20930. default: uni.$u.props.popup.closeable
  20931. },
  20932. // 自定义遮罩的样式
  20933. overlayStyle: {
  20934. type: [Object, String],
  20935. default: uni.$u.props.popup.overlayStyle
  20936. },
  20937. // 点击遮罩是否关闭弹窗
  20938. closeOnClickOverlay: {
  20939. type: Boolean,
  20940. default: uni.$u.props.popup.closeOnClickOverlay
  20941. },
  20942. // 层级
  20943. zIndex: {
  20944. type: [String, Number],
  20945. default: uni.$u.props.popup.zIndex
  20946. },
  20947. // 是否为iPhoneX留出底部安全距离
  20948. safeAreaInsetBottom: {
  20949. type: Boolean,
  20950. default: uni.$u.props.popup.safeAreaInsetBottom
  20951. },
  20952. // 是否留出顶部安全距离(状态栏高度)
  20953. safeAreaInsetTop: {
  20954. type: Boolean,
  20955. default: uni.$u.props.popup.safeAreaInsetTop
  20956. },
  20957. // 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角
  20958. closeIconPos: {
  20959. type: String,
  20960. default: uni.$u.props.popup.closeIconPos
  20961. },
  20962. // 是否显示圆角
  20963. round: {
  20964. type: [Boolean, String, Number],
  20965. default: uni.$u.props.popup.round
  20966. },
  20967. // mode=center,也即中部弹出时,是否使用缩放模式
  20968. zoom: {
  20969. type: Boolean,
  20970. default: uni.$u.props.popup.zoom
  20971. },
  20972. // 弹窗背景色,设置为transparent可去除白色背景
  20973. bgColor: {
  20974. type: String,
  20975. default: uni.$u.props.popup.bgColor
  20976. },
  20977. // 遮罩的透明度,0-1之间
  20978. overlayOpacity: {
  20979. type: [Number, String],
  20980. default: uni.$u.props.popup.overlayOpacity
  20981. }
  20982. }
  20983. };
  20984. exports.default = _default;
  20985. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20986. /***/ }),
  20987. /* 401 */,
  20988. /* 402 */,
  20989. /* 403 */,
  20990. /* 404 */,
  20991. /* 405 */,
  20992. /* 406 */,
  20993. /* 407 */,
  20994. /* 408 */
  20995. /*!*********************************************************************************************************************************************************!*\
  20996. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-avatar/props.js ***!
  20997. \*********************************************************************************************************************************************************/
  20998. /*! no static exports found */
  20999. /***/ (function(module, exports, __webpack_require__) {
  21000. "use strict";
  21001. /* WEBPACK VAR INJECTION */(function(uni) {
  21002. Object.defineProperty(exports, "__esModule", {
  21003. value: true
  21004. });
  21005. exports.default = void 0;
  21006. var _default = {
  21007. props: {
  21008. // 头像图片路径(不能为相对路径)
  21009. src: {
  21010. type: String,
  21011. default: uni.$u.props.avatar.src
  21012. },
  21013. // 头像形状,circle-圆形,square-方形
  21014. shape: {
  21015. type: String,
  21016. default: uni.$u.props.avatar.shape
  21017. },
  21018. // 头像尺寸
  21019. size: {
  21020. type: [String, Number],
  21021. default: uni.$u.props.avatar.size
  21022. },
  21023. // 裁剪模式
  21024. mode: {
  21025. type: String,
  21026. default: uni.$u.props.avatar.mode
  21027. },
  21028. // 显示的文字
  21029. text: {
  21030. type: String,
  21031. default: uni.$u.props.avatar.text
  21032. },
  21033. // 背景色
  21034. bgColor: {
  21035. type: String,
  21036. default: uni.$u.props.avatar.bgColor
  21037. },
  21038. // 文字颜色
  21039. color: {
  21040. type: String,
  21041. default: uni.$u.props.avatar.color
  21042. },
  21043. // 文字大小
  21044. fontSize: {
  21045. type: [String, Number],
  21046. default: uni.$u.props.avatar.fontSize
  21047. },
  21048. // 显示的图标
  21049. icon: {
  21050. type: String,
  21051. default: uni.$u.props.avatar.icon
  21052. },
  21053. // 显示小程序头像,只对百度,微信,QQ小程序有效
  21054. mpAvatar: {
  21055. type: Boolean,
  21056. default: uni.$u.props.avatar.mpAvatar
  21057. },
  21058. // 是否使用随机背景色
  21059. randomBgColor: {
  21060. type: Boolean,
  21061. default: uni.$u.props.avatar.randomBgColor
  21062. },
  21063. // 加载失败的默认头像(组件有内置默认图片)
  21064. defaultUrl: {
  21065. type: String,
  21066. default: uni.$u.props.avatar.defaultUrl
  21067. },
  21068. // 如果配置了randomBgColor为true,且配置了此值,则从默认的背景色数组中取出对应索引的颜色值,取值0-19之间
  21069. colorIndex: {
  21070. type: [String, Number],
  21071. // 校验参数规则,索引在0-19之间
  21072. validator: function validator(n) {
  21073. return uni.$u.test.range(n, [0, 19]) || n === '';
  21074. },
  21075. default: uni.$u.props.avatar.colorIndex
  21076. },
  21077. // 组件标识符
  21078. name: {
  21079. type: String,
  21080. default: uni.$u.props.avatar.name
  21081. }
  21082. }
  21083. };
  21084. exports.default = _default;
  21085. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21086. /***/ }),
  21087. /* 409 */,
  21088. /* 410 */,
  21089. /* 411 */,
  21090. /* 412 */,
  21091. /* 413 */,
  21092. /* 414 */,
  21093. /* 415 */,
  21094. /* 416 */
  21095. /*!********************************************************************************************************************************************************!*\
  21096. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-badge/props.js ***!
  21097. \********************************************************************************************************************************************************/
  21098. /*! no static exports found */
  21099. /***/ (function(module, exports, __webpack_require__) {
  21100. "use strict";
  21101. /* WEBPACK VAR INJECTION */(function(uni) {
  21102. Object.defineProperty(exports, "__esModule", {
  21103. value: true
  21104. });
  21105. exports.default = void 0;
  21106. var _default = {
  21107. props: {
  21108. // 是否显示圆点
  21109. isDot: {
  21110. type: Boolean,
  21111. default: uni.$u.props.badge.isDot
  21112. },
  21113. // 显示的内容
  21114. value: {
  21115. type: [Number, String],
  21116. default: uni.$u.props.badge.value
  21117. },
  21118. // 是否显示
  21119. show: {
  21120. type: Boolean,
  21121. default: uni.$u.props.badge.show
  21122. },
  21123. // 最大值,超过最大值会显示 '{max}+'
  21124. max: {
  21125. type: [Number, String],
  21126. default: uni.$u.props.badge.max
  21127. },
  21128. // 主题类型,error|warning|success|primary
  21129. type: {
  21130. type: String,
  21131. default: uni.$u.props.badge.type
  21132. },
  21133. // 当数值为 0 时,是否展示 Badge
  21134. showZero: {
  21135. type: Boolean,
  21136. default: uni.$u.props.badge.showZero
  21137. },
  21138. // 背景颜色,优先级比type高,如设置,type参数会失效
  21139. bgColor: {
  21140. type: [String, null],
  21141. default: uni.$u.props.badge.bgColor
  21142. },
  21143. // 字体颜色
  21144. color: {
  21145. type: [String, null],
  21146. default: uni.$u.props.badge.color
  21147. },
  21148. // 徽标形状,circle-四角均为圆角,horn-左下角为直角
  21149. shape: {
  21150. type: String,
  21151. default: uni.$u.props.badge.shape
  21152. },
  21153. // 设置数字的显示方式,overflow|ellipsis|limit
  21154. // overflow会根据max字段判断,超出显示`${max}+`
  21155. // ellipsis会根据max判断,超出显示`${max}...`
  21156. // limit会依据1000作为判断条件,超出1000,显示`${value/1000}K`,比如2.2k、3.34w,最多保留2位小数
  21157. numberType: {
  21158. type: String,
  21159. default: uni.$u.props.badge.numberType
  21160. },
  21161. // 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
  21162. offset: {
  21163. type: Array,
  21164. default: uni.$u.props.badge.offset
  21165. },
  21166. // 是否反转背景和字体颜色
  21167. inverted: {
  21168. type: Boolean,
  21169. default: uni.$u.props.badge.inverted
  21170. },
  21171. // 是否绝对定位
  21172. absolute: {
  21173. type: Boolean,
  21174. default: uni.$u.props.badge.absolute
  21175. }
  21176. }
  21177. };
  21178. exports.default = _default;
  21179. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21180. /***/ }),
  21181. /* 417 */,
  21182. /* 418 */,
  21183. /* 419 */,
  21184. /* 420 */,
  21185. /* 421 */,
  21186. /* 422 */,
  21187. /* 423 */,
  21188. /* 424 */
  21189. /*!***********************************************************************************************************************************************************!*\
  21190. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-textarea/props.js ***!
  21191. \***********************************************************************************************************************************************************/
  21192. /*! no static exports found */
  21193. /***/ (function(module, exports, __webpack_require__) {
  21194. "use strict";
  21195. /* WEBPACK VAR INJECTION */(function(uni) {
  21196. Object.defineProperty(exports, "__esModule", {
  21197. value: true
  21198. });
  21199. exports.default = void 0;
  21200. var _default = {
  21201. props: {
  21202. // 输入框的内容
  21203. value: {
  21204. type: [String, Number],
  21205. default: uni.$u.props.textarea.value
  21206. },
  21207. // 输入框为空时占位符
  21208. placeholder: {
  21209. type: [String, Number],
  21210. default: uni.$u.props.textarea.placeholder
  21211. },
  21212. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  21213. placeholderClass: {
  21214. type: String,
  21215. default: uni.$u.props.input.placeholderClass
  21216. },
  21217. // 指定placeholder的样式
  21218. placeholderStyle: {
  21219. type: [String, Object],
  21220. default: uni.$u.props.input.placeholderStyle
  21221. },
  21222. // 输入框高度
  21223. height: {
  21224. type: [String, Number],
  21225. default: uni.$u.props.textarea.height
  21226. },
  21227. // 设置键盘右下角按钮的文字,仅微信小程序,App-vue和H5有效
  21228. confirmType: {
  21229. type: String,
  21230. default: uni.$u.props.textarea.confirmType
  21231. },
  21232. // 是否禁用
  21233. disabled: {
  21234. type: Boolean,
  21235. default: uni.$u.props.textarea.disabled
  21236. },
  21237. // 是否显示统计字数
  21238. count: {
  21239. type: Boolean,
  21240. default: uni.$u.props.textarea.count
  21241. },
  21242. // 是否自动获取焦点,nvue不支持,H5取决于浏览器的实现
  21243. focus: {
  21244. type: Boolean,
  21245. default: uni.$u.props.textarea.focus
  21246. },
  21247. // 是否自动增加高度
  21248. autoHeight: {
  21249. type: Boolean,
  21250. default: uni.$u.props.textarea.autoHeight
  21251. },
  21252. // 如果textarea是在一个position:fixed的区域,需要显示指定属性fixed为true
  21253. fixed: {
  21254. type: Boolean,
  21255. default: uni.$u.props.textarea.fixed
  21256. },
  21257. // 指定光标与键盘的距离
  21258. cursorSpacing: {
  21259. type: Number,
  21260. default: uni.$u.props.textarea.cursorSpacing
  21261. },
  21262. // 指定focus时的光标位置
  21263. cursor: {
  21264. type: [String, Number],
  21265. default: uni.$u.props.textarea.cursor
  21266. },
  21267. // 是否显示键盘上方带有”完成“按钮那一栏,
  21268. showConfirmBar: {
  21269. type: Boolean,
  21270. default: uni.$u.props.textarea.showConfirmBar
  21271. },
  21272. // 光标起始位置,自动聚焦时有效,需与selection-end搭配使用
  21273. selectionStart: {
  21274. type: Number,
  21275. default: uni.$u.props.textarea.selectionStart
  21276. },
  21277. // 光标结束位置,自动聚焦时有效,需与selection-start搭配使用
  21278. selectionEnd: {
  21279. type: Number,
  21280. default: uni.$u.props.textarea.selectionEnd
  21281. },
  21282. // 键盘弹起时,是否自动上推页面
  21283. adjustPosition: {
  21284. type: Boolean,
  21285. default: uni.$u.props.textarea.adjustPosition
  21286. },
  21287. // 是否去掉 iOS 下的默认内边距,只微信小程序有效
  21288. disableDefaultPadding: {
  21289. type: Boolean,
  21290. default: uni.$u.props.textarea.disableDefaultPadding
  21291. },
  21292. // focus时,点击页面的时候不收起键盘,只微信小程序有效
  21293. holdKeyboard: {
  21294. type: Boolean,
  21295. default: uni.$u.props.textarea.holdKeyboard
  21296. },
  21297. // 最大输入长度,设置为 -1 的时候不限制最大长度
  21298. maxlength: {
  21299. type: [String, Number],
  21300. default: uni.$u.props.textarea.maxlength
  21301. },
  21302. // 边框类型,surround-四周边框,bottom-底部边框
  21303. border: {
  21304. type: String,
  21305. default: uni.$u.props.textarea.border
  21306. },
  21307. // 用于处理或者过滤输入框内容的方法
  21308. formatter: {
  21309. type: [Function, null],
  21310. default: uni.$u.props.textarea.formatter
  21311. },
  21312. // 是否忽略组件内对文本合成系统事件的处理
  21313. ignoreCompositionEvent: {
  21314. type: Boolean,
  21315. default: true
  21316. }
  21317. }
  21318. };
  21319. exports.default = _default;
  21320. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21321. /***/ }),
  21322. /* 425 */,
  21323. /* 426 */,
  21324. /* 427 */,
  21325. /* 428 */,
  21326. /* 429 */,
  21327. /* 430 */
  21328. /*!*************************************************************************************************************************************************************!*\
  21329. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-cell-group/props.js ***!
  21330. \*************************************************************************************************************************************************************/
  21331. /*! no static exports found */
  21332. /***/ (function(module, exports, __webpack_require__) {
  21333. "use strict";
  21334. /* WEBPACK VAR INJECTION */(function(uni) {
  21335. Object.defineProperty(exports, "__esModule", {
  21336. value: true
  21337. });
  21338. exports.default = void 0;
  21339. var _default = {
  21340. props: {
  21341. // 分组标题
  21342. title: {
  21343. type: String,
  21344. default: uni.$u.props.cellGroup.title
  21345. },
  21346. // 是否显示外边框
  21347. border: {
  21348. type: Boolean,
  21349. default: uni.$u.props.cellGroup.border
  21350. }
  21351. }
  21352. };
  21353. exports.default = _default;
  21354. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21355. /***/ }),
  21356. /* 431 */,
  21357. /* 432 */,
  21358. /* 433 */,
  21359. /* 434 */,
  21360. /* 435 */,
  21361. /* 436 */,
  21362. /* 437 */,
  21363. /* 438 */
  21364. /*!*******************************************************************************************************************************************************!*\
  21365. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-cell/props.js ***!
  21366. \*******************************************************************************************************************************************************/
  21367. /*! no static exports found */
  21368. /***/ (function(module, exports, __webpack_require__) {
  21369. "use strict";
  21370. /* WEBPACK VAR INJECTION */(function(uni) {
  21371. Object.defineProperty(exports, "__esModule", {
  21372. value: true
  21373. });
  21374. exports.default = void 0;
  21375. var _default2 = {
  21376. props: {
  21377. // 标题
  21378. title: {
  21379. type: [String, Number],
  21380. default: uni.$u.props.cell.title
  21381. },
  21382. // 标题下方的描述信息
  21383. label: {
  21384. type: [String, Number],
  21385. default: uni.$u.props.cell.label
  21386. },
  21387. // 右侧的内容
  21388. value: {
  21389. type: [String, Number],
  21390. default: uni.$u.props.cell.value
  21391. },
  21392. // 左侧图标名称,或者图片链接(本地文件建议使用绝对地址)
  21393. icon: {
  21394. type: String,
  21395. default: uni.$u.props.cell.icon
  21396. },
  21397. // 是否禁用cell
  21398. disabled: {
  21399. type: Boolean,
  21400. default: uni.$u.props.cell.disabled
  21401. },
  21402. // 是否显示下边框
  21403. border: {
  21404. type: Boolean,
  21405. default: uni.$u.props.cell.border
  21406. },
  21407. // 内容是否垂直居中(主要是针对右侧的value部分)
  21408. center: {
  21409. type: Boolean,
  21410. default: uni.$u.props.cell.center
  21411. },
  21412. // 点击后跳转的URL地址
  21413. url: {
  21414. type: String,
  21415. default: uni.$u.props.cell.url
  21416. },
  21417. // 链接跳转的方式,内部使用的是uView封装的route方法,可能会进行拦截操作
  21418. linkType: {
  21419. type: String,
  21420. default: uni.$u.props.cell.linkType
  21421. },
  21422. // 是否开启点击反馈(表现为点击时加上灰色背景)
  21423. clickable: {
  21424. type: Boolean,
  21425. default: uni.$u.props.cell.clickable
  21426. },
  21427. // 是否展示右侧箭头并开启点击反馈
  21428. isLink: {
  21429. type: Boolean,
  21430. default: uni.$u.props.cell.isLink
  21431. },
  21432. // 是否显示表单状态下的必填星号(此组件可能会内嵌入input组件)
  21433. required: {
  21434. type: Boolean,
  21435. default: uni.$u.props.cell.required
  21436. },
  21437. // 右侧的图标箭头
  21438. rightIcon: {
  21439. type: String,
  21440. default: uni.$u.props.cell.rightIcon
  21441. },
  21442. // 右侧箭头的方向,可选值为:left,up,down
  21443. arrowDirection: {
  21444. type: String,
  21445. default: uni.$u.props.cell.arrowDirection
  21446. },
  21447. // 左侧图标样式
  21448. iconStyle: {
  21449. type: [Object, String],
  21450. default: function _default() {
  21451. return uni.$u.props.cell.iconStyle;
  21452. }
  21453. },
  21454. // 右侧箭头图标的样式
  21455. rightIconStyle: {
  21456. type: [Object, String],
  21457. default: function _default() {
  21458. return uni.$u.props.cell.rightIconStyle;
  21459. }
  21460. },
  21461. // 标题的样式
  21462. titleStyle: {
  21463. type: [Object, String],
  21464. default: function _default() {
  21465. return uni.$u.props.cell.titleStyle;
  21466. }
  21467. },
  21468. // 单位元的大小,可选值为large
  21469. size: {
  21470. type: String,
  21471. default: uni.$u.props.cell.size
  21472. },
  21473. // 点击cell是否阻止事件传播
  21474. stop: {
  21475. type: Boolean,
  21476. default: uni.$u.props.cell.stop
  21477. },
  21478. // 标识符,cell被点击时返回
  21479. name: {
  21480. type: [Number, String],
  21481. default: uni.$u.props.cell.name
  21482. }
  21483. }
  21484. };
  21485. exports.default = _default2;
  21486. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21487. /***/ }),
  21488. /* 439 */,
  21489. /* 440 */,
  21490. /* 441 */,
  21491. /* 442 */,
  21492. /* 443 */,
  21493. /* 444 */,
  21494. /* 445 */,
  21495. /* 446 */
  21496. /*!**************************************************************************************************************************************************************!*\
  21497. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-radio-group/props.js ***!
  21498. \**************************************************************************************************************************************************************/
  21499. /*! no static exports found */
  21500. /***/ (function(module, exports, __webpack_require__) {
  21501. "use strict";
  21502. /* WEBPACK VAR INJECTION */(function(uni) {
  21503. Object.defineProperty(exports, "__esModule", {
  21504. value: true
  21505. });
  21506. exports.default = void 0;
  21507. var _default = {
  21508. props: {
  21509. // 绑定的值
  21510. value: {
  21511. type: [String, Number, Boolean],
  21512. default: uni.$u.props.radioGroup.value
  21513. },
  21514. // 是否禁用全部radio
  21515. disabled: {
  21516. type: Boolean,
  21517. default: uni.$u.props.radioGroup.disabled
  21518. },
  21519. // 形状,circle-圆形,square-方形
  21520. shape: {
  21521. type: String,
  21522. default: uni.$u.props.radioGroup.shape
  21523. },
  21524. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  21525. activeColor: {
  21526. type: String,
  21527. default: uni.$u.props.radioGroup.activeColor
  21528. },
  21529. // 未选中的颜色
  21530. inactiveColor: {
  21531. type: String,
  21532. default: uni.$u.props.radioGroup.inactiveColor
  21533. },
  21534. // 标识符
  21535. name: {
  21536. type: String,
  21537. default: uni.$u.props.radioGroup.name
  21538. },
  21539. // 整个组件的尺寸,默认px
  21540. size: {
  21541. type: [String, Number],
  21542. default: uni.$u.props.radioGroup.size
  21543. },
  21544. // 布局方式,row-横向,column-纵向
  21545. placement: {
  21546. type: String,
  21547. default: uni.$u.props.radioGroup.placement
  21548. },
  21549. // label的文本
  21550. label: {
  21551. type: [String],
  21552. default: uni.$u.props.radioGroup.label
  21553. },
  21554. // label的颜色 (默认 '#303133' )
  21555. labelColor: {
  21556. type: [String],
  21557. default: uni.$u.props.radioGroup.labelColor
  21558. },
  21559. // label的字体大小,px单位
  21560. labelSize: {
  21561. type: [String, Number],
  21562. default: uni.$u.props.radioGroup.labelSize
  21563. },
  21564. // 是否禁止点击文本操作checkbox(默认 false )
  21565. labelDisabled: {
  21566. type: Boolean,
  21567. default: uni.$u.props.radioGroup.labelDisabled
  21568. },
  21569. // 图标颜色
  21570. iconColor: {
  21571. type: String,
  21572. default: uni.$u.props.radioGroup.iconColor
  21573. },
  21574. // 图标的大小,单位px
  21575. iconSize: {
  21576. type: [String, Number],
  21577. default: uni.$u.props.radioGroup.iconSize
  21578. },
  21579. // 竖向配列时,是否显示下划线
  21580. borderBottom: {
  21581. type: Boolean,
  21582. default: uni.$u.props.radioGroup.borderBottom
  21583. },
  21584. // 图标与文字的对齐方式
  21585. iconPlacement: {
  21586. type: String,
  21587. default: uni.$u.props.radio.iconPlacement
  21588. }
  21589. }
  21590. };
  21591. exports.default = _default;
  21592. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21593. /***/ }),
  21594. /* 447 */,
  21595. /* 448 */,
  21596. /* 449 */,
  21597. /* 450 */,
  21598. /* 451 */,
  21599. /* 452 */,
  21600. /* 453 */,
  21601. /* 454 */
  21602. /*!********************************************************************************************************************************************************!*\
  21603. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-radio/props.js ***!
  21604. \********************************************************************************************************************************************************/
  21605. /*! no static exports found */
  21606. /***/ (function(module, exports, __webpack_require__) {
  21607. "use strict";
  21608. /* WEBPACK VAR INJECTION */(function(uni) {
  21609. Object.defineProperty(exports, "__esModule", {
  21610. value: true
  21611. });
  21612. exports.default = void 0;
  21613. var _default = {
  21614. props: {
  21615. // radio的名称
  21616. name: {
  21617. type: [String, Number, Boolean],
  21618. default: uni.$u.props.radio.name
  21619. },
  21620. // 形状,square为方形,circle为圆型
  21621. shape: {
  21622. type: String,
  21623. default: uni.$u.props.radio.shape
  21624. },
  21625. // 是否禁用
  21626. disabled: {
  21627. type: [String, Boolean],
  21628. default: uni.$u.props.radio.disabled
  21629. },
  21630. // 是否禁止点击提示语选中单选框
  21631. labelDisabled: {
  21632. type: [String, Boolean],
  21633. default: uni.$u.props.radio.labelDisabled
  21634. },
  21635. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  21636. activeColor: {
  21637. type: String,
  21638. default: uni.$u.props.radio.activeColor
  21639. },
  21640. // 未选中的颜色
  21641. inactiveColor: {
  21642. type: String,
  21643. default: uni.$u.props.radio.inactiveColor
  21644. },
  21645. // 图标的大小,单位px
  21646. iconSize: {
  21647. type: [String, Number],
  21648. default: uni.$u.props.radio.iconSize
  21649. },
  21650. // label的字体大小,px单位
  21651. labelSize: {
  21652. type: [String, Number],
  21653. default: uni.$u.props.radio.labelSize
  21654. },
  21655. // label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
  21656. label: {
  21657. type: [String, Number],
  21658. default: uni.$u.props.radio.label
  21659. },
  21660. // 整体的大小
  21661. size: {
  21662. type: [String, Number],
  21663. default: uni.$u.props.radio.size
  21664. },
  21665. // 图标颜色
  21666. color: {
  21667. type: String,
  21668. default: uni.$u.props.radio.color
  21669. },
  21670. // label的颜色
  21671. labelColor: {
  21672. type: String,
  21673. default: uni.$u.props.radio.labelColor
  21674. }
  21675. }
  21676. };
  21677. exports.default = _default;
  21678. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21679. /***/ }),
  21680. /* 455 */,
  21681. /* 456 */,
  21682. /* 457 */,
  21683. /* 458 */,
  21684. /* 459 */,
  21685. /* 460 */,
  21686. /* 461 */,
  21687. /* 462 */
  21688. /*!*******************************************************************************************************************************************************!*\
  21689. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-icon/icons.js ***!
  21690. \*******************************************************************************************************************************************************/
  21691. /*! no static exports found */
  21692. /***/ (function(module, exports, __webpack_require__) {
  21693. "use strict";
  21694. Object.defineProperty(exports, "__esModule", {
  21695. value: true
  21696. });
  21697. exports.default = void 0;
  21698. var _default = {
  21699. 'uicon-level': "\uE693",
  21700. 'uicon-column-line': "\uE68E",
  21701. 'uicon-checkbox-mark': "\uE807",
  21702. 'uicon-folder': "\uE7F5",
  21703. 'uicon-movie': "\uE7F6",
  21704. 'uicon-star-fill': "\uE669",
  21705. 'uicon-star': "\uE65F",
  21706. 'uicon-phone-fill': "\uE64F",
  21707. 'uicon-phone': "\uE622",
  21708. 'uicon-apple-fill': "\uE881",
  21709. 'uicon-chrome-circle-fill': "\uE885",
  21710. 'uicon-backspace': "\uE67B",
  21711. 'uicon-attach': "\uE632",
  21712. 'uicon-cut': "\uE948",
  21713. 'uicon-empty-car': "\uE602",
  21714. 'uicon-empty-coupon': "\uE682",
  21715. 'uicon-empty-address': "\uE646",
  21716. 'uicon-empty-favor': "\uE67C",
  21717. 'uicon-empty-permission': "\uE686",
  21718. 'uicon-empty-news': "\uE687",
  21719. 'uicon-empty-search': "\uE664",
  21720. 'uicon-github-circle-fill': "\uE887",
  21721. 'uicon-rmb': "\uE608",
  21722. 'uicon-person-delete-fill': "\uE66A",
  21723. 'uicon-reload': "\uE788",
  21724. 'uicon-order': "\uE68F",
  21725. 'uicon-server-man': "\uE6BC",
  21726. 'uicon-search': "\uE62A",
  21727. 'uicon-fingerprint': "\uE955",
  21728. 'uicon-more-dot-fill': "\uE630",
  21729. 'uicon-scan': "\uE662",
  21730. 'uicon-share-square': "\uE60B",
  21731. 'uicon-map': "\uE61D",
  21732. 'uicon-map-fill': "\uE64E",
  21733. 'uicon-tags': "\uE629",
  21734. 'uicon-tags-fill': "\uE651",
  21735. 'uicon-bookmark-fill': "\uE63B",
  21736. 'uicon-bookmark': "\uE60A",
  21737. 'uicon-eye': "\uE613",
  21738. 'uicon-eye-fill': "\uE641",
  21739. 'uicon-mic': "\uE64A",
  21740. 'uicon-mic-off': "\uE649",
  21741. 'uicon-calendar': "\uE66E",
  21742. 'uicon-calendar-fill': "\uE634",
  21743. 'uicon-trash': "\uE623",
  21744. 'uicon-trash-fill': "\uE658",
  21745. 'uicon-play-left': "\uE66D",
  21746. 'uicon-play-right': "\uE610",
  21747. 'uicon-minus': "\uE618",
  21748. 'uicon-plus': "\uE62D",
  21749. 'uicon-info': "\uE653",
  21750. 'uicon-info-circle': "\uE7D2",
  21751. 'uicon-info-circle-fill': "\uE64B",
  21752. 'uicon-question': "\uE715",
  21753. 'uicon-error': "\uE6D3",
  21754. 'uicon-close': "\uE685",
  21755. 'uicon-checkmark': "\uE6A8",
  21756. 'uicon-android-circle-fill': "\uE67E",
  21757. 'uicon-android-fill': "\uE67D",
  21758. 'uicon-ie': "\uE87B",
  21759. 'uicon-IE-circle-fill': "\uE889",
  21760. 'uicon-google': "\uE87A",
  21761. 'uicon-google-circle-fill': "\uE88A",
  21762. 'uicon-setting-fill': "\uE872",
  21763. 'uicon-setting': "\uE61F",
  21764. 'uicon-minus-square-fill': "\uE855",
  21765. 'uicon-plus-square-fill': "\uE856",
  21766. 'uicon-heart': "\uE7DF",
  21767. 'uicon-heart-fill': "\uE851",
  21768. 'uicon-camera': "\uE7D7",
  21769. 'uicon-camera-fill': "\uE870",
  21770. 'uicon-more-circle': "\uE63E",
  21771. 'uicon-more-circle-fill': "\uE645",
  21772. 'uicon-chat': "\uE620",
  21773. 'uicon-chat-fill': "\uE61E",
  21774. 'uicon-bag-fill': "\uE617",
  21775. 'uicon-bag': "\uE619",
  21776. 'uicon-error-circle-fill': "\uE62C",
  21777. 'uicon-error-circle': "\uE624",
  21778. 'uicon-close-circle': "\uE63F",
  21779. 'uicon-close-circle-fill': "\uE637",
  21780. 'uicon-checkmark-circle': "\uE63D",
  21781. 'uicon-checkmark-circle-fill': "\uE635",
  21782. 'uicon-question-circle-fill': "\uE666",
  21783. 'uicon-question-circle': "\uE625",
  21784. 'uicon-share': "\uE631",
  21785. 'uicon-share-fill': "\uE65E",
  21786. 'uicon-shopping-cart': "\uE621",
  21787. 'uicon-shopping-cart-fill': "\uE65D",
  21788. 'uicon-bell': "\uE609",
  21789. 'uicon-bell-fill': "\uE640",
  21790. 'uicon-list': "\uE650",
  21791. 'uicon-list-dot': "\uE616",
  21792. 'uicon-zhihu': "\uE6BA",
  21793. 'uicon-zhihu-circle-fill': "\uE709",
  21794. 'uicon-zhifubao': "\uE6B9",
  21795. 'uicon-zhifubao-circle-fill': "\uE6B8",
  21796. 'uicon-weixin-circle-fill': "\uE6B1",
  21797. 'uicon-weixin-fill': "\uE6B2",
  21798. 'uicon-twitter-circle-fill': "\uE6AB",
  21799. 'uicon-twitter': "\uE6AA",
  21800. 'uicon-taobao-circle-fill': "\uE6A7",
  21801. 'uicon-taobao': "\uE6A6",
  21802. 'uicon-weibo-circle-fill': "\uE6A5",
  21803. 'uicon-weibo': "\uE6A4",
  21804. 'uicon-qq-fill': "\uE6A1",
  21805. 'uicon-qq-circle-fill': "\uE6A0",
  21806. 'uicon-moments-circel-fill': "\uE69A",
  21807. 'uicon-moments': "\uE69B",
  21808. 'uicon-qzone': "\uE695",
  21809. 'uicon-qzone-circle-fill': "\uE696",
  21810. 'uicon-baidu-circle-fill': "\uE680",
  21811. 'uicon-baidu': "\uE681",
  21812. 'uicon-facebook-circle-fill': "\uE68A",
  21813. 'uicon-facebook': "\uE689",
  21814. 'uicon-car': "\uE60C",
  21815. 'uicon-car-fill': "\uE636",
  21816. 'uicon-warning-fill': "\uE64D",
  21817. 'uicon-warning': "\uE694",
  21818. 'uicon-clock-fill': "\uE638",
  21819. 'uicon-clock': "\uE60F",
  21820. 'uicon-edit-pen': "\uE612",
  21821. 'uicon-edit-pen-fill': "\uE66B",
  21822. 'uicon-email': "\uE611",
  21823. 'uicon-email-fill': "\uE642",
  21824. 'uicon-minus-circle': "\uE61B",
  21825. 'uicon-minus-circle-fill': "\uE652",
  21826. 'uicon-plus-circle': "\uE62E",
  21827. 'uicon-plus-circle-fill': "\uE661",
  21828. 'uicon-file-text': "\uE663",
  21829. 'uicon-file-text-fill': "\uE665",
  21830. 'uicon-pushpin': "\uE7E3",
  21831. 'uicon-pushpin-fill': "\uE86E",
  21832. 'uicon-grid': "\uE673",
  21833. 'uicon-grid-fill': "\uE678",
  21834. 'uicon-play-circle': "\uE647",
  21835. 'uicon-play-circle-fill': "\uE655",
  21836. 'uicon-pause-circle-fill': "\uE654",
  21837. 'uicon-pause': "\uE8FA",
  21838. 'uicon-pause-circle': "\uE643",
  21839. 'uicon-eye-off': "\uE648",
  21840. 'uicon-eye-off-outline': "\uE62B",
  21841. 'uicon-gift-fill': "\uE65C",
  21842. 'uicon-gift': "\uE65B",
  21843. 'uicon-rmb-circle-fill': "\uE657",
  21844. 'uicon-rmb-circle': "\uE677",
  21845. 'uicon-kefu-ermai': "\uE656",
  21846. 'uicon-server-fill': "\uE751",
  21847. 'uicon-coupon-fill': "\uE8C4",
  21848. 'uicon-coupon': "\uE8AE",
  21849. 'uicon-integral': "\uE704",
  21850. 'uicon-integral-fill': "\uE703",
  21851. 'uicon-home-fill': "\uE964",
  21852. 'uicon-home': "\uE965",
  21853. 'uicon-hourglass-half-fill': "\uE966",
  21854. 'uicon-hourglass': "\uE967",
  21855. 'uicon-account': "\uE628",
  21856. 'uicon-plus-people-fill': "\uE626",
  21857. 'uicon-minus-people-fill': "\uE615",
  21858. 'uicon-account-fill': "\uE614",
  21859. 'uicon-thumb-down-fill': "\uE726",
  21860. 'uicon-thumb-down': "\uE727",
  21861. 'uicon-thumb-up': "\uE733",
  21862. 'uicon-thumb-up-fill': "\uE72F",
  21863. 'uicon-lock-fill': "\uE979",
  21864. 'uicon-lock-open': "\uE973",
  21865. 'uicon-lock-opened-fill': "\uE974",
  21866. 'uicon-lock': "\uE97A",
  21867. 'uicon-red-packet-fill': "\uE690",
  21868. 'uicon-photo-fill': "\uE98B",
  21869. 'uicon-photo': "\uE98D",
  21870. 'uicon-volume-off-fill': "\uE659",
  21871. 'uicon-volume-off': "\uE644",
  21872. 'uicon-volume-fill': "\uE670",
  21873. 'uicon-volume': "\uE633",
  21874. 'uicon-red-packet': "\uE691",
  21875. 'uicon-download': "\uE63C",
  21876. 'uicon-arrow-up-fill': "\uE6B0",
  21877. 'uicon-arrow-down-fill': "\uE600",
  21878. 'uicon-play-left-fill': "\uE675",
  21879. 'uicon-play-right-fill': "\uE676",
  21880. 'uicon-rewind-left-fill': "\uE679",
  21881. 'uicon-rewind-right-fill': "\uE67A",
  21882. 'uicon-arrow-downward': "\uE604",
  21883. 'uicon-arrow-leftward': "\uE601",
  21884. 'uicon-arrow-rightward': "\uE603",
  21885. 'uicon-arrow-upward': "\uE607",
  21886. 'uicon-arrow-down': "\uE60D",
  21887. 'uicon-arrow-right': "\uE605",
  21888. 'uicon-arrow-left': "\uE60E",
  21889. 'uicon-arrow-up': "\uE606",
  21890. 'uicon-skip-back-left': "\uE674",
  21891. 'uicon-skip-forward-right': "\uE672",
  21892. 'uicon-rewind-right': "\uE66F",
  21893. 'uicon-rewind-left': "\uE671",
  21894. 'uicon-arrow-right-double': "\uE68D",
  21895. 'uicon-arrow-left-double': "\uE68C",
  21896. 'uicon-wifi-off': "\uE668",
  21897. 'uicon-wifi': "\uE667",
  21898. 'uicon-empty-data': "\uE62F",
  21899. 'uicon-empty-history': "\uE684",
  21900. 'uicon-empty-list': "\uE68B",
  21901. 'uicon-empty-page': "\uE627",
  21902. 'uicon-empty-order': "\uE639",
  21903. 'uicon-man': "\uE697",
  21904. 'uicon-woman': "\uE69C",
  21905. 'uicon-man-add': "\uE61C",
  21906. 'uicon-man-add-fill': "\uE64C",
  21907. 'uicon-man-delete': "\uE61A",
  21908. 'uicon-man-delete-fill': "\uE66A",
  21909. 'uicon-zh': "\uE70A",
  21910. 'uicon-en': "\uE692"
  21911. };
  21912. exports.default = _default;
  21913. /***/ }),
  21914. /* 463 */
  21915. /*!*******************************************************************************************************************************************************!*\
  21916. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-icon/props.js ***!
  21917. \*******************************************************************************************************************************************************/
  21918. /*! no static exports found */
  21919. /***/ (function(module, exports, __webpack_require__) {
  21920. "use strict";
  21921. /* WEBPACK VAR INJECTION */(function(uni) {
  21922. Object.defineProperty(exports, "__esModule", {
  21923. value: true
  21924. });
  21925. exports.default = void 0;
  21926. var _default = {
  21927. props: {
  21928. // 图标类名
  21929. name: {
  21930. type: String,
  21931. default: uni.$u.props.icon.name
  21932. },
  21933. // 图标颜色,可接受主题色
  21934. color: {
  21935. type: String,
  21936. default: uni.$u.props.icon.color
  21937. },
  21938. // 字体大小,单位px
  21939. size: {
  21940. type: [String, Number],
  21941. default: uni.$u.props.icon.size
  21942. },
  21943. // 是否显示粗体
  21944. bold: {
  21945. type: Boolean,
  21946. default: uni.$u.props.icon.bold
  21947. },
  21948. // 点击图标的时候传递事件出去的index(用于区分点击了哪一个)
  21949. index: {
  21950. type: [String, Number],
  21951. default: uni.$u.props.icon.index
  21952. },
  21953. // 触摸图标时的类名
  21954. hoverClass: {
  21955. type: String,
  21956. default: uni.$u.props.icon.hoverClass
  21957. },
  21958. // 自定义扩展前缀,方便用户扩展自己的图标库
  21959. customPrefix: {
  21960. type: String,
  21961. default: uni.$u.props.icon.customPrefix
  21962. },
  21963. // 图标右边或者下面的文字
  21964. label: {
  21965. type: [String, Number],
  21966. default: uni.$u.props.icon.label
  21967. },
  21968. // label的位置,只能右边或者下边
  21969. labelPos: {
  21970. type: String,
  21971. default: uni.$u.props.icon.labelPos
  21972. },
  21973. // label的大小
  21974. labelSize: {
  21975. type: [String, Number],
  21976. default: uni.$u.props.icon.labelSize
  21977. },
  21978. // label的颜色
  21979. labelColor: {
  21980. type: String,
  21981. default: uni.$u.props.icon.labelColor
  21982. },
  21983. // label与图标的距离
  21984. space: {
  21985. type: [String, Number],
  21986. default: uni.$u.props.icon.space
  21987. },
  21988. // 图片的mode
  21989. imgMode: {
  21990. type: String,
  21991. default: uni.$u.props.icon.imgMode
  21992. },
  21993. // 用于显示图片小图标时,图片的宽度
  21994. width: {
  21995. type: [String, Number],
  21996. default: uni.$u.props.icon.width
  21997. },
  21998. // 用于显示图片小图标时,图片的高度
  21999. height: {
  22000. type: [String, Number],
  22001. default: uni.$u.props.icon.height
  22002. },
  22003. // 用于解决某些情况下,让图标垂直居中的用途
  22004. top: {
  22005. type: [String, Number],
  22006. default: uni.$u.props.icon.top
  22007. },
  22008. // 是否阻止事件传播
  22009. stop: {
  22010. type: Boolean,
  22011. default: uni.$u.props.icon.stop
  22012. }
  22013. }
  22014. };
  22015. exports.default = _default;
  22016. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22017. /***/ }),
  22018. /* 464 */,
  22019. /* 465 */,
  22020. /* 466 */,
  22021. /* 467 */,
  22022. /* 468 */,
  22023. /* 469 */,
  22024. /* 470 */,
  22025. /* 471 */,
  22026. /* 472 */,
  22027. /* 473 */,
  22028. /* 474 */,
  22029. /* 475 */,
  22030. /* 476 */,
  22031. /* 477 */,
  22032. /* 478 */
  22033. /*!**********************************************************************************************************************************************************!*\
  22034. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-overlay/props.js ***!
  22035. \**********************************************************************************************************************************************************/
  22036. /*! no static exports found */
  22037. /***/ (function(module, exports, __webpack_require__) {
  22038. "use strict";
  22039. /* WEBPACK VAR INJECTION */(function(uni) {
  22040. Object.defineProperty(exports, "__esModule", {
  22041. value: true
  22042. });
  22043. exports.default = void 0;
  22044. var _default = {
  22045. props: {
  22046. // 是否显示遮罩
  22047. show: {
  22048. type: Boolean,
  22049. default: uni.$u.props.overlay.show
  22050. },
  22051. // 层级z-index
  22052. zIndex: {
  22053. type: [String, Number],
  22054. default: uni.$u.props.overlay.zIndex
  22055. },
  22056. // 遮罩的过渡时间,单位为ms
  22057. duration: {
  22058. type: [String, Number],
  22059. default: uni.$u.props.overlay.duration
  22060. },
  22061. // 不透明度值,当做rgba的第四个参数
  22062. opacity: {
  22063. type: [String, Number],
  22064. default: uni.$u.props.overlay.opacity
  22065. }
  22066. }
  22067. };
  22068. exports.default = _default;
  22069. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22070. /***/ }),
  22071. /* 479 */,
  22072. /* 480 */,
  22073. /* 481 */,
  22074. /* 482 */,
  22075. /* 483 */,
  22076. /* 484 */,
  22077. /* 485 */,
  22078. /* 486 */
  22079. /*!***************************************************************************************************************************************************************!*\
  22080. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-loading-icon/props.js ***!
  22081. \***************************************************************************************************************************************************************/
  22082. /*! no static exports found */
  22083. /***/ (function(module, exports, __webpack_require__) {
  22084. "use strict";
  22085. /* WEBPACK VAR INJECTION */(function(uni) {
  22086. Object.defineProperty(exports, "__esModule", {
  22087. value: true
  22088. });
  22089. exports.default = void 0;
  22090. var _default = {
  22091. props: {
  22092. // 是否显示组件
  22093. show: {
  22094. type: Boolean,
  22095. default: uni.$u.props.loadingIcon.show
  22096. },
  22097. // 颜色
  22098. color: {
  22099. type: String,
  22100. default: uni.$u.props.loadingIcon.color
  22101. },
  22102. // 提示文字颜色
  22103. textColor: {
  22104. type: String,
  22105. default: uni.$u.props.loadingIcon.textColor
  22106. },
  22107. // 文字和图标是否垂直排列
  22108. vertical: {
  22109. type: Boolean,
  22110. default: uni.$u.props.loadingIcon.vertical
  22111. },
  22112. // 模式选择,circle-圆形,spinner-花朵形,semicircle-半圆形
  22113. mode: {
  22114. type: String,
  22115. default: uni.$u.props.loadingIcon.mode
  22116. },
  22117. // 图标大小,单位默认px
  22118. size: {
  22119. type: [String, Number],
  22120. default: uni.$u.props.loadingIcon.size
  22121. },
  22122. // 文字大小
  22123. textSize: {
  22124. type: [String, Number],
  22125. default: uni.$u.props.loadingIcon.textSize
  22126. },
  22127. // 文字内容
  22128. text: {
  22129. type: [String, Number],
  22130. default: uni.$u.props.loadingIcon.text
  22131. },
  22132. // 动画模式
  22133. timingFunction: {
  22134. type: String,
  22135. default: uni.$u.props.loadingIcon.timingFunction
  22136. },
  22137. // 动画执行周期时间
  22138. duration: {
  22139. type: [String, Number],
  22140. default: uni.$u.props.loadingIcon.duration
  22141. },
  22142. // mode=circle时的暗边颜色
  22143. inactiveColor: {
  22144. type: String,
  22145. default: uni.$u.props.loadingIcon.inactiveColor
  22146. }
  22147. }
  22148. };
  22149. exports.default = _default;
  22150. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22151. /***/ }),
  22152. /* 487 */,
  22153. /* 488 */,
  22154. /* 489 */,
  22155. /* 490 */,
  22156. /* 491 */,
  22157. /* 492 */,
  22158. /* 493 */,
  22159. /* 494 */
  22160. /*!******************************************************************************************************************************************************!*\
  22161. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-gap/props.js ***!
  22162. \******************************************************************************************************************************************************/
  22163. /*! no static exports found */
  22164. /***/ (function(module, exports, __webpack_require__) {
  22165. "use strict";
  22166. /* WEBPACK VAR INJECTION */(function(uni) {
  22167. Object.defineProperty(exports, "__esModule", {
  22168. value: true
  22169. });
  22170. exports.default = void 0;
  22171. var _default = {
  22172. props: {
  22173. // 背景颜色(默认transparent)
  22174. bgColor: {
  22175. type: String,
  22176. default: uni.$u.props.gap.bgColor
  22177. },
  22178. // 分割槽高度,单位px(默认30)
  22179. height: {
  22180. type: [String, Number],
  22181. default: uni.$u.props.gap.height
  22182. },
  22183. // 与上一个组件的距离
  22184. marginTop: {
  22185. type: [String, Number],
  22186. default: uni.$u.props.gap.marginTop
  22187. },
  22188. // 与下一个组件的距离
  22189. marginBottom: {
  22190. type: [String, Number],
  22191. default: uni.$u.props.gap.marginBottom
  22192. }
  22193. }
  22194. };
  22195. exports.default = _default;
  22196. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22197. /***/ }),
  22198. /* 495 */,
  22199. /* 496 */,
  22200. /* 497 */,
  22201. /* 498 */,
  22202. /* 499 */,
  22203. /* 500 */,
  22204. /* 501 */,
  22205. /* 502 */
  22206. /*!*********************************************************************************************************************************************************!*\
  22207. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/util/async-validator.js ***!
  22208. \*********************************************************************************************************************************************************/
  22209. /*! no static exports found */
  22210. /***/ (function(module, exports, __webpack_require__) {
  22211. "use strict";
  22212. /* WEBPACK VAR INJECTION */(function(process) {
  22213. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  22214. Object.defineProperty(exports, "__esModule", {
  22215. value: true
  22216. });
  22217. exports.default = void 0;
  22218. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  22219. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  22220. 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; }
  22221. 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; }
  22222. function _extends() {
  22223. _extends = Object.assign || function (target) {
  22224. for (var i = 1; i < arguments.length; i++) {
  22225. var source = arguments[i];
  22226. for (var key in source) {
  22227. if (Object.prototype.hasOwnProperty.call(source, key)) {
  22228. target[key] = source[key];
  22229. }
  22230. }
  22231. }
  22232. return target;
  22233. };
  22234. return _extends.apply(this, arguments);
  22235. }
  22236. /* eslint no-console:0 */
  22237. var formatRegExp = /%[sdj%]/g;
  22238. var warning = function warning() {}; // don't print warning message when in production env or node runtime
  22239. if (typeof process !== 'undefined' && Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
  22240. warning = function warning(type, errors) {
  22241. if (typeof console !== 'undefined' && console.warn) {
  22242. if (errors.every(function (e) {
  22243. return typeof e === 'string';
  22244. })) {
  22245. console.warn(type, errors);
  22246. }
  22247. }
  22248. };
  22249. }
  22250. function convertFieldsError(errors) {
  22251. if (!errors || !errors.length) return null;
  22252. var fields = {};
  22253. errors.forEach(function (error) {
  22254. var field = error.field;
  22255. fields[field] = fields[field] || [];
  22256. fields[field].push(error);
  22257. });
  22258. return fields;
  22259. }
  22260. function format() {
  22261. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  22262. args[_key] = arguments[_key];
  22263. }
  22264. var i = 1;
  22265. var f = args[0];
  22266. var len = args.length;
  22267. if (typeof f === 'function') {
  22268. return f.apply(null, args.slice(1));
  22269. }
  22270. if (typeof f === 'string') {
  22271. var str = String(f).replace(formatRegExp, function (x) {
  22272. if (x === '%%') {
  22273. return '%';
  22274. }
  22275. if (i >= len) {
  22276. return x;
  22277. }
  22278. switch (x) {
  22279. case '%s':
  22280. return String(args[i++]);
  22281. case '%d':
  22282. return Number(args[i++]);
  22283. case '%j':
  22284. try {
  22285. return JSON.stringify(args[i++]);
  22286. } catch (_) {
  22287. return '[Circular]';
  22288. }
  22289. break;
  22290. default:
  22291. return x;
  22292. }
  22293. });
  22294. for (var arg = args[i]; i < len; arg = args[++i]) {
  22295. str += " ".concat(arg);
  22296. }
  22297. return str;
  22298. }
  22299. return f;
  22300. }
  22301. function isNativeStringType(type) {
  22302. return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'pattern';
  22303. }
  22304. function isEmptyValue(value, type) {
  22305. if (value === undefined || value === null) {
  22306. return true;
  22307. }
  22308. if (type === 'array' && Array.isArray(value) && !value.length) {
  22309. return true;
  22310. }
  22311. if (isNativeStringType(type) && typeof value === 'string' && !value) {
  22312. return true;
  22313. }
  22314. return false;
  22315. }
  22316. function asyncParallelArray(arr, func, callback) {
  22317. var results = [];
  22318. var total = 0;
  22319. var arrLength = arr.length;
  22320. function count(errors) {
  22321. results.push.apply(results, errors);
  22322. total++;
  22323. if (total === arrLength) {
  22324. callback(results);
  22325. }
  22326. }
  22327. arr.forEach(function (a) {
  22328. func(a, count);
  22329. });
  22330. }
  22331. function asyncSerialArray(arr, func, callback) {
  22332. var index = 0;
  22333. var arrLength = arr.length;
  22334. function next(errors) {
  22335. if (errors && errors.length) {
  22336. callback(errors);
  22337. return;
  22338. }
  22339. var original = index;
  22340. index += 1;
  22341. if (original < arrLength) {
  22342. func(arr[original], next);
  22343. } else {
  22344. callback([]);
  22345. }
  22346. }
  22347. next([]);
  22348. }
  22349. function flattenObjArr(objArr) {
  22350. var ret = [];
  22351. Object.keys(objArr).forEach(function (k) {
  22352. ret.push.apply(ret, objArr[k]);
  22353. });
  22354. return ret;
  22355. }
  22356. function asyncMap(objArr, option, func, callback) {
  22357. if (option.first) {
  22358. var _pending = new Promise(function (resolve, reject) {
  22359. var next = function next(errors) {
  22360. callback(errors);
  22361. return errors.length ? reject({
  22362. errors: errors,
  22363. fields: convertFieldsError(errors)
  22364. }) : resolve();
  22365. };
  22366. var flattenArr = flattenObjArr(objArr);
  22367. asyncSerialArray(flattenArr, func, next);
  22368. });
  22369. _pending.catch(function (e) {
  22370. return e;
  22371. });
  22372. return _pending;
  22373. }
  22374. var firstFields = option.firstFields || [];
  22375. if (firstFields === true) {
  22376. firstFields = Object.keys(objArr);
  22377. }
  22378. var objArrKeys = Object.keys(objArr);
  22379. var objArrLength = objArrKeys.length;
  22380. var total = 0;
  22381. var results = [];
  22382. var pending = new Promise(function (resolve, reject) {
  22383. var next = function next(errors) {
  22384. results.push.apply(results, errors);
  22385. total++;
  22386. if (total === objArrLength) {
  22387. callback(results);
  22388. return results.length ? reject({
  22389. errors: results,
  22390. fields: convertFieldsError(results)
  22391. }) : resolve();
  22392. }
  22393. };
  22394. if (!objArrKeys.length) {
  22395. callback(results);
  22396. resolve();
  22397. }
  22398. objArrKeys.forEach(function (key) {
  22399. var arr = objArr[key];
  22400. if (firstFields.indexOf(key) !== -1) {
  22401. asyncSerialArray(arr, func, next);
  22402. } else {
  22403. asyncParallelArray(arr, func, next);
  22404. }
  22405. });
  22406. });
  22407. pending.catch(function (e) {
  22408. return e;
  22409. });
  22410. return pending;
  22411. }
  22412. function complementError(rule) {
  22413. return function (oe) {
  22414. if (oe && oe.message) {
  22415. oe.field = oe.field || rule.fullField;
  22416. return oe;
  22417. }
  22418. return {
  22419. message: typeof oe === 'function' ? oe() : oe,
  22420. field: oe.field || rule.fullField
  22421. };
  22422. };
  22423. }
  22424. function deepMerge(target, source) {
  22425. if (source) {
  22426. for (var s in source) {
  22427. if (source.hasOwnProperty(s)) {
  22428. var value = source[s];
  22429. if ((0, _typeof2.default)(value) === 'object' && (0, _typeof2.default)(target[s]) === 'object') {
  22430. target[s] = _objectSpread(_objectSpread({}, target[s]), value);
  22431. } else {
  22432. target[s] = value;
  22433. }
  22434. }
  22435. }
  22436. }
  22437. return target;
  22438. }
  22439. /**
  22440. * Rule for validating required fields.
  22441. *
  22442. * @param rule The validation rule.
  22443. * @param value The value of the field on the source object.
  22444. * @param source The source object being validated.
  22445. * @param errors An array of errors that this rule may add
  22446. * validation errors to.
  22447. * @param options The validation options.
  22448. * @param options.messages The validation messages.
  22449. */
  22450. function required(rule, value, source, errors, options, type) {
  22451. if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {
  22452. errors.push(format(options.messages.required, rule.fullField));
  22453. }
  22454. }
  22455. /**
  22456. * Rule for validating whitespace.
  22457. *
  22458. * @param rule The validation rule.
  22459. * @param value The value of the field on the source object.
  22460. * @param source The source object being validated.
  22461. * @param errors An array of errors that this rule may add
  22462. * validation errors to.
  22463. * @param options The validation options.
  22464. * @param options.messages The validation messages.
  22465. */
  22466. function whitespace(rule, value, source, errors, options) {
  22467. if (/^\s+$/.test(value) || value === '') {
  22468. errors.push(format(options.messages.whitespace, rule.fullField));
  22469. }
  22470. }
  22471. /* eslint max-len:0 */
  22472. var pattern = {
  22473. // http://emailregex.com/
  22474. 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,}))$/,
  22475. 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'),
  22476. hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
  22477. };
  22478. var types = {
  22479. integer: function integer(value) {
  22480. return /^(-)?\d+$/.test(value);
  22481. },
  22482. float: function float(value) {
  22483. return /^(-)?\d+(\.\d+)?$/.test(value);
  22484. },
  22485. array: function array(value) {
  22486. return Array.isArray(value);
  22487. },
  22488. regexp: function regexp(value) {
  22489. if (value instanceof RegExp) {
  22490. return true;
  22491. }
  22492. try {
  22493. return !!new RegExp(value);
  22494. } catch (e) {
  22495. return false;
  22496. }
  22497. },
  22498. date: function date(value) {
  22499. return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function';
  22500. },
  22501. number: function number(value) {
  22502. if (isNaN(value)) {
  22503. return false;
  22504. }
  22505. // 修改源码,将字符串数值先转为数值
  22506. return typeof +value === 'number';
  22507. },
  22508. object: function object(value) {
  22509. return (0, _typeof2.default)(value) === 'object' && !types.array(value);
  22510. },
  22511. method: function method(value) {
  22512. return typeof value === 'function';
  22513. },
  22514. email: function email(value) {
  22515. return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;
  22516. },
  22517. url: function url(value) {
  22518. return typeof value === 'string' && !!value.match(pattern.url);
  22519. },
  22520. hex: function hex(value) {
  22521. return typeof value === 'string' && !!value.match(pattern.hex);
  22522. }
  22523. };
  22524. /**
  22525. * Rule for validating the type of a value.
  22526. *
  22527. * @param rule The validation rule.
  22528. * @param value The value of the field on the source object.
  22529. * @param source The source object being validated.
  22530. * @param errors An array of errors that this rule may add
  22531. * validation errors to.
  22532. * @param options The validation options.
  22533. * @param options.messages The validation messages.
  22534. */
  22535. function type(rule, value, source, errors, options) {
  22536. if (rule.required && value === undefined) {
  22537. required(rule, value, source, errors, options);
  22538. return;
  22539. }
  22540. var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];
  22541. var ruleType = rule.type;
  22542. if (custom.indexOf(ruleType) > -1) {
  22543. if (!types[ruleType](value)) {
  22544. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  22545. } // straight typeof check
  22546. } else if (ruleType && (0, _typeof2.default)(value) !== rule.type) {
  22547. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  22548. }
  22549. }
  22550. /**
  22551. * Rule for validating minimum and maximum allowed values.
  22552. *
  22553. * @param rule The validation rule.
  22554. * @param value The value of the field on the source object.
  22555. * @param source The source object being validated.
  22556. * @param errors An array of errors that this rule may add
  22557. * validation errors to.
  22558. * @param options The validation options.
  22559. * @param options.messages The validation messages.
  22560. */
  22561. function range(rule, value, source, errors, options) {
  22562. var len = typeof rule.len === 'number';
  22563. var min = typeof rule.min === 'number';
  22564. var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)
  22565. var spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
  22566. var val = value;
  22567. var key = null;
  22568. var num = typeof value === 'number';
  22569. var str = typeof value === 'string';
  22570. var arr = Array.isArray(value);
  22571. if (num) {
  22572. key = 'number';
  22573. } else if (str) {
  22574. key = 'string';
  22575. } else if (arr) {
  22576. key = 'array';
  22577. } // if the value is not of a supported type for range validation
  22578. // the validation rule rule should use the
  22579. // type property to also test for a particular type
  22580. if (!key) {
  22581. return false;
  22582. }
  22583. if (arr) {
  22584. val = value.length;
  22585. }
  22586. if (str) {
  22587. // 处理码点大于U+010000的文字length属性不准确的bug,如"𠮷𠮷𠮷".lenght !== 3
  22588. val = value.replace(spRegexp, '_').length;
  22589. }
  22590. if (len) {
  22591. if (val !== rule.len) {
  22592. errors.push(format(options.messages[key].len, rule.fullField, rule.len));
  22593. }
  22594. } else if (min && !max && val < rule.min) {
  22595. errors.push(format(options.messages[key].min, rule.fullField, rule.min));
  22596. } else if (max && !min && val > rule.max) {
  22597. errors.push(format(options.messages[key].max, rule.fullField, rule.max));
  22598. } else if (min && max && (val < rule.min || val > rule.max)) {
  22599. errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));
  22600. }
  22601. }
  22602. var ENUM = 'enum';
  22603. /**
  22604. * Rule for validating a value exists in an enumerable list.
  22605. *
  22606. * @param rule The validation rule.
  22607. * @param value The value of the field on the source object.
  22608. * @param source The source object being validated.
  22609. * @param errors An array of errors that this rule may add
  22610. * validation errors to.
  22611. * @param options The validation options.
  22612. * @param options.messages The validation messages.
  22613. */
  22614. function enumerable(rule, value, source, errors, options) {
  22615. rule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : [];
  22616. if (rule[ENUM].indexOf(value) === -1) {
  22617. errors.push(format(options.messages[ENUM], rule.fullField, rule[ENUM].join(', ')));
  22618. }
  22619. }
  22620. /**
  22621. * Rule for validating a regular expression pattern.
  22622. *
  22623. * @param rule The validation rule.
  22624. * @param value The value of the field on the source object.
  22625. * @param source The source object being validated.
  22626. * @param errors An array of errors that this rule may add
  22627. * validation errors to.
  22628. * @param options The validation options.
  22629. * @param options.messages The validation messages.
  22630. */
  22631. function pattern$1(rule, value, source, errors, options) {
  22632. if (rule.pattern) {
  22633. if (rule.pattern instanceof RegExp) {
  22634. // if a RegExp instance is passed, reset `lastIndex` in case its `global`
  22635. // flag is accidentally set to `true`, which in a validation scenario
  22636. // is not necessary and the result might be misleading
  22637. rule.pattern.lastIndex = 0;
  22638. if (!rule.pattern.test(value)) {
  22639. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  22640. }
  22641. } else if (typeof rule.pattern === 'string') {
  22642. var _pattern = new RegExp(rule.pattern);
  22643. if (!_pattern.test(value)) {
  22644. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  22645. }
  22646. }
  22647. }
  22648. }
  22649. var rules = {
  22650. required: required,
  22651. whitespace: whitespace,
  22652. type: type,
  22653. range: range,
  22654. enum: enumerable,
  22655. pattern: pattern$1
  22656. };
  22657. /**
  22658. * Performs validation for string types.
  22659. *
  22660. * @param rule The validation rule.
  22661. * @param value The value of the field on the source object.
  22662. * @param callback The callback function.
  22663. * @param source The source object being validated.
  22664. * @param options The validation options.
  22665. * @param options.messages The validation messages.
  22666. */
  22667. function string(rule, value, callback, source, options) {
  22668. var errors = [];
  22669. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22670. if (validate) {
  22671. if (isEmptyValue(value, 'string') && !rule.required) {
  22672. return callback();
  22673. }
  22674. rules.required(rule, value, source, errors, options, 'string');
  22675. if (!isEmptyValue(value, 'string')) {
  22676. rules.type(rule, value, source, errors, options);
  22677. rules.range(rule, value, source, errors, options);
  22678. rules.pattern(rule, value, source, errors, options);
  22679. if (rule.whitespace === true) {
  22680. rules.whitespace(rule, value, source, errors, options);
  22681. }
  22682. }
  22683. }
  22684. callback(errors);
  22685. }
  22686. /**
  22687. * Validates a function.
  22688. *
  22689. * @param rule The validation rule.
  22690. * @param value The value of the field on the source object.
  22691. * @param callback The callback function.
  22692. * @param source The source object being validated.
  22693. * @param options The validation options.
  22694. * @param options.messages The validation messages.
  22695. */
  22696. function method(rule, value, callback, source, options) {
  22697. var errors = [];
  22698. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22699. if (validate) {
  22700. if (isEmptyValue(value) && !rule.required) {
  22701. return callback();
  22702. }
  22703. rules.required(rule, value, source, errors, options);
  22704. if (value !== undefined) {
  22705. rules.type(rule, value, source, errors, options);
  22706. }
  22707. }
  22708. callback(errors);
  22709. }
  22710. /**
  22711. * Validates a number.
  22712. *
  22713. * @param rule The validation rule.
  22714. * @param value The value of the field on the source object.
  22715. * @param callback The callback function.
  22716. * @param source The source object being validated.
  22717. * @param options The validation options.
  22718. * @param options.messages The validation messages.
  22719. */
  22720. function number(rule, value, callback, source, options) {
  22721. var errors = [];
  22722. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22723. if (validate) {
  22724. if (value === '') {
  22725. value = undefined;
  22726. }
  22727. if (isEmptyValue(value) && !rule.required) {
  22728. return callback();
  22729. }
  22730. rules.required(rule, value, source, errors, options);
  22731. if (value !== undefined) {
  22732. rules.type(rule, value, source, errors, options);
  22733. rules.range(rule, value, source, errors, options);
  22734. }
  22735. }
  22736. callback(errors);
  22737. }
  22738. /**
  22739. * Validates a boolean.
  22740. *
  22741. * @param rule The validation rule.
  22742. * @param value The value of the field on the source object.
  22743. * @param callback The callback function.
  22744. * @param source The source object being validated.
  22745. * @param options The validation options.
  22746. * @param options.messages The validation messages.
  22747. */
  22748. function _boolean(rule, value, callback, source, options) {
  22749. var errors = [];
  22750. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22751. if (validate) {
  22752. if (isEmptyValue(value) && !rule.required) {
  22753. return callback();
  22754. }
  22755. rules.required(rule, value, source, errors, options);
  22756. if (value !== undefined) {
  22757. rules.type(rule, value, source, errors, options);
  22758. }
  22759. }
  22760. callback(errors);
  22761. }
  22762. /**
  22763. * Validates the regular expression type.
  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 regexp(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 (!isEmptyValue(value)) {
  22781. rules.type(rule, value, source, errors, options);
  22782. }
  22783. }
  22784. callback(errors);
  22785. }
  22786. /**
  22787. * Validates a number is an integer.
  22788. *
  22789. * @param rule The validation rule.
  22790. * @param value The value of the field on the source object.
  22791. * @param callback The callback function.
  22792. * @param source The source object being validated.
  22793. * @param options The validation options.
  22794. * @param options.messages The validation messages.
  22795. */
  22796. function integer(rule, value, callback, source, options) {
  22797. var errors = [];
  22798. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22799. if (validate) {
  22800. if (isEmptyValue(value) && !rule.required) {
  22801. return callback();
  22802. }
  22803. rules.required(rule, value, source, errors, options);
  22804. if (value !== undefined) {
  22805. rules.type(rule, value, source, errors, options);
  22806. rules.range(rule, value, source, errors, options);
  22807. }
  22808. }
  22809. callback(errors);
  22810. }
  22811. /**
  22812. * Validates a number is a floating point number.
  22813. *
  22814. * @param rule The validation rule.
  22815. * @param value The value of the field on the source object.
  22816. * @param callback The callback function.
  22817. * @param source The source object being validated.
  22818. * @param options The validation options.
  22819. * @param options.messages The validation messages.
  22820. */
  22821. function floatFn(rule, value, callback, source, options) {
  22822. var errors = [];
  22823. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22824. if (validate) {
  22825. if (isEmptyValue(value) && !rule.required) {
  22826. return callback();
  22827. }
  22828. rules.required(rule, value, source, errors, options);
  22829. if (value !== undefined) {
  22830. rules.type(rule, value, source, errors, options);
  22831. rules.range(rule, value, source, errors, options);
  22832. }
  22833. }
  22834. callback(errors);
  22835. }
  22836. /**
  22837. * Validates an array.
  22838. *
  22839. * @param rule The validation rule.
  22840. * @param value The value of the field on the source object.
  22841. * @param callback The callback function.
  22842. * @param source The source object being validated.
  22843. * @param options The validation options.
  22844. * @param options.messages The validation messages.
  22845. */
  22846. function array(rule, value, callback, source, options) {
  22847. var errors = [];
  22848. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22849. if (validate) {
  22850. if (isEmptyValue(value, 'array') && !rule.required) {
  22851. return callback();
  22852. }
  22853. rules.required(rule, value, source, errors, options, 'array');
  22854. if (!isEmptyValue(value, 'array')) {
  22855. rules.type(rule, value, source, errors, options);
  22856. rules.range(rule, value, source, errors, options);
  22857. }
  22858. }
  22859. callback(errors);
  22860. }
  22861. /**
  22862. * Validates an object.
  22863. *
  22864. * @param rule The validation rule.
  22865. * @param value The value of the field on the source object.
  22866. * @param callback The callback function.
  22867. * @param source The source object being validated.
  22868. * @param options The validation options.
  22869. * @param options.messages The validation messages.
  22870. */
  22871. function object(rule, value, callback, source, options) {
  22872. var errors = [];
  22873. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22874. if (validate) {
  22875. if (isEmptyValue(value) && !rule.required) {
  22876. return callback();
  22877. }
  22878. rules.required(rule, value, source, errors, options);
  22879. if (value !== undefined) {
  22880. rules.type(rule, value, source, errors, options);
  22881. }
  22882. }
  22883. callback(errors);
  22884. }
  22885. var ENUM$1 = 'enum';
  22886. /**
  22887. * Validates an enumerable list.
  22888. *
  22889. * @param rule The validation rule.
  22890. * @param value The value of the field on the source object.
  22891. * @param callback The callback function.
  22892. * @param source The source object being validated.
  22893. * @param options The validation options.
  22894. * @param options.messages The validation messages.
  22895. */
  22896. function enumerable$1(rule, value, callback, source, options) {
  22897. var errors = [];
  22898. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22899. if (validate) {
  22900. if (isEmptyValue(value) && !rule.required) {
  22901. return callback();
  22902. }
  22903. rules.required(rule, value, source, errors, options);
  22904. if (value !== undefined) {
  22905. rules[ENUM$1](rule, value, source, errors, options);
  22906. }
  22907. }
  22908. callback(errors);
  22909. }
  22910. /**
  22911. * Validates a regular expression pattern.
  22912. *
  22913. * Performs validation when a rule only contains
  22914. * a pattern property but is not declared as a string type.
  22915. *
  22916. * @param rule The validation rule.
  22917. * @param value The value of the field on the source object.
  22918. * @param callback The callback function.
  22919. * @param source The source object being validated.
  22920. * @param options The validation options.
  22921. * @param options.messages The validation messages.
  22922. */
  22923. function pattern$2(rule, value, callback, source, options) {
  22924. var errors = [];
  22925. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22926. if (validate) {
  22927. if (isEmptyValue(value, 'string') && !rule.required) {
  22928. return callback();
  22929. }
  22930. rules.required(rule, value, source, errors, options);
  22931. if (!isEmptyValue(value, 'string')) {
  22932. rules.pattern(rule, value, source, errors, options);
  22933. }
  22934. }
  22935. callback(errors);
  22936. }
  22937. function date(rule, value, callback, source, options) {
  22938. var errors = [];
  22939. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22940. if (validate) {
  22941. if (isEmptyValue(value) && !rule.required) {
  22942. return callback();
  22943. }
  22944. rules.required(rule, value, source, errors, options);
  22945. if (!isEmptyValue(value)) {
  22946. var dateObject;
  22947. if (typeof value === 'number') {
  22948. dateObject = new Date(value);
  22949. } else {
  22950. dateObject = value;
  22951. }
  22952. rules.type(rule, dateObject, source, errors, options);
  22953. if (dateObject) {
  22954. rules.range(rule, dateObject.getTime(), source, errors, options);
  22955. }
  22956. }
  22957. }
  22958. callback(errors);
  22959. }
  22960. function required$1(rule, value, callback, source, options) {
  22961. var errors = [];
  22962. var type = Array.isArray(value) ? 'array' : (0, _typeof2.default)(value);
  22963. rules.required(rule, value, source, errors, options, type);
  22964. callback(errors);
  22965. }
  22966. function type$1(rule, value, callback, source, options) {
  22967. var ruleType = rule.type;
  22968. var errors = [];
  22969. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22970. if (validate) {
  22971. if (isEmptyValue(value, ruleType) && !rule.required) {
  22972. return callback();
  22973. }
  22974. rules.required(rule, value, source, errors, options, ruleType);
  22975. if (!isEmptyValue(value, ruleType)) {
  22976. rules.type(rule, value, source, errors, options);
  22977. }
  22978. }
  22979. callback(errors);
  22980. }
  22981. /**
  22982. * Performs validation for any type.
  22983. *
  22984. * @param rule The validation rule.
  22985. * @param value The value of the field on the source object.
  22986. * @param callback The callback function.
  22987. * @param source The source object being validated.
  22988. * @param options The validation options.
  22989. * @param options.messages The validation messages.
  22990. */
  22991. function any(rule, value, callback, source, options) {
  22992. var errors = [];
  22993. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22994. if (validate) {
  22995. if (isEmptyValue(value) && !rule.required) {
  22996. return callback();
  22997. }
  22998. rules.required(rule, value, source, errors, options);
  22999. }
  23000. callback(errors);
  23001. }
  23002. var validators = {
  23003. string: string,
  23004. method: method,
  23005. number: number,
  23006. boolean: _boolean,
  23007. regexp: regexp,
  23008. integer: integer,
  23009. float: floatFn,
  23010. array: array,
  23011. object: object,
  23012. enum: enumerable$1,
  23013. pattern: pattern$2,
  23014. date: date,
  23015. url: type$1,
  23016. hex: type$1,
  23017. email: type$1,
  23018. required: required$1,
  23019. any: any
  23020. };
  23021. function newMessages() {
  23022. return {
  23023. default: 'Validation error on field %s',
  23024. required: '%s is required',
  23025. enum: '%s must be one of %s',
  23026. whitespace: '%s cannot be empty',
  23027. date: {
  23028. format: '%s date %s is invalid for format %s',
  23029. parse: '%s date could not be parsed, %s is invalid ',
  23030. invalid: '%s date %s is invalid'
  23031. },
  23032. types: {
  23033. string: '%s is not a %s',
  23034. method: '%s is not a %s (function)',
  23035. array: '%s is not an %s',
  23036. object: '%s is not an %s',
  23037. number: '%s is not a %s',
  23038. date: '%s is not a %s',
  23039. boolean: '%s is not a %s',
  23040. integer: '%s is not an %s',
  23041. float: '%s is not a %s',
  23042. regexp: '%s is not a valid %s',
  23043. email: '%s is not a valid %s',
  23044. url: '%s is not a valid %s',
  23045. hex: '%s is not a valid %s'
  23046. },
  23047. string: {
  23048. len: '%s must be exactly %s characters',
  23049. min: '%s must be at least %s characters',
  23050. max: '%s cannot be longer than %s characters',
  23051. range: '%s must be between %s and %s characters'
  23052. },
  23053. number: {
  23054. len: '%s must equal %s',
  23055. min: '%s cannot be less than %s',
  23056. max: '%s cannot be greater than %s',
  23057. range: '%s must be between %s and %s'
  23058. },
  23059. array: {
  23060. len: '%s must be exactly %s in length',
  23061. min: '%s cannot be less than %s in length',
  23062. max: '%s cannot be greater than %s in length',
  23063. range: '%s must be between %s and %s in length'
  23064. },
  23065. pattern: {
  23066. mismatch: '%s value %s does not match pattern %s'
  23067. },
  23068. clone: function clone() {
  23069. var cloned = JSON.parse(JSON.stringify(this));
  23070. cloned.clone = this.clone;
  23071. return cloned;
  23072. }
  23073. };
  23074. }
  23075. var messages = newMessages();
  23076. /**
  23077. * Encapsulates a validation schema.
  23078. *
  23079. * @param descriptor An object declaring validation rules
  23080. * for this schema.
  23081. */
  23082. function Schema(descriptor) {
  23083. this.rules = null;
  23084. this._messages = messages;
  23085. this.define(descriptor);
  23086. }
  23087. Schema.prototype = {
  23088. messages: function messages(_messages) {
  23089. if (_messages) {
  23090. this._messages = deepMerge(newMessages(), _messages);
  23091. }
  23092. return this._messages;
  23093. },
  23094. define: function define(rules) {
  23095. if (!rules) {
  23096. throw new Error('Cannot configure a schema with no rules');
  23097. }
  23098. if ((0, _typeof2.default)(rules) !== 'object' || Array.isArray(rules)) {
  23099. throw new Error('Rules must be an object');
  23100. }
  23101. this.rules = {};
  23102. var z;
  23103. var item;
  23104. for (z in rules) {
  23105. if (rules.hasOwnProperty(z)) {
  23106. item = rules[z];
  23107. this.rules[z] = Array.isArray(item) ? item : [item];
  23108. }
  23109. }
  23110. },
  23111. validate: function validate(source_, o, oc) {
  23112. var _this = this;
  23113. if (o === void 0) {
  23114. o = {};
  23115. }
  23116. if (oc === void 0) {
  23117. oc = function oc() {};
  23118. }
  23119. var source = source_;
  23120. var options = o;
  23121. var callback = oc;
  23122. if (typeof options === 'function') {
  23123. callback = options;
  23124. options = {};
  23125. }
  23126. if (!this.rules || Object.keys(this.rules).length === 0) {
  23127. if (callback) {
  23128. callback();
  23129. }
  23130. return Promise.resolve();
  23131. }
  23132. function complete(results) {
  23133. var i;
  23134. var errors = [];
  23135. var fields = {};
  23136. function add(e) {
  23137. if (Array.isArray(e)) {
  23138. var _errors;
  23139. errors = (_errors = errors).concat.apply(_errors, e);
  23140. } else {
  23141. errors.push(e);
  23142. }
  23143. }
  23144. for (i = 0; i < results.length; i++) {
  23145. add(results[i]);
  23146. }
  23147. if (!errors.length) {
  23148. errors = null;
  23149. fields = null;
  23150. } else {
  23151. fields = convertFieldsError(errors);
  23152. }
  23153. callback(errors, fields);
  23154. }
  23155. if (options.messages) {
  23156. var messages$1 = this.messages();
  23157. if (messages$1 === messages) {
  23158. messages$1 = newMessages();
  23159. }
  23160. deepMerge(messages$1, options.messages);
  23161. options.messages = messages$1;
  23162. } else {
  23163. options.messages = this.messages();
  23164. }
  23165. var arr;
  23166. var value;
  23167. var series = {};
  23168. var keys = options.keys || Object.keys(this.rules);
  23169. keys.forEach(function (z) {
  23170. arr = _this.rules[z];
  23171. value = source[z];
  23172. arr.forEach(function (r) {
  23173. var rule = r;
  23174. if (typeof rule.transform === 'function') {
  23175. if (source === source_) {
  23176. source = _objectSpread({}, source);
  23177. }
  23178. value = source[z] = rule.transform(value);
  23179. }
  23180. if (typeof rule === 'function') {
  23181. rule = {
  23182. validator: rule
  23183. };
  23184. } else {
  23185. rule = _objectSpread({}, rule);
  23186. }
  23187. rule.validator = _this.getValidationMethod(rule);
  23188. rule.field = z;
  23189. rule.fullField = rule.fullField || z;
  23190. rule.type = _this.getType(rule);
  23191. if (!rule.validator) {
  23192. return;
  23193. }
  23194. series[z] = series[z] || [];
  23195. series[z].push({
  23196. rule: rule,
  23197. value: value,
  23198. source: source,
  23199. field: z
  23200. });
  23201. });
  23202. });
  23203. var errorFields = {};
  23204. return asyncMap(series, options, function (data, doIt) {
  23205. var rule = data.rule;
  23206. var deep = (rule.type === 'object' || rule.type === 'array') && ((0, _typeof2.default)(rule.fields) === 'object' || (0, _typeof2.default)(rule.defaultField) === 'object');
  23207. deep = deep && (rule.required || !rule.required && data.value);
  23208. rule.field = data.field;
  23209. function addFullfield(key, schema) {
  23210. return _objectSpread(_objectSpread({}, schema), {}, {
  23211. fullField: "".concat(rule.fullField, ".").concat(key)
  23212. });
  23213. }
  23214. function cb(e) {
  23215. if (e === void 0) {
  23216. e = [];
  23217. }
  23218. var errors = e;
  23219. if (!Array.isArray(errors)) {
  23220. errors = [errors];
  23221. }
  23222. if (!options.suppressWarning && errors.length) {
  23223. Schema.warning('async-validator:', errors);
  23224. }
  23225. if (errors.length && rule.message) {
  23226. errors = [].concat(rule.message);
  23227. }
  23228. errors = errors.map(complementError(rule));
  23229. if (options.first && errors.length) {
  23230. errorFields[rule.field] = 1;
  23231. return doIt(errors);
  23232. }
  23233. if (!deep) {
  23234. doIt(errors);
  23235. } else {
  23236. // if rule is required but the target object
  23237. // does not exist fail at the rule level and don't
  23238. // go deeper
  23239. if (rule.required && !data.value) {
  23240. if (rule.message) {
  23241. errors = [].concat(rule.message).map(complementError(rule));
  23242. } else if (options.error) {
  23243. errors = [options.error(rule, format(options.messages.required, rule.field))];
  23244. } else {
  23245. errors = [];
  23246. }
  23247. return doIt(errors);
  23248. }
  23249. var fieldsSchema = {};
  23250. if (rule.defaultField) {
  23251. for (var k in data.value) {
  23252. if (data.value.hasOwnProperty(k)) {
  23253. fieldsSchema[k] = rule.defaultField;
  23254. }
  23255. }
  23256. }
  23257. fieldsSchema = _objectSpread(_objectSpread({}, fieldsSchema), data.rule.fields);
  23258. for (var f in fieldsSchema) {
  23259. if (fieldsSchema.hasOwnProperty(f)) {
  23260. var fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]];
  23261. fieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f));
  23262. }
  23263. }
  23264. var schema = new Schema(fieldsSchema);
  23265. schema.messages(options.messages);
  23266. if (data.rule.options) {
  23267. data.rule.options.messages = options.messages;
  23268. data.rule.options.error = options.error;
  23269. }
  23270. schema.validate(data.value, data.rule.options || options, function (errs) {
  23271. var finalErrors = [];
  23272. if (errors && errors.length) {
  23273. finalErrors.push.apply(finalErrors, errors);
  23274. }
  23275. if (errs && errs.length) {
  23276. finalErrors.push.apply(finalErrors, errs);
  23277. }
  23278. doIt(finalErrors.length ? finalErrors : null);
  23279. });
  23280. }
  23281. }
  23282. var res;
  23283. if (rule.asyncValidator) {
  23284. res = rule.asyncValidator(rule, data.value, cb, data.source, options);
  23285. } else if (rule.validator) {
  23286. res = rule.validator(rule, data.value, cb, data.source, options);
  23287. if (res === true) {
  23288. cb();
  23289. } else if (res === false) {
  23290. cb(rule.message || "".concat(rule.field, " fails"));
  23291. } else if (res instanceof Array) {
  23292. cb(res);
  23293. } else if (res instanceof Error) {
  23294. cb(res.message);
  23295. }
  23296. }
  23297. if (res && res.then) {
  23298. res.then(function () {
  23299. return cb();
  23300. }, function (e) {
  23301. return cb(e);
  23302. });
  23303. }
  23304. }, function (results) {
  23305. complete(results);
  23306. });
  23307. },
  23308. getType: function getType(rule) {
  23309. if (rule.type === undefined && rule.pattern instanceof RegExp) {
  23310. rule.type = 'pattern';
  23311. }
  23312. if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {
  23313. throw new Error(format('Unknown rule type %s', rule.type));
  23314. }
  23315. return rule.type || 'string';
  23316. },
  23317. getValidationMethod: function getValidationMethod(rule) {
  23318. if (typeof rule.validator === 'function') {
  23319. return rule.validator;
  23320. }
  23321. var keys = Object.keys(rule);
  23322. var messageIndex = keys.indexOf('message');
  23323. if (messageIndex !== -1) {
  23324. keys.splice(messageIndex, 1);
  23325. }
  23326. if (keys.length === 1 && keys[0] === 'required') {
  23327. return validators.required;
  23328. }
  23329. return validators[this.getType(rule)] || false;
  23330. }
  23331. };
  23332. Schema.register = function register(type, validator) {
  23333. if (typeof validator !== 'function') {
  23334. throw new Error('Cannot register a validator by type, validator is not a function');
  23335. }
  23336. validators[type] = validator;
  23337. };
  23338. Schema.warning = warning;
  23339. Schema.messages = messages;
  23340. var _default = Schema; // # sourceMappingURL=index.js.map
  23341. exports.default = _default;
  23342. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js */ 503)))
  23343. /***/ }),
  23344. /* 503 */
  23345. /*!********************************************************!*\
  23346. !*** ./node_modules/node-libs-browser/mock/process.js ***!
  23347. \********************************************************/
  23348. /*! no static exports found */
  23349. /***/ (function(module, exports, __webpack_require__) {
  23350. exports.nextTick = function nextTick(fn) {
  23351. var args = Array.prototype.slice.call(arguments);
  23352. args.shift();
  23353. setTimeout(function () {
  23354. fn.apply(null, args);
  23355. }, 0);
  23356. };
  23357. exports.platform = exports.arch =
  23358. exports.execPath = exports.title = 'browser';
  23359. exports.pid = 1;
  23360. exports.browser = true;
  23361. exports.env = {};
  23362. exports.argv = [];
  23363. exports.binding = function (name) {
  23364. throw new Error('No such module. (Possibly not yet loaded)')
  23365. };
  23366. (function () {
  23367. var cwd = '/';
  23368. var path;
  23369. exports.cwd = function () { return cwd };
  23370. exports.chdir = function (dir) {
  23371. if (!path) path = __webpack_require__(/*! path */ 504);
  23372. cwd = path.resolve(dir, cwd);
  23373. };
  23374. })();
  23375. exports.exit = exports.kill =
  23376. exports.umask = exports.dlopen =
  23377. exports.uptime = exports.memoryUsage =
  23378. exports.uvCounters = function() {};
  23379. exports.features = {};
  23380. /***/ }),
  23381. /* 504 */
  23382. /*!***********************************************!*\
  23383. !*** ./node_modules/path-browserify/index.js ***!
  23384. \***********************************************/
  23385. /*! no static exports found */
  23386. /***/ (function(module, exports, __webpack_require__) {
  23387. /* WEBPACK VAR INJECTION */(function(process) {// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
  23388. // backported and transplited with Babel, with backwards-compat fixes
  23389. // Copyright Joyent, Inc. and other Node contributors.
  23390. //
  23391. // Permission is hereby granted, free of charge, to any person obtaining a
  23392. // copy of this software and associated documentation files (the
  23393. // "Software"), to deal in the Software without restriction, including
  23394. // without limitation the rights to use, copy, modify, merge, publish,
  23395. // distribute, sublicense, and/or sell copies of the Software, and to permit
  23396. // persons to whom the Software is furnished to do so, subject to the
  23397. // following conditions:
  23398. //
  23399. // The above copyright notice and this permission notice shall be included
  23400. // in all copies or substantial portions of the Software.
  23401. //
  23402. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  23403. // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  23404. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  23405. // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  23406. // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  23407. // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  23408. // USE OR OTHER DEALINGS IN THE SOFTWARE.
  23409. // resolves . and .. elements in a path array with directory names there
  23410. // must be no slashes, empty elements, or device names (c:\) in the array
  23411. // (so also no leading and trailing slashes - it does not distinguish
  23412. // relative and absolute paths)
  23413. function normalizeArray(parts, allowAboveRoot) {
  23414. // if the path tries to go above the root, `up` ends up > 0
  23415. var up = 0;
  23416. for (var i = parts.length - 1; i >= 0; i--) {
  23417. var last = parts[i];
  23418. if (last === '.') {
  23419. parts.splice(i, 1);
  23420. } else if (last === '..') {
  23421. parts.splice(i, 1);
  23422. up++;
  23423. } else if (up) {
  23424. parts.splice(i, 1);
  23425. up--;
  23426. }
  23427. }
  23428. // if the path is allowed to go above the root, restore leading ..s
  23429. if (allowAboveRoot) {
  23430. for (; up--; up) {
  23431. parts.unshift('..');
  23432. }
  23433. }
  23434. return parts;
  23435. }
  23436. // path.resolve([from ...], to)
  23437. // posix version
  23438. exports.resolve = function() {
  23439. var resolvedPath = '',
  23440. resolvedAbsolute = false;
  23441. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  23442. var path = (i >= 0) ? arguments[i] : process.cwd();
  23443. // Skip empty and invalid entries
  23444. if (typeof path !== 'string') {
  23445. throw new TypeError('Arguments to path.resolve must be strings');
  23446. } else if (!path) {
  23447. continue;
  23448. }
  23449. resolvedPath = path + '/' + resolvedPath;
  23450. resolvedAbsolute = path.charAt(0) === '/';
  23451. }
  23452. // At this point the path should be resolved to a full absolute path, but
  23453. // handle relative paths to be safe (might happen when process.cwd() fails)
  23454. // Normalize the path
  23455. resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
  23456. return !!p;
  23457. }), !resolvedAbsolute).join('/');
  23458. return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
  23459. };
  23460. // path.normalize(path)
  23461. // posix version
  23462. exports.normalize = function(path) {
  23463. var isAbsolute = exports.isAbsolute(path),
  23464. trailingSlash = substr(path, -1) === '/';
  23465. // Normalize the path
  23466. path = normalizeArray(filter(path.split('/'), function(p) {
  23467. return !!p;
  23468. }), !isAbsolute).join('/');
  23469. if (!path && !isAbsolute) {
  23470. path = '.';
  23471. }
  23472. if (path && trailingSlash) {
  23473. path += '/';
  23474. }
  23475. return (isAbsolute ? '/' : '') + path;
  23476. };
  23477. // posix version
  23478. exports.isAbsolute = function(path) {
  23479. return path.charAt(0) === '/';
  23480. };
  23481. // posix version
  23482. exports.join = function() {
  23483. var paths = Array.prototype.slice.call(arguments, 0);
  23484. return exports.normalize(filter(paths, function(p, index) {
  23485. if (typeof p !== 'string') {
  23486. throw new TypeError('Arguments to path.join must be strings');
  23487. }
  23488. return p;
  23489. }).join('/'));
  23490. };
  23491. // path.relative(from, to)
  23492. // posix version
  23493. exports.relative = function(from, to) {
  23494. from = exports.resolve(from).substr(1);
  23495. to = exports.resolve(to).substr(1);
  23496. function trim(arr) {
  23497. var start = 0;
  23498. for (; start < arr.length; start++) {
  23499. if (arr[start] !== '') break;
  23500. }
  23501. var end = arr.length - 1;
  23502. for (; end >= 0; end--) {
  23503. if (arr[end] !== '') break;
  23504. }
  23505. if (start > end) return [];
  23506. return arr.slice(start, end - start + 1);
  23507. }
  23508. var fromParts = trim(from.split('/'));
  23509. var toParts = trim(to.split('/'));
  23510. var length = Math.min(fromParts.length, toParts.length);
  23511. var samePartsLength = length;
  23512. for (var i = 0; i < length; i++) {
  23513. if (fromParts[i] !== toParts[i]) {
  23514. samePartsLength = i;
  23515. break;
  23516. }
  23517. }
  23518. var outputParts = [];
  23519. for (var i = samePartsLength; i < fromParts.length; i++) {
  23520. outputParts.push('..');
  23521. }
  23522. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  23523. return outputParts.join('/');
  23524. };
  23525. exports.sep = '/';
  23526. exports.delimiter = ':';
  23527. exports.dirname = function (path) {
  23528. if (typeof path !== 'string') path = path + '';
  23529. if (path.length === 0) return '.';
  23530. var code = path.charCodeAt(0);
  23531. var hasRoot = code === 47 /*/*/;
  23532. var end = -1;
  23533. var matchedSlash = true;
  23534. for (var i = path.length - 1; i >= 1; --i) {
  23535. code = path.charCodeAt(i);
  23536. if (code === 47 /*/*/) {
  23537. if (!matchedSlash) {
  23538. end = i;
  23539. break;
  23540. }
  23541. } else {
  23542. // We saw the first non-path separator
  23543. matchedSlash = false;
  23544. }
  23545. }
  23546. if (end === -1) return hasRoot ? '/' : '.';
  23547. if (hasRoot && end === 1) {
  23548. // return '//';
  23549. // Backwards-compat fix:
  23550. return '/';
  23551. }
  23552. return path.slice(0, end);
  23553. };
  23554. function basename(path) {
  23555. if (typeof path !== 'string') path = path + '';
  23556. var start = 0;
  23557. var end = -1;
  23558. var matchedSlash = true;
  23559. var i;
  23560. for (i = path.length - 1; i >= 0; --i) {
  23561. if (path.charCodeAt(i) === 47 /*/*/) {
  23562. // If we reached a path separator that was not part of a set of path
  23563. // separators at the end of the string, stop now
  23564. if (!matchedSlash) {
  23565. start = i + 1;
  23566. break;
  23567. }
  23568. } else if (end === -1) {
  23569. // We saw the first non-path separator, mark this as the end of our
  23570. // path component
  23571. matchedSlash = false;
  23572. end = i + 1;
  23573. }
  23574. }
  23575. if (end === -1) return '';
  23576. return path.slice(start, end);
  23577. }
  23578. // Uses a mixed approach for backwards-compatibility, as ext behavior changed
  23579. // in new Node.js versions, so only basename() above is backported here
  23580. exports.basename = function (path, ext) {
  23581. var f = basename(path);
  23582. if (ext && f.substr(-1 * ext.length) === ext) {
  23583. f = f.substr(0, f.length - ext.length);
  23584. }
  23585. return f;
  23586. };
  23587. exports.extname = function (path) {
  23588. if (typeof path !== 'string') path = path + '';
  23589. var startDot = -1;
  23590. var startPart = 0;
  23591. var end = -1;
  23592. var matchedSlash = true;
  23593. // Track the state of characters (if any) we see before our first dot and
  23594. // after any path separator we find
  23595. var preDotState = 0;
  23596. for (var i = path.length - 1; i >= 0; --i) {
  23597. var code = path.charCodeAt(i);
  23598. if (code === 47 /*/*/) {
  23599. // If we reached a path separator that was not part of a set of path
  23600. // separators at the end of the string, stop now
  23601. if (!matchedSlash) {
  23602. startPart = i + 1;
  23603. break;
  23604. }
  23605. continue;
  23606. }
  23607. if (end === -1) {
  23608. // We saw the first non-path separator, mark this as the end of our
  23609. // extension
  23610. matchedSlash = false;
  23611. end = i + 1;
  23612. }
  23613. if (code === 46 /*.*/) {
  23614. // If this is our first dot, mark it as the start of our extension
  23615. if (startDot === -1)
  23616. startDot = i;
  23617. else if (preDotState !== 1)
  23618. preDotState = 1;
  23619. } else if (startDot !== -1) {
  23620. // We saw a non-dot and non-path separator before our dot, so we should
  23621. // have a good chance at having a non-empty extension
  23622. preDotState = -1;
  23623. }
  23624. }
  23625. if (startDot === -1 || end === -1 ||
  23626. // We saw a non-dot character immediately before the dot
  23627. preDotState === 0 ||
  23628. // The (right-most) trimmed path component is exactly '..'
  23629. preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
  23630. return '';
  23631. }
  23632. return path.slice(startDot, end);
  23633. };
  23634. function filter (xs, f) {
  23635. if (xs.filter) return xs.filter(f);
  23636. var res = [];
  23637. for (var i = 0; i < xs.length; i++) {
  23638. if (f(xs[i], i, xs)) res.push(xs[i]);
  23639. }
  23640. return res;
  23641. }
  23642. // String.prototype.substr - negative index don't work in IE8
  23643. var substr = 'ab'.substr(-1) === 'b'
  23644. ? function (str, start, len) { return str.substr(start, len) }
  23645. : function (str, start, len) {
  23646. if (start < 0) start = str.length + start;
  23647. return str.substr(start, len);
  23648. }
  23649. ;
  23650. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 503)))
  23651. /***/ }),
  23652. /* 505 */,
  23653. /* 506 */,
  23654. /* 507 */,
  23655. /* 508 */,
  23656. /* 509 */,
  23657. /* 510 */
  23658. /*!*******************************************************************************************************************************************************!*\
  23659. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-line/props.js ***!
  23660. \*******************************************************************************************************************************************************/
  23661. /*! no static exports found */
  23662. /***/ (function(module, exports, __webpack_require__) {
  23663. "use strict";
  23664. /* WEBPACK VAR INJECTION */(function(uni) {
  23665. Object.defineProperty(exports, "__esModule", {
  23666. value: true
  23667. });
  23668. exports.default = void 0;
  23669. var _default = {
  23670. props: {
  23671. color: {
  23672. type: String,
  23673. default: uni.$u.props.line.color
  23674. },
  23675. // 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等
  23676. length: {
  23677. type: [String, Number],
  23678. default: uni.$u.props.line.length
  23679. },
  23680. // 线条方向,col-竖向,row-横向
  23681. direction: {
  23682. type: String,
  23683. default: uni.$u.props.line.direction
  23684. },
  23685. // 是否显示细边框
  23686. hairline: {
  23687. type: Boolean,
  23688. default: uni.$u.props.line.hairline
  23689. },
  23690. // 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px"
  23691. margin: {
  23692. type: [String, Number],
  23693. default: uni.$u.props.line.margin
  23694. },
  23695. // 是否虚线,true-虚线,false-实线
  23696. dashed: {
  23697. type: Boolean,
  23698. default: uni.$u.props.line.dashed
  23699. }
  23700. }
  23701. };
  23702. exports.default = _default;
  23703. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23704. /***/ }),
  23705. /* 511 */,
  23706. /* 512 */,
  23707. /* 513 */,
  23708. /* 514 */,
  23709. /* 515 */,
  23710. /* 516 */,
  23711. /* 517 */,
  23712. /* 518 */
  23713. /*!**********************************************************************************************************************************************************!*\
  23714. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-toolbar/props.js ***!
  23715. \**********************************************************************************************************************************************************/
  23716. /*! no static exports found */
  23717. /***/ (function(module, exports, __webpack_require__) {
  23718. "use strict";
  23719. /* WEBPACK VAR INJECTION */(function(uni) {
  23720. Object.defineProperty(exports, "__esModule", {
  23721. value: true
  23722. });
  23723. exports.default = void 0;
  23724. var _default = {
  23725. props: {
  23726. // 是否展示工具条
  23727. show: {
  23728. type: Boolean,
  23729. default: uni.$u.props.toolbar.show
  23730. },
  23731. // 取消按钮的文字
  23732. cancelText: {
  23733. type: String,
  23734. default: uni.$u.props.toolbar.cancelText
  23735. },
  23736. // 确认按钮的文字
  23737. confirmText: {
  23738. type: String,
  23739. default: uni.$u.props.toolbar.confirmText
  23740. },
  23741. // 取消按钮的颜色
  23742. cancelColor: {
  23743. type: String,
  23744. default: uni.$u.props.toolbar.cancelColor
  23745. },
  23746. // 确认按钮的颜色
  23747. confirmColor: {
  23748. type: String,
  23749. default: uni.$u.props.toolbar.confirmColor
  23750. },
  23751. // 标题文字
  23752. title: {
  23753. type: String,
  23754. default: uni.$u.props.toolbar.title
  23755. }
  23756. }
  23757. };
  23758. exports.default = _default;
  23759. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23760. /***/ }),
  23761. /* 519 */,
  23762. /* 520 */,
  23763. /* 521 */,
  23764. /* 522 */,
  23765. /* 523 */,
  23766. /* 524 */,
  23767. /* 525 */,
  23768. /* 526 */
  23769. /*!******************************************************************************************************************************************************!*\
  23770. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-row/props.js ***!
  23771. \******************************************************************************************************************************************************/
  23772. /*! no static exports found */
  23773. /***/ (function(module, exports, __webpack_require__) {
  23774. "use strict";
  23775. /* WEBPACK VAR INJECTION */(function(uni) {
  23776. Object.defineProperty(exports, "__esModule", {
  23777. value: true
  23778. });
  23779. exports.default = void 0;
  23780. var _default = {
  23781. props: {
  23782. // 给col添加间距,左右边距各占一半
  23783. gutter: {
  23784. type: [String, Number],
  23785. default: uni.$u.props.row.gutter
  23786. },
  23787. // 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
  23788. justify: {
  23789. type: String,
  23790. default: uni.$u.props.row.justify
  23791. },
  23792. // 垂直对齐方式,可选值为top、center、bottom
  23793. align: {
  23794. type: String,
  23795. default: uni.$u.props.row.align
  23796. }
  23797. }
  23798. };
  23799. exports.default = _default;
  23800. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23801. /***/ }),
  23802. /* 527 */,
  23803. /* 528 */,
  23804. /* 529 */,
  23805. /* 530 */,
  23806. /* 531 */,
  23807. /* 532 */,
  23808. /* 533 */,
  23809. /* 534 */
  23810. /*!******************************************************************************************************************************************************!*\
  23811. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-col/props.js ***!
  23812. \******************************************************************************************************************************************************/
  23813. /*! no static exports found */
  23814. /***/ (function(module, exports, __webpack_require__) {
  23815. "use strict";
  23816. /* WEBPACK VAR INJECTION */(function(uni) {
  23817. Object.defineProperty(exports, "__esModule", {
  23818. value: true
  23819. });
  23820. exports.default = void 0;
  23821. var _default = {
  23822. props: {
  23823. // 占父容器宽度的多少等分,总分为12份
  23824. span: {
  23825. type: [String, Number],
  23826. default: uni.$u.props.col.span
  23827. },
  23828. // 指定栅格左侧的间隔数(总12栏)
  23829. offset: {
  23830. type: [String, Number],
  23831. default: uni.$u.props.col.offset
  23832. },
  23833. // 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
  23834. justify: {
  23835. type: String,
  23836. default: uni.$u.props.col.justify
  23837. },
  23838. // 垂直对齐方式,可选值为top、center、bottom、stretch
  23839. align: {
  23840. type: String,
  23841. default: uni.$u.props.col.align
  23842. },
  23843. // 文字对齐方式
  23844. textAlign: {
  23845. type: String,
  23846. default: uni.$u.props.col.textAlign
  23847. }
  23848. }
  23849. };
  23850. exports.default = _default;
  23851. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23852. /***/ }),
  23853. /* 535 */,
  23854. /* 536 */,
  23855. /* 537 */,
  23856. /* 538 */,
  23857. /* 539 */,
  23858. /* 540 */,
  23859. /* 541 */,
  23860. /* 542 */
  23861. /*!*************************************************************************************************************************************************************!*\
  23862. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/props.js ***!
  23863. \*************************************************************************************************************************************************************/
  23864. /*! no static exports found */
  23865. /***/ (function(module, exports, __webpack_require__) {
  23866. "use strict";
  23867. /* WEBPACK VAR INJECTION */(function(uni) {
  23868. Object.defineProperty(exports, "__esModule", {
  23869. value: true
  23870. });
  23871. exports.default = void 0;
  23872. var _default = {
  23873. props: {
  23874. // 是否展示组件
  23875. show: {
  23876. type: Boolean,
  23877. default: uni.$u.props.transition.show
  23878. },
  23879. // 使用的动画模式
  23880. mode: {
  23881. type: String,
  23882. default: uni.$u.props.transition.mode
  23883. },
  23884. // 动画的执行时间,单位ms
  23885. duration: {
  23886. type: [String, Number],
  23887. default: uni.$u.props.transition.duration
  23888. },
  23889. // 使用的动画过渡函数
  23890. timingFunction: {
  23891. type: String,
  23892. default: uni.$u.props.transition.timingFunction
  23893. }
  23894. }
  23895. };
  23896. exports.default = _default;
  23897. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23898. /***/ }),
  23899. /* 543 */
  23900. /*!******************************************************************************************************************************************************************!*\
  23901. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/transition.js ***!
  23902. \******************************************************************************************************************************************************************/
  23903. /*! no static exports found */
  23904. /***/ (function(module, exports, __webpack_require__) {
  23905. "use strict";
  23906. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23907. Object.defineProperty(exports, "__esModule", {
  23908. value: true
  23909. });
  23910. exports.default = void 0;
  23911. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  23912. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  23913. var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 544));
  23914. // 定义一个一定时间后自动成功的promise,让调用nextTick方法处,进入下一个then方法
  23915. var nextTick = function nextTick() {
  23916. return new Promise(function (resolve) {
  23917. return setTimeout(resolve, 1000 / 50);
  23918. });
  23919. };
  23920. // nvue动画模块实现细节抽离在外部文件
  23921. // 定义类名,通过给元素动态切换类名,赋予元素一定的css动画样式
  23922. var getClassNames = function getClassNames(name) {
  23923. return {
  23924. enter: "u-".concat(name, "-enter u-").concat(name, "-enter-active"),
  23925. 'enter-to': "u-".concat(name, "-enter-to u-").concat(name, "-enter-active"),
  23926. leave: "u-".concat(name, "-leave u-").concat(name, "-leave-active"),
  23927. 'leave-to': "u-".concat(name, "-leave-to u-").concat(name, "-leave-active")
  23928. };
  23929. };
  23930. var _default = {
  23931. methods: {
  23932. // 组件被点击发出事件
  23933. clickHandler: function clickHandler() {
  23934. this.$emit('click');
  23935. },
  23936. // vue版本的组件进场处理
  23937. vueEnter: function vueEnter() {
  23938. var _this = this;
  23939. // 动画进入时的类名
  23940. var classNames = getClassNames(this.mode);
  23941. // 定义状态和发出动画进入前事件
  23942. this.status = 'enter';
  23943. this.$emit('beforeEnter');
  23944. this.inited = true;
  23945. this.display = true;
  23946. this.classes = classNames.enter;
  23947. this.$nextTick( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  23948. return _regenerator.default.wrap(function _callee$(_context) {
  23949. while (1) {
  23950. switch (_context.prev = _context.next) {
  23951. case 0:
  23952. // 标识动画尚未结束
  23953. _this.$emit('enter');
  23954. _this.transitionEnded = false;
  23955. // 组件动画进入后触发的事件
  23956. _this.$emit('afterEnter');
  23957. // 赋予组件enter-to类名
  23958. _this.classes = classNames['enter-to'];
  23959. case 4:
  23960. case "end":
  23961. return _context.stop();
  23962. }
  23963. }
  23964. }, _callee);
  23965. })));
  23966. },
  23967. // 动画离场处理
  23968. vueLeave: function vueLeave() {
  23969. var _this2 = this;
  23970. // 如果不是展示状态,无需执行逻辑
  23971. if (!this.display) return;
  23972. var classNames = getClassNames(this.mode);
  23973. // 标记离开状态和发出事件
  23974. this.status = 'leave';
  23975. this.$emit('beforeLeave');
  23976. // 获得类名
  23977. this.classes = classNames.leave;
  23978. this.$nextTick(function () {
  23979. // 动画正在离场的状态
  23980. _this2.transitionEnded = false;
  23981. _this2.$emit('leave');
  23982. // 组件执行动画,到了执行的执行时间后,执行一些额外处理
  23983. setTimeout(_this2.onTransitionEnd, _this2.duration);
  23984. _this2.classes = classNames['leave-to'];
  23985. });
  23986. },
  23987. // 完成过渡后触发
  23988. onTransitionEnd: function onTransitionEnd() {
  23989. // 如果已经是结束的状态,无需再处理
  23990. if (this.transitionEnded) return;
  23991. this.transitionEnded = true;
  23992. // 发出组件动画执行后的事件
  23993. this.$emit(this.status === 'leave' ? 'afterLeave' : 'afterEnter');
  23994. if (!this.show && this.display) {
  23995. this.display = false;
  23996. this.inited = false;
  23997. }
  23998. }
  23999. }
  24000. };
  24001. exports.default = _default;
  24002. /***/ }),
  24003. /* 544 */
  24004. /*!********************************************************************************************************************************************************************!*\
  24005. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/nvue.ani-map.js ***!
  24006. \********************************************************************************************************************************************************************/
  24007. /*! no static exports found */
  24008. /***/ (function(module, exports, __webpack_require__) {
  24009. "use strict";
  24010. Object.defineProperty(exports, "__esModule", {
  24011. value: true
  24012. });
  24013. exports.default = void 0;
  24014. var _default = {
  24015. fade: {
  24016. enter: {
  24017. opacity: 0
  24018. },
  24019. 'enter-to': {
  24020. opacity: 1
  24021. },
  24022. leave: {
  24023. opacity: 1
  24024. },
  24025. 'leave-to': {
  24026. opacity: 0
  24027. }
  24028. },
  24029. 'fade-up': {
  24030. enter: {
  24031. opacity: 0,
  24032. transform: 'translateY(100%)'
  24033. },
  24034. 'enter-to': {
  24035. opacity: 1,
  24036. transform: 'translateY(0)'
  24037. },
  24038. leave: {
  24039. opacity: 1,
  24040. transform: 'translateY(0)'
  24041. },
  24042. 'leave-to': {
  24043. opacity: 0,
  24044. transform: 'translateY(100%)'
  24045. }
  24046. },
  24047. 'fade-down': {
  24048. enter: {
  24049. opacity: 0,
  24050. transform: 'translateY(-100%)'
  24051. },
  24052. 'enter-to': {
  24053. opacity: 1,
  24054. transform: 'translateY(0)'
  24055. },
  24056. leave: {
  24057. opacity: 1,
  24058. transform: 'translateY(0)'
  24059. },
  24060. 'leave-to': {
  24061. opacity: 0,
  24062. transform: 'translateY(-100%)'
  24063. }
  24064. },
  24065. 'fade-left': {
  24066. enter: {
  24067. opacity: 0,
  24068. transform: 'translateX(-100%)'
  24069. },
  24070. 'enter-to': {
  24071. opacity: 1,
  24072. transform: 'translateY(0)'
  24073. },
  24074. leave: {
  24075. opacity: 1,
  24076. transform: 'translateY(0)'
  24077. },
  24078. 'leave-to': {
  24079. opacity: 0,
  24080. transform: 'translateX(-100%)'
  24081. }
  24082. },
  24083. 'fade-right': {
  24084. enter: {
  24085. opacity: 0,
  24086. transform: 'translateX(100%)'
  24087. },
  24088. 'enter-to': {
  24089. opacity: 1,
  24090. transform: 'translateY(0)'
  24091. },
  24092. leave: {
  24093. opacity: 1,
  24094. transform: 'translateY(0)'
  24095. },
  24096. 'leave-to': {
  24097. opacity: 0,
  24098. transform: 'translateX(100%)'
  24099. }
  24100. },
  24101. 'slide-up': {
  24102. enter: {
  24103. transform: 'translateY(100%)'
  24104. },
  24105. 'enter-to': {
  24106. transform: 'translateY(0)'
  24107. },
  24108. leave: {
  24109. transform: 'translateY(0)'
  24110. },
  24111. 'leave-to': {
  24112. transform: 'translateY(100%)'
  24113. }
  24114. },
  24115. 'slide-down': {
  24116. enter: {
  24117. transform: 'translateY(-100%)'
  24118. },
  24119. 'enter-to': {
  24120. transform: 'translateY(0)'
  24121. },
  24122. leave: {
  24123. transform: 'translateY(0)'
  24124. },
  24125. 'leave-to': {
  24126. transform: 'translateY(-100%)'
  24127. }
  24128. },
  24129. 'slide-left': {
  24130. enter: {
  24131. transform: 'translateX(-100%)'
  24132. },
  24133. 'enter-to': {
  24134. transform: 'translateY(0)'
  24135. },
  24136. leave: {
  24137. transform: 'translateY(0)'
  24138. },
  24139. 'leave-to': {
  24140. transform: 'translateX(-100%)'
  24141. }
  24142. },
  24143. 'slide-right': {
  24144. enter: {
  24145. transform: 'translateX(100%)'
  24146. },
  24147. 'enter-to': {
  24148. transform: 'translateY(0)'
  24149. },
  24150. leave: {
  24151. transform: 'translateY(0)'
  24152. },
  24153. 'leave-to': {
  24154. transform: 'translateX(100%)'
  24155. }
  24156. },
  24157. zoom: {
  24158. enter: {
  24159. transform: 'scale(0.95)'
  24160. },
  24161. 'enter-to': {
  24162. transform: 'scale(1)'
  24163. },
  24164. leave: {
  24165. transform: 'scale(1)'
  24166. },
  24167. 'leave-to': {
  24168. transform: 'scale(0.95)'
  24169. }
  24170. },
  24171. 'fade-zoom': {
  24172. enter: {
  24173. opacity: 0,
  24174. transform: 'scale(0.95)'
  24175. },
  24176. 'enter-to': {
  24177. opacity: 1,
  24178. transform: 'scale(1)'
  24179. },
  24180. leave: {
  24181. opacity: 1,
  24182. transform: 'scale(1)'
  24183. },
  24184. 'leave-to': {
  24185. opacity: 0,
  24186. transform: 'scale(0.95)'
  24187. }
  24188. }
  24189. };
  24190. exports.default = _default;
  24191. /***/ }),
  24192. /* 545 */,
  24193. /* 546 */,
  24194. /* 547 */,
  24195. /* 548 */,
  24196. /* 549 */,
  24197. /* 550 */,
  24198. /* 551 */,
  24199. /* 552 */
  24200. /*!*************************************************************************************************************************************************************!*\
  24201. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-status-bar/props.js ***!
  24202. \*************************************************************************************************************************************************************/
  24203. /*! no static exports found */
  24204. /***/ (function(module, exports, __webpack_require__) {
  24205. "use strict";
  24206. /* WEBPACK VAR INJECTION */(function(uni) {
  24207. Object.defineProperty(exports, "__esModule", {
  24208. value: true
  24209. });
  24210. exports.default = void 0;
  24211. var _default = {
  24212. props: {
  24213. bgColor: {
  24214. type: String,
  24215. default: uni.$u.props.statusBar.bgColor
  24216. }
  24217. }
  24218. };
  24219. exports.default = _default;
  24220. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24221. /***/ }),
  24222. /* 553 */,
  24223. /* 554 */,
  24224. /* 555 */,
  24225. /* 556 */,
  24226. /* 557 */,
  24227. /* 558 */,
  24228. /* 559 */,
  24229. /* 560 */
  24230. /*!**************************************************************************************************************************************************************!*\
  24231. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-safe-bottom/props.js ***!
  24232. \**************************************************************************************************************************************************************/
  24233. /*! no static exports found */
  24234. /***/ (function(module, exports, __webpack_require__) {
  24235. "use strict";
  24236. Object.defineProperty(exports, "__esModule", {
  24237. value: true
  24238. });
  24239. exports.default = void 0;
  24240. var _default = {
  24241. props: {}
  24242. };
  24243. exports.default = _default;
  24244. /***/ }),
  24245. /* 561 */,
  24246. /* 562 */,
  24247. /* 563 */,
  24248. /* 564 */,
  24249. /* 565 */,
  24250. /* 566 */,
  24251. /* 567 */,
  24252. /* 568 */
  24253. /*!*******************************************************************************************************************************************************!*\
  24254. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-text/props.js ***!
  24255. \*******************************************************************************************************************************************************/
  24256. /*! no static exports found */
  24257. /***/ (function(module, exports, __webpack_require__) {
  24258. "use strict";
  24259. /* WEBPACK VAR INJECTION */(function(uni) {
  24260. Object.defineProperty(exports, "__esModule", {
  24261. value: true
  24262. });
  24263. exports.default = void 0;
  24264. var _default = {
  24265. props: {
  24266. // 主题颜色
  24267. type: {
  24268. type: String,
  24269. default: uni.$u.props.text.type
  24270. },
  24271. // 是否显示
  24272. show: {
  24273. type: Boolean,
  24274. default: uni.$u.props.text.show
  24275. },
  24276. // 显示的值
  24277. text: {
  24278. type: [String, Number],
  24279. default: uni.$u.props.text.text
  24280. },
  24281. // 前置图标
  24282. prefixIcon: {
  24283. type: String,
  24284. default: uni.$u.props.text.prefixIcon
  24285. },
  24286. // 后置图标
  24287. suffixIcon: {
  24288. type: String,
  24289. default: uni.$u.props.text.suffixIcon
  24290. },
  24291. // 文本处理的匹配模式
  24292. // text-普通文本,price-价格,phone-手机号,name-姓名,date-日期,link-超链接
  24293. mode: {
  24294. type: String,
  24295. default: uni.$u.props.text.mode
  24296. },
  24297. // mode=link下,配置的链接
  24298. href: {
  24299. type: String,
  24300. default: uni.$u.props.text.href
  24301. },
  24302. // 格式化规则
  24303. format: {
  24304. type: [String, Function],
  24305. default: uni.$u.props.text.format
  24306. },
  24307. // mode=phone时,点击文本是否拨打电话
  24308. call: {
  24309. type: Boolean,
  24310. default: uni.$u.props.text.call
  24311. },
  24312. // 小程序的打开方式
  24313. openType: {
  24314. type: String,
  24315. default: uni.$u.props.text.openType
  24316. },
  24317. // 是否粗体,默认normal
  24318. bold: {
  24319. type: Boolean,
  24320. default: uni.$u.props.text.bold
  24321. },
  24322. // 是否块状
  24323. block: {
  24324. type: Boolean,
  24325. default: uni.$u.props.text.block
  24326. },
  24327. // 文本显示的行数,如果设置,超出此行数,将会显示省略号
  24328. lines: {
  24329. type: [String, Number],
  24330. default: uni.$u.props.text.lines
  24331. },
  24332. // 文本颜色
  24333. color: {
  24334. type: String,
  24335. default: uni.$u.props.text.color
  24336. },
  24337. // 字体大小
  24338. size: {
  24339. type: [String, Number],
  24340. default: uni.$u.props.text.size
  24341. },
  24342. // 图标的样式
  24343. iconStyle: {
  24344. type: [Object, String],
  24345. default: uni.$u.props.text.iconStyle
  24346. },
  24347. // 文字装饰,下划线,中划线等,可选值 none|underline|line-through
  24348. decoration: {
  24349. tepe: String,
  24350. default: uni.$u.props.text.decoration
  24351. },
  24352. // 外边距,对象、字符串,数值形式均可
  24353. margin: {
  24354. type: [Object, String, Number],
  24355. default: uni.$u.props.text.margin
  24356. },
  24357. // 文本行高
  24358. lineHeight: {
  24359. type: [String, Number],
  24360. default: uni.$u.props.text.lineHeight
  24361. },
  24362. // 文本对齐方式,可选值left|center|right
  24363. align: {
  24364. type: String,
  24365. default: uni.$u.props.text.align
  24366. },
  24367. // 文字换行,可选值break-word|normal|anywhere
  24368. wordWrap: {
  24369. type: String,
  24370. default: uni.$u.props.text.wordWrap
  24371. }
  24372. }
  24373. };
  24374. exports.default = _default;
  24375. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24376. /***/ }),
  24377. /* 569 */,
  24378. /* 570 */,
  24379. /* 571 */,
  24380. /* 572 */,
  24381. /* 573 */,
  24382. /* 574 */,
  24383. /* 575 */,
  24384. /* 576 */,
  24385. /* 577 */,
  24386. /* 578 */,
  24387. /* 579 */,
  24388. /* 580 */,
  24389. /* 581 */
  24390. /*!*******************************************************************************************************************************************************!*\
  24391. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-text/value.js ***!
  24392. \*******************************************************************************************************************************************************/
  24393. /*! no static exports found */
  24394. /***/ (function(module, exports, __webpack_require__) {
  24395. "use strict";
  24396. /* WEBPACK VAR INJECTION */(function(uni) {
  24397. Object.defineProperty(exports, "__esModule", {
  24398. value: true
  24399. });
  24400. exports.default = void 0;
  24401. var _default = {
  24402. computed: {
  24403. // 经处理后需要显示的值
  24404. value: function value() {
  24405. var text = this.text,
  24406. mode = this.mode,
  24407. format = this.format,
  24408. href = this.href;
  24409. // 价格类型
  24410. if (mode === 'price') {
  24411. // 如果text不为金额进行提示
  24412. if (!/^\d+(\.\d+)?$/.test(text)) {
  24413. uni.$u.error('金额模式下,text参数需要为金额格式');
  24414. }
  24415. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的金额格式化处理
  24416. if (uni.$u.test.func(format)) {
  24417. // 如果用户传入的是函数,使用函数格式化
  24418. return format(text);
  24419. }
  24420. // 如果format非正则,非函数,则使用默认的金额格式化方法进行操作
  24421. return uni.$u.priceFormat(text, 2);
  24422. }
  24423. if (mode === 'date') {
  24424. // 判断是否合法的日期或者时间戳
  24425. !uni.$u.test.date(text) && uni.$u.error('日期模式下,text参数需要为日期或时间戳格式');
  24426. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的格式化处理
  24427. if (uni.$u.test.func(format)) {
  24428. // 如果用户传入的是函数,使用函数格式化
  24429. return format(text);
  24430. }
  24431. if (format) {
  24432. // 如果format非正则,非函数,则使用默认的时间格式化方法进行操作
  24433. return uni.$u.timeFormat(text, format);
  24434. }
  24435. // 如果没有设置format,则设置为默认的时间格式化形式
  24436. return uni.$u.timeFormat(text, 'yyyy-mm-dd');
  24437. }
  24438. if (mode === 'phone') {
  24439. // 判断是否合法的手机号
  24440. // !uni.$u.test.mobile(text) && uni.$u.error('手机号模式下,text参数需要为手机号码格式')
  24441. if (uni.$u.test.func(format)) {
  24442. // 如果用户传入的是函数,使用函数格式化
  24443. return format(text);
  24444. }
  24445. if (format === 'encrypt') {
  24446. // 如果format为encrypt,则将手机号进行星号加密处理
  24447. return "".concat(text.substr(0, 3), "****").concat(text.substr(7));
  24448. }
  24449. return text;
  24450. }
  24451. if (mode === 'name') {
  24452. // 判断是否合法的字符粗
  24453. !(typeof text === 'string') && uni.$u.error('姓名模式下,text参数需要为字符串格式');
  24454. if (uni.$u.test.func(format)) {
  24455. // 如果用户传入的是函数,使用函数格式化
  24456. return format(text);
  24457. }
  24458. if (format === 'encrypt') {
  24459. // 如果format为encrypt,则将姓名进行星号加密处理
  24460. return this.formatName(text);
  24461. }
  24462. return text;
  24463. }
  24464. if (mode === 'link') {
  24465. // 判断是否合法的字符粗
  24466. !uni.$u.test.url(href) && uni.$u.error('超链接模式下,href参数需要为URL格式');
  24467. return text;
  24468. }
  24469. return text;
  24470. }
  24471. },
  24472. methods: {
  24473. // 默认的姓名脱敏规则
  24474. formatName: function formatName(name) {
  24475. var value = '';
  24476. if (name.length === 2) {
  24477. value = name.substr(0, 1) + '*';
  24478. } else if (name.length > 2) {
  24479. var char = '';
  24480. for (var i = 0, len = name.length - 2; i < len; i++) {
  24481. char += '*';
  24482. }
  24483. value = name.substr(0, 1) + char + name.substr(-1, 1);
  24484. } else {
  24485. value = name;
  24486. }
  24487. return value;
  24488. }
  24489. }
  24490. };
  24491. exports.default = _default;
  24492. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24493. /***/ }),
  24494. /* 582 */,
  24495. /* 583 */,
  24496. /* 584 */,
  24497. /* 585 */,
  24498. /* 586 */,
  24499. /* 587 */,
  24500. /* 588 */,
  24501. /* 589 */
  24502. /*!*******************************************************************************************************************************************************!*\
  24503. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-link/props.js ***!
  24504. \*******************************************************************************************************************************************************/
  24505. /*! no static exports found */
  24506. /***/ (function(module, exports, __webpack_require__) {
  24507. "use strict";
  24508. /* WEBPACK VAR INJECTION */(function(uni) {
  24509. Object.defineProperty(exports, "__esModule", {
  24510. value: true
  24511. });
  24512. exports.default = void 0;
  24513. var _default = {
  24514. props: {
  24515. // 文字颜色
  24516. color: {
  24517. type: String,
  24518. default: uni.$u.props.link.color
  24519. },
  24520. // 字体大小,单位px
  24521. fontSize: {
  24522. type: [String, Number],
  24523. default: uni.$u.props.link.fontSize
  24524. },
  24525. // 是否显示下划线
  24526. underLine: {
  24527. type: Boolean,
  24528. default: uni.$u.props.link.underLine
  24529. },
  24530. // 要跳转的链接
  24531. href: {
  24532. type: String,
  24533. default: uni.$u.props.link.href
  24534. },
  24535. // 小程序中复制到粘贴板的提示语
  24536. mpTips: {
  24537. type: String,
  24538. default: uni.$u.props.link.mpTips
  24539. },
  24540. // 下划线颜色
  24541. lineColor: {
  24542. type: String,
  24543. default: uni.$u.props.link.lineColor
  24544. },
  24545. // 超链接的问题,不使用slot形式传入,是因为nvue下无法修改颜色
  24546. text: {
  24547. type: String,
  24548. default: uni.$u.props.link.text
  24549. }
  24550. }
  24551. };
  24552. exports.default = _default;
  24553. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24554. /***/ })
  24555. ]]);
  24556. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map