vendor.js 899 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476
  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({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  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({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  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({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
  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({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
  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({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
  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', {
  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/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBA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BAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/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() {
  17768. return _request.default.get('/visitor/study/list');
  17769. }
  17770. function studyNew(number) {
  17771. return _request.default.get("/visitor/study/new?number=".concat(number));
  17772. }
  17773. function studyDetail(studyId) {
  17774. return _request.default.get("/visitor/study/detail/".concat(noticeId));
  17775. }
  17776. function getImage(src) {
  17777. if (!src) {
  17778. return;
  17779. }
  17780. var real_src = src.split(",")[0];
  17781. return _baseurl.default + real_src;
  17782. }
  17783. function playerVideo(url) {
  17784. return "".concat(_baseurl.default, "/asset/demoVideo/player?name=").concat(url);
  17785. }
  17786. /***/ }),
  17787. /* 175 */
  17788. /*!***********************************************************************************************************************!*\
  17789. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/request.js ***!
  17790. \***********************************************************************************************************************/
  17791. /*! no static exports found */
  17792. /***/ (function(module, exports, __webpack_require__) {
  17793. "use strict";
  17794. /* WEBPACK VAR INJECTION */(function(uni, wx) {
  17795. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  17796. Object.defineProperty(exports, "__esModule", {
  17797. value: true
  17798. });
  17799. exports.default = void 0;
  17800. var _baseurl = _interopRequireDefault(__webpack_require__(/*! @/utils/baseurl.js */ 176));
  17801. var _auth = __webpack_require__(/*! @/utils/auth */ 34);
  17802. var _errorCode = _interopRequireDefault(__webpack_require__(/*! @/utils/errorCode */ 177));
  17803. var Fly = __webpack_require__(/*! flyio/dist/npm/wx */ 178);
  17804. var fly = new Fly();
  17805. //设置超时
  17806. fly.config.timeout = 30000;
  17807. //设置请求基地址
  17808. fly.config.baseURL = _baseurl.default;
  17809. fly.interceptors.request.use(function (config) {
  17810. // 在发送请求之前做些什么
  17811. // if(isLoading){
  17812. // console.log(isLoading,222)
  17813. // uni.showLoading({
  17814. // title: "加载中",
  17815. // mask: true,
  17816. // })
  17817. // }
  17818. var isToken = (config.headers || {}).isToken === false;
  17819. if ((0, _auth.getToken)() && !isToken) {
  17820. config.headers['Authorization'] = "Bearer ".concat((0, _auth.getToken)());
  17821. }
  17822. return config;
  17823. }, function (error) {
  17824. // 对请求错误做些什么
  17825. // if(isLoading){
  17826. // uni.hideLoading();
  17827. // }
  17828. uni.showToast({
  17829. title: error,
  17830. icon: 'error'
  17831. });
  17832. return Promise.reject(error);
  17833. });
  17834. // 添加响应拦截器
  17835. fly.interceptors.response.use(function (res) {
  17836. // 对响应数据做些事
  17837. var _res$data = res.data,
  17838. code = _res$data.code,
  17839. msg = _res$data.msg,
  17840. data = _res$data.data;
  17841. var rescode = code || 200;
  17842. // 获取错误信息
  17843. var resmsg = _errorCode.default[rescode] || msg || _errorCode.default['default'];
  17844. // 二进制数据则直接返回
  17845. // if(isLoading){
  17846. // uni.hideLoading();
  17847. // }
  17848. if (res.request.responseType === 'blob' || res.request.responseType === 'arraybuffer') {
  17849. return resmsg;
  17850. }
  17851. if (rescode === 401) {
  17852. wx.showModal({
  17853. title: '系统提示',
  17854. content: '请先进行登录',
  17855. mask: true,
  17856. success: function success(res) {
  17857. if (res.confirm) {
  17858. uni.reLaunch({
  17859. url: "/pages/logo/index"
  17860. });
  17861. } else if (res.cancel) {
  17862. console.log('用户点击取消');
  17863. }
  17864. }
  17865. });
  17866. } else if (rescode === 500) {
  17867. var mess = "";
  17868. if (resmsg === "用户不存在/密码错误") {
  17869. mess = "工号/密码错误";
  17870. } else if (resmsg === "登录用户: 不存在") {
  17871. mess = "用户不存在";
  17872. } else {
  17873. mess = resmsg;
  17874. }
  17875. uni.showToast({
  17876. title: mess,
  17877. icon: 'error'
  17878. });
  17879. return Promise.reject(new Error(resmsg));
  17880. } else if (rescode !== 200) {
  17881. uni.showToast({
  17882. title: resmsg,
  17883. icon: 'error'
  17884. });
  17885. return Promise.reject('error');
  17886. } else {
  17887. return data;
  17888. }
  17889. }, function (error) {
  17890. var message = error.message.message;
  17891. uni.showToast({
  17892. title: message,
  17893. duration: 5 * 1000,
  17894. icon: 'error'
  17895. });
  17896. return Promise.reject(error);
  17897. });
  17898. var _default = fly;
  17899. exports.default = _default;
  17900. /* 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"]))
  17901. /***/ }),
  17902. /* 176 */
  17903. /*!***********************************************************************************************************************!*\
  17904. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/baseurl.js ***!
  17905. \***********************************************************************************************************************/
  17906. /*! no static exports found */
  17907. /***/ (function(module, exports, __webpack_require__) {
  17908. "use strict";
  17909. Object.defineProperty(exports, "__esModule", {
  17910. value: true
  17911. });
  17912. exports.default = void 0;
  17913. var devUrl = 'http://192.168.0.105:80/dev-api';
  17914. // let devUrl = 'http://localhost:80/dev-api';
  17915. var prodUrl = 'http://localhost:80/prod-api';
  17916. var baseUrl = true ? devUrl : undefined;
  17917. var _default = baseUrl;
  17918. exports.default = _default;
  17919. /***/ }),
  17920. /* 177 */
  17921. /*!*************************************************************************************************************************!*\
  17922. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/errorCode.js ***!
  17923. \*************************************************************************************************************************/
  17924. /*! no static exports found */
  17925. /***/ (function(module, exports, __webpack_require__) {
  17926. "use strict";
  17927. Object.defineProperty(exports, "__esModule", {
  17928. value: true
  17929. });
  17930. exports.default = void 0;
  17931. var _default = {
  17932. '401': '认证失败,无法访问系统资源',
  17933. '403': '当前操作没有权限',
  17934. '404': '访问资源不存在',
  17935. 'default': '系统未知错误,请反馈给管理员'
  17936. };
  17937. exports.default = _default;
  17938. /***/ }),
  17939. /* 178 */
  17940. /*!*******************************************!*\
  17941. !*** ./node_modules/flyio/dist/npm/wx.js ***!
  17942. \*******************************************/
  17943. /*! no static exports found */
  17944. /***/ (function(module, exports, __webpack_require__) {
  17945. /* WEBPACK VAR INJECTION */(function(wx) {(function webpackUniversalModuleDefinition(root, factory) {
  17946. if(true)
  17947. module.exports = factory();
  17948. else { var i, a; }
  17949. })(this, function() {
  17950. return /******/ (function(modules) { // webpackBootstrap
  17951. /******/ // The module cache
  17952. /******/ var installedModules = {};
  17953. /******/
  17954. /******/ // The require function
  17955. /******/ function __webpack_require__(moduleId) {
  17956. /******/
  17957. /******/ // Check if module is in cache
  17958. /******/ if(installedModules[moduleId]) {
  17959. /******/ return installedModules[moduleId].exports;
  17960. /******/ }
  17961. /******/ // Create a new module (and put it into the cache)
  17962. /******/ var module = installedModules[moduleId] = {
  17963. /******/ i: moduleId,
  17964. /******/ l: false,
  17965. /******/ exports: {}
  17966. /******/ };
  17967. /******/
  17968. /******/ // Execute the module function
  17969. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  17970. /******/
  17971. /******/ // Flag the module as loaded
  17972. /******/ module.l = true;
  17973. /******/
  17974. /******/ // Return the exports of the module
  17975. /******/ return module.exports;
  17976. /******/ }
  17977. /******/
  17978. /******/
  17979. /******/ // expose the modules object (__webpack_modules__)
  17980. /******/ __webpack_require__.m = modules;
  17981. /******/
  17982. /******/ // expose the module cache
  17983. /******/ __webpack_require__.c = installedModules;
  17984. /******/
  17985. /******/ // identity function for calling harmony imports with the correct context
  17986. /******/ __webpack_require__.i = function(value) { return value; };
  17987. /******/
  17988. /******/ // define getter function for harmony exports
  17989. /******/ __webpack_require__.d = function(exports, name, getter) {
  17990. /******/ if(!__webpack_require__.o(exports, name)) {
  17991. /******/ Object.defineProperty(exports, name, {
  17992. /******/ configurable: false,
  17993. /******/ enumerable: true,
  17994. /******/ get: getter
  17995. /******/ });
  17996. /******/ }
  17997. /******/ };
  17998. /******/
  17999. /******/ // getDefaultExport function for compatibility with non-harmony modules
  18000. /******/ __webpack_require__.n = function(module) {
  18001. /******/ var getter = module && module.__esModule ?
  18002. /******/ function getDefault() { return module['default']; } :
  18003. /******/ function getModuleExports() { return module; };
  18004. /******/ __webpack_require__.d(getter, 'a', getter);
  18005. /******/ return getter;
  18006. /******/ };
  18007. /******/
  18008. /******/ // Object.prototype.hasOwnProperty.call
  18009. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  18010. /******/
  18011. /******/ // __webpack_public_path__
  18012. /******/ __webpack_require__.p = "";
  18013. /******/
  18014. /******/ // Load entry module and return exports
  18015. /******/ return __webpack_require__(__webpack_require__.s = 13);
  18016. /******/ })
  18017. /************************************************************************/
  18018. /******/ ([
  18019. /* 0 */
  18020. /***/ (function(module, exports, __webpack_require__) {
  18021. "use strict";
  18022. var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
  18023. module.exports = {
  18024. type: function type(ob) {
  18025. return Object.prototype.toString.call(ob).slice(8, -1).toLowerCase();
  18026. },
  18027. isObject: function isObject(ob, real) {
  18028. if (real) {
  18029. return this.type(ob) === "object";
  18030. } else {
  18031. return ob && (typeof ob === 'undefined' ? 'undefined' : _typeof(ob)) === 'object';
  18032. }
  18033. },
  18034. isFormData: function isFormData(val) {
  18035. return typeof FormData !== 'undefined' && val instanceof FormData;
  18036. },
  18037. trim: function trim(str) {
  18038. return str.replace(/(^\s*)|(\s*$)/g, '');
  18039. },
  18040. encode: function encode(val) {
  18041. return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
  18042. },
  18043. formatParams: function formatParams(data) {
  18044. var str = "";
  18045. var first = true;
  18046. var that = this;
  18047. if (!this.isObject(data)) {
  18048. return data;
  18049. }
  18050. function _encode(sub, path) {
  18051. var encode = that.encode;
  18052. var type = that.type(sub);
  18053. if (type == "array") {
  18054. sub.forEach(function (e, i) {
  18055. if (!that.isObject(e)) i = "";
  18056. _encode(e, path + ('%5B' + i + '%5D'));
  18057. });
  18058. } else if (type == "object") {
  18059. for (var key in sub) {
  18060. if (path) {
  18061. _encode(sub[key], path + "%5B" + encode(key) + "%5D");
  18062. } else {
  18063. _encode(sub[key], encode(key));
  18064. }
  18065. }
  18066. } else {
  18067. if (!first) {
  18068. str += "&";
  18069. }
  18070. first = false;
  18071. str += path + "=" + encode(sub);
  18072. }
  18073. }
  18074. _encode(data, "");
  18075. return str;
  18076. },
  18077. // Do not overwrite existing attributes
  18078. merge: function merge(a, b) {
  18079. for (var key in b) {
  18080. if (!a.hasOwnProperty(key)) {
  18081. a[key] = b[key];
  18082. } else if (this.isObject(b[key], 1) && this.isObject(a[key], 1)) {
  18083. this.merge(a[key], b[key]);
  18084. }
  18085. }
  18086. return a;
  18087. }
  18088. };
  18089. /***/ }),
  18090. /* 1 */
  18091. /***/ (function(module, exports, __webpack_require__) {
  18092. function KEEP(_,cb){cb();}
  18093. "use strict";
  18094. 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; };
  18095. 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; }; }();
  18096. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  18097. /*
  18098. * author: wendu
  18099. * email: 824783146@qq.com
  18100. **/
  18101. var util = __webpack_require__(0);
  18102. var isBrowser = typeof document !== "undefined";
  18103. //EngineWrapper can help generating a http engine quickly through a adapter
  18104. function EngineWrapper(adapter) {
  18105. var AjaxEngine = function () {
  18106. function AjaxEngine() {
  18107. _classCallCheck(this, AjaxEngine);
  18108. this.requestHeaders = {};
  18109. this.readyState = 0;
  18110. this.timeout = 0; // 0 stands for no timeout
  18111. this.responseURL = "";
  18112. this.responseHeaders = {};
  18113. }
  18114. _createClass(AjaxEngine, [{
  18115. key: "_call",
  18116. value: function _call(name) {
  18117. this[name] && this[name].apply(this, [].splice.call(arguments, 1));
  18118. }
  18119. }, {
  18120. key: "_changeReadyState",
  18121. value: function _changeReadyState(state) {
  18122. this.readyState = state;
  18123. this._call("onreadystatechange");
  18124. }
  18125. }, {
  18126. key: "open",
  18127. value: function open(method, url) {
  18128. this.method = method;
  18129. if (!url) {
  18130. url = location.href;
  18131. } else {
  18132. url = util.trim(url);
  18133. if (url.indexOf("http") !== 0) {
  18134. // Normalize the request url
  18135. if (isBrowser) {
  18136. var t = document.createElement("a");
  18137. t.href = url;
  18138. url = t.href;
  18139. }
  18140. }
  18141. }
  18142. this.responseURL = url;
  18143. this._changeReadyState(1);
  18144. }
  18145. }, {
  18146. key: "send",
  18147. value: function send(arg) {
  18148. var _this = this;
  18149. arg = arg || null;
  18150. var self = this;
  18151. if (adapter) {
  18152. var request = {
  18153. method: self.method,
  18154. url: self.responseURL,
  18155. headers: self.requestHeaders || {},
  18156. body: arg
  18157. };
  18158. util.merge(request, self._options || {});
  18159. if (request.method === "GET") {
  18160. request.body = null;
  18161. }
  18162. self._changeReadyState(3);
  18163. var timer = void 0;
  18164. self.timeout = self.timeout || 0;
  18165. if (self.timeout > 0) {
  18166. timer = setTimeout(function () {
  18167. if (self.readyState === 3) {
  18168. _this._call("onloadend");
  18169. self._changeReadyState(0);
  18170. self._call("ontimeout");
  18171. }
  18172. }, self.timeout);
  18173. }
  18174. request.timeout = self.timeout;
  18175. adapter(request, function (response) {
  18176. function getAndDelete(key) {
  18177. var t = response[key];
  18178. delete response[key];
  18179. return t;
  18180. }
  18181. // If the request has already timeout, return
  18182. if (self.readyState !== 3) return;
  18183. clearTimeout(timer);
  18184. // Make sure the type of status is integer
  18185. self.status = getAndDelete("statusCode") - 0;
  18186. var responseText = getAndDelete("responseText");
  18187. var statusMessage = getAndDelete("statusMessage");
  18188. // Network error, set the status code 0
  18189. if (!self.status) {
  18190. self.statusText = responseText;
  18191. self._call("onerror", { msg: statusMessage });
  18192. } else {
  18193. // Parsing the response headers to array in a object, because
  18194. // there may be multiple values with the same header name
  18195. var responseHeaders = getAndDelete("headers");
  18196. var headers = {};
  18197. for (var field in responseHeaders) {
  18198. var value = responseHeaders[field];
  18199. var key = field.toLowerCase();
  18200. // Is array
  18201. if ((typeof value === "undefined" ? "undefined" : _typeof(value)) === "object") {
  18202. headers[key] = value;
  18203. } else {
  18204. headers[key] = headers[key] || [];
  18205. headers[key].push(value);
  18206. }
  18207. }
  18208. var cookies = headers["set-cookie"];
  18209. if (isBrowser && cookies) {
  18210. cookies.forEach(function (e) {
  18211. // Remove the http-Only property of the cookie
  18212. // so that JavaScript can operate it.
  18213. document.cookie = e.replace(/;\s*httpOnly/ig, "");
  18214. });
  18215. }
  18216. self.responseHeaders = headers;
  18217. // Set the fields of engine from response
  18218. self.statusText = statusMessage || "";
  18219. self.response = self.responseText = responseText;
  18220. self._response = response;
  18221. self._changeReadyState(4);
  18222. self._call("onload");
  18223. }
  18224. self._call("onloadend");
  18225. });
  18226. } else {
  18227. console.error("Ajax require adapter");
  18228. }
  18229. }
  18230. }, {
  18231. key: "setRequestHeader",
  18232. value: function setRequestHeader(key, value) {
  18233. this.requestHeaders[util.trim(key)] = value;
  18234. }
  18235. }, {
  18236. key: "getResponseHeader",
  18237. value: function getResponseHeader(key) {
  18238. return (this.responseHeaders[key.toLowerCase()] || "").toString() || null;
  18239. }
  18240. }, {
  18241. key: "getAllResponseHeaders",
  18242. value: function getAllResponseHeaders() {
  18243. var str = "";
  18244. for (var key in this.responseHeaders) {
  18245. str += key + ":" + this.getResponseHeader(key) + "\r\n";
  18246. }
  18247. return str || null;
  18248. }
  18249. }, {
  18250. key: "abort",
  18251. value: function abort(msg) {
  18252. this._changeReadyState(0);
  18253. this._call("onerror", { msg: msg });
  18254. this._call("onloadend");
  18255. }
  18256. }], [{
  18257. key: "setAdapter",
  18258. value: function setAdapter(requestAdapter) {
  18259. adapter = requestAdapter;
  18260. }
  18261. }]);
  18262. return AjaxEngine;
  18263. }();
  18264. return AjaxEngine;
  18265. }
  18266. // learn more about keep-loader: https://github.com/wendux/keep-loader
  18267. ;
  18268. module.exports = EngineWrapper;
  18269. /***/ }),
  18270. /* 2 */
  18271. /***/ (function(module, exports, __webpack_require__) {
  18272. function KEEP(_,cb){cb();}
  18273. "use strict";
  18274. 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; }; }();
  18275. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  18276. var utils = __webpack_require__(0);
  18277. var isBrowser = typeof document !== "undefined";
  18278. var Fly = function () {
  18279. function Fly(engine) {
  18280. _classCallCheck(this, Fly);
  18281. this.engine = engine || XMLHttpRequest;
  18282. this.default = this; //For typeScript
  18283. /**
  18284. * Add lock/unlock API for interceptor.
  18285. *
  18286. * Once an request/response interceptor is locked, the incoming request/response
  18287. * will be added to a queue before they enter the interceptor, they will not be
  18288. * continued until the interceptor is unlocked.
  18289. *
  18290. * @param [interceptor] either is interceptors.request or interceptors.response
  18291. */
  18292. function wrap(interceptor) {
  18293. var resolve = void 0;
  18294. var reject = void 0;
  18295. function _clear() {
  18296. interceptor.p = resolve = reject = null;
  18297. }
  18298. utils.merge(interceptor, {
  18299. lock: function lock() {
  18300. if (!resolve) {
  18301. interceptor.p = new Promise(function (_resolve, _reject) {
  18302. resolve = _resolve;
  18303. reject = _reject;
  18304. });
  18305. }
  18306. },
  18307. unlock: function unlock() {
  18308. if (resolve) {
  18309. resolve();
  18310. _clear();
  18311. }
  18312. },
  18313. clear: function clear() {
  18314. if (reject) {
  18315. reject("cancel");
  18316. _clear();
  18317. }
  18318. }
  18319. });
  18320. }
  18321. var interceptors = this.interceptors = {
  18322. response: {
  18323. use: function use(handler, onerror) {
  18324. this.handler = handler;
  18325. this.onerror = onerror;
  18326. }
  18327. },
  18328. request: {
  18329. use: function use(handler) {
  18330. this.handler = handler;
  18331. }
  18332. }
  18333. };
  18334. var irq = interceptors.request;
  18335. var irp = interceptors.response;
  18336. wrap(irp);
  18337. wrap(irq);
  18338. this.config = {
  18339. method: "GET",
  18340. baseURL: "",
  18341. headers: {},
  18342. timeout: 0,
  18343. params: {}, // Default Url params
  18344. parseJson: true, // Convert response data to JSON object automatically.
  18345. withCredentials: false
  18346. };
  18347. }
  18348. _createClass(Fly, [{
  18349. key: "request",
  18350. value: function request(url, data, options) {
  18351. var _this = this;
  18352. var engine = new this.engine();
  18353. var contentType = "Content-Type";
  18354. var contentTypeLowerCase = contentType.toLowerCase();
  18355. var interceptors = this.interceptors;
  18356. var requestInterceptor = interceptors.request;
  18357. var responseInterceptor = interceptors.response;
  18358. var requestInterceptorHandler = requestInterceptor.handler;
  18359. var promise = new Promise(function (resolve, reject) {
  18360. if (utils.isObject(url)) {
  18361. options = url;
  18362. url = options.url;
  18363. }
  18364. options = options || {};
  18365. options.headers = options.headers || {};
  18366. function isPromise(p) {
  18367. // some polyfill implementation of Promise may be not standard,
  18368. // so, we test by duck-typing
  18369. return p && p.then && p.catch;
  18370. }
  18371. /**
  18372. * If the request/response interceptor has been locked,
  18373. * the new request/response will enter a queue. otherwise, it will be performed directly.
  18374. * @param [promise] if the promise exist, means the interceptor is locked.
  18375. * @param [callback]
  18376. */
  18377. function enqueueIfLocked(promise, callback) {
  18378. if (promise) {
  18379. promise.then(function () {
  18380. callback();
  18381. });
  18382. } else {
  18383. callback();
  18384. }
  18385. }
  18386. // make the http request
  18387. function makeRequest(options) {
  18388. data = options.body;
  18389. // Normalize the request url
  18390. url = utils.trim(options.url);
  18391. var baseUrl = utils.trim(options.baseURL || "");
  18392. if (!url && isBrowser && !baseUrl) url = location.href;
  18393. if (url.indexOf("http") !== 0) {
  18394. var isAbsolute = url[0] === "/";
  18395. if (!baseUrl && isBrowser) {
  18396. var arr = location.pathname.split("/");
  18397. arr.pop();
  18398. baseUrl = location.protocol + "//" + location.host + (isAbsolute ? "" : arr.join("/"));
  18399. }
  18400. if (baseUrl[baseUrl.length - 1] !== "/") {
  18401. baseUrl += "/";
  18402. }
  18403. url = baseUrl + (isAbsolute ? url.substr(1) : url);
  18404. if (isBrowser) {
  18405. // Normalize the url which contains the ".." or ".", such as
  18406. // "http://xx.com/aa/bb/../../xx" to "http://xx.com/xx" .
  18407. var t = document.createElement("a");
  18408. t.href = url;
  18409. url = t.href;
  18410. }
  18411. }
  18412. var responseType = utils.trim(options.responseType || "");
  18413. var needQuery = ["GET", "HEAD", "DELETE", "OPTION"].indexOf(options.method) !== -1;
  18414. var dataType = utils.type(data);
  18415. var params = options.params || {};
  18416. // merge url params when the method is "GET" (data is object)
  18417. if (needQuery && dataType === "object") {
  18418. params = utils.merge(data, params);
  18419. }
  18420. // encode params to String
  18421. params = utils.formatParams(params);
  18422. // save url params
  18423. var _params = [];
  18424. if (params) {
  18425. _params.push(params);
  18426. }
  18427. // Add data to url params when the method is "GET" (data is String)
  18428. if (needQuery && data && dataType === "string") {
  18429. _params.push(data);
  18430. }
  18431. // make the final url
  18432. if (_params.length > 0) {
  18433. url += (url.indexOf("?") === -1 ? "?" : "&") + _params.join("&");
  18434. }
  18435. engine.open(options.method, url);
  18436. // try catch for ie >=9
  18437. try {
  18438. engine.withCredentials = !!options.withCredentials;
  18439. engine.timeout = options.timeout || 0;
  18440. if (responseType !== "stream") {
  18441. engine.responseType = responseType;
  18442. }
  18443. } catch (e) {}
  18444. var customContentType = options.headers[contentType] || options.headers[contentTypeLowerCase];
  18445. // default content type
  18446. var _contentType = "application/x-www-form-urlencoded";
  18447. // If the request data is json object, transforming it to json string,
  18448. // and set request content-type to "json". In browser, the data will
  18449. // be sent as RequestBody instead of FormData
  18450. if (utils.trim((customContentType || "").toLowerCase()) === _contentType) {
  18451. data = utils.formatParams(data);
  18452. } else if (!utils.isFormData(data) && ["object", "array"].indexOf(utils.type(data)) !== -1) {
  18453. _contentType = 'application/json;charset=utf-8';
  18454. data = JSON.stringify(data);
  18455. }
  18456. //If user doesn't set content-type, set default.
  18457. if (!(customContentType || needQuery)) {
  18458. options.headers[contentType] = _contentType;
  18459. }
  18460. for (var k in options.headers) {
  18461. if (k === contentType && utils.isFormData(data)) {
  18462. // Delete the content-type, Let the browser set it
  18463. delete options.headers[k];
  18464. } else {
  18465. try {
  18466. // In browser environment, some header fields are readonly,
  18467. // write will cause the exception .
  18468. engine.setRequestHeader(k, options.headers[k]);
  18469. } catch (e) {}
  18470. }
  18471. }
  18472. function onresult(handler, data, type) {
  18473. enqueueIfLocked(responseInterceptor.p, function () {
  18474. if (handler) {
  18475. //如果失败,添加请求信息
  18476. if (type) {
  18477. data.request = options;
  18478. }
  18479. var ret = handler.call(responseInterceptor, data, Promise);
  18480. data = ret === undefined ? data : ret;
  18481. }
  18482. if (!isPromise(data)) {
  18483. data = Promise[type === 0 ? "resolve" : "reject"](data);
  18484. }
  18485. data.then(function (d) {
  18486. resolve(d);
  18487. }).catch(function (e) {
  18488. reject(e);
  18489. });
  18490. });
  18491. }
  18492. function onerror(e) {
  18493. e.engine = engine;
  18494. onresult(responseInterceptor.onerror, e, -1);
  18495. }
  18496. function Err(msg, status) {
  18497. this.message = msg;
  18498. this.status = status;
  18499. }
  18500. engine.onload = function () {
  18501. try {
  18502. // The xhr of IE9 has not response field
  18503. var response = engine.response || engine.responseText;
  18504. if (response && options.parseJson && (engine.getResponseHeader(contentType) || "").indexOf("json") !== -1
  18505. // Some third engine implementation may transform the response text to json object automatically,
  18506. // so we should test the type of response before transforming it
  18507. && !utils.isObject(response)) {
  18508. response = JSON.parse(response);
  18509. }
  18510. var headers = engine.responseHeaders;
  18511. // In browser
  18512. if (!headers) {
  18513. headers = {};
  18514. var items = (engine.getAllResponseHeaders() || "").split("\r\n");
  18515. items.pop();
  18516. items.forEach(function (e) {
  18517. if (!e) return;
  18518. var key = e.split(":")[0];
  18519. headers[key] = engine.getResponseHeader(key);
  18520. });
  18521. }
  18522. var status = engine.status;
  18523. var statusText = engine.statusText;
  18524. var _data = { data: response, headers: headers, status: status, statusText: statusText };
  18525. // The _response filed of engine is set in adapter which be called in engine-wrapper.js
  18526. utils.merge(_data, engine._response);
  18527. if (status >= 200 && status < 300 || status === 304) {
  18528. _data.engine = engine;
  18529. _data.request = options;
  18530. onresult(responseInterceptor.handler, _data, 0);
  18531. } else {
  18532. var e = new Err(statusText, status);
  18533. e.response = _data;
  18534. onerror(e);
  18535. }
  18536. } catch (e) {
  18537. onerror(new Err(e.msg, engine.status));
  18538. }
  18539. };
  18540. engine.onerror = function (e) {
  18541. onerror(new Err(e.msg || "Network Error", 0));
  18542. };
  18543. engine.ontimeout = function () {
  18544. onerror(new Err("timeout [ " + engine.timeout + "ms ]", 1));
  18545. };
  18546. engine._options = options;
  18547. setTimeout(function () {
  18548. engine.send(needQuery ? null : data);
  18549. }, 0);
  18550. }
  18551. enqueueIfLocked(requestInterceptor.p, function () {
  18552. utils.merge(options, JSON.parse(JSON.stringify(_this.config)));
  18553. var headers = options.headers;
  18554. headers[contentType] = headers[contentType] || headers[contentTypeLowerCase] || "";
  18555. delete headers[contentTypeLowerCase];
  18556. options.body = data || options.body;
  18557. url = utils.trim(url || "");
  18558. options.method = options.method.toUpperCase();
  18559. options.url = url;
  18560. var ret = options;
  18561. if (requestInterceptorHandler) {
  18562. ret = requestInterceptorHandler.call(requestInterceptor, options, Promise) || options;
  18563. }
  18564. if (!isPromise(ret)) {
  18565. ret = Promise.resolve(ret);
  18566. }
  18567. ret.then(function (d) {
  18568. //if options continue
  18569. if (d === options) {
  18570. makeRequest(d);
  18571. } else {
  18572. resolve(d);
  18573. }
  18574. }, function (err) {
  18575. reject(err);
  18576. });
  18577. });
  18578. });
  18579. promise.engine = engine;
  18580. return promise;
  18581. }
  18582. }, {
  18583. key: "all",
  18584. value: function all(promises) {
  18585. return Promise.all(promises);
  18586. }
  18587. }, {
  18588. key: "spread",
  18589. value: function spread(callback) {
  18590. return function (arr) {
  18591. return callback.apply(null, arr);
  18592. };
  18593. }
  18594. }]);
  18595. return Fly;
  18596. }();
  18597. //For typeScript
  18598. Fly.default = Fly;
  18599. ["get", "post", "put", "patch", "head", "delete"].forEach(function (e) {
  18600. Fly.prototype[e] = function (url, data, option) {
  18601. return this.request(url, data, utils.merge({ method: e }, option));
  18602. };
  18603. });
  18604. ["lock", "unlock", "clear"].forEach(function (e) {
  18605. Fly.prototype[e] = function () {
  18606. this.interceptors.request[e]();
  18607. };
  18608. });
  18609. // Learn more about keep-loader: https://github.com/wendux/keep-loader
  18610. ;
  18611. module.exports = Fly;
  18612. /***/ }),
  18613. /* 3 */,
  18614. /* 4 */,
  18615. /* 5 */,
  18616. /* 6 */,
  18617. /* 7 */
  18618. /***/ (function(module, exports, __webpack_require__) {
  18619. "use strict";
  18620. //微信小程序适配器
  18621. module.exports = function (request, responseCallback) {
  18622. var con = {
  18623. method: request.method,
  18624. url: request.url,
  18625. dataType: request.dataType || undefined,
  18626. header: request.headers,
  18627. data: request.body || {},
  18628. responseType: request.responseType || 'text',
  18629. success: function success(res) {
  18630. responseCallback({
  18631. statusCode: res.statusCode,
  18632. responseText: res.data,
  18633. headers: res.header,
  18634. statusMessage: res.errMsg
  18635. });
  18636. },
  18637. fail: function fail(res) {
  18638. responseCallback({
  18639. statusCode: res.statusCode || 0,
  18640. statusMessage: res.errMsg
  18641. });
  18642. }
  18643. };
  18644. wx.request(con);
  18645. };
  18646. /***/ }),
  18647. /* 8 */,
  18648. /* 9 */,
  18649. /* 10 */,
  18650. /* 11 */,
  18651. /* 12 */,
  18652. /* 13 */
  18653. /***/ (function(module, exports, __webpack_require__) {
  18654. "use strict";
  18655. //微信小程序入口
  18656. var _Fly = __webpack_require__(2);
  18657. var EngineWrapper = __webpack_require__(1);
  18658. var adapter = __webpack_require__(7);
  18659. var wxEngine = EngineWrapper(adapter);
  18660. module.exports = function (engine) {
  18661. return new _Fly(engine || wxEngine);
  18662. };
  18663. /***/ })
  18664. /******/ ]);
  18665. });
  18666. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  18667. /***/ }),
  18668. /* 179 */,
  18669. /* 180 */,
  18670. /* 181 */,
  18671. /* 182 */,
  18672. /* 183 */,
  18673. /* 184 */,
  18674. /* 185 */,
  18675. /* 186 */,
  18676. /* 187 */
  18677. /*!********************************************************************************************************************!*\
  18678. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/notice.js ***!
  18679. \********************************************************************************************************************/
  18680. /*! no static exports found */
  18681. /***/ (function(module, exports, __webpack_require__) {
  18682. "use strict";
  18683. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18684. Object.defineProperty(exports, "__esModule", {
  18685. value: true
  18686. });
  18687. exports.getNewInform = getNewInform;
  18688. exports.getNewNotice = getNewNotice;
  18689. exports.getNoticeDetail = getNoticeDetail;
  18690. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request.js */ 175));
  18691. function getNewInform(x, y) {
  18692. return _request.default.get('/system/notice/list', {
  18693. noticeType: 1,
  18694. status: 0,
  18695. pageNum: x,
  18696. pageSize: y
  18697. }).then(function (res) {
  18698. return res;
  18699. });
  18700. }
  18701. function getNewNotice(x, y) {
  18702. return _request.default.get('/system/notice/list', {
  18703. noticeType: 1,
  18704. status: 0,
  18705. pageNum: x,
  18706. pageSize: y
  18707. }).then(function (res) {
  18708. return res;
  18709. });
  18710. }
  18711. function getNoticeDetail(id) {
  18712. return _request.default.get("/system/notice/".concat(id)).then(function (res) {
  18713. return res;
  18714. });
  18715. }
  18716. /***/ }),
  18717. /* 188 */
  18718. /*!*******************************************************************************************************************!*\
  18719. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/asset.js ***!
  18720. \*******************************************************************************************************************/
  18721. /*! no static exports found */
  18722. /***/ (function(module, exports, __webpack_require__) {
  18723. "use strict";
  18724. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18725. Object.defineProperty(exports, "__esModule", {
  18726. value: true
  18727. });
  18728. exports.borrowAsset = borrowAsset;
  18729. exports.getAllPlace = getAllPlace;
  18730. exports.getBorrowList = getBorrowList;
  18731. exports.getFaultDetail = getFaultDetail;
  18732. exports.getFaultReport = getFaultReport;
  18733. exports.getReturnDetail = getReturnDetail;
  18734. exports.handleFaultReport = handleFaultReport;
  18735. exports.keywordSearch = keywordSearch;
  18736. exports.reportFault = reportFault;
  18737. exports.returnAsset = returnAsset;
  18738. exports.searchAsset = searchAsset;
  18739. exports.sumBorrow = sumBorrow;
  18740. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 175));
  18741. //扫码或者根据关键词查询
  18742. function searchAsset(data) {
  18743. return _request.default.get('/asset/asset/search', data).then(function (res) {
  18744. return res;
  18745. });
  18746. }
  18747. //获取全部的存放地点
  18748. function getAllPlace() {
  18749. return _request.default.get('/asset/place/all').then(function (res) {
  18750. return res;
  18751. });
  18752. }
  18753. //借用设备
  18754. function borrowAsset(borrowDate, returnDate, data) {
  18755. return _request.default.post("/asset/borrow/save/".concat(borrowDate, "/").concat(returnDate), data).then(function (res) {
  18756. return res;
  18757. });
  18758. }
  18759. //归还设备
  18760. function returnAsset(barCode) {
  18761. return _request.default.put("/asset/borrow/return/".concat(barCode)).then(function (res) {
  18762. return res;
  18763. });
  18764. }
  18765. //获取借用设备记录
  18766. function getBorrowList(data) {
  18767. return _request.default.get('/asset/borrow/recordList', data).then(function (res) {
  18768. return res;
  18769. });
  18770. }
  18771. //获取已归还的记录详细
  18772. function getReturnDetail(id) {
  18773. return _request.default.get("/asset/borrow/record/".concat(id)).then(function (res) {
  18774. return res;
  18775. });
  18776. }
  18777. //统计借用设备记录
  18778. function sumBorrow(data) {
  18779. return _request.default.get('/asset/borrow/recordCount', {
  18780. status: data
  18781. }).then(function (res) {
  18782. return res;
  18783. });
  18784. }
  18785. //故障上报
  18786. function reportFault(data) {
  18787. return _request.default.post('/asset/fault/save', data).then(function (res) {
  18788. return res;
  18789. });
  18790. }
  18791. //管理员故障处理列表
  18792. function getFaultReport() {
  18793. return _request.default.get('/asset/fault/list').then(function (res) {
  18794. return res;
  18795. });
  18796. }
  18797. //管理员:获取故障详细,处理故障
  18798. function getFaultDetail(id) {
  18799. return _request.default.get("/asset/fault/".concat(id)).then(function (res) {
  18800. return res;
  18801. });
  18802. }
  18803. //管理:故障处理
  18804. function handleFaultReport(data) {
  18805. return _request.default.put('/asset/fault/process', data).then(function (res) {
  18806. return res;
  18807. });
  18808. }
  18809. function keywordSearch(pageNum, pageSize, data) {
  18810. return _request.default.get("/asset/asset/search/list/".concat(pageNum, "/").concat(pageSize), data).then(function (res) {
  18811. return res;
  18812. });
  18813. }
  18814. /***/ }),
  18815. /* 189 */,
  18816. /* 190 */,
  18817. /* 191 */,
  18818. /* 192 */,
  18819. /* 193 */,
  18820. /* 194 */,
  18821. /* 195 */,
  18822. /* 196 */,
  18823. /* 197 */
  18824. /*!******************************************************************************************************************!*\
  18825. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/user.js ***!
  18826. \******************************************************************************************************************/
  18827. /*! no static exports found */
  18828. /***/ (function(module, exports, __webpack_require__) {
  18829. "use strict";
  18830. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18831. Object.defineProperty(exports, "__esModule", {
  18832. value: true
  18833. });
  18834. exports.getInfo = getInfo;
  18835. exports.login = login;
  18836. exports.logout = logout;
  18837. exports.resetPwd = resetPwd;
  18838. exports.savePassword = savePassword;
  18839. exports.saveUserInfo = saveUserInfo;
  18840. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 175));
  18841. function login(username, password) {
  18842. var data = {
  18843. username: username,
  18844. password: password
  18845. };
  18846. return _request.default.post('/login', data, {
  18847. headers: {
  18848. isToken: false
  18849. }
  18850. }).then(function (res) {
  18851. return res;
  18852. });
  18853. }
  18854. // 获取用户详细信息
  18855. function getInfo() {
  18856. return _request.default.get('/getInfo').then(function (res) {
  18857. return res;
  18858. });
  18859. }
  18860. //修改用户信息
  18861. function saveUserInfo(data) {
  18862. return _request.default.put('/system/user/profile', data).then(function (res) {
  18863. return res;
  18864. });
  18865. }
  18866. //修改用户密码
  18867. function savePassword(oldPwd, newPwd) {
  18868. return _request.default.put('/system/user/profile/updatePwd', {
  18869. oldPassword: oldPwd,
  18870. newPassword: newPwd
  18871. }).then(function (res) {
  18872. return res;
  18873. });
  18874. }
  18875. //退出
  18876. function logout() {
  18877. return _request.default.post('/logout').then(function (res) {
  18878. return res;
  18879. });
  18880. }
  18881. function resetPwd(username, password) {
  18882. return _request.default.put("/system/user/resetPwd/".concat(username, "/").concat(password)).then(function (res) {
  18883. return res;
  18884. });
  18885. }
  18886. /***/ }),
  18887. /* 198 */
  18888. /*!***********************************************************************************************************************!*\
  18889. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/storage.js ***!
  18890. \***********************************************************************************************************************/
  18891. /*! no static exports found */
  18892. /***/ (function(module, exports, __webpack_require__) {
  18893. "use strict";
  18894. /* WEBPACK VAR INJECTION */(function(uni) {
  18895. Object.defineProperty(exports, "__esModule", {
  18896. value: true
  18897. });
  18898. exports.default = void 0;
  18899. var sessionCache = {
  18900. set: function set(key, value) {
  18901. // if (!sessionStorage) {
  18902. // return
  18903. // }
  18904. if (key != null && value != null) {
  18905. uni.setStorageSync(key, value);
  18906. }
  18907. },
  18908. get: function get(key) {
  18909. // if (!sessionStorage) {
  18910. // return null
  18911. // }
  18912. if (key == null) {
  18913. return null;
  18914. }
  18915. return uni.getStorageSync(key);
  18916. },
  18917. setJSON: function setJSON(key, jsonValue) {
  18918. if (jsonValue != null) {
  18919. this.set(key, JSON.stringify(jsonValue));
  18920. }
  18921. },
  18922. getJSON: function getJSON(key) {
  18923. var value = this.get(key);
  18924. if (value != null) {
  18925. return JSON.parse(value);
  18926. }
  18927. },
  18928. remove: function remove(key) {
  18929. uni.removeStorageSync(key);
  18930. }
  18931. };
  18932. var _default = {
  18933. session: sessionCache
  18934. };
  18935. exports.default = _default;
  18936. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  18937. /***/ }),
  18938. /* 199 */,
  18939. /* 200 */,
  18940. /* 201 */,
  18941. /* 202 */,
  18942. /* 203 */,
  18943. /* 204 */,
  18944. /* 205 */
  18945. /*!*******************************************************************************************************************************!*\
  18946. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/static/images/search.png ***!
  18947. \*******************************************************************************************************************************/
  18948. /*! no static exports found */
  18949. /***/ (function(module, exports) {
  18950. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae19CZBcx3neO+fY2Qs3SHBxkAQFCaRFMrQkU7JIlFWRzESSo1h0EitVscuOS6lS7DhVdqWcVNFxqmzHlbjKssuOE6UqTsWR6EO+yrEiWyuREs1YoACIBiUKJI7FwQVAANxrrnfl+/pNz868md3Z2Z3deTP7N7DTb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BAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQaABgf8PtPt2mjRdNicAAAAASUVORK5CYII="
  18951. /***/ }),
  18952. /* 206 */
  18953. /*!************************************************************************************************************************************!*\
  18954. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/static/images/shebeiname1.png ***!
  18955. \************************************************************************************************************************************/
  18956. /*! no static exports found */
  18957. /***/ (function(module, exports) {
  18958. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAF5tJREFUeF7tnQ2QFGeZx/9PzwK7fAjTCwuVQESY3g1sEi+5M0ByarRiGYyKH2dMyu+LBqaHRCvCKaWlG+8SUookAaYna05do8mZGMOdeoZoxSQEIVGseEk2sNOzrBESEXZ7iBAg7HY/Vz27IB+77Hx0z/Tb/U7VVgj0+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nTQvgfAws7Mxr7c8FdIaKypLGmQUfNMzuaZ+x14CoiUAXV0R7WAMdk+0NzJj44TX6x8O+/cYlSKXBimB4NB9XkuY8F4wFgBQShhey00dMJ5hBT+Lsb2xVz9frn9cZDekQYoEdfpmTXc+P90e27AIxAscxgICLQB4fJnhvB72GkCbCc5WZmV7f529PcpXoiqBKw1SCb3TxhbW7yIsAugisNMKkHtFbIKHKYYL9RrAL4KUTjD/n4KBp3r1eXI1So+gS4N4BHKkMO4CE0Rj58OxW4mU+QDPAXMDmOpBqAdQT0A9gxvcPw/FOUqgIwwchfvDOArioyA6AtAuZudFKLFO5mMvHkjO+5PPJUQ6/P8DN50AoOhyA8kAAAAASUVORK5CYII="
  18959. /***/ }),
  18960. /* 207 */,
  18961. /* 208 */,
  18962. /* 209 */,
  18963. /* 210 */,
  18964. /* 211 */,
  18965. /* 212 */,
  18966. /* 213 */,
  18967. /* 214 */,
  18968. /* 215 */,
  18969. /* 216 */,
  18970. /* 217 */
  18971. /*!************************************************************************************************************************!*\
  18972. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/common/js/core.js ***!
  18973. \************************************************************************************************************************/
  18974. /*! no static exports found */
  18975. /***/ (function(module, exports, __webpack_require__) {
  18976. "use strict";
  18977. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18978. Object.defineProperty(exports, "__esModule", {
  18979. value: true
  18980. });
  18981. exports.addDateRange = addDateRange;
  18982. exports.blobValidate = blobValidate;
  18983. exports.dateToString = dateToString;
  18984. exports.handleTree = handleTree;
  18985. exports.mergeRecursive = mergeRecursive;
  18986. exports.parseStrEmpty = parseStrEmpty;
  18987. exports.parseTime = parseTime;
  18988. exports.resetForm = resetForm;
  18989. exports.selectDictLabel = selectDictLabel;
  18990. exports.selectDictLabels = selectDictLabels;
  18991. exports.sprintf = sprintf;
  18992. exports.tansParams = tansParams;
  18993. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  18994. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  18995. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  18996. 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; } } }; }
  18997. 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); }
  18998. 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; }
  18999. function dateToString(val) {
  19000. function addZero(num) {
  19001. return num < 10 ? "0" + num : num;
  19002. }
  19003. var date = new Date(val);
  19004. var year = date.getFullYear();
  19005. var month = date.getMonth() + 1;
  19006. var day = date.getDate();
  19007. var hour = date.getHours();
  19008. var min = addZero(date.getMinutes());
  19009. return year + "-" + month + "-" + day + " " + hour + ":" + min;
  19010. }
  19011. /**
  19012. * 通用js方法封装处理
  19013. */
  19014. // 日期格式化
  19015. function parseTime(time, pattern) {
  19016. if (arguments.length === 0 || !time) {
  19017. return null;
  19018. }
  19019. var format = pattern || '{y}-{m}-{d} {h}:{i}:{s}';
  19020. var date;
  19021. if ((0, _typeof2.default)(time) === 'object') {
  19022. date = time;
  19023. } else {
  19024. if (typeof time === 'string' && /^[0-9]+$/.test(time)) {
  19025. time = parseInt(time);
  19026. } else if (typeof time === 'string') {
  19027. time = time.replace(new RegExp(/-/gm), '/').replace('T', ' ').replace(new RegExp(/\.[\d]{3}/gm), '');
  19028. }
  19029. if (typeof time === 'number' && time.toString().length === 10) {
  19030. time = time * 1000;
  19031. }
  19032. date = new Date(time);
  19033. }
  19034. var formatObj = {
  19035. y: date.getFullYear(),
  19036. m: date.getMonth() + 1,
  19037. d: date.getDate(),
  19038. h: date.getHours(),
  19039. i: date.getMinutes(),
  19040. s: date.getSeconds(),
  19041. a: date.getDay()
  19042. };
  19043. var time_str = format.replace(/{(y|m|d|h|i|s|a)+}/g, function (result, key) {
  19044. var value = formatObj[key];
  19045. // Note: getDay() returns 0 on Sunday
  19046. if (key === 'a') {
  19047. return ['日', '一', '二', '三', '四', '五', '六'][value];
  19048. }
  19049. if (result.length > 0 && value < 10) {
  19050. value = '0' + value;
  19051. }
  19052. return value || 0;
  19053. });
  19054. return time_str;
  19055. }
  19056. // 表单重置
  19057. function resetForm(refName) {
  19058. if (this.$refs[refName]) {
  19059. this.$refs[refName].resetFields();
  19060. }
  19061. }
  19062. // 添加日期范围
  19063. function addDateRange(params, dateRange, propName) {
  19064. var search = params;
  19065. search.params = (0, _typeof2.default)(search.params) === 'object' && search.params !== null && !Array.isArray(search.params) ? search.params : {};
  19066. dateRange = Array.isArray(dateRange) ? dateRange : [];
  19067. if (typeof propName === 'undefined') {
  19068. search.params['beginTime'] = dateRange[0];
  19069. search.params['endTime'] = dateRange[1];
  19070. } else {
  19071. search.params['begin' + propName] = dateRange[0];
  19072. search.params['end' + propName] = dateRange[1];
  19073. }
  19074. return search;
  19075. }
  19076. // 回显数据字典
  19077. function selectDictLabel(datas, value) {
  19078. if (value === undefined) {
  19079. return "";
  19080. }
  19081. var actions = [];
  19082. Object.keys(datas).some(function (key) {
  19083. if (datas[key].value == '' + value) {
  19084. actions.push(datas[key].label);
  19085. return true;
  19086. }
  19087. });
  19088. if (actions.length === 0) {
  19089. actions.push(value);
  19090. }
  19091. return actions.join('');
  19092. }
  19093. // 回显数据字典(字符串数组)
  19094. function selectDictLabels(datas, value, separator) {
  19095. if (value === undefined) {
  19096. return "";
  19097. }
  19098. var actions = [];
  19099. var currentSeparator = undefined === separator ? "," : separator;
  19100. var temp = value.split(currentSeparator);
  19101. Object.keys(value.split(currentSeparator)).some(function (val) {
  19102. var match = false;
  19103. Object.keys(datas).some(function (key) {
  19104. if (datas[key].value == '' + temp[val]) {
  19105. actions.push(datas[key].label + currentSeparator);
  19106. match = true;
  19107. }
  19108. });
  19109. if (!match) {
  19110. actions.push(temp[val] + currentSeparator);
  19111. }
  19112. });
  19113. return actions.join('').substring(0, actions.join('').length - 1);
  19114. }
  19115. // 字符串格式化(%s )
  19116. function sprintf(str) {
  19117. var args = arguments,
  19118. flag = true,
  19119. i = 1;
  19120. str = str.replace(/%s/g, function () {
  19121. var arg = args[i++];
  19122. if (typeof arg === 'undefined') {
  19123. flag = false;
  19124. return '';
  19125. }
  19126. return arg;
  19127. });
  19128. return flag ? str : '';
  19129. }
  19130. // 转换字符串,undefined,null等转化为""
  19131. function parseStrEmpty(str) {
  19132. if (!str || str == "undefined" || str == "null") {
  19133. return "";
  19134. }
  19135. return str;
  19136. }
  19137. // 数据合并
  19138. function mergeRecursive(source, target) {
  19139. for (var p in target) {
  19140. try {
  19141. if (target[p].constructor == Object) {
  19142. source[p] = mergeRecursive(source[p], target[p]);
  19143. } else {
  19144. source[p] = target[p];
  19145. }
  19146. } catch (e) {
  19147. source[p] = target[p];
  19148. }
  19149. }
  19150. return source;
  19151. }
  19152. ;
  19153. /**
  19154. * 构造树型结构数据
  19155. * @param {*} data 数据源
  19156. * @param {*} id id字段 默认 'id'
  19157. * @param {*} parentId 父节点字段 默认 'parentId'
  19158. * @param {*} children 孩子节点字段 默认 'children'
  19159. */
  19160. function handleTree(data, id, parentId, children) {
  19161. var config = {
  19162. id: id || 'id',
  19163. parentId: parentId || 'parentId',
  19164. childrenList: children || 'children'
  19165. };
  19166. var childrenListMap = {};
  19167. var nodeIds = {};
  19168. var tree = [];
  19169. var _iterator = _createForOfIteratorHelper(data),
  19170. _step;
  19171. try {
  19172. for (_iterator.s(); !(_step = _iterator.n()).done;) {
  19173. var d = _step.value;
  19174. var _parentId = d[config.parentId];
  19175. if (childrenListMap[_parentId] == null) {
  19176. childrenListMap[_parentId] = [];
  19177. }
  19178. nodeIds[d[config.id]] = d;
  19179. childrenListMap[_parentId].push(d);
  19180. }
  19181. } catch (err) {
  19182. _iterator.e(err);
  19183. } finally {
  19184. _iterator.f();
  19185. }
  19186. var _iterator2 = _createForOfIteratorHelper(data),
  19187. _step2;
  19188. try {
  19189. for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
  19190. var _d = _step2.value;
  19191. var _parentId2 = _d[config.parentId];
  19192. if (nodeIds[_parentId2] == null) {
  19193. tree.push(_d);
  19194. }
  19195. }
  19196. } catch (err) {
  19197. _iterator2.e(err);
  19198. } finally {
  19199. _iterator2.f();
  19200. }
  19201. for (var _i = 0, _tree = tree; _i < _tree.length; _i++) {
  19202. var t = _tree[_i];
  19203. adaptToChildrenList(t);
  19204. }
  19205. function adaptToChildrenList(o) {
  19206. if (childrenListMap[o[config.id]] !== null) {
  19207. o[config.childrenList] = childrenListMap[o[config.id]];
  19208. }
  19209. if (o[config.childrenList]) {
  19210. var _iterator3 = _createForOfIteratorHelper(o[config.childrenList]),
  19211. _step3;
  19212. try {
  19213. for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
  19214. var c = _step3.value;
  19215. adaptToChildrenList(c);
  19216. }
  19217. } catch (err) {
  19218. _iterator3.e(err);
  19219. } finally {
  19220. _iterator3.f();
  19221. }
  19222. }
  19223. }
  19224. return tree;
  19225. }
  19226. /**
  19227. * 参数处理
  19228. * @param {*} params 参数
  19229. */
  19230. function tansParams(params) {
  19231. var result = '';
  19232. for (var _i2 = 0, _Object$keys = Object.keys(params); _i2 < _Object$keys.length; _i2++) {
  19233. var propName = _Object$keys[_i2];
  19234. var value = params[propName];
  19235. var part = encodeURIComponent(propName) + "=";
  19236. if (value !== null && value !== "" && typeof value !== "undefined") {
  19237. if ((0, _typeof2.default)(value) === 'object') {
  19238. for (var _i3 = 0, _Object$keys2 = Object.keys(value); _i3 < _Object$keys2.length; _i3++) {
  19239. var key = _Object$keys2[_i3];
  19240. if (value[key] !== null && value[key] !== "" && typeof value[key] !== 'undefined') {
  19241. var _params = propName + '[' + key + ']';
  19242. var subPart = encodeURIComponent(_params) + "=";
  19243. result += subPart + encodeURIComponent(value[key]) + "&";
  19244. }
  19245. }
  19246. } else {
  19247. result += part + encodeURIComponent(value) + "&";
  19248. }
  19249. }
  19250. }
  19251. return result;
  19252. }
  19253. // 验证是否为blob格式
  19254. function blobValidate(_x) {
  19255. return _blobValidate.apply(this, arguments);
  19256. }
  19257. function _blobValidate() {
  19258. _blobValidate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(data) {
  19259. var text;
  19260. return _regenerator.default.wrap(function _callee$(_context) {
  19261. while (1) {
  19262. switch (_context.prev = _context.next) {
  19263. case 0:
  19264. _context.prev = 0;
  19265. _context.next = 3;
  19266. return data.text();
  19267. case 3:
  19268. text = _context.sent;
  19269. JSON.parse(text);
  19270. return _context.abrupt("return", false);
  19271. case 8:
  19272. _context.prev = 8;
  19273. _context.t0 = _context["catch"](0);
  19274. return _context.abrupt("return", true);
  19275. case 11:
  19276. case "end":
  19277. return _context.stop();
  19278. }
  19279. }
  19280. }, _callee, null, [[0, 8]]);
  19281. }));
  19282. return _blobValidate.apply(this, arguments);
  19283. }
  19284. /***/ }),
  19285. /* 218 */,
  19286. /* 219 */,
  19287. /* 220 */,
  19288. /* 221 */,
  19289. /* 222 */,
  19290. /* 223 */,
  19291. /* 224 */,
  19292. /* 225 */,
  19293. /* 226 */,
  19294. /* 227 */,
  19295. /* 228 */,
  19296. /* 229 */,
  19297. /* 230 */,
  19298. /* 231 */,
  19299. /* 232 */,
  19300. /* 233 */,
  19301. /* 234 */,
  19302. /* 235 */,
  19303. /* 236 */,
  19304. /* 237 */,
  19305. /* 238 */,
  19306. /* 239 */,
  19307. /* 240 */
  19308. /*!***************************************************************************************************************************************!*\
  19309. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/static/images/20230411112151.png ***!
  19310. \***************************************************************************************************************************************/
  19311. /*! no static exports found */
  19312. /***/ (function(module, exports) {
  19313. module.exports = "/static/images/20230411112151.png";
  19314. /***/ }),
  19315. /* 241 */,
  19316. /* 242 */,
  19317. /* 243 */,
  19318. /* 244 */,
  19319. /* 245 */,
  19320. /* 246 */,
  19321. /* 247 */,
  19322. /* 248 */,
  19323. /* 249 */,
  19324. /* 250 */,
  19325. /* 251 */,
  19326. /* 252 */,
  19327. /* 253 */,
  19328. /* 254 */,
  19329. /* 255 */,
  19330. /* 256 */,
  19331. /* 257 */,
  19332. /* 258 */,
  19333. /* 259 */,
  19334. /* 260 */,
  19335. /* 261 */,
  19336. /* 262 */,
  19337. /* 263 */,
  19338. /* 264 */,
  19339. /* 265 */,
  19340. /* 266 */,
  19341. /* 267 */,
  19342. /* 268 */,
  19343. /* 269 */,
  19344. /* 270 */,
  19345. /* 271 */,
  19346. /* 272 */,
  19347. /* 273 */
  19348. /*!*****************************************************************************************************************************!*\
  19349. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/static/images/list.png ***!
  19350. \*****************************************************************************************************************************/
  19351. /*! no static exports found */
  19352. /***/ (function(module, exports) {
  19353. module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae19WYxc13nmXWvpbpJNNleJi1okJUqkYtJRFEexJTHOjGeUCTwxJgqCydMgmSAPGQQZIMYA8yDMU4JMZgAHwQDB5HWQKIuTOHGieGlbshbblEjKpmS5xa2bbFKUyCbZWy13me87957qqlvVXVXd1V1Vt/4jsc+5Zz/fufer//z3P+cahjhBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAE0oeAmb4hyYgGHYGJidCxtlx6LJibeu/06dPeoOORpvFbaRqMjEUQCMPQNEamjwWhNWZtOfKYuhZYUoOAEFZqplIGQgRee+vGAcPwdzIchN7YN9+afphhcelAQAgrHfMoowACr756dXs5LNYQlBX6Bya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REVfnCDQNQT0zdq1DkjDm4MACIwrPBIXSUz7KxFYdTyXf/dBVtVxiBInCGw+AkJYm495T7RYtYzUBEYSo25MO9q+UKrimwtxgkBPICCE1RPT0P1OxATGZSOJC3ucN+crKN0fufRAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAR6FYH/D9s59mr01yO+AAAAAElFTkSuQmCC"
  19354. /***/ }),
  19355. /* 274 */,
  19356. /* 275 */,
  19357. /* 276 */,
  19358. /* 277 */,
  19359. /* 278 */,
  19360. /* 279 */,
  19361. /* 280 */,
  19362. /* 281 */,
  19363. /* 282 */,
  19364. /* 283 */,
  19365. /* 284 */,
  19366. /* 285 */,
  19367. /* 286 */,
  19368. /* 287 */,
  19369. /* 288 */,
  19370. /* 289 */,
  19371. /* 290 */,
  19372. /* 291 */,
  19373. /* 292 */,
  19374. /* 293 */,
  19375. /* 294 */,
  19376. /* 295 */,
  19377. /* 296 */,
  19378. /* 297 */,
  19379. /* 298 */,
  19380. /* 299 */,
  19381. /* 300 */,
  19382. /* 301 */,
  19383. /* 302 */,
  19384. /* 303 */,
  19385. /* 304 */,
  19386. /* 305 */,
  19387. /* 306 */,
  19388. /* 307 */
  19389. /*!*********************************************************************************************************************************************************!*\
  19390. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-search/props.js ***!
  19391. \*********************************************************************************************************************************************************/
  19392. /*! no static exports found */
  19393. /***/ (function(module, exports, __webpack_require__) {
  19394. "use strict";
  19395. /* WEBPACK VAR INJECTION */(function(uni) {
  19396. Object.defineProperty(exports, "__esModule", {
  19397. value: true
  19398. });
  19399. exports.default = void 0;
  19400. var _default = {
  19401. props: {
  19402. // 搜索框形状,round-圆形,square-方形
  19403. shape: {
  19404. type: String,
  19405. default: uni.$u.props.search.shape
  19406. },
  19407. // 搜索框背景色,默认值#f2f2f2
  19408. bgColor: {
  19409. type: String,
  19410. default: uni.$u.props.search.bgColor
  19411. },
  19412. // 占位提示文字
  19413. placeholder: {
  19414. type: String,
  19415. default: uni.$u.props.search.placeholder
  19416. },
  19417. // 是否启用清除控件
  19418. clearabled: {
  19419. type: Boolean,
  19420. default: uni.$u.props.search.clearabled
  19421. },
  19422. // 是否自动聚焦
  19423. focus: {
  19424. type: Boolean,
  19425. default: uni.$u.props.search.focus
  19426. },
  19427. // 是否在搜索框右侧显示取消按钮
  19428. showAction: {
  19429. type: Boolean,
  19430. default: uni.$u.props.search.showAction
  19431. },
  19432. // 右边控件的样式
  19433. actionStyle: {
  19434. type: Object,
  19435. default: uni.$u.props.search.actionStyle
  19436. },
  19437. // 取消按钮文字
  19438. actionText: {
  19439. type: String,
  19440. default: uni.$u.props.search.actionText
  19441. },
  19442. // 输入框内容对齐方式,可选值为 left|center|right
  19443. inputAlign: {
  19444. type: String,
  19445. default: uni.$u.props.search.inputAlign
  19446. },
  19447. // input输入框的样式,可以定义文字颜色,大小等,对象形式
  19448. inputStyle: {
  19449. type: Object,
  19450. default: uni.$u.props.search.inputStyle
  19451. },
  19452. // 是否启用输入框
  19453. disabled: {
  19454. type: Boolean,
  19455. default: uni.$u.props.search.disabled
  19456. },
  19457. // 边框颜色
  19458. borderColor: {
  19459. type: String,
  19460. default: uni.$u.props.search.borderColor
  19461. },
  19462. // 搜索图标的颜色,默认同输入框字体颜色
  19463. searchIconColor: {
  19464. type: String,
  19465. default: uni.$u.props.search.searchIconColor
  19466. },
  19467. // 输入框字体颜色
  19468. color: {
  19469. type: String,
  19470. default: uni.$u.props.search.color
  19471. },
  19472. // placeholder的颜色
  19473. placeholderColor: {
  19474. type: String,
  19475. default: uni.$u.props.search.placeholderColor
  19476. },
  19477. // 左边输入框的图标,可以为uView图标名称或图片路径
  19478. searchIcon: {
  19479. type: String,
  19480. default: uni.$u.props.search.searchIcon
  19481. },
  19482. searchIconSize: {
  19483. type: [Number, String],
  19484. default: uni.$u.props.search.searchIconSize
  19485. },
  19486. // 组件与其他上下左右元素之间的距离,带单位的字符串形式,如"30px"、"30px 20px"等写法
  19487. margin: {
  19488. type: String,
  19489. default: uni.$u.props.search.margin
  19490. },
  19491. // 开启showAction时,是否在input获取焦点时才显示
  19492. animation: {
  19493. type: Boolean,
  19494. default: uni.$u.props.search.animation
  19495. },
  19496. // 输入框的初始化内容
  19497. value: {
  19498. type: String,
  19499. default: uni.$u.props.search.value
  19500. },
  19501. // 输入框最大能输入的长度,-1为不限制长度(来自uniapp文档)
  19502. maxlength: {
  19503. type: [String, Number],
  19504. default: uni.$u.props.search.maxlength
  19505. },
  19506. // 搜索框高度,单位px
  19507. height: {
  19508. type: [String, Number],
  19509. default: uni.$u.props.search.height
  19510. },
  19511. // 搜索框左侧文本
  19512. label: {
  19513. type: [String, Number, null],
  19514. default: uni.$u.props.search.label
  19515. }
  19516. }
  19517. };
  19518. exports.default = _default;
  19519. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19520. /***/ }),
  19521. /* 308 */,
  19522. /* 309 */,
  19523. /* 310 */,
  19524. /* 311 */,
  19525. /* 312 */,
  19526. /* 313 */,
  19527. /* 314 */,
  19528. /* 315 */
  19529. /*!********************************************************************************************************************************************************!*\
  19530. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-input/props.js ***!
  19531. \********************************************************************************************************************************************************/
  19532. /*! no static exports found */
  19533. /***/ (function(module, exports, __webpack_require__) {
  19534. "use strict";
  19535. /* WEBPACK VAR INJECTION */(function(uni) {
  19536. Object.defineProperty(exports, "__esModule", {
  19537. value: true
  19538. });
  19539. exports.default = void 0;
  19540. var _default = {
  19541. props: {
  19542. // 输入的值
  19543. value: {
  19544. type: [String, Number],
  19545. default: uni.$u.props.input.value
  19546. },
  19547. // 输入框类型
  19548. // number-数字输入键盘,app-vue下可以输入浮点数,app-nvue和小程序平台下只能输入整数
  19549. // idcard-身份证输入键盘,微信、支付宝、百度、QQ小程序
  19550. // digit-带小数点的数字键盘,App的nvue页面、微信、支付宝、百度、头条、QQ小程序
  19551. // text-文本输入键盘
  19552. type: {
  19553. type: String,
  19554. default: uni.$u.props.input.type
  19555. },
  19556. // 如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true,
  19557. // 兼容性:微信小程序、百度小程序、字节跳动小程序、QQ小程序
  19558. fixed: {
  19559. type: Boolean,
  19560. default: uni.$u.props.input.fixed
  19561. },
  19562. // 是否禁用输入框
  19563. disabled: {
  19564. type: Boolean,
  19565. default: uni.$u.props.input.disabled
  19566. },
  19567. // 禁用状态时的背景色
  19568. disabledColor: {
  19569. type: String,
  19570. default: uni.$u.props.input.disabledColor
  19571. },
  19572. // 是否显示清除控件
  19573. clearable: {
  19574. type: Boolean,
  19575. default: uni.$u.props.input.clearable
  19576. },
  19577. // 是否密码类型
  19578. password: {
  19579. type: Boolean,
  19580. default: uni.$u.props.input.password
  19581. },
  19582. // 最大输入长度,设置为 -1 的时候不限制最大长度
  19583. maxlength: {
  19584. type: [String, Number],
  19585. default: uni.$u.props.input.maxlength
  19586. },
  19587. // 输入框为空时的占位符
  19588. placeholder: {
  19589. type: String,
  19590. default: uni.$u.props.input.placeholder
  19591. },
  19592. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  19593. placeholderClass: {
  19594. type: String,
  19595. default: uni.$u.props.input.placeholderClass
  19596. },
  19597. // 指定placeholder的样式
  19598. placeholderStyle: {
  19599. type: [String, Object],
  19600. default: uni.$u.props.input.placeholderStyle
  19601. },
  19602. // 是否显示输入字数统计,只在 type ="text"或type ="textarea"时有效
  19603. showWordLimit: {
  19604. type: Boolean,
  19605. default: uni.$u.props.input.showWordLimit
  19606. },
  19607. // 设置右下角按钮的文字,有效值:send|search|next|go|done,兼容性详见uni-app文档
  19608. // https://uniapp.dcloud.io/component/input
  19609. // https://uniapp.dcloud.io/component/textarea
  19610. confirmType: {
  19611. type: String,
  19612. default: uni.$u.props.input.confirmType
  19613. },
  19614. // 点击键盘右下角按钮时是否保持键盘不收起,H5无效
  19615. confirmHold: {
  19616. type: Boolean,
  19617. default: uni.$u.props.input.confirmHold
  19618. },
  19619. // focus时,点击页面的时候不收起键盘,微信小程序有效
  19620. holdKeyboard: {
  19621. type: Boolean,
  19622. default: uni.$u.props.input.holdKeyboard
  19623. },
  19624. // 自动获取焦点
  19625. // 在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。nvue 页面不支持,需使用组件的 focus()、blur() 方法控制焦点
  19626. focus: {
  19627. type: Boolean,
  19628. default: uni.$u.props.input.focus
  19629. },
  19630. // 键盘收起时,是否自动失去焦点,目前仅App3.0.0+有效
  19631. autoBlur: {
  19632. type: Boolean,
  19633. default: uni.$u.props.input.autoBlur
  19634. },
  19635. // 是否去掉 iOS 下的默认内边距,仅微信小程序,且type=textarea时有效
  19636. disableDefaultPadding: {
  19637. type: Boolean,
  19638. default: uni.$u.props.input.disableDefaultPadding
  19639. },
  19640. // 指定focus时光标的位置
  19641. cursor: {
  19642. type: [String, Number],
  19643. default: uni.$u.props.input.cursor
  19644. },
  19645. // 输入框聚焦时底部与键盘的距离
  19646. cursorSpacing: {
  19647. type: [String, Number],
  19648. default: uni.$u.props.input.cursorSpacing
  19649. },
  19650. // 光标起始位置,自动聚集时有效,需与selection-end搭配使用
  19651. selectionStart: {
  19652. type: [String, Number],
  19653. default: uni.$u.props.input.selectionStart
  19654. },
  19655. // 光标结束位置,自动聚集时有效,需与selection-start搭配使用
  19656. selectionEnd: {
  19657. type: [String, Number],
  19658. default: uni.$u.props.input.selectionEnd
  19659. },
  19660. // 键盘弹起时,是否自动上推页面
  19661. adjustPosition: {
  19662. type: Boolean,
  19663. default: uni.$u.props.input.adjustPosition
  19664. },
  19665. // 输入框内容对齐方式,可选值为:left|center|right
  19666. inputAlign: {
  19667. type: String,
  19668. default: uni.$u.props.input.inputAlign
  19669. },
  19670. // 输入框字体的大小
  19671. fontSize: {
  19672. type: [String, Number],
  19673. default: uni.$u.props.input.fontSize
  19674. },
  19675. // 输入框字体颜色
  19676. color: {
  19677. type: String,
  19678. default: uni.$u.props.input.color
  19679. },
  19680. // 输入框前置图标
  19681. prefixIcon: {
  19682. type: String,
  19683. default: uni.$u.props.input.prefixIcon
  19684. },
  19685. // 前置图标样式,对象或字符串
  19686. prefixIconStyle: {
  19687. type: [String, Object],
  19688. default: uni.$u.props.input.prefixIconStyle
  19689. },
  19690. // 输入框后置图标
  19691. suffixIcon: {
  19692. type: String,
  19693. default: uni.$u.props.input.suffixIcon
  19694. },
  19695. // 后置图标样式,对象或字符串
  19696. suffixIconStyle: {
  19697. type: [String, Object],
  19698. default: uni.$u.props.input.suffixIconStyle
  19699. },
  19700. // 边框类型,surround-四周边框,bottom-底部边框,none-无边框
  19701. border: {
  19702. type: String,
  19703. default: uni.$u.props.input.border
  19704. },
  19705. // 是否只读,与disabled不同之处在于disabled会置灰组件,而readonly则不会
  19706. readonly: {
  19707. type: Boolean,
  19708. default: uni.$u.props.input.readonly
  19709. },
  19710. // 输入框形状,circle-圆形,square-方形
  19711. shape: {
  19712. type: String,
  19713. default: uni.$u.props.input.shape
  19714. },
  19715. // 用于处理或者过滤输入框内容的方法
  19716. formatter: {
  19717. type: [Function, null],
  19718. default: uni.$u.props.input.formatter
  19719. },
  19720. // 是否忽略组件内对文本合成系统事件的处理
  19721. ignoreCompositionEvent: {
  19722. type: Boolean,
  19723. default: true
  19724. }
  19725. }
  19726. };
  19727. exports.default = _default;
  19728. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19729. /***/ }),
  19730. /* 316 */,
  19731. /* 317 */,
  19732. /* 318 */,
  19733. /* 319 */,
  19734. /* 320 */,
  19735. /* 321 */,
  19736. /* 322 */,
  19737. /* 323 */,
  19738. /* 324 */,
  19739. /* 325 */,
  19740. /* 326 */,
  19741. /* 327 */,
  19742. /* 328 */
  19743. /*!********************************************************************************************************************************************************!*\
  19744. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-empty/props.js ***!
  19745. \********************************************************************************************************************************************************/
  19746. /*! no static exports found */
  19747. /***/ (function(module, exports, __webpack_require__) {
  19748. "use strict";
  19749. /* WEBPACK VAR INJECTION */(function(uni) {
  19750. Object.defineProperty(exports, "__esModule", {
  19751. value: true
  19752. });
  19753. exports.default = void 0;
  19754. var _default = {
  19755. props: {
  19756. // 内置图标名称,或图片路径,建议绝对路径
  19757. icon: {
  19758. type: String,
  19759. default: uni.$u.props.empty.icon
  19760. },
  19761. // 提示文字
  19762. text: {
  19763. type: String,
  19764. default: uni.$u.props.empty.text
  19765. },
  19766. // 文字颜色
  19767. textColor: {
  19768. type: String,
  19769. default: uni.$u.props.empty.textColor
  19770. },
  19771. // 文字大小
  19772. textSize: {
  19773. type: [String, Number],
  19774. default: uni.$u.props.empty.textSize
  19775. },
  19776. // 图标的颜色
  19777. iconColor: {
  19778. type: String,
  19779. default: uni.$u.props.empty.iconColor
  19780. },
  19781. // 图标的大小
  19782. iconSize: {
  19783. type: [String, Number],
  19784. default: uni.$u.props.empty.iconSize
  19785. },
  19786. // 选择预置的图标类型
  19787. mode: {
  19788. type: String,
  19789. default: uni.$u.props.empty.mode
  19790. },
  19791. // 图标宽度,单位px
  19792. width: {
  19793. type: [String, Number],
  19794. default: uni.$u.props.empty.width
  19795. },
  19796. // 图标高度,单位px
  19797. height: {
  19798. type: [String, Number],
  19799. default: uni.$u.props.empty.height
  19800. },
  19801. // 是否显示组件
  19802. show: {
  19803. type: Boolean,
  19804. default: uni.$u.props.empty.show
  19805. },
  19806. // 组件距离上一个元素之间的距离,默认px单位
  19807. marginTop: {
  19808. type: [String, Number],
  19809. default: uni.$u.props.empty.marginTop
  19810. }
  19811. }
  19812. };
  19813. exports.default = _default;
  19814. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19815. /***/ }),
  19816. /* 329 */,
  19817. /* 330 */,
  19818. /* 331 */,
  19819. /* 332 */,
  19820. /* 333 */,
  19821. /* 334 */,
  19822. /* 335 */,
  19823. /* 336 */
  19824. /*!*******************************************************************************************************************************************************!*\
  19825. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-list/props.js ***!
  19826. \*******************************************************************************************************************************************************/
  19827. /*! no static exports found */
  19828. /***/ (function(module, exports, __webpack_require__) {
  19829. "use strict";
  19830. /* WEBPACK VAR INJECTION */(function(uni) {
  19831. Object.defineProperty(exports, "__esModule", {
  19832. value: true
  19833. });
  19834. exports.default = void 0;
  19835. var _default = {
  19836. props: {
  19837. // 控制是否出现滚动条,仅nvue有效
  19838. showScrollbar: {
  19839. type: Boolean,
  19840. default: uni.$u.props.list.showScrollbar
  19841. },
  19842. // 距底部多少时触发scrolltolower事件
  19843. lowerThreshold: {
  19844. type: [String, Number],
  19845. default: uni.$u.props.list.lowerThreshold
  19846. },
  19847. // 距顶部多少时触发scrolltoupper事件,非nvue有效
  19848. upperThreshold: {
  19849. type: [String, Number],
  19850. default: uni.$u.props.list.upperThreshold
  19851. },
  19852. // 设置竖向滚动条位置
  19853. scrollTop: {
  19854. type: [String, Number],
  19855. default: uni.$u.props.list.scrollTop
  19856. },
  19857. // 控制 onscroll 事件触发的频率,仅nvue有效
  19858. offsetAccuracy: {
  19859. type: [String, Number],
  19860. default: uni.$u.props.list.offsetAccuracy
  19861. },
  19862. // 启用 flexbox 布局。开启后,当前节点声明了display: flex就会成为flex container,并作用于其孩子节点,仅微信小程序有效
  19863. enableFlex: {
  19864. type: Boolean,
  19865. default: uni.$u.props.list.enableFlex
  19866. },
  19867. // 是否按分页模式显示List,默认值false
  19868. pagingEnabled: {
  19869. type: Boolean,
  19870. default: uni.$u.props.list.pagingEnabled
  19871. },
  19872. // 是否允许List滚动
  19873. scrollable: {
  19874. type: Boolean,
  19875. default: uni.$u.props.list.scrollable
  19876. },
  19877. // 值应为某子元素id(id不能以数字开头)
  19878. scrollIntoView: {
  19879. type: String,
  19880. default: uni.$u.props.list.scrollIntoView
  19881. },
  19882. // 在设置滚动条位置时使用动画过渡
  19883. scrollWithAnimation: {
  19884. type: Boolean,
  19885. default: uni.$u.props.list.scrollWithAnimation
  19886. },
  19887. // iOS点击顶部状态栏、安卓双击标题栏时,滚动条返回顶部,只对微信小程序有效
  19888. enableBackToTop: {
  19889. type: Boolean,
  19890. default: uni.$u.props.list.enableBackToTop
  19891. },
  19892. // 列表的高度
  19893. height: {
  19894. type: [String, Number],
  19895. default: uni.$u.props.list.height
  19896. },
  19897. // 列表宽度
  19898. width: {
  19899. type: [String, Number],
  19900. default: uni.$u.props.list.width
  19901. },
  19902. // 列表前后预渲染的屏数,1代表一个屏幕的高度,1.5代表1个半屏幕高度
  19903. preLoadScreen: {
  19904. type: [String, Number],
  19905. default: uni.$u.props.list.preLoadScreen
  19906. }
  19907. // vue下,是否开启虚拟列表
  19908. }
  19909. };
  19910. exports.default = _default;
  19911. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19912. /***/ }),
  19913. /* 337 */,
  19914. /* 338 */,
  19915. /* 339 */,
  19916. /* 340 */,
  19917. /* 341 */,
  19918. /* 342 */,
  19919. /* 343 */,
  19920. /* 344 */
  19921. /*!************************************************************************************************************************************************************!*\
  19922. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-list-item/props.js ***!
  19923. \************************************************************************************************************************************************************/
  19924. /*! no static exports found */
  19925. /***/ (function(module, exports, __webpack_require__) {
  19926. "use strict";
  19927. /* WEBPACK VAR INJECTION */(function(uni) {
  19928. Object.defineProperty(exports, "__esModule", {
  19929. value: true
  19930. });
  19931. exports.default = void 0;
  19932. var _default = {
  19933. props: {
  19934. // 用于滚动到指定item
  19935. anchor: {
  19936. type: [String, Number],
  19937. default: uni.$u.props.listItem.anchor
  19938. }
  19939. }
  19940. };
  19941. exports.default = _default;
  19942. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19943. /***/ }),
  19944. /* 345 */,
  19945. /* 346 */,
  19946. /* 347 */,
  19947. /* 348 */,
  19948. /* 349 */,
  19949. /* 350 */,
  19950. /* 351 */,
  19951. /* 352 */
  19952. /*!*******************************************************************************************************************************************************!*\
  19953. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-form/props.js ***!
  19954. \*******************************************************************************************************************************************************/
  19955. /*! no static exports found */
  19956. /***/ (function(module, exports, __webpack_require__) {
  19957. "use strict";
  19958. /* WEBPACK VAR INJECTION */(function(uni) {
  19959. Object.defineProperty(exports, "__esModule", {
  19960. value: true
  19961. });
  19962. exports.default = void 0;
  19963. var _default = {
  19964. props: {
  19965. // 当前form的需要验证字段的集合
  19966. model: {
  19967. type: Object,
  19968. default: uni.$u.props.form.model
  19969. },
  19970. // 验证规则
  19971. rules: {
  19972. type: [Object, Function, Array],
  19973. default: uni.$u.props.form.rules
  19974. },
  19975. // 有错误时的提示方式,message-提示信息,toast-进行toast提示
  19976. // border-bottom-下边框呈现红色,none-无提示
  19977. errorType: {
  19978. type: String,
  19979. default: uni.$u.props.form.errorType
  19980. },
  19981. // 是否显示表单域的下划线边框
  19982. borderBottom: {
  19983. type: Boolean,
  19984. default: uni.$u.props.form.borderBottom
  19985. },
  19986. // label的位置,left-左边,top-上边
  19987. labelPosition: {
  19988. type: String,
  19989. default: uni.$u.props.form.labelPosition
  19990. },
  19991. // label的宽度,单位px
  19992. labelWidth: {
  19993. type: [String, Number],
  19994. default: uni.$u.props.form.labelWidth
  19995. },
  19996. // lable字体的对齐方式
  19997. labelAlign: {
  19998. type: String,
  19999. default: uni.$u.props.form.labelAlign
  20000. },
  20001. // lable的样式,对象形式
  20002. labelStyle: {
  20003. type: Object,
  20004. default: uni.$u.props.form.labelStyle
  20005. }
  20006. }
  20007. };
  20008. exports.default = _default;
  20009. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20010. /***/ }),
  20011. /* 353 */,
  20012. /* 354 */,
  20013. /* 355 */,
  20014. /* 356 */,
  20015. /* 357 */,
  20016. /* 358 */
  20017. /*!************************************************************************************************************************************************************!*\
  20018. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-form-item/props.js ***!
  20019. \************************************************************************************************************************************************************/
  20020. /*! no static exports found */
  20021. /***/ (function(module, exports, __webpack_require__) {
  20022. "use strict";
  20023. /* WEBPACK VAR INJECTION */(function(uni) {
  20024. Object.defineProperty(exports, "__esModule", {
  20025. value: true
  20026. });
  20027. exports.default = void 0;
  20028. var _default = {
  20029. props: {
  20030. // input的label提示语
  20031. label: {
  20032. type: String,
  20033. default: uni.$u.props.formItem.label
  20034. },
  20035. // 绑定的值
  20036. prop: {
  20037. type: String,
  20038. default: uni.$u.props.formItem.prop
  20039. },
  20040. // 是否显示表单域的下划线边框
  20041. borderBottom: {
  20042. type: [String, Boolean],
  20043. default: uni.$u.props.formItem.borderBottom
  20044. },
  20045. // label的位置,left-左边,top-上边
  20046. labelPosition: {
  20047. type: String,
  20048. default: uni.$u.props.formItem.labelPosition
  20049. },
  20050. // label的宽度,单位px
  20051. labelWidth: {
  20052. type: [String, Number],
  20053. default: uni.$u.props.formItem.labelWidth
  20054. },
  20055. // 右侧图标
  20056. rightIcon: {
  20057. type: String,
  20058. default: uni.$u.props.formItem.rightIcon
  20059. },
  20060. // 左侧图标
  20061. leftIcon: {
  20062. type: String,
  20063. default: uni.$u.props.formItem.leftIcon
  20064. },
  20065. // 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置
  20066. required: {
  20067. type: Boolean,
  20068. default: uni.$u.props.formItem.required
  20069. },
  20070. leftIconStyle: {
  20071. type: [String, Object],
  20072. default: uni.$u.props.formItem.leftIconStyle
  20073. }
  20074. }
  20075. };
  20076. exports.default = _default;
  20077. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20078. /***/ }),
  20079. /* 359 */,
  20080. /* 360 */,
  20081. /* 361 */,
  20082. /* 362 */,
  20083. /* 363 */,
  20084. /* 364 */,
  20085. /* 365 */,
  20086. /* 366 */
  20087. /*!*********************************************************************************************************************************************************!*\
  20088. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-picker/props.js ***!
  20089. \*********************************************************************************************************************************************************/
  20090. /*! no static exports found */
  20091. /***/ (function(module, exports, __webpack_require__) {
  20092. "use strict";
  20093. /* WEBPACK VAR INJECTION */(function(uni) {
  20094. Object.defineProperty(exports, "__esModule", {
  20095. value: true
  20096. });
  20097. exports.default = void 0;
  20098. var _default = {
  20099. props: {
  20100. // 是否展示picker弹窗
  20101. show: {
  20102. type: Boolean,
  20103. default: uni.$u.props.picker.show
  20104. },
  20105. // 是否展示顶部的操作栏
  20106. showToolbar: {
  20107. type: Boolean,
  20108. default: uni.$u.props.picker.showToolbar
  20109. },
  20110. // 顶部标题
  20111. title: {
  20112. type: String,
  20113. default: uni.$u.props.picker.title
  20114. },
  20115. // 对象数组,设置每一列的数据
  20116. columns: {
  20117. type: Array,
  20118. default: uni.$u.props.picker.columns
  20119. },
  20120. // 是否显示加载中状态
  20121. loading: {
  20122. type: Boolean,
  20123. default: uni.$u.props.picker.loading
  20124. },
  20125. // 各列中,单个选项的高度
  20126. itemHeight: {
  20127. type: [String, Number],
  20128. default: uni.$u.props.picker.itemHeight
  20129. },
  20130. // 取消按钮的文字
  20131. cancelText: {
  20132. type: String,
  20133. default: uni.$u.props.picker.cancelText
  20134. },
  20135. // 确认按钮的文字
  20136. confirmText: {
  20137. type: String,
  20138. default: uni.$u.props.picker.confirmText
  20139. },
  20140. // 取消按钮的颜色
  20141. cancelColor: {
  20142. type: String,
  20143. default: uni.$u.props.picker.cancelColor
  20144. },
  20145. // 确认按钮的颜色
  20146. confirmColor: {
  20147. type: String,
  20148. default: uni.$u.props.picker.confirmColor
  20149. },
  20150. // 每列中可见选项的数量
  20151. visibleItemCount: {
  20152. type: [String, Number],
  20153. default: uni.$u.props.picker.visibleItemCount
  20154. },
  20155. // 选项对象中,需要展示的属性键名
  20156. keyName: {
  20157. type: String,
  20158. default: uni.$u.props.picker.keyName
  20159. },
  20160. // 是否允许点击遮罩关闭选择器
  20161. closeOnClickOverlay: {
  20162. type: Boolean,
  20163. default: uni.$u.props.picker.closeOnClickOverlay
  20164. },
  20165. // 各列的默认索引
  20166. defaultIndex: {
  20167. type: Array,
  20168. default: uni.$u.props.picker.defaultIndex
  20169. },
  20170. // 是否在手指松开时立即触发 change 事件。若不开启则会在滚动动画结束后触发 change 事件,只在微信2.21.1及以上有效
  20171. immediateChange: {
  20172. type: Boolean,
  20173. default: uni.$u.props.picker.immediateChange
  20174. }
  20175. }
  20176. };
  20177. exports.default = _default;
  20178. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20179. /***/ }),
  20180. /* 367 */,
  20181. /* 368 */,
  20182. /* 369 */,
  20183. /* 370 */,
  20184. /* 371 */,
  20185. /* 372 */,
  20186. /* 373 */,
  20187. /* 374 */
  20188. /*!******************************************************************************************************************************************************************!*\
  20189. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-datetime-picker/props.js ***!
  20190. \******************************************************************************************************************************************************************/
  20191. /*! no static exports found */
  20192. /***/ (function(module, exports, __webpack_require__) {
  20193. "use strict";
  20194. /* WEBPACK VAR INJECTION */(function(uni) {
  20195. Object.defineProperty(exports, "__esModule", {
  20196. value: true
  20197. });
  20198. exports.default = void 0;
  20199. var _default = {
  20200. props: {
  20201. // 是否打开组件
  20202. show: {
  20203. type: Boolean,
  20204. default: uni.$u.props.datetimePicker.show
  20205. },
  20206. // 是否展示顶部的操作栏
  20207. showToolbar: {
  20208. type: Boolean,
  20209. default: uni.$u.props.datetimePicker.showToolbar
  20210. },
  20211. // 绑定值
  20212. value: {
  20213. type: [String, Number],
  20214. default: uni.$u.props.datetimePicker.value
  20215. },
  20216. // 顶部标题
  20217. title: {
  20218. type: String,
  20219. default: uni.$u.props.datetimePicker.title
  20220. },
  20221. // 展示格式,mode=date为日期选择,mode=time为时间选择,mode=year-month为年月选择,mode=datetime为日期时间选择
  20222. mode: {
  20223. type: String,
  20224. default: uni.$u.props.datetimePicker.mode
  20225. },
  20226. // 可选的最大时间
  20227. maxDate: {
  20228. type: Number,
  20229. // 最大默认值为后10年
  20230. default: uni.$u.props.datetimePicker.maxDate
  20231. },
  20232. // 可选的最小时间
  20233. minDate: {
  20234. type: Number,
  20235. // 最小默认值为前10年
  20236. default: uni.$u.props.datetimePicker.minDate
  20237. },
  20238. // 可选的最小小时,仅mode=time有效
  20239. minHour: {
  20240. type: Number,
  20241. default: uni.$u.props.datetimePicker.minHour
  20242. },
  20243. // 可选的最大小时,仅mode=time有效
  20244. maxHour: {
  20245. type: Number,
  20246. default: uni.$u.props.datetimePicker.maxHour
  20247. },
  20248. // 可选的最小分钟,仅mode=time有效
  20249. minMinute: {
  20250. type: Number,
  20251. default: uni.$u.props.datetimePicker.minMinute
  20252. },
  20253. // 可选的最大分钟,仅mode=time有效
  20254. maxMinute: {
  20255. type: Number,
  20256. default: uni.$u.props.datetimePicker.maxMinute
  20257. },
  20258. // 选项过滤函数
  20259. filter: {
  20260. type: [Function, null],
  20261. default: uni.$u.props.datetimePicker.filter
  20262. },
  20263. // 选项格式化函数
  20264. formatter: {
  20265. type: [Function, null],
  20266. default: uni.$u.props.datetimePicker.formatter
  20267. },
  20268. // 是否显示加载中状态
  20269. loading: {
  20270. type: Boolean,
  20271. default: uni.$u.props.datetimePicker.loading
  20272. },
  20273. // 各列中,单个选项的高度
  20274. itemHeight: {
  20275. type: [String, Number],
  20276. default: uni.$u.props.datetimePicker.itemHeight
  20277. },
  20278. // 取消按钮的文字
  20279. cancelText: {
  20280. type: String,
  20281. default: uni.$u.props.datetimePicker.cancelText
  20282. },
  20283. // 确认按钮的文字
  20284. confirmText: {
  20285. type: String,
  20286. default: uni.$u.props.datetimePicker.confirmText
  20287. },
  20288. // 取消按钮的颜色
  20289. cancelColor: {
  20290. type: String,
  20291. default: uni.$u.props.datetimePicker.cancelColor
  20292. },
  20293. // 确认按钮的颜色
  20294. confirmColor: {
  20295. type: String,
  20296. default: uni.$u.props.datetimePicker.confirmColor
  20297. },
  20298. // 每列中可见选项的数量
  20299. visibleItemCount: {
  20300. type: [String, Number],
  20301. default: uni.$u.props.datetimePicker.visibleItemCount
  20302. },
  20303. // 是否允许点击遮罩关闭选择器
  20304. closeOnClickOverlay: {
  20305. type: Boolean,
  20306. default: uni.$u.props.datetimePicker.closeOnClickOverlay
  20307. },
  20308. // 各列的默认索引
  20309. defaultIndex: {
  20310. type: Array,
  20311. default: uni.$u.props.datetimePicker.defaultIndex
  20312. }
  20313. }
  20314. };
  20315. exports.default = _default;
  20316. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20317. /***/ }),
  20318. /* 375 */
  20319. /*!***********************************************************************************************************************************************!*\
  20320. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/util/dayjs.js ***!
  20321. \***********************************************************************************************************************************************/
  20322. /*! no static exports found */
  20323. /***/ (function(module, exports, __webpack_require__) {
  20324. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20325. !function (t, e) {
  20326. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = e() : true ? !(__WEBPACK_AMD_DEFINE_FACTORY__ = (e),
  20327. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20328. (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
  20329. __WEBPACK_AMD_DEFINE_FACTORY__),
  20330. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20331. }(this, function () {
  20332. 'use strict';
  20333. var t = 'millisecond';
  20334. var e = 'second';
  20335. var n = 'minute';
  20336. var r = 'hour';
  20337. var i = 'day';
  20338. var s = 'week';
  20339. var u = 'month';
  20340. var a = 'quarter';
  20341. var o = 'year';
  20342. var f = 'date';
  20343. var h = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/;
  20344. 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;
  20345. var d = {
  20346. name: 'en',
  20347. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  20348. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_')
  20349. };
  20350. var $ = function $(t, e, n) {
  20351. var r = String(t);
  20352. return !r || r.length >= e ? t : "".concat(Array(e + 1 - r.length).join(n)).concat(t);
  20353. };
  20354. var l = {
  20355. s: $,
  20356. z: function z(t) {
  20357. var e = -t.utcOffset();
  20358. var n = Math.abs(e);
  20359. var r = Math.floor(n / 60);
  20360. var i = n % 60;
  20361. return "".concat((e <= 0 ? '+' : '-') + $(r, 2, '0'), ":").concat($(i, 2, '0'));
  20362. },
  20363. m: function t(e, n) {
  20364. if (e.date() < n.date()) return -t(n, e);
  20365. var r = 12 * (n.year() - e.year()) + (n.month() - e.month());
  20366. var i = e.clone().add(r, u);
  20367. var s = n - i < 0;
  20368. var a = e.clone().add(r + (s ? -1 : 1), u);
  20369. return +(-(r + (n - i) / (s ? i - a : a - i)) || 0);
  20370. },
  20371. a: function a(t) {
  20372. return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
  20373. },
  20374. p: function p(h) {
  20375. return {
  20376. M: u,
  20377. y: o,
  20378. w: s,
  20379. d: i,
  20380. D: f,
  20381. h: r,
  20382. m: n,
  20383. s: e,
  20384. ms: t,
  20385. Q: a
  20386. }[h] || String(h || '').toLowerCase().replace(/s$/, '');
  20387. },
  20388. u: function u(t) {
  20389. return void 0 === t;
  20390. }
  20391. };
  20392. var y = 'en';
  20393. var M = {};
  20394. M[y] = d;
  20395. var m = function m(t) {
  20396. return t instanceof S;
  20397. };
  20398. var D = function D(t, e, n) {
  20399. var r;
  20400. if (!t) return y;
  20401. if (typeof t === 'string') M[t] && (r = t), e && (M[t] = e, r = t);else {
  20402. var _i = t.name;
  20403. M[_i] = t, r = _i;
  20404. }
  20405. return !n && r && (y = r), r || !n && y;
  20406. };
  20407. var v = function v(t, e) {
  20408. if (m(t)) return t.clone();
  20409. var n = _typeof(e) === 'object' ? e : {};
  20410. return n.date = t, n.args = arguments, new S(n);
  20411. };
  20412. var g = l;
  20413. g.l = D, g.i = m, g.w = function (t, e) {
  20414. return v(t, {
  20415. locale: e.$L,
  20416. utc: e.$u,
  20417. x: e.$x,
  20418. $offset: e.$offset
  20419. });
  20420. };
  20421. var S = function () {
  20422. function d(t) {
  20423. this.$L = D(t.locale, null, !0), this.parse(t);
  20424. }
  20425. var $ = d.prototype;
  20426. return $.parse = function (t) {
  20427. this.$d = function (t) {
  20428. var e = t.date;
  20429. var n = t.utc;
  20430. if (e === null) return new Date(NaN);
  20431. if (g.u(e)) return new Date();
  20432. if (e instanceof Date) return new Date(e);
  20433. if (typeof e === 'string' && !/Z$/i.test(e)) {
  20434. var _r = e.match(h);
  20435. if (_r) {
  20436. var _i2 = _r[2] - 1 || 0;
  20437. var _s = (_r[7] || '0').substring(0, 3);
  20438. 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);
  20439. }
  20440. }
  20441. return new Date(e);
  20442. }(t), this.$x = t.x || {}, this.init();
  20443. }, $.init = function () {
  20444. var t = this.$d;
  20445. 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();
  20446. }, $.$utils = function () {
  20447. return g;
  20448. }, $.isValid = function () {
  20449. return !(this.$d.toString() === 'Invalid Date');
  20450. }, $.isSame = function (t, e) {
  20451. var n = v(t);
  20452. return this.startOf(e) <= n && n <= this.endOf(e);
  20453. }, $.isAfter = function (t, e) {
  20454. return v(t) < this.startOf(e);
  20455. }, $.isBefore = function (t, e) {
  20456. return this.endOf(e) < v(t);
  20457. }, $.$g = function (t, e, n) {
  20458. return g.u(t) ? this[e] : this.set(n, t);
  20459. }, $.unix = function () {
  20460. return Math.floor(this.valueOf() / 1e3);
  20461. }, $.valueOf = function () {
  20462. return this.$d.getTime();
  20463. }, $.startOf = function (t, a) {
  20464. var h = this;
  20465. var c = !!g.u(a) || a;
  20466. var d = g.p(t);
  20467. var $ = function $(t, e) {
  20468. var n = g.w(h.$u ? Date.UTC(h.$y, e, t) : new Date(h.$y, e, t), h);
  20469. return c ? n : n.endOf(i);
  20470. };
  20471. var l = function l(t, e) {
  20472. return g.w(h.toDate()[t].apply(h.toDate('s'), (c ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), h);
  20473. };
  20474. var y = this.$W;
  20475. var M = this.$M;
  20476. var m = this.$D;
  20477. var D = "set".concat(this.$u ? 'UTC' : '');
  20478. switch (d) {
  20479. case o:
  20480. return c ? $(1, 0) : $(31, 11);
  20481. case u:
  20482. return c ? $(1, M) : $(0, M + 1);
  20483. case s:
  20484. var v = this.$locale().weekStart || 0;
  20485. var S = (y < v ? y + 7 : y) - v;
  20486. return $(c ? m - S : m + (6 - S), M);
  20487. case i:
  20488. case f:
  20489. return l("".concat(D, "Hours"), 0);
  20490. case r:
  20491. return l("".concat(D, "Minutes"), 1);
  20492. case n:
  20493. return l("".concat(D, "Seconds"), 2);
  20494. case e:
  20495. return l("".concat(D, "Milliseconds"), 3);
  20496. default:
  20497. return this.clone();
  20498. }
  20499. }, $.endOf = function (t) {
  20500. return this.startOf(t, !1);
  20501. }, $.$set = function (s, a) {
  20502. var h;
  20503. var c = g.p(s);
  20504. var d = "set".concat(this.$u ? 'UTC' : '');
  20505. 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];
  20506. var l = c === i ? this.$D + (a - this.$W) : a;
  20507. if (c === u || c === o) {
  20508. var _y = this.clone().set(f, 1);
  20509. _y.$d[$](l), _y.init(), this.$d = _y.set(f, Math.min(this.$D, _y.daysInMonth())).$d;
  20510. } else $ && this.$d[$](l);
  20511. return this.init(), this;
  20512. }, $.set = function (t, e) {
  20513. return this.clone().$set(t, e);
  20514. }, $.get = function (t) {
  20515. return this[g.p(t)]();
  20516. }, $.add = function (t, a) {
  20517. var f;
  20518. var h = this;
  20519. t = Number(t);
  20520. var c = g.p(a);
  20521. var d = function d(e) {
  20522. var n = v(h);
  20523. return g.w(n.date(n.date() + Math.round(e * t)), h);
  20524. };
  20525. if (c === u) return this.set(u, this.$M + t);
  20526. if (c === o) return this.set(o, this.$y + t);
  20527. if (c === i) return d(1);
  20528. if (c === s) return d(7);
  20529. var $ = (f = {}, f[n] = 6e4, f[r] = 36e5, f[e] = 1e3, f)[c] || 1;
  20530. var l = this.$d.getTime() + t * $;
  20531. return g.w(l, this);
  20532. }, $.subtract = function (t, e) {
  20533. return this.add(-1 * t, e);
  20534. }, $.format = function (t) {
  20535. var e = this;
  20536. if (!this.isValid()) return 'Invalid Date';
  20537. var n = t || 'YYYY-MM-DDTHH:mm:ssZ';
  20538. var r = g.z(this);
  20539. var i = this.$locale();
  20540. var s = this.$H;
  20541. var u = this.$m;
  20542. var a = this.$M;
  20543. var o = i.weekdays;
  20544. var f = i.months;
  20545. var h = function h(t, r, i, s) {
  20546. return t && (t[r] || t(e, n)) || i[r].substr(0, s);
  20547. };
  20548. var d = function d(t) {
  20549. return g.s(s % 12 || 12, t, '0');
  20550. };
  20551. var $ = i.meridiem || function (t, e, n) {
  20552. var r = t < 12 ? 'AM' : 'PM';
  20553. return n ? r.toLowerCase() : r;
  20554. };
  20555. var l = {
  20556. YY: String(this.$y).slice(-2),
  20557. YYYY: this.$y,
  20558. M: a + 1,
  20559. MM: g.s(a + 1, 2, '0'),
  20560. MMM: h(i.monthsShort, a, f, 3),
  20561. MMMM: h(f, a),
  20562. D: this.$D,
  20563. DD: g.s(this.$D, 2, '0'),
  20564. d: String(this.$W),
  20565. dd: h(i.weekdaysMin, this.$W, o, 2),
  20566. ddd: h(i.weekdaysShort, this.$W, o, 3),
  20567. dddd: o[this.$W],
  20568. H: String(s),
  20569. HH: g.s(s, 2, '0'),
  20570. h: d(1),
  20571. hh: d(2),
  20572. a: $(s, u, !0),
  20573. A: $(s, u, !1),
  20574. m: String(u),
  20575. mm: g.s(u, 2, '0'),
  20576. s: String(this.$s),
  20577. ss: g.s(this.$s, 2, '0'),
  20578. SSS: g.s(this.$ms, 3, '0'),
  20579. Z: r
  20580. };
  20581. return n.replace(c, function (t, e) {
  20582. return e || l[t] || r.replace(':', '');
  20583. });
  20584. }, $.utcOffset = function () {
  20585. return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
  20586. }, $.diff = function (t, f, h) {
  20587. var c;
  20588. var d = g.p(f);
  20589. var $ = v(t);
  20590. var l = 6e4 * ($.utcOffset() - this.utcOffset());
  20591. var y = this - $;
  20592. var M = g.m(this, $);
  20593. 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);
  20594. }, $.daysInMonth = function () {
  20595. return this.endOf(u).$D;
  20596. }, $.$locale = function () {
  20597. return M[this.$L];
  20598. }, $.locale = function (t, e) {
  20599. if (!t) return this.$L;
  20600. var n = this.clone();
  20601. var r = D(t, e, !0);
  20602. return r && (n.$L = r), n;
  20603. }, $.clone = function () {
  20604. return g.w(this.$d, this);
  20605. }, $.toDate = function () {
  20606. return new Date(this.valueOf());
  20607. }, $.toJSON = function () {
  20608. return this.isValid() ? this.toISOString() : null;
  20609. }, $.toISOString = function () {
  20610. return this.$d.toISOString();
  20611. }, $.toString = function () {
  20612. return this.$d.toUTCString();
  20613. }, d;
  20614. }();
  20615. var p = S.prototype;
  20616. return v.prototype = p, [['$ms', t], ['$s', e], ['$m', n], ['$H', r], ['$W', i], ['$M', u], ['$y', o], ['$D', f]].forEach(function (t) {
  20617. p[t[1]] = function (e) {
  20618. return this.$g(e, t[0], t[1]);
  20619. };
  20620. }), v.extend = function (t, e) {
  20621. return t.$i || (t(e, S, v), t.$i = !0), v;
  20622. }, v.locale = D, v.isDayjs = m, v.unix = function (t) {
  20623. return v(1e3 * t);
  20624. }, v.en = M[y], v.Ls = M, v.p = {}, v;
  20625. });
  20626. /***/ }),
  20627. /* 376 */,
  20628. /* 377 */,
  20629. /* 378 */,
  20630. /* 379 */,
  20631. /* 380 */,
  20632. /* 381 */,
  20633. /* 382 */,
  20634. /* 383 */
  20635. /*!*************************************************************************************************************************************************!*\
  20636. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/button.js ***!
  20637. \*************************************************************************************************************************************************/
  20638. /*! no static exports found */
  20639. /***/ (function(module, exports, __webpack_require__) {
  20640. "use strict";
  20641. Object.defineProperty(exports, "__esModule", {
  20642. value: true
  20643. });
  20644. exports.default = void 0;
  20645. var _default = {
  20646. props: {
  20647. lang: String,
  20648. sessionFrom: String,
  20649. sendMessageTitle: String,
  20650. sendMessagePath: String,
  20651. sendMessageImg: String,
  20652. showMessageCard: Boolean,
  20653. appParameter: String,
  20654. formType: String,
  20655. openType: String
  20656. }
  20657. };
  20658. exports.default = _default;
  20659. /***/ }),
  20660. /* 384 */
  20661. /*!***************************************************************************************************************************************************!*\
  20662. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/openType.js ***!
  20663. \***************************************************************************************************************************************************/
  20664. /*! no static exports found */
  20665. /***/ (function(module, exports, __webpack_require__) {
  20666. "use strict";
  20667. Object.defineProperty(exports, "__esModule", {
  20668. value: true
  20669. });
  20670. exports.default = void 0;
  20671. var _default = {
  20672. props: {
  20673. openType: String
  20674. },
  20675. methods: {
  20676. onGetUserInfo: function onGetUserInfo(event) {
  20677. this.$emit('getuserinfo', event.detail);
  20678. },
  20679. onContact: function onContact(event) {
  20680. this.$emit('contact', event.detail);
  20681. },
  20682. onGetPhoneNumber: function onGetPhoneNumber(event) {
  20683. this.$emit('getphonenumber', event.detail);
  20684. },
  20685. onError: function onError(event) {
  20686. this.$emit('error', event.detail);
  20687. },
  20688. onLaunchApp: function onLaunchApp(event) {
  20689. this.$emit('launchapp', event.detail);
  20690. },
  20691. onOpenSetting: function onOpenSetting(event) {
  20692. this.$emit('opensetting', event.detail);
  20693. }
  20694. }
  20695. };
  20696. exports.default = _default;
  20697. /***/ }),
  20698. /* 385 */
  20699. /*!*********************************************************************************************************************************************************!*\
  20700. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-button/props.js ***!
  20701. \*********************************************************************************************************************************************************/
  20702. /*! no static exports found */
  20703. /***/ (function(module, exports, __webpack_require__) {
  20704. "use strict";
  20705. /* WEBPACK VAR INJECTION */(function(uni) {
  20706. Object.defineProperty(exports, "__esModule", {
  20707. value: true
  20708. });
  20709. exports.default = void 0;
  20710. /*
  20711. * @Author : LQ
  20712. * @Description :
  20713. * @version : 1.0
  20714. * @Date : 2021-08-16 10:04:04
  20715. * @LastAuthor : LQ
  20716. * @lastTime : 2021-08-16 10:04:24
  20717. * @FilePath : /u-view2.0/uview-ui/components/u-button/props.js
  20718. */
  20719. var _default = {
  20720. props: {
  20721. // 是否细边框
  20722. hairline: {
  20723. type: Boolean,
  20724. default: uni.$u.props.button.hairline
  20725. },
  20726. // 按钮的预置样式,info,primary,error,warning,success
  20727. type: {
  20728. type: String,
  20729. default: uni.$u.props.button.type
  20730. },
  20731. // 按钮尺寸,large,normal,small,mini
  20732. size: {
  20733. type: String,
  20734. default: uni.$u.props.button.size
  20735. },
  20736. // 按钮形状,circle(两边为半圆),square(带圆角)
  20737. shape: {
  20738. type: String,
  20739. default: uni.$u.props.button.shape
  20740. },
  20741. // 按钮是否镂空
  20742. plain: {
  20743. type: Boolean,
  20744. default: uni.$u.props.button.plain
  20745. },
  20746. // 是否禁止状态
  20747. disabled: {
  20748. type: Boolean,
  20749. default: uni.$u.props.button.disabled
  20750. },
  20751. // 是否加载中
  20752. loading: {
  20753. type: Boolean,
  20754. default: uni.$u.props.button.loading
  20755. },
  20756. // 加载中提示文字
  20757. loadingText: {
  20758. type: [String, Number],
  20759. default: uni.$u.props.button.loadingText
  20760. },
  20761. // 加载状态图标类型
  20762. loadingMode: {
  20763. type: String,
  20764. default: uni.$u.props.button.loadingMode
  20765. },
  20766. // 加载图标大小
  20767. loadingSize: {
  20768. type: [String, Number],
  20769. default: uni.$u.props.button.loadingSize
  20770. },
  20771. // 开放能力,具体请看uniapp稳定关于button组件部分说明
  20772. // https://uniapp.dcloud.io/component/button
  20773. openType: {
  20774. type: String,
  20775. default: uni.$u.props.button.openType
  20776. },
  20777. // 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件
  20778. // 取值为submit(提交表单),reset(重置表单)
  20779. formType: {
  20780. type: String,
  20781. default: uni.$u.props.button.formType
  20782. },
  20783. // 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效
  20784. // 只微信小程序、QQ小程序有效
  20785. appParameter: {
  20786. type: String,
  20787. default: uni.$u.props.button.appParameter
  20788. },
  20789. // 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效
  20790. hoverStopPropagation: {
  20791. type: Boolean,
  20792. default: uni.$u.props.button.hoverStopPropagation
  20793. },
  20794. // 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。只微信小程序有效
  20795. lang: {
  20796. type: String,
  20797. default: uni.$u.props.button.lang
  20798. },
  20799. // 会话来源,open-type="contact"时有效。只微信小程序有效
  20800. sessionFrom: {
  20801. type: String,
  20802. default: uni.$u.props.button.sessionFrom
  20803. },
  20804. // 会话内消息卡片标题,open-type="contact"时有效
  20805. // 默认当前标题,只微信小程序有效
  20806. sendMessageTitle: {
  20807. type: String,
  20808. default: uni.$u.props.button.sendMessageTitle
  20809. },
  20810. // 会话内消息卡片点击跳转小程序路径,open-type="contact"时有效
  20811. // 默认当前分享路径,只微信小程序有效
  20812. sendMessagePath: {
  20813. type: String,
  20814. default: uni.$u.props.button.sendMessagePath
  20815. },
  20816. // 会话内消息卡片图片,open-type="contact"时有效
  20817. // 默认当前页面截图,只微信小程序有效
  20818. sendMessageImg: {
  20819. type: String,
  20820. default: uni.$u.props.button.sendMessageImg
  20821. },
  20822. // 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示,
  20823. // 用户点击后可以快速发送小程序消息,open-type="contact"时有效
  20824. showMessageCard: {
  20825. type: Boolean,
  20826. default: uni.$u.props.button.showMessageCard
  20827. },
  20828. // 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取
  20829. dataName: {
  20830. type: String,
  20831. default: uni.$u.props.button.dataName
  20832. },
  20833. // 节流,一定时间内只能触发一次
  20834. throttleTime: {
  20835. type: [String, Number],
  20836. default: uni.$u.props.button.throttleTime
  20837. },
  20838. // 按住后多久出现点击态,单位毫秒
  20839. hoverStartTime: {
  20840. type: [String, Number],
  20841. default: uni.$u.props.button.hoverStartTime
  20842. },
  20843. // 手指松开后点击态保留时间,单位毫秒
  20844. hoverStayTime: {
  20845. type: [String, Number],
  20846. default: uni.$u.props.button.hoverStayTime
  20847. },
  20848. // 按钮文字,之所以通过props传入,是因为slot传入的话
  20849. // nvue中无法控制文字的样式
  20850. text: {
  20851. type: [String, Number],
  20852. default: uni.$u.props.button.text
  20853. },
  20854. // 按钮图标
  20855. icon: {
  20856. type: String,
  20857. default: uni.$u.props.button.icon
  20858. },
  20859. // 按钮图标
  20860. iconColor: {
  20861. type: String,
  20862. default: uni.$u.props.button.icon
  20863. },
  20864. // 按钮颜色,支持传入linear-gradient渐变色
  20865. color: {
  20866. type: String,
  20867. default: uni.$u.props.button.color
  20868. }
  20869. }
  20870. };
  20871. exports.default = _default;
  20872. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20873. /***/ }),
  20874. /* 386 */,
  20875. /* 387 */,
  20876. /* 388 */,
  20877. /* 389 */,
  20878. /* 390 */,
  20879. /* 391 */,
  20880. /* 392 */,
  20881. /* 393 */,
  20882. /* 394 */,
  20883. /* 395 */,
  20884. /* 396 */,
  20885. /* 397 */,
  20886. /* 398 */,
  20887. /* 399 */,
  20888. /* 400 */
  20889. /*!********************************************************************************************************************************************************!*\
  20890. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-popup/props.js ***!
  20891. \********************************************************************************************************************************************************/
  20892. /*! no static exports found */
  20893. /***/ (function(module, exports, __webpack_require__) {
  20894. "use strict";
  20895. /* WEBPACK VAR INJECTION */(function(uni) {
  20896. Object.defineProperty(exports, "__esModule", {
  20897. value: true
  20898. });
  20899. exports.default = void 0;
  20900. var _default = {
  20901. props: {
  20902. // 是否展示弹窗
  20903. show: {
  20904. type: Boolean,
  20905. default: uni.$u.props.popup.show
  20906. },
  20907. // 是否显示遮罩
  20908. overlay: {
  20909. type: Boolean,
  20910. default: uni.$u.props.popup.overlay
  20911. },
  20912. // 弹出的方向,可选值为 top bottom right left center
  20913. mode: {
  20914. type: String,
  20915. default: uni.$u.props.popup.mode
  20916. },
  20917. // 动画时长,单位ms
  20918. duration: {
  20919. type: [String, Number],
  20920. default: uni.$u.props.popup.duration
  20921. },
  20922. // 是否显示关闭图标
  20923. closeable: {
  20924. type: Boolean,
  20925. default: uni.$u.props.popup.closeable
  20926. },
  20927. // 自定义遮罩的样式
  20928. overlayStyle: {
  20929. type: [Object, String],
  20930. default: uni.$u.props.popup.overlayStyle
  20931. },
  20932. // 点击遮罩是否关闭弹窗
  20933. closeOnClickOverlay: {
  20934. type: Boolean,
  20935. default: uni.$u.props.popup.closeOnClickOverlay
  20936. },
  20937. // 层级
  20938. zIndex: {
  20939. type: [String, Number],
  20940. default: uni.$u.props.popup.zIndex
  20941. },
  20942. // 是否为iPhoneX留出底部安全距离
  20943. safeAreaInsetBottom: {
  20944. type: Boolean,
  20945. default: uni.$u.props.popup.safeAreaInsetBottom
  20946. },
  20947. // 是否留出顶部安全距离(状态栏高度)
  20948. safeAreaInsetTop: {
  20949. type: Boolean,
  20950. default: uni.$u.props.popup.safeAreaInsetTop
  20951. },
  20952. // 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角
  20953. closeIconPos: {
  20954. type: String,
  20955. default: uni.$u.props.popup.closeIconPos
  20956. },
  20957. // 是否显示圆角
  20958. round: {
  20959. type: [Boolean, String, Number],
  20960. default: uni.$u.props.popup.round
  20961. },
  20962. // mode=center,也即中部弹出时,是否使用缩放模式
  20963. zoom: {
  20964. type: Boolean,
  20965. default: uni.$u.props.popup.zoom
  20966. },
  20967. // 弹窗背景色,设置为transparent可去除白色背景
  20968. bgColor: {
  20969. type: String,
  20970. default: uni.$u.props.popup.bgColor
  20971. },
  20972. // 遮罩的透明度,0-1之间
  20973. overlayOpacity: {
  20974. type: [Number, String],
  20975. default: uni.$u.props.popup.overlayOpacity
  20976. }
  20977. }
  20978. };
  20979. exports.default = _default;
  20980. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20981. /***/ }),
  20982. /* 401 */,
  20983. /* 402 */,
  20984. /* 403 */,
  20985. /* 404 */,
  20986. /* 405 */,
  20987. /* 406 */,
  20988. /* 407 */,
  20989. /* 408 */
  20990. /*!*********************************************************************************************************************************************************!*\
  20991. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-avatar/props.js ***!
  20992. \*********************************************************************************************************************************************************/
  20993. /*! no static exports found */
  20994. /***/ (function(module, exports, __webpack_require__) {
  20995. "use strict";
  20996. /* WEBPACK VAR INJECTION */(function(uni) {
  20997. Object.defineProperty(exports, "__esModule", {
  20998. value: true
  20999. });
  21000. exports.default = void 0;
  21001. var _default = {
  21002. props: {
  21003. // 头像图片路径(不能为相对路径)
  21004. src: {
  21005. type: String,
  21006. default: uni.$u.props.avatar.src
  21007. },
  21008. // 头像形状,circle-圆形,square-方形
  21009. shape: {
  21010. type: String,
  21011. default: uni.$u.props.avatar.shape
  21012. },
  21013. // 头像尺寸
  21014. size: {
  21015. type: [String, Number],
  21016. default: uni.$u.props.avatar.size
  21017. },
  21018. // 裁剪模式
  21019. mode: {
  21020. type: String,
  21021. default: uni.$u.props.avatar.mode
  21022. },
  21023. // 显示的文字
  21024. text: {
  21025. type: String,
  21026. default: uni.$u.props.avatar.text
  21027. },
  21028. // 背景色
  21029. bgColor: {
  21030. type: String,
  21031. default: uni.$u.props.avatar.bgColor
  21032. },
  21033. // 文字颜色
  21034. color: {
  21035. type: String,
  21036. default: uni.$u.props.avatar.color
  21037. },
  21038. // 文字大小
  21039. fontSize: {
  21040. type: [String, Number],
  21041. default: uni.$u.props.avatar.fontSize
  21042. },
  21043. // 显示的图标
  21044. icon: {
  21045. type: String,
  21046. default: uni.$u.props.avatar.icon
  21047. },
  21048. // 显示小程序头像,只对百度,微信,QQ小程序有效
  21049. mpAvatar: {
  21050. type: Boolean,
  21051. default: uni.$u.props.avatar.mpAvatar
  21052. },
  21053. // 是否使用随机背景色
  21054. randomBgColor: {
  21055. type: Boolean,
  21056. default: uni.$u.props.avatar.randomBgColor
  21057. },
  21058. // 加载失败的默认头像(组件有内置默认图片)
  21059. defaultUrl: {
  21060. type: String,
  21061. default: uni.$u.props.avatar.defaultUrl
  21062. },
  21063. // 如果配置了randomBgColor为true,且配置了此值,则从默认的背景色数组中取出对应索引的颜色值,取值0-19之间
  21064. colorIndex: {
  21065. type: [String, Number],
  21066. // 校验参数规则,索引在0-19之间
  21067. validator: function validator(n) {
  21068. return uni.$u.test.range(n, [0, 19]) || n === '';
  21069. },
  21070. default: uni.$u.props.avatar.colorIndex
  21071. },
  21072. // 组件标识符
  21073. name: {
  21074. type: String,
  21075. default: uni.$u.props.avatar.name
  21076. }
  21077. }
  21078. };
  21079. exports.default = _default;
  21080. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21081. /***/ }),
  21082. /* 409 */,
  21083. /* 410 */,
  21084. /* 411 */,
  21085. /* 412 */,
  21086. /* 413 */,
  21087. /* 414 */,
  21088. /* 415 */,
  21089. /* 416 */
  21090. /*!********************************************************************************************************************************************************!*\
  21091. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-badge/props.js ***!
  21092. \********************************************************************************************************************************************************/
  21093. /*! no static exports found */
  21094. /***/ (function(module, exports, __webpack_require__) {
  21095. "use strict";
  21096. /* WEBPACK VAR INJECTION */(function(uni) {
  21097. Object.defineProperty(exports, "__esModule", {
  21098. value: true
  21099. });
  21100. exports.default = void 0;
  21101. var _default = {
  21102. props: {
  21103. // 是否显示圆点
  21104. isDot: {
  21105. type: Boolean,
  21106. default: uni.$u.props.badge.isDot
  21107. },
  21108. // 显示的内容
  21109. value: {
  21110. type: [Number, String],
  21111. default: uni.$u.props.badge.value
  21112. },
  21113. // 是否显示
  21114. show: {
  21115. type: Boolean,
  21116. default: uni.$u.props.badge.show
  21117. },
  21118. // 最大值,超过最大值会显示 '{max}+'
  21119. max: {
  21120. type: [Number, String],
  21121. default: uni.$u.props.badge.max
  21122. },
  21123. // 主题类型,error|warning|success|primary
  21124. type: {
  21125. type: String,
  21126. default: uni.$u.props.badge.type
  21127. },
  21128. // 当数值为 0 时,是否展示 Badge
  21129. showZero: {
  21130. type: Boolean,
  21131. default: uni.$u.props.badge.showZero
  21132. },
  21133. // 背景颜色,优先级比type高,如设置,type参数会失效
  21134. bgColor: {
  21135. type: [String, null],
  21136. default: uni.$u.props.badge.bgColor
  21137. },
  21138. // 字体颜色
  21139. color: {
  21140. type: [String, null],
  21141. default: uni.$u.props.badge.color
  21142. },
  21143. // 徽标形状,circle-四角均为圆角,horn-左下角为直角
  21144. shape: {
  21145. type: String,
  21146. default: uni.$u.props.badge.shape
  21147. },
  21148. // 设置数字的显示方式,overflow|ellipsis|limit
  21149. // overflow会根据max字段判断,超出显示`${max}+`
  21150. // ellipsis会根据max判断,超出显示`${max}...`
  21151. // limit会依据1000作为判断条件,超出1000,显示`${value/1000}K`,比如2.2k、3.34w,最多保留2位小数
  21152. numberType: {
  21153. type: String,
  21154. default: uni.$u.props.badge.numberType
  21155. },
  21156. // 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
  21157. offset: {
  21158. type: Array,
  21159. default: uni.$u.props.badge.offset
  21160. },
  21161. // 是否反转背景和字体颜色
  21162. inverted: {
  21163. type: Boolean,
  21164. default: uni.$u.props.badge.inverted
  21165. },
  21166. // 是否绝对定位
  21167. absolute: {
  21168. type: Boolean,
  21169. default: uni.$u.props.badge.absolute
  21170. }
  21171. }
  21172. };
  21173. exports.default = _default;
  21174. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21175. /***/ }),
  21176. /* 417 */,
  21177. /* 418 */,
  21178. /* 419 */,
  21179. /* 420 */,
  21180. /* 421 */,
  21181. /* 422 */,
  21182. /* 423 */,
  21183. /* 424 */
  21184. /*!***********************************************************************************************************************************************************!*\
  21185. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-textarea/props.js ***!
  21186. \***********************************************************************************************************************************************************/
  21187. /*! no static exports found */
  21188. /***/ (function(module, exports, __webpack_require__) {
  21189. "use strict";
  21190. /* WEBPACK VAR INJECTION */(function(uni) {
  21191. Object.defineProperty(exports, "__esModule", {
  21192. value: true
  21193. });
  21194. exports.default = void 0;
  21195. var _default = {
  21196. props: {
  21197. // 输入框的内容
  21198. value: {
  21199. type: [String, Number],
  21200. default: uni.$u.props.textarea.value
  21201. },
  21202. // 输入框为空时占位符
  21203. placeholder: {
  21204. type: [String, Number],
  21205. default: uni.$u.props.textarea.placeholder
  21206. },
  21207. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  21208. placeholderClass: {
  21209. type: String,
  21210. default: uni.$u.props.input.placeholderClass
  21211. },
  21212. // 指定placeholder的样式
  21213. placeholderStyle: {
  21214. type: [String, Object],
  21215. default: uni.$u.props.input.placeholderStyle
  21216. },
  21217. // 输入框高度
  21218. height: {
  21219. type: [String, Number],
  21220. default: uni.$u.props.textarea.height
  21221. },
  21222. // 设置键盘右下角按钮的文字,仅微信小程序,App-vue和H5有效
  21223. confirmType: {
  21224. type: String,
  21225. default: uni.$u.props.textarea.confirmType
  21226. },
  21227. // 是否禁用
  21228. disabled: {
  21229. type: Boolean,
  21230. default: uni.$u.props.textarea.disabled
  21231. },
  21232. // 是否显示统计字数
  21233. count: {
  21234. type: Boolean,
  21235. default: uni.$u.props.textarea.count
  21236. },
  21237. // 是否自动获取焦点,nvue不支持,H5取决于浏览器的实现
  21238. focus: {
  21239. type: Boolean,
  21240. default: uni.$u.props.textarea.focus
  21241. },
  21242. // 是否自动增加高度
  21243. autoHeight: {
  21244. type: Boolean,
  21245. default: uni.$u.props.textarea.autoHeight
  21246. },
  21247. // 如果textarea是在一个position:fixed的区域,需要显示指定属性fixed为true
  21248. fixed: {
  21249. type: Boolean,
  21250. default: uni.$u.props.textarea.fixed
  21251. },
  21252. // 指定光标与键盘的距离
  21253. cursorSpacing: {
  21254. type: Number,
  21255. default: uni.$u.props.textarea.cursorSpacing
  21256. },
  21257. // 指定focus时的光标位置
  21258. cursor: {
  21259. type: [String, Number],
  21260. default: uni.$u.props.textarea.cursor
  21261. },
  21262. // 是否显示键盘上方带有”完成“按钮那一栏,
  21263. showConfirmBar: {
  21264. type: Boolean,
  21265. default: uni.$u.props.textarea.showConfirmBar
  21266. },
  21267. // 光标起始位置,自动聚焦时有效,需与selection-end搭配使用
  21268. selectionStart: {
  21269. type: Number,
  21270. default: uni.$u.props.textarea.selectionStart
  21271. },
  21272. // 光标结束位置,自动聚焦时有效,需与selection-start搭配使用
  21273. selectionEnd: {
  21274. type: Number,
  21275. default: uni.$u.props.textarea.selectionEnd
  21276. },
  21277. // 键盘弹起时,是否自动上推页面
  21278. adjustPosition: {
  21279. type: Boolean,
  21280. default: uni.$u.props.textarea.adjustPosition
  21281. },
  21282. // 是否去掉 iOS 下的默认内边距,只微信小程序有效
  21283. disableDefaultPadding: {
  21284. type: Boolean,
  21285. default: uni.$u.props.textarea.disableDefaultPadding
  21286. },
  21287. // focus时,点击页面的时候不收起键盘,只微信小程序有效
  21288. holdKeyboard: {
  21289. type: Boolean,
  21290. default: uni.$u.props.textarea.holdKeyboard
  21291. },
  21292. // 最大输入长度,设置为 -1 的时候不限制最大长度
  21293. maxlength: {
  21294. type: [String, Number],
  21295. default: uni.$u.props.textarea.maxlength
  21296. },
  21297. // 边框类型,surround-四周边框,bottom-底部边框
  21298. border: {
  21299. type: String,
  21300. default: uni.$u.props.textarea.border
  21301. },
  21302. // 用于处理或者过滤输入框内容的方法
  21303. formatter: {
  21304. type: [Function, null],
  21305. default: uni.$u.props.textarea.formatter
  21306. },
  21307. // 是否忽略组件内对文本合成系统事件的处理
  21308. ignoreCompositionEvent: {
  21309. type: Boolean,
  21310. default: true
  21311. }
  21312. }
  21313. };
  21314. exports.default = _default;
  21315. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21316. /***/ }),
  21317. /* 425 */,
  21318. /* 426 */,
  21319. /* 427 */,
  21320. /* 428 */,
  21321. /* 429 */,
  21322. /* 430 */
  21323. /*!*************************************************************************************************************************************************************!*\
  21324. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-cell-group/props.js ***!
  21325. \*************************************************************************************************************************************************************/
  21326. /*! no static exports found */
  21327. /***/ (function(module, exports, __webpack_require__) {
  21328. "use strict";
  21329. /* WEBPACK VAR INJECTION */(function(uni) {
  21330. Object.defineProperty(exports, "__esModule", {
  21331. value: true
  21332. });
  21333. exports.default = void 0;
  21334. var _default = {
  21335. props: {
  21336. // 分组标题
  21337. title: {
  21338. type: String,
  21339. default: uni.$u.props.cellGroup.title
  21340. },
  21341. // 是否显示外边框
  21342. border: {
  21343. type: Boolean,
  21344. default: uni.$u.props.cellGroup.border
  21345. }
  21346. }
  21347. };
  21348. exports.default = _default;
  21349. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21350. /***/ }),
  21351. /* 431 */,
  21352. /* 432 */,
  21353. /* 433 */,
  21354. /* 434 */,
  21355. /* 435 */,
  21356. /* 436 */,
  21357. /* 437 */,
  21358. /* 438 */
  21359. /*!*******************************************************************************************************************************************************!*\
  21360. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-cell/props.js ***!
  21361. \*******************************************************************************************************************************************************/
  21362. /*! no static exports found */
  21363. /***/ (function(module, exports, __webpack_require__) {
  21364. "use strict";
  21365. /* WEBPACK VAR INJECTION */(function(uni) {
  21366. Object.defineProperty(exports, "__esModule", {
  21367. value: true
  21368. });
  21369. exports.default = void 0;
  21370. var _default2 = {
  21371. props: {
  21372. // 标题
  21373. title: {
  21374. type: [String, Number],
  21375. default: uni.$u.props.cell.title
  21376. },
  21377. // 标题下方的描述信息
  21378. label: {
  21379. type: [String, Number],
  21380. default: uni.$u.props.cell.label
  21381. },
  21382. // 右侧的内容
  21383. value: {
  21384. type: [String, Number],
  21385. default: uni.$u.props.cell.value
  21386. },
  21387. // 左侧图标名称,或者图片链接(本地文件建议使用绝对地址)
  21388. icon: {
  21389. type: String,
  21390. default: uni.$u.props.cell.icon
  21391. },
  21392. // 是否禁用cell
  21393. disabled: {
  21394. type: Boolean,
  21395. default: uni.$u.props.cell.disabled
  21396. },
  21397. // 是否显示下边框
  21398. border: {
  21399. type: Boolean,
  21400. default: uni.$u.props.cell.border
  21401. },
  21402. // 内容是否垂直居中(主要是针对右侧的value部分)
  21403. center: {
  21404. type: Boolean,
  21405. default: uni.$u.props.cell.center
  21406. },
  21407. // 点击后跳转的URL地址
  21408. url: {
  21409. type: String,
  21410. default: uni.$u.props.cell.url
  21411. },
  21412. // 链接跳转的方式,内部使用的是uView封装的route方法,可能会进行拦截操作
  21413. linkType: {
  21414. type: String,
  21415. default: uni.$u.props.cell.linkType
  21416. },
  21417. // 是否开启点击反馈(表现为点击时加上灰色背景)
  21418. clickable: {
  21419. type: Boolean,
  21420. default: uni.$u.props.cell.clickable
  21421. },
  21422. // 是否展示右侧箭头并开启点击反馈
  21423. isLink: {
  21424. type: Boolean,
  21425. default: uni.$u.props.cell.isLink
  21426. },
  21427. // 是否显示表单状态下的必填星号(此组件可能会内嵌入input组件)
  21428. required: {
  21429. type: Boolean,
  21430. default: uni.$u.props.cell.required
  21431. },
  21432. // 右侧的图标箭头
  21433. rightIcon: {
  21434. type: String,
  21435. default: uni.$u.props.cell.rightIcon
  21436. },
  21437. // 右侧箭头的方向,可选值为:left,up,down
  21438. arrowDirection: {
  21439. type: String,
  21440. default: uni.$u.props.cell.arrowDirection
  21441. },
  21442. // 左侧图标样式
  21443. iconStyle: {
  21444. type: [Object, String],
  21445. default: function _default() {
  21446. return uni.$u.props.cell.iconStyle;
  21447. }
  21448. },
  21449. // 右侧箭头图标的样式
  21450. rightIconStyle: {
  21451. type: [Object, String],
  21452. default: function _default() {
  21453. return uni.$u.props.cell.rightIconStyle;
  21454. }
  21455. },
  21456. // 标题的样式
  21457. titleStyle: {
  21458. type: [Object, String],
  21459. default: function _default() {
  21460. return uni.$u.props.cell.titleStyle;
  21461. }
  21462. },
  21463. // 单位元的大小,可选值为large
  21464. size: {
  21465. type: String,
  21466. default: uni.$u.props.cell.size
  21467. },
  21468. // 点击cell是否阻止事件传播
  21469. stop: {
  21470. type: Boolean,
  21471. default: uni.$u.props.cell.stop
  21472. },
  21473. // 标识符,cell被点击时返回
  21474. name: {
  21475. type: [Number, String],
  21476. default: uni.$u.props.cell.name
  21477. }
  21478. }
  21479. };
  21480. exports.default = _default2;
  21481. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21482. /***/ }),
  21483. /* 439 */,
  21484. /* 440 */,
  21485. /* 441 */,
  21486. /* 442 */,
  21487. /* 443 */,
  21488. /* 444 */,
  21489. /* 445 */,
  21490. /* 446 */
  21491. /*!**************************************************************************************************************************************************************!*\
  21492. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-radio-group/props.js ***!
  21493. \**************************************************************************************************************************************************************/
  21494. /*! no static exports found */
  21495. /***/ (function(module, exports, __webpack_require__) {
  21496. "use strict";
  21497. /* WEBPACK VAR INJECTION */(function(uni) {
  21498. Object.defineProperty(exports, "__esModule", {
  21499. value: true
  21500. });
  21501. exports.default = void 0;
  21502. var _default = {
  21503. props: {
  21504. // 绑定的值
  21505. value: {
  21506. type: [String, Number, Boolean],
  21507. default: uni.$u.props.radioGroup.value
  21508. },
  21509. // 是否禁用全部radio
  21510. disabled: {
  21511. type: Boolean,
  21512. default: uni.$u.props.radioGroup.disabled
  21513. },
  21514. // 形状,circle-圆形,square-方形
  21515. shape: {
  21516. type: String,
  21517. default: uni.$u.props.radioGroup.shape
  21518. },
  21519. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  21520. activeColor: {
  21521. type: String,
  21522. default: uni.$u.props.radioGroup.activeColor
  21523. },
  21524. // 未选中的颜色
  21525. inactiveColor: {
  21526. type: String,
  21527. default: uni.$u.props.radioGroup.inactiveColor
  21528. },
  21529. // 标识符
  21530. name: {
  21531. type: String,
  21532. default: uni.$u.props.radioGroup.name
  21533. },
  21534. // 整个组件的尺寸,默认px
  21535. size: {
  21536. type: [String, Number],
  21537. default: uni.$u.props.radioGroup.size
  21538. },
  21539. // 布局方式,row-横向,column-纵向
  21540. placement: {
  21541. type: String,
  21542. default: uni.$u.props.radioGroup.placement
  21543. },
  21544. // label的文本
  21545. label: {
  21546. type: [String],
  21547. default: uni.$u.props.radioGroup.label
  21548. },
  21549. // label的颜色 (默认 '#303133' )
  21550. labelColor: {
  21551. type: [String],
  21552. default: uni.$u.props.radioGroup.labelColor
  21553. },
  21554. // label的字体大小,px单位
  21555. labelSize: {
  21556. type: [String, Number],
  21557. default: uni.$u.props.radioGroup.labelSize
  21558. },
  21559. // 是否禁止点击文本操作checkbox(默认 false )
  21560. labelDisabled: {
  21561. type: Boolean,
  21562. default: uni.$u.props.radioGroup.labelDisabled
  21563. },
  21564. // 图标颜色
  21565. iconColor: {
  21566. type: String,
  21567. default: uni.$u.props.radioGroup.iconColor
  21568. },
  21569. // 图标的大小,单位px
  21570. iconSize: {
  21571. type: [String, Number],
  21572. default: uni.$u.props.radioGroup.iconSize
  21573. },
  21574. // 竖向配列时,是否显示下划线
  21575. borderBottom: {
  21576. type: Boolean,
  21577. default: uni.$u.props.radioGroup.borderBottom
  21578. },
  21579. // 图标与文字的对齐方式
  21580. iconPlacement: {
  21581. type: String,
  21582. default: uni.$u.props.radio.iconPlacement
  21583. }
  21584. }
  21585. };
  21586. exports.default = _default;
  21587. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21588. /***/ }),
  21589. /* 447 */,
  21590. /* 448 */,
  21591. /* 449 */,
  21592. /* 450 */,
  21593. /* 451 */,
  21594. /* 452 */,
  21595. /* 453 */,
  21596. /* 454 */
  21597. /*!********************************************************************************************************************************************************!*\
  21598. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-radio/props.js ***!
  21599. \********************************************************************************************************************************************************/
  21600. /*! no static exports found */
  21601. /***/ (function(module, exports, __webpack_require__) {
  21602. "use strict";
  21603. /* WEBPACK VAR INJECTION */(function(uni) {
  21604. Object.defineProperty(exports, "__esModule", {
  21605. value: true
  21606. });
  21607. exports.default = void 0;
  21608. var _default = {
  21609. props: {
  21610. // radio的名称
  21611. name: {
  21612. type: [String, Number, Boolean],
  21613. default: uni.$u.props.radio.name
  21614. },
  21615. // 形状,square为方形,circle为圆型
  21616. shape: {
  21617. type: String,
  21618. default: uni.$u.props.radio.shape
  21619. },
  21620. // 是否禁用
  21621. disabled: {
  21622. type: [String, Boolean],
  21623. default: uni.$u.props.radio.disabled
  21624. },
  21625. // 是否禁止点击提示语选中单选框
  21626. labelDisabled: {
  21627. type: [String, Boolean],
  21628. default: uni.$u.props.radio.labelDisabled
  21629. },
  21630. // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
  21631. activeColor: {
  21632. type: String,
  21633. default: uni.$u.props.radio.activeColor
  21634. },
  21635. // 未选中的颜色
  21636. inactiveColor: {
  21637. type: String,
  21638. default: uni.$u.props.radio.inactiveColor
  21639. },
  21640. // 图标的大小,单位px
  21641. iconSize: {
  21642. type: [String, Number],
  21643. default: uni.$u.props.radio.iconSize
  21644. },
  21645. // label的字体大小,px单位
  21646. labelSize: {
  21647. type: [String, Number],
  21648. default: uni.$u.props.radio.labelSize
  21649. },
  21650. // label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式
  21651. label: {
  21652. type: [String, Number],
  21653. default: uni.$u.props.radio.label
  21654. },
  21655. // 整体的大小
  21656. size: {
  21657. type: [String, Number],
  21658. default: uni.$u.props.radio.size
  21659. },
  21660. // 图标颜色
  21661. color: {
  21662. type: String,
  21663. default: uni.$u.props.radio.color
  21664. },
  21665. // label的颜色
  21666. labelColor: {
  21667. type: String,
  21668. default: uni.$u.props.radio.labelColor
  21669. }
  21670. }
  21671. };
  21672. exports.default = _default;
  21673. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21674. /***/ }),
  21675. /* 455 */,
  21676. /* 456 */,
  21677. /* 457 */,
  21678. /* 458 */,
  21679. /* 459 */,
  21680. /* 460 */,
  21681. /* 461 */,
  21682. /* 462 */
  21683. /*!*******************************************************************************************************************************************************!*\
  21684. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-icon/icons.js ***!
  21685. \*******************************************************************************************************************************************************/
  21686. /*! no static exports found */
  21687. /***/ (function(module, exports, __webpack_require__) {
  21688. "use strict";
  21689. Object.defineProperty(exports, "__esModule", {
  21690. value: true
  21691. });
  21692. exports.default = void 0;
  21693. var _default = {
  21694. 'uicon-level': "\uE693",
  21695. 'uicon-column-line': "\uE68E",
  21696. 'uicon-checkbox-mark': "\uE807",
  21697. 'uicon-folder': "\uE7F5",
  21698. 'uicon-movie': "\uE7F6",
  21699. 'uicon-star-fill': "\uE669",
  21700. 'uicon-star': "\uE65F",
  21701. 'uicon-phone-fill': "\uE64F",
  21702. 'uicon-phone': "\uE622",
  21703. 'uicon-apple-fill': "\uE881",
  21704. 'uicon-chrome-circle-fill': "\uE885",
  21705. 'uicon-backspace': "\uE67B",
  21706. 'uicon-attach': "\uE632",
  21707. 'uicon-cut': "\uE948",
  21708. 'uicon-empty-car': "\uE602",
  21709. 'uicon-empty-coupon': "\uE682",
  21710. 'uicon-empty-address': "\uE646",
  21711. 'uicon-empty-favor': "\uE67C",
  21712. 'uicon-empty-permission': "\uE686",
  21713. 'uicon-empty-news': "\uE687",
  21714. 'uicon-empty-search': "\uE664",
  21715. 'uicon-github-circle-fill': "\uE887",
  21716. 'uicon-rmb': "\uE608",
  21717. 'uicon-person-delete-fill': "\uE66A",
  21718. 'uicon-reload': "\uE788",
  21719. 'uicon-order': "\uE68F",
  21720. 'uicon-server-man': "\uE6BC",
  21721. 'uicon-search': "\uE62A",
  21722. 'uicon-fingerprint': "\uE955",
  21723. 'uicon-more-dot-fill': "\uE630",
  21724. 'uicon-scan': "\uE662",
  21725. 'uicon-share-square': "\uE60B",
  21726. 'uicon-map': "\uE61D",
  21727. 'uicon-map-fill': "\uE64E",
  21728. 'uicon-tags': "\uE629",
  21729. 'uicon-tags-fill': "\uE651",
  21730. 'uicon-bookmark-fill': "\uE63B",
  21731. 'uicon-bookmark': "\uE60A",
  21732. 'uicon-eye': "\uE613",
  21733. 'uicon-eye-fill': "\uE641",
  21734. 'uicon-mic': "\uE64A",
  21735. 'uicon-mic-off': "\uE649",
  21736. 'uicon-calendar': "\uE66E",
  21737. 'uicon-calendar-fill': "\uE634",
  21738. 'uicon-trash': "\uE623",
  21739. 'uicon-trash-fill': "\uE658",
  21740. 'uicon-play-left': "\uE66D",
  21741. 'uicon-play-right': "\uE610",
  21742. 'uicon-minus': "\uE618",
  21743. 'uicon-plus': "\uE62D",
  21744. 'uicon-info': "\uE653",
  21745. 'uicon-info-circle': "\uE7D2",
  21746. 'uicon-info-circle-fill': "\uE64B",
  21747. 'uicon-question': "\uE715",
  21748. 'uicon-error': "\uE6D3",
  21749. 'uicon-close': "\uE685",
  21750. 'uicon-checkmark': "\uE6A8",
  21751. 'uicon-android-circle-fill': "\uE67E",
  21752. 'uicon-android-fill': "\uE67D",
  21753. 'uicon-ie': "\uE87B",
  21754. 'uicon-IE-circle-fill': "\uE889",
  21755. 'uicon-google': "\uE87A",
  21756. 'uicon-google-circle-fill': "\uE88A",
  21757. 'uicon-setting-fill': "\uE872",
  21758. 'uicon-setting': "\uE61F",
  21759. 'uicon-minus-square-fill': "\uE855",
  21760. 'uicon-plus-square-fill': "\uE856",
  21761. 'uicon-heart': "\uE7DF",
  21762. 'uicon-heart-fill': "\uE851",
  21763. 'uicon-camera': "\uE7D7",
  21764. 'uicon-camera-fill': "\uE870",
  21765. 'uicon-more-circle': "\uE63E",
  21766. 'uicon-more-circle-fill': "\uE645",
  21767. 'uicon-chat': "\uE620",
  21768. 'uicon-chat-fill': "\uE61E",
  21769. 'uicon-bag-fill': "\uE617",
  21770. 'uicon-bag': "\uE619",
  21771. 'uicon-error-circle-fill': "\uE62C",
  21772. 'uicon-error-circle': "\uE624",
  21773. 'uicon-close-circle': "\uE63F",
  21774. 'uicon-close-circle-fill': "\uE637",
  21775. 'uicon-checkmark-circle': "\uE63D",
  21776. 'uicon-checkmark-circle-fill': "\uE635",
  21777. 'uicon-question-circle-fill': "\uE666",
  21778. 'uicon-question-circle': "\uE625",
  21779. 'uicon-share': "\uE631",
  21780. 'uicon-share-fill': "\uE65E",
  21781. 'uicon-shopping-cart': "\uE621",
  21782. 'uicon-shopping-cart-fill': "\uE65D",
  21783. 'uicon-bell': "\uE609",
  21784. 'uicon-bell-fill': "\uE640",
  21785. 'uicon-list': "\uE650",
  21786. 'uicon-list-dot': "\uE616",
  21787. 'uicon-zhihu': "\uE6BA",
  21788. 'uicon-zhihu-circle-fill': "\uE709",
  21789. 'uicon-zhifubao': "\uE6B9",
  21790. 'uicon-zhifubao-circle-fill': "\uE6B8",
  21791. 'uicon-weixin-circle-fill': "\uE6B1",
  21792. 'uicon-weixin-fill': "\uE6B2",
  21793. 'uicon-twitter-circle-fill': "\uE6AB",
  21794. 'uicon-twitter': "\uE6AA",
  21795. 'uicon-taobao-circle-fill': "\uE6A7",
  21796. 'uicon-taobao': "\uE6A6",
  21797. 'uicon-weibo-circle-fill': "\uE6A5",
  21798. 'uicon-weibo': "\uE6A4",
  21799. 'uicon-qq-fill': "\uE6A1",
  21800. 'uicon-qq-circle-fill': "\uE6A0",
  21801. 'uicon-moments-circel-fill': "\uE69A",
  21802. 'uicon-moments': "\uE69B",
  21803. 'uicon-qzone': "\uE695",
  21804. 'uicon-qzone-circle-fill': "\uE696",
  21805. 'uicon-baidu-circle-fill': "\uE680",
  21806. 'uicon-baidu': "\uE681",
  21807. 'uicon-facebook-circle-fill': "\uE68A",
  21808. 'uicon-facebook': "\uE689",
  21809. 'uicon-car': "\uE60C",
  21810. 'uicon-car-fill': "\uE636",
  21811. 'uicon-warning-fill': "\uE64D",
  21812. 'uicon-warning': "\uE694",
  21813. 'uicon-clock-fill': "\uE638",
  21814. 'uicon-clock': "\uE60F",
  21815. 'uicon-edit-pen': "\uE612",
  21816. 'uicon-edit-pen-fill': "\uE66B",
  21817. 'uicon-email': "\uE611",
  21818. 'uicon-email-fill': "\uE642",
  21819. 'uicon-minus-circle': "\uE61B",
  21820. 'uicon-minus-circle-fill': "\uE652",
  21821. 'uicon-plus-circle': "\uE62E",
  21822. 'uicon-plus-circle-fill': "\uE661",
  21823. 'uicon-file-text': "\uE663",
  21824. 'uicon-file-text-fill': "\uE665",
  21825. 'uicon-pushpin': "\uE7E3",
  21826. 'uicon-pushpin-fill': "\uE86E",
  21827. 'uicon-grid': "\uE673",
  21828. 'uicon-grid-fill': "\uE678",
  21829. 'uicon-play-circle': "\uE647",
  21830. 'uicon-play-circle-fill': "\uE655",
  21831. 'uicon-pause-circle-fill': "\uE654",
  21832. 'uicon-pause': "\uE8FA",
  21833. 'uicon-pause-circle': "\uE643",
  21834. 'uicon-eye-off': "\uE648",
  21835. 'uicon-eye-off-outline': "\uE62B",
  21836. 'uicon-gift-fill': "\uE65C",
  21837. 'uicon-gift': "\uE65B",
  21838. 'uicon-rmb-circle-fill': "\uE657",
  21839. 'uicon-rmb-circle': "\uE677",
  21840. 'uicon-kefu-ermai': "\uE656",
  21841. 'uicon-server-fill': "\uE751",
  21842. 'uicon-coupon-fill': "\uE8C4",
  21843. 'uicon-coupon': "\uE8AE",
  21844. 'uicon-integral': "\uE704",
  21845. 'uicon-integral-fill': "\uE703",
  21846. 'uicon-home-fill': "\uE964",
  21847. 'uicon-home': "\uE965",
  21848. 'uicon-hourglass-half-fill': "\uE966",
  21849. 'uicon-hourglass': "\uE967",
  21850. 'uicon-account': "\uE628",
  21851. 'uicon-plus-people-fill': "\uE626",
  21852. 'uicon-minus-people-fill': "\uE615",
  21853. 'uicon-account-fill': "\uE614",
  21854. 'uicon-thumb-down-fill': "\uE726",
  21855. 'uicon-thumb-down': "\uE727",
  21856. 'uicon-thumb-up': "\uE733",
  21857. 'uicon-thumb-up-fill': "\uE72F",
  21858. 'uicon-lock-fill': "\uE979",
  21859. 'uicon-lock-open': "\uE973",
  21860. 'uicon-lock-opened-fill': "\uE974",
  21861. 'uicon-lock': "\uE97A",
  21862. 'uicon-red-packet-fill': "\uE690",
  21863. 'uicon-photo-fill': "\uE98B",
  21864. 'uicon-photo': "\uE98D",
  21865. 'uicon-volume-off-fill': "\uE659",
  21866. 'uicon-volume-off': "\uE644",
  21867. 'uicon-volume-fill': "\uE670",
  21868. 'uicon-volume': "\uE633",
  21869. 'uicon-red-packet': "\uE691",
  21870. 'uicon-download': "\uE63C",
  21871. 'uicon-arrow-up-fill': "\uE6B0",
  21872. 'uicon-arrow-down-fill': "\uE600",
  21873. 'uicon-play-left-fill': "\uE675",
  21874. 'uicon-play-right-fill': "\uE676",
  21875. 'uicon-rewind-left-fill': "\uE679",
  21876. 'uicon-rewind-right-fill': "\uE67A",
  21877. 'uicon-arrow-downward': "\uE604",
  21878. 'uicon-arrow-leftward': "\uE601",
  21879. 'uicon-arrow-rightward': "\uE603",
  21880. 'uicon-arrow-upward': "\uE607",
  21881. 'uicon-arrow-down': "\uE60D",
  21882. 'uicon-arrow-right': "\uE605",
  21883. 'uicon-arrow-left': "\uE60E",
  21884. 'uicon-arrow-up': "\uE606",
  21885. 'uicon-skip-back-left': "\uE674",
  21886. 'uicon-skip-forward-right': "\uE672",
  21887. 'uicon-rewind-right': "\uE66F",
  21888. 'uicon-rewind-left': "\uE671",
  21889. 'uicon-arrow-right-double': "\uE68D",
  21890. 'uicon-arrow-left-double': "\uE68C",
  21891. 'uicon-wifi-off': "\uE668",
  21892. 'uicon-wifi': "\uE667",
  21893. 'uicon-empty-data': "\uE62F",
  21894. 'uicon-empty-history': "\uE684",
  21895. 'uicon-empty-list': "\uE68B",
  21896. 'uicon-empty-page': "\uE627",
  21897. 'uicon-empty-order': "\uE639",
  21898. 'uicon-man': "\uE697",
  21899. 'uicon-woman': "\uE69C",
  21900. 'uicon-man-add': "\uE61C",
  21901. 'uicon-man-add-fill': "\uE64C",
  21902. 'uicon-man-delete': "\uE61A",
  21903. 'uicon-man-delete-fill': "\uE66A",
  21904. 'uicon-zh': "\uE70A",
  21905. 'uicon-en': "\uE692"
  21906. };
  21907. exports.default = _default;
  21908. /***/ }),
  21909. /* 463 */
  21910. /*!*******************************************************************************************************************************************************!*\
  21911. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-icon/props.js ***!
  21912. \*******************************************************************************************************************************************************/
  21913. /*! no static exports found */
  21914. /***/ (function(module, exports, __webpack_require__) {
  21915. "use strict";
  21916. /* WEBPACK VAR INJECTION */(function(uni) {
  21917. Object.defineProperty(exports, "__esModule", {
  21918. value: true
  21919. });
  21920. exports.default = void 0;
  21921. var _default = {
  21922. props: {
  21923. // 图标类名
  21924. name: {
  21925. type: String,
  21926. default: uni.$u.props.icon.name
  21927. },
  21928. // 图标颜色,可接受主题色
  21929. color: {
  21930. type: String,
  21931. default: uni.$u.props.icon.color
  21932. },
  21933. // 字体大小,单位px
  21934. size: {
  21935. type: [String, Number],
  21936. default: uni.$u.props.icon.size
  21937. },
  21938. // 是否显示粗体
  21939. bold: {
  21940. type: Boolean,
  21941. default: uni.$u.props.icon.bold
  21942. },
  21943. // 点击图标的时候传递事件出去的index(用于区分点击了哪一个)
  21944. index: {
  21945. type: [String, Number],
  21946. default: uni.$u.props.icon.index
  21947. },
  21948. // 触摸图标时的类名
  21949. hoverClass: {
  21950. type: String,
  21951. default: uni.$u.props.icon.hoverClass
  21952. },
  21953. // 自定义扩展前缀,方便用户扩展自己的图标库
  21954. customPrefix: {
  21955. type: String,
  21956. default: uni.$u.props.icon.customPrefix
  21957. },
  21958. // 图标右边或者下面的文字
  21959. label: {
  21960. type: [String, Number],
  21961. default: uni.$u.props.icon.label
  21962. },
  21963. // label的位置,只能右边或者下边
  21964. labelPos: {
  21965. type: String,
  21966. default: uni.$u.props.icon.labelPos
  21967. },
  21968. // label的大小
  21969. labelSize: {
  21970. type: [String, Number],
  21971. default: uni.$u.props.icon.labelSize
  21972. },
  21973. // label的颜色
  21974. labelColor: {
  21975. type: String,
  21976. default: uni.$u.props.icon.labelColor
  21977. },
  21978. // label与图标的距离
  21979. space: {
  21980. type: [String, Number],
  21981. default: uni.$u.props.icon.space
  21982. },
  21983. // 图片的mode
  21984. imgMode: {
  21985. type: String,
  21986. default: uni.$u.props.icon.imgMode
  21987. },
  21988. // 用于显示图片小图标时,图片的宽度
  21989. width: {
  21990. type: [String, Number],
  21991. default: uni.$u.props.icon.width
  21992. },
  21993. // 用于显示图片小图标时,图片的高度
  21994. height: {
  21995. type: [String, Number],
  21996. default: uni.$u.props.icon.height
  21997. },
  21998. // 用于解决某些情况下,让图标垂直居中的用途
  21999. top: {
  22000. type: [String, Number],
  22001. default: uni.$u.props.icon.top
  22002. },
  22003. // 是否阻止事件传播
  22004. stop: {
  22005. type: Boolean,
  22006. default: uni.$u.props.icon.stop
  22007. }
  22008. }
  22009. };
  22010. exports.default = _default;
  22011. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22012. /***/ }),
  22013. /* 464 */,
  22014. /* 465 */,
  22015. /* 466 */,
  22016. /* 467 */,
  22017. /* 468 */,
  22018. /* 469 */,
  22019. /* 470 */,
  22020. /* 471 */,
  22021. /* 472 */,
  22022. /* 473 */,
  22023. /* 474 */,
  22024. /* 475 */,
  22025. /* 476 */,
  22026. /* 477 */,
  22027. /* 478 */
  22028. /*!**********************************************************************************************************************************************************!*\
  22029. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-overlay/props.js ***!
  22030. \**********************************************************************************************************************************************************/
  22031. /*! no static exports found */
  22032. /***/ (function(module, exports, __webpack_require__) {
  22033. "use strict";
  22034. /* WEBPACK VAR INJECTION */(function(uni) {
  22035. Object.defineProperty(exports, "__esModule", {
  22036. value: true
  22037. });
  22038. exports.default = void 0;
  22039. var _default = {
  22040. props: {
  22041. // 是否显示遮罩
  22042. show: {
  22043. type: Boolean,
  22044. default: uni.$u.props.overlay.show
  22045. },
  22046. // 层级z-index
  22047. zIndex: {
  22048. type: [String, Number],
  22049. default: uni.$u.props.overlay.zIndex
  22050. },
  22051. // 遮罩的过渡时间,单位为ms
  22052. duration: {
  22053. type: [String, Number],
  22054. default: uni.$u.props.overlay.duration
  22055. },
  22056. // 不透明度值,当做rgba的第四个参数
  22057. opacity: {
  22058. type: [String, Number],
  22059. default: uni.$u.props.overlay.opacity
  22060. }
  22061. }
  22062. };
  22063. exports.default = _default;
  22064. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22065. /***/ }),
  22066. /* 479 */,
  22067. /* 480 */,
  22068. /* 481 */,
  22069. /* 482 */,
  22070. /* 483 */,
  22071. /* 484 */,
  22072. /* 485 */,
  22073. /* 486 */
  22074. /*!***************************************************************************************************************************************************************!*\
  22075. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-loading-icon/props.js ***!
  22076. \***************************************************************************************************************************************************************/
  22077. /*! no static exports found */
  22078. /***/ (function(module, exports, __webpack_require__) {
  22079. "use strict";
  22080. /* WEBPACK VAR INJECTION */(function(uni) {
  22081. Object.defineProperty(exports, "__esModule", {
  22082. value: true
  22083. });
  22084. exports.default = void 0;
  22085. var _default = {
  22086. props: {
  22087. // 是否显示组件
  22088. show: {
  22089. type: Boolean,
  22090. default: uni.$u.props.loadingIcon.show
  22091. },
  22092. // 颜色
  22093. color: {
  22094. type: String,
  22095. default: uni.$u.props.loadingIcon.color
  22096. },
  22097. // 提示文字颜色
  22098. textColor: {
  22099. type: String,
  22100. default: uni.$u.props.loadingIcon.textColor
  22101. },
  22102. // 文字和图标是否垂直排列
  22103. vertical: {
  22104. type: Boolean,
  22105. default: uni.$u.props.loadingIcon.vertical
  22106. },
  22107. // 模式选择,circle-圆形,spinner-花朵形,semicircle-半圆形
  22108. mode: {
  22109. type: String,
  22110. default: uni.$u.props.loadingIcon.mode
  22111. },
  22112. // 图标大小,单位默认px
  22113. size: {
  22114. type: [String, Number],
  22115. default: uni.$u.props.loadingIcon.size
  22116. },
  22117. // 文字大小
  22118. textSize: {
  22119. type: [String, Number],
  22120. default: uni.$u.props.loadingIcon.textSize
  22121. },
  22122. // 文字内容
  22123. text: {
  22124. type: [String, Number],
  22125. default: uni.$u.props.loadingIcon.text
  22126. },
  22127. // 动画模式
  22128. timingFunction: {
  22129. type: String,
  22130. default: uni.$u.props.loadingIcon.timingFunction
  22131. },
  22132. // 动画执行周期时间
  22133. duration: {
  22134. type: [String, Number],
  22135. default: uni.$u.props.loadingIcon.duration
  22136. },
  22137. // mode=circle时的暗边颜色
  22138. inactiveColor: {
  22139. type: String,
  22140. default: uni.$u.props.loadingIcon.inactiveColor
  22141. }
  22142. }
  22143. };
  22144. exports.default = _default;
  22145. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22146. /***/ }),
  22147. /* 487 */,
  22148. /* 488 */,
  22149. /* 489 */,
  22150. /* 490 */,
  22151. /* 491 */,
  22152. /* 492 */,
  22153. /* 493 */,
  22154. /* 494 */
  22155. /*!******************************************************************************************************************************************************!*\
  22156. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-gap/props.js ***!
  22157. \******************************************************************************************************************************************************/
  22158. /*! no static exports found */
  22159. /***/ (function(module, exports, __webpack_require__) {
  22160. "use strict";
  22161. /* WEBPACK VAR INJECTION */(function(uni) {
  22162. Object.defineProperty(exports, "__esModule", {
  22163. value: true
  22164. });
  22165. exports.default = void 0;
  22166. var _default = {
  22167. props: {
  22168. // 背景颜色(默认transparent)
  22169. bgColor: {
  22170. type: String,
  22171. default: uni.$u.props.gap.bgColor
  22172. },
  22173. // 分割槽高度,单位px(默认30)
  22174. height: {
  22175. type: [String, Number],
  22176. default: uni.$u.props.gap.height
  22177. },
  22178. // 与上一个组件的距离
  22179. marginTop: {
  22180. type: [String, Number],
  22181. default: uni.$u.props.gap.marginTop
  22182. },
  22183. // 与下一个组件的距离
  22184. marginBottom: {
  22185. type: [String, Number],
  22186. default: uni.$u.props.gap.marginBottom
  22187. }
  22188. }
  22189. };
  22190. exports.default = _default;
  22191. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  22192. /***/ }),
  22193. /* 495 */,
  22194. /* 496 */,
  22195. /* 497 */,
  22196. /* 498 */,
  22197. /* 499 */,
  22198. /* 500 */,
  22199. /* 501 */,
  22200. /* 502 */
  22201. /*!*********************************************************************************************************************************************************!*\
  22202. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/util/async-validator.js ***!
  22203. \*********************************************************************************************************************************************************/
  22204. /*! no static exports found */
  22205. /***/ (function(module, exports, __webpack_require__) {
  22206. "use strict";
  22207. /* WEBPACK VAR INJECTION */(function(process) {
  22208. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  22209. Object.defineProperty(exports, "__esModule", {
  22210. value: true
  22211. });
  22212. exports.default = void 0;
  22213. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  22214. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  22215. 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; }
  22216. 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; }
  22217. function _extends() {
  22218. _extends = Object.assign || function (target) {
  22219. for (var i = 1; i < arguments.length; i++) {
  22220. var source = arguments[i];
  22221. for (var key in source) {
  22222. if (Object.prototype.hasOwnProperty.call(source, key)) {
  22223. target[key] = source[key];
  22224. }
  22225. }
  22226. }
  22227. return target;
  22228. };
  22229. return _extends.apply(this, arguments);
  22230. }
  22231. /* eslint no-console:0 */
  22232. var formatRegExp = /%[sdj%]/g;
  22233. var warning = function warning() {}; // don't print warning message when in production env or node runtime
  22234. if (typeof process !== 'undefined' && Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
  22235. warning = function warning(type, errors) {
  22236. if (typeof console !== 'undefined' && console.warn) {
  22237. if (errors.every(function (e) {
  22238. return typeof e === 'string';
  22239. })) {
  22240. console.warn(type, errors);
  22241. }
  22242. }
  22243. };
  22244. }
  22245. function convertFieldsError(errors) {
  22246. if (!errors || !errors.length) return null;
  22247. var fields = {};
  22248. errors.forEach(function (error) {
  22249. var field = error.field;
  22250. fields[field] = fields[field] || [];
  22251. fields[field].push(error);
  22252. });
  22253. return fields;
  22254. }
  22255. function format() {
  22256. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  22257. args[_key] = arguments[_key];
  22258. }
  22259. var i = 1;
  22260. var f = args[0];
  22261. var len = args.length;
  22262. if (typeof f === 'function') {
  22263. return f.apply(null, args.slice(1));
  22264. }
  22265. if (typeof f === 'string') {
  22266. var str = String(f).replace(formatRegExp, function (x) {
  22267. if (x === '%%') {
  22268. return '%';
  22269. }
  22270. if (i >= len) {
  22271. return x;
  22272. }
  22273. switch (x) {
  22274. case '%s':
  22275. return String(args[i++]);
  22276. case '%d':
  22277. return Number(args[i++]);
  22278. case '%j':
  22279. try {
  22280. return JSON.stringify(args[i++]);
  22281. } catch (_) {
  22282. return '[Circular]';
  22283. }
  22284. break;
  22285. default:
  22286. return x;
  22287. }
  22288. });
  22289. for (var arg = args[i]; i < len; arg = args[++i]) {
  22290. str += " ".concat(arg);
  22291. }
  22292. return str;
  22293. }
  22294. return f;
  22295. }
  22296. function isNativeStringType(type) {
  22297. return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'pattern';
  22298. }
  22299. function isEmptyValue(value, type) {
  22300. if (value === undefined || value === null) {
  22301. return true;
  22302. }
  22303. if (type === 'array' && Array.isArray(value) && !value.length) {
  22304. return true;
  22305. }
  22306. if (isNativeStringType(type) && typeof value === 'string' && !value) {
  22307. return true;
  22308. }
  22309. return false;
  22310. }
  22311. function asyncParallelArray(arr, func, callback) {
  22312. var results = [];
  22313. var total = 0;
  22314. var arrLength = arr.length;
  22315. function count(errors) {
  22316. results.push.apply(results, errors);
  22317. total++;
  22318. if (total === arrLength) {
  22319. callback(results);
  22320. }
  22321. }
  22322. arr.forEach(function (a) {
  22323. func(a, count);
  22324. });
  22325. }
  22326. function asyncSerialArray(arr, func, callback) {
  22327. var index = 0;
  22328. var arrLength = arr.length;
  22329. function next(errors) {
  22330. if (errors && errors.length) {
  22331. callback(errors);
  22332. return;
  22333. }
  22334. var original = index;
  22335. index += 1;
  22336. if (original < arrLength) {
  22337. func(arr[original], next);
  22338. } else {
  22339. callback([]);
  22340. }
  22341. }
  22342. next([]);
  22343. }
  22344. function flattenObjArr(objArr) {
  22345. var ret = [];
  22346. Object.keys(objArr).forEach(function (k) {
  22347. ret.push.apply(ret, objArr[k]);
  22348. });
  22349. return ret;
  22350. }
  22351. function asyncMap(objArr, option, func, callback) {
  22352. if (option.first) {
  22353. var _pending = new Promise(function (resolve, reject) {
  22354. var next = function next(errors) {
  22355. callback(errors);
  22356. return errors.length ? reject({
  22357. errors: errors,
  22358. fields: convertFieldsError(errors)
  22359. }) : resolve();
  22360. };
  22361. var flattenArr = flattenObjArr(objArr);
  22362. asyncSerialArray(flattenArr, func, next);
  22363. });
  22364. _pending.catch(function (e) {
  22365. return e;
  22366. });
  22367. return _pending;
  22368. }
  22369. var firstFields = option.firstFields || [];
  22370. if (firstFields === true) {
  22371. firstFields = Object.keys(objArr);
  22372. }
  22373. var objArrKeys = Object.keys(objArr);
  22374. var objArrLength = objArrKeys.length;
  22375. var total = 0;
  22376. var results = [];
  22377. var pending = new Promise(function (resolve, reject) {
  22378. var next = function next(errors) {
  22379. results.push.apply(results, errors);
  22380. total++;
  22381. if (total === objArrLength) {
  22382. callback(results);
  22383. return results.length ? reject({
  22384. errors: results,
  22385. fields: convertFieldsError(results)
  22386. }) : resolve();
  22387. }
  22388. };
  22389. if (!objArrKeys.length) {
  22390. callback(results);
  22391. resolve();
  22392. }
  22393. objArrKeys.forEach(function (key) {
  22394. var arr = objArr[key];
  22395. if (firstFields.indexOf(key) !== -1) {
  22396. asyncSerialArray(arr, func, next);
  22397. } else {
  22398. asyncParallelArray(arr, func, next);
  22399. }
  22400. });
  22401. });
  22402. pending.catch(function (e) {
  22403. return e;
  22404. });
  22405. return pending;
  22406. }
  22407. function complementError(rule) {
  22408. return function (oe) {
  22409. if (oe && oe.message) {
  22410. oe.field = oe.field || rule.fullField;
  22411. return oe;
  22412. }
  22413. return {
  22414. message: typeof oe === 'function' ? oe() : oe,
  22415. field: oe.field || rule.fullField
  22416. };
  22417. };
  22418. }
  22419. function deepMerge(target, source) {
  22420. if (source) {
  22421. for (var s in source) {
  22422. if (source.hasOwnProperty(s)) {
  22423. var value = source[s];
  22424. if ((0, _typeof2.default)(value) === 'object' && (0, _typeof2.default)(target[s]) === 'object') {
  22425. target[s] = _objectSpread(_objectSpread({}, target[s]), value);
  22426. } else {
  22427. target[s] = value;
  22428. }
  22429. }
  22430. }
  22431. }
  22432. return target;
  22433. }
  22434. /**
  22435. * Rule for validating required fields.
  22436. *
  22437. * @param rule The validation rule.
  22438. * @param value The value of the field on the source object.
  22439. * @param source The source object being validated.
  22440. * @param errors An array of errors that this rule may add
  22441. * validation errors to.
  22442. * @param options The validation options.
  22443. * @param options.messages The validation messages.
  22444. */
  22445. function required(rule, value, source, errors, options, type) {
  22446. if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {
  22447. errors.push(format(options.messages.required, rule.fullField));
  22448. }
  22449. }
  22450. /**
  22451. * Rule for validating whitespace.
  22452. *
  22453. * @param rule The validation rule.
  22454. * @param value The value of the field on the source object.
  22455. * @param source The source object being validated.
  22456. * @param errors An array of errors that this rule may add
  22457. * validation errors to.
  22458. * @param options The validation options.
  22459. * @param options.messages The validation messages.
  22460. */
  22461. function whitespace(rule, value, source, errors, options) {
  22462. if (/^\s+$/.test(value) || value === '') {
  22463. errors.push(format(options.messages.whitespace, rule.fullField));
  22464. }
  22465. }
  22466. /* eslint max-len:0 */
  22467. var pattern = {
  22468. // http://emailregex.com/
  22469. 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,}))$/,
  22470. 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'),
  22471. hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
  22472. };
  22473. var types = {
  22474. integer: function integer(value) {
  22475. return /^(-)?\d+$/.test(value);
  22476. },
  22477. float: function float(value) {
  22478. return /^(-)?\d+(\.\d+)?$/.test(value);
  22479. },
  22480. array: function array(value) {
  22481. return Array.isArray(value);
  22482. },
  22483. regexp: function regexp(value) {
  22484. if (value instanceof RegExp) {
  22485. return true;
  22486. }
  22487. try {
  22488. return !!new RegExp(value);
  22489. } catch (e) {
  22490. return false;
  22491. }
  22492. },
  22493. date: function date(value) {
  22494. return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function';
  22495. },
  22496. number: function number(value) {
  22497. if (isNaN(value)) {
  22498. return false;
  22499. }
  22500. // 修改源码,将字符串数值先转为数值
  22501. return typeof +value === 'number';
  22502. },
  22503. object: function object(value) {
  22504. return (0, _typeof2.default)(value) === 'object' && !types.array(value);
  22505. },
  22506. method: function method(value) {
  22507. return typeof value === 'function';
  22508. },
  22509. email: function email(value) {
  22510. return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;
  22511. },
  22512. url: function url(value) {
  22513. return typeof value === 'string' && !!value.match(pattern.url);
  22514. },
  22515. hex: function hex(value) {
  22516. return typeof value === 'string' && !!value.match(pattern.hex);
  22517. }
  22518. };
  22519. /**
  22520. * Rule for validating the type of a value.
  22521. *
  22522. * @param rule The validation rule.
  22523. * @param value The value of the field on the source object.
  22524. * @param source The source object being validated.
  22525. * @param errors An array of errors that this rule may add
  22526. * validation errors to.
  22527. * @param options The validation options.
  22528. * @param options.messages The validation messages.
  22529. */
  22530. function type(rule, value, source, errors, options) {
  22531. if (rule.required && value === undefined) {
  22532. required(rule, value, source, errors, options);
  22533. return;
  22534. }
  22535. var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];
  22536. var ruleType = rule.type;
  22537. if (custom.indexOf(ruleType) > -1) {
  22538. if (!types[ruleType](value)) {
  22539. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  22540. } // straight typeof check
  22541. } else if (ruleType && (0, _typeof2.default)(value) !== rule.type) {
  22542. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  22543. }
  22544. }
  22545. /**
  22546. * Rule for validating minimum and maximum allowed values.
  22547. *
  22548. * @param rule The validation rule.
  22549. * @param value The value of the field on the source object.
  22550. * @param source The source object being validated.
  22551. * @param errors An array of errors that this rule may add
  22552. * validation errors to.
  22553. * @param options The validation options.
  22554. * @param options.messages The validation messages.
  22555. */
  22556. function range(rule, value, source, errors, options) {
  22557. var len = typeof rule.len === 'number';
  22558. var min = typeof rule.min === 'number';
  22559. var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)
  22560. var spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
  22561. var val = value;
  22562. var key = null;
  22563. var num = typeof value === 'number';
  22564. var str = typeof value === 'string';
  22565. var arr = Array.isArray(value);
  22566. if (num) {
  22567. key = 'number';
  22568. } else if (str) {
  22569. key = 'string';
  22570. } else if (arr) {
  22571. key = 'array';
  22572. } // if the value is not of a supported type for range validation
  22573. // the validation rule rule should use the
  22574. // type property to also test for a particular type
  22575. if (!key) {
  22576. return false;
  22577. }
  22578. if (arr) {
  22579. val = value.length;
  22580. }
  22581. if (str) {
  22582. // 处理码点大于U+010000的文字length属性不准确的bug,如"𠮷𠮷𠮷".lenght !== 3
  22583. val = value.replace(spRegexp, '_').length;
  22584. }
  22585. if (len) {
  22586. if (val !== rule.len) {
  22587. errors.push(format(options.messages[key].len, rule.fullField, rule.len));
  22588. }
  22589. } else if (min && !max && val < rule.min) {
  22590. errors.push(format(options.messages[key].min, rule.fullField, rule.min));
  22591. } else if (max && !min && val > rule.max) {
  22592. errors.push(format(options.messages[key].max, rule.fullField, rule.max));
  22593. } else if (min && max && (val < rule.min || val > rule.max)) {
  22594. errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));
  22595. }
  22596. }
  22597. var ENUM = 'enum';
  22598. /**
  22599. * Rule for validating a value exists in an enumerable list.
  22600. *
  22601. * @param rule The validation rule.
  22602. * @param value The value of the field on the source object.
  22603. * @param source The source object being validated.
  22604. * @param errors An array of errors that this rule may add
  22605. * validation errors to.
  22606. * @param options The validation options.
  22607. * @param options.messages The validation messages.
  22608. */
  22609. function enumerable(rule, value, source, errors, options) {
  22610. rule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : [];
  22611. if (rule[ENUM].indexOf(value) === -1) {
  22612. errors.push(format(options.messages[ENUM], rule.fullField, rule[ENUM].join(', ')));
  22613. }
  22614. }
  22615. /**
  22616. * Rule for validating a regular expression pattern.
  22617. *
  22618. * @param rule The validation rule.
  22619. * @param value The value of the field on the source object.
  22620. * @param source The source object being validated.
  22621. * @param errors An array of errors that this rule may add
  22622. * validation errors to.
  22623. * @param options The validation options.
  22624. * @param options.messages The validation messages.
  22625. */
  22626. function pattern$1(rule, value, source, errors, options) {
  22627. if (rule.pattern) {
  22628. if (rule.pattern instanceof RegExp) {
  22629. // if a RegExp instance is passed, reset `lastIndex` in case its `global`
  22630. // flag is accidentally set to `true`, which in a validation scenario
  22631. // is not necessary and the result might be misleading
  22632. rule.pattern.lastIndex = 0;
  22633. if (!rule.pattern.test(value)) {
  22634. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  22635. }
  22636. } else if (typeof rule.pattern === 'string') {
  22637. var _pattern = new RegExp(rule.pattern);
  22638. if (!_pattern.test(value)) {
  22639. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  22640. }
  22641. }
  22642. }
  22643. }
  22644. var rules = {
  22645. required: required,
  22646. whitespace: whitespace,
  22647. type: type,
  22648. range: range,
  22649. enum: enumerable,
  22650. pattern: pattern$1
  22651. };
  22652. /**
  22653. * Performs validation for string types.
  22654. *
  22655. * @param rule The validation rule.
  22656. * @param value The value of the field on the source object.
  22657. * @param callback The callback function.
  22658. * @param source The source object being validated.
  22659. * @param options The validation options.
  22660. * @param options.messages The validation messages.
  22661. */
  22662. function string(rule, value, callback, source, options) {
  22663. var errors = [];
  22664. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22665. if (validate) {
  22666. if (isEmptyValue(value, 'string') && !rule.required) {
  22667. return callback();
  22668. }
  22669. rules.required(rule, value, source, errors, options, 'string');
  22670. if (!isEmptyValue(value, 'string')) {
  22671. rules.type(rule, value, source, errors, options);
  22672. rules.range(rule, value, source, errors, options);
  22673. rules.pattern(rule, value, source, errors, options);
  22674. if (rule.whitespace === true) {
  22675. rules.whitespace(rule, value, source, errors, options);
  22676. }
  22677. }
  22678. }
  22679. callback(errors);
  22680. }
  22681. /**
  22682. * Validates a function.
  22683. *
  22684. * @param rule The validation rule.
  22685. * @param value The value of the field on the source object.
  22686. * @param callback The callback function.
  22687. * @param source The source object being validated.
  22688. * @param options The validation options.
  22689. * @param options.messages The validation messages.
  22690. */
  22691. function method(rule, value, callback, source, options) {
  22692. var errors = [];
  22693. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22694. if (validate) {
  22695. if (isEmptyValue(value) && !rule.required) {
  22696. return callback();
  22697. }
  22698. rules.required(rule, value, source, errors, options);
  22699. if (value !== undefined) {
  22700. rules.type(rule, value, source, errors, options);
  22701. }
  22702. }
  22703. callback(errors);
  22704. }
  22705. /**
  22706. * Validates a number.
  22707. *
  22708. * @param rule The validation rule.
  22709. * @param value The value of the field on the source object.
  22710. * @param callback The callback function.
  22711. * @param source The source object being validated.
  22712. * @param options The validation options.
  22713. * @param options.messages The validation messages.
  22714. */
  22715. function number(rule, value, callback, source, options) {
  22716. var errors = [];
  22717. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22718. if (validate) {
  22719. if (value === '') {
  22720. value = undefined;
  22721. }
  22722. if (isEmptyValue(value) && !rule.required) {
  22723. return callback();
  22724. }
  22725. rules.required(rule, value, source, errors, options);
  22726. if (value !== undefined) {
  22727. rules.type(rule, value, source, errors, options);
  22728. rules.range(rule, value, source, errors, options);
  22729. }
  22730. }
  22731. callback(errors);
  22732. }
  22733. /**
  22734. * Validates a boolean.
  22735. *
  22736. * @param rule The validation rule.
  22737. * @param value The value of the field on the source object.
  22738. * @param callback The callback function.
  22739. * @param source The source object being validated.
  22740. * @param options The validation options.
  22741. * @param options.messages The validation messages.
  22742. */
  22743. function _boolean(rule, value, callback, source, options) {
  22744. var errors = [];
  22745. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22746. if (validate) {
  22747. if (isEmptyValue(value) && !rule.required) {
  22748. return callback();
  22749. }
  22750. rules.required(rule, value, source, errors, options);
  22751. if (value !== undefined) {
  22752. rules.type(rule, value, source, errors, options);
  22753. }
  22754. }
  22755. callback(errors);
  22756. }
  22757. /**
  22758. * Validates the regular expression type.
  22759. *
  22760. * @param rule The validation rule.
  22761. * @param value The value of the field on the source object.
  22762. * @param callback The callback function.
  22763. * @param source The source object being validated.
  22764. * @param options The validation options.
  22765. * @param options.messages The validation messages.
  22766. */
  22767. function regexp(rule, value, callback, source, options) {
  22768. var errors = [];
  22769. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22770. if (validate) {
  22771. if (isEmptyValue(value) && !rule.required) {
  22772. return callback();
  22773. }
  22774. rules.required(rule, value, source, errors, options);
  22775. if (!isEmptyValue(value)) {
  22776. rules.type(rule, value, source, errors, options);
  22777. }
  22778. }
  22779. callback(errors);
  22780. }
  22781. /**
  22782. * Validates a number is an integer.
  22783. *
  22784. * @param rule The validation rule.
  22785. * @param value The value of the field on the source object.
  22786. * @param callback The callback function.
  22787. * @param source The source object being validated.
  22788. * @param options The validation options.
  22789. * @param options.messages The validation messages.
  22790. */
  22791. function integer(rule, value, callback, source, options) {
  22792. var errors = [];
  22793. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22794. if (validate) {
  22795. if (isEmptyValue(value) && !rule.required) {
  22796. return callback();
  22797. }
  22798. rules.required(rule, value, source, errors, options);
  22799. if (value !== undefined) {
  22800. rules.type(rule, value, source, errors, options);
  22801. rules.range(rule, value, source, errors, options);
  22802. }
  22803. }
  22804. callback(errors);
  22805. }
  22806. /**
  22807. * Validates a number is a floating point number.
  22808. *
  22809. * @param rule The validation rule.
  22810. * @param value The value of the field on the source object.
  22811. * @param callback The callback function.
  22812. * @param source The source object being validated.
  22813. * @param options The validation options.
  22814. * @param options.messages The validation messages.
  22815. */
  22816. function floatFn(rule, value, callback, source, options) {
  22817. var errors = [];
  22818. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22819. if (validate) {
  22820. if (isEmptyValue(value) && !rule.required) {
  22821. return callback();
  22822. }
  22823. rules.required(rule, value, source, errors, options);
  22824. if (value !== undefined) {
  22825. rules.type(rule, value, source, errors, options);
  22826. rules.range(rule, value, source, errors, options);
  22827. }
  22828. }
  22829. callback(errors);
  22830. }
  22831. /**
  22832. * Validates an array.
  22833. *
  22834. * @param rule The validation rule.
  22835. * @param value The value of the field on the source object.
  22836. * @param callback The callback function.
  22837. * @param source The source object being validated.
  22838. * @param options The validation options.
  22839. * @param options.messages The validation messages.
  22840. */
  22841. function array(rule, value, callback, source, options) {
  22842. var errors = [];
  22843. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22844. if (validate) {
  22845. if (isEmptyValue(value, 'array') && !rule.required) {
  22846. return callback();
  22847. }
  22848. rules.required(rule, value, source, errors, options, 'array');
  22849. if (!isEmptyValue(value, 'array')) {
  22850. rules.type(rule, value, source, errors, options);
  22851. rules.range(rule, value, source, errors, options);
  22852. }
  22853. }
  22854. callback(errors);
  22855. }
  22856. /**
  22857. * Validates an object.
  22858. *
  22859. * @param rule The validation rule.
  22860. * @param value The value of the field on the source object.
  22861. * @param callback The callback function.
  22862. * @param source The source object being validated.
  22863. * @param options The validation options.
  22864. * @param options.messages The validation messages.
  22865. */
  22866. function object(rule, value, callback, source, options) {
  22867. var errors = [];
  22868. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22869. if (validate) {
  22870. if (isEmptyValue(value) && !rule.required) {
  22871. return callback();
  22872. }
  22873. rules.required(rule, value, source, errors, options);
  22874. if (value !== undefined) {
  22875. rules.type(rule, value, source, errors, options);
  22876. }
  22877. }
  22878. callback(errors);
  22879. }
  22880. var ENUM$1 = 'enum';
  22881. /**
  22882. * Validates an enumerable list.
  22883. *
  22884. * @param rule The validation rule.
  22885. * @param value The value of the field on the source object.
  22886. * @param callback The callback function.
  22887. * @param source The source object being validated.
  22888. * @param options The validation options.
  22889. * @param options.messages The validation messages.
  22890. */
  22891. function enumerable$1(rule, value, callback, source, options) {
  22892. var errors = [];
  22893. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22894. if (validate) {
  22895. if (isEmptyValue(value) && !rule.required) {
  22896. return callback();
  22897. }
  22898. rules.required(rule, value, source, errors, options);
  22899. if (value !== undefined) {
  22900. rules[ENUM$1](rule, value, source, errors, options);
  22901. }
  22902. }
  22903. callback(errors);
  22904. }
  22905. /**
  22906. * Validates a regular expression pattern.
  22907. *
  22908. * Performs validation when a rule only contains
  22909. * a pattern property but is not declared as a string type.
  22910. *
  22911. * @param rule The validation rule.
  22912. * @param value The value of the field on the source object.
  22913. * @param callback The callback function.
  22914. * @param source The source object being validated.
  22915. * @param options The validation options.
  22916. * @param options.messages The validation messages.
  22917. */
  22918. function pattern$2(rule, value, callback, source, options) {
  22919. var errors = [];
  22920. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22921. if (validate) {
  22922. if (isEmptyValue(value, 'string') && !rule.required) {
  22923. return callback();
  22924. }
  22925. rules.required(rule, value, source, errors, options);
  22926. if (!isEmptyValue(value, 'string')) {
  22927. rules.pattern(rule, value, source, errors, options);
  22928. }
  22929. }
  22930. callback(errors);
  22931. }
  22932. function date(rule, value, callback, source, options) {
  22933. var errors = [];
  22934. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22935. if (validate) {
  22936. if (isEmptyValue(value) && !rule.required) {
  22937. return callback();
  22938. }
  22939. rules.required(rule, value, source, errors, options);
  22940. if (!isEmptyValue(value)) {
  22941. var dateObject;
  22942. if (typeof value === 'number') {
  22943. dateObject = new Date(value);
  22944. } else {
  22945. dateObject = value;
  22946. }
  22947. rules.type(rule, dateObject, source, errors, options);
  22948. if (dateObject) {
  22949. rules.range(rule, dateObject.getTime(), source, errors, options);
  22950. }
  22951. }
  22952. }
  22953. callback(errors);
  22954. }
  22955. function required$1(rule, value, callback, source, options) {
  22956. var errors = [];
  22957. var type = Array.isArray(value) ? 'array' : (0, _typeof2.default)(value);
  22958. rules.required(rule, value, source, errors, options, type);
  22959. callback(errors);
  22960. }
  22961. function type$1(rule, value, callback, source, options) {
  22962. var ruleType = rule.type;
  22963. var errors = [];
  22964. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22965. if (validate) {
  22966. if (isEmptyValue(value, ruleType) && !rule.required) {
  22967. return callback();
  22968. }
  22969. rules.required(rule, value, source, errors, options, ruleType);
  22970. if (!isEmptyValue(value, ruleType)) {
  22971. rules.type(rule, value, source, errors, options);
  22972. }
  22973. }
  22974. callback(errors);
  22975. }
  22976. /**
  22977. * Performs validation for any type.
  22978. *
  22979. * @param rule The validation rule.
  22980. * @param value The value of the field on the source object.
  22981. * @param callback The callback function.
  22982. * @param source The source object being validated.
  22983. * @param options The validation options.
  22984. * @param options.messages The validation messages.
  22985. */
  22986. function any(rule, value, callback, source, options) {
  22987. var errors = [];
  22988. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22989. if (validate) {
  22990. if (isEmptyValue(value) && !rule.required) {
  22991. return callback();
  22992. }
  22993. rules.required(rule, value, source, errors, options);
  22994. }
  22995. callback(errors);
  22996. }
  22997. var validators = {
  22998. string: string,
  22999. method: method,
  23000. number: number,
  23001. boolean: _boolean,
  23002. regexp: regexp,
  23003. integer: integer,
  23004. float: floatFn,
  23005. array: array,
  23006. object: object,
  23007. enum: enumerable$1,
  23008. pattern: pattern$2,
  23009. date: date,
  23010. url: type$1,
  23011. hex: type$1,
  23012. email: type$1,
  23013. required: required$1,
  23014. any: any
  23015. };
  23016. function newMessages() {
  23017. return {
  23018. default: 'Validation error on field %s',
  23019. required: '%s is required',
  23020. enum: '%s must be one of %s',
  23021. whitespace: '%s cannot be empty',
  23022. date: {
  23023. format: '%s date %s is invalid for format %s',
  23024. parse: '%s date could not be parsed, %s is invalid ',
  23025. invalid: '%s date %s is invalid'
  23026. },
  23027. types: {
  23028. string: '%s is not a %s',
  23029. method: '%s is not a %s (function)',
  23030. array: '%s is not an %s',
  23031. object: '%s is not an %s',
  23032. number: '%s is not a %s',
  23033. date: '%s is not a %s',
  23034. boolean: '%s is not a %s',
  23035. integer: '%s is not an %s',
  23036. float: '%s is not a %s',
  23037. regexp: '%s is not a valid %s',
  23038. email: '%s is not a valid %s',
  23039. url: '%s is not a valid %s',
  23040. hex: '%s is not a valid %s'
  23041. },
  23042. string: {
  23043. len: '%s must be exactly %s characters',
  23044. min: '%s must be at least %s characters',
  23045. max: '%s cannot be longer than %s characters',
  23046. range: '%s must be between %s and %s characters'
  23047. },
  23048. number: {
  23049. len: '%s must equal %s',
  23050. min: '%s cannot be less than %s',
  23051. max: '%s cannot be greater than %s',
  23052. range: '%s must be between %s and %s'
  23053. },
  23054. array: {
  23055. len: '%s must be exactly %s in length',
  23056. min: '%s cannot be less than %s in length',
  23057. max: '%s cannot be greater than %s in length',
  23058. range: '%s must be between %s and %s in length'
  23059. },
  23060. pattern: {
  23061. mismatch: '%s value %s does not match pattern %s'
  23062. },
  23063. clone: function clone() {
  23064. var cloned = JSON.parse(JSON.stringify(this));
  23065. cloned.clone = this.clone;
  23066. return cloned;
  23067. }
  23068. };
  23069. }
  23070. var messages = newMessages();
  23071. /**
  23072. * Encapsulates a validation schema.
  23073. *
  23074. * @param descriptor An object declaring validation rules
  23075. * for this schema.
  23076. */
  23077. function Schema(descriptor) {
  23078. this.rules = null;
  23079. this._messages = messages;
  23080. this.define(descriptor);
  23081. }
  23082. Schema.prototype = {
  23083. messages: function messages(_messages) {
  23084. if (_messages) {
  23085. this._messages = deepMerge(newMessages(), _messages);
  23086. }
  23087. return this._messages;
  23088. },
  23089. define: function define(rules) {
  23090. if (!rules) {
  23091. throw new Error('Cannot configure a schema with no rules');
  23092. }
  23093. if ((0, _typeof2.default)(rules) !== 'object' || Array.isArray(rules)) {
  23094. throw new Error('Rules must be an object');
  23095. }
  23096. this.rules = {};
  23097. var z;
  23098. var item;
  23099. for (z in rules) {
  23100. if (rules.hasOwnProperty(z)) {
  23101. item = rules[z];
  23102. this.rules[z] = Array.isArray(item) ? item : [item];
  23103. }
  23104. }
  23105. },
  23106. validate: function validate(source_, o, oc) {
  23107. var _this = this;
  23108. if (o === void 0) {
  23109. o = {};
  23110. }
  23111. if (oc === void 0) {
  23112. oc = function oc() {};
  23113. }
  23114. var source = source_;
  23115. var options = o;
  23116. var callback = oc;
  23117. if (typeof options === 'function') {
  23118. callback = options;
  23119. options = {};
  23120. }
  23121. if (!this.rules || Object.keys(this.rules).length === 0) {
  23122. if (callback) {
  23123. callback();
  23124. }
  23125. return Promise.resolve();
  23126. }
  23127. function complete(results) {
  23128. var i;
  23129. var errors = [];
  23130. var fields = {};
  23131. function add(e) {
  23132. if (Array.isArray(e)) {
  23133. var _errors;
  23134. errors = (_errors = errors).concat.apply(_errors, e);
  23135. } else {
  23136. errors.push(e);
  23137. }
  23138. }
  23139. for (i = 0; i < results.length; i++) {
  23140. add(results[i]);
  23141. }
  23142. if (!errors.length) {
  23143. errors = null;
  23144. fields = null;
  23145. } else {
  23146. fields = convertFieldsError(errors);
  23147. }
  23148. callback(errors, fields);
  23149. }
  23150. if (options.messages) {
  23151. var messages$1 = this.messages();
  23152. if (messages$1 === messages) {
  23153. messages$1 = newMessages();
  23154. }
  23155. deepMerge(messages$1, options.messages);
  23156. options.messages = messages$1;
  23157. } else {
  23158. options.messages = this.messages();
  23159. }
  23160. var arr;
  23161. var value;
  23162. var series = {};
  23163. var keys = options.keys || Object.keys(this.rules);
  23164. keys.forEach(function (z) {
  23165. arr = _this.rules[z];
  23166. value = source[z];
  23167. arr.forEach(function (r) {
  23168. var rule = r;
  23169. if (typeof rule.transform === 'function') {
  23170. if (source === source_) {
  23171. source = _objectSpread({}, source);
  23172. }
  23173. value = source[z] = rule.transform(value);
  23174. }
  23175. if (typeof rule === 'function') {
  23176. rule = {
  23177. validator: rule
  23178. };
  23179. } else {
  23180. rule = _objectSpread({}, rule);
  23181. }
  23182. rule.validator = _this.getValidationMethod(rule);
  23183. rule.field = z;
  23184. rule.fullField = rule.fullField || z;
  23185. rule.type = _this.getType(rule);
  23186. if (!rule.validator) {
  23187. return;
  23188. }
  23189. series[z] = series[z] || [];
  23190. series[z].push({
  23191. rule: rule,
  23192. value: value,
  23193. source: source,
  23194. field: z
  23195. });
  23196. });
  23197. });
  23198. var errorFields = {};
  23199. return asyncMap(series, options, function (data, doIt) {
  23200. var rule = data.rule;
  23201. var deep = (rule.type === 'object' || rule.type === 'array') && ((0, _typeof2.default)(rule.fields) === 'object' || (0, _typeof2.default)(rule.defaultField) === 'object');
  23202. deep = deep && (rule.required || !rule.required && data.value);
  23203. rule.field = data.field;
  23204. function addFullfield(key, schema) {
  23205. return _objectSpread(_objectSpread({}, schema), {}, {
  23206. fullField: "".concat(rule.fullField, ".").concat(key)
  23207. });
  23208. }
  23209. function cb(e) {
  23210. if (e === void 0) {
  23211. e = [];
  23212. }
  23213. var errors = e;
  23214. if (!Array.isArray(errors)) {
  23215. errors = [errors];
  23216. }
  23217. if (!options.suppressWarning && errors.length) {
  23218. Schema.warning('async-validator:', errors);
  23219. }
  23220. if (errors.length && rule.message) {
  23221. errors = [].concat(rule.message);
  23222. }
  23223. errors = errors.map(complementError(rule));
  23224. if (options.first && errors.length) {
  23225. errorFields[rule.field] = 1;
  23226. return doIt(errors);
  23227. }
  23228. if (!deep) {
  23229. doIt(errors);
  23230. } else {
  23231. // if rule is required but the target object
  23232. // does not exist fail at the rule level and don't
  23233. // go deeper
  23234. if (rule.required && !data.value) {
  23235. if (rule.message) {
  23236. errors = [].concat(rule.message).map(complementError(rule));
  23237. } else if (options.error) {
  23238. errors = [options.error(rule, format(options.messages.required, rule.field))];
  23239. } else {
  23240. errors = [];
  23241. }
  23242. return doIt(errors);
  23243. }
  23244. var fieldsSchema = {};
  23245. if (rule.defaultField) {
  23246. for (var k in data.value) {
  23247. if (data.value.hasOwnProperty(k)) {
  23248. fieldsSchema[k] = rule.defaultField;
  23249. }
  23250. }
  23251. }
  23252. fieldsSchema = _objectSpread(_objectSpread({}, fieldsSchema), data.rule.fields);
  23253. for (var f in fieldsSchema) {
  23254. if (fieldsSchema.hasOwnProperty(f)) {
  23255. var fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]];
  23256. fieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f));
  23257. }
  23258. }
  23259. var schema = new Schema(fieldsSchema);
  23260. schema.messages(options.messages);
  23261. if (data.rule.options) {
  23262. data.rule.options.messages = options.messages;
  23263. data.rule.options.error = options.error;
  23264. }
  23265. schema.validate(data.value, data.rule.options || options, function (errs) {
  23266. var finalErrors = [];
  23267. if (errors && errors.length) {
  23268. finalErrors.push.apply(finalErrors, errors);
  23269. }
  23270. if (errs && errs.length) {
  23271. finalErrors.push.apply(finalErrors, errs);
  23272. }
  23273. doIt(finalErrors.length ? finalErrors : null);
  23274. });
  23275. }
  23276. }
  23277. var res;
  23278. if (rule.asyncValidator) {
  23279. res = rule.asyncValidator(rule, data.value, cb, data.source, options);
  23280. } else if (rule.validator) {
  23281. res = rule.validator(rule, data.value, cb, data.source, options);
  23282. if (res === true) {
  23283. cb();
  23284. } else if (res === false) {
  23285. cb(rule.message || "".concat(rule.field, " fails"));
  23286. } else if (res instanceof Array) {
  23287. cb(res);
  23288. } else if (res instanceof Error) {
  23289. cb(res.message);
  23290. }
  23291. }
  23292. if (res && res.then) {
  23293. res.then(function () {
  23294. return cb();
  23295. }, function (e) {
  23296. return cb(e);
  23297. });
  23298. }
  23299. }, function (results) {
  23300. complete(results);
  23301. });
  23302. },
  23303. getType: function getType(rule) {
  23304. if (rule.type === undefined && rule.pattern instanceof RegExp) {
  23305. rule.type = 'pattern';
  23306. }
  23307. if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {
  23308. throw new Error(format('Unknown rule type %s', rule.type));
  23309. }
  23310. return rule.type || 'string';
  23311. },
  23312. getValidationMethod: function getValidationMethod(rule) {
  23313. if (typeof rule.validator === 'function') {
  23314. return rule.validator;
  23315. }
  23316. var keys = Object.keys(rule);
  23317. var messageIndex = keys.indexOf('message');
  23318. if (messageIndex !== -1) {
  23319. keys.splice(messageIndex, 1);
  23320. }
  23321. if (keys.length === 1 && keys[0] === 'required') {
  23322. return validators.required;
  23323. }
  23324. return validators[this.getType(rule)] || false;
  23325. }
  23326. };
  23327. Schema.register = function register(type, validator) {
  23328. if (typeof validator !== 'function') {
  23329. throw new Error('Cannot register a validator by type, validator is not a function');
  23330. }
  23331. validators[type] = validator;
  23332. };
  23333. Schema.warning = warning;
  23334. Schema.messages = messages;
  23335. var _default = Schema; // # sourceMappingURL=index.js.map
  23336. exports.default = _default;
  23337. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js */ 503)))
  23338. /***/ }),
  23339. /* 503 */
  23340. /*!********************************************************!*\
  23341. !*** ./node_modules/node-libs-browser/mock/process.js ***!
  23342. \********************************************************/
  23343. /*! no static exports found */
  23344. /***/ (function(module, exports, __webpack_require__) {
  23345. exports.nextTick = function nextTick(fn) {
  23346. var args = Array.prototype.slice.call(arguments);
  23347. args.shift();
  23348. setTimeout(function () {
  23349. fn.apply(null, args);
  23350. }, 0);
  23351. };
  23352. exports.platform = exports.arch =
  23353. exports.execPath = exports.title = 'browser';
  23354. exports.pid = 1;
  23355. exports.browser = true;
  23356. exports.env = {};
  23357. exports.argv = [];
  23358. exports.binding = function (name) {
  23359. throw new Error('No such module. (Possibly not yet loaded)')
  23360. };
  23361. (function () {
  23362. var cwd = '/';
  23363. var path;
  23364. exports.cwd = function () { return cwd };
  23365. exports.chdir = function (dir) {
  23366. if (!path) path = __webpack_require__(/*! path */ 504);
  23367. cwd = path.resolve(dir, cwd);
  23368. };
  23369. })();
  23370. exports.exit = exports.kill =
  23371. exports.umask = exports.dlopen =
  23372. exports.uptime = exports.memoryUsage =
  23373. exports.uvCounters = function() {};
  23374. exports.features = {};
  23375. /***/ }),
  23376. /* 504 */
  23377. /*!***********************************************!*\
  23378. !*** ./node_modules/path-browserify/index.js ***!
  23379. \***********************************************/
  23380. /*! no static exports found */
  23381. /***/ (function(module, exports, __webpack_require__) {
  23382. /* WEBPACK VAR INJECTION */(function(process) {// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
  23383. // backported and transplited with Babel, with backwards-compat fixes
  23384. // Copyright Joyent, Inc. and other Node contributors.
  23385. //
  23386. // Permission is hereby granted, free of charge, to any person obtaining a
  23387. // copy of this software and associated documentation files (the
  23388. // "Software"), to deal in the Software without restriction, including
  23389. // without limitation the rights to use, copy, modify, merge, publish,
  23390. // distribute, sublicense, and/or sell copies of the Software, and to permit
  23391. // persons to whom the Software is furnished to do so, subject to the
  23392. // following conditions:
  23393. //
  23394. // The above copyright notice and this permission notice shall be included
  23395. // in all copies or substantial portions of the Software.
  23396. //
  23397. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  23398. // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  23399. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  23400. // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  23401. // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  23402. // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  23403. // USE OR OTHER DEALINGS IN THE SOFTWARE.
  23404. // resolves . and .. elements in a path array with directory names there
  23405. // must be no slashes, empty elements, or device names (c:\) in the array
  23406. // (so also no leading and trailing slashes - it does not distinguish
  23407. // relative and absolute paths)
  23408. function normalizeArray(parts, allowAboveRoot) {
  23409. // if the path tries to go above the root, `up` ends up > 0
  23410. var up = 0;
  23411. for (var i = parts.length - 1; i >= 0; i--) {
  23412. var last = parts[i];
  23413. if (last === '.') {
  23414. parts.splice(i, 1);
  23415. } else if (last === '..') {
  23416. parts.splice(i, 1);
  23417. up++;
  23418. } else if (up) {
  23419. parts.splice(i, 1);
  23420. up--;
  23421. }
  23422. }
  23423. // if the path is allowed to go above the root, restore leading ..s
  23424. if (allowAboveRoot) {
  23425. for (; up--; up) {
  23426. parts.unshift('..');
  23427. }
  23428. }
  23429. return parts;
  23430. }
  23431. // path.resolve([from ...], to)
  23432. // posix version
  23433. exports.resolve = function() {
  23434. var resolvedPath = '',
  23435. resolvedAbsolute = false;
  23436. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  23437. var path = (i >= 0) ? arguments[i] : process.cwd();
  23438. // Skip empty and invalid entries
  23439. if (typeof path !== 'string') {
  23440. throw new TypeError('Arguments to path.resolve must be strings');
  23441. } else if (!path) {
  23442. continue;
  23443. }
  23444. resolvedPath = path + '/' + resolvedPath;
  23445. resolvedAbsolute = path.charAt(0) === '/';
  23446. }
  23447. // At this point the path should be resolved to a full absolute path, but
  23448. // handle relative paths to be safe (might happen when process.cwd() fails)
  23449. // Normalize the path
  23450. resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
  23451. return !!p;
  23452. }), !resolvedAbsolute).join('/');
  23453. return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
  23454. };
  23455. // path.normalize(path)
  23456. // posix version
  23457. exports.normalize = function(path) {
  23458. var isAbsolute = exports.isAbsolute(path),
  23459. trailingSlash = substr(path, -1) === '/';
  23460. // Normalize the path
  23461. path = normalizeArray(filter(path.split('/'), function(p) {
  23462. return !!p;
  23463. }), !isAbsolute).join('/');
  23464. if (!path && !isAbsolute) {
  23465. path = '.';
  23466. }
  23467. if (path && trailingSlash) {
  23468. path += '/';
  23469. }
  23470. return (isAbsolute ? '/' : '') + path;
  23471. };
  23472. // posix version
  23473. exports.isAbsolute = function(path) {
  23474. return path.charAt(0) === '/';
  23475. };
  23476. // posix version
  23477. exports.join = function() {
  23478. var paths = Array.prototype.slice.call(arguments, 0);
  23479. return exports.normalize(filter(paths, function(p, index) {
  23480. if (typeof p !== 'string') {
  23481. throw new TypeError('Arguments to path.join must be strings');
  23482. }
  23483. return p;
  23484. }).join('/'));
  23485. };
  23486. // path.relative(from, to)
  23487. // posix version
  23488. exports.relative = function(from, to) {
  23489. from = exports.resolve(from).substr(1);
  23490. to = exports.resolve(to).substr(1);
  23491. function trim(arr) {
  23492. var start = 0;
  23493. for (; start < arr.length; start++) {
  23494. if (arr[start] !== '') break;
  23495. }
  23496. var end = arr.length - 1;
  23497. for (; end >= 0; end--) {
  23498. if (arr[end] !== '') break;
  23499. }
  23500. if (start > end) return [];
  23501. return arr.slice(start, end - start + 1);
  23502. }
  23503. var fromParts = trim(from.split('/'));
  23504. var toParts = trim(to.split('/'));
  23505. var length = Math.min(fromParts.length, toParts.length);
  23506. var samePartsLength = length;
  23507. for (var i = 0; i < length; i++) {
  23508. if (fromParts[i] !== toParts[i]) {
  23509. samePartsLength = i;
  23510. break;
  23511. }
  23512. }
  23513. var outputParts = [];
  23514. for (var i = samePartsLength; i < fromParts.length; i++) {
  23515. outputParts.push('..');
  23516. }
  23517. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  23518. return outputParts.join('/');
  23519. };
  23520. exports.sep = '/';
  23521. exports.delimiter = ':';
  23522. exports.dirname = function (path) {
  23523. if (typeof path !== 'string') path = path + '';
  23524. if (path.length === 0) return '.';
  23525. var code = path.charCodeAt(0);
  23526. var hasRoot = code === 47 /*/*/;
  23527. var end = -1;
  23528. var matchedSlash = true;
  23529. for (var i = path.length - 1; i >= 1; --i) {
  23530. code = path.charCodeAt(i);
  23531. if (code === 47 /*/*/) {
  23532. if (!matchedSlash) {
  23533. end = i;
  23534. break;
  23535. }
  23536. } else {
  23537. // We saw the first non-path separator
  23538. matchedSlash = false;
  23539. }
  23540. }
  23541. if (end === -1) return hasRoot ? '/' : '.';
  23542. if (hasRoot && end === 1) {
  23543. // return '//';
  23544. // Backwards-compat fix:
  23545. return '/';
  23546. }
  23547. return path.slice(0, end);
  23548. };
  23549. function basename(path) {
  23550. if (typeof path !== 'string') path = path + '';
  23551. var start = 0;
  23552. var end = -1;
  23553. var matchedSlash = true;
  23554. var i;
  23555. for (i = path.length - 1; i >= 0; --i) {
  23556. if (path.charCodeAt(i) === 47 /*/*/) {
  23557. // If we reached a path separator that was not part of a set of path
  23558. // separators at the end of the string, stop now
  23559. if (!matchedSlash) {
  23560. start = i + 1;
  23561. break;
  23562. }
  23563. } else if (end === -1) {
  23564. // We saw the first non-path separator, mark this as the end of our
  23565. // path component
  23566. matchedSlash = false;
  23567. end = i + 1;
  23568. }
  23569. }
  23570. if (end === -1) return '';
  23571. return path.slice(start, end);
  23572. }
  23573. // Uses a mixed approach for backwards-compatibility, as ext behavior changed
  23574. // in new Node.js versions, so only basename() above is backported here
  23575. exports.basename = function (path, ext) {
  23576. var f = basename(path);
  23577. if (ext && f.substr(-1 * ext.length) === ext) {
  23578. f = f.substr(0, f.length - ext.length);
  23579. }
  23580. return f;
  23581. };
  23582. exports.extname = function (path) {
  23583. if (typeof path !== 'string') path = path + '';
  23584. var startDot = -1;
  23585. var startPart = 0;
  23586. var end = -1;
  23587. var matchedSlash = true;
  23588. // Track the state of characters (if any) we see before our first dot and
  23589. // after any path separator we find
  23590. var preDotState = 0;
  23591. for (var i = path.length - 1; i >= 0; --i) {
  23592. var code = path.charCodeAt(i);
  23593. if (code === 47 /*/*/) {
  23594. // If we reached a path separator that was not part of a set of path
  23595. // separators at the end of the string, stop now
  23596. if (!matchedSlash) {
  23597. startPart = i + 1;
  23598. break;
  23599. }
  23600. continue;
  23601. }
  23602. if (end === -1) {
  23603. // We saw the first non-path separator, mark this as the end of our
  23604. // extension
  23605. matchedSlash = false;
  23606. end = i + 1;
  23607. }
  23608. if (code === 46 /*.*/) {
  23609. // If this is our first dot, mark it as the start of our extension
  23610. if (startDot === -1)
  23611. startDot = i;
  23612. else if (preDotState !== 1)
  23613. preDotState = 1;
  23614. } else if (startDot !== -1) {
  23615. // We saw a non-dot and non-path separator before our dot, so we should
  23616. // have a good chance at having a non-empty extension
  23617. preDotState = -1;
  23618. }
  23619. }
  23620. if (startDot === -1 || end === -1 ||
  23621. // We saw a non-dot character immediately before the dot
  23622. preDotState === 0 ||
  23623. // The (right-most) trimmed path component is exactly '..'
  23624. preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
  23625. return '';
  23626. }
  23627. return path.slice(startDot, end);
  23628. };
  23629. function filter (xs, f) {
  23630. if (xs.filter) return xs.filter(f);
  23631. var res = [];
  23632. for (var i = 0; i < xs.length; i++) {
  23633. if (f(xs[i], i, xs)) res.push(xs[i]);
  23634. }
  23635. return res;
  23636. }
  23637. // String.prototype.substr - negative index don't work in IE8
  23638. var substr = 'ab'.substr(-1) === 'b'
  23639. ? function (str, start, len) { return str.substr(start, len) }
  23640. : function (str, start, len) {
  23641. if (start < 0) start = str.length + start;
  23642. return str.substr(start, len);
  23643. }
  23644. ;
  23645. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 503)))
  23646. /***/ }),
  23647. /* 505 */,
  23648. /* 506 */,
  23649. /* 507 */,
  23650. /* 508 */,
  23651. /* 509 */,
  23652. /* 510 */
  23653. /*!*******************************************************************************************************************************************************!*\
  23654. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-line/props.js ***!
  23655. \*******************************************************************************************************************************************************/
  23656. /*! no static exports found */
  23657. /***/ (function(module, exports, __webpack_require__) {
  23658. "use strict";
  23659. /* WEBPACK VAR INJECTION */(function(uni) {
  23660. Object.defineProperty(exports, "__esModule", {
  23661. value: true
  23662. });
  23663. exports.default = void 0;
  23664. var _default = {
  23665. props: {
  23666. color: {
  23667. type: String,
  23668. default: uni.$u.props.line.color
  23669. },
  23670. // 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等
  23671. length: {
  23672. type: [String, Number],
  23673. default: uni.$u.props.line.length
  23674. },
  23675. // 线条方向,col-竖向,row-横向
  23676. direction: {
  23677. type: String,
  23678. default: uni.$u.props.line.direction
  23679. },
  23680. // 是否显示细边框
  23681. hairline: {
  23682. type: Boolean,
  23683. default: uni.$u.props.line.hairline
  23684. },
  23685. // 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px"
  23686. margin: {
  23687. type: [String, Number],
  23688. default: uni.$u.props.line.margin
  23689. },
  23690. // 是否虚线,true-虚线,false-实线
  23691. dashed: {
  23692. type: Boolean,
  23693. default: uni.$u.props.line.dashed
  23694. }
  23695. }
  23696. };
  23697. exports.default = _default;
  23698. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23699. /***/ }),
  23700. /* 511 */,
  23701. /* 512 */,
  23702. /* 513 */,
  23703. /* 514 */,
  23704. /* 515 */,
  23705. /* 516 */,
  23706. /* 517 */,
  23707. /* 518 */
  23708. /*!**********************************************************************************************************************************************************!*\
  23709. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-toolbar/props.js ***!
  23710. \**********************************************************************************************************************************************************/
  23711. /*! no static exports found */
  23712. /***/ (function(module, exports, __webpack_require__) {
  23713. "use strict";
  23714. /* WEBPACK VAR INJECTION */(function(uni) {
  23715. Object.defineProperty(exports, "__esModule", {
  23716. value: true
  23717. });
  23718. exports.default = void 0;
  23719. var _default = {
  23720. props: {
  23721. // 是否展示工具条
  23722. show: {
  23723. type: Boolean,
  23724. default: uni.$u.props.toolbar.show
  23725. },
  23726. // 取消按钮的文字
  23727. cancelText: {
  23728. type: String,
  23729. default: uni.$u.props.toolbar.cancelText
  23730. },
  23731. // 确认按钮的文字
  23732. confirmText: {
  23733. type: String,
  23734. default: uni.$u.props.toolbar.confirmText
  23735. },
  23736. // 取消按钮的颜色
  23737. cancelColor: {
  23738. type: String,
  23739. default: uni.$u.props.toolbar.cancelColor
  23740. },
  23741. // 确认按钮的颜色
  23742. confirmColor: {
  23743. type: String,
  23744. default: uni.$u.props.toolbar.confirmColor
  23745. },
  23746. // 标题文字
  23747. title: {
  23748. type: String,
  23749. default: uni.$u.props.toolbar.title
  23750. }
  23751. }
  23752. };
  23753. exports.default = _default;
  23754. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23755. /***/ }),
  23756. /* 519 */,
  23757. /* 520 */,
  23758. /* 521 */,
  23759. /* 522 */,
  23760. /* 523 */,
  23761. /* 524 */,
  23762. /* 525 */,
  23763. /* 526 */
  23764. /*!******************************************************************************************************************************************************!*\
  23765. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-row/props.js ***!
  23766. \******************************************************************************************************************************************************/
  23767. /*! no static exports found */
  23768. /***/ (function(module, exports, __webpack_require__) {
  23769. "use strict";
  23770. /* WEBPACK VAR INJECTION */(function(uni) {
  23771. Object.defineProperty(exports, "__esModule", {
  23772. value: true
  23773. });
  23774. exports.default = void 0;
  23775. var _default = {
  23776. props: {
  23777. // 给col添加间距,左右边距各占一半
  23778. gutter: {
  23779. type: [String, Number],
  23780. default: uni.$u.props.row.gutter
  23781. },
  23782. // 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
  23783. justify: {
  23784. type: String,
  23785. default: uni.$u.props.row.justify
  23786. },
  23787. // 垂直对齐方式,可选值为top、center、bottom
  23788. align: {
  23789. type: String,
  23790. default: uni.$u.props.row.align
  23791. }
  23792. }
  23793. };
  23794. exports.default = _default;
  23795. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23796. /***/ }),
  23797. /* 527 */,
  23798. /* 528 */,
  23799. /* 529 */,
  23800. /* 530 */,
  23801. /* 531 */,
  23802. /* 532 */,
  23803. /* 533 */,
  23804. /* 534 */
  23805. /*!******************************************************************************************************************************************************!*\
  23806. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-col/props.js ***!
  23807. \******************************************************************************************************************************************************/
  23808. /*! no static exports found */
  23809. /***/ (function(module, exports, __webpack_require__) {
  23810. "use strict";
  23811. /* WEBPACK VAR INJECTION */(function(uni) {
  23812. Object.defineProperty(exports, "__esModule", {
  23813. value: true
  23814. });
  23815. exports.default = void 0;
  23816. var _default = {
  23817. props: {
  23818. // 占父容器宽度的多少等分,总分为12份
  23819. span: {
  23820. type: [String, Number],
  23821. default: uni.$u.props.col.span
  23822. },
  23823. // 指定栅格左侧的间隔数(总12栏)
  23824. offset: {
  23825. type: [String, Number],
  23826. default: uni.$u.props.col.offset
  23827. },
  23828. // 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
  23829. justify: {
  23830. type: String,
  23831. default: uni.$u.props.col.justify
  23832. },
  23833. // 垂直对齐方式,可选值为top、center、bottom、stretch
  23834. align: {
  23835. type: String,
  23836. default: uni.$u.props.col.align
  23837. },
  23838. // 文字对齐方式
  23839. textAlign: {
  23840. type: String,
  23841. default: uni.$u.props.col.textAlign
  23842. }
  23843. }
  23844. };
  23845. exports.default = _default;
  23846. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23847. /***/ }),
  23848. /* 535 */,
  23849. /* 536 */,
  23850. /* 537 */,
  23851. /* 538 */,
  23852. /* 539 */,
  23853. /* 540 */,
  23854. /* 541 */,
  23855. /* 542 */
  23856. /*!*************************************************************************************************************************************************************!*\
  23857. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/props.js ***!
  23858. \*************************************************************************************************************************************************************/
  23859. /*! no static exports found */
  23860. /***/ (function(module, exports, __webpack_require__) {
  23861. "use strict";
  23862. /* WEBPACK VAR INJECTION */(function(uni) {
  23863. Object.defineProperty(exports, "__esModule", {
  23864. value: true
  23865. });
  23866. exports.default = void 0;
  23867. var _default = {
  23868. props: {
  23869. // 是否展示组件
  23870. show: {
  23871. type: Boolean,
  23872. default: uni.$u.props.transition.show
  23873. },
  23874. // 使用的动画模式
  23875. mode: {
  23876. type: String,
  23877. default: uni.$u.props.transition.mode
  23878. },
  23879. // 动画的执行时间,单位ms
  23880. duration: {
  23881. type: [String, Number],
  23882. default: uni.$u.props.transition.duration
  23883. },
  23884. // 使用的动画过渡函数
  23885. timingFunction: {
  23886. type: String,
  23887. default: uni.$u.props.transition.timingFunction
  23888. }
  23889. }
  23890. };
  23891. exports.default = _default;
  23892. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23893. /***/ }),
  23894. /* 543 */
  23895. /*!******************************************************************************************************************************************************************!*\
  23896. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/transition.js ***!
  23897. \******************************************************************************************************************************************************************/
  23898. /*! no static exports found */
  23899. /***/ (function(module, exports, __webpack_require__) {
  23900. "use strict";
  23901. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23902. Object.defineProperty(exports, "__esModule", {
  23903. value: true
  23904. });
  23905. exports.default = void 0;
  23906. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  23907. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  23908. var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 544));
  23909. // 定义一个一定时间后自动成功的promise,让调用nextTick方法处,进入下一个then方法
  23910. var nextTick = function nextTick() {
  23911. return new Promise(function (resolve) {
  23912. return setTimeout(resolve, 1000 / 50);
  23913. });
  23914. };
  23915. // nvue动画模块实现细节抽离在外部文件
  23916. // 定义类名,通过给元素动态切换类名,赋予元素一定的css动画样式
  23917. var getClassNames = function getClassNames(name) {
  23918. return {
  23919. enter: "u-".concat(name, "-enter u-").concat(name, "-enter-active"),
  23920. 'enter-to': "u-".concat(name, "-enter-to u-").concat(name, "-enter-active"),
  23921. leave: "u-".concat(name, "-leave u-").concat(name, "-leave-active"),
  23922. 'leave-to': "u-".concat(name, "-leave-to u-").concat(name, "-leave-active")
  23923. };
  23924. };
  23925. var _default = {
  23926. methods: {
  23927. // 组件被点击发出事件
  23928. clickHandler: function clickHandler() {
  23929. this.$emit('click');
  23930. },
  23931. // vue版本的组件进场处理
  23932. vueEnter: function vueEnter() {
  23933. var _this = this;
  23934. // 动画进入时的类名
  23935. var classNames = getClassNames(this.mode);
  23936. // 定义状态和发出动画进入前事件
  23937. this.status = 'enter';
  23938. this.$emit('beforeEnter');
  23939. this.inited = true;
  23940. this.display = true;
  23941. this.classes = classNames.enter;
  23942. this.$nextTick( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  23943. return _regenerator.default.wrap(function _callee$(_context) {
  23944. while (1) {
  23945. switch (_context.prev = _context.next) {
  23946. case 0:
  23947. // 标识动画尚未结束
  23948. _this.$emit('enter');
  23949. _this.transitionEnded = false;
  23950. // 组件动画进入后触发的事件
  23951. _this.$emit('afterEnter');
  23952. // 赋予组件enter-to类名
  23953. _this.classes = classNames['enter-to'];
  23954. case 4:
  23955. case "end":
  23956. return _context.stop();
  23957. }
  23958. }
  23959. }, _callee);
  23960. })));
  23961. },
  23962. // 动画离场处理
  23963. vueLeave: function vueLeave() {
  23964. var _this2 = this;
  23965. // 如果不是展示状态,无需执行逻辑
  23966. if (!this.display) return;
  23967. var classNames = getClassNames(this.mode);
  23968. // 标记离开状态和发出事件
  23969. this.status = 'leave';
  23970. this.$emit('beforeLeave');
  23971. // 获得类名
  23972. this.classes = classNames.leave;
  23973. this.$nextTick(function () {
  23974. // 动画正在离场的状态
  23975. _this2.transitionEnded = false;
  23976. _this2.$emit('leave');
  23977. // 组件执行动画,到了执行的执行时间后,执行一些额外处理
  23978. setTimeout(_this2.onTransitionEnd, _this2.duration);
  23979. _this2.classes = classNames['leave-to'];
  23980. });
  23981. },
  23982. // 完成过渡后触发
  23983. onTransitionEnd: function onTransitionEnd() {
  23984. // 如果已经是结束的状态,无需再处理
  23985. if (this.transitionEnded) return;
  23986. this.transitionEnded = true;
  23987. // 发出组件动画执行后的事件
  23988. this.$emit(this.status === 'leave' ? 'afterLeave' : 'afterEnter');
  23989. if (!this.show && this.display) {
  23990. this.display = false;
  23991. this.inited = false;
  23992. }
  23993. }
  23994. }
  23995. };
  23996. exports.default = _default;
  23997. /***/ }),
  23998. /* 544 */
  23999. /*!********************************************************************************************************************************************************************!*\
  24000. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/nvue.ani-map.js ***!
  24001. \********************************************************************************************************************************************************************/
  24002. /*! no static exports found */
  24003. /***/ (function(module, exports, __webpack_require__) {
  24004. "use strict";
  24005. Object.defineProperty(exports, "__esModule", {
  24006. value: true
  24007. });
  24008. exports.default = void 0;
  24009. var _default = {
  24010. fade: {
  24011. enter: {
  24012. opacity: 0
  24013. },
  24014. 'enter-to': {
  24015. opacity: 1
  24016. },
  24017. leave: {
  24018. opacity: 1
  24019. },
  24020. 'leave-to': {
  24021. opacity: 0
  24022. }
  24023. },
  24024. 'fade-up': {
  24025. enter: {
  24026. opacity: 0,
  24027. transform: 'translateY(100%)'
  24028. },
  24029. 'enter-to': {
  24030. opacity: 1,
  24031. transform: 'translateY(0)'
  24032. },
  24033. leave: {
  24034. opacity: 1,
  24035. transform: 'translateY(0)'
  24036. },
  24037. 'leave-to': {
  24038. opacity: 0,
  24039. transform: 'translateY(100%)'
  24040. }
  24041. },
  24042. 'fade-down': {
  24043. enter: {
  24044. opacity: 0,
  24045. transform: 'translateY(-100%)'
  24046. },
  24047. 'enter-to': {
  24048. opacity: 1,
  24049. transform: 'translateY(0)'
  24050. },
  24051. leave: {
  24052. opacity: 1,
  24053. transform: 'translateY(0)'
  24054. },
  24055. 'leave-to': {
  24056. opacity: 0,
  24057. transform: 'translateY(-100%)'
  24058. }
  24059. },
  24060. 'fade-left': {
  24061. enter: {
  24062. opacity: 0,
  24063. transform: 'translateX(-100%)'
  24064. },
  24065. 'enter-to': {
  24066. opacity: 1,
  24067. transform: 'translateY(0)'
  24068. },
  24069. leave: {
  24070. opacity: 1,
  24071. transform: 'translateY(0)'
  24072. },
  24073. 'leave-to': {
  24074. opacity: 0,
  24075. transform: 'translateX(-100%)'
  24076. }
  24077. },
  24078. 'fade-right': {
  24079. enter: {
  24080. opacity: 0,
  24081. transform: 'translateX(100%)'
  24082. },
  24083. 'enter-to': {
  24084. opacity: 1,
  24085. transform: 'translateY(0)'
  24086. },
  24087. leave: {
  24088. opacity: 1,
  24089. transform: 'translateY(0)'
  24090. },
  24091. 'leave-to': {
  24092. opacity: 0,
  24093. transform: 'translateX(100%)'
  24094. }
  24095. },
  24096. 'slide-up': {
  24097. enter: {
  24098. transform: 'translateY(100%)'
  24099. },
  24100. 'enter-to': {
  24101. transform: 'translateY(0)'
  24102. },
  24103. leave: {
  24104. transform: 'translateY(0)'
  24105. },
  24106. 'leave-to': {
  24107. transform: 'translateY(100%)'
  24108. }
  24109. },
  24110. 'slide-down': {
  24111. enter: {
  24112. transform: 'translateY(-100%)'
  24113. },
  24114. 'enter-to': {
  24115. transform: 'translateY(0)'
  24116. },
  24117. leave: {
  24118. transform: 'translateY(0)'
  24119. },
  24120. 'leave-to': {
  24121. transform: 'translateY(-100%)'
  24122. }
  24123. },
  24124. 'slide-left': {
  24125. enter: {
  24126. transform: 'translateX(-100%)'
  24127. },
  24128. 'enter-to': {
  24129. transform: 'translateY(0)'
  24130. },
  24131. leave: {
  24132. transform: 'translateY(0)'
  24133. },
  24134. 'leave-to': {
  24135. transform: 'translateX(-100%)'
  24136. }
  24137. },
  24138. 'slide-right': {
  24139. enter: {
  24140. transform: 'translateX(100%)'
  24141. },
  24142. 'enter-to': {
  24143. transform: 'translateY(0)'
  24144. },
  24145. leave: {
  24146. transform: 'translateY(0)'
  24147. },
  24148. 'leave-to': {
  24149. transform: 'translateX(100%)'
  24150. }
  24151. },
  24152. zoom: {
  24153. enter: {
  24154. transform: 'scale(0.95)'
  24155. },
  24156. 'enter-to': {
  24157. transform: 'scale(1)'
  24158. },
  24159. leave: {
  24160. transform: 'scale(1)'
  24161. },
  24162. 'leave-to': {
  24163. transform: 'scale(0.95)'
  24164. }
  24165. },
  24166. 'fade-zoom': {
  24167. enter: {
  24168. opacity: 0,
  24169. transform: 'scale(0.95)'
  24170. },
  24171. 'enter-to': {
  24172. opacity: 1,
  24173. transform: 'scale(1)'
  24174. },
  24175. leave: {
  24176. opacity: 1,
  24177. transform: 'scale(1)'
  24178. },
  24179. 'leave-to': {
  24180. opacity: 0,
  24181. transform: 'scale(0.95)'
  24182. }
  24183. }
  24184. };
  24185. exports.default = _default;
  24186. /***/ }),
  24187. /* 545 */,
  24188. /* 546 */,
  24189. /* 547 */,
  24190. /* 548 */,
  24191. /* 549 */,
  24192. /* 550 */,
  24193. /* 551 */,
  24194. /* 552 */
  24195. /*!*************************************************************************************************************************************************************!*\
  24196. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-status-bar/props.js ***!
  24197. \*************************************************************************************************************************************************************/
  24198. /*! no static exports found */
  24199. /***/ (function(module, exports, __webpack_require__) {
  24200. "use strict";
  24201. /* WEBPACK VAR INJECTION */(function(uni) {
  24202. Object.defineProperty(exports, "__esModule", {
  24203. value: true
  24204. });
  24205. exports.default = void 0;
  24206. var _default = {
  24207. props: {
  24208. bgColor: {
  24209. type: String,
  24210. default: uni.$u.props.statusBar.bgColor
  24211. }
  24212. }
  24213. };
  24214. exports.default = _default;
  24215. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24216. /***/ }),
  24217. /* 553 */,
  24218. /* 554 */,
  24219. /* 555 */,
  24220. /* 556 */,
  24221. /* 557 */,
  24222. /* 558 */,
  24223. /* 559 */,
  24224. /* 560 */
  24225. /*!**************************************************************************************************************************************************************!*\
  24226. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-safe-bottom/props.js ***!
  24227. \**************************************************************************************************************************************************************/
  24228. /*! no static exports found */
  24229. /***/ (function(module, exports, __webpack_require__) {
  24230. "use strict";
  24231. Object.defineProperty(exports, "__esModule", {
  24232. value: true
  24233. });
  24234. exports.default = void 0;
  24235. var _default = {
  24236. props: {}
  24237. };
  24238. exports.default = _default;
  24239. /***/ }),
  24240. /* 561 */,
  24241. /* 562 */,
  24242. /* 563 */,
  24243. /* 564 */,
  24244. /* 565 */,
  24245. /* 566 */,
  24246. /* 567 */,
  24247. /* 568 */
  24248. /*!*******************************************************************************************************************************************************!*\
  24249. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-text/props.js ***!
  24250. \*******************************************************************************************************************************************************/
  24251. /*! no static exports found */
  24252. /***/ (function(module, exports, __webpack_require__) {
  24253. "use strict";
  24254. /* WEBPACK VAR INJECTION */(function(uni) {
  24255. Object.defineProperty(exports, "__esModule", {
  24256. value: true
  24257. });
  24258. exports.default = void 0;
  24259. var _default = {
  24260. props: {
  24261. // 主题颜色
  24262. type: {
  24263. type: String,
  24264. default: uni.$u.props.text.type
  24265. },
  24266. // 是否显示
  24267. show: {
  24268. type: Boolean,
  24269. default: uni.$u.props.text.show
  24270. },
  24271. // 显示的值
  24272. text: {
  24273. type: [String, Number],
  24274. default: uni.$u.props.text.text
  24275. },
  24276. // 前置图标
  24277. prefixIcon: {
  24278. type: String,
  24279. default: uni.$u.props.text.prefixIcon
  24280. },
  24281. // 后置图标
  24282. suffixIcon: {
  24283. type: String,
  24284. default: uni.$u.props.text.suffixIcon
  24285. },
  24286. // 文本处理的匹配模式
  24287. // text-普通文本,price-价格,phone-手机号,name-姓名,date-日期,link-超链接
  24288. mode: {
  24289. type: String,
  24290. default: uni.$u.props.text.mode
  24291. },
  24292. // mode=link下,配置的链接
  24293. href: {
  24294. type: String,
  24295. default: uni.$u.props.text.href
  24296. },
  24297. // 格式化规则
  24298. format: {
  24299. type: [String, Function],
  24300. default: uni.$u.props.text.format
  24301. },
  24302. // mode=phone时,点击文本是否拨打电话
  24303. call: {
  24304. type: Boolean,
  24305. default: uni.$u.props.text.call
  24306. },
  24307. // 小程序的打开方式
  24308. openType: {
  24309. type: String,
  24310. default: uni.$u.props.text.openType
  24311. },
  24312. // 是否粗体,默认normal
  24313. bold: {
  24314. type: Boolean,
  24315. default: uni.$u.props.text.bold
  24316. },
  24317. // 是否块状
  24318. block: {
  24319. type: Boolean,
  24320. default: uni.$u.props.text.block
  24321. },
  24322. // 文本显示的行数,如果设置,超出此行数,将会显示省略号
  24323. lines: {
  24324. type: [String, Number],
  24325. default: uni.$u.props.text.lines
  24326. },
  24327. // 文本颜色
  24328. color: {
  24329. type: String,
  24330. default: uni.$u.props.text.color
  24331. },
  24332. // 字体大小
  24333. size: {
  24334. type: [String, Number],
  24335. default: uni.$u.props.text.size
  24336. },
  24337. // 图标的样式
  24338. iconStyle: {
  24339. type: [Object, String],
  24340. default: uni.$u.props.text.iconStyle
  24341. },
  24342. // 文字装饰,下划线,中划线等,可选值 none|underline|line-through
  24343. decoration: {
  24344. tepe: String,
  24345. default: uni.$u.props.text.decoration
  24346. },
  24347. // 外边距,对象、字符串,数值形式均可
  24348. margin: {
  24349. type: [Object, String, Number],
  24350. default: uni.$u.props.text.margin
  24351. },
  24352. // 文本行高
  24353. lineHeight: {
  24354. type: [String, Number],
  24355. default: uni.$u.props.text.lineHeight
  24356. },
  24357. // 文本对齐方式,可选值left|center|right
  24358. align: {
  24359. type: String,
  24360. default: uni.$u.props.text.align
  24361. },
  24362. // 文字换行,可选值break-word|normal|anywhere
  24363. wordWrap: {
  24364. type: String,
  24365. default: uni.$u.props.text.wordWrap
  24366. }
  24367. }
  24368. };
  24369. exports.default = _default;
  24370. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24371. /***/ }),
  24372. /* 569 */,
  24373. /* 570 */,
  24374. /* 571 */,
  24375. /* 572 */,
  24376. /* 573 */,
  24377. /* 574 */,
  24378. /* 575 */,
  24379. /* 576 */,
  24380. /* 577 */,
  24381. /* 578 */,
  24382. /* 579 */,
  24383. /* 580 */,
  24384. /* 581 */
  24385. /*!*******************************************************************************************************************************************************!*\
  24386. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-text/value.js ***!
  24387. \*******************************************************************************************************************************************************/
  24388. /*! no static exports found */
  24389. /***/ (function(module, exports, __webpack_require__) {
  24390. "use strict";
  24391. /* WEBPACK VAR INJECTION */(function(uni) {
  24392. Object.defineProperty(exports, "__esModule", {
  24393. value: true
  24394. });
  24395. exports.default = void 0;
  24396. var _default = {
  24397. computed: {
  24398. // 经处理后需要显示的值
  24399. value: function value() {
  24400. var text = this.text,
  24401. mode = this.mode,
  24402. format = this.format,
  24403. href = this.href;
  24404. // 价格类型
  24405. if (mode === 'price') {
  24406. // 如果text不为金额进行提示
  24407. if (!/^\d+(\.\d+)?$/.test(text)) {
  24408. uni.$u.error('金额模式下,text参数需要为金额格式');
  24409. }
  24410. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的金额格式化处理
  24411. if (uni.$u.test.func(format)) {
  24412. // 如果用户传入的是函数,使用函数格式化
  24413. return format(text);
  24414. }
  24415. // 如果format非正则,非函数,则使用默认的金额格式化方法进行操作
  24416. return uni.$u.priceFormat(text, 2);
  24417. }
  24418. if (mode === 'date') {
  24419. // 判断是否合法的日期或者时间戳
  24420. !uni.$u.test.date(text) && uni.$u.error('日期模式下,text参数需要为日期或时间戳格式');
  24421. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的格式化处理
  24422. if (uni.$u.test.func(format)) {
  24423. // 如果用户传入的是函数,使用函数格式化
  24424. return format(text);
  24425. }
  24426. if (format) {
  24427. // 如果format非正则,非函数,则使用默认的时间格式化方法进行操作
  24428. return uni.$u.timeFormat(text, format);
  24429. }
  24430. // 如果没有设置format,则设置为默认的时间格式化形式
  24431. return uni.$u.timeFormat(text, 'yyyy-mm-dd');
  24432. }
  24433. if (mode === 'phone') {
  24434. // 判断是否合法的手机号
  24435. // !uni.$u.test.mobile(text) && uni.$u.error('手机号模式下,text参数需要为手机号码格式')
  24436. if (uni.$u.test.func(format)) {
  24437. // 如果用户传入的是函数,使用函数格式化
  24438. return format(text);
  24439. }
  24440. if (format === 'encrypt') {
  24441. // 如果format为encrypt,则将手机号进行星号加密处理
  24442. return "".concat(text.substr(0, 3), "****").concat(text.substr(7));
  24443. }
  24444. return text;
  24445. }
  24446. if (mode === 'name') {
  24447. // 判断是否合法的字符粗
  24448. !(typeof text === 'string') && uni.$u.error('姓名模式下,text参数需要为字符串格式');
  24449. if (uni.$u.test.func(format)) {
  24450. // 如果用户传入的是函数,使用函数格式化
  24451. return format(text);
  24452. }
  24453. if (format === 'encrypt') {
  24454. // 如果format为encrypt,则将姓名进行星号加密处理
  24455. return this.formatName(text);
  24456. }
  24457. return text;
  24458. }
  24459. if (mode === 'link') {
  24460. // 判断是否合法的字符粗
  24461. !uni.$u.test.url(href) && uni.$u.error('超链接模式下,href参数需要为URL格式');
  24462. return text;
  24463. }
  24464. return text;
  24465. }
  24466. },
  24467. methods: {
  24468. // 默认的姓名脱敏规则
  24469. formatName: function formatName(name) {
  24470. var value = '';
  24471. if (name.length === 2) {
  24472. value = name.substr(0, 1) + '*';
  24473. } else if (name.length > 2) {
  24474. var char = '';
  24475. for (var i = 0, len = name.length - 2; i < len; i++) {
  24476. char += '*';
  24477. }
  24478. value = name.substr(0, 1) + char + name.substr(-1, 1);
  24479. } else {
  24480. value = name;
  24481. }
  24482. return value;
  24483. }
  24484. }
  24485. };
  24486. exports.default = _default;
  24487. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24488. /***/ }),
  24489. /* 582 */,
  24490. /* 583 */,
  24491. /* 584 */,
  24492. /* 585 */,
  24493. /* 586 */,
  24494. /* 587 */,
  24495. /* 588 */,
  24496. /* 589 */
  24497. /*!*******************************************************************************************************************************************************!*\
  24498. !*** E:/存放文件/驿站/工作目录/开发项目/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-link/props.js ***!
  24499. \*******************************************************************************************************************************************************/
  24500. /*! no static exports found */
  24501. /***/ (function(module, exports, __webpack_require__) {
  24502. "use strict";
  24503. /* WEBPACK VAR INJECTION */(function(uni) {
  24504. Object.defineProperty(exports, "__esModule", {
  24505. value: true
  24506. });
  24507. exports.default = void 0;
  24508. var _default = {
  24509. props: {
  24510. // 文字颜色
  24511. color: {
  24512. type: String,
  24513. default: uni.$u.props.link.color
  24514. },
  24515. // 字体大小,单位px
  24516. fontSize: {
  24517. type: [String, Number],
  24518. default: uni.$u.props.link.fontSize
  24519. },
  24520. // 是否显示下划线
  24521. underLine: {
  24522. type: Boolean,
  24523. default: uni.$u.props.link.underLine
  24524. },
  24525. // 要跳转的链接
  24526. href: {
  24527. type: String,
  24528. default: uni.$u.props.link.href
  24529. },
  24530. // 小程序中复制到粘贴板的提示语
  24531. mpTips: {
  24532. type: String,
  24533. default: uni.$u.props.link.mpTips
  24534. },
  24535. // 下划线颜色
  24536. lineColor: {
  24537. type: String,
  24538. default: uni.$u.props.link.lineColor
  24539. },
  24540. // 超链接的问题,不使用slot形式传入,是因为nvue下无法修改颜色
  24541. text: {
  24542. type: String,
  24543. default: uni.$u.props.link.text
  24544. }
  24545. }
  24546. };
  24547. exports.default = _default;
  24548. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  24549. /***/ })
  24550. ]]);
  24551. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map