vendor.js 975 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861
  1. (global["webpackJsonp"] = global["webpackJsonp"] || []).push([["common/vendor"],[
  2. /* 0 */,
  3. /* 1 */
  4. /*!*********************************************************!*\
  5. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js ***!
  6. \*********************************************************/
  7. /*! no static exports found */
  8. /***/ (function(module, exports, __webpack_require__) {
  9. "use strict";
  10. Object.defineProperty(exports, "__esModule", {
  11. value: true
  12. });
  13. exports.default = void 0;
  14. var objectKeys = ['qy', 'env', 'error', 'version', 'lanDebug', 'cloud', 'serviceMarket', 'router', 'worklet'];
  15. var singlePageDisableKey = ['lanDebug', 'router', 'worklet'];
  16. var target = typeof globalThis !== 'undefined' ? globalThis : function () {
  17. return this;
  18. }();
  19. var key = ['w', 'x'].join('');
  20. var oldWx = target[key];
  21. var launchOption = oldWx.getLaunchOptionsSync ? oldWx.getLaunchOptionsSync() : null;
  22. function isWxKey(key) {
  23. if (launchOption && launchOption.scene === 1154 && singlePageDisableKey.includes(key)) {
  24. return false;
  25. }
  26. return objectKeys.indexOf(key) > -1 || typeof oldWx[key] === 'function';
  27. }
  28. function initWx() {
  29. var newWx = {};
  30. for (var _key in oldWx) {
  31. if (isWxKey(_key)) {
  32. // TODO wrapper function
  33. newWx[_key] = oldWx[_key];
  34. }
  35. }
  36. return newWx;
  37. }
  38. target[key] = initWx();
  39. var _default = target[key];
  40. exports.default = _default;
  41. /***/ }),
  42. /* 2 */
  43. /*!************************************************************!*\
  44. !*** ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js ***!
  45. \************************************************************/
  46. /*! no static exports found */
  47. /***/ (function(module, exports, __webpack_require__) {
  48. "use strict";
  49. /* WEBPACK VAR INJECTION */(function(wx, global) {
  50. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  51. Object.defineProperty(exports, "__esModule", {
  52. value: true
  53. });
  54. exports.createApp = createApp;
  55. exports.createComponent = createComponent;
  56. exports.createPage = createPage;
  57. exports.createPlugin = createPlugin;
  58. exports.createSubpackageApp = createSubpackageApp;
  59. exports.default = void 0;
  60. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  61. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  62. var _construct2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/construct */ 15));
  63. var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18));
  64. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  65. var _uniI18n = __webpack_require__(/*! @dcloudio/uni-i18n */ 22);
  66. var _vue = _interopRequireDefault(__webpack_require__(/*! vue */ 25));
  67. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  68. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  69. var realAtob;
  70. var b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
  71. var b64re = /^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;
  72. if (typeof atob !== 'function') {
  73. realAtob = function realAtob(str) {
  74. str = String(str).replace(/[\t\n\f\r ]+/g, '');
  75. if (!b64re.test(str)) {
  76. throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");
  77. }
  78. // Adding the padding if missing, for semplicity
  79. str += '=='.slice(2 - (str.length & 3));
  80. var bitmap;
  81. var result = '';
  82. var r1;
  83. var r2;
  84. var i = 0;
  85. for (; i < str.length;) {
  86. bitmap = b64.indexOf(str.charAt(i++)) << 18 | b64.indexOf(str.charAt(i++)) << 12 | (r1 = b64.indexOf(str.charAt(i++))) << 6 | (r2 = b64.indexOf(str.charAt(i++)));
  87. result += r1 === 64 ? String.fromCharCode(bitmap >> 16 & 255) : r2 === 64 ? String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255) : String.fromCharCode(bitmap >> 16 & 255, bitmap >> 8 & 255, bitmap & 255);
  88. }
  89. return result;
  90. };
  91. } else {
  92. // 注意atob只能在全局对象上调用,例如:`const Base64 = {atob};Base64.atob('xxxx')`是错误的用法
  93. realAtob = atob;
  94. }
  95. function b64DecodeUnicode(str) {
  96. return decodeURIComponent(realAtob(str).split('').map(function (c) {
  97. return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
  98. }).join(''));
  99. }
  100. function getCurrentUserInfo() {
  101. var token = wx.getStorageSync('uni_id_token') || '';
  102. var tokenArr = token.split('.');
  103. if (!token || tokenArr.length !== 3) {
  104. return {
  105. uid: null,
  106. role: [],
  107. permission: [],
  108. tokenExpired: 0
  109. };
  110. }
  111. var userInfo;
  112. try {
  113. userInfo = JSON.parse(b64DecodeUnicode(tokenArr[1]));
  114. } catch (error) {
  115. throw new Error('获取当前用户信息出错,详细错误信息为:' + error.message);
  116. }
  117. userInfo.tokenExpired = userInfo.exp * 1000;
  118. delete userInfo.exp;
  119. delete userInfo.iat;
  120. return userInfo;
  121. }
  122. function uniIdMixin(Vue) {
  123. Vue.prototype.uniIDHasRole = function (roleId) {
  124. var _getCurrentUserInfo = getCurrentUserInfo(),
  125. role = _getCurrentUserInfo.role;
  126. return role.indexOf(roleId) > -1;
  127. };
  128. Vue.prototype.uniIDHasPermission = function (permissionId) {
  129. var _getCurrentUserInfo2 = getCurrentUserInfo(),
  130. permission = _getCurrentUserInfo2.permission;
  131. return this.uniIDHasRole('admin') || permission.indexOf(permissionId) > -1;
  132. };
  133. Vue.prototype.uniIDTokenValid = function () {
  134. var _getCurrentUserInfo3 = getCurrentUserInfo(),
  135. tokenExpired = _getCurrentUserInfo3.tokenExpired;
  136. return tokenExpired > Date.now();
  137. };
  138. }
  139. var _toString = Object.prototype.toString;
  140. var hasOwnProperty = Object.prototype.hasOwnProperty;
  141. function isFn(fn) {
  142. return typeof fn === 'function';
  143. }
  144. function isStr(str) {
  145. return typeof str === 'string';
  146. }
  147. function isObject(obj) {
  148. return obj !== null && (0, _typeof2.default)(obj) === 'object';
  149. }
  150. function isPlainObject(obj) {
  151. return _toString.call(obj) === '[object Object]';
  152. }
  153. function hasOwn(obj, key) {
  154. return hasOwnProperty.call(obj, key);
  155. }
  156. function noop() {}
  157. /**
  158. * Create a cached version of a pure function.
  159. */
  160. function cached(fn) {
  161. var cache = Object.create(null);
  162. return function cachedFn(str) {
  163. var hit = cache[str];
  164. return hit || (cache[str] = fn(str));
  165. };
  166. }
  167. /**
  168. * Camelize a hyphen-delimited string.
  169. */
  170. var camelizeRE = /-(\w)/g;
  171. var camelize = cached(function (str) {
  172. return str.replace(camelizeRE, function (_, c) {
  173. return c ? c.toUpperCase() : '';
  174. });
  175. });
  176. function sortObject(obj) {
  177. var sortObj = {};
  178. if (isPlainObject(obj)) {
  179. Object.keys(obj).sort().forEach(function (key) {
  180. sortObj[key] = obj[key];
  181. });
  182. }
  183. return !Object.keys(sortObj) ? obj : sortObj;
  184. }
  185. var HOOKS = ['invoke', 'success', 'fail', 'complete', 'returnValue'];
  186. var globalInterceptors = {};
  187. var scopedInterceptors = {};
  188. function mergeHook(parentVal, childVal) {
  189. var res = childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal;
  190. return res ? dedupeHooks(res) : res;
  191. }
  192. function dedupeHooks(hooks) {
  193. var res = [];
  194. for (var i = 0; i < hooks.length; i++) {
  195. if (res.indexOf(hooks[i]) === -1) {
  196. res.push(hooks[i]);
  197. }
  198. }
  199. return res;
  200. }
  201. function removeHook(hooks, hook) {
  202. var index = hooks.indexOf(hook);
  203. if (index !== -1) {
  204. hooks.splice(index, 1);
  205. }
  206. }
  207. function mergeInterceptorHook(interceptor, option) {
  208. Object.keys(option).forEach(function (hook) {
  209. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  210. interceptor[hook] = mergeHook(interceptor[hook], option[hook]);
  211. }
  212. });
  213. }
  214. function removeInterceptorHook(interceptor, option) {
  215. if (!interceptor || !option) {
  216. return;
  217. }
  218. Object.keys(option).forEach(function (hook) {
  219. if (HOOKS.indexOf(hook) !== -1 && isFn(option[hook])) {
  220. removeHook(interceptor[hook], option[hook]);
  221. }
  222. });
  223. }
  224. function addInterceptor(method, option) {
  225. if (typeof method === 'string' && isPlainObject(option)) {
  226. mergeInterceptorHook(scopedInterceptors[method] || (scopedInterceptors[method] = {}), option);
  227. } else if (isPlainObject(method)) {
  228. mergeInterceptorHook(globalInterceptors, method);
  229. }
  230. }
  231. function removeInterceptor(method, option) {
  232. if (typeof method === 'string') {
  233. if (isPlainObject(option)) {
  234. removeInterceptorHook(scopedInterceptors[method], option);
  235. } else {
  236. delete scopedInterceptors[method];
  237. }
  238. } else if (isPlainObject(method)) {
  239. removeInterceptorHook(globalInterceptors, method);
  240. }
  241. }
  242. function wrapperHook(hook) {
  243. return function (data) {
  244. return hook(data) || data;
  245. };
  246. }
  247. function isPromise(obj) {
  248. return !!obj && ((0, _typeof2.default)(obj) === 'object' || typeof obj === 'function') && typeof obj.then === 'function';
  249. }
  250. function queue(hooks, data) {
  251. var promise = false;
  252. for (var i = 0; i < hooks.length; i++) {
  253. var hook = hooks[i];
  254. if (promise) {
  255. promise = Promise.resolve(wrapperHook(hook));
  256. } else {
  257. var res = hook(data);
  258. if (isPromise(res)) {
  259. promise = Promise.resolve(res);
  260. }
  261. if (res === false) {
  262. return {
  263. then: function then() {}
  264. };
  265. }
  266. }
  267. }
  268. return promise || {
  269. then: function then(callback) {
  270. return callback(data);
  271. }
  272. };
  273. }
  274. function wrapperOptions(interceptor) {
  275. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  276. ['success', 'fail', 'complete'].forEach(function (name) {
  277. if (Array.isArray(interceptor[name])) {
  278. var oldCallback = options[name];
  279. options[name] = function callbackInterceptor(res) {
  280. queue(interceptor[name], res).then(function (res) {
  281. /* eslint-disable no-mixed-operators */
  282. return isFn(oldCallback) && oldCallback(res) || res;
  283. });
  284. };
  285. }
  286. });
  287. return options;
  288. }
  289. function wrapperReturnValue(method, returnValue) {
  290. var returnValueHooks = [];
  291. if (Array.isArray(globalInterceptors.returnValue)) {
  292. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(globalInterceptors.returnValue));
  293. }
  294. var interceptor = scopedInterceptors[method];
  295. if (interceptor && Array.isArray(interceptor.returnValue)) {
  296. returnValueHooks.push.apply(returnValueHooks, (0, _toConsumableArray2.default)(interceptor.returnValue));
  297. }
  298. returnValueHooks.forEach(function (hook) {
  299. returnValue = hook(returnValue) || returnValue;
  300. });
  301. return returnValue;
  302. }
  303. function getApiInterceptorHooks(method) {
  304. var interceptor = Object.create(null);
  305. Object.keys(globalInterceptors).forEach(function (hook) {
  306. if (hook !== 'returnValue') {
  307. interceptor[hook] = globalInterceptors[hook].slice();
  308. }
  309. });
  310. var scopedInterceptor = scopedInterceptors[method];
  311. if (scopedInterceptor) {
  312. Object.keys(scopedInterceptor).forEach(function (hook) {
  313. if (hook !== 'returnValue') {
  314. interceptor[hook] = (interceptor[hook] || []).concat(scopedInterceptor[hook]);
  315. }
  316. });
  317. }
  318. return interceptor;
  319. }
  320. function invokeApi(method, api, options) {
  321. for (var _len = arguments.length, params = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {
  322. params[_key - 3] = arguments[_key];
  323. }
  324. var interceptor = getApiInterceptorHooks(method);
  325. if (interceptor && Object.keys(interceptor).length) {
  326. if (Array.isArray(interceptor.invoke)) {
  327. var res = queue(interceptor.invoke, options);
  328. return res.then(function (options) {
  329. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  330. });
  331. } else {
  332. return api.apply(void 0, [wrapperOptions(interceptor, options)].concat(params));
  333. }
  334. }
  335. return api.apply(void 0, [options].concat(params));
  336. }
  337. var promiseInterceptor = {
  338. returnValue: function returnValue(res) {
  339. if (!isPromise(res)) {
  340. return res;
  341. }
  342. return new Promise(function (resolve, reject) {
  343. res.then(function (res) {
  344. if (res[0]) {
  345. reject(res[0]);
  346. } else {
  347. resolve(res[1]);
  348. }
  349. });
  350. });
  351. }
  352. };
  353. var SYNC_API_RE = /^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting|initUTS|requireUTS|registerUTS/;
  354. var CONTEXT_API_RE = /^create|Manager$/;
  355. // Context例外情况
  356. var CONTEXT_API_RE_EXC = ['createBLEConnection'];
  357. // 同步例外情况
  358. var ASYNC_API = ['createBLEConnection', 'createPushMessage'];
  359. var CALLBACK_API_RE = /^on|^off/;
  360. function isContextApi(name) {
  361. return CONTEXT_API_RE.test(name) && CONTEXT_API_RE_EXC.indexOf(name) === -1;
  362. }
  363. function isSyncApi(name) {
  364. return SYNC_API_RE.test(name) && ASYNC_API.indexOf(name) === -1;
  365. }
  366. function isCallbackApi(name) {
  367. return CALLBACK_API_RE.test(name) && name !== 'onPush';
  368. }
  369. function handlePromise(promise) {
  370. return promise.then(function (data) {
  371. return [null, data];
  372. }).catch(function (err) {
  373. return [err];
  374. });
  375. }
  376. function shouldPromise(name) {
  377. if (isContextApi(name) || isSyncApi(name) || isCallbackApi(name)) {
  378. return false;
  379. }
  380. return true;
  381. }
  382. /* eslint-disable no-extend-native */
  383. if (!Promise.prototype.finally) {
  384. Promise.prototype.finally = function (callback) {
  385. var promise = this.constructor;
  386. return this.then(function (value) {
  387. return promise.resolve(callback()).then(function () {
  388. return value;
  389. });
  390. }, function (reason) {
  391. return promise.resolve(callback()).then(function () {
  392. throw reason;
  393. });
  394. });
  395. };
  396. }
  397. function promisify(name, api) {
  398. if (!shouldPromise(name) || !isFn(api)) {
  399. return api;
  400. }
  401. return function promiseApi() {
  402. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  403. for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
  404. params[_key2 - 1] = arguments[_key2];
  405. }
  406. if (isFn(options.success) || isFn(options.fail) || isFn(options.complete)) {
  407. return wrapperReturnValue(name, invokeApi.apply(void 0, [name, api, options].concat(params)));
  408. }
  409. return wrapperReturnValue(name, handlePromise(new Promise(function (resolve, reject) {
  410. invokeApi.apply(void 0, [name, api, Object.assign({}, options, {
  411. success: resolve,
  412. fail: reject
  413. })].concat(params));
  414. })));
  415. };
  416. }
  417. var EPS = 1e-4;
  418. var BASE_DEVICE_WIDTH = 750;
  419. var isIOS = false;
  420. var deviceWidth = 0;
  421. var deviceDPR = 0;
  422. function checkDeviceWidth() {
  423. var _wx$getSystemInfoSync = wx.getSystemInfoSync(),
  424. platform = _wx$getSystemInfoSync.platform,
  425. pixelRatio = _wx$getSystemInfoSync.pixelRatio,
  426. windowWidth = _wx$getSystemInfoSync.windowWidth; // uni=>wx runtime 编译目标是 uni 对象,内部不允许直接使用 uni
  427. deviceWidth = windowWidth;
  428. deviceDPR = pixelRatio;
  429. isIOS = platform === 'ios';
  430. }
  431. function upx2px(number, newDeviceWidth) {
  432. if (deviceWidth === 0) {
  433. checkDeviceWidth();
  434. }
  435. number = Number(number);
  436. if (number === 0) {
  437. return 0;
  438. }
  439. var result = number / BASE_DEVICE_WIDTH * (newDeviceWidth || deviceWidth);
  440. if (result < 0) {
  441. result = -result;
  442. }
  443. result = Math.floor(result + EPS);
  444. if (result === 0) {
  445. if (deviceDPR === 1 || !isIOS) {
  446. result = 1;
  447. } else {
  448. result = 0.5;
  449. }
  450. }
  451. return number < 0 ? -result : result;
  452. }
  453. var LOCALE_ZH_HANS = 'zh-Hans';
  454. var LOCALE_ZH_HANT = 'zh-Hant';
  455. var LOCALE_EN = 'en';
  456. var LOCALE_FR = 'fr';
  457. var LOCALE_ES = 'es';
  458. var messages = {};
  459. var locale;
  460. {
  461. locale = normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  462. }
  463. function initI18nMessages() {
  464. if (!isEnableLocale()) {
  465. return;
  466. }
  467. var localeKeys = Object.keys(__uniConfig.locales);
  468. if (localeKeys.length) {
  469. localeKeys.forEach(function (locale) {
  470. var curMessages = messages[locale];
  471. var userMessages = __uniConfig.locales[locale];
  472. if (curMessages) {
  473. Object.assign(curMessages, userMessages);
  474. } else {
  475. messages[locale] = userMessages;
  476. }
  477. });
  478. }
  479. }
  480. initI18nMessages();
  481. var i18n = (0, _uniI18n.initVueI18n)(locale, {});
  482. var t = i18n.t;
  483. var i18nMixin = i18n.mixin = {
  484. beforeCreate: function beforeCreate() {
  485. var _this = this;
  486. var unwatch = i18n.i18n.watchLocale(function () {
  487. _this.$forceUpdate();
  488. });
  489. this.$once('hook:beforeDestroy', function () {
  490. unwatch();
  491. });
  492. },
  493. methods: {
  494. $$t: function $$t(key, values) {
  495. return t(key, values);
  496. }
  497. }
  498. };
  499. var setLocale = i18n.setLocale;
  500. var getLocale = i18n.getLocale;
  501. function initAppLocale(Vue, appVm, locale) {
  502. var state = Vue.observable({
  503. locale: locale || i18n.getLocale()
  504. });
  505. var localeWatchers = [];
  506. appVm.$watchLocale = function (fn) {
  507. localeWatchers.push(fn);
  508. };
  509. Object.defineProperty(appVm, '$locale', {
  510. get: function get() {
  511. return state.locale;
  512. },
  513. set: function set(v) {
  514. state.locale = v;
  515. localeWatchers.forEach(function (watch) {
  516. return watch(v);
  517. });
  518. }
  519. });
  520. }
  521. function isEnableLocale() {
  522. return typeof __uniConfig !== 'undefined' && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length;
  523. }
  524. function include(str, parts) {
  525. return !!parts.find(function (part) {
  526. return str.indexOf(part) !== -1;
  527. });
  528. }
  529. function startsWith(str, parts) {
  530. return parts.find(function (part) {
  531. return str.indexOf(part) === 0;
  532. });
  533. }
  534. function normalizeLocale(locale, messages) {
  535. if (!locale) {
  536. return;
  537. }
  538. locale = locale.trim().replace(/_/g, '-');
  539. if (messages && messages[locale]) {
  540. return locale;
  541. }
  542. locale = locale.toLowerCase();
  543. if (locale === 'chinese') {
  544. // 支付宝
  545. return LOCALE_ZH_HANS;
  546. }
  547. if (locale.indexOf('zh') === 0) {
  548. if (locale.indexOf('-hans') > -1) {
  549. return LOCALE_ZH_HANS;
  550. }
  551. if (locale.indexOf('-hant') > -1) {
  552. return LOCALE_ZH_HANT;
  553. }
  554. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  555. return LOCALE_ZH_HANT;
  556. }
  557. return LOCALE_ZH_HANS;
  558. }
  559. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  560. if (lang) {
  561. return lang;
  562. }
  563. }
  564. // export function initI18n() {
  565. // const localeKeys = Object.keys(__uniConfig.locales || {})
  566. // if (localeKeys.length) {
  567. // localeKeys.forEach((locale) =>
  568. // i18n.add(locale, __uniConfig.locales[locale])
  569. // )
  570. // }
  571. // }
  572. function getLocale$1() {
  573. // 优先使用 $locale
  574. if (isFn(getApp)) {
  575. var app = getApp({
  576. allowDefault: true
  577. });
  578. if (app && app.$vm) {
  579. return app.$vm.$locale;
  580. }
  581. }
  582. return normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN;
  583. }
  584. function setLocale$1(locale) {
  585. var app = isFn(getApp) ? getApp() : false;
  586. if (!app) {
  587. return false;
  588. }
  589. var oldLocale = app.$vm.$locale;
  590. if (oldLocale !== locale) {
  591. app.$vm.$locale = locale;
  592. onLocaleChangeCallbacks.forEach(function (fn) {
  593. return fn({
  594. locale: locale
  595. });
  596. });
  597. return true;
  598. }
  599. return false;
  600. }
  601. var onLocaleChangeCallbacks = [];
  602. function onLocaleChange(fn) {
  603. if (onLocaleChangeCallbacks.indexOf(fn) === -1) {
  604. onLocaleChangeCallbacks.push(fn);
  605. }
  606. }
  607. if (typeof global !== 'undefined') {
  608. global.getLocale = getLocale$1;
  609. }
  610. var interceptors = {
  611. promiseInterceptor: promiseInterceptor
  612. };
  613. var baseApi = /*#__PURE__*/Object.freeze({
  614. __proto__: null,
  615. upx2px: upx2px,
  616. getLocale: getLocale$1,
  617. setLocale: setLocale$1,
  618. onLocaleChange: onLocaleChange,
  619. addInterceptor: addInterceptor,
  620. removeInterceptor: removeInterceptor,
  621. interceptors: interceptors
  622. });
  623. function findExistsPageIndex(url) {
  624. var pages = getCurrentPages();
  625. var len = pages.length;
  626. while (len--) {
  627. var page = pages[len];
  628. if (page.$page && page.$page.fullPath === url) {
  629. return len;
  630. }
  631. }
  632. return -1;
  633. }
  634. var redirectTo = {
  635. name: function name(fromArgs) {
  636. if (fromArgs.exists === 'back' && fromArgs.delta) {
  637. return 'navigateBack';
  638. }
  639. return 'redirectTo';
  640. },
  641. args: function args(fromArgs) {
  642. if (fromArgs.exists === 'back' && fromArgs.url) {
  643. var existsPageIndex = findExistsPageIndex(fromArgs.url);
  644. if (existsPageIndex !== -1) {
  645. var delta = getCurrentPages().length - 1 - existsPageIndex;
  646. if (delta > 0) {
  647. fromArgs.delta = delta;
  648. }
  649. }
  650. }
  651. }
  652. };
  653. var previewImage = {
  654. args: function args(fromArgs) {
  655. var currentIndex = parseInt(fromArgs.current);
  656. if (isNaN(currentIndex)) {
  657. return;
  658. }
  659. var urls = fromArgs.urls;
  660. if (!Array.isArray(urls)) {
  661. return;
  662. }
  663. var len = urls.length;
  664. if (!len) {
  665. return;
  666. }
  667. if (currentIndex < 0) {
  668. currentIndex = 0;
  669. } else if (currentIndex >= len) {
  670. currentIndex = len - 1;
  671. }
  672. if (currentIndex > 0) {
  673. fromArgs.current = urls[currentIndex];
  674. fromArgs.urls = urls.filter(function (item, index) {
  675. return index < currentIndex ? item !== urls[currentIndex] : true;
  676. });
  677. } else {
  678. fromArgs.current = urls[0];
  679. }
  680. return {
  681. indicator: false,
  682. loop: false
  683. };
  684. }
  685. };
  686. var UUID_KEY = '__DC_STAT_UUID';
  687. var deviceId;
  688. function useDeviceId(result) {
  689. deviceId = deviceId || wx.getStorageSync(UUID_KEY);
  690. if (!deviceId) {
  691. deviceId = Date.now() + '' + Math.floor(Math.random() * 1e7);
  692. wx.setStorage({
  693. key: UUID_KEY,
  694. data: deviceId
  695. });
  696. }
  697. result.deviceId = deviceId;
  698. }
  699. function addSafeAreaInsets(result) {
  700. if (result.safeArea) {
  701. var safeArea = result.safeArea;
  702. result.safeAreaInsets = {
  703. top: safeArea.top,
  704. left: safeArea.left,
  705. right: result.windowWidth - safeArea.right,
  706. bottom: result.screenHeight - safeArea.bottom
  707. };
  708. }
  709. }
  710. function populateParameters(result) {
  711. var _result$brand = result.brand,
  712. brand = _result$brand === void 0 ? '' : _result$brand,
  713. _result$model = result.model,
  714. model = _result$model === void 0 ? '' : _result$model,
  715. _result$system = result.system,
  716. system = _result$system === void 0 ? '' : _result$system,
  717. _result$language = result.language,
  718. language = _result$language === void 0 ? '' : _result$language,
  719. theme = result.theme,
  720. version = result.version,
  721. platform = result.platform,
  722. fontSizeSetting = result.fontSizeSetting,
  723. SDKVersion = result.SDKVersion,
  724. pixelRatio = result.pixelRatio,
  725. deviceOrientation = result.deviceOrientation;
  726. // const isQuickApp = "mp-weixin".indexOf('quickapp-webview') !== -1
  727. var extraParam = {};
  728. // osName osVersion
  729. var osName = '';
  730. var osVersion = '';
  731. {
  732. osName = system.split(' ')[0] || '';
  733. osVersion = system.split(' ')[1] || '';
  734. }
  735. var hostVersion = version;
  736. // deviceType
  737. var deviceType = getGetDeviceType(result, model);
  738. // deviceModel
  739. var deviceBrand = getDeviceBrand(brand);
  740. // hostName
  741. var _hostName = getHostName(result);
  742. // deviceOrientation
  743. var _deviceOrientation = deviceOrientation; // 仅 微信 百度 支持
  744. // devicePixelRatio
  745. var _devicePixelRatio = pixelRatio;
  746. // SDKVersion
  747. var _SDKVersion = SDKVersion;
  748. // hostLanguage
  749. var hostLanguage = language.replace(/_/g, '-');
  750. // wx.getAccountInfoSync
  751. var parameters = {
  752. appId: "__UNI__434FDE4",
  753. appName: "lab-equipment-mini-program",
  754. appVersion: "1.0.0",
  755. appVersionCode: "100",
  756. appLanguage: getAppLanguage(hostLanguage),
  757. uniCompileVersion: "3.7.3",
  758. uniRuntimeVersion: "3.7.3",
  759. uniPlatform: undefined || "mp-weixin",
  760. deviceBrand: deviceBrand,
  761. deviceModel: model,
  762. deviceType: deviceType,
  763. devicePixelRatio: _devicePixelRatio,
  764. deviceOrientation: _deviceOrientation,
  765. osName: osName.toLocaleLowerCase(),
  766. osVersion: osVersion,
  767. hostTheme: theme,
  768. hostVersion: hostVersion,
  769. hostLanguage: hostLanguage,
  770. hostName: _hostName,
  771. hostSDKVersion: _SDKVersion,
  772. hostFontSizeSetting: fontSizeSetting,
  773. windowTop: 0,
  774. windowBottom: 0,
  775. // TODO
  776. osLanguage: undefined,
  777. osTheme: undefined,
  778. ua: undefined,
  779. hostPackageName: undefined,
  780. browserName: undefined,
  781. browserVersion: undefined
  782. };
  783. Object.assign(result, parameters, extraParam);
  784. }
  785. function getGetDeviceType(result, model) {
  786. var deviceType = result.deviceType || 'phone';
  787. {
  788. var deviceTypeMaps = {
  789. ipad: 'pad',
  790. windows: 'pc',
  791. mac: 'pc'
  792. };
  793. var deviceTypeMapsKeys = Object.keys(deviceTypeMaps);
  794. var _model = model.toLocaleLowerCase();
  795. for (var index = 0; index < deviceTypeMapsKeys.length; index++) {
  796. var _m = deviceTypeMapsKeys[index];
  797. if (_model.indexOf(_m) !== -1) {
  798. deviceType = deviceTypeMaps[_m];
  799. break;
  800. }
  801. }
  802. }
  803. return deviceType;
  804. }
  805. function getDeviceBrand(brand) {
  806. var deviceBrand = brand;
  807. if (deviceBrand) {
  808. deviceBrand = brand.toLocaleLowerCase();
  809. }
  810. return deviceBrand;
  811. }
  812. function getAppLanguage(defaultLanguage) {
  813. return getLocale$1 ? getLocale$1() : defaultLanguage;
  814. }
  815. function getHostName(result) {
  816. var _platform = 'WeChat';
  817. var _hostName = result.hostName || _platform; // mp-jd
  818. {
  819. if (result.environment) {
  820. _hostName = result.environment;
  821. } else if (result.host && result.host.env) {
  822. _hostName = result.host.env;
  823. }
  824. }
  825. return _hostName;
  826. }
  827. var getSystemInfo = {
  828. returnValue: function returnValue(result) {
  829. useDeviceId(result);
  830. addSafeAreaInsets(result);
  831. populateParameters(result);
  832. }
  833. };
  834. var showActionSheet = {
  835. args: function args(fromArgs) {
  836. if ((0, _typeof2.default)(fromArgs) === 'object') {
  837. fromArgs.alertText = fromArgs.title;
  838. }
  839. }
  840. };
  841. var getAppBaseInfo = {
  842. returnValue: function returnValue(result) {
  843. var _result = result,
  844. version = _result.version,
  845. language = _result.language,
  846. SDKVersion = _result.SDKVersion,
  847. theme = _result.theme;
  848. var _hostName = getHostName(result);
  849. var hostLanguage = language.replace('_', '-');
  850. result = sortObject(Object.assign(result, {
  851. appId: "__UNI__434FDE4",
  852. appName: "lab-equipment-mini-program",
  853. appVersion: "1.0.0",
  854. appVersionCode: "100",
  855. appLanguage: getAppLanguage(hostLanguage),
  856. hostVersion: version,
  857. hostLanguage: hostLanguage,
  858. hostName: _hostName,
  859. hostSDKVersion: SDKVersion,
  860. hostTheme: theme
  861. }));
  862. }
  863. };
  864. var getDeviceInfo = {
  865. returnValue: function returnValue(result) {
  866. var _result2 = result,
  867. brand = _result2.brand,
  868. model = _result2.model;
  869. var deviceType = getGetDeviceType(result, model);
  870. var deviceBrand = getDeviceBrand(brand);
  871. useDeviceId(result);
  872. result = sortObject(Object.assign(result, {
  873. deviceType: deviceType,
  874. deviceBrand: deviceBrand,
  875. deviceModel: model
  876. }));
  877. }
  878. };
  879. var getWindowInfo = {
  880. returnValue: function returnValue(result) {
  881. addSafeAreaInsets(result);
  882. result = sortObject(Object.assign(result, {
  883. windowTop: 0,
  884. windowBottom: 0
  885. }));
  886. }
  887. };
  888. var getAppAuthorizeSetting = {
  889. returnValue: function returnValue(result) {
  890. var locationReducedAccuracy = result.locationReducedAccuracy;
  891. result.locationAccuracy = 'unsupported';
  892. if (locationReducedAccuracy === true) {
  893. result.locationAccuracy = 'reduced';
  894. } else if (locationReducedAccuracy === false) {
  895. result.locationAccuracy = 'full';
  896. }
  897. }
  898. };
  899. // import navigateTo from 'uni-helpers/navigate-to'
  900. var compressImage = {
  901. args: function args(fromArgs) {
  902. // https://developers.weixin.qq.com/community/develop/doc/000c08940c865011298e0a43256800?highLine=compressHeight
  903. if (fromArgs.compressedHeight && !fromArgs.compressHeight) {
  904. fromArgs.compressHeight = fromArgs.compressedHeight;
  905. }
  906. if (fromArgs.compressedWidth && !fromArgs.compressWidth) {
  907. fromArgs.compressWidth = fromArgs.compressedWidth;
  908. }
  909. }
  910. };
  911. var protocols = {
  912. redirectTo: redirectTo,
  913. // navigateTo, // 由于在微信开发者工具的页面参数,会显示__id__参数,因此暂时关闭mp-weixin对于navigateTo的AOP
  914. previewImage: previewImage,
  915. getSystemInfo: getSystemInfo,
  916. getSystemInfoSync: getSystemInfo,
  917. showActionSheet: showActionSheet,
  918. getAppBaseInfo: getAppBaseInfo,
  919. getDeviceInfo: getDeviceInfo,
  920. getWindowInfo: getWindowInfo,
  921. getAppAuthorizeSetting: getAppAuthorizeSetting,
  922. compressImage: compressImage
  923. };
  924. var todos = ['vibrate', 'preloadPage', 'unPreloadPage', 'loadSubPackage'];
  925. var canIUses = [];
  926. var CALLBACKS = ['success', 'fail', 'cancel', 'complete'];
  927. function processCallback(methodName, method, returnValue) {
  928. return function (res) {
  929. return method(processReturnValue(methodName, res, returnValue));
  930. };
  931. }
  932. function processArgs(methodName, fromArgs) {
  933. var argsOption = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  934. var returnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
  935. var keepFromArgs = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
  936. if (isPlainObject(fromArgs)) {
  937. // 一般 api 的参数解析
  938. var toArgs = keepFromArgs === true ? fromArgs : {}; // returnValue 为 false 时,说明是格式化返回值,直接在返回值对象上修改赋值
  939. if (isFn(argsOption)) {
  940. argsOption = argsOption(fromArgs, toArgs) || {};
  941. }
  942. for (var key in fromArgs) {
  943. if (hasOwn(argsOption, key)) {
  944. var keyOption = argsOption[key];
  945. if (isFn(keyOption)) {
  946. keyOption = keyOption(fromArgs[key], fromArgs, toArgs);
  947. }
  948. if (!keyOption) {
  949. // 不支持的参数
  950. console.warn("The '".concat(methodName, "' method of platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support option '").concat(key, "'"));
  951. } else if (isStr(keyOption)) {
  952. // 重写参数 key
  953. toArgs[keyOption] = fromArgs[key];
  954. } else if (isPlainObject(keyOption)) {
  955. // {name:newName,value:value}可重新指定参数 key:value
  956. toArgs[keyOption.name ? keyOption.name : key] = keyOption.value;
  957. }
  958. } else if (CALLBACKS.indexOf(key) !== -1) {
  959. if (isFn(fromArgs[key])) {
  960. toArgs[key] = processCallback(methodName, fromArgs[key], returnValue);
  961. }
  962. } else {
  963. if (!keepFromArgs) {
  964. toArgs[key] = fromArgs[key];
  965. }
  966. }
  967. }
  968. return toArgs;
  969. } else if (isFn(fromArgs)) {
  970. fromArgs = processCallback(methodName, fromArgs, returnValue);
  971. }
  972. return fromArgs;
  973. }
  974. function processReturnValue(methodName, res, returnValue) {
  975. var keepReturnValue = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
  976. if (isFn(protocols.returnValue)) {
  977. // 处理通用 returnValue
  978. res = protocols.returnValue(methodName, res);
  979. }
  980. return processArgs(methodName, res, returnValue, {}, keepReturnValue);
  981. }
  982. function wrapper(methodName, method) {
  983. if (hasOwn(protocols, methodName)) {
  984. var protocol = protocols[methodName];
  985. if (!protocol) {
  986. // 暂不支持的 api
  987. return function () {
  988. console.error("Platform '\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F' does not support '".concat(methodName, "'."));
  989. };
  990. }
  991. return function (arg1, arg2) {
  992. // 目前 api 最多两个参数
  993. var options = protocol;
  994. if (isFn(protocol)) {
  995. options = protocol(arg1);
  996. }
  997. arg1 = processArgs(methodName, arg1, options.args, options.returnValue);
  998. var args = [arg1];
  999. if (typeof arg2 !== 'undefined') {
  1000. args.push(arg2);
  1001. }
  1002. if (isFn(options.name)) {
  1003. methodName = options.name(arg1);
  1004. } else if (isStr(options.name)) {
  1005. methodName = options.name;
  1006. }
  1007. var returnValue = wx[methodName].apply(wx, args);
  1008. if (isSyncApi(methodName)) {
  1009. // 同步 api
  1010. return processReturnValue(methodName, returnValue, options.returnValue, isContextApi(methodName));
  1011. }
  1012. return returnValue;
  1013. };
  1014. }
  1015. return method;
  1016. }
  1017. var todoApis = Object.create(null);
  1018. var TODOS = ['onTabBarMidButtonTap', 'subscribePush', 'unsubscribePush', 'onPush', 'offPush', 'share'];
  1019. function createTodoApi(name) {
  1020. return function todoApi(_ref) {
  1021. var fail = _ref.fail,
  1022. complete = _ref.complete;
  1023. var res = {
  1024. errMsg: "".concat(name, ":fail method '").concat(name, "' not supported")
  1025. };
  1026. isFn(fail) && fail(res);
  1027. isFn(complete) && complete(res);
  1028. };
  1029. }
  1030. TODOS.forEach(function (name) {
  1031. todoApis[name] = createTodoApi(name);
  1032. });
  1033. var providers = {
  1034. oauth: ['weixin'],
  1035. share: ['weixin'],
  1036. payment: ['wxpay'],
  1037. push: ['weixin']
  1038. };
  1039. function getProvider(_ref2) {
  1040. var service = _ref2.service,
  1041. success = _ref2.success,
  1042. fail = _ref2.fail,
  1043. complete = _ref2.complete;
  1044. var res = false;
  1045. if (providers[service]) {
  1046. res = {
  1047. errMsg: 'getProvider:ok',
  1048. service: service,
  1049. provider: providers[service]
  1050. };
  1051. isFn(success) && success(res);
  1052. } else {
  1053. res = {
  1054. errMsg: 'getProvider:fail service not found'
  1055. };
  1056. isFn(fail) && fail(res);
  1057. }
  1058. isFn(complete) && complete(res);
  1059. }
  1060. var extraApi = /*#__PURE__*/Object.freeze({
  1061. __proto__: null,
  1062. getProvider: getProvider
  1063. });
  1064. var getEmitter = function () {
  1065. var Emitter;
  1066. return function getUniEmitter() {
  1067. if (!Emitter) {
  1068. Emitter = new _vue.default();
  1069. }
  1070. return Emitter;
  1071. };
  1072. }();
  1073. function apply(ctx, method, args) {
  1074. return ctx[method].apply(ctx, args);
  1075. }
  1076. function $on() {
  1077. return apply(getEmitter(), '$on', Array.prototype.slice.call(arguments));
  1078. }
  1079. function $off() {
  1080. return apply(getEmitter(), '$off', Array.prototype.slice.call(arguments));
  1081. }
  1082. function $once() {
  1083. return apply(getEmitter(), '$once', Array.prototype.slice.call(arguments));
  1084. }
  1085. function $emit() {
  1086. return apply(getEmitter(), '$emit', Array.prototype.slice.call(arguments));
  1087. }
  1088. var eventApi = /*#__PURE__*/Object.freeze({
  1089. __proto__: null,
  1090. $on: $on,
  1091. $off: $off,
  1092. $once: $once,
  1093. $emit: $emit
  1094. });
  1095. /**
  1096. * 框架内 try-catch
  1097. */
  1098. /**
  1099. * 开发者 try-catch
  1100. */
  1101. function tryCatch(fn) {
  1102. return function () {
  1103. try {
  1104. return fn.apply(fn, arguments);
  1105. } catch (e) {
  1106. // TODO
  1107. console.error(e);
  1108. }
  1109. };
  1110. }
  1111. function getApiCallbacks(params) {
  1112. var apiCallbacks = {};
  1113. for (var name in params) {
  1114. var param = params[name];
  1115. if (isFn(param)) {
  1116. apiCallbacks[name] = tryCatch(param);
  1117. delete params[name];
  1118. }
  1119. }
  1120. return apiCallbacks;
  1121. }
  1122. var cid;
  1123. var cidErrMsg;
  1124. var enabled;
  1125. function normalizePushMessage(message) {
  1126. try {
  1127. return JSON.parse(message);
  1128. } catch (e) {}
  1129. return message;
  1130. }
  1131. function invokePushCallback(args) {
  1132. if (args.type === 'enabled') {
  1133. enabled = true;
  1134. } else if (args.type === 'clientId') {
  1135. cid = args.cid;
  1136. cidErrMsg = args.errMsg;
  1137. invokeGetPushCidCallbacks(cid, args.errMsg);
  1138. } else if (args.type === 'pushMsg') {
  1139. var message = {
  1140. type: 'receive',
  1141. data: normalizePushMessage(args.message)
  1142. };
  1143. for (var i = 0; i < onPushMessageCallbacks.length; i++) {
  1144. var callback = onPushMessageCallbacks[i];
  1145. callback(message);
  1146. // 该消息已被阻止
  1147. if (message.stopped) {
  1148. break;
  1149. }
  1150. }
  1151. } else if (args.type === 'click') {
  1152. onPushMessageCallbacks.forEach(function (callback) {
  1153. callback({
  1154. type: 'click',
  1155. data: normalizePushMessage(args.message)
  1156. });
  1157. });
  1158. }
  1159. }
  1160. var getPushCidCallbacks = [];
  1161. function invokeGetPushCidCallbacks(cid, errMsg) {
  1162. getPushCidCallbacks.forEach(function (callback) {
  1163. callback(cid, errMsg);
  1164. });
  1165. getPushCidCallbacks.length = 0;
  1166. }
  1167. function getPushClientId(args) {
  1168. if (!isPlainObject(args)) {
  1169. args = {};
  1170. }
  1171. var _getApiCallbacks = getApiCallbacks(args),
  1172. success = _getApiCallbacks.success,
  1173. fail = _getApiCallbacks.fail,
  1174. complete = _getApiCallbacks.complete;
  1175. var hasSuccess = isFn(success);
  1176. var hasFail = isFn(fail);
  1177. var hasComplete = isFn(complete);
  1178. Promise.resolve().then(function () {
  1179. if (typeof enabled === 'undefined') {
  1180. enabled = false;
  1181. cid = '';
  1182. cidErrMsg = 'uniPush is not enabled';
  1183. }
  1184. getPushCidCallbacks.push(function (cid, errMsg) {
  1185. var res;
  1186. if (cid) {
  1187. res = {
  1188. errMsg: 'getPushClientId:ok',
  1189. cid: cid
  1190. };
  1191. hasSuccess && success(res);
  1192. } else {
  1193. res = {
  1194. errMsg: 'getPushClientId:fail' + (errMsg ? ' ' + errMsg : '')
  1195. };
  1196. hasFail && fail(res);
  1197. }
  1198. hasComplete && complete(res);
  1199. });
  1200. if (typeof cid !== 'undefined') {
  1201. invokeGetPushCidCallbacks(cid, cidErrMsg);
  1202. }
  1203. });
  1204. }
  1205. var onPushMessageCallbacks = [];
  1206. // 不使用 defineOnApi 实现,是因为 defineOnApi 依赖 UniServiceJSBridge ,该对象目前在小程序上未提供,故简单实现
  1207. var onPushMessage = function onPushMessage(fn) {
  1208. if (onPushMessageCallbacks.indexOf(fn) === -1) {
  1209. onPushMessageCallbacks.push(fn);
  1210. }
  1211. };
  1212. var offPushMessage = function offPushMessage(fn) {
  1213. if (!fn) {
  1214. onPushMessageCallbacks.length = 0;
  1215. } else {
  1216. var index = onPushMessageCallbacks.indexOf(fn);
  1217. if (index > -1) {
  1218. onPushMessageCallbacks.splice(index, 1);
  1219. }
  1220. }
  1221. };
  1222. var baseInfo = wx.getAppBaseInfo && wx.getAppBaseInfo();
  1223. if (!baseInfo) {
  1224. baseInfo = wx.getSystemInfoSync();
  1225. }
  1226. var host = baseInfo ? baseInfo.host : null;
  1227. var shareVideoMessage = host && host.env === 'SAAASDK' ? wx.miniapp.shareVideoMessage : wx.shareVideoMessage;
  1228. var api = /*#__PURE__*/Object.freeze({
  1229. __proto__: null,
  1230. shareVideoMessage: shareVideoMessage,
  1231. getPushClientId: getPushClientId,
  1232. onPushMessage: onPushMessage,
  1233. offPushMessage: offPushMessage,
  1234. invokePushCallback: invokePushCallback
  1235. });
  1236. var mocks = ['__route__', '__wxExparserNodeId__', '__wxWebviewId__'];
  1237. function findVmByVueId(vm, vuePid) {
  1238. var $children = vm.$children;
  1239. // 优先查找直属(反向查找:https://github.com/dcloudio/uni-app/issues/1200)
  1240. for (var i = $children.length - 1; i >= 0; i--) {
  1241. var childVm = $children[i];
  1242. if (childVm.$scope._$vueId === vuePid) {
  1243. return childVm;
  1244. }
  1245. }
  1246. // 反向递归查找
  1247. var parentVm;
  1248. for (var _i = $children.length - 1; _i >= 0; _i--) {
  1249. parentVm = findVmByVueId($children[_i], vuePid);
  1250. if (parentVm) {
  1251. return parentVm;
  1252. }
  1253. }
  1254. }
  1255. function initBehavior(options) {
  1256. return Behavior(options);
  1257. }
  1258. function isPage() {
  1259. return !!this.route;
  1260. }
  1261. function initRelation(detail) {
  1262. this.triggerEvent('__l', detail);
  1263. }
  1264. function selectAllComponents(mpInstance, selector, $refs) {
  1265. var components = mpInstance.selectAllComponents(selector) || [];
  1266. components.forEach(function (component) {
  1267. var ref = component.dataset.ref;
  1268. $refs[ref] = component.$vm || toSkip(component);
  1269. {
  1270. if (component.dataset.vueGeneric === 'scoped') {
  1271. component.selectAllComponents('.scoped-ref').forEach(function (scopedComponent) {
  1272. selectAllComponents(scopedComponent, selector, $refs);
  1273. });
  1274. }
  1275. }
  1276. });
  1277. }
  1278. function syncRefs(refs, newRefs) {
  1279. var oldKeys = (0, _construct2.default)(Set, (0, _toConsumableArray2.default)(Object.keys(refs)));
  1280. var newKeys = Object.keys(newRefs);
  1281. newKeys.forEach(function (key) {
  1282. var oldValue = refs[key];
  1283. var newValue = newRefs[key];
  1284. if (Array.isArray(oldValue) && Array.isArray(newValue) && oldValue.length === newValue.length && newValue.every(function (value) {
  1285. return oldValue.includes(value);
  1286. })) {
  1287. return;
  1288. }
  1289. refs[key] = newValue;
  1290. oldKeys.delete(key);
  1291. });
  1292. oldKeys.forEach(function (key) {
  1293. delete refs[key];
  1294. });
  1295. return refs;
  1296. }
  1297. function initRefs(vm) {
  1298. var mpInstance = vm.$scope;
  1299. var refs = {};
  1300. Object.defineProperty(vm, '$refs', {
  1301. get: function get() {
  1302. var $refs = {};
  1303. selectAllComponents(mpInstance, '.vue-ref', $refs);
  1304. // TODO 暂不考虑 for 中的 scoped
  1305. var forComponents = mpInstance.selectAllComponents('.vue-ref-in-for') || [];
  1306. forComponents.forEach(function (component) {
  1307. var ref = component.dataset.ref;
  1308. if (!$refs[ref]) {
  1309. $refs[ref] = [];
  1310. }
  1311. $refs[ref].push(component.$vm || toSkip(component));
  1312. });
  1313. return syncRefs(refs, $refs);
  1314. }
  1315. });
  1316. }
  1317. function handleLink(event) {
  1318. var _ref3 = event.detail || event.value,
  1319. vuePid = _ref3.vuePid,
  1320. vueOptions = _ref3.vueOptions; // detail 是微信,value 是百度(dipatch)
  1321. var parentVm;
  1322. if (vuePid) {
  1323. parentVm = findVmByVueId(this.$vm, vuePid);
  1324. }
  1325. if (!parentVm) {
  1326. parentVm = this.$vm;
  1327. }
  1328. vueOptions.parent = parentVm;
  1329. }
  1330. function markMPComponent(component) {
  1331. // 在 Vue 中标记为小程序组件
  1332. var IS_MP = '__v_isMPComponent';
  1333. Object.defineProperty(component, IS_MP, {
  1334. configurable: true,
  1335. enumerable: false,
  1336. value: true
  1337. });
  1338. return component;
  1339. }
  1340. function toSkip(obj) {
  1341. var OB = '__ob__';
  1342. var SKIP = '__v_skip';
  1343. if (isObject(obj) && Object.isExtensible(obj)) {
  1344. // 避免被 @vue/composition-api 观测
  1345. Object.defineProperty(obj, OB, {
  1346. configurable: true,
  1347. enumerable: false,
  1348. value: (0, _defineProperty2.default)({}, SKIP, true)
  1349. });
  1350. }
  1351. return obj;
  1352. }
  1353. var MPPage = Page;
  1354. var MPComponent = Component;
  1355. var customizeRE = /:/g;
  1356. var customize = cached(function (str) {
  1357. return camelize(str.replace(customizeRE, '-'));
  1358. });
  1359. function initTriggerEvent(mpInstance) {
  1360. var oldTriggerEvent = mpInstance.triggerEvent;
  1361. var newTriggerEvent = function newTriggerEvent(event) {
  1362. for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
  1363. args[_key3 - 1] = arguments[_key3];
  1364. }
  1365. // 事件名统一转驼峰格式,仅处理:当前组件为 vue 组件、当前组件为 vue 组件子组件
  1366. if (this.$vm || this.dataset && this.dataset.comType) {
  1367. event = customize(event);
  1368. } else {
  1369. // 针对微信/QQ小程序单独补充驼峰格式事件,以兼容历史项目
  1370. var newEvent = customize(event);
  1371. if (newEvent !== event) {
  1372. oldTriggerEvent.apply(this, [newEvent].concat(args));
  1373. }
  1374. }
  1375. return oldTriggerEvent.apply(this, [event].concat(args));
  1376. };
  1377. try {
  1378. // 京东小程序 triggerEvent 为只读
  1379. mpInstance.triggerEvent = newTriggerEvent;
  1380. } catch (error) {
  1381. mpInstance._triggerEvent = newTriggerEvent;
  1382. }
  1383. }
  1384. function initHook(name, options, isComponent) {
  1385. var oldHook = options[name];
  1386. options[name] = function () {
  1387. markMPComponent(this);
  1388. initTriggerEvent(this);
  1389. if (oldHook) {
  1390. for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  1391. args[_key4] = arguments[_key4];
  1392. }
  1393. return oldHook.apply(this, args);
  1394. }
  1395. };
  1396. }
  1397. if (!MPPage.__$wrappered) {
  1398. MPPage.__$wrappered = true;
  1399. Page = function Page() {
  1400. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1401. initHook('onLoad', options);
  1402. return MPPage(options);
  1403. };
  1404. Page.after = MPPage.after;
  1405. Component = function Component() {
  1406. var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  1407. initHook('created', options);
  1408. return MPComponent(options);
  1409. };
  1410. }
  1411. var PAGE_EVENT_HOOKS = ['onPullDownRefresh', 'onReachBottom', 'onAddToFavorites', 'onShareTimeline', 'onShareAppMessage', 'onPageScroll', 'onResize', 'onTabItemTap'];
  1412. function initMocks(vm, mocks) {
  1413. var mpInstance = vm.$mp[vm.mpType];
  1414. mocks.forEach(function (mock) {
  1415. if (hasOwn(mpInstance, mock)) {
  1416. vm[mock] = mpInstance[mock];
  1417. }
  1418. });
  1419. }
  1420. function hasHook(hook, vueOptions) {
  1421. if (!vueOptions) {
  1422. return true;
  1423. }
  1424. if (_vue.default.options && Array.isArray(_vue.default.options[hook])) {
  1425. return true;
  1426. }
  1427. vueOptions = vueOptions.default || vueOptions;
  1428. if (isFn(vueOptions)) {
  1429. if (isFn(vueOptions.extendOptions[hook])) {
  1430. return true;
  1431. }
  1432. if (vueOptions.super && vueOptions.super.options && Array.isArray(vueOptions.super.options[hook])) {
  1433. return true;
  1434. }
  1435. return false;
  1436. }
  1437. if (isFn(vueOptions[hook]) || Array.isArray(vueOptions[hook])) {
  1438. return true;
  1439. }
  1440. var mixins = vueOptions.mixins;
  1441. if (Array.isArray(mixins)) {
  1442. return !!mixins.find(function (mixin) {
  1443. return hasHook(hook, mixin);
  1444. });
  1445. }
  1446. }
  1447. function initHooks(mpOptions, hooks, vueOptions) {
  1448. hooks.forEach(function (hook) {
  1449. if (hasHook(hook, vueOptions)) {
  1450. mpOptions[hook] = function (args) {
  1451. return this.$vm && this.$vm.__call_hook(hook, args);
  1452. };
  1453. }
  1454. });
  1455. }
  1456. function initUnknownHooks(mpOptions, vueOptions) {
  1457. var excludes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1458. findHooks(vueOptions).forEach(function (hook) {
  1459. return initHook$1(mpOptions, hook, excludes);
  1460. });
  1461. }
  1462. function findHooks(vueOptions) {
  1463. var hooks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  1464. if (vueOptions) {
  1465. Object.keys(vueOptions).forEach(function (name) {
  1466. if (name.indexOf('on') === 0 && isFn(vueOptions[name])) {
  1467. hooks.push(name);
  1468. }
  1469. });
  1470. }
  1471. return hooks;
  1472. }
  1473. function initHook$1(mpOptions, hook, excludes) {
  1474. if (excludes.indexOf(hook) === -1 && !hasOwn(mpOptions, hook)) {
  1475. mpOptions[hook] = function (args) {
  1476. return this.$vm && this.$vm.__call_hook(hook, args);
  1477. };
  1478. }
  1479. }
  1480. function initVueComponent(Vue, vueOptions) {
  1481. vueOptions = vueOptions.default || vueOptions;
  1482. var VueComponent;
  1483. if (isFn(vueOptions)) {
  1484. VueComponent = vueOptions;
  1485. } else {
  1486. VueComponent = Vue.extend(vueOptions);
  1487. }
  1488. vueOptions = VueComponent.options;
  1489. return [VueComponent, vueOptions];
  1490. }
  1491. function initSlots(vm, vueSlots) {
  1492. if (Array.isArray(vueSlots) && vueSlots.length) {
  1493. var $slots = Object.create(null);
  1494. vueSlots.forEach(function (slotName) {
  1495. $slots[slotName] = true;
  1496. });
  1497. vm.$scopedSlots = vm.$slots = $slots;
  1498. }
  1499. }
  1500. function initVueIds(vueIds, mpInstance) {
  1501. vueIds = (vueIds || '').split(',');
  1502. var len = vueIds.length;
  1503. if (len === 1) {
  1504. mpInstance._$vueId = vueIds[0];
  1505. } else if (len === 2) {
  1506. mpInstance._$vueId = vueIds[0];
  1507. mpInstance._$vuePid = vueIds[1];
  1508. }
  1509. }
  1510. function initData(vueOptions, context) {
  1511. var data = vueOptions.data || {};
  1512. var methods = vueOptions.methods || {};
  1513. if (typeof data === 'function') {
  1514. try {
  1515. data = data.call(context); // 支持 Vue.prototype 上挂的数据
  1516. } catch (e) {
  1517. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  1518. console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
  1519. }
  1520. }
  1521. } else {
  1522. try {
  1523. // 对 data 格式化
  1524. data = JSON.parse(JSON.stringify(data));
  1525. } catch (e) {}
  1526. }
  1527. if (!isPlainObject(data)) {
  1528. data = {};
  1529. }
  1530. Object.keys(methods).forEach(function (methodName) {
  1531. if (context.__lifecycle_hooks__.indexOf(methodName) === -1 && !hasOwn(data, methodName)) {
  1532. data[methodName] = methods[methodName];
  1533. }
  1534. });
  1535. return data;
  1536. }
  1537. var PROP_TYPES = [String, Number, Boolean, Object, Array, null];
  1538. function createObserver(name) {
  1539. return function observer(newVal, oldVal) {
  1540. if (this.$vm) {
  1541. this.$vm[name] = newVal; // 为了触发其他非 render watcher
  1542. }
  1543. };
  1544. }
  1545. function initBehaviors(vueOptions, initBehavior) {
  1546. var vueBehaviors = vueOptions.behaviors;
  1547. var vueExtends = vueOptions.extends;
  1548. var vueMixins = vueOptions.mixins;
  1549. var vueProps = vueOptions.props;
  1550. if (!vueProps) {
  1551. vueOptions.props = vueProps = [];
  1552. }
  1553. var behaviors = [];
  1554. if (Array.isArray(vueBehaviors)) {
  1555. vueBehaviors.forEach(function (behavior) {
  1556. behaviors.push(behavior.replace('uni://', "wx".concat("://")));
  1557. if (behavior === 'uni://form-field') {
  1558. if (Array.isArray(vueProps)) {
  1559. vueProps.push('name');
  1560. vueProps.push('value');
  1561. } else {
  1562. vueProps.name = {
  1563. type: String,
  1564. default: ''
  1565. };
  1566. vueProps.value = {
  1567. type: [String, Number, Boolean, Array, Object, Date],
  1568. default: ''
  1569. };
  1570. }
  1571. }
  1572. });
  1573. }
  1574. if (isPlainObject(vueExtends) && vueExtends.props) {
  1575. behaviors.push(initBehavior({
  1576. properties: initProperties(vueExtends.props, true)
  1577. }));
  1578. }
  1579. if (Array.isArray(vueMixins)) {
  1580. vueMixins.forEach(function (vueMixin) {
  1581. if (isPlainObject(vueMixin) && vueMixin.props) {
  1582. behaviors.push(initBehavior({
  1583. properties: initProperties(vueMixin.props, true)
  1584. }));
  1585. }
  1586. });
  1587. }
  1588. return behaviors;
  1589. }
  1590. function parsePropType(key, type, defaultValue, file) {
  1591. // [String]=>String
  1592. if (Array.isArray(type) && type.length === 1) {
  1593. return type[0];
  1594. }
  1595. return type;
  1596. }
  1597. function initProperties(props) {
  1598. var isBehavior = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  1599. var file = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
  1600. var options = arguments.length > 3 ? arguments[3] : undefined;
  1601. var properties = {};
  1602. if (!isBehavior) {
  1603. properties.vueId = {
  1604. type: String,
  1605. value: ''
  1606. };
  1607. {
  1608. if (options.virtualHost) {
  1609. properties.virtualHostStyle = {
  1610. type: null,
  1611. value: ''
  1612. };
  1613. properties.virtualHostClass = {
  1614. type: null,
  1615. value: ''
  1616. };
  1617. }
  1618. }
  1619. // scopedSlotsCompiler auto
  1620. properties.scopedSlotsCompiler = {
  1621. type: String,
  1622. value: ''
  1623. };
  1624. properties.vueSlots = {
  1625. // 小程序不能直接定义 $slots 的 props,所以通过 vueSlots 转换到 $slots
  1626. type: null,
  1627. value: [],
  1628. observer: function observer(newVal, oldVal) {
  1629. var $slots = Object.create(null);
  1630. newVal.forEach(function (slotName) {
  1631. $slots[slotName] = true;
  1632. });
  1633. this.setData({
  1634. $slots: $slots
  1635. });
  1636. }
  1637. };
  1638. }
  1639. if (Array.isArray(props)) {
  1640. // ['title']
  1641. props.forEach(function (key) {
  1642. properties[key] = {
  1643. type: null,
  1644. observer: createObserver(key)
  1645. };
  1646. });
  1647. } else if (isPlainObject(props)) {
  1648. // {title:{type:String,default:''},content:String}
  1649. Object.keys(props).forEach(function (key) {
  1650. var opts = props[key];
  1651. if (isPlainObject(opts)) {
  1652. // title:{type:String,default:''}
  1653. var value = opts.default;
  1654. if (isFn(value)) {
  1655. value = value();
  1656. }
  1657. opts.type = parsePropType(key, opts.type);
  1658. properties[key] = {
  1659. type: PROP_TYPES.indexOf(opts.type) !== -1 ? opts.type : null,
  1660. value: value,
  1661. observer: createObserver(key)
  1662. };
  1663. } else {
  1664. // content:String
  1665. var type = parsePropType(key, opts);
  1666. properties[key] = {
  1667. type: PROP_TYPES.indexOf(type) !== -1 ? type : null,
  1668. observer: createObserver(key)
  1669. };
  1670. }
  1671. });
  1672. }
  1673. return properties;
  1674. }
  1675. function wrapper$1(event) {
  1676. // TODO 又得兼容 mpvue 的 mp 对象
  1677. try {
  1678. event.mp = JSON.parse(JSON.stringify(event));
  1679. } catch (e) {}
  1680. event.stopPropagation = noop;
  1681. event.preventDefault = noop;
  1682. event.target = event.target || {};
  1683. if (!hasOwn(event, 'detail')) {
  1684. event.detail = {};
  1685. }
  1686. if (hasOwn(event, 'markerId')) {
  1687. event.detail = (0, _typeof2.default)(event.detail) === 'object' ? event.detail : {};
  1688. event.detail.markerId = event.markerId;
  1689. }
  1690. if (isPlainObject(event.detail)) {
  1691. event.target = Object.assign({}, event.target, event.detail);
  1692. }
  1693. return event;
  1694. }
  1695. function getExtraValue(vm, dataPathsArray) {
  1696. var context = vm;
  1697. dataPathsArray.forEach(function (dataPathArray) {
  1698. var dataPath = dataPathArray[0];
  1699. var value = dataPathArray[2];
  1700. if (dataPath || typeof value !== 'undefined') {
  1701. // ['','',index,'disable']
  1702. var propPath = dataPathArray[1];
  1703. var valuePath = dataPathArray[3];
  1704. var vFor;
  1705. if (Number.isInteger(dataPath)) {
  1706. vFor = dataPath;
  1707. } else if (!dataPath) {
  1708. vFor = context;
  1709. } else if (typeof dataPath === 'string' && dataPath) {
  1710. if (dataPath.indexOf('#s#') === 0) {
  1711. vFor = dataPath.substr(3);
  1712. } else {
  1713. vFor = vm.__get_value(dataPath, context);
  1714. }
  1715. }
  1716. if (Number.isInteger(vFor)) {
  1717. context = value;
  1718. } else if (!propPath) {
  1719. context = vFor[value];
  1720. } else {
  1721. if (Array.isArray(vFor)) {
  1722. context = vFor.find(function (vForItem) {
  1723. return vm.__get_value(propPath, vForItem) === value;
  1724. });
  1725. } else if (isPlainObject(vFor)) {
  1726. context = Object.keys(vFor).find(function (vForKey) {
  1727. return vm.__get_value(propPath, vFor[vForKey]) === value;
  1728. });
  1729. } else {
  1730. console.error('v-for 暂不支持循环数据:', vFor);
  1731. }
  1732. }
  1733. if (valuePath) {
  1734. context = vm.__get_value(valuePath, context);
  1735. }
  1736. }
  1737. });
  1738. return context;
  1739. }
  1740. function processEventExtra(vm, extra, event, __args__) {
  1741. var extraObj = {};
  1742. if (Array.isArray(extra) && extra.length) {
  1743. /**
  1744. *[
  1745. * ['data.items', 'data.id', item.data.id],
  1746. * ['metas', 'id', meta.id]
  1747. *],
  1748. *[
  1749. * ['data.items', 'data.id', item.data.id],
  1750. * ['metas', 'id', meta.id]
  1751. *],
  1752. *'test'
  1753. */
  1754. extra.forEach(function (dataPath, index) {
  1755. if (typeof dataPath === 'string') {
  1756. if (!dataPath) {
  1757. // model,prop.sync
  1758. extraObj['$' + index] = vm;
  1759. } else {
  1760. if (dataPath === '$event') {
  1761. // $event
  1762. extraObj['$' + index] = event;
  1763. } else if (dataPath === 'arguments') {
  1764. extraObj['$' + index] = event.detail ? event.detail.__args__ || __args__ : __args__;
  1765. } else if (dataPath.indexOf('$event.') === 0) {
  1766. // $event.target.value
  1767. extraObj['$' + index] = vm.__get_value(dataPath.replace('$event.', ''), event);
  1768. } else {
  1769. extraObj['$' + index] = vm.__get_value(dataPath);
  1770. }
  1771. }
  1772. } else {
  1773. extraObj['$' + index] = getExtraValue(vm, dataPath);
  1774. }
  1775. });
  1776. }
  1777. return extraObj;
  1778. }
  1779. function getObjByArray(arr) {
  1780. var obj = {};
  1781. for (var i = 1; i < arr.length; i++) {
  1782. var element = arr[i];
  1783. obj[element[0]] = element[1];
  1784. }
  1785. return obj;
  1786. }
  1787. function processEventArgs(vm, event) {
  1788. var args = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
  1789. var extra = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
  1790. var isCustom = arguments.length > 4 ? arguments[4] : undefined;
  1791. var methodName = arguments.length > 5 ? arguments[5] : undefined;
  1792. var isCustomMPEvent = false; // wxcomponent 组件,传递原始 event 对象
  1793. // fixed 用户直接触发 mpInstance.triggerEvent
  1794. var __args__ = isPlainObject(event.detail) ? event.detail.__args__ || [event.detail] : [event.detail];
  1795. if (isCustom) {
  1796. // 自定义事件
  1797. isCustomMPEvent = event.currentTarget && event.currentTarget.dataset && event.currentTarget.dataset.comType === 'wx';
  1798. if (!args.length) {
  1799. // 无参数,直接传入 event 或 detail 数组
  1800. if (isCustomMPEvent) {
  1801. return [event];
  1802. }
  1803. return __args__;
  1804. }
  1805. }
  1806. var extraObj = processEventExtra(vm, extra, event, __args__);
  1807. var ret = [];
  1808. args.forEach(function (arg) {
  1809. if (arg === '$event') {
  1810. if (methodName === '__set_model' && !isCustom) {
  1811. // input v-model value
  1812. ret.push(event.target.value);
  1813. } else {
  1814. if (isCustom && !isCustomMPEvent) {
  1815. ret.push(__args__[0]);
  1816. } else {
  1817. // wxcomponent 组件或内置组件
  1818. ret.push(event);
  1819. }
  1820. }
  1821. } else {
  1822. if (Array.isArray(arg) && arg[0] === 'o') {
  1823. ret.push(getObjByArray(arg));
  1824. } else if (typeof arg === 'string' && hasOwn(extraObj, arg)) {
  1825. ret.push(extraObj[arg]);
  1826. } else {
  1827. ret.push(arg);
  1828. }
  1829. }
  1830. });
  1831. return ret;
  1832. }
  1833. var ONCE = '~';
  1834. var CUSTOM = '^';
  1835. function isMatchEventType(eventType, optType) {
  1836. return eventType === optType || optType === 'regionchange' && (eventType === 'begin' || eventType === 'end');
  1837. }
  1838. function getContextVm(vm) {
  1839. var $parent = vm.$parent;
  1840. // 父组件是 scoped slots 或者其他自定义组件时继续查找
  1841. while ($parent && $parent.$parent && ($parent.$options.generic || $parent.$parent.$options.generic || $parent.$scope._$vuePid)) {
  1842. $parent = $parent.$parent;
  1843. }
  1844. return $parent && $parent.$parent;
  1845. }
  1846. function handleEvent(event) {
  1847. var _this2 = this;
  1848. event = wrapper$1(event);
  1849. // [['tap',[['handle',[1,2,a]],['handle1',[1,2,a]]]]]
  1850. var dataset = (event.currentTarget || event.target).dataset;
  1851. if (!dataset) {
  1852. return console.warn('事件信息不存在');
  1853. }
  1854. var eventOpts = dataset.eventOpts || dataset['event-opts']; // 支付宝 web-view 组件 dataset 非驼峰
  1855. if (!eventOpts) {
  1856. return console.warn('事件信息不存在');
  1857. }
  1858. // [['handle',[1,2,a]],['handle1',[1,2,a]]]
  1859. var eventType = event.type;
  1860. var ret = [];
  1861. eventOpts.forEach(function (eventOpt) {
  1862. var type = eventOpt[0];
  1863. var eventsArray = eventOpt[1];
  1864. var isCustom = type.charAt(0) === CUSTOM;
  1865. type = isCustom ? type.slice(1) : type;
  1866. var isOnce = type.charAt(0) === ONCE;
  1867. type = isOnce ? type.slice(1) : type;
  1868. if (eventsArray && isMatchEventType(eventType, type)) {
  1869. eventsArray.forEach(function (eventArray) {
  1870. var methodName = eventArray[0];
  1871. if (methodName) {
  1872. var handlerCtx = _this2.$vm;
  1873. if (handlerCtx.$options.generic) {
  1874. // mp-weixin,mp-toutiao 抽象节点模拟 scoped slots
  1875. handlerCtx = getContextVm(handlerCtx) || handlerCtx;
  1876. }
  1877. if (methodName === '$emit') {
  1878. handlerCtx.$emit.apply(handlerCtx, processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName));
  1879. return;
  1880. }
  1881. var handler = handlerCtx[methodName];
  1882. if (!isFn(handler)) {
  1883. var _type = _this2.$vm.mpType === 'page' ? 'Page' : 'Component';
  1884. var path = _this2.route || _this2.is;
  1885. throw new Error("".concat(_type, " \"").concat(path, "\" does not have a method \"").concat(methodName, "\""));
  1886. }
  1887. if (isOnce) {
  1888. if (handler.once) {
  1889. return;
  1890. }
  1891. handler.once = true;
  1892. }
  1893. var params = processEventArgs(_this2.$vm, event, eventArray[1], eventArray[2], isCustom, methodName);
  1894. params = Array.isArray(params) ? params : [];
  1895. // 参数尾部增加原始事件对象用于复杂表达式内获取额外数据
  1896. if (/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(handler.toString())) {
  1897. // eslint-disable-next-line no-sparse-arrays
  1898. params = params.concat([,,,,,,,,,, event]);
  1899. }
  1900. ret.push(handler.apply(handlerCtx, params));
  1901. }
  1902. });
  1903. }
  1904. });
  1905. if (eventType === 'input' && ret.length === 1 && typeof ret[0] !== 'undefined') {
  1906. return ret[0];
  1907. }
  1908. }
  1909. var eventChannels = {};
  1910. var eventChannelStack = [];
  1911. function getEventChannel(id) {
  1912. if (id) {
  1913. var eventChannel = eventChannels[id];
  1914. delete eventChannels[id];
  1915. return eventChannel;
  1916. }
  1917. return eventChannelStack.shift();
  1918. }
  1919. var hooks = ['onShow', 'onHide', 'onError', 'onPageNotFound', 'onThemeChange', 'onUnhandledRejection'];
  1920. function initEventChannel() {
  1921. _vue.default.prototype.getOpenerEventChannel = function () {
  1922. // 微信小程序使用自身getOpenerEventChannel
  1923. {
  1924. return this.$scope.getOpenerEventChannel();
  1925. }
  1926. };
  1927. var callHook = _vue.default.prototype.__call_hook;
  1928. _vue.default.prototype.__call_hook = function (hook, args) {
  1929. if (hook === 'onLoad' && args && args.__id__) {
  1930. this.__eventChannel__ = getEventChannel(args.__id__);
  1931. delete args.__id__;
  1932. }
  1933. return callHook.call(this, hook, args);
  1934. };
  1935. }
  1936. function initScopedSlotsParams() {
  1937. var center = {};
  1938. var parents = {};
  1939. _vue.default.prototype.$hasScopedSlotsParams = function (vueId) {
  1940. var has = center[vueId];
  1941. if (!has) {
  1942. parents[vueId] = this;
  1943. this.$on('hook:destroyed', function () {
  1944. delete parents[vueId];
  1945. });
  1946. }
  1947. return has;
  1948. };
  1949. _vue.default.prototype.$getScopedSlotsParams = function (vueId, name, key) {
  1950. var data = center[vueId];
  1951. if (data) {
  1952. var object = data[name] || {};
  1953. return key ? object[key] : object;
  1954. } else {
  1955. parents[vueId] = this;
  1956. this.$on('hook:destroyed', function () {
  1957. delete parents[vueId];
  1958. });
  1959. }
  1960. };
  1961. _vue.default.prototype.$setScopedSlotsParams = function (name, value) {
  1962. var vueIds = this.$options.propsData.vueId;
  1963. if (vueIds) {
  1964. var vueId = vueIds.split(',')[0];
  1965. var object = center[vueId] = center[vueId] || {};
  1966. object[name] = value;
  1967. if (parents[vueId]) {
  1968. parents[vueId].$forceUpdate();
  1969. }
  1970. }
  1971. };
  1972. _vue.default.mixin({
  1973. destroyed: function destroyed() {
  1974. var propsData = this.$options.propsData;
  1975. var vueId = propsData && propsData.vueId;
  1976. if (vueId) {
  1977. delete center[vueId];
  1978. delete parents[vueId];
  1979. }
  1980. }
  1981. });
  1982. }
  1983. function parseBaseApp(vm, _ref4) {
  1984. var mocks = _ref4.mocks,
  1985. initRefs = _ref4.initRefs;
  1986. initEventChannel();
  1987. {
  1988. initScopedSlotsParams();
  1989. }
  1990. if (vm.$options.store) {
  1991. _vue.default.prototype.$store = vm.$options.store;
  1992. }
  1993. uniIdMixin(_vue.default);
  1994. _vue.default.prototype.mpHost = "mp-weixin";
  1995. _vue.default.mixin({
  1996. beforeCreate: function beforeCreate() {
  1997. if (!this.$options.mpType) {
  1998. return;
  1999. }
  2000. this.mpType = this.$options.mpType;
  2001. this.$mp = (0, _defineProperty2.default)({
  2002. data: {}
  2003. }, this.mpType, this.$options.mpInstance);
  2004. this.$scope = this.$options.mpInstance;
  2005. delete this.$options.mpType;
  2006. delete this.$options.mpInstance;
  2007. if (this.mpType === 'page' && typeof getApp === 'function') {
  2008. // hack vue-i18n
  2009. var app = getApp();
  2010. if (app.$vm && app.$vm.$i18n) {
  2011. this._i18n = app.$vm.$i18n;
  2012. }
  2013. }
  2014. if (this.mpType !== 'app') {
  2015. initRefs(this);
  2016. initMocks(this, mocks);
  2017. }
  2018. }
  2019. });
  2020. var appOptions = {
  2021. onLaunch: function onLaunch(args) {
  2022. if (this.$vm) {
  2023. // 已经初始化过了,主要是为了百度,百度 onShow 在 onLaunch 之前
  2024. return;
  2025. }
  2026. {
  2027. if (wx.canIUse && !wx.canIUse('nextTick')) {
  2028. // 事实 上2.2.3 即可,简单使用 2.3.0 的 nextTick 判断
  2029. console.error('当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上');
  2030. }
  2031. }
  2032. this.$vm = vm;
  2033. this.$vm.$mp = {
  2034. app: this
  2035. };
  2036. this.$vm.$scope = this;
  2037. // vm 上也挂载 globalData
  2038. this.$vm.globalData = this.globalData;
  2039. this.$vm._isMounted = true;
  2040. this.$vm.__call_hook('mounted', args);
  2041. this.$vm.__call_hook('onLaunch', args);
  2042. }
  2043. };
  2044. // 兼容旧版本 globalData
  2045. appOptions.globalData = vm.$options.globalData || {};
  2046. // 将 methods 中的方法挂在 getApp() 中
  2047. var methods = vm.$options.methods;
  2048. if (methods) {
  2049. Object.keys(methods).forEach(function (name) {
  2050. appOptions[name] = methods[name];
  2051. });
  2052. }
  2053. initAppLocale(_vue.default, vm, normalizeLocale(wx.getSystemInfoSync().language) || LOCALE_EN);
  2054. initHooks(appOptions, hooks);
  2055. initUnknownHooks(appOptions, vm.$options);
  2056. return appOptions;
  2057. }
  2058. function parseApp(vm) {
  2059. return parseBaseApp(vm, {
  2060. mocks: mocks,
  2061. initRefs: initRefs
  2062. });
  2063. }
  2064. function createApp(vm) {
  2065. App(parseApp(vm));
  2066. return vm;
  2067. }
  2068. var encodeReserveRE = /[!'()*]/g;
  2069. var encodeReserveReplacer = function encodeReserveReplacer(c) {
  2070. return '%' + c.charCodeAt(0).toString(16);
  2071. };
  2072. var commaRE = /%2C/g;
  2073. // fixed encodeURIComponent which is more conformant to RFC3986:
  2074. // - escapes [!'()*]
  2075. // - preserve commas
  2076. var encode = function encode(str) {
  2077. return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');
  2078. };
  2079. function stringifyQuery(obj) {
  2080. var encodeStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : encode;
  2081. var res = obj ? Object.keys(obj).map(function (key) {
  2082. var val = obj[key];
  2083. if (val === undefined) {
  2084. return '';
  2085. }
  2086. if (val === null) {
  2087. return encodeStr(key);
  2088. }
  2089. if (Array.isArray(val)) {
  2090. var result = [];
  2091. val.forEach(function (val2) {
  2092. if (val2 === undefined) {
  2093. return;
  2094. }
  2095. if (val2 === null) {
  2096. result.push(encodeStr(key));
  2097. } else {
  2098. result.push(encodeStr(key) + '=' + encodeStr(val2));
  2099. }
  2100. });
  2101. return result.join('&');
  2102. }
  2103. return encodeStr(key) + '=' + encodeStr(val);
  2104. }).filter(function (x) {
  2105. return x.length > 0;
  2106. }).join('&') : null;
  2107. return res ? "?".concat(res) : '';
  2108. }
  2109. function parseBaseComponent(vueComponentOptions) {
  2110. var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
  2111. isPage = _ref5.isPage,
  2112. initRelation = _ref5.initRelation;
  2113. var needVueOptions = arguments.length > 2 ? arguments[2] : undefined;
  2114. var _initVueComponent = initVueComponent(_vue.default, vueComponentOptions),
  2115. _initVueComponent2 = (0, _slicedToArray2.default)(_initVueComponent, 2),
  2116. VueComponent = _initVueComponent2[0],
  2117. vueOptions = _initVueComponent2[1];
  2118. var options = _objectSpread({
  2119. multipleSlots: true,
  2120. addGlobalClass: true
  2121. }, vueOptions.options || {});
  2122. {
  2123. // 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
  2124. if (vueOptions['mp-weixin'] && vueOptions['mp-weixin'].options) {
  2125. Object.assign(options, vueOptions['mp-weixin'].options);
  2126. }
  2127. }
  2128. var componentOptions = {
  2129. options: options,
  2130. data: initData(vueOptions, _vue.default.prototype),
  2131. behaviors: initBehaviors(vueOptions, initBehavior),
  2132. properties: initProperties(vueOptions.props, false, vueOptions.__file, options),
  2133. lifetimes: {
  2134. attached: function attached() {
  2135. var properties = this.properties;
  2136. var options = {
  2137. mpType: isPage.call(this) ? 'page' : 'component',
  2138. mpInstance: this,
  2139. propsData: properties
  2140. };
  2141. initVueIds(properties.vueId, this);
  2142. // 处理父子关系
  2143. initRelation.call(this, {
  2144. vuePid: this._$vuePid,
  2145. vueOptions: options
  2146. });
  2147. // 初始化 vue 实例
  2148. this.$vm = new VueComponent(options);
  2149. // 处理$slots,$scopedSlots(暂不支持动态变化$slots)
  2150. initSlots(this.$vm, properties.vueSlots);
  2151. // 触发首次 setData
  2152. this.$vm.$mount();
  2153. },
  2154. ready: function ready() {
  2155. // 当组件 props 默认值为 true,初始化时传入 false 会导致 created,ready 触发, 但 attached 不触发
  2156. // https://developers.weixin.qq.com/community/develop/doc/00066ae2844cc0f8eb883e2a557800
  2157. if (this.$vm) {
  2158. this.$vm._isMounted = true;
  2159. this.$vm.__call_hook('mounted');
  2160. this.$vm.__call_hook('onReady');
  2161. }
  2162. },
  2163. detached: function detached() {
  2164. this.$vm && this.$vm.$destroy();
  2165. }
  2166. },
  2167. pageLifetimes: {
  2168. show: function show(args) {
  2169. this.$vm && this.$vm.__call_hook('onPageShow', args);
  2170. },
  2171. hide: function hide() {
  2172. this.$vm && this.$vm.__call_hook('onPageHide');
  2173. },
  2174. resize: function resize(size) {
  2175. this.$vm && this.$vm.__call_hook('onPageResize', size);
  2176. }
  2177. },
  2178. methods: {
  2179. __l: handleLink,
  2180. __e: handleEvent
  2181. }
  2182. };
  2183. // externalClasses
  2184. if (vueOptions.externalClasses) {
  2185. componentOptions.externalClasses = vueOptions.externalClasses;
  2186. }
  2187. if (Array.isArray(vueOptions.wxsCallMethods)) {
  2188. vueOptions.wxsCallMethods.forEach(function (callMethod) {
  2189. componentOptions.methods[callMethod] = function (args) {
  2190. return this.$vm[callMethod](args);
  2191. };
  2192. });
  2193. }
  2194. if (needVueOptions) {
  2195. return [componentOptions, vueOptions, VueComponent];
  2196. }
  2197. if (isPage) {
  2198. return componentOptions;
  2199. }
  2200. return [componentOptions, VueComponent];
  2201. }
  2202. function parseComponent(vueComponentOptions, needVueOptions) {
  2203. return parseBaseComponent(vueComponentOptions, {
  2204. isPage: isPage,
  2205. initRelation: initRelation
  2206. }, needVueOptions);
  2207. }
  2208. var hooks$1 = ['onShow', 'onHide', 'onUnload'];
  2209. hooks$1.push.apply(hooks$1, PAGE_EVENT_HOOKS);
  2210. function parseBasePage(vuePageOptions) {
  2211. var _parseComponent = parseComponent(vuePageOptions, true),
  2212. _parseComponent2 = (0, _slicedToArray2.default)(_parseComponent, 2),
  2213. pageOptions = _parseComponent2[0],
  2214. vueOptions = _parseComponent2[1];
  2215. initHooks(pageOptions.methods, hooks$1, vueOptions);
  2216. pageOptions.methods.onLoad = function (query) {
  2217. this.options = query;
  2218. var copyQuery = Object.assign({}, query);
  2219. delete copyQuery.__id__;
  2220. this.$page = {
  2221. fullPath: '/' + (this.route || this.is) + stringifyQuery(copyQuery)
  2222. };
  2223. this.$vm.$mp.query = query; // 兼容 mpvue
  2224. this.$vm.__call_hook('onLoad', query);
  2225. };
  2226. {
  2227. initUnknownHooks(pageOptions.methods, vuePageOptions, ['onReady']);
  2228. }
  2229. return pageOptions;
  2230. }
  2231. function parsePage(vuePageOptions) {
  2232. return parseBasePage(vuePageOptions);
  2233. }
  2234. function createPage(vuePageOptions) {
  2235. {
  2236. return Component(parsePage(vuePageOptions));
  2237. }
  2238. }
  2239. function createComponent(vueOptions) {
  2240. {
  2241. return Component(parseComponent(vueOptions));
  2242. }
  2243. }
  2244. function createSubpackageApp(vm) {
  2245. var appOptions = parseApp(vm);
  2246. var app = getApp({
  2247. allowDefault: true
  2248. });
  2249. vm.$scope = app;
  2250. var globalData = app.globalData;
  2251. if (globalData) {
  2252. Object.keys(appOptions.globalData).forEach(function (name) {
  2253. if (!hasOwn(globalData, name)) {
  2254. globalData[name] = appOptions.globalData[name];
  2255. }
  2256. });
  2257. }
  2258. Object.keys(appOptions).forEach(function (name) {
  2259. if (!hasOwn(app, name)) {
  2260. app[name] = appOptions[name];
  2261. }
  2262. });
  2263. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2264. wx.onAppShow(function () {
  2265. for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
  2266. args[_key5] = arguments[_key5];
  2267. }
  2268. vm.__call_hook('onShow', args);
  2269. });
  2270. }
  2271. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2272. wx.onAppHide(function () {
  2273. for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
  2274. args[_key6] = arguments[_key6];
  2275. }
  2276. vm.__call_hook('onHide', args);
  2277. });
  2278. }
  2279. if (isFn(appOptions.onLaunch)) {
  2280. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2281. vm.__call_hook('onLaunch', args);
  2282. }
  2283. return vm;
  2284. }
  2285. function createPlugin(vm) {
  2286. var appOptions = parseApp(vm);
  2287. if (isFn(appOptions.onShow) && wx.onAppShow) {
  2288. wx.onAppShow(function () {
  2289. for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
  2290. args[_key7] = arguments[_key7];
  2291. }
  2292. vm.__call_hook('onShow', args);
  2293. });
  2294. }
  2295. if (isFn(appOptions.onHide) && wx.onAppHide) {
  2296. wx.onAppHide(function () {
  2297. for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
  2298. args[_key8] = arguments[_key8];
  2299. }
  2300. vm.__call_hook('onHide', args);
  2301. });
  2302. }
  2303. if (isFn(appOptions.onLaunch)) {
  2304. var args = wx.getLaunchOptionsSync && wx.getLaunchOptionsSync();
  2305. vm.__call_hook('onLaunch', args);
  2306. }
  2307. return vm;
  2308. }
  2309. todos.forEach(function (todoApi) {
  2310. protocols[todoApi] = false;
  2311. });
  2312. canIUses.forEach(function (canIUseApi) {
  2313. var apiName = protocols[canIUseApi] && protocols[canIUseApi].name ? protocols[canIUseApi].name : canIUseApi;
  2314. if (!wx.canIUse(apiName)) {
  2315. protocols[canIUseApi] = false;
  2316. }
  2317. });
  2318. var uni = {};
  2319. if (typeof Proxy !== 'undefined' && "mp-weixin" !== 'app-plus') {
  2320. uni = new Proxy({}, {
  2321. get: function get(target, name) {
  2322. if (hasOwn(target, name)) {
  2323. return target[name];
  2324. }
  2325. if (baseApi[name]) {
  2326. return baseApi[name];
  2327. }
  2328. if (api[name]) {
  2329. return promisify(name, api[name]);
  2330. }
  2331. {
  2332. if (extraApi[name]) {
  2333. return promisify(name, extraApi[name]);
  2334. }
  2335. if (todoApis[name]) {
  2336. return promisify(name, todoApis[name]);
  2337. }
  2338. }
  2339. if (eventApi[name]) {
  2340. return eventApi[name];
  2341. }
  2342. return promisify(name, wrapper(name, wx[name]));
  2343. },
  2344. set: function set(target, name, value) {
  2345. target[name] = value;
  2346. return true;
  2347. }
  2348. });
  2349. } else {
  2350. Object.keys(baseApi).forEach(function (name) {
  2351. uni[name] = baseApi[name];
  2352. });
  2353. {
  2354. Object.keys(todoApis).forEach(function (name) {
  2355. uni[name] = promisify(name, todoApis[name]);
  2356. });
  2357. Object.keys(extraApi).forEach(function (name) {
  2358. uni[name] = promisify(name, todoApis[name]);
  2359. });
  2360. }
  2361. Object.keys(eventApi).forEach(function (name) {
  2362. uni[name] = eventApi[name];
  2363. });
  2364. Object.keys(api).forEach(function (name) {
  2365. uni[name] = promisify(name, api[name]);
  2366. });
  2367. Object.keys(wx).forEach(function (name) {
  2368. if (hasOwn(wx, name) || hasOwn(protocols, name)) {
  2369. uni[name] = promisify(name, wrapper(name, wx[name]));
  2370. }
  2371. });
  2372. }
  2373. wx.createApp = createApp;
  2374. wx.createPage = createPage;
  2375. wx.createComponent = createComponent;
  2376. wx.createSubpackageApp = createSubpackageApp;
  2377. wx.createPlugin = createPlugin;
  2378. var uni$1 = uni;
  2379. var _default = uni$1;
  2380. exports.default = _default;
  2381. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  2382. /***/ }),
  2383. /* 3 */
  2384. /*!***********************************!*\
  2385. !*** (webpack)/buildin/global.js ***!
  2386. \***********************************/
  2387. /*! no static exports found */
  2388. /***/ (function(module, exports) {
  2389. var g;
  2390. // This works in non-strict mode
  2391. g = (function() {
  2392. return this;
  2393. })();
  2394. try {
  2395. // This works if eval is allowed (see CSP)
  2396. g = g || new Function("return this")();
  2397. } catch (e) {
  2398. // This works if the window reference is available
  2399. if (typeof window === "object") g = window;
  2400. }
  2401. // g can still be undefined, but nothing to do about it...
  2402. // We return undefined, instead of nothing here, so it's
  2403. // easier to handle this case. if(!global) { ...}
  2404. module.exports = g;
  2405. /***/ }),
  2406. /* 4 */
  2407. /*!**********************************************************************!*\
  2408. !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
  2409. \**********************************************************************/
  2410. /*! no static exports found */
  2411. /***/ (function(module, exports) {
  2412. function _interopRequireDefault(obj) {
  2413. return obj && obj.__esModule ? obj : {
  2414. "default": obj
  2415. };
  2416. }
  2417. module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2418. /***/ }),
  2419. /* 5 */
  2420. /*!**************************************************************!*\
  2421. !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***!
  2422. \**************************************************************/
  2423. /*! no static exports found */
  2424. /***/ (function(module, exports, __webpack_require__) {
  2425. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  2426. var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit.js */ 7);
  2427. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  2428. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  2429. function _slicedToArray(arr, i) {
  2430. return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
  2431. }
  2432. module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2433. /***/ }),
  2434. /* 6 */
  2435. /*!***************************************************************!*\
  2436. !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***!
  2437. \***************************************************************/
  2438. /*! no static exports found */
  2439. /***/ (function(module, exports) {
  2440. function _arrayWithHoles(arr) {
  2441. if (Array.isArray(arr)) return arr;
  2442. }
  2443. module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2444. /***/ }),
  2445. /* 7 */
  2446. /*!*********************************************************************!*\
  2447. !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***!
  2448. \*********************************************************************/
  2449. /*! no static exports found */
  2450. /***/ (function(module, exports) {
  2451. function _iterableToArrayLimit(arr, i) {
  2452. var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
  2453. if (null != _i) {
  2454. var _s,
  2455. _e,
  2456. _x,
  2457. _r,
  2458. _arr = [],
  2459. _n = !0,
  2460. _d = !1;
  2461. try {
  2462. if (_x = (_i = _i.call(arr)).next, 0 === i) {
  2463. if (Object(_i) !== _i) return;
  2464. _n = !1;
  2465. } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
  2466. ;
  2467. }
  2468. } catch (err) {
  2469. _d = !0, _e = err;
  2470. } finally {
  2471. try {
  2472. if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
  2473. } finally {
  2474. if (_d) throw _e;
  2475. }
  2476. }
  2477. return _arr;
  2478. }
  2479. }
  2480. module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2481. /***/ }),
  2482. /* 8 */
  2483. /*!***************************************************************************!*\
  2484. !*** ./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js ***!
  2485. \***************************************************************************/
  2486. /*! no static exports found */
  2487. /***/ (function(module, exports, __webpack_require__) {
  2488. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  2489. function _unsupportedIterableToArray(o, minLen) {
  2490. if (!o) return;
  2491. if (typeof o === "string") return arrayLikeToArray(o, minLen);
  2492. var n = Object.prototype.toString.call(o).slice(8, -1);
  2493. if (n === "Object" && o.constructor) n = o.constructor.name;
  2494. if (n === "Map" || n === "Set") return Array.from(o);
  2495. if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
  2496. }
  2497. module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2498. /***/ }),
  2499. /* 9 */
  2500. /*!*****************************************************************!*\
  2501. !*** ./node_modules/@babel/runtime/helpers/arrayLikeToArray.js ***!
  2502. \*****************************************************************/
  2503. /*! no static exports found */
  2504. /***/ (function(module, exports) {
  2505. function _arrayLikeToArray(arr, len) {
  2506. if (len == null || len > arr.length) len = arr.length;
  2507. for (var i = 0, arr2 = new Array(len); i < len; i++) {
  2508. arr2[i] = arr[i];
  2509. }
  2510. return arr2;
  2511. }
  2512. module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2513. /***/ }),
  2514. /* 10 */
  2515. /*!****************************************************************!*\
  2516. !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***!
  2517. \****************************************************************/
  2518. /*! no static exports found */
  2519. /***/ (function(module, exports) {
  2520. function _nonIterableRest() {
  2521. throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2522. }
  2523. module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2524. /***/ }),
  2525. /* 11 */
  2526. /*!***************************************************************!*\
  2527. !*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
  2528. \***************************************************************/
  2529. /*! no static exports found */
  2530. /***/ (function(module, exports, __webpack_require__) {
  2531. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  2532. function _defineProperty(obj, key, value) {
  2533. key = toPropertyKey(key);
  2534. if (key in obj) {
  2535. Object.defineProperty(obj, key, {
  2536. value: value,
  2537. enumerable: true,
  2538. configurable: true,
  2539. writable: true
  2540. });
  2541. } else {
  2542. obj[key] = value;
  2543. }
  2544. return obj;
  2545. }
  2546. module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2547. /***/ }),
  2548. /* 12 */
  2549. /*!**************************************************************!*\
  2550. !*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
  2551. \**************************************************************/
  2552. /*! no static exports found */
  2553. /***/ (function(module, exports, __webpack_require__) {
  2554. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  2555. var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ 14);
  2556. function _toPropertyKey(arg) {
  2557. var key = toPrimitive(arg, "string");
  2558. return _typeof(key) === "symbol" ? key : String(key);
  2559. }
  2560. module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2561. /***/ }),
  2562. /* 13 */
  2563. /*!*******************************************************!*\
  2564. !*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
  2565. \*******************************************************/
  2566. /*! no static exports found */
  2567. /***/ (function(module, exports) {
  2568. function _typeof(obj) {
  2569. "@babel/helpers - typeof";
  2570. return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
  2571. return typeof obj;
  2572. } : function (obj) {
  2573. return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
  2574. }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
  2575. }
  2576. module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2577. /***/ }),
  2578. /* 14 */
  2579. /*!************************************************************!*\
  2580. !*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
  2581. \************************************************************/
  2582. /*! no static exports found */
  2583. /***/ (function(module, exports, __webpack_require__) {
  2584. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  2585. function _toPrimitive(input, hint) {
  2586. if (_typeof(input) !== "object" || input === null) return input;
  2587. var prim = input[Symbol.toPrimitive];
  2588. if (prim !== undefined) {
  2589. var res = prim.call(input, hint || "default");
  2590. if (_typeof(res) !== "object") return res;
  2591. throw new TypeError("@@toPrimitive must return a primitive value.");
  2592. }
  2593. return (hint === "string" ? String : Number)(input);
  2594. }
  2595. module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2596. /***/ }),
  2597. /* 15 */
  2598. /*!**********************************************************!*\
  2599. !*** ./node_modules/@babel/runtime/helpers/construct.js ***!
  2600. \**********************************************************/
  2601. /*! no static exports found */
  2602. /***/ (function(module, exports, __webpack_require__) {
  2603. var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf.js */ 16);
  2604. var isNativeReflectConstruct = __webpack_require__(/*! ./isNativeReflectConstruct.js */ 17);
  2605. function _construct(Parent, args, Class) {
  2606. if (isNativeReflectConstruct()) {
  2607. module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports["default"] = module.exports;
  2608. } else {
  2609. module.exports = _construct = function _construct(Parent, args, Class) {
  2610. var a = [null];
  2611. a.push.apply(a, args);
  2612. var Constructor = Function.bind.apply(Parent, a);
  2613. var instance = new Constructor();
  2614. if (Class) setPrototypeOf(instance, Class.prototype);
  2615. return instance;
  2616. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2617. }
  2618. return _construct.apply(null, arguments);
  2619. }
  2620. module.exports = _construct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2621. /***/ }),
  2622. /* 16 */
  2623. /*!***************************************************************!*\
  2624. !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
  2625. \***************************************************************/
  2626. /*! no static exports found */
  2627. /***/ (function(module, exports) {
  2628. function _setPrototypeOf(o, p) {
  2629. module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
  2630. o.__proto__ = p;
  2631. return o;
  2632. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2633. return _setPrototypeOf(o, p);
  2634. }
  2635. module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2636. /***/ }),
  2637. /* 17 */
  2638. /*!*************************************************************************!*\
  2639. !*** ./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js ***!
  2640. \*************************************************************************/
  2641. /*! no static exports found */
  2642. /***/ (function(module, exports) {
  2643. function _isNativeReflectConstruct() {
  2644. if (typeof Reflect === "undefined" || !Reflect.construct) return false;
  2645. if (Reflect.construct.sham) return false;
  2646. if (typeof Proxy === "function") return true;
  2647. try {
  2648. Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  2649. return true;
  2650. } catch (e) {
  2651. return false;
  2652. }
  2653. }
  2654. module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2655. /***/ }),
  2656. /* 18 */
  2657. /*!******************************************************************!*\
  2658. !*** ./node_modules/@babel/runtime/helpers/toConsumableArray.js ***!
  2659. \******************************************************************/
  2660. /*! no static exports found */
  2661. /***/ (function(module, exports, __webpack_require__) {
  2662. var arrayWithoutHoles = __webpack_require__(/*! ./arrayWithoutHoles.js */ 19);
  2663. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  2664. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  2665. var nonIterableSpread = __webpack_require__(/*! ./nonIterableSpread.js */ 21);
  2666. function _toConsumableArray(arr) {
  2667. return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
  2668. }
  2669. module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2670. /***/ }),
  2671. /* 19 */
  2672. /*!******************************************************************!*\
  2673. !*** ./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js ***!
  2674. \******************************************************************/
  2675. /*! no static exports found */
  2676. /***/ (function(module, exports, __webpack_require__) {
  2677. var arrayLikeToArray = __webpack_require__(/*! ./arrayLikeToArray.js */ 9);
  2678. function _arrayWithoutHoles(arr) {
  2679. if (Array.isArray(arr)) return arrayLikeToArray(arr);
  2680. }
  2681. module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2682. /***/ }),
  2683. /* 20 */
  2684. /*!****************************************************************!*\
  2685. !*** ./node_modules/@babel/runtime/helpers/iterableToArray.js ***!
  2686. \****************************************************************/
  2687. /*! no static exports found */
  2688. /***/ (function(module, exports) {
  2689. function _iterableToArray(iter) {
  2690. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  2691. }
  2692. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2693. /***/ }),
  2694. /* 21 */
  2695. /*!******************************************************************!*\
  2696. !*** ./node_modules/@babel/runtime/helpers/nonIterableSpread.js ***!
  2697. \******************************************************************/
  2698. /*! no static exports found */
  2699. /***/ (function(module, exports) {
  2700. function _nonIterableSpread() {
  2701. throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  2702. }
  2703. module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
  2704. /***/ }),
  2705. /* 22 */
  2706. /*!*************************************************************!*\
  2707. !*** ./node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js ***!
  2708. \*************************************************************/
  2709. /*! no static exports found */
  2710. /***/ (function(module, exports, __webpack_require__) {
  2711. "use strict";
  2712. /* WEBPACK VAR INJECTION */(function(uni, global) {
  2713. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  2714. Object.defineProperty(exports, "__esModule", {
  2715. value: true
  2716. });
  2717. exports.LOCALE_ZH_HANT = exports.LOCALE_ZH_HANS = exports.LOCALE_FR = exports.LOCALE_ES = exports.LOCALE_EN = exports.I18n = exports.Formatter = void 0;
  2718. exports.compileI18nJsonStr = compileI18nJsonStr;
  2719. exports.hasI18nJson = hasI18nJson;
  2720. exports.initVueI18n = initVueI18n;
  2721. exports.isI18nStr = isI18nStr;
  2722. exports.isString = void 0;
  2723. exports.normalizeLocale = normalizeLocale;
  2724. exports.parseI18nJson = parseI18nJson;
  2725. exports.resolveLocale = resolveLocale;
  2726. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  2727. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  2728. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  2729. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  2730. var isArray = Array.isArray;
  2731. var isObject = function isObject(val) {
  2732. return val !== null && (0, _typeof2.default)(val) === 'object';
  2733. };
  2734. var defaultDelimiters = ['{', '}'];
  2735. var BaseFormatter = /*#__PURE__*/function () {
  2736. function BaseFormatter() {
  2737. (0, _classCallCheck2.default)(this, BaseFormatter);
  2738. this._caches = Object.create(null);
  2739. }
  2740. (0, _createClass2.default)(BaseFormatter, [{
  2741. key: "interpolate",
  2742. value: function interpolate(message, values) {
  2743. var delimiters = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultDelimiters;
  2744. if (!values) {
  2745. return [message];
  2746. }
  2747. var tokens = this._caches[message];
  2748. if (!tokens) {
  2749. tokens = parse(message, delimiters);
  2750. this._caches[message] = tokens;
  2751. }
  2752. return compile(tokens, values);
  2753. }
  2754. }]);
  2755. return BaseFormatter;
  2756. }();
  2757. exports.Formatter = BaseFormatter;
  2758. var RE_TOKEN_LIST_VALUE = /^(?:\d)+/;
  2759. var RE_TOKEN_NAMED_VALUE = /^(?:\w)+/;
  2760. function parse(format, _ref) {
  2761. var _ref2 = (0, _slicedToArray2.default)(_ref, 2),
  2762. startDelimiter = _ref2[0],
  2763. endDelimiter = _ref2[1];
  2764. var tokens = [];
  2765. var position = 0;
  2766. var text = '';
  2767. while (position < format.length) {
  2768. var char = format[position++];
  2769. if (char === startDelimiter) {
  2770. if (text) {
  2771. tokens.push({
  2772. type: 'text',
  2773. value: text
  2774. });
  2775. }
  2776. text = '';
  2777. var sub = '';
  2778. char = format[position++];
  2779. while (char !== undefined && char !== endDelimiter) {
  2780. sub += char;
  2781. char = format[position++];
  2782. }
  2783. var isClosed = char === endDelimiter;
  2784. var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';
  2785. tokens.push({
  2786. value: sub,
  2787. type: type
  2788. });
  2789. }
  2790. // else if (char === '%') {
  2791. // // when found rails i18n syntax, skip text capture
  2792. // if (format[position] !== '{') {
  2793. // text += char
  2794. // }
  2795. // }
  2796. else {
  2797. text += char;
  2798. }
  2799. }
  2800. text && tokens.push({
  2801. type: 'text',
  2802. value: text
  2803. });
  2804. return tokens;
  2805. }
  2806. function compile(tokens, values) {
  2807. var compiled = [];
  2808. var index = 0;
  2809. var mode = isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';
  2810. if (mode === 'unknown') {
  2811. return compiled;
  2812. }
  2813. while (index < tokens.length) {
  2814. var token = tokens[index];
  2815. switch (token.type) {
  2816. case 'text':
  2817. compiled.push(token.value);
  2818. break;
  2819. case 'list':
  2820. compiled.push(values[parseInt(token.value, 10)]);
  2821. break;
  2822. case 'named':
  2823. if (mode === 'named') {
  2824. compiled.push(values[token.value]);
  2825. } else {
  2826. if (true) {
  2827. console.warn("Type of token '".concat(token.type, "' and format of value '").concat(mode, "' don't match!"));
  2828. }
  2829. }
  2830. break;
  2831. case 'unknown':
  2832. if (true) {
  2833. console.warn("Detect 'unknown' type of token!");
  2834. }
  2835. break;
  2836. }
  2837. index++;
  2838. }
  2839. return compiled;
  2840. }
  2841. var LOCALE_ZH_HANS = 'zh-Hans';
  2842. exports.LOCALE_ZH_HANS = LOCALE_ZH_HANS;
  2843. var LOCALE_ZH_HANT = 'zh-Hant';
  2844. exports.LOCALE_ZH_HANT = LOCALE_ZH_HANT;
  2845. var LOCALE_EN = 'en';
  2846. exports.LOCALE_EN = LOCALE_EN;
  2847. var LOCALE_FR = 'fr';
  2848. exports.LOCALE_FR = LOCALE_FR;
  2849. var LOCALE_ES = 'es';
  2850. exports.LOCALE_ES = LOCALE_ES;
  2851. var hasOwnProperty = Object.prototype.hasOwnProperty;
  2852. var hasOwn = function hasOwn(val, key) {
  2853. return hasOwnProperty.call(val, key);
  2854. };
  2855. var defaultFormatter = new BaseFormatter();
  2856. function include(str, parts) {
  2857. return !!parts.find(function (part) {
  2858. return str.indexOf(part) !== -1;
  2859. });
  2860. }
  2861. function startsWith(str, parts) {
  2862. return parts.find(function (part) {
  2863. return str.indexOf(part) === 0;
  2864. });
  2865. }
  2866. function normalizeLocale(locale, messages) {
  2867. if (!locale) {
  2868. return;
  2869. }
  2870. locale = locale.trim().replace(/_/g, '-');
  2871. if (messages && messages[locale]) {
  2872. return locale;
  2873. }
  2874. locale = locale.toLowerCase();
  2875. if (locale.indexOf('zh') === 0) {
  2876. if (locale.indexOf('-hans') > -1) {
  2877. return LOCALE_ZH_HANS;
  2878. }
  2879. if (locale.indexOf('-hant') > -1) {
  2880. return LOCALE_ZH_HANT;
  2881. }
  2882. if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {
  2883. return LOCALE_ZH_HANT;
  2884. }
  2885. return LOCALE_ZH_HANS;
  2886. }
  2887. var lang = startsWith(locale, [LOCALE_EN, LOCALE_FR, LOCALE_ES]);
  2888. if (lang) {
  2889. return lang;
  2890. }
  2891. }
  2892. var I18n = /*#__PURE__*/function () {
  2893. function I18n(_ref3) {
  2894. var locale = _ref3.locale,
  2895. fallbackLocale = _ref3.fallbackLocale,
  2896. messages = _ref3.messages,
  2897. watcher = _ref3.watcher,
  2898. formater = _ref3.formater;
  2899. (0, _classCallCheck2.default)(this, I18n);
  2900. this.locale = LOCALE_EN;
  2901. this.fallbackLocale = LOCALE_EN;
  2902. this.message = {};
  2903. this.messages = {};
  2904. this.watchers = [];
  2905. if (fallbackLocale) {
  2906. this.fallbackLocale = fallbackLocale;
  2907. }
  2908. this.formater = formater || defaultFormatter;
  2909. this.messages = messages || {};
  2910. this.setLocale(locale || LOCALE_EN);
  2911. if (watcher) {
  2912. this.watchLocale(watcher);
  2913. }
  2914. }
  2915. (0, _createClass2.default)(I18n, [{
  2916. key: "setLocale",
  2917. value: function setLocale(locale) {
  2918. var _this = this;
  2919. var oldLocale = this.locale;
  2920. this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;
  2921. if (!this.messages[this.locale]) {
  2922. // 可能初始化时不存在
  2923. this.messages[this.locale] = {};
  2924. }
  2925. this.message = this.messages[this.locale];
  2926. // 仅发生变化时,通知
  2927. if (oldLocale !== this.locale) {
  2928. this.watchers.forEach(function (watcher) {
  2929. watcher(_this.locale, oldLocale);
  2930. });
  2931. }
  2932. }
  2933. }, {
  2934. key: "getLocale",
  2935. value: function getLocale() {
  2936. return this.locale;
  2937. }
  2938. }, {
  2939. key: "watchLocale",
  2940. value: function watchLocale(fn) {
  2941. var _this2 = this;
  2942. var index = this.watchers.push(fn) - 1;
  2943. return function () {
  2944. _this2.watchers.splice(index, 1);
  2945. };
  2946. }
  2947. }, {
  2948. key: "add",
  2949. value: function add(locale, message) {
  2950. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  2951. var curMessages = this.messages[locale];
  2952. if (curMessages) {
  2953. if (override) {
  2954. Object.assign(curMessages, message);
  2955. } else {
  2956. Object.keys(message).forEach(function (key) {
  2957. if (!hasOwn(curMessages, key)) {
  2958. curMessages[key] = message[key];
  2959. }
  2960. });
  2961. }
  2962. } else {
  2963. this.messages[locale] = message;
  2964. }
  2965. }
  2966. }, {
  2967. key: "f",
  2968. value: function f(message, values, delimiters) {
  2969. return this.formater.interpolate(message, values, delimiters).join('');
  2970. }
  2971. }, {
  2972. key: "t",
  2973. value: function t(key, locale, values) {
  2974. var message = this.message;
  2975. if (typeof locale === 'string') {
  2976. locale = normalizeLocale(locale, this.messages);
  2977. locale && (message = this.messages[locale]);
  2978. } else {
  2979. values = locale;
  2980. }
  2981. if (!hasOwn(message, key)) {
  2982. console.warn("Cannot translate the value of keypath ".concat(key, ". Use the value of keypath as default."));
  2983. return key;
  2984. }
  2985. return this.formater.interpolate(message[key], values).join('');
  2986. }
  2987. }]);
  2988. return I18n;
  2989. }();
  2990. exports.I18n = I18n;
  2991. function watchAppLocale(appVm, i18n) {
  2992. // 需要保证 watch 的触发在组件渲染之前
  2993. if (appVm.$watchLocale) {
  2994. // vue2
  2995. appVm.$watchLocale(function (newLocale) {
  2996. i18n.setLocale(newLocale);
  2997. });
  2998. } else {
  2999. appVm.$watch(function () {
  3000. return appVm.$locale;
  3001. }, function (newLocale) {
  3002. i18n.setLocale(newLocale);
  3003. });
  3004. }
  3005. }
  3006. function getDefaultLocale() {
  3007. if (typeof uni !== 'undefined' && uni.getLocale) {
  3008. return uni.getLocale();
  3009. }
  3010. // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale
  3011. if (typeof global !== 'undefined' && global.getLocale) {
  3012. return global.getLocale();
  3013. }
  3014. return LOCALE_EN;
  3015. }
  3016. function initVueI18n(locale) {
  3017. var messages = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  3018. var fallbackLocale = arguments.length > 2 ? arguments[2] : undefined;
  3019. var watcher = arguments.length > 3 ? arguments[3] : undefined;
  3020. // 兼容旧版本入参
  3021. if (typeof locale !== 'string') {
  3022. var _ref4 = [messages, locale];
  3023. locale = _ref4[0];
  3024. messages = _ref4[1];
  3025. }
  3026. if (typeof locale !== 'string') {
  3027. // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined
  3028. locale = getDefaultLocale();
  3029. }
  3030. if (typeof fallbackLocale !== 'string') {
  3031. fallbackLocale = typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale || LOCALE_EN;
  3032. }
  3033. var i18n = new I18n({
  3034. locale: locale,
  3035. fallbackLocale: fallbackLocale,
  3036. messages: messages,
  3037. watcher: watcher
  3038. });
  3039. var _t = function t(key, values) {
  3040. if (typeof getApp !== 'function') {
  3041. // app view
  3042. /* eslint-disable no-func-assign */
  3043. _t = function t(key, values) {
  3044. return i18n.t(key, values);
  3045. };
  3046. } else {
  3047. var isWatchedAppLocale = false;
  3048. _t = function t(key, values) {
  3049. var appVm = getApp().$vm;
  3050. // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化
  3051. // options: {
  3052. // type: Array,
  3053. // default () {
  3054. // return [{
  3055. // icon: 'shop',
  3056. // text: t("uni-goods-nav.options.shop"),
  3057. // }, {
  3058. // icon: 'cart',
  3059. // text: t("uni-goods-nav.options.cart")
  3060. // }]
  3061. // }
  3062. // },
  3063. if (appVm) {
  3064. // 触发响应式
  3065. appVm.$locale;
  3066. if (!isWatchedAppLocale) {
  3067. isWatchedAppLocale = true;
  3068. watchAppLocale(appVm, i18n);
  3069. }
  3070. }
  3071. return i18n.t(key, values);
  3072. };
  3073. }
  3074. return _t(key, values);
  3075. };
  3076. return {
  3077. i18n: i18n,
  3078. f: function f(message, values, delimiters) {
  3079. return i18n.f(message, values, delimiters);
  3080. },
  3081. t: function t(key, values) {
  3082. return _t(key, values);
  3083. },
  3084. add: function add(locale, message) {
  3085. var override = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  3086. return i18n.add(locale, message, override);
  3087. },
  3088. watch: function watch(fn) {
  3089. return i18n.watchLocale(fn);
  3090. },
  3091. getLocale: function getLocale() {
  3092. return i18n.getLocale();
  3093. },
  3094. setLocale: function setLocale(newLocale) {
  3095. return i18n.setLocale(newLocale);
  3096. }
  3097. };
  3098. }
  3099. var isString = function isString(val) {
  3100. return typeof val === 'string';
  3101. };
  3102. exports.isString = isString;
  3103. var formater;
  3104. function hasI18nJson(jsonObj, delimiters) {
  3105. if (!formater) {
  3106. formater = new BaseFormatter();
  3107. }
  3108. return walkJsonObj(jsonObj, function (jsonObj, key) {
  3109. var value = jsonObj[key];
  3110. if (isString(value)) {
  3111. if (isI18nStr(value, delimiters)) {
  3112. return true;
  3113. }
  3114. } else {
  3115. return hasI18nJson(value, delimiters);
  3116. }
  3117. });
  3118. }
  3119. function parseI18nJson(jsonObj, values, delimiters) {
  3120. if (!formater) {
  3121. formater = new BaseFormatter();
  3122. }
  3123. walkJsonObj(jsonObj, function (jsonObj, key) {
  3124. var value = jsonObj[key];
  3125. if (isString(value)) {
  3126. if (isI18nStr(value, delimiters)) {
  3127. jsonObj[key] = compileStr(value, values, delimiters);
  3128. }
  3129. } else {
  3130. parseI18nJson(value, values, delimiters);
  3131. }
  3132. });
  3133. return jsonObj;
  3134. }
  3135. function compileI18nJsonStr(jsonStr, _ref5) {
  3136. var locale = _ref5.locale,
  3137. locales = _ref5.locales,
  3138. delimiters = _ref5.delimiters;
  3139. if (!isI18nStr(jsonStr, delimiters)) {
  3140. return jsonStr;
  3141. }
  3142. if (!formater) {
  3143. formater = new BaseFormatter();
  3144. }
  3145. var localeValues = [];
  3146. Object.keys(locales).forEach(function (name) {
  3147. if (name !== locale) {
  3148. localeValues.push({
  3149. locale: name,
  3150. values: locales[name]
  3151. });
  3152. }
  3153. });
  3154. localeValues.unshift({
  3155. locale: locale,
  3156. values: locales[locale]
  3157. });
  3158. try {
  3159. return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);
  3160. } catch (e) {}
  3161. return jsonStr;
  3162. }
  3163. function isI18nStr(value, delimiters) {
  3164. return value.indexOf(delimiters[0]) > -1;
  3165. }
  3166. function compileStr(value, values, delimiters) {
  3167. return formater.interpolate(value, values, delimiters).join('');
  3168. }
  3169. function compileValue(jsonObj, key, localeValues, delimiters) {
  3170. var value = jsonObj[key];
  3171. if (isString(value)) {
  3172. // 存在国际化
  3173. if (isI18nStr(value, delimiters)) {
  3174. jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);
  3175. if (localeValues.length > 1) {
  3176. // 格式化国际化语言
  3177. var valueLocales = jsonObj[key + 'Locales'] = {};
  3178. localeValues.forEach(function (localValue) {
  3179. valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);
  3180. });
  3181. }
  3182. }
  3183. } else {
  3184. compileJsonObj(value, localeValues, delimiters);
  3185. }
  3186. }
  3187. function compileJsonObj(jsonObj, localeValues, delimiters) {
  3188. walkJsonObj(jsonObj, function (jsonObj, key) {
  3189. compileValue(jsonObj, key, localeValues, delimiters);
  3190. });
  3191. return jsonObj;
  3192. }
  3193. function walkJsonObj(jsonObj, walk) {
  3194. if (isArray(jsonObj)) {
  3195. for (var i = 0; i < jsonObj.length; i++) {
  3196. if (walk(jsonObj, i)) {
  3197. return true;
  3198. }
  3199. }
  3200. } else if (isObject(jsonObj)) {
  3201. for (var key in jsonObj) {
  3202. if (walk(jsonObj, key)) {
  3203. return true;
  3204. }
  3205. }
  3206. }
  3207. return false;
  3208. }
  3209. function resolveLocale(locales) {
  3210. return function (locale) {
  3211. if (!locale) {
  3212. return locale;
  3213. }
  3214. locale = normalizeLocale(locale) || locale;
  3215. return resolveLocaleChain(locale).find(function (locale) {
  3216. return locales.indexOf(locale) > -1;
  3217. });
  3218. };
  3219. }
  3220. function resolveLocaleChain(locale) {
  3221. var chain = [];
  3222. var tokens = locale.split('-');
  3223. while (tokens.length) {
  3224. chain.push(tokens.join('-'));
  3225. tokens.pop();
  3226. }
  3227. return chain;
  3228. }
  3229. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./../../../webpack/buildin/global.js */ 3)))
  3230. /***/ }),
  3231. /* 23 */
  3232. /*!***************************************************************!*\
  3233. !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
  3234. \***************************************************************/
  3235. /*! no static exports found */
  3236. /***/ (function(module, exports) {
  3237. function _classCallCheck(instance, Constructor) {
  3238. if (!(instance instanceof Constructor)) {
  3239. throw new TypeError("Cannot call a class as a function");
  3240. }
  3241. }
  3242. module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3243. /***/ }),
  3244. /* 24 */
  3245. /*!************************************************************!*\
  3246. !*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
  3247. \************************************************************/
  3248. /*! no static exports found */
  3249. /***/ (function(module, exports, __webpack_require__) {
  3250. var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ 12);
  3251. function _defineProperties(target, props) {
  3252. for (var i = 0; i < props.length; i++) {
  3253. var descriptor = props[i];
  3254. descriptor.enumerable = descriptor.enumerable || false;
  3255. descriptor.configurable = true;
  3256. if ("value" in descriptor) descriptor.writable = true;
  3257. Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
  3258. }
  3259. }
  3260. function _createClass(Constructor, protoProps, staticProps) {
  3261. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  3262. if (staticProps) _defineProperties(Constructor, staticProps);
  3263. Object.defineProperty(Constructor, "prototype", {
  3264. writable: false
  3265. });
  3266. return Constructor;
  3267. }
  3268. module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
  3269. /***/ }),
  3270. /* 25 */
  3271. /*!******************************************************************************************!*\
  3272. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
  3273. \******************************************************************************************/
  3274. /*! exports provided: default */
  3275. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3276. "use strict";
  3277. __webpack_require__.r(__webpack_exports__);
  3278. /* WEBPACK VAR INJECTION */(function(global) {/*!
  3279. * Vue.js v2.6.11
  3280. * (c) 2014-2022 Evan You
  3281. * Released under the MIT License.
  3282. */
  3283. /* */
  3284. var emptyObject = Object.freeze({});
  3285. // These helpers produce better VM code in JS engines due to their
  3286. // explicitness and function inlining.
  3287. function isUndef (v) {
  3288. return v === undefined || v === null
  3289. }
  3290. function isDef (v) {
  3291. return v !== undefined && v !== null
  3292. }
  3293. function isTrue (v) {
  3294. return v === true
  3295. }
  3296. function isFalse (v) {
  3297. return v === false
  3298. }
  3299. /**
  3300. * Check if value is primitive.
  3301. */
  3302. function isPrimitive (value) {
  3303. return (
  3304. typeof value === 'string' ||
  3305. typeof value === 'number' ||
  3306. // $flow-disable-line
  3307. typeof value === 'symbol' ||
  3308. typeof value === 'boolean'
  3309. )
  3310. }
  3311. /**
  3312. * Quick object check - this is primarily used to tell
  3313. * Objects from primitive values when we know the value
  3314. * is a JSON-compliant type.
  3315. */
  3316. function isObject (obj) {
  3317. return obj !== null && typeof obj === 'object'
  3318. }
  3319. /**
  3320. * Get the raw type string of a value, e.g., [object Object].
  3321. */
  3322. var _toString = Object.prototype.toString;
  3323. function toRawType (value) {
  3324. return _toString.call(value).slice(8, -1)
  3325. }
  3326. /**
  3327. * Strict object type check. Only returns true
  3328. * for plain JavaScript objects.
  3329. */
  3330. function isPlainObject (obj) {
  3331. return _toString.call(obj) === '[object Object]'
  3332. }
  3333. function isRegExp (v) {
  3334. return _toString.call(v) === '[object RegExp]'
  3335. }
  3336. /**
  3337. * Check if val is a valid array index.
  3338. */
  3339. function isValidArrayIndex (val) {
  3340. var n = parseFloat(String(val));
  3341. return n >= 0 && Math.floor(n) === n && isFinite(val)
  3342. }
  3343. function isPromise (val) {
  3344. return (
  3345. isDef(val) &&
  3346. typeof val.then === 'function' &&
  3347. typeof val.catch === 'function'
  3348. )
  3349. }
  3350. /**
  3351. * Convert a value to a string that is actually rendered.
  3352. */
  3353. function toString (val) {
  3354. return val == null
  3355. ? ''
  3356. : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)
  3357. ? JSON.stringify(val, null, 2)
  3358. : String(val)
  3359. }
  3360. /**
  3361. * Convert an input value to a number for persistence.
  3362. * If the conversion fails, return original string.
  3363. */
  3364. function toNumber (val) {
  3365. var n = parseFloat(val);
  3366. return isNaN(n) ? val : n
  3367. }
  3368. /**
  3369. * Make a map and return a function for checking if a key
  3370. * is in that map.
  3371. */
  3372. function makeMap (
  3373. str,
  3374. expectsLowerCase
  3375. ) {
  3376. var map = Object.create(null);
  3377. var list = str.split(',');
  3378. for (var i = 0; i < list.length; i++) {
  3379. map[list[i]] = true;
  3380. }
  3381. return expectsLowerCase
  3382. ? function (val) { return map[val.toLowerCase()]; }
  3383. : function (val) { return map[val]; }
  3384. }
  3385. /**
  3386. * Check if a tag is a built-in tag.
  3387. */
  3388. var isBuiltInTag = makeMap('slot,component', true);
  3389. /**
  3390. * Check if an attribute is a reserved attribute.
  3391. */
  3392. var isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');
  3393. /**
  3394. * Remove an item from an array.
  3395. */
  3396. function remove (arr, item) {
  3397. if (arr.length) {
  3398. var index = arr.indexOf(item);
  3399. if (index > -1) {
  3400. return arr.splice(index, 1)
  3401. }
  3402. }
  3403. }
  3404. /**
  3405. * Check whether an object has the property.
  3406. */
  3407. var hasOwnProperty = Object.prototype.hasOwnProperty;
  3408. function hasOwn (obj, key) {
  3409. return hasOwnProperty.call(obj, key)
  3410. }
  3411. /**
  3412. * Create a cached version of a pure function.
  3413. */
  3414. function cached (fn) {
  3415. var cache = Object.create(null);
  3416. return (function cachedFn (str) {
  3417. var hit = cache[str];
  3418. return hit || (cache[str] = fn(str))
  3419. })
  3420. }
  3421. /**
  3422. * Camelize a hyphen-delimited string.
  3423. */
  3424. var camelizeRE = /-(\w)/g;
  3425. var camelize = cached(function (str) {
  3426. return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })
  3427. });
  3428. /**
  3429. * Capitalize a string.
  3430. */
  3431. var capitalize = cached(function (str) {
  3432. return str.charAt(0).toUpperCase() + str.slice(1)
  3433. });
  3434. /**
  3435. * Hyphenate a camelCase string.
  3436. */
  3437. var hyphenateRE = /\B([A-Z])/g;
  3438. var hyphenate = cached(function (str) {
  3439. return str.replace(hyphenateRE, '-$1').toLowerCase()
  3440. });
  3441. /**
  3442. * Simple bind polyfill for environments that do not support it,
  3443. * e.g., PhantomJS 1.x. Technically, we don't need this anymore
  3444. * since native bind is now performant enough in most browsers.
  3445. * But removing it would mean breaking code that was able to run in
  3446. * PhantomJS 1.x, so this must be kept for backward compatibility.
  3447. */
  3448. /* istanbul ignore next */
  3449. function polyfillBind (fn, ctx) {
  3450. function boundFn (a) {
  3451. var l = arguments.length;
  3452. return l
  3453. ? l > 1
  3454. ? fn.apply(ctx, arguments)
  3455. : fn.call(ctx, a)
  3456. : fn.call(ctx)
  3457. }
  3458. boundFn._length = fn.length;
  3459. return boundFn
  3460. }
  3461. function nativeBind (fn, ctx) {
  3462. return fn.bind(ctx)
  3463. }
  3464. var bind = Function.prototype.bind
  3465. ? nativeBind
  3466. : polyfillBind;
  3467. /**
  3468. * Convert an Array-like object to a real Array.
  3469. */
  3470. function toArray (list, start) {
  3471. start = start || 0;
  3472. var i = list.length - start;
  3473. var ret = new Array(i);
  3474. while (i--) {
  3475. ret[i] = list[i + start];
  3476. }
  3477. return ret
  3478. }
  3479. /**
  3480. * Mix properties into target object.
  3481. */
  3482. function extend (to, _from) {
  3483. for (var key in _from) {
  3484. to[key] = _from[key];
  3485. }
  3486. return to
  3487. }
  3488. /**
  3489. * Merge an Array of Objects into a single Object.
  3490. */
  3491. function toObject (arr) {
  3492. var res = {};
  3493. for (var i = 0; i < arr.length; i++) {
  3494. if (arr[i]) {
  3495. extend(res, arr[i]);
  3496. }
  3497. }
  3498. return res
  3499. }
  3500. /* eslint-disable no-unused-vars */
  3501. /**
  3502. * Perform no operation.
  3503. * Stubbing args to make Flow happy without leaving useless transpiled code
  3504. * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).
  3505. */
  3506. function noop (a, b, c) {}
  3507. /**
  3508. * Always return false.
  3509. */
  3510. var no = function (a, b, c) { return false; };
  3511. /* eslint-enable no-unused-vars */
  3512. /**
  3513. * Return the same value.
  3514. */
  3515. var identity = function (_) { return _; };
  3516. /**
  3517. * Check if two values are loosely equal - that is,
  3518. * if they are plain objects, do they have the same shape?
  3519. */
  3520. function looseEqual (a, b) {
  3521. if (a === b) { return true }
  3522. var isObjectA = isObject(a);
  3523. var isObjectB = isObject(b);
  3524. if (isObjectA && isObjectB) {
  3525. try {
  3526. var isArrayA = Array.isArray(a);
  3527. var isArrayB = Array.isArray(b);
  3528. if (isArrayA && isArrayB) {
  3529. return a.length === b.length && a.every(function (e, i) {
  3530. return looseEqual(e, b[i])
  3531. })
  3532. } else if (a instanceof Date && b instanceof Date) {
  3533. return a.getTime() === b.getTime()
  3534. } else if (!isArrayA && !isArrayB) {
  3535. var keysA = Object.keys(a);
  3536. var keysB = Object.keys(b);
  3537. return keysA.length === keysB.length && keysA.every(function (key) {
  3538. return looseEqual(a[key], b[key])
  3539. })
  3540. } else {
  3541. /* istanbul ignore next */
  3542. return false
  3543. }
  3544. } catch (e) {
  3545. /* istanbul ignore next */
  3546. return false
  3547. }
  3548. } else if (!isObjectA && !isObjectB) {
  3549. return String(a) === String(b)
  3550. } else {
  3551. return false
  3552. }
  3553. }
  3554. /**
  3555. * Return the first index at which a loosely equal value can be
  3556. * found in the array (if value is a plain object, the array must
  3557. * contain an object of the same shape), or -1 if it is not present.
  3558. */
  3559. function looseIndexOf (arr, val) {
  3560. for (var i = 0; i < arr.length; i++) {
  3561. if (looseEqual(arr[i], val)) { return i }
  3562. }
  3563. return -1
  3564. }
  3565. /**
  3566. * Ensure a function is called only once.
  3567. */
  3568. function once (fn) {
  3569. var called = false;
  3570. return function () {
  3571. if (!called) {
  3572. called = true;
  3573. fn.apply(this, arguments);
  3574. }
  3575. }
  3576. }
  3577. var ASSET_TYPES = [
  3578. 'component',
  3579. 'directive',
  3580. 'filter'
  3581. ];
  3582. var LIFECYCLE_HOOKS = [
  3583. 'beforeCreate',
  3584. 'created',
  3585. 'beforeMount',
  3586. 'mounted',
  3587. 'beforeUpdate',
  3588. 'updated',
  3589. 'beforeDestroy',
  3590. 'destroyed',
  3591. 'activated',
  3592. 'deactivated',
  3593. 'errorCaptured',
  3594. 'serverPrefetch'
  3595. ];
  3596. /* */
  3597. var config = ({
  3598. /**
  3599. * Option merge strategies (used in core/util/options)
  3600. */
  3601. // $flow-disable-line
  3602. optionMergeStrategies: Object.create(null),
  3603. /**
  3604. * Whether to suppress warnings.
  3605. */
  3606. silent: false,
  3607. /**
  3608. * Show production mode tip message on boot?
  3609. */
  3610. productionTip: "development" !== 'production',
  3611. /**
  3612. * Whether to enable devtools
  3613. */
  3614. devtools: "development" !== 'production',
  3615. /**
  3616. * Whether to record perf
  3617. */
  3618. performance: false,
  3619. /**
  3620. * Error handler for watcher errors
  3621. */
  3622. errorHandler: null,
  3623. /**
  3624. * Warn handler for watcher warns
  3625. */
  3626. warnHandler: null,
  3627. /**
  3628. * Ignore certain custom elements
  3629. */
  3630. ignoredElements: [],
  3631. /**
  3632. * Custom user key aliases for v-on
  3633. */
  3634. // $flow-disable-line
  3635. keyCodes: Object.create(null),
  3636. /**
  3637. * Check if a tag is reserved so that it cannot be registered as a
  3638. * component. This is platform-dependent and may be overwritten.
  3639. */
  3640. isReservedTag: no,
  3641. /**
  3642. * Check if an attribute is reserved so that it cannot be used as a component
  3643. * prop. This is platform-dependent and may be overwritten.
  3644. */
  3645. isReservedAttr: no,
  3646. /**
  3647. * Check if a tag is an unknown element.
  3648. * Platform-dependent.
  3649. */
  3650. isUnknownElement: no,
  3651. /**
  3652. * Get the namespace of an element
  3653. */
  3654. getTagNamespace: noop,
  3655. /**
  3656. * Parse the real tag name for the specific platform.
  3657. */
  3658. parsePlatformTagName: identity,
  3659. /**
  3660. * Check if an attribute must be bound using property, e.g. value
  3661. * Platform-dependent.
  3662. */
  3663. mustUseProp: no,
  3664. /**
  3665. * Perform updates asynchronously. Intended to be used by Vue Test Utils
  3666. * This will significantly reduce performance if set to false.
  3667. */
  3668. async: true,
  3669. /**
  3670. * Exposed for legacy reasons
  3671. */
  3672. _lifecycleHooks: LIFECYCLE_HOOKS
  3673. });
  3674. /* */
  3675. /**
  3676. * unicode letters used for parsing html tags, component names and property paths.
  3677. * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname
  3678. * skipping \u10000-\uEFFFF due to it freezing up PhantomJS
  3679. */
  3680. var unicodeRegExp = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;
  3681. /**
  3682. * Check if a string starts with $ or _
  3683. */
  3684. function isReserved (str) {
  3685. var c = (str + '').charCodeAt(0);
  3686. return c === 0x24 || c === 0x5F
  3687. }
  3688. /**
  3689. * Define a property.
  3690. */
  3691. function def (obj, key, val, enumerable) {
  3692. Object.defineProperty(obj, key, {
  3693. value: val,
  3694. enumerable: !!enumerable,
  3695. writable: true,
  3696. configurable: true
  3697. });
  3698. }
  3699. /**
  3700. * Parse simple path.
  3701. */
  3702. var bailRE = new RegExp(("[^" + (unicodeRegExp.source) + ".$_\\d]"));
  3703. function parsePath (path) {
  3704. if (bailRE.test(path)) {
  3705. return
  3706. }
  3707. var segments = path.split('.');
  3708. return function (obj) {
  3709. for (var i = 0; i < segments.length; i++) {
  3710. if (!obj) { return }
  3711. obj = obj[segments[i]];
  3712. }
  3713. return obj
  3714. }
  3715. }
  3716. /* */
  3717. // can we use __proto__?
  3718. var hasProto = '__proto__' in {};
  3719. // Browser environment sniffing
  3720. var inBrowser = typeof window !== 'undefined';
  3721. var inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;
  3722. var weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();
  3723. var UA = inBrowser && window.navigator.userAgent.toLowerCase();
  3724. var isIE = UA && /msie|trident/.test(UA);
  3725. var isIE9 = UA && UA.indexOf('msie 9.0') > 0;
  3726. var isEdge = UA && UA.indexOf('edge/') > 0;
  3727. var isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');
  3728. var isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');
  3729. var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge;
  3730. var isPhantomJS = UA && /phantomjs/.test(UA);
  3731. var isFF = UA && UA.match(/firefox\/(\d+)/);
  3732. // Firefox has a "watch" function on Object.prototype...
  3733. var nativeWatch = ({}).watch;
  3734. if (inBrowser) {
  3735. try {
  3736. var opts = {};
  3737. Object.defineProperty(opts, 'passive', ({
  3738. get: function get () {
  3739. }
  3740. })); // https://github.com/facebook/flow/issues/285
  3741. window.addEventListener('test-passive', null, opts);
  3742. } catch (e) {}
  3743. }
  3744. // this needs to be lazy-evaled because vue may be required before
  3745. // vue-server-renderer can set VUE_ENV
  3746. var _isServer;
  3747. var isServerRendering = function () {
  3748. if (_isServer === undefined) {
  3749. /* istanbul ignore if */
  3750. if (!inBrowser && !inWeex && typeof global !== 'undefined') {
  3751. // detect presence of vue-server-renderer and avoid
  3752. // Webpack shimming the process
  3753. _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';
  3754. } else {
  3755. _isServer = false;
  3756. }
  3757. }
  3758. return _isServer
  3759. };
  3760. // detect devtools
  3761. var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
  3762. /* istanbul ignore next */
  3763. function isNative (Ctor) {
  3764. return typeof Ctor === 'function' && /native code/.test(Ctor.toString())
  3765. }
  3766. var hasSymbol =
  3767. typeof Symbol !== 'undefined' && isNative(Symbol) &&
  3768. typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);
  3769. var _Set;
  3770. /* istanbul ignore if */ // $flow-disable-line
  3771. if (typeof Set !== 'undefined' && isNative(Set)) {
  3772. // use native Set when available.
  3773. _Set = Set;
  3774. } else {
  3775. // a non-standard Set polyfill that only works with primitive keys.
  3776. _Set = /*@__PURE__*/(function () {
  3777. function Set () {
  3778. this.set = Object.create(null);
  3779. }
  3780. Set.prototype.has = function has (key) {
  3781. return this.set[key] === true
  3782. };
  3783. Set.prototype.add = function add (key) {
  3784. this.set[key] = true;
  3785. };
  3786. Set.prototype.clear = function clear () {
  3787. this.set = Object.create(null);
  3788. };
  3789. return Set;
  3790. }());
  3791. }
  3792. /* */
  3793. var warn = noop;
  3794. var tip = noop;
  3795. var generateComponentTrace = (noop); // work around flow check
  3796. var formatComponentName = (noop);
  3797. if (true) {
  3798. var hasConsole = typeof console !== 'undefined';
  3799. var classifyRE = /(?:^|[-_])(\w)/g;
  3800. var classify = function (str) { return str
  3801. .replace(classifyRE, function (c) { return c.toUpperCase(); })
  3802. .replace(/[-_]/g, ''); };
  3803. warn = function (msg, vm) {
  3804. var trace = vm ? generateComponentTrace(vm) : '';
  3805. if (config.warnHandler) {
  3806. config.warnHandler.call(null, msg, vm, trace);
  3807. } else if (hasConsole && (!config.silent)) {
  3808. console.error(("[Vue warn]: " + msg + trace));
  3809. }
  3810. };
  3811. tip = function (msg, vm) {
  3812. if (hasConsole && (!config.silent)) {
  3813. console.warn("[Vue tip]: " + msg + (
  3814. vm ? generateComponentTrace(vm) : ''
  3815. ));
  3816. }
  3817. };
  3818. formatComponentName = function (vm, includeFile) {
  3819. if (vm.$root === vm) {
  3820. if (vm.$options && vm.$options.__file) { // fixed by xxxxxx
  3821. return ('') + vm.$options.__file
  3822. }
  3823. return '<Root>'
  3824. }
  3825. var options = typeof vm === 'function' && vm.cid != null
  3826. ? vm.options
  3827. : vm._isVue
  3828. ? vm.$options || vm.constructor.options
  3829. : vm;
  3830. var name = options.name || options._componentTag;
  3831. var file = options.__file;
  3832. if (!name && file) {
  3833. var match = file.match(/([^/\\]+)\.vue$/);
  3834. name = match && match[1];
  3835. }
  3836. return (
  3837. (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") +
  3838. (file && includeFile !== false ? (" at " + file) : '')
  3839. )
  3840. };
  3841. var repeat = function (str, n) {
  3842. var res = '';
  3843. while (n) {
  3844. if (n % 2 === 1) { res += str; }
  3845. if (n > 1) { str += str; }
  3846. n >>= 1;
  3847. }
  3848. return res
  3849. };
  3850. generateComponentTrace = function (vm) {
  3851. if (vm._isVue && vm.$parent) {
  3852. var tree = [];
  3853. var currentRecursiveSequence = 0;
  3854. while (vm && vm.$options.name !== 'PageBody') {
  3855. if (tree.length > 0) {
  3856. var last = tree[tree.length - 1];
  3857. if (last.constructor === vm.constructor) {
  3858. currentRecursiveSequence++;
  3859. vm = vm.$parent;
  3860. continue
  3861. } else if (currentRecursiveSequence > 0) {
  3862. tree[tree.length - 1] = [last, currentRecursiveSequence];
  3863. currentRecursiveSequence = 0;
  3864. }
  3865. }
  3866. !vm.$options.isReserved && tree.push(vm);
  3867. vm = vm.$parent;
  3868. }
  3869. return '\n\nfound in\n\n' + tree
  3870. .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)
  3871. ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)")
  3872. : formatComponentName(vm))); })
  3873. .join('\n')
  3874. } else {
  3875. return ("\n\n(found in " + (formatComponentName(vm)) + ")")
  3876. }
  3877. };
  3878. }
  3879. /* */
  3880. var uid = 0;
  3881. /**
  3882. * A dep is an observable that can have multiple
  3883. * directives subscribing to it.
  3884. */
  3885. var Dep = function Dep () {
  3886. this.id = uid++;
  3887. this.subs = [];
  3888. };
  3889. Dep.prototype.addSub = function addSub (sub) {
  3890. this.subs.push(sub);
  3891. };
  3892. Dep.prototype.removeSub = function removeSub (sub) {
  3893. remove(this.subs, sub);
  3894. };
  3895. Dep.prototype.depend = function depend () {
  3896. if (Dep.SharedObject.target) {
  3897. Dep.SharedObject.target.addDep(this);
  3898. }
  3899. };
  3900. Dep.prototype.notify = function notify () {
  3901. // stabilize the subscriber list first
  3902. var subs = this.subs.slice();
  3903. if ( true && !config.async) {
  3904. // subs aren't sorted in scheduler if not running async
  3905. // we need to sort them now to make sure they fire in correct
  3906. // order
  3907. subs.sort(function (a, b) { return a.id - b.id; });
  3908. }
  3909. for (var i = 0, l = subs.length; i < l; i++) {
  3910. subs[i].update();
  3911. }
  3912. };
  3913. // The current target watcher being evaluated.
  3914. // This is globally unique because only one watcher
  3915. // can be evaluated at a time.
  3916. // fixed by xxxxxx (nvue shared vuex)
  3917. /* eslint-disable no-undef */
  3918. Dep.SharedObject = {};
  3919. Dep.SharedObject.target = null;
  3920. Dep.SharedObject.targetStack = [];
  3921. function pushTarget (target) {
  3922. Dep.SharedObject.targetStack.push(target);
  3923. Dep.SharedObject.target = target;
  3924. Dep.target = target;
  3925. }
  3926. function popTarget () {
  3927. Dep.SharedObject.targetStack.pop();
  3928. Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
  3929. Dep.target = Dep.SharedObject.target;
  3930. }
  3931. /* */
  3932. var VNode = function VNode (
  3933. tag,
  3934. data,
  3935. children,
  3936. text,
  3937. elm,
  3938. context,
  3939. componentOptions,
  3940. asyncFactory
  3941. ) {
  3942. this.tag = tag;
  3943. this.data = data;
  3944. this.children = children;
  3945. this.text = text;
  3946. this.elm = elm;
  3947. this.ns = undefined;
  3948. this.context = context;
  3949. this.fnContext = undefined;
  3950. this.fnOptions = undefined;
  3951. this.fnScopeId = undefined;
  3952. this.key = data && data.key;
  3953. this.componentOptions = componentOptions;
  3954. this.componentInstance = undefined;
  3955. this.parent = undefined;
  3956. this.raw = false;
  3957. this.isStatic = false;
  3958. this.isRootInsert = true;
  3959. this.isComment = false;
  3960. this.isCloned = false;
  3961. this.isOnce = false;
  3962. this.asyncFactory = asyncFactory;
  3963. this.asyncMeta = undefined;
  3964. this.isAsyncPlaceholder = false;
  3965. };
  3966. var prototypeAccessors = { child: { configurable: true } };
  3967. // DEPRECATED: alias for componentInstance for backwards compat.
  3968. /* istanbul ignore next */
  3969. prototypeAccessors.child.get = function () {
  3970. return this.componentInstance
  3971. };
  3972. Object.defineProperties( VNode.prototype, prototypeAccessors );
  3973. var createEmptyVNode = function (text) {
  3974. if ( text === void 0 ) text = '';
  3975. var node = new VNode();
  3976. node.text = text;
  3977. node.isComment = true;
  3978. return node
  3979. };
  3980. function createTextVNode (val) {
  3981. return new VNode(undefined, undefined, undefined, String(val))
  3982. }
  3983. // optimized shallow clone
  3984. // used for static nodes and slot nodes because they may be reused across
  3985. // multiple renders, cloning them avoids errors when DOM manipulations rely
  3986. // on their elm reference.
  3987. function cloneVNode (vnode) {
  3988. var cloned = new VNode(
  3989. vnode.tag,
  3990. vnode.data,
  3991. // #7975
  3992. // clone children array to avoid mutating original in case of cloning
  3993. // a child.
  3994. vnode.children && vnode.children.slice(),
  3995. vnode.text,
  3996. vnode.elm,
  3997. vnode.context,
  3998. vnode.componentOptions,
  3999. vnode.asyncFactory
  4000. );
  4001. cloned.ns = vnode.ns;
  4002. cloned.isStatic = vnode.isStatic;
  4003. cloned.key = vnode.key;
  4004. cloned.isComment = vnode.isComment;
  4005. cloned.fnContext = vnode.fnContext;
  4006. cloned.fnOptions = vnode.fnOptions;
  4007. cloned.fnScopeId = vnode.fnScopeId;
  4008. cloned.asyncMeta = vnode.asyncMeta;
  4009. cloned.isCloned = true;
  4010. return cloned
  4011. }
  4012. /*
  4013. * not type checking this file because flow doesn't play well with
  4014. * dynamically accessing methods on Array prototype
  4015. */
  4016. var arrayProto = Array.prototype;
  4017. var arrayMethods = Object.create(arrayProto);
  4018. var methodsToPatch = [
  4019. 'push',
  4020. 'pop',
  4021. 'shift',
  4022. 'unshift',
  4023. 'splice',
  4024. 'sort',
  4025. 'reverse'
  4026. ];
  4027. /**
  4028. * Intercept mutating methods and emit events
  4029. */
  4030. methodsToPatch.forEach(function (method) {
  4031. // cache original method
  4032. var original = arrayProto[method];
  4033. def(arrayMethods, method, function mutator () {
  4034. var args = [], len = arguments.length;
  4035. while ( len-- ) args[ len ] = arguments[ len ];
  4036. var result = original.apply(this, args);
  4037. var ob = this.__ob__;
  4038. var inserted;
  4039. switch (method) {
  4040. case 'push':
  4041. case 'unshift':
  4042. inserted = args;
  4043. break
  4044. case 'splice':
  4045. inserted = args.slice(2);
  4046. break
  4047. }
  4048. if (inserted) { ob.observeArray(inserted); }
  4049. // notify change
  4050. ob.dep.notify();
  4051. return result
  4052. });
  4053. });
  4054. /* */
  4055. var arrayKeys = Object.getOwnPropertyNames(arrayMethods);
  4056. /**
  4057. * In some cases we may want to disable observation inside a component's
  4058. * update computation.
  4059. */
  4060. var shouldObserve = true;
  4061. function toggleObserving (value) {
  4062. shouldObserve = value;
  4063. }
  4064. /**
  4065. * Observer class that is attached to each observed
  4066. * object. Once attached, the observer converts the target
  4067. * object's property keys into getter/setters that
  4068. * collect dependencies and dispatch updates.
  4069. */
  4070. var Observer = function Observer (value) {
  4071. this.value = value;
  4072. this.dep = new Dep();
  4073. this.vmCount = 0;
  4074. def(value, '__ob__', this);
  4075. if (Array.isArray(value)) {
  4076. if (hasProto) {
  4077. {// fixed by xxxxxx 微信小程序使用 plugins 之后,数组方法被直接挂载到了数组对象上,需要执行 copyAugment 逻辑
  4078. if(value.push !== value.__proto__.push){
  4079. copyAugment(value, arrayMethods, arrayKeys);
  4080. } else {
  4081. protoAugment(value, arrayMethods);
  4082. }
  4083. }
  4084. } else {
  4085. copyAugment(value, arrayMethods, arrayKeys);
  4086. }
  4087. this.observeArray(value);
  4088. } else {
  4089. this.walk(value);
  4090. }
  4091. };
  4092. /**
  4093. * Walk through all properties and convert them into
  4094. * getter/setters. This method should only be called when
  4095. * value type is Object.
  4096. */
  4097. Observer.prototype.walk = function walk (obj) {
  4098. var keys = Object.keys(obj);
  4099. for (var i = 0; i < keys.length; i++) {
  4100. defineReactive$$1(obj, keys[i]);
  4101. }
  4102. };
  4103. /**
  4104. * Observe a list of Array items.
  4105. */
  4106. Observer.prototype.observeArray = function observeArray (items) {
  4107. for (var i = 0, l = items.length; i < l; i++) {
  4108. observe(items[i]);
  4109. }
  4110. };
  4111. // helpers
  4112. /**
  4113. * Augment a target Object or Array by intercepting
  4114. * the prototype chain using __proto__
  4115. */
  4116. function protoAugment (target, src) {
  4117. /* eslint-disable no-proto */
  4118. target.__proto__ = src;
  4119. /* eslint-enable no-proto */
  4120. }
  4121. /**
  4122. * Augment a target Object or Array by defining
  4123. * hidden properties.
  4124. */
  4125. /* istanbul ignore next */
  4126. function copyAugment (target, src, keys) {
  4127. for (var i = 0, l = keys.length; i < l; i++) {
  4128. var key = keys[i];
  4129. def(target, key, src[key]);
  4130. }
  4131. }
  4132. /**
  4133. * Attempt to create an observer instance for a value,
  4134. * returns the new observer if successfully observed,
  4135. * or the existing observer if the value already has one.
  4136. */
  4137. function observe (value, asRootData) {
  4138. if (!isObject(value) || value instanceof VNode) {
  4139. return
  4140. }
  4141. var ob;
  4142. if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
  4143. ob = value.__ob__;
  4144. } else if (
  4145. shouldObserve &&
  4146. !isServerRendering() &&
  4147. (Array.isArray(value) || isPlainObject(value)) &&
  4148. Object.isExtensible(value) &&
  4149. !value._isVue &&
  4150. !value.__v_isMPComponent
  4151. ) {
  4152. ob = new Observer(value);
  4153. }
  4154. if (asRootData && ob) {
  4155. ob.vmCount++;
  4156. }
  4157. return ob
  4158. }
  4159. /**
  4160. * Define a reactive property on an Object.
  4161. */
  4162. function defineReactive$$1 (
  4163. obj,
  4164. key,
  4165. val,
  4166. customSetter,
  4167. shallow
  4168. ) {
  4169. var dep = new Dep();
  4170. var property = Object.getOwnPropertyDescriptor(obj, key);
  4171. if (property && property.configurable === false) {
  4172. return
  4173. }
  4174. // cater for pre-defined getter/setters
  4175. var getter = property && property.get;
  4176. var setter = property && property.set;
  4177. if ((!getter || setter) && arguments.length === 2) {
  4178. val = obj[key];
  4179. }
  4180. var childOb = !shallow && observe(val);
  4181. Object.defineProperty(obj, key, {
  4182. enumerable: true,
  4183. configurable: true,
  4184. get: function reactiveGetter () {
  4185. var value = getter ? getter.call(obj) : val;
  4186. if (Dep.SharedObject.target) { // fixed by xxxxxx
  4187. dep.depend();
  4188. if (childOb) {
  4189. childOb.dep.depend();
  4190. if (Array.isArray(value)) {
  4191. dependArray(value);
  4192. }
  4193. }
  4194. }
  4195. return value
  4196. },
  4197. set: function reactiveSetter (newVal) {
  4198. var value = getter ? getter.call(obj) : val;
  4199. /* eslint-disable no-self-compare */
  4200. if (newVal === value || (newVal !== newVal && value !== value)) {
  4201. return
  4202. }
  4203. /* eslint-enable no-self-compare */
  4204. if ( true && customSetter) {
  4205. customSetter();
  4206. }
  4207. // #7981: for accessor properties without setter
  4208. if (getter && !setter) { return }
  4209. if (setter) {
  4210. setter.call(obj, newVal);
  4211. } else {
  4212. val = newVal;
  4213. }
  4214. childOb = !shallow && observe(newVal);
  4215. dep.notify();
  4216. }
  4217. });
  4218. }
  4219. /**
  4220. * Set a property on an object. Adds the new property and
  4221. * triggers change notification if the property doesn't
  4222. * already exist.
  4223. */
  4224. function set (target, key, val) {
  4225. if ( true &&
  4226. (isUndef(target) || isPrimitive(target))
  4227. ) {
  4228. warn(("Cannot set reactive property on undefined, null, or primitive value: " + ((target))));
  4229. }
  4230. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4231. target.length = Math.max(target.length, key);
  4232. target.splice(key, 1, val);
  4233. return val
  4234. }
  4235. if (key in target && !(key in Object.prototype)) {
  4236. target[key] = val;
  4237. return val
  4238. }
  4239. var ob = (target).__ob__;
  4240. if (target._isVue || (ob && ob.vmCount)) {
  4241. true && warn(
  4242. 'Avoid adding reactive properties to a Vue instance or its root $data ' +
  4243. 'at runtime - declare it upfront in the data option.'
  4244. );
  4245. return val
  4246. }
  4247. if (!ob) {
  4248. target[key] = val;
  4249. return val
  4250. }
  4251. defineReactive$$1(ob.value, key, val);
  4252. ob.dep.notify();
  4253. return val
  4254. }
  4255. /**
  4256. * Delete a property and trigger change if necessary.
  4257. */
  4258. function del (target, key) {
  4259. if ( true &&
  4260. (isUndef(target) || isPrimitive(target))
  4261. ) {
  4262. warn(("Cannot delete reactive property on undefined, null, or primitive value: " + ((target))));
  4263. }
  4264. if (Array.isArray(target) && isValidArrayIndex(key)) {
  4265. target.splice(key, 1);
  4266. return
  4267. }
  4268. var ob = (target).__ob__;
  4269. if (target._isVue || (ob && ob.vmCount)) {
  4270. true && warn(
  4271. 'Avoid deleting properties on a Vue instance or its root $data ' +
  4272. '- just set it to null.'
  4273. );
  4274. return
  4275. }
  4276. if (!hasOwn(target, key)) {
  4277. return
  4278. }
  4279. delete target[key];
  4280. if (!ob) {
  4281. return
  4282. }
  4283. ob.dep.notify();
  4284. }
  4285. /**
  4286. * Collect dependencies on array elements when the array is touched, since
  4287. * we cannot intercept array element access like property getters.
  4288. */
  4289. function dependArray (value) {
  4290. for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
  4291. e = value[i];
  4292. e && e.__ob__ && e.__ob__.dep.depend();
  4293. if (Array.isArray(e)) {
  4294. dependArray(e);
  4295. }
  4296. }
  4297. }
  4298. /* */
  4299. /**
  4300. * Option overwriting strategies are functions that handle
  4301. * how to merge a parent option value and a child option
  4302. * value into the final value.
  4303. */
  4304. var strats = config.optionMergeStrategies;
  4305. /**
  4306. * Options with restrictions
  4307. */
  4308. if (true) {
  4309. strats.el = strats.propsData = function (parent, child, vm, key) {
  4310. if (!vm) {
  4311. warn(
  4312. "option \"" + key + "\" can only be used during instance " +
  4313. 'creation with the `new` keyword.'
  4314. );
  4315. }
  4316. return defaultStrat(parent, child)
  4317. };
  4318. }
  4319. /**
  4320. * Helper that recursively merges two data objects together.
  4321. */
  4322. function mergeData (to, from) {
  4323. if (!from) { return to }
  4324. var key, toVal, fromVal;
  4325. var keys = hasSymbol
  4326. ? Reflect.ownKeys(from)
  4327. : Object.keys(from);
  4328. for (var i = 0; i < keys.length; i++) {
  4329. key = keys[i];
  4330. // in case the object is already observed...
  4331. if (key === '__ob__') { continue }
  4332. toVal = to[key];
  4333. fromVal = from[key];
  4334. if (!hasOwn(to, key)) {
  4335. set(to, key, fromVal);
  4336. } else if (
  4337. toVal !== fromVal &&
  4338. isPlainObject(toVal) &&
  4339. isPlainObject(fromVal)
  4340. ) {
  4341. mergeData(toVal, fromVal);
  4342. }
  4343. }
  4344. return to
  4345. }
  4346. /**
  4347. * Data
  4348. */
  4349. function mergeDataOrFn (
  4350. parentVal,
  4351. childVal,
  4352. vm
  4353. ) {
  4354. if (!vm) {
  4355. // in a Vue.extend merge, both should be functions
  4356. if (!childVal) {
  4357. return parentVal
  4358. }
  4359. if (!parentVal) {
  4360. return childVal
  4361. }
  4362. // when parentVal & childVal are both present,
  4363. // we need to return a function that returns the
  4364. // merged result of both functions... no need to
  4365. // check if parentVal is a function here because
  4366. // it has to be a function to pass previous merges.
  4367. return function mergedDataFn () {
  4368. return mergeData(
  4369. typeof childVal === 'function' ? childVal.call(this, this) : childVal,
  4370. typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal
  4371. )
  4372. }
  4373. } else {
  4374. return function mergedInstanceDataFn () {
  4375. // instance merge
  4376. var instanceData = typeof childVal === 'function'
  4377. ? childVal.call(vm, vm)
  4378. : childVal;
  4379. var defaultData = typeof parentVal === 'function'
  4380. ? parentVal.call(vm, vm)
  4381. : parentVal;
  4382. if (instanceData) {
  4383. return mergeData(instanceData, defaultData)
  4384. } else {
  4385. return defaultData
  4386. }
  4387. }
  4388. }
  4389. }
  4390. strats.data = function (
  4391. parentVal,
  4392. childVal,
  4393. vm
  4394. ) {
  4395. if (!vm) {
  4396. if (childVal && typeof childVal !== 'function') {
  4397. true && warn(
  4398. 'The "data" option should be a function ' +
  4399. 'that returns a per-instance value in component ' +
  4400. 'definitions.',
  4401. vm
  4402. );
  4403. return parentVal
  4404. }
  4405. return mergeDataOrFn(parentVal, childVal)
  4406. }
  4407. return mergeDataOrFn(parentVal, childVal, vm)
  4408. };
  4409. /**
  4410. * Hooks and props are merged as arrays.
  4411. */
  4412. function mergeHook (
  4413. parentVal,
  4414. childVal
  4415. ) {
  4416. var res = childVal
  4417. ? parentVal
  4418. ? parentVal.concat(childVal)
  4419. : Array.isArray(childVal)
  4420. ? childVal
  4421. : [childVal]
  4422. : parentVal;
  4423. return res
  4424. ? dedupeHooks(res)
  4425. : res
  4426. }
  4427. function dedupeHooks (hooks) {
  4428. var res = [];
  4429. for (var i = 0; i < hooks.length; i++) {
  4430. if (res.indexOf(hooks[i]) === -1) {
  4431. res.push(hooks[i]);
  4432. }
  4433. }
  4434. return res
  4435. }
  4436. LIFECYCLE_HOOKS.forEach(function (hook) {
  4437. strats[hook] = mergeHook;
  4438. });
  4439. /**
  4440. * Assets
  4441. *
  4442. * When a vm is present (instance creation), we need to do
  4443. * a three-way merge between constructor options, instance
  4444. * options and parent options.
  4445. */
  4446. function mergeAssets (
  4447. parentVal,
  4448. childVal,
  4449. vm,
  4450. key
  4451. ) {
  4452. var res = Object.create(parentVal || null);
  4453. if (childVal) {
  4454. true && assertObjectType(key, childVal, vm);
  4455. return extend(res, childVal)
  4456. } else {
  4457. return res
  4458. }
  4459. }
  4460. ASSET_TYPES.forEach(function (type) {
  4461. strats[type + 's'] = mergeAssets;
  4462. });
  4463. /**
  4464. * Watchers.
  4465. *
  4466. * Watchers hashes should not overwrite one
  4467. * another, so we merge them as arrays.
  4468. */
  4469. strats.watch = function (
  4470. parentVal,
  4471. childVal,
  4472. vm,
  4473. key
  4474. ) {
  4475. // work around Firefox's Object.prototype.watch...
  4476. if (parentVal === nativeWatch) { parentVal = undefined; }
  4477. if (childVal === nativeWatch) { childVal = undefined; }
  4478. /* istanbul ignore if */
  4479. if (!childVal) { return Object.create(parentVal || null) }
  4480. if (true) {
  4481. assertObjectType(key, childVal, vm);
  4482. }
  4483. if (!parentVal) { return childVal }
  4484. var ret = {};
  4485. extend(ret, parentVal);
  4486. for (var key$1 in childVal) {
  4487. var parent = ret[key$1];
  4488. var child = childVal[key$1];
  4489. if (parent && !Array.isArray(parent)) {
  4490. parent = [parent];
  4491. }
  4492. ret[key$1] = parent
  4493. ? parent.concat(child)
  4494. : Array.isArray(child) ? child : [child];
  4495. }
  4496. return ret
  4497. };
  4498. /**
  4499. * Other object hashes.
  4500. */
  4501. strats.props =
  4502. strats.methods =
  4503. strats.inject =
  4504. strats.computed = function (
  4505. parentVal,
  4506. childVal,
  4507. vm,
  4508. key
  4509. ) {
  4510. if (childVal && "development" !== 'production') {
  4511. assertObjectType(key, childVal, vm);
  4512. }
  4513. if (!parentVal) { return childVal }
  4514. var ret = Object.create(null);
  4515. extend(ret, parentVal);
  4516. if (childVal) { extend(ret, childVal); }
  4517. return ret
  4518. };
  4519. strats.provide = mergeDataOrFn;
  4520. /**
  4521. * Default strategy.
  4522. */
  4523. var defaultStrat = function (parentVal, childVal) {
  4524. return childVal === undefined
  4525. ? parentVal
  4526. : childVal
  4527. };
  4528. /**
  4529. * Validate component names
  4530. */
  4531. function checkComponents (options) {
  4532. for (var key in options.components) {
  4533. validateComponentName(key);
  4534. }
  4535. }
  4536. function validateComponentName (name) {
  4537. if (!new RegExp(("^[a-zA-Z][\\-\\.0-9_" + (unicodeRegExp.source) + "]*$")).test(name)) {
  4538. warn(
  4539. 'Invalid component name: "' + name + '". Component names ' +
  4540. 'should conform to valid custom element name in html5 specification.'
  4541. );
  4542. }
  4543. if (isBuiltInTag(name) || config.isReservedTag(name)) {
  4544. warn(
  4545. 'Do not use built-in or reserved HTML elements as component ' +
  4546. 'id: ' + name
  4547. );
  4548. }
  4549. }
  4550. /**
  4551. * Ensure all props option syntax are normalized into the
  4552. * Object-based format.
  4553. */
  4554. function normalizeProps (options, vm) {
  4555. var props = options.props;
  4556. if (!props) { return }
  4557. var res = {};
  4558. var i, val, name;
  4559. if (Array.isArray(props)) {
  4560. i = props.length;
  4561. while (i--) {
  4562. val = props[i];
  4563. if (typeof val === 'string') {
  4564. name = camelize(val);
  4565. res[name] = { type: null };
  4566. } else if (true) {
  4567. warn('props must be strings when using array syntax.');
  4568. }
  4569. }
  4570. } else if (isPlainObject(props)) {
  4571. for (var key in props) {
  4572. val = props[key];
  4573. name = camelize(key);
  4574. res[name] = isPlainObject(val)
  4575. ? val
  4576. : { type: val };
  4577. }
  4578. } else if (true) {
  4579. warn(
  4580. "Invalid value for option \"props\": expected an Array or an Object, " +
  4581. "but got " + (toRawType(props)) + ".",
  4582. vm
  4583. );
  4584. }
  4585. options.props = res;
  4586. }
  4587. /**
  4588. * Normalize all injections into Object-based format
  4589. */
  4590. function normalizeInject (options, vm) {
  4591. var inject = options.inject;
  4592. if (!inject) { return }
  4593. var normalized = options.inject = {};
  4594. if (Array.isArray(inject)) {
  4595. for (var i = 0; i < inject.length; i++) {
  4596. normalized[inject[i]] = { from: inject[i] };
  4597. }
  4598. } else if (isPlainObject(inject)) {
  4599. for (var key in inject) {
  4600. var val = inject[key];
  4601. normalized[key] = isPlainObject(val)
  4602. ? extend({ from: key }, val)
  4603. : { from: val };
  4604. }
  4605. } else if (true) {
  4606. warn(
  4607. "Invalid value for option \"inject\": expected an Array or an Object, " +
  4608. "but got " + (toRawType(inject)) + ".",
  4609. vm
  4610. );
  4611. }
  4612. }
  4613. /**
  4614. * Normalize raw function directives into object format.
  4615. */
  4616. function normalizeDirectives (options) {
  4617. var dirs = options.directives;
  4618. if (dirs) {
  4619. for (var key in dirs) {
  4620. var def$$1 = dirs[key];
  4621. if (typeof def$$1 === 'function') {
  4622. dirs[key] = { bind: def$$1, update: def$$1 };
  4623. }
  4624. }
  4625. }
  4626. }
  4627. function assertObjectType (name, value, vm) {
  4628. if (!isPlainObject(value)) {
  4629. warn(
  4630. "Invalid value for option \"" + name + "\": expected an Object, " +
  4631. "but got " + (toRawType(value)) + ".",
  4632. vm
  4633. );
  4634. }
  4635. }
  4636. /**
  4637. * Merge two option objects into a new one.
  4638. * Core utility used in both instantiation and inheritance.
  4639. */
  4640. function mergeOptions (
  4641. parent,
  4642. child,
  4643. vm
  4644. ) {
  4645. if (true) {
  4646. checkComponents(child);
  4647. }
  4648. if (typeof child === 'function') {
  4649. child = child.options;
  4650. }
  4651. normalizeProps(child, vm);
  4652. normalizeInject(child, vm);
  4653. normalizeDirectives(child);
  4654. // Apply extends and mixins on the child options,
  4655. // but only if it is a raw options object that isn't
  4656. // the result of another mergeOptions call.
  4657. // Only merged options has the _base property.
  4658. if (!child._base) {
  4659. if (child.extends) {
  4660. parent = mergeOptions(parent, child.extends, vm);
  4661. }
  4662. if (child.mixins) {
  4663. for (var i = 0, l = child.mixins.length; i < l; i++) {
  4664. parent = mergeOptions(parent, child.mixins[i], vm);
  4665. }
  4666. }
  4667. }
  4668. var options = {};
  4669. var key;
  4670. for (key in parent) {
  4671. mergeField(key);
  4672. }
  4673. for (key in child) {
  4674. if (!hasOwn(parent, key)) {
  4675. mergeField(key);
  4676. }
  4677. }
  4678. function mergeField (key) {
  4679. var strat = strats[key] || defaultStrat;
  4680. options[key] = strat(parent[key], child[key], vm, key);
  4681. }
  4682. return options
  4683. }
  4684. /**
  4685. * Resolve an asset.
  4686. * This function is used because child instances need access
  4687. * to assets defined in its ancestor chain.
  4688. */
  4689. function resolveAsset (
  4690. options,
  4691. type,
  4692. id,
  4693. warnMissing
  4694. ) {
  4695. /* istanbul ignore if */
  4696. if (typeof id !== 'string') {
  4697. return
  4698. }
  4699. var assets = options[type];
  4700. // check local registration variations first
  4701. if (hasOwn(assets, id)) { return assets[id] }
  4702. var camelizedId = camelize(id);
  4703. if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }
  4704. var PascalCaseId = capitalize(camelizedId);
  4705. if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }
  4706. // fallback to prototype chain
  4707. var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];
  4708. if ( true && warnMissing && !res) {
  4709. warn(
  4710. 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,
  4711. options
  4712. );
  4713. }
  4714. return res
  4715. }
  4716. /* */
  4717. function validateProp (
  4718. key,
  4719. propOptions,
  4720. propsData,
  4721. vm
  4722. ) {
  4723. var prop = propOptions[key];
  4724. var absent = !hasOwn(propsData, key);
  4725. var value = propsData[key];
  4726. // boolean casting
  4727. var booleanIndex = getTypeIndex(Boolean, prop.type);
  4728. if (booleanIndex > -1) {
  4729. if (absent && !hasOwn(prop, 'default')) {
  4730. value = false;
  4731. } else if (value === '' || value === hyphenate(key)) {
  4732. // only cast empty string / same name to boolean if
  4733. // boolean has higher priority
  4734. var stringIndex = getTypeIndex(String, prop.type);
  4735. if (stringIndex < 0 || booleanIndex < stringIndex) {
  4736. value = true;
  4737. }
  4738. }
  4739. }
  4740. // check default value
  4741. if (value === undefined) {
  4742. value = getPropDefaultValue(vm, prop, key);
  4743. // since the default value is a fresh copy,
  4744. // make sure to observe it.
  4745. var prevShouldObserve = shouldObserve;
  4746. toggleObserving(true);
  4747. observe(value);
  4748. toggleObserving(prevShouldObserve);
  4749. }
  4750. if (
  4751. true
  4752. ) {
  4753. assertProp(prop, key, value, vm, absent);
  4754. }
  4755. return value
  4756. }
  4757. /**
  4758. * Get the default value of a prop.
  4759. */
  4760. function getPropDefaultValue (vm, prop, key) {
  4761. // no default, return undefined
  4762. if (!hasOwn(prop, 'default')) {
  4763. return undefined
  4764. }
  4765. var def = prop.default;
  4766. // warn against non-factory defaults for Object & Array
  4767. if ( true && isObject(def)) {
  4768. warn(
  4769. 'Invalid default value for prop "' + key + '": ' +
  4770. 'Props with type Object/Array must use a factory function ' +
  4771. 'to return the default value.',
  4772. vm
  4773. );
  4774. }
  4775. // the raw prop value was also undefined from previous render,
  4776. // return previous default value to avoid unnecessary watcher trigger
  4777. if (vm && vm.$options.propsData &&
  4778. vm.$options.propsData[key] === undefined &&
  4779. vm._props[key] !== undefined
  4780. ) {
  4781. return vm._props[key]
  4782. }
  4783. // call factory function for non-Function types
  4784. // a value is Function if its prototype is function even across different execution context
  4785. return typeof def === 'function' && getType(prop.type) !== 'Function'
  4786. ? def.call(vm)
  4787. : def
  4788. }
  4789. /**
  4790. * Assert whether a prop is valid.
  4791. */
  4792. function assertProp (
  4793. prop,
  4794. name,
  4795. value,
  4796. vm,
  4797. absent
  4798. ) {
  4799. if (prop.required && absent) {
  4800. warn(
  4801. 'Missing required prop: "' + name + '"',
  4802. vm
  4803. );
  4804. return
  4805. }
  4806. if (value == null && !prop.required) {
  4807. return
  4808. }
  4809. var type = prop.type;
  4810. var valid = !type || type === true;
  4811. var expectedTypes = [];
  4812. if (type) {
  4813. if (!Array.isArray(type)) {
  4814. type = [type];
  4815. }
  4816. for (var i = 0; i < type.length && !valid; i++) {
  4817. var assertedType = assertType(value, type[i]);
  4818. expectedTypes.push(assertedType.expectedType || '');
  4819. valid = assertedType.valid;
  4820. }
  4821. }
  4822. if (!valid) {
  4823. warn(
  4824. getInvalidTypeMessage(name, value, expectedTypes),
  4825. vm
  4826. );
  4827. return
  4828. }
  4829. var validator = prop.validator;
  4830. if (validator) {
  4831. if (!validator(value)) {
  4832. warn(
  4833. 'Invalid prop: custom validator check failed for prop "' + name + '".',
  4834. vm
  4835. );
  4836. }
  4837. }
  4838. }
  4839. var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;
  4840. function assertType (value, type) {
  4841. var valid;
  4842. var expectedType = getType(type);
  4843. if (simpleCheckRE.test(expectedType)) {
  4844. var t = typeof value;
  4845. valid = t === expectedType.toLowerCase();
  4846. // for primitive wrapper objects
  4847. if (!valid && t === 'object') {
  4848. valid = value instanceof type;
  4849. }
  4850. } else if (expectedType === 'Object') {
  4851. valid = isPlainObject(value);
  4852. } else if (expectedType === 'Array') {
  4853. valid = Array.isArray(value);
  4854. } else {
  4855. valid = value instanceof type;
  4856. }
  4857. return {
  4858. valid: valid,
  4859. expectedType: expectedType
  4860. }
  4861. }
  4862. /**
  4863. * Use function string name to check built-in types,
  4864. * because a simple equality check will fail when running
  4865. * across different vms / iframes.
  4866. */
  4867. function getType (fn) {
  4868. var match = fn && fn.toString().match(/^\s*function (\w+)/);
  4869. return match ? match[1] : ''
  4870. }
  4871. function isSameType (a, b) {
  4872. return getType(a) === getType(b)
  4873. }
  4874. function getTypeIndex (type, expectedTypes) {
  4875. if (!Array.isArray(expectedTypes)) {
  4876. return isSameType(expectedTypes, type) ? 0 : -1
  4877. }
  4878. for (var i = 0, len = expectedTypes.length; i < len; i++) {
  4879. if (isSameType(expectedTypes[i], type)) {
  4880. return i
  4881. }
  4882. }
  4883. return -1
  4884. }
  4885. function getInvalidTypeMessage (name, value, expectedTypes) {
  4886. var message = "Invalid prop: type check failed for prop \"" + name + "\"." +
  4887. " Expected " + (expectedTypes.map(capitalize).join(', '));
  4888. var expectedType = expectedTypes[0];
  4889. var receivedType = toRawType(value);
  4890. var expectedValue = styleValue(value, expectedType);
  4891. var receivedValue = styleValue(value, receivedType);
  4892. // check if we need to specify expected value
  4893. if (expectedTypes.length === 1 &&
  4894. isExplicable(expectedType) &&
  4895. !isBoolean(expectedType, receivedType)) {
  4896. message += " with value " + expectedValue;
  4897. }
  4898. message += ", got " + receivedType + " ";
  4899. // check if we need to specify received value
  4900. if (isExplicable(receivedType)) {
  4901. message += "with value " + receivedValue + ".";
  4902. }
  4903. return message
  4904. }
  4905. function styleValue (value, type) {
  4906. if (type === 'String') {
  4907. return ("\"" + value + "\"")
  4908. } else if (type === 'Number') {
  4909. return ("" + (Number(value)))
  4910. } else {
  4911. return ("" + value)
  4912. }
  4913. }
  4914. function isExplicable (value) {
  4915. var explicitTypes = ['string', 'number', 'boolean'];
  4916. return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })
  4917. }
  4918. function isBoolean () {
  4919. var args = [], len = arguments.length;
  4920. while ( len-- ) args[ len ] = arguments[ len ];
  4921. return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })
  4922. }
  4923. /* */
  4924. function handleError (err, vm, info) {
  4925. // Deactivate deps tracking while processing error handler to avoid possible infinite rendering.
  4926. // See: https://github.com/vuejs/vuex/issues/1505
  4927. pushTarget();
  4928. try {
  4929. if (vm) {
  4930. var cur = vm;
  4931. while ((cur = cur.$parent)) {
  4932. var hooks = cur.$options.errorCaptured;
  4933. if (hooks) {
  4934. for (var i = 0; i < hooks.length; i++) {
  4935. try {
  4936. var capture = hooks[i].call(cur, err, vm, info) === false;
  4937. if (capture) { return }
  4938. } catch (e) {
  4939. globalHandleError(e, cur, 'errorCaptured hook');
  4940. }
  4941. }
  4942. }
  4943. }
  4944. }
  4945. globalHandleError(err, vm, info);
  4946. } finally {
  4947. popTarget();
  4948. }
  4949. }
  4950. function invokeWithErrorHandling (
  4951. handler,
  4952. context,
  4953. args,
  4954. vm,
  4955. info
  4956. ) {
  4957. var res;
  4958. try {
  4959. res = args ? handler.apply(context, args) : handler.call(context);
  4960. if (res && !res._isVue && isPromise(res) && !res._handled) {
  4961. res.catch(function (e) { return handleError(e, vm, info + " (Promise/async)"); });
  4962. // issue #9511
  4963. // avoid catch triggering multiple times when nested calls
  4964. res._handled = true;
  4965. }
  4966. } catch (e) {
  4967. handleError(e, vm, info);
  4968. }
  4969. return res
  4970. }
  4971. function globalHandleError (err, vm, info) {
  4972. if (config.errorHandler) {
  4973. try {
  4974. return config.errorHandler.call(null, err, vm, info)
  4975. } catch (e) {
  4976. // if the user intentionally throws the original error in the handler,
  4977. // do not log it twice
  4978. if (e !== err) {
  4979. logError(e, null, 'config.errorHandler');
  4980. }
  4981. }
  4982. }
  4983. logError(err, vm, info);
  4984. }
  4985. function logError (err, vm, info) {
  4986. if (true) {
  4987. warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  4988. }
  4989. /* istanbul ignore else */
  4990. if ((inBrowser || inWeex) && typeof console !== 'undefined') {
  4991. console.error(err);
  4992. } else {
  4993. throw err
  4994. }
  4995. }
  4996. /* */
  4997. var callbacks = [];
  4998. var pending = false;
  4999. function flushCallbacks () {
  5000. pending = false;
  5001. var copies = callbacks.slice(0);
  5002. callbacks.length = 0;
  5003. for (var i = 0; i < copies.length; i++) {
  5004. copies[i]();
  5005. }
  5006. }
  5007. // Here we have async deferring wrappers using microtasks.
  5008. // In 2.5 we used (macro) tasks (in combination with microtasks).
  5009. // However, it has subtle problems when state is changed right before repaint
  5010. // (e.g. #6813, out-in transitions).
  5011. // Also, using (macro) tasks in event handler would cause some weird behaviors
  5012. // that cannot be circumvented (e.g. #7109, #7153, #7546, #7834, #8109).
  5013. // So we now use microtasks everywhere, again.
  5014. // A major drawback of this tradeoff is that there are some scenarios
  5015. // where microtasks have too high a priority and fire in between supposedly
  5016. // sequential events (e.g. #4521, #6690, which have workarounds)
  5017. // or even between bubbling of the same event (#6566).
  5018. var timerFunc;
  5019. // The nextTick behavior leverages the microtask queue, which can be accessed
  5020. // via either native Promise.then or MutationObserver.
  5021. // MutationObserver has wider support, however it is seriously bugged in
  5022. // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
  5023. // completely stops working after triggering a few times... so, if native
  5024. // Promise is available, we will use it:
  5025. /* istanbul ignore next, $flow-disable-line */
  5026. if (typeof Promise !== 'undefined' && isNative(Promise)) {
  5027. var p = Promise.resolve();
  5028. timerFunc = function () {
  5029. p.then(flushCallbacks);
  5030. // In problematic UIWebViews, Promise.then doesn't completely break, but
  5031. // it can get stuck in a weird state where callbacks are pushed into the
  5032. // microtask queue but the queue isn't being flushed, until the browser
  5033. // needs to do some other work, e.g. handle a timer. Therefore we can
  5034. // "force" the microtask queue to be flushed by adding an empty timer.
  5035. if (isIOS) { setTimeout(noop); }
  5036. };
  5037. } else if (!isIE && typeof MutationObserver !== 'undefined' && (
  5038. isNative(MutationObserver) ||
  5039. // PhantomJS and iOS 7.x
  5040. MutationObserver.toString() === '[object MutationObserverConstructor]'
  5041. )) {
  5042. // Use MutationObserver where native Promise is not available,
  5043. // e.g. PhantomJS, iOS7, Android 4.4
  5044. // (#6466 MutationObserver is unreliable in IE11)
  5045. var counter = 1;
  5046. var observer = new MutationObserver(flushCallbacks);
  5047. var textNode = document.createTextNode(String(counter));
  5048. observer.observe(textNode, {
  5049. characterData: true
  5050. });
  5051. timerFunc = function () {
  5052. counter = (counter + 1) % 2;
  5053. textNode.data = String(counter);
  5054. };
  5055. } else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
  5056. // Fallback to setImmediate.
  5057. // Technically it leverages the (macro) task queue,
  5058. // but it is still a better choice than setTimeout.
  5059. timerFunc = function () {
  5060. setImmediate(flushCallbacks);
  5061. };
  5062. } else {
  5063. // Fallback to setTimeout.
  5064. timerFunc = function () {
  5065. setTimeout(flushCallbacks, 0);
  5066. };
  5067. }
  5068. function nextTick (cb, ctx) {
  5069. var _resolve;
  5070. callbacks.push(function () {
  5071. if (cb) {
  5072. try {
  5073. cb.call(ctx);
  5074. } catch (e) {
  5075. handleError(e, ctx, 'nextTick');
  5076. }
  5077. } else if (_resolve) {
  5078. _resolve(ctx);
  5079. }
  5080. });
  5081. if (!pending) {
  5082. pending = true;
  5083. timerFunc();
  5084. }
  5085. // $flow-disable-line
  5086. if (!cb && typeof Promise !== 'undefined') {
  5087. return new Promise(function (resolve) {
  5088. _resolve = resolve;
  5089. })
  5090. }
  5091. }
  5092. /* */
  5093. /* not type checking this file because flow doesn't play well with Proxy */
  5094. var initProxy;
  5095. if (true) {
  5096. var allowedGlobals = makeMap(
  5097. 'Infinity,undefined,NaN,isFinite,isNaN,' +
  5098. 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
  5099. 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
  5100. 'require' // for Webpack/Browserify
  5101. );
  5102. var warnNonPresent = function (target, key) {
  5103. warn(
  5104. "Property or method \"" + key + "\" is not defined on the instance but " +
  5105. 'referenced during render. Make sure that this property is reactive, ' +
  5106. 'either in the data option, or for class-based components, by ' +
  5107. 'initializing the property. ' +
  5108. 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
  5109. target
  5110. );
  5111. };
  5112. var warnReservedPrefix = function (target, key) {
  5113. warn(
  5114. "Property \"" + key + "\" must be accessed with \"$data." + key + "\" because " +
  5115. 'properties starting with "$" or "_" are not proxied in the Vue instance to ' +
  5116. 'prevent conflicts with Vue internals. ' +
  5117. 'See: https://vuejs.org/v2/api/#data',
  5118. target
  5119. );
  5120. };
  5121. var hasProxy =
  5122. typeof Proxy !== 'undefined' && isNative(Proxy);
  5123. if (hasProxy) {
  5124. var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');
  5125. config.keyCodes = new Proxy(config.keyCodes, {
  5126. set: function set (target, key, value) {
  5127. if (isBuiltInModifier(key)) {
  5128. warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key));
  5129. return false
  5130. } else {
  5131. target[key] = value;
  5132. return true
  5133. }
  5134. }
  5135. });
  5136. }
  5137. var hasHandler = {
  5138. has: function has (target, key) {
  5139. var has = key in target;
  5140. var isAllowed = allowedGlobals(key) ||
  5141. (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));
  5142. if (!has && !isAllowed) {
  5143. if (key in target.$data) { warnReservedPrefix(target, key); }
  5144. else { warnNonPresent(target, key); }
  5145. }
  5146. return has || !isAllowed
  5147. }
  5148. };
  5149. var getHandler = {
  5150. get: function get (target, key) {
  5151. if (typeof key === 'string' && !(key in target)) {
  5152. if (key in target.$data) { warnReservedPrefix(target, key); }
  5153. else { warnNonPresent(target, key); }
  5154. }
  5155. return target[key]
  5156. }
  5157. };
  5158. initProxy = function initProxy (vm) {
  5159. if (hasProxy) {
  5160. // determine which proxy handler to use
  5161. var options = vm.$options;
  5162. var handlers = options.render && options.render._withStripped
  5163. ? getHandler
  5164. : hasHandler;
  5165. vm._renderProxy = new Proxy(vm, handlers);
  5166. } else {
  5167. vm._renderProxy = vm;
  5168. }
  5169. };
  5170. }
  5171. /* */
  5172. var seenObjects = new _Set();
  5173. /**
  5174. * Recursively traverse an object to evoke all converted
  5175. * getters, so that every nested property inside the object
  5176. * is collected as a "deep" dependency.
  5177. */
  5178. function traverse (val) {
  5179. _traverse(val, seenObjects);
  5180. seenObjects.clear();
  5181. }
  5182. function _traverse (val, seen) {
  5183. var i, keys;
  5184. var isA = Array.isArray(val);
  5185. if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {
  5186. return
  5187. }
  5188. if (val.__ob__) {
  5189. var depId = val.__ob__.dep.id;
  5190. if (seen.has(depId)) {
  5191. return
  5192. }
  5193. seen.add(depId);
  5194. }
  5195. if (isA) {
  5196. i = val.length;
  5197. while (i--) { _traverse(val[i], seen); }
  5198. } else {
  5199. keys = Object.keys(val);
  5200. i = keys.length;
  5201. while (i--) { _traverse(val[keys[i]], seen); }
  5202. }
  5203. }
  5204. var mark;
  5205. var measure;
  5206. if (true) {
  5207. var perf = inBrowser && window.performance;
  5208. /* istanbul ignore if */
  5209. if (
  5210. perf &&
  5211. perf.mark &&
  5212. perf.measure &&
  5213. perf.clearMarks &&
  5214. perf.clearMeasures
  5215. ) {
  5216. mark = function (tag) { return perf.mark(tag); };
  5217. measure = function (name, startTag, endTag) {
  5218. perf.measure(name, startTag, endTag);
  5219. perf.clearMarks(startTag);
  5220. perf.clearMarks(endTag);
  5221. // perf.clearMeasures(name)
  5222. };
  5223. }
  5224. }
  5225. /* */
  5226. var normalizeEvent = cached(function (name) {
  5227. var passive = name.charAt(0) === '&';
  5228. name = passive ? name.slice(1) : name;
  5229. var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first
  5230. name = once$$1 ? name.slice(1) : name;
  5231. var capture = name.charAt(0) === '!';
  5232. name = capture ? name.slice(1) : name;
  5233. return {
  5234. name: name,
  5235. once: once$$1,
  5236. capture: capture,
  5237. passive: passive
  5238. }
  5239. });
  5240. function createFnInvoker (fns, vm) {
  5241. function invoker () {
  5242. var arguments$1 = arguments;
  5243. var fns = invoker.fns;
  5244. if (Array.isArray(fns)) {
  5245. var cloned = fns.slice();
  5246. for (var i = 0; i < cloned.length; i++) {
  5247. invokeWithErrorHandling(cloned[i], null, arguments$1, vm, "v-on handler");
  5248. }
  5249. } else {
  5250. // return handler return value for single handlers
  5251. return invokeWithErrorHandling(fns, null, arguments, vm, "v-on handler")
  5252. }
  5253. }
  5254. invoker.fns = fns;
  5255. return invoker
  5256. }
  5257. function updateListeners (
  5258. on,
  5259. oldOn,
  5260. add,
  5261. remove$$1,
  5262. createOnceHandler,
  5263. vm
  5264. ) {
  5265. var name, def$$1, cur, old, event;
  5266. for (name in on) {
  5267. def$$1 = cur = on[name];
  5268. old = oldOn[name];
  5269. event = normalizeEvent(name);
  5270. if (isUndef(cur)) {
  5271. true && warn(
  5272. "Invalid handler for event \"" + (event.name) + "\": got " + String(cur),
  5273. vm
  5274. );
  5275. } else if (isUndef(old)) {
  5276. if (isUndef(cur.fns)) {
  5277. cur = on[name] = createFnInvoker(cur, vm);
  5278. }
  5279. if (isTrue(event.once)) {
  5280. cur = on[name] = createOnceHandler(event.name, cur, event.capture);
  5281. }
  5282. add(event.name, cur, event.capture, event.passive, event.params);
  5283. } else if (cur !== old) {
  5284. old.fns = cur;
  5285. on[name] = old;
  5286. }
  5287. }
  5288. for (name in oldOn) {
  5289. if (isUndef(on[name])) {
  5290. event = normalizeEvent(name);
  5291. remove$$1(event.name, oldOn[name], event.capture);
  5292. }
  5293. }
  5294. }
  5295. /* */
  5296. /* */
  5297. // fixed by xxxxxx (mp properties)
  5298. function extractPropertiesFromVNodeData(data, Ctor, res, context) {
  5299. var propOptions = Ctor.options.mpOptions && Ctor.options.mpOptions.properties;
  5300. if (isUndef(propOptions)) {
  5301. return res
  5302. }
  5303. var externalClasses = Ctor.options.mpOptions.externalClasses || [];
  5304. var attrs = data.attrs;
  5305. var props = data.props;
  5306. if (isDef(attrs) || isDef(props)) {
  5307. for (var key in propOptions) {
  5308. var altKey = hyphenate(key);
  5309. var result = checkProp(res, props, key, altKey, true) ||
  5310. checkProp(res, attrs, key, altKey, false);
  5311. // externalClass
  5312. if (
  5313. result &&
  5314. res[key] &&
  5315. externalClasses.indexOf(altKey) !== -1 &&
  5316. context[camelize(res[key])]
  5317. ) {
  5318. // 赋值 externalClass 真正的值(模板里 externalClass 的值可能是字符串)
  5319. res[key] = context[camelize(res[key])];
  5320. }
  5321. }
  5322. }
  5323. return res
  5324. }
  5325. function extractPropsFromVNodeData (
  5326. data,
  5327. Ctor,
  5328. tag,
  5329. context// fixed by xxxxxx
  5330. ) {
  5331. // we are only extracting raw values here.
  5332. // validation and default values are handled in the child
  5333. // component itself.
  5334. var propOptions = Ctor.options.props;
  5335. if (isUndef(propOptions)) {
  5336. // fixed by xxxxxx
  5337. return extractPropertiesFromVNodeData(data, Ctor, {}, context)
  5338. }
  5339. var res = {};
  5340. var attrs = data.attrs;
  5341. var props = data.props;
  5342. if (isDef(attrs) || isDef(props)) {
  5343. for (var key in propOptions) {
  5344. var altKey = hyphenate(key);
  5345. if (true) {
  5346. var keyInLowerCase = key.toLowerCase();
  5347. if (
  5348. key !== keyInLowerCase &&
  5349. attrs && hasOwn(attrs, keyInLowerCase)
  5350. ) {
  5351. tip(
  5352. "Prop \"" + keyInLowerCase + "\" is passed to component " +
  5353. (formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
  5354. " \"" + key + "\". " +
  5355. "Note that HTML attributes are case-insensitive and camelCased " +
  5356. "props need to use their kebab-case equivalents when using in-DOM " +
  5357. "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"."
  5358. );
  5359. }
  5360. }
  5361. checkProp(res, props, key, altKey, true) ||
  5362. checkProp(res, attrs, key, altKey, false);
  5363. }
  5364. }
  5365. // fixed by xxxxxx
  5366. return extractPropertiesFromVNodeData(data, Ctor, res, context)
  5367. }
  5368. function checkProp (
  5369. res,
  5370. hash,
  5371. key,
  5372. altKey,
  5373. preserve
  5374. ) {
  5375. if (isDef(hash)) {
  5376. if (hasOwn(hash, key)) {
  5377. res[key] = hash[key];
  5378. if (!preserve) {
  5379. delete hash[key];
  5380. }
  5381. return true
  5382. } else if (hasOwn(hash, altKey)) {
  5383. res[key] = hash[altKey];
  5384. if (!preserve) {
  5385. delete hash[altKey];
  5386. }
  5387. return true
  5388. }
  5389. }
  5390. return false
  5391. }
  5392. /* */
  5393. // The template compiler attempts to minimize the need for normalization by
  5394. // statically analyzing the template at compile time.
  5395. //
  5396. // For plain HTML markup, normalization can be completely skipped because the
  5397. // generated render function is guaranteed to return Array<VNode>. There are
  5398. // two cases where extra normalization is needed:
  5399. // 1. When the children contains components - because a functional component
  5400. // may return an Array instead of a single root. In this case, just a simple
  5401. // normalization is needed - if any child is an Array, we flatten the whole
  5402. // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep
  5403. // because functional components already normalize their own children.
  5404. function simpleNormalizeChildren (children) {
  5405. for (var i = 0; i < children.length; i++) {
  5406. if (Array.isArray(children[i])) {
  5407. return Array.prototype.concat.apply([], children)
  5408. }
  5409. }
  5410. return children
  5411. }
  5412. // 2. When the children contains constructs that always generated nested Arrays,
  5413. // e.g. <template>, <slot>, v-for, or when the children is provided by user
  5414. // with hand-written render functions / JSX. In such cases a full normalization
  5415. // is needed to cater to all possible types of children values.
  5416. function normalizeChildren (children) {
  5417. return isPrimitive(children)
  5418. ? [createTextVNode(children)]
  5419. : Array.isArray(children)
  5420. ? normalizeArrayChildren(children)
  5421. : undefined
  5422. }
  5423. function isTextNode (node) {
  5424. return isDef(node) && isDef(node.text) && isFalse(node.isComment)
  5425. }
  5426. function normalizeArrayChildren (children, nestedIndex) {
  5427. var res = [];
  5428. var i, c, lastIndex, last;
  5429. for (i = 0; i < children.length; i++) {
  5430. c = children[i];
  5431. if (isUndef(c) || typeof c === 'boolean') { continue }
  5432. lastIndex = res.length - 1;
  5433. last = res[lastIndex];
  5434. // nested
  5435. if (Array.isArray(c)) {
  5436. if (c.length > 0) {
  5437. c = normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i));
  5438. // merge adjacent text nodes
  5439. if (isTextNode(c[0]) && isTextNode(last)) {
  5440. res[lastIndex] = createTextVNode(last.text + (c[0]).text);
  5441. c.shift();
  5442. }
  5443. res.push.apply(res, c);
  5444. }
  5445. } else if (isPrimitive(c)) {
  5446. if (isTextNode(last)) {
  5447. // merge adjacent text nodes
  5448. // this is necessary for SSR hydration because text nodes are
  5449. // essentially merged when rendered to HTML strings
  5450. res[lastIndex] = createTextVNode(last.text + c);
  5451. } else if (c !== '') {
  5452. // convert primitive to vnode
  5453. res.push(createTextVNode(c));
  5454. }
  5455. } else {
  5456. if (isTextNode(c) && isTextNode(last)) {
  5457. // merge adjacent text nodes
  5458. res[lastIndex] = createTextVNode(last.text + c.text);
  5459. } else {
  5460. // default key for nested array children (likely generated by v-for)
  5461. if (isTrue(children._isVList) &&
  5462. isDef(c.tag) &&
  5463. isUndef(c.key) &&
  5464. isDef(nestedIndex)) {
  5465. c.key = "__vlist" + nestedIndex + "_" + i + "__";
  5466. }
  5467. res.push(c);
  5468. }
  5469. }
  5470. }
  5471. return res
  5472. }
  5473. /* */
  5474. function initProvide (vm) {
  5475. var provide = vm.$options.provide;
  5476. if (provide) {
  5477. vm._provided = typeof provide === 'function'
  5478. ? provide.call(vm)
  5479. : provide;
  5480. }
  5481. }
  5482. function initInjections (vm) {
  5483. var result = resolveInject(vm.$options.inject, vm);
  5484. if (result) {
  5485. toggleObserving(false);
  5486. Object.keys(result).forEach(function (key) {
  5487. /* istanbul ignore else */
  5488. if (true) {
  5489. defineReactive$$1(vm, key, result[key], function () {
  5490. warn(
  5491. "Avoid mutating an injected value directly since the changes will be " +
  5492. "overwritten whenever the provided component re-renders. " +
  5493. "injection being mutated: \"" + key + "\"",
  5494. vm
  5495. );
  5496. });
  5497. } else {}
  5498. });
  5499. toggleObserving(true);
  5500. }
  5501. }
  5502. function resolveInject (inject, vm) {
  5503. if (inject) {
  5504. // inject is :any because flow is not smart enough to figure out cached
  5505. var result = Object.create(null);
  5506. var keys = hasSymbol
  5507. ? Reflect.ownKeys(inject)
  5508. : Object.keys(inject);
  5509. for (var i = 0; i < keys.length; i++) {
  5510. var key = keys[i];
  5511. // #6574 in case the inject object is observed...
  5512. if (key === '__ob__') { continue }
  5513. var provideKey = inject[key].from;
  5514. var source = vm;
  5515. while (source) {
  5516. if (source._provided && hasOwn(source._provided, provideKey)) {
  5517. result[key] = source._provided[provideKey];
  5518. break
  5519. }
  5520. source = source.$parent;
  5521. }
  5522. if (!source) {
  5523. if ('default' in inject[key]) {
  5524. var provideDefault = inject[key].default;
  5525. result[key] = typeof provideDefault === 'function'
  5526. ? provideDefault.call(vm)
  5527. : provideDefault;
  5528. } else if (true) {
  5529. warn(("Injection \"" + key + "\" not found"), vm);
  5530. }
  5531. }
  5532. }
  5533. return result
  5534. }
  5535. }
  5536. /* */
  5537. /**
  5538. * Runtime helper for resolving raw children VNodes into a slot object.
  5539. */
  5540. function resolveSlots (
  5541. children,
  5542. context
  5543. ) {
  5544. if (!children || !children.length) {
  5545. return {}
  5546. }
  5547. var slots = {};
  5548. for (var i = 0, l = children.length; i < l; i++) {
  5549. var child = children[i];
  5550. var data = child.data;
  5551. // remove slot attribute if the node is resolved as a Vue slot node
  5552. if (data && data.attrs && data.attrs.slot) {
  5553. delete data.attrs.slot;
  5554. }
  5555. // named slots should only be respected if the vnode was rendered in the
  5556. // same context.
  5557. if ((child.context === context || child.fnContext === context) &&
  5558. data && data.slot != null
  5559. ) {
  5560. var name = data.slot;
  5561. var slot = (slots[name] || (slots[name] = []));
  5562. if (child.tag === 'template') {
  5563. slot.push.apply(slot, child.children || []);
  5564. } else {
  5565. slot.push(child);
  5566. }
  5567. } else {
  5568. // fixed by xxxxxx 临时 hack 掉 uni-app 中的异步 name slot page
  5569. if(child.asyncMeta && child.asyncMeta.data && child.asyncMeta.data.slot === 'page'){
  5570. (slots['page'] || (slots['page'] = [])).push(child);
  5571. }else{
  5572. (slots.default || (slots.default = [])).push(child);
  5573. }
  5574. }
  5575. }
  5576. // ignore slots that contains only whitespace
  5577. for (var name$1 in slots) {
  5578. if (slots[name$1].every(isWhitespace)) {
  5579. delete slots[name$1];
  5580. }
  5581. }
  5582. return slots
  5583. }
  5584. function isWhitespace (node) {
  5585. return (node.isComment && !node.asyncFactory) || node.text === ' '
  5586. }
  5587. /* */
  5588. function normalizeScopedSlots (
  5589. slots,
  5590. normalSlots,
  5591. prevSlots
  5592. ) {
  5593. var res;
  5594. var hasNormalSlots = Object.keys(normalSlots).length > 0;
  5595. var isStable = slots ? !!slots.$stable : !hasNormalSlots;
  5596. var key = slots && slots.$key;
  5597. if (!slots) {
  5598. res = {};
  5599. } else if (slots._normalized) {
  5600. // fast path 1: child component re-render only, parent did not change
  5601. return slots._normalized
  5602. } else if (
  5603. isStable &&
  5604. prevSlots &&
  5605. prevSlots !== emptyObject &&
  5606. key === prevSlots.$key &&
  5607. !hasNormalSlots &&
  5608. !prevSlots.$hasNormal
  5609. ) {
  5610. // fast path 2: stable scoped slots w/ no normal slots to proxy,
  5611. // only need to normalize once
  5612. return prevSlots
  5613. } else {
  5614. res = {};
  5615. for (var key$1 in slots) {
  5616. if (slots[key$1] && key$1[0] !== '$') {
  5617. res[key$1] = normalizeScopedSlot(normalSlots, key$1, slots[key$1]);
  5618. }
  5619. }
  5620. }
  5621. // expose normal slots on scopedSlots
  5622. for (var key$2 in normalSlots) {
  5623. if (!(key$2 in res)) {
  5624. res[key$2] = proxyNormalSlot(normalSlots, key$2);
  5625. }
  5626. }
  5627. // avoriaz seems to mock a non-extensible $scopedSlots object
  5628. // and when that is passed down this would cause an error
  5629. if (slots && Object.isExtensible(slots)) {
  5630. (slots)._normalized = res;
  5631. }
  5632. def(res, '$stable', isStable);
  5633. def(res, '$key', key);
  5634. def(res, '$hasNormal', hasNormalSlots);
  5635. return res
  5636. }
  5637. function normalizeScopedSlot(normalSlots, key, fn) {
  5638. var normalized = function () {
  5639. var res = arguments.length ? fn.apply(null, arguments) : fn({});
  5640. res = res && typeof res === 'object' && !Array.isArray(res)
  5641. ? [res] // single vnode
  5642. : normalizeChildren(res);
  5643. return res && (
  5644. res.length === 0 ||
  5645. (res.length === 1 && res[0].isComment) // #9658
  5646. ) ? undefined
  5647. : res
  5648. };
  5649. // this is a slot using the new v-slot syntax without scope. although it is
  5650. // compiled as a scoped slot, render fn users would expect it to be present
  5651. // on this.$slots because the usage is semantically a normal slot.
  5652. if (fn.proxy) {
  5653. Object.defineProperty(normalSlots, key, {
  5654. get: normalized,
  5655. enumerable: true,
  5656. configurable: true
  5657. });
  5658. }
  5659. return normalized
  5660. }
  5661. function proxyNormalSlot(slots, key) {
  5662. return function () { return slots[key]; }
  5663. }
  5664. /* */
  5665. /**
  5666. * Runtime helper for rendering v-for lists.
  5667. */
  5668. function renderList (
  5669. val,
  5670. render
  5671. ) {
  5672. var ret, i, l, keys, key;
  5673. if (Array.isArray(val) || typeof val === 'string') {
  5674. ret = new Array(val.length);
  5675. for (i = 0, l = val.length; i < l; i++) {
  5676. ret[i] = render(val[i], i, i, i); // fixed by xxxxxx
  5677. }
  5678. } else if (typeof val === 'number') {
  5679. ret = new Array(val);
  5680. for (i = 0; i < val; i++) {
  5681. ret[i] = render(i + 1, i, i, i); // fixed by xxxxxx
  5682. }
  5683. } else if (isObject(val)) {
  5684. if (hasSymbol && val[Symbol.iterator]) {
  5685. ret = [];
  5686. var iterator = val[Symbol.iterator]();
  5687. var result = iterator.next();
  5688. while (!result.done) {
  5689. ret.push(render(result.value, ret.length, i, i++)); // fixed by xxxxxx
  5690. result = iterator.next();
  5691. }
  5692. } else {
  5693. keys = Object.keys(val);
  5694. ret = new Array(keys.length);
  5695. for (i = 0, l = keys.length; i < l; i++) {
  5696. key = keys[i];
  5697. ret[i] = render(val[key], key, i, i); // fixed by xxxxxx
  5698. }
  5699. }
  5700. }
  5701. if (!isDef(ret)) {
  5702. ret = [];
  5703. }
  5704. (ret)._isVList = true;
  5705. return ret
  5706. }
  5707. /* */
  5708. /**
  5709. * Runtime helper for rendering <slot>
  5710. */
  5711. function renderSlot (
  5712. name,
  5713. fallback,
  5714. props,
  5715. bindObject
  5716. ) {
  5717. var scopedSlotFn = this.$scopedSlots[name];
  5718. var nodes;
  5719. if (scopedSlotFn) { // scoped slot
  5720. props = props || {};
  5721. if (bindObject) {
  5722. if ( true && !isObject(bindObject)) {
  5723. warn(
  5724. 'slot v-bind without argument expects an Object',
  5725. this
  5726. );
  5727. }
  5728. props = extend(extend({}, bindObject), props);
  5729. }
  5730. // fixed by xxxxxx app-plus scopedSlot
  5731. nodes = scopedSlotFn(props, this, props._i) || fallback;
  5732. } else {
  5733. nodes = this.$slots[name] || fallback;
  5734. }
  5735. var target = props && props.slot;
  5736. if (target) {
  5737. return this.$createElement('template', { slot: target }, nodes)
  5738. } else {
  5739. return nodes
  5740. }
  5741. }
  5742. /* */
  5743. /**
  5744. * Runtime helper for resolving filters
  5745. */
  5746. function resolveFilter (id) {
  5747. return resolveAsset(this.$options, 'filters', id, true) || identity
  5748. }
  5749. /* */
  5750. function isKeyNotMatch (expect, actual) {
  5751. if (Array.isArray(expect)) {
  5752. return expect.indexOf(actual) === -1
  5753. } else {
  5754. return expect !== actual
  5755. }
  5756. }
  5757. /**
  5758. * Runtime helper for checking keyCodes from config.
  5759. * exposed as Vue.prototype._k
  5760. * passing in eventKeyName as last argument separately for backwards compat
  5761. */
  5762. function checkKeyCodes (
  5763. eventKeyCode,
  5764. key,
  5765. builtInKeyCode,
  5766. eventKeyName,
  5767. builtInKeyName
  5768. ) {
  5769. var mappedKeyCode = config.keyCodes[key] || builtInKeyCode;
  5770. if (builtInKeyName && eventKeyName && !config.keyCodes[key]) {
  5771. return isKeyNotMatch(builtInKeyName, eventKeyName)
  5772. } else if (mappedKeyCode) {
  5773. return isKeyNotMatch(mappedKeyCode, eventKeyCode)
  5774. } else if (eventKeyName) {
  5775. return hyphenate(eventKeyName) !== key
  5776. }
  5777. }
  5778. /* */
  5779. /**
  5780. * Runtime helper for merging v-bind="object" into a VNode's data.
  5781. */
  5782. function bindObjectProps (
  5783. data,
  5784. tag,
  5785. value,
  5786. asProp,
  5787. isSync
  5788. ) {
  5789. if (value) {
  5790. if (!isObject(value)) {
  5791. true && warn(
  5792. 'v-bind without argument expects an Object or Array value',
  5793. this
  5794. );
  5795. } else {
  5796. if (Array.isArray(value)) {
  5797. value = toObject(value);
  5798. }
  5799. var hash;
  5800. var loop = function ( key ) {
  5801. if (
  5802. key === 'class' ||
  5803. key === 'style' ||
  5804. isReservedAttribute(key)
  5805. ) {
  5806. hash = data;
  5807. } else {
  5808. var type = data.attrs && data.attrs.type;
  5809. hash = asProp || config.mustUseProp(tag, type, key)
  5810. ? data.domProps || (data.domProps = {})
  5811. : data.attrs || (data.attrs = {});
  5812. }
  5813. var camelizedKey = camelize(key);
  5814. var hyphenatedKey = hyphenate(key);
  5815. if (!(camelizedKey in hash) && !(hyphenatedKey in hash)) {
  5816. hash[key] = value[key];
  5817. if (isSync) {
  5818. var on = data.on || (data.on = {});
  5819. on[("update:" + key)] = function ($event) {
  5820. value[key] = $event;
  5821. };
  5822. }
  5823. }
  5824. };
  5825. for (var key in value) loop( key );
  5826. }
  5827. }
  5828. return data
  5829. }
  5830. /* */
  5831. /**
  5832. * Runtime helper for rendering static trees.
  5833. */
  5834. function renderStatic (
  5835. index,
  5836. isInFor
  5837. ) {
  5838. var cached = this._staticTrees || (this._staticTrees = []);
  5839. var tree = cached[index];
  5840. // if has already-rendered static tree and not inside v-for,
  5841. // we can reuse the same tree.
  5842. if (tree && !isInFor) {
  5843. return tree
  5844. }
  5845. // otherwise, render a fresh tree.
  5846. tree = cached[index] = this.$options.staticRenderFns[index].call(
  5847. this._renderProxy,
  5848. null,
  5849. this // for render fns generated for functional component templates
  5850. );
  5851. markStatic(tree, ("__static__" + index), false);
  5852. return tree
  5853. }
  5854. /**
  5855. * Runtime helper for v-once.
  5856. * Effectively it means marking the node as static with a unique key.
  5857. */
  5858. function markOnce (
  5859. tree,
  5860. index,
  5861. key
  5862. ) {
  5863. markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true);
  5864. return tree
  5865. }
  5866. function markStatic (
  5867. tree,
  5868. key,
  5869. isOnce
  5870. ) {
  5871. if (Array.isArray(tree)) {
  5872. for (var i = 0; i < tree.length; i++) {
  5873. if (tree[i] && typeof tree[i] !== 'string') {
  5874. markStaticNode(tree[i], (key + "_" + i), isOnce);
  5875. }
  5876. }
  5877. } else {
  5878. markStaticNode(tree, key, isOnce);
  5879. }
  5880. }
  5881. function markStaticNode (node, key, isOnce) {
  5882. node.isStatic = true;
  5883. node.key = key;
  5884. node.isOnce = isOnce;
  5885. }
  5886. /* */
  5887. function bindObjectListeners (data, value) {
  5888. if (value) {
  5889. if (!isPlainObject(value)) {
  5890. true && warn(
  5891. 'v-on without argument expects an Object value',
  5892. this
  5893. );
  5894. } else {
  5895. var on = data.on = data.on ? extend({}, data.on) : {};
  5896. for (var key in value) {
  5897. var existing = on[key];
  5898. var ours = value[key];
  5899. on[key] = existing ? [].concat(existing, ours) : ours;
  5900. }
  5901. }
  5902. }
  5903. return data
  5904. }
  5905. /* */
  5906. function resolveScopedSlots (
  5907. fns, // see flow/vnode
  5908. res,
  5909. // the following are added in 2.6
  5910. hasDynamicKeys,
  5911. contentHashKey
  5912. ) {
  5913. res = res || { $stable: !hasDynamicKeys };
  5914. for (var i = 0; i < fns.length; i++) {
  5915. var slot = fns[i];
  5916. if (Array.isArray(slot)) {
  5917. resolveScopedSlots(slot, res, hasDynamicKeys);
  5918. } else if (slot) {
  5919. // marker for reverse proxying v-slot without scope on this.$slots
  5920. if (slot.proxy) {
  5921. slot.fn.proxy = true;
  5922. }
  5923. res[slot.key] = slot.fn;
  5924. }
  5925. }
  5926. if (contentHashKey) {
  5927. (res).$key = contentHashKey;
  5928. }
  5929. return res
  5930. }
  5931. /* */
  5932. function bindDynamicKeys (baseObj, values) {
  5933. for (var i = 0; i < values.length; i += 2) {
  5934. var key = values[i];
  5935. if (typeof key === 'string' && key) {
  5936. baseObj[values[i]] = values[i + 1];
  5937. } else if ( true && key !== '' && key !== null) {
  5938. // null is a special value for explicitly removing a binding
  5939. warn(
  5940. ("Invalid value for dynamic directive argument (expected string or null): " + key),
  5941. this
  5942. );
  5943. }
  5944. }
  5945. return baseObj
  5946. }
  5947. // helper to dynamically append modifier runtime markers to event names.
  5948. // ensure only append when value is already string, otherwise it will be cast
  5949. // to string and cause the type check to miss.
  5950. function prependModifier (value, symbol) {
  5951. return typeof value === 'string' ? symbol + value : value
  5952. }
  5953. /* */
  5954. function installRenderHelpers (target) {
  5955. target._o = markOnce;
  5956. target._n = toNumber;
  5957. target._s = toString;
  5958. target._l = renderList;
  5959. target._t = renderSlot;
  5960. target._q = looseEqual;
  5961. target._i = looseIndexOf;
  5962. target._m = renderStatic;
  5963. target._f = resolveFilter;
  5964. target._k = checkKeyCodes;
  5965. target._b = bindObjectProps;
  5966. target._v = createTextVNode;
  5967. target._e = createEmptyVNode;
  5968. target._u = resolveScopedSlots;
  5969. target._g = bindObjectListeners;
  5970. target._d = bindDynamicKeys;
  5971. target._p = prependModifier;
  5972. }
  5973. /* */
  5974. function FunctionalRenderContext (
  5975. data,
  5976. props,
  5977. children,
  5978. parent,
  5979. Ctor
  5980. ) {
  5981. var this$1 = this;
  5982. var options = Ctor.options;
  5983. // ensure the createElement function in functional components
  5984. // gets a unique context - this is necessary for correct named slot check
  5985. var contextVm;
  5986. if (hasOwn(parent, '_uid')) {
  5987. contextVm = Object.create(parent);
  5988. // $flow-disable-line
  5989. contextVm._original = parent;
  5990. } else {
  5991. // the context vm passed in is a functional context as well.
  5992. // in this case we want to make sure we are able to get a hold to the
  5993. // real context instance.
  5994. contextVm = parent;
  5995. // $flow-disable-line
  5996. parent = parent._original;
  5997. }
  5998. var isCompiled = isTrue(options._compiled);
  5999. var needNormalization = !isCompiled;
  6000. this.data = data;
  6001. this.props = props;
  6002. this.children = children;
  6003. this.parent = parent;
  6004. this.listeners = data.on || emptyObject;
  6005. this.injections = resolveInject(options.inject, parent);
  6006. this.slots = function () {
  6007. if (!this$1.$slots) {
  6008. normalizeScopedSlots(
  6009. data.scopedSlots,
  6010. this$1.$slots = resolveSlots(children, parent)
  6011. );
  6012. }
  6013. return this$1.$slots
  6014. };
  6015. Object.defineProperty(this, 'scopedSlots', ({
  6016. enumerable: true,
  6017. get: function get () {
  6018. return normalizeScopedSlots(data.scopedSlots, this.slots())
  6019. }
  6020. }));
  6021. // support for compiled functional template
  6022. if (isCompiled) {
  6023. // exposing $options for renderStatic()
  6024. this.$options = options;
  6025. // pre-resolve slots for renderSlot()
  6026. this.$slots = this.slots();
  6027. this.$scopedSlots = normalizeScopedSlots(data.scopedSlots, this.$slots);
  6028. }
  6029. if (options._scopeId) {
  6030. this._c = function (a, b, c, d) {
  6031. var vnode = createElement(contextVm, a, b, c, d, needNormalization);
  6032. if (vnode && !Array.isArray(vnode)) {
  6033. vnode.fnScopeId = options._scopeId;
  6034. vnode.fnContext = parent;
  6035. }
  6036. return vnode
  6037. };
  6038. } else {
  6039. this._c = function (a, b, c, d) { return createElement(contextVm, a, b, c, d, needNormalization); };
  6040. }
  6041. }
  6042. installRenderHelpers(FunctionalRenderContext.prototype);
  6043. function createFunctionalComponent (
  6044. Ctor,
  6045. propsData,
  6046. data,
  6047. contextVm,
  6048. children
  6049. ) {
  6050. var options = Ctor.options;
  6051. var props = {};
  6052. var propOptions = options.props;
  6053. if (isDef(propOptions)) {
  6054. for (var key in propOptions) {
  6055. props[key] = validateProp(key, propOptions, propsData || emptyObject);
  6056. }
  6057. } else {
  6058. if (isDef(data.attrs)) { mergeProps(props, data.attrs); }
  6059. if (isDef(data.props)) { mergeProps(props, data.props); }
  6060. }
  6061. var renderContext = new FunctionalRenderContext(
  6062. data,
  6063. props,
  6064. children,
  6065. contextVm,
  6066. Ctor
  6067. );
  6068. var vnode = options.render.call(null, renderContext._c, renderContext);
  6069. if (vnode instanceof VNode) {
  6070. return cloneAndMarkFunctionalResult(vnode, data, renderContext.parent, options, renderContext)
  6071. } else if (Array.isArray(vnode)) {
  6072. var vnodes = normalizeChildren(vnode) || [];
  6073. var res = new Array(vnodes.length);
  6074. for (var i = 0; i < vnodes.length; i++) {
  6075. res[i] = cloneAndMarkFunctionalResult(vnodes[i], data, renderContext.parent, options, renderContext);
  6076. }
  6077. return res
  6078. }
  6079. }
  6080. function cloneAndMarkFunctionalResult (vnode, data, contextVm, options, renderContext) {
  6081. // #7817 clone node before setting fnContext, otherwise if the node is reused
  6082. // (e.g. it was from a cached normal slot) the fnContext causes named slots
  6083. // that should not be matched to match.
  6084. var clone = cloneVNode(vnode);
  6085. clone.fnContext = contextVm;
  6086. clone.fnOptions = options;
  6087. if (true) {
  6088. (clone.devtoolsMeta = clone.devtoolsMeta || {}).renderContext = renderContext;
  6089. }
  6090. if (data.slot) {
  6091. (clone.data || (clone.data = {})).slot = data.slot;
  6092. }
  6093. return clone
  6094. }
  6095. function mergeProps (to, from) {
  6096. for (var key in from) {
  6097. to[camelize(key)] = from[key];
  6098. }
  6099. }
  6100. /* */
  6101. /* */
  6102. /* */
  6103. /* */
  6104. // inline hooks to be invoked on component VNodes during patch
  6105. var componentVNodeHooks = {
  6106. init: function init (vnode, hydrating) {
  6107. if (
  6108. vnode.componentInstance &&
  6109. !vnode.componentInstance._isDestroyed &&
  6110. vnode.data.keepAlive
  6111. ) {
  6112. // kept-alive components, treat as a patch
  6113. var mountedNode = vnode; // work around flow
  6114. componentVNodeHooks.prepatch(mountedNode, mountedNode);
  6115. } else {
  6116. var child = vnode.componentInstance = createComponentInstanceForVnode(
  6117. vnode,
  6118. activeInstance
  6119. );
  6120. child.$mount(hydrating ? vnode.elm : undefined, hydrating);
  6121. }
  6122. },
  6123. prepatch: function prepatch (oldVnode, vnode) {
  6124. var options = vnode.componentOptions;
  6125. var child = vnode.componentInstance = oldVnode.componentInstance;
  6126. updateChildComponent(
  6127. child,
  6128. options.propsData, // updated props
  6129. options.listeners, // updated listeners
  6130. vnode, // new parent vnode
  6131. options.children // new children
  6132. );
  6133. },
  6134. insert: function insert (vnode) {
  6135. var context = vnode.context;
  6136. var componentInstance = vnode.componentInstance;
  6137. if (!componentInstance._isMounted) {
  6138. callHook(componentInstance, 'onServiceCreated');
  6139. callHook(componentInstance, 'onServiceAttached');
  6140. componentInstance._isMounted = true;
  6141. callHook(componentInstance, 'mounted');
  6142. }
  6143. if (vnode.data.keepAlive) {
  6144. if (context._isMounted) {
  6145. // vue-router#1212
  6146. // During updates, a kept-alive component's child components may
  6147. // change, so directly walking the tree here may call activated hooks
  6148. // on incorrect children. Instead we push them into a queue which will
  6149. // be processed after the whole patch process ended.
  6150. queueActivatedComponent(componentInstance);
  6151. } else {
  6152. activateChildComponent(componentInstance, true /* direct */);
  6153. }
  6154. }
  6155. },
  6156. destroy: function destroy (vnode) {
  6157. var componentInstance = vnode.componentInstance;
  6158. if (!componentInstance._isDestroyed) {
  6159. if (!vnode.data.keepAlive) {
  6160. componentInstance.$destroy();
  6161. } else {
  6162. deactivateChildComponent(componentInstance, true /* direct */);
  6163. }
  6164. }
  6165. }
  6166. };
  6167. var hooksToMerge = Object.keys(componentVNodeHooks);
  6168. function createComponent (
  6169. Ctor,
  6170. data,
  6171. context,
  6172. children,
  6173. tag
  6174. ) {
  6175. if (isUndef(Ctor)) {
  6176. return
  6177. }
  6178. var baseCtor = context.$options._base;
  6179. // plain options object: turn it into a constructor
  6180. if (isObject(Ctor)) {
  6181. Ctor = baseCtor.extend(Ctor);
  6182. }
  6183. // if at this stage it's not a constructor or an async component factory,
  6184. // reject.
  6185. if (typeof Ctor !== 'function') {
  6186. if (true) {
  6187. warn(("Invalid Component definition: " + (String(Ctor))), context);
  6188. }
  6189. return
  6190. }
  6191. // async component
  6192. var asyncFactory;
  6193. if (isUndef(Ctor.cid)) {
  6194. asyncFactory = Ctor;
  6195. Ctor = resolveAsyncComponent(asyncFactory, baseCtor);
  6196. if (Ctor === undefined) {
  6197. // return a placeholder node for async component, which is rendered
  6198. // as a comment node but preserves all the raw information for the node.
  6199. // the information will be used for async server-rendering and hydration.
  6200. return createAsyncPlaceholder(
  6201. asyncFactory,
  6202. data,
  6203. context,
  6204. children,
  6205. tag
  6206. )
  6207. }
  6208. }
  6209. data = data || {};
  6210. // resolve constructor options in case global mixins are applied after
  6211. // component constructor creation
  6212. resolveConstructorOptions(Ctor);
  6213. // transform component v-model data into props & events
  6214. if (isDef(data.model)) {
  6215. transformModel(Ctor.options, data);
  6216. }
  6217. // extract props
  6218. var propsData = extractPropsFromVNodeData(data, Ctor, tag, context); // fixed by xxxxxx
  6219. // functional component
  6220. if (isTrue(Ctor.options.functional)) {
  6221. return createFunctionalComponent(Ctor, propsData, data, context, children)
  6222. }
  6223. // extract listeners, since these needs to be treated as
  6224. // child component listeners instead of DOM listeners
  6225. var listeners = data.on;
  6226. // replace with listeners with .native modifier
  6227. // so it gets processed during parent component patch.
  6228. data.on = data.nativeOn;
  6229. if (isTrue(Ctor.options.abstract)) {
  6230. // abstract components do not keep anything
  6231. // other than props & listeners & slot
  6232. // work around flow
  6233. var slot = data.slot;
  6234. data = {};
  6235. if (slot) {
  6236. data.slot = slot;
  6237. }
  6238. }
  6239. // install component management hooks onto the placeholder node
  6240. installComponentHooks(data);
  6241. // return a placeholder vnode
  6242. var name = Ctor.options.name || tag;
  6243. var vnode = new VNode(
  6244. ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')),
  6245. data, undefined, undefined, undefined, context,
  6246. { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children },
  6247. asyncFactory
  6248. );
  6249. return vnode
  6250. }
  6251. function createComponentInstanceForVnode (
  6252. vnode, // we know it's MountedComponentVNode but flow doesn't
  6253. parent // activeInstance in lifecycle state
  6254. ) {
  6255. var options = {
  6256. _isComponent: true,
  6257. _parentVnode: vnode,
  6258. parent: parent
  6259. };
  6260. // check inline-template render functions
  6261. var inlineTemplate = vnode.data.inlineTemplate;
  6262. if (isDef(inlineTemplate)) {
  6263. options.render = inlineTemplate.render;
  6264. options.staticRenderFns = inlineTemplate.staticRenderFns;
  6265. }
  6266. return new vnode.componentOptions.Ctor(options)
  6267. }
  6268. function installComponentHooks (data) {
  6269. var hooks = data.hook || (data.hook = {});
  6270. for (var i = 0; i < hooksToMerge.length; i++) {
  6271. var key = hooksToMerge[i];
  6272. var existing = hooks[key];
  6273. var toMerge = componentVNodeHooks[key];
  6274. if (existing !== toMerge && !(existing && existing._merged)) {
  6275. hooks[key] = existing ? mergeHook$1(toMerge, existing) : toMerge;
  6276. }
  6277. }
  6278. }
  6279. function mergeHook$1 (f1, f2) {
  6280. var merged = function (a, b) {
  6281. // flow complains about extra args which is why we use any
  6282. f1(a, b);
  6283. f2(a, b);
  6284. };
  6285. merged._merged = true;
  6286. return merged
  6287. }
  6288. // transform component v-model info (value and callback) into
  6289. // prop and event handler respectively.
  6290. function transformModel (options, data) {
  6291. var prop = (options.model && options.model.prop) || 'value';
  6292. var event = (options.model && options.model.event) || 'input'
  6293. ;(data.attrs || (data.attrs = {}))[prop] = data.model.value;
  6294. var on = data.on || (data.on = {});
  6295. var existing = on[event];
  6296. var callback = data.model.callback;
  6297. if (isDef(existing)) {
  6298. if (
  6299. Array.isArray(existing)
  6300. ? existing.indexOf(callback) === -1
  6301. : existing !== callback
  6302. ) {
  6303. on[event] = [callback].concat(existing);
  6304. }
  6305. } else {
  6306. on[event] = callback;
  6307. }
  6308. }
  6309. /* */
  6310. var SIMPLE_NORMALIZE = 1;
  6311. var ALWAYS_NORMALIZE = 2;
  6312. // wrapper function for providing a more flexible interface
  6313. // without getting yelled at by flow
  6314. function createElement (
  6315. context,
  6316. tag,
  6317. data,
  6318. children,
  6319. normalizationType,
  6320. alwaysNormalize
  6321. ) {
  6322. if (Array.isArray(data) || isPrimitive(data)) {
  6323. normalizationType = children;
  6324. children = data;
  6325. data = undefined;
  6326. }
  6327. if (isTrue(alwaysNormalize)) {
  6328. normalizationType = ALWAYS_NORMALIZE;
  6329. }
  6330. return _createElement(context, tag, data, children, normalizationType)
  6331. }
  6332. function _createElement (
  6333. context,
  6334. tag,
  6335. data,
  6336. children,
  6337. normalizationType
  6338. ) {
  6339. if (isDef(data) && isDef((data).__ob__)) {
  6340. true && warn(
  6341. "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" +
  6342. 'Always create fresh vnode data objects in each render!',
  6343. context
  6344. );
  6345. return createEmptyVNode()
  6346. }
  6347. // object syntax in v-bind
  6348. if (isDef(data) && isDef(data.is)) {
  6349. tag = data.is;
  6350. }
  6351. if (!tag) {
  6352. // in case of component :is set to falsy value
  6353. return createEmptyVNode()
  6354. }
  6355. // warn against non-primitive key
  6356. if ( true &&
  6357. isDef(data) && isDef(data.key) && !isPrimitive(data.key)
  6358. ) {
  6359. {
  6360. warn(
  6361. 'Avoid using non-primitive value as key, ' +
  6362. 'use string/number value instead.',
  6363. context
  6364. );
  6365. }
  6366. }
  6367. // support single function children as default scoped slot
  6368. if (Array.isArray(children) &&
  6369. typeof children[0] === 'function'
  6370. ) {
  6371. data = data || {};
  6372. data.scopedSlots = { default: children[0] };
  6373. children.length = 0;
  6374. }
  6375. if (normalizationType === ALWAYS_NORMALIZE) {
  6376. children = normalizeChildren(children);
  6377. } else if (normalizationType === SIMPLE_NORMALIZE) {
  6378. children = simpleNormalizeChildren(children);
  6379. }
  6380. var vnode, ns;
  6381. if (typeof tag === 'string') {
  6382. var Ctor;
  6383. ns = (context.$vnode && context.$vnode.ns) || config.getTagNamespace(tag);
  6384. if (config.isReservedTag(tag)) {
  6385. // platform built-in elements
  6386. if ( true && isDef(data) && isDef(data.nativeOn)) {
  6387. warn(
  6388. ("The .native modifier for v-on is only valid on components but it was used on <" + tag + ">."),
  6389. context
  6390. );
  6391. }
  6392. vnode = new VNode(
  6393. config.parsePlatformTagName(tag), data, children,
  6394. undefined, undefined, context
  6395. );
  6396. } else if ((!data || !data.pre) && isDef(Ctor = resolveAsset(context.$options, 'components', tag))) {
  6397. // component
  6398. vnode = createComponent(Ctor, data, context, children, tag);
  6399. } else {
  6400. // unknown or unlisted namespaced elements
  6401. // check at runtime because it may get assigned a namespace when its
  6402. // parent normalizes children
  6403. vnode = new VNode(
  6404. tag, data, children,
  6405. undefined, undefined, context
  6406. );
  6407. }
  6408. } else {
  6409. // direct component options / constructor
  6410. vnode = createComponent(tag, data, context, children);
  6411. }
  6412. if (Array.isArray(vnode)) {
  6413. return vnode
  6414. } else if (isDef(vnode)) {
  6415. if (isDef(ns)) { applyNS(vnode, ns); }
  6416. if (isDef(data)) { registerDeepBindings(data); }
  6417. return vnode
  6418. } else {
  6419. return createEmptyVNode()
  6420. }
  6421. }
  6422. function applyNS (vnode, ns, force) {
  6423. vnode.ns = ns;
  6424. if (vnode.tag === 'foreignObject') {
  6425. // use default namespace inside foreignObject
  6426. ns = undefined;
  6427. force = true;
  6428. }
  6429. if (isDef(vnode.children)) {
  6430. for (var i = 0, l = vnode.children.length; i < l; i++) {
  6431. var child = vnode.children[i];
  6432. if (isDef(child.tag) && (
  6433. isUndef(child.ns) || (isTrue(force) && child.tag !== 'svg'))) {
  6434. applyNS(child, ns, force);
  6435. }
  6436. }
  6437. }
  6438. }
  6439. // ref #5318
  6440. // necessary to ensure parent re-render when deep bindings like :style and
  6441. // :class are used on slot nodes
  6442. function registerDeepBindings (data) {
  6443. if (isObject(data.style)) {
  6444. traverse(data.style);
  6445. }
  6446. if (isObject(data.class)) {
  6447. traverse(data.class);
  6448. }
  6449. }
  6450. /* */
  6451. function initRender (vm) {
  6452. vm._vnode = null; // the root of the child tree
  6453. vm._staticTrees = null; // v-once cached trees
  6454. var options = vm.$options;
  6455. var parentVnode = vm.$vnode = options._parentVnode; // the placeholder node in parent tree
  6456. var renderContext = parentVnode && parentVnode.context;
  6457. vm.$slots = resolveSlots(options._renderChildren, renderContext);
  6458. vm.$scopedSlots = emptyObject;
  6459. // bind the createElement fn to this instance
  6460. // so that we get proper render context inside it.
  6461. // args order: tag, data, children, normalizationType, alwaysNormalize
  6462. // internal version is used by render functions compiled from templates
  6463. vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); };
  6464. // normalization is always applied for the public version, used in
  6465. // user-written render functions.
  6466. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); };
  6467. // $attrs & $listeners are exposed for easier HOC creation.
  6468. // they need to be reactive so that HOCs using them are always updated
  6469. var parentData = parentVnode && parentVnode.data;
  6470. /* istanbul ignore else */
  6471. if (true) {
  6472. defineReactive$$1(vm, '$attrs', parentData && parentData.attrs || emptyObject, function () {
  6473. !isUpdatingChildComponent && warn("$attrs is readonly.", vm);
  6474. }, true);
  6475. defineReactive$$1(vm, '$listeners', options._parentListeners || emptyObject, function () {
  6476. !isUpdatingChildComponent && warn("$listeners is readonly.", vm);
  6477. }, true);
  6478. } else {}
  6479. }
  6480. var currentRenderingInstance = null;
  6481. function renderMixin (Vue) {
  6482. // install runtime convenience helpers
  6483. installRenderHelpers(Vue.prototype);
  6484. Vue.prototype.$nextTick = function (fn) {
  6485. return nextTick(fn, this)
  6486. };
  6487. Vue.prototype._render = function () {
  6488. var vm = this;
  6489. var ref = vm.$options;
  6490. var render = ref.render;
  6491. var _parentVnode = ref._parentVnode;
  6492. if (_parentVnode) {
  6493. vm.$scopedSlots = normalizeScopedSlots(
  6494. _parentVnode.data.scopedSlots,
  6495. vm.$slots,
  6496. vm.$scopedSlots
  6497. );
  6498. }
  6499. // set parent vnode. this allows render functions to have access
  6500. // to the data on the placeholder node.
  6501. vm.$vnode = _parentVnode;
  6502. // render self
  6503. var vnode;
  6504. try {
  6505. // There's no need to maintain a stack because all render fns are called
  6506. // separately from one another. Nested component's render fns are called
  6507. // when parent component is patched.
  6508. currentRenderingInstance = vm;
  6509. vnode = render.call(vm._renderProxy, vm.$createElement);
  6510. } catch (e) {
  6511. handleError(e, vm, "render");
  6512. // return error render result,
  6513. // or previous vnode to prevent render error causing blank component
  6514. /* istanbul ignore else */
  6515. if ( true && vm.$options.renderError) {
  6516. try {
  6517. vnode = vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e);
  6518. } catch (e) {
  6519. handleError(e, vm, "renderError");
  6520. vnode = vm._vnode;
  6521. }
  6522. } else {
  6523. vnode = vm._vnode;
  6524. }
  6525. } finally {
  6526. currentRenderingInstance = null;
  6527. }
  6528. // if the returned array contains only a single node, allow it
  6529. if (Array.isArray(vnode) && vnode.length === 1) {
  6530. vnode = vnode[0];
  6531. }
  6532. // return empty vnode in case the render function errored out
  6533. if (!(vnode instanceof VNode)) {
  6534. if ( true && Array.isArray(vnode)) {
  6535. warn(
  6536. 'Multiple root nodes returned from render function. Render function ' +
  6537. 'should return a single root node.',
  6538. vm
  6539. );
  6540. }
  6541. vnode = createEmptyVNode();
  6542. }
  6543. // set parent
  6544. vnode.parent = _parentVnode;
  6545. return vnode
  6546. };
  6547. }
  6548. /* */
  6549. function ensureCtor (comp, base) {
  6550. if (
  6551. comp.__esModule ||
  6552. (hasSymbol && comp[Symbol.toStringTag] === 'Module')
  6553. ) {
  6554. comp = comp.default;
  6555. }
  6556. return isObject(comp)
  6557. ? base.extend(comp)
  6558. : comp
  6559. }
  6560. function createAsyncPlaceholder (
  6561. factory,
  6562. data,
  6563. context,
  6564. children,
  6565. tag
  6566. ) {
  6567. var node = createEmptyVNode();
  6568. node.asyncFactory = factory;
  6569. node.asyncMeta = { data: data, context: context, children: children, tag: tag };
  6570. return node
  6571. }
  6572. function resolveAsyncComponent (
  6573. factory,
  6574. baseCtor
  6575. ) {
  6576. if (isTrue(factory.error) && isDef(factory.errorComp)) {
  6577. return factory.errorComp
  6578. }
  6579. if (isDef(factory.resolved)) {
  6580. return factory.resolved
  6581. }
  6582. var owner = currentRenderingInstance;
  6583. if (owner && isDef(factory.owners) && factory.owners.indexOf(owner) === -1) {
  6584. // already pending
  6585. factory.owners.push(owner);
  6586. }
  6587. if (isTrue(factory.loading) && isDef(factory.loadingComp)) {
  6588. return factory.loadingComp
  6589. }
  6590. if (owner && !isDef(factory.owners)) {
  6591. var owners = factory.owners = [owner];
  6592. var sync = true;
  6593. var timerLoading = null;
  6594. var timerTimeout = null
  6595. ;(owner).$on('hook:destroyed', function () { return remove(owners, owner); });
  6596. var forceRender = function (renderCompleted) {
  6597. for (var i = 0, l = owners.length; i < l; i++) {
  6598. (owners[i]).$forceUpdate();
  6599. }
  6600. if (renderCompleted) {
  6601. owners.length = 0;
  6602. if (timerLoading !== null) {
  6603. clearTimeout(timerLoading);
  6604. timerLoading = null;
  6605. }
  6606. if (timerTimeout !== null) {
  6607. clearTimeout(timerTimeout);
  6608. timerTimeout = null;
  6609. }
  6610. }
  6611. };
  6612. var resolve = once(function (res) {
  6613. // cache resolved
  6614. factory.resolved = ensureCtor(res, baseCtor);
  6615. // invoke callbacks only if this is not a synchronous resolve
  6616. // (async resolves are shimmed as synchronous during SSR)
  6617. if (!sync) {
  6618. forceRender(true);
  6619. } else {
  6620. owners.length = 0;
  6621. }
  6622. });
  6623. var reject = once(function (reason) {
  6624. true && warn(
  6625. "Failed to resolve async component: " + (String(factory)) +
  6626. (reason ? ("\nReason: " + reason) : '')
  6627. );
  6628. if (isDef(factory.errorComp)) {
  6629. factory.error = true;
  6630. forceRender(true);
  6631. }
  6632. });
  6633. var res = factory(resolve, reject);
  6634. if (isObject(res)) {
  6635. if (isPromise(res)) {
  6636. // () => Promise
  6637. if (isUndef(factory.resolved)) {
  6638. res.then(resolve, reject);
  6639. }
  6640. } else if (isPromise(res.component)) {
  6641. res.component.then(resolve, reject);
  6642. if (isDef(res.error)) {
  6643. factory.errorComp = ensureCtor(res.error, baseCtor);
  6644. }
  6645. if (isDef(res.loading)) {
  6646. factory.loadingComp = ensureCtor(res.loading, baseCtor);
  6647. if (res.delay === 0) {
  6648. factory.loading = true;
  6649. } else {
  6650. timerLoading = setTimeout(function () {
  6651. timerLoading = null;
  6652. if (isUndef(factory.resolved) && isUndef(factory.error)) {
  6653. factory.loading = true;
  6654. forceRender(false);
  6655. }
  6656. }, res.delay || 200);
  6657. }
  6658. }
  6659. if (isDef(res.timeout)) {
  6660. timerTimeout = setTimeout(function () {
  6661. timerTimeout = null;
  6662. if (isUndef(factory.resolved)) {
  6663. reject(
  6664. true
  6665. ? ("timeout (" + (res.timeout) + "ms)")
  6666. : undefined
  6667. );
  6668. }
  6669. }, res.timeout);
  6670. }
  6671. }
  6672. }
  6673. sync = false;
  6674. // return in case resolved synchronously
  6675. return factory.loading
  6676. ? factory.loadingComp
  6677. : factory.resolved
  6678. }
  6679. }
  6680. /* */
  6681. function isAsyncPlaceholder (node) {
  6682. return node.isComment && node.asyncFactory
  6683. }
  6684. /* */
  6685. function getFirstComponentChild (children) {
  6686. if (Array.isArray(children)) {
  6687. for (var i = 0; i < children.length; i++) {
  6688. var c = children[i];
  6689. if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
  6690. return c
  6691. }
  6692. }
  6693. }
  6694. }
  6695. /* */
  6696. /* */
  6697. function initEvents (vm) {
  6698. vm._events = Object.create(null);
  6699. vm._hasHookEvent = false;
  6700. // init parent attached events
  6701. var listeners = vm.$options._parentListeners;
  6702. if (listeners) {
  6703. updateComponentListeners(vm, listeners);
  6704. }
  6705. }
  6706. var target;
  6707. function add (event, fn) {
  6708. target.$on(event, fn);
  6709. }
  6710. function remove$1 (event, fn) {
  6711. target.$off(event, fn);
  6712. }
  6713. function createOnceHandler (event, fn) {
  6714. var _target = target;
  6715. return function onceHandler () {
  6716. var res = fn.apply(null, arguments);
  6717. if (res !== null) {
  6718. _target.$off(event, onceHandler);
  6719. }
  6720. }
  6721. }
  6722. function updateComponentListeners (
  6723. vm,
  6724. listeners,
  6725. oldListeners
  6726. ) {
  6727. target = vm;
  6728. updateListeners(listeners, oldListeners || {}, add, remove$1, createOnceHandler, vm);
  6729. target = undefined;
  6730. }
  6731. function eventsMixin (Vue) {
  6732. var hookRE = /^hook:/;
  6733. Vue.prototype.$on = function (event, fn) {
  6734. var vm = this;
  6735. if (Array.isArray(event)) {
  6736. for (var i = 0, l = event.length; i < l; i++) {
  6737. vm.$on(event[i], fn);
  6738. }
  6739. } else {
  6740. (vm._events[event] || (vm._events[event] = [])).push(fn);
  6741. // optimize hook:event cost by using a boolean flag marked at registration
  6742. // instead of a hash lookup
  6743. if (hookRE.test(event)) {
  6744. vm._hasHookEvent = true;
  6745. }
  6746. }
  6747. return vm
  6748. };
  6749. Vue.prototype.$once = function (event, fn) {
  6750. var vm = this;
  6751. function on () {
  6752. vm.$off(event, on);
  6753. fn.apply(vm, arguments);
  6754. }
  6755. on.fn = fn;
  6756. vm.$on(event, on);
  6757. return vm
  6758. };
  6759. Vue.prototype.$off = function (event, fn) {
  6760. var vm = this;
  6761. // all
  6762. if (!arguments.length) {
  6763. vm._events = Object.create(null);
  6764. return vm
  6765. }
  6766. // array of events
  6767. if (Array.isArray(event)) {
  6768. for (var i$1 = 0, l = event.length; i$1 < l; i$1++) {
  6769. vm.$off(event[i$1], fn);
  6770. }
  6771. return vm
  6772. }
  6773. // specific event
  6774. var cbs = vm._events[event];
  6775. if (!cbs) {
  6776. return vm
  6777. }
  6778. if (!fn) {
  6779. vm._events[event] = null;
  6780. return vm
  6781. }
  6782. // specific handler
  6783. var cb;
  6784. var i = cbs.length;
  6785. while (i--) {
  6786. cb = cbs[i];
  6787. if (cb === fn || cb.fn === fn) {
  6788. cbs.splice(i, 1);
  6789. break
  6790. }
  6791. }
  6792. return vm
  6793. };
  6794. Vue.prototype.$emit = function (event) {
  6795. var vm = this;
  6796. if (true) {
  6797. var lowerCaseEvent = event.toLowerCase();
  6798. if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) {
  6799. tip(
  6800. "Event \"" + lowerCaseEvent + "\" is emitted in component " +
  6801. (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " +
  6802. "Note that HTML attributes are case-insensitive and you cannot use " +
  6803. "v-on to listen to camelCase events when using in-DOM templates. " +
  6804. "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"."
  6805. );
  6806. }
  6807. }
  6808. var cbs = vm._events[event];
  6809. if (cbs) {
  6810. cbs = cbs.length > 1 ? toArray(cbs) : cbs;
  6811. var args = toArray(arguments, 1);
  6812. var info = "event handler for \"" + event + "\"";
  6813. for (var i = 0, l = cbs.length; i < l; i++) {
  6814. invokeWithErrorHandling(cbs[i], vm, args, vm, info);
  6815. }
  6816. }
  6817. return vm
  6818. };
  6819. }
  6820. /* */
  6821. var activeInstance = null;
  6822. var isUpdatingChildComponent = false;
  6823. function setActiveInstance(vm) {
  6824. var prevActiveInstance = activeInstance;
  6825. activeInstance = vm;
  6826. return function () {
  6827. activeInstance = prevActiveInstance;
  6828. }
  6829. }
  6830. function initLifecycle (vm) {
  6831. var options = vm.$options;
  6832. // locate first non-abstract parent
  6833. var parent = options.parent;
  6834. if (parent && !options.abstract) {
  6835. while (parent.$options.abstract && parent.$parent) {
  6836. parent = parent.$parent;
  6837. }
  6838. parent.$children.push(vm);
  6839. }
  6840. vm.$parent = parent;
  6841. vm.$root = parent ? parent.$root : vm;
  6842. vm.$children = [];
  6843. vm.$refs = {};
  6844. vm._watcher = null;
  6845. vm._inactive = null;
  6846. vm._directInactive = false;
  6847. vm._isMounted = false;
  6848. vm._isDestroyed = false;
  6849. vm._isBeingDestroyed = false;
  6850. }
  6851. function lifecycleMixin (Vue) {
  6852. Vue.prototype._update = function (vnode, hydrating) {
  6853. var vm = this;
  6854. var prevEl = vm.$el;
  6855. var prevVnode = vm._vnode;
  6856. var restoreActiveInstance = setActiveInstance(vm);
  6857. vm._vnode = vnode;
  6858. // Vue.prototype.__patch__ is injected in entry points
  6859. // based on the rendering backend used.
  6860. if (!prevVnode) {
  6861. // initial render
  6862. vm.$el = vm.__patch__(vm.$el, vnode, hydrating, false /* removeOnly */);
  6863. } else {
  6864. // updates
  6865. vm.$el = vm.__patch__(prevVnode, vnode);
  6866. }
  6867. restoreActiveInstance();
  6868. // update __vue__ reference
  6869. if (prevEl) {
  6870. prevEl.__vue__ = null;
  6871. }
  6872. if (vm.$el) {
  6873. vm.$el.__vue__ = vm;
  6874. }
  6875. // if parent is an HOC, update its $el as well
  6876. if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) {
  6877. vm.$parent.$el = vm.$el;
  6878. }
  6879. // updated hook is called by the scheduler to ensure that children are
  6880. // updated in a parent's updated hook.
  6881. };
  6882. Vue.prototype.$forceUpdate = function () {
  6883. var vm = this;
  6884. if (vm._watcher) {
  6885. vm._watcher.update();
  6886. }
  6887. };
  6888. Vue.prototype.$destroy = function () {
  6889. var vm = this;
  6890. if (vm._isBeingDestroyed) {
  6891. return
  6892. }
  6893. callHook(vm, 'beforeDestroy');
  6894. vm._isBeingDestroyed = true;
  6895. // remove self from parent
  6896. var parent = vm.$parent;
  6897. if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) {
  6898. remove(parent.$children, vm);
  6899. }
  6900. // teardown watchers
  6901. if (vm._watcher) {
  6902. vm._watcher.teardown();
  6903. }
  6904. var i = vm._watchers.length;
  6905. while (i--) {
  6906. vm._watchers[i].teardown();
  6907. }
  6908. // remove reference from data ob
  6909. // frozen object may not have observer.
  6910. if (vm._data.__ob__) {
  6911. vm._data.__ob__.vmCount--;
  6912. }
  6913. // call the last hook...
  6914. vm._isDestroyed = true;
  6915. // invoke destroy hooks on current rendered tree
  6916. vm.__patch__(vm._vnode, null);
  6917. // fire destroyed hook
  6918. callHook(vm, 'destroyed');
  6919. // turn off all instance listeners.
  6920. vm.$off();
  6921. // remove __vue__ reference
  6922. if (vm.$el) {
  6923. vm.$el.__vue__ = null;
  6924. }
  6925. // release circular reference (#6759)
  6926. if (vm.$vnode) {
  6927. vm.$vnode.parent = null;
  6928. }
  6929. };
  6930. }
  6931. function updateChildComponent (
  6932. vm,
  6933. propsData,
  6934. listeners,
  6935. parentVnode,
  6936. renderChildren
  6937. ) {
  6938. if (true) {
  6939. isUpdatingChildComponent = true;
  6940. }
  6941. // determine whether component has slot children
  6942. // we need to do this before overwriting $options._renderChildren.
  6943. // check if there are dynamic scopedSlots (hand-written or compiled but with
  6944. // dynamic slot names). Static scoped slots compiled from template has the
  6945. // "$stable" marker.
  6946. var newScopedSlots = parentVnode.data.scopedSlots;
  6947. var oldScopedSlots = vm.$scopedSlots;
  6948. var hasDynamicScopedSlot = !!(
  6949. (newScopedSlots && !newScopedSlots.$stable) ||
  6950. (oldScopedSlots !== emptyObject && !oldScopedSlots.$stable) ||
  6951. (newScopedSlots && vm.$scopedSlots.$key !== newScopedSlots.$key)
  6952. );
  6953. // Any static slot children from the parent may have changed during parent's
  6954. // update. Dynamic scoped slots may also have changed. In such cases, a forced
  6955. // update is necessary to ensure correctness.
  6956. var needsForceUpdate = !!(
  6957. renderChildren || // has new static slots
  6958. vm.$options._renderChildren || // has old static slots
  6959. hasDynamicScopedSlot
  6960. );
  6961. vm.$options._parentVnode = parentVnode;
  6962. vm.$vnode = parentVnode; // update vm's placeholder node without re-render
  6963. if (vm._vnode) { // update child tree's parent
  6964. vm._vnode.parent = parentVnode;
  6965. }
  6966. vm.$options._renderChildren = renderChildren;
  6967. // update $attrs and $listeners hash
  6968. // these are also reactive so they may trigger child update if the child
  6969. // used them during render
  6970. vm.$attrs = parentVnode.data.attrs || emptyObject;
  6971. vm.$listeners = listeners || emptyObject;
  6972. // update props
  6973. if (propsData && vm.$options.props) {
  6974. toggleObserving(false);
  6975. var props = vm._props;
  6976. var propKeys = vm.$options._propKeys || [];
  6977. for (var i = 0; i < propKeys.length; i++) {
  6978. var key = propKeys[i];
  6979. var propOptions = vm.$options.props; // wtf flow?
  6980. props[key] = validateProp(key, propOptions, propsData, vm);
  6981. }
  6982. toggleObserving(true);
  6983. // keep a copy of raw propsData
  6984. vm.$options.propsData = propsData;
  6985. }
  6986. // fixed by xxxxxx update properties(mp runtime)
  6987. vm._$updateProperties && vm._$updateProperties(vm);
  6988. // update listeners
  6989. listeners = listeners || emptyObject;
  6990. var oldListeners = vm.$options._parentListeners;
  6991. vm.$options._parentListeners = listeners;
  6992. updateComponentListeners(vm, listeners, oldListeners);
  6993. // resolve slots + force update if has children
  6994. if (needsForceUpdate) {
  6995. vm.$slots = resolveSlots(renderChildren, parentVnode.context);
  6996. vm.$forceUpdate();
  6997. }
  6998. if (true) {
  6999. isUpdatingChildComponent = false;
  7000. }
  7001. }
  7002. function isInInactiveTree (vm) {
  7003. while (vm && (vm = vm.$parent)) {
  7004. if (vm._inactive) { return true }
  7005. }
  7006. return false
  7007. }
  7008. function activateChildComponent (vm, direct) {
  7009. if (direct) {
  7010. vm._directInactive = false;
  7011. if (isInInactiveTree(vm)) {
  7012. return
  7013. }
  7014. } else if (vm._directInactive) {
  7015. return
  7016. }
  7017. if (vm._inactive || vm._inactive === null) {
  7018. vm._inactive = false;
  7019. for (var i = 0; i < vm.$children.length; i++) {
  7020. activateChildComponent(vm.$children[i]);
  7021. }
  7022. callHook(vm, 'activated');
  7023. }
  7024. }
  7025. function deactivateChildComponent (vm, direct) {
  7026. if (direct) {
  7027. vm._directInactive = true;
  7028. if (isInInactiveTree(vm)) {
  7029. return
  7030. }
  7031. }
  7032. if (!vm._inactive) {
  7033. vm._inactive = true;
  7034. for (var i = 0; i < vm.$children.length; i++) {
  7035. deactivateChildComponent(vm.$children[i]);
  7036. }
  7037. callHook(vm, 'deactivated');
  7038. }
  7039. }
  7040. function callHook (vm, hook) {
  7041. // #7573 disable dep collection when invoking lifecycle hooks
  7042. pushTarget();
  7043. var handlers = vm.$options[hook];
  7044. var info = hook + " hook";
  7045. if (handlers) {
  7046. for (var i = 0, j = handlers.length; i < j; i++) {
  7047. invokeWithErrorHandling(handlers[i], vm, null, vm, info);
  7048. }
  7049. }
  7050. if (vm._hasHookEvent) {
  7051. vm.$emit('hook:' + hook);
  7052. }
  7053. popTarget();
  7054. }
  7055. /* */
  7056. var MAX_UPDATE_COUNT = 100;
  7057. var queue = [];
  7058. var activatedChildren = [];
  7059. var has = {};
  7060. var circular = {};
  7061. var waiting = false;
  7062. var flushing = false;
  7063. var index = 0;
  7064. /**
  7065. * Reset the scheduler's state.
  7066. */
  7067. function resetSchedulerState () {
  7068. index = queue.length = activatedChildren.length = 0;
  7069. has = {};
  7070. if (true) {
  7071. circular = {};
  7072. }
  7073. waiting = flushing = false;
  7074. }
  7075. // Async edge case #6566 requires saving the timestamp when event listeners are
  7076. // attached. However, calling performance.now() has a perf overhead especially
  7077. // if the page has thousands of event listeners. Instead, we take a timestamp
  7078. // every time the scheduler flushes and use that for all event listeners
  7079. // attached during that flush.
  7080. var currentFlushTimestamp = 0;
  7081. // Async edge case fix requires storing an event listener's attach timestamp.
  7082. var getNow = Date.now;
  7083. // Determine what event timestamp the browser is using. Annoyingly, the
  7084. // timestamp can either be hi-res (relative to page load) or low-res
  7085. // (relative to UNIX epoch), so in order to compare time we have to use the
  7086. // same timestamp type when saving the flush timestamp.
  7087. // All IE versions use low-res event timestamps, and have problematic clock
  7088. // implementations (#9632)
  7089. if (inBrowser && !isIE) {
  7090. var performance = window.performance;
  7091. if (
  7092. performance &&
  7093. typeof performance.now === 'function' &&
  7094. getNow() > document.createEvent('Event').timeStamp
  7095. ) {
  7096. // if the event timestamp, although evaluated AFTER the Date.now(), is
  7097. // smaller than it, it means the event is using a hi-res timestamp,
  7098. // and we need to use the hi-res version for event listener timestamps as
  7099. // well.
  7100. getNow = function () { return performance.now(); };
  7101. }
  7102. }
  7103. /**
  7104. * Flush both queues and run the watchers.
  7105. */
  7106. function flushSchedulerQueue () {
  7107. currentFlushTimestamp = getNow();
  7108. flushing = true;
  7109. var watcher, id;
  7110. // Sort queue before flush.
  7111. // This ensures that:
  7112. // 1. Components are updated from parent to child. (because parent is always
  7113. // created before the child)
  7114. // 2. A component's user watchers are run before its render watcher (because
  7115. // user watchers are created before the render watcher)
  7116. // 3. If a component is destroyed during a parent component's watcher run,
  7117. // its watchers can be skipped.
  7118. queue.sort(function (a, b) { return a.id - b.id; });
  7119. // do not cache length because more watchers might be pushed
  7120. // as we run existing watchers
  7121. for (index = 0; index < queue.length; index++) {
  7122. watcher = queue[index];
  7123. if (watcher.before) {
  7124. watcher.before();
  7125. }
  7126. id = watcher.id;
  7127. has[id] = null;
  7128. watcher.run();
  7129. // in dev build, check and stop circular updates.
  7130. if ( true && has[id] != null) {
  7131. circular[id] = (circular[id] || 0) + 1;
  7132. if (circular[id] > MAX_UPDATE_COUNT) {
  7133. warn(
  7134. 'You may have an infinite update loop ' + (
  7135. watcher.user
  7136. ? ("in watcher with expression \"" + (watcher.expression) + "\"")
  7137. : "in a component render function."
  7138. ),
  7139. watcher.vm
  7140. );
  7141. break
  7142. }
  7143. }
  7144. }
  7145. // keep copies of post queues before resetting state
  7146. var activatedQueue = activatedChildren.slice();
  7147. var updatedQueue = queue.slice();
  7148. resetSchedulerState();
  7149. // call component updated and activated hooks
  7150. callActivatedHooks(activatedQueue);
  7151. callUpdatedHooks(updatedQueue);
  7152. // devtool hook
  7153. /* istanbul ignore if */
  7154. if (devtools && config.devtools) {
  7155. devtools.emit('flush');
  7156. }
  7157. }
  7158. function callUpdatedHooks (queue) {
  7159. var i = queue.length;
  7160. while (i--) {
  7161. var watcher = queue[i];
  7162. var vm = watcher.vm;
  7163. if (vm._watcher === watcher && vm._isMounted && !vm._isDestroyed) {
  7164. callHook(vm, 'updated');
  7165. }
  7166. }
  7167. }
  7168. /**
  7169. * Queue a kept-alive component that was activated during patch.
  7170. * The queue will be processed after the entire tree has been patched.
  7171. */
  7172. function queueActivatedComponent (vm) {
  7173. // setting _inactive to false here so that a render function can
  7174. // rely on checking whether it's in an inactive tree (e.g. router-view)
  7175. vm._inactive = false;
  7176. activatedChildren.push(vm);
  7177. }
  7178. function callActivatedHooks (queue) {
  7179. for (var i = 0; i < queue.length; i++) {
  7180. queue[i]._inactive = true;
  7181. activateChildComponent(queue[i], true /* true */);
  7182. }
  7183. }
  7184. /**
  7185. * Push a watcher into the watcher queue.
  7186. * Jobs with duplicate IDs will be skipped unless it's
  7187. * pushed when the queue is being flushed.
  7188. */
  7189. function queueWatcher (watcher) {
  7190. var id = watcher.id;
  7191. if (has[id] == null) {
  7192. has[id] = true;
  7193. if (!flushing) {
  7194. queue.push(watcher);
  7195. } else {
  7196. // if already flushing, splice the watcher based on its id
  7197. // if already past its id, it will be run next immediately.
  7198. var i = queue.length - 1;
  7199. while (i > index && queue[i].id > watcher.id) {
  7200. i--;
  7201. }
  7202. queue.splice(i + 1, 0, watcher);
  7203. }
  7204. // queue the flush
  7205. if (!waiting) {
  7206. waiting = true;
  7207. if ( true && !config.async) {
  7208. flushSchedulerQueue();
  7209. return
  7210. }
  7211. nextTick(flushSchedulerQueue);
  7212. }
  7213. }
  7214. }
  7215. /* */
  7216. var uid$2 = 0;
  7217. /**
  7218. * A watcher parses an expression, collects dependencies,
  7219. * and fires callback when the expression value changes.
  7220. * This is used for both the $watch() api and directives.
  7221. */
  7222. var Watcher = function Watcher (
  7223. vm,
  7224. expOrFn,
  7225. cb,
  7226. options,
  7227. isRenderWatcher
  7228. ) {
  7229. this.vm = vm;
  7230. if (isRenderWatcher) {
  7231. vm._watcher = this;
  7232. }
  7233. vm._watchers.push(this);
  7234. // options
  7235. if (options) {
  7236. this.deep = !!options.deep;
  7237. this.user = !!options.user;
  7238. this.lazy = !!options.lazy;
  7239. this.sync = !!options.sync;
  7240. this.before = options.before;
  7241. } else {
  7242. this.deep = this.user = this.lazy = this.sync = false;
  7243. }
  7244. this.cb = cb;
  7245. this.id = ++uid$2; // uid for batching
  7246. this.active = true;
  7247. this.dirty = this.lazy; // for lazy watchers
  7248. this.deps = [];
  7249. this.newDeps = [];
  7250. this.depIds = new _Set();
  7251. this.newDepIds = new _Set();
  7252. this.expression = true
  7253. ? expOrFn.toString()
  7254. : undefined;
  7255. // parse expression for getter
  7256. if (typeof expOrFn === 'function') {
  7257. this.getter = expOrFn;
  7258. } else {
  7259. this.getter = parsePath(expOrFn);
  7260. if (!this.getter) {
  7261. this.getter = noop;
  7262. true && warn(
  7263. "Failed watching path: \"" + expOrFn + "\" " +
  7264. 'Watcher only accepts simple dot-delimited paths. ' +
  7265. 'For full control, use a function instead.',
  7266. vm
  7267. );
  7268. }
  7269. }
  7270. this.value = this.lazy
  7271. ? undefined
  7272. : this.get();
  7273. };
  7274. /**
  7275. * Evaluate the getter, and re-collect dependencies.
  7276. */
  7277. Watcher.prototype.get = function get () {
  7278. pushTarget(this);
  7279. var value;
  7280. var vm = this.vm;
  7281. try {
  7282. value = this.getter.call(vm, vm);
  7283. } catch (e) {
  7284. if (this.user) {
  7285. handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\""));
  7286. } else {
  7287. throw e
  7288. }
  7289. } finally {
  7290. // "touch" every property so they are all tracked as
  7291. // dependencies for deep watching
  7292. if (this.deep) {
  7293. traverse(value);
  7294. }
  7295. popTarget();
  7296. this.cleanupDeps();
  7297. }
  7298. return value
  7299. };
  7300. /**
  7301. * Add a dependency to this directive.
  7302. */
  7303. Watcher.prototype.addDep = function addDep (dep) {
  7304. var id = dep.id;
  7305. if (!this.newDepIds.has(id)) {
  7306. this.newDepIds.add(id);
  7307. this.newDeps.push(dep);
  7308. if (!this.depIds.has(id)) {
  7309. dep.addSub(this);
  7310. }
  7311. }
  7312. };
  7313. /**
  7314. * Clean up for dependency collection.
  7315. */
  7316. Watcher.prototype.cleanupDeps = function cleanupDeps () {
  7317. var i = this.deps.length;
  7318. while (i--) {
  7319. var dep = this.deps[i];
  7320. if (!this.newDepIds.has(dep.id)) {
  7321. dep.removeSub(this);
  7322. }
  7323. }
  7324. var tmp = this.depIds;
  7325. this.depIds = this.newDepIds;
  7326. this.newDepIds = tmp;
  7327. this.newDepIds.clear();
  7328. tmp = this.deps;
  7329. this.deps = this.newDeps;
  7330. this.newDeps = tmp;
  7331. this.newDeps.length = 0;
  7332. };
  7333. /**
  7334. * Subscriber interface.
  7335. * Will be called when a dependency changes.
  7336. */
  7337. Watcher.prototype.update = function update () {
  7338. /* istanbul ignore else */
  7339. if (this.lazy) {
  7340. this.dirty = true;
  7341. } else if (this.sync) {
  7342. this.run();
  7343. } else {
  7344. queueWatcher(this);
  7345. }
  7346. };
  7347. /**
  7348. * Scheduler job interface.
  7349. * Will be called by the scheduler.
  7350. */
  7351. Watcher.prototype.run = function run () {
  7352. if (this.active) {
  7353. var value = this.get();
  7354. if (
  7355. value !== this.value ||
  7356. // Deep watchers and watchers on Object/Arrays should fire even
  7357. // when the value is the same, because the value may
  7358. // have mutated.
  7359. isObject(value) ||
  7360. this.deep
  7361. ) {
  7362. // set new value
  7363. var oldValue = this.value;
  7364. this.value = value;
  7365. if (this.user) {
  7366. try {
  7367. this.cb.call(this.vm, value, oldValue);
  7368. } catch (e) {
  7369. handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\""));
  7370. }
  7371. } else {
  7372. this.cb.call(this.vm, value, oldValue);
  7373. }
  7374. }
  7375. }
  7376. };
  7377. /**
  7378. * Evaluate the value of the watcher.
  7379. * This only gets called for lazy watchers.
  7380. */
  7381. Watcher.prototype.evaluate = function evaluate () {
  7382. this.value = this.get();
  7383. this.dirty = false;
  7384. };
  7385. /**
  7386. * Depend on all deps collected by this watcher.
  7387. */
  7388. Watcher.prototype.depend = function depend () {
  7389. var i = this.deps.length;
  7390. while (i--) {
  7391. this.deps[i].depend();
  7392. }
  7393. };
  7394. /**
  7395. * Remove self from all dependencies' subscriber list.
  7396. */
  7397. Watcher.prototype.teardown = function teardown () {
  7398. if (this.active) {
  7399. // remove self from vm's watcher list
  7400. // this is a somewhat expensive operation so we skip it
  7401. // if the vm is being destroyed.
  7402. if (!this.vm._isBeingDestroyed) {
  7403. remove(this.vm._watchers, this);
  7404. }
  7405. var i = this.deps.length;
  7406. while (i--) {
  7407. this.deps[i].removeSub(this);
  7408. }
  7409. this.active = false;
  7410. }
  7411. };
  7412. /* */
  7413. var sharedPropertyDefinition = {
  7414. enumerable: true,
  7415. configurable: true,
  7416. get: noop,
  7417. set: noop
  7418. };
  7419. function proxy (target, sourceKey, key) {
  7420. sharedPropertyDefinition.get = function proxyGetter () {
  7421. return this[sourceKey][key]
  7422. };
  7423. sharedPropertyDefinition.set = function proxySetter (val) {
  7424. this[sourceKey][key] = val;
  7425. };
  7426. Object.defineProperty(target, key, sharedPropertyDefinition);
  7427. }
  7428. function initState (vm) {
  7429. vm._watchers = [];
  7430. var opts = vm.$options;
  7431. if (opts.props) { initProps(vm, opts.props); }
  7432. if (opts.methods) { initMethods(vm, opts.methods); }
  7433. if (opts.data) {
  7434. initData(vm);
  7435. } else {
  7436. observe(vm._data = {}, true /* asRootData */);
  7437. }
  7438. if (opts.computed) { initComputed(vm, opts.computed); }
  7439. if (opts.watch && opts.watch !== nativeWatch) {
  7440. initWatch(vm, opts.watch);
  7441. }
  7442. }
  7443. function initProps (vm, propsOptions) {
  7444. var propsData = vm.$options.propsData || {};
  7445. var props = vm._props = {};
  7446. // cache prop keys so that future props updates can iterate using Array
  7447. // instead of dynamic object key enumeration.
  7448. var keys = vm.$options._propKeys = [];
  7449. var isRoot = !vm.$parent;
  7450. // root instance props should be converted
  7451. if (!isRoot) {
  7452. toggleObserving(false);
  7453. }
  7454. var loop = function ( key ) {
  7455. keys.push(key);
  7456. var value = validateProp(key, propsOptions, propsData, vm);
  7457. /* istanbul ignore else */
  7458. if (true) {
  7459. var hyphenatedKey = hyphenate(key);
  7460. if (isReservedAttribute(hyphenatedKey) ||
  7461. config.isReservedAttr(hyphenatedKey)) {
  7462. warn(
  7463. ("\"" + hyphenatedKey + "\" is a reserved attribute and cannot be used as component prop."),
  7464. vm
  7465. );
  7466. }
  7467. defineReactive$$1(props, key, value, function () {
  7468. if (!isRoot && !isUpdatingChildComponent) {
  7469. {
  7470. if(vm.mpHost === 'mp-baidu' || vm.mpHost === 'mp-kuaishou' || vm.mpHost === 'mp-xhs'){//百度、快手、小红书 observer 在 setData callback 之后触发,直接忽略该 warn
  7471. return
  7472. }
  7473. //fixed by xxxxxx __next_tick_pending,uni://form-field 时不告警
  7474. if(
  7475. key === 'value' &&
  7476. Array.isArray(vm.$options.behaviors) &&
  7477. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  7478. ){
  7479. return
  7480. }
  7481. if(vm._getFormData){
  7482. return
  7483. }
  7484. var $parent = vm.$parent;
  7485. while($parent){
  7486. if($parent.__next_tick_pending){
  7487. return
  7488. }
  7489. $parent = $parent.$parent;
  7490. }
  7491. }
  7492. warn(
  7493. "Avoid mutating a prop directly since the value will be " +
  7494. "overwritten whenever the parent component re-renders. " +
  7495. "Instead, use a data or computed property based on the prop's " +
  7496. "value. Prop being mutated: \"" + key + "\"",
  7497. vm
  7498. );
  7499. }
  7500. });
  7501. } else {}
  7502. // static props are already proxied on the component's prototype
  7503. // during Vue.extend(). We only need to proxy props defined at
  7504. // instantiation here.
  7505. if (!(key in vm)) {
  7506. proxy(vm, "_props", key);
  7507. }
  7508. };
  7509. for (var key in propsOptions) loop( key );
  7510. toggleObserving(true);
  7511. }
  7512. function initData (vm) {
  7513. var data = vm.$options.data;
  7514. data = vm._data = typeof data === 'function'
  7515. ? getData(data, vm)
  7516. : data || {};
  7517. if (!isPlainObject(data)) {
  7518. data = {};
  7519. true && warn(
  7520. 'data functions should return an object:\n' +
  7521. 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function',
  7522. vm
  7523. );
  7524. }
  7525. // proxy data on instance
  7526. var keys = Object.keys(data);
  7527. var props = vm.$options.props;
  7528. var methods = vm.$options.methods;
  7529. var i = keys.length;
  7530. while (i--) {
  7531. var key = keys[i];
  7532. if (true) {
  7533. if (methods && hasOwn(methods, key)) {
  7534. warn(
  7535. ("Method \"" + key + "\" has already been defined as a data property."),
  7536. vm
  7537. );
  7538. }
  7539. }
  7540. if (props && hasOwn(props, key)) {
  7541. true && warn(
  7542. "The data property \"" + key + "\" is already declared as a prop. " +
  7543. "Use prop default value instead.",
  7544. vm
  7545. );
  7546. } else if (!isReserved(key)) {
  7547. proxy(vm, "_data", key);
  7548. }
  7549. }
  7550. // observe data
  7551. observe(data, true /* asRootData */);
  7552. }
  7553. function getData (data, vm) {
  7554. // #7573 disable dep collection when invoking data getters
  7555. pushTarget();
  7556. try {
  7557. return data.call(vm, vm)
  7558. } catch (e) {
  7559. handleError(e, vm, "data()");
  7560. return {}
  7561. } finally {
  7562. popTarget();
  7563. }
  7564. }
  7565. var computedWatcherOptions = { lazy: true };
  7566. function initComputed (vm, computed) {
  7567. // $flow-disable-line
  7568. var watchers = vm._computedWatchers = Object.create(null);
  7569. // computed properties are just getters during SSR
  7570. var isSSR = isServerRendering();
  7571. for (var key in computed) {
  7572. var userDef = computed[key];
  7573. var getter = typeof userDef === 'function' ? userDef : userDef.get;
  7574. if ( true && getter == null) {
  7575. warn(
  7576. ("Getter is missing for computed property \"" + key + "\"."),
  7577. vm
  7578. );
  7579. }
  7580. if (!isSSR) {
  7581. // create internal watcher for the computed property.
  7582. watchers[key] = new Watcher(
  7583. vm,
  7584. getter || noop,
  7585. noop,
  7586. computedWatcherOptions
  7587. );
  7588. }
  7589. // component-defined computed properties are already defined on the
  7590. // component prototype. We only need to define computed properties defined
  7591. // at instantiation here.
  7592. if (!(key in vm)) {
  7593. defineComputed(vm, key, userDef);
  7594. } else if (true) {
  7595. if (key in vm.$data) {
  7596. warn(("The computed property \"" + key + "\" is already defined in data."), vm);
  7597. } else if (vm.$options.props && key in vm.$options.props) {
  7598. warn(("The computed property \"" + key + "\" is already defined as a prop."), vm);
  7599. }
  7600. }
  7601. }
  7602. }
  7603. function defineComputed (
  7604. target,
  7605. key,
  7606. userDef
  7607. ) {
  7608. var shouldCache = !isServerRendering();
  7609. if (typeof userDef === 'function') {
  7610. sharedPropertyDefinition.get = shouldCache
  7611. ? createComputedGetter(key)
  7612. : createGetterInvoker(userDef);
  7613. sharedPropertyDefinition.set = noop;
  7614. } else {
  7615. sharedPropertyDefinition.get = userDef.get
  7616. ? shouldCache && userDef.cache !== false
  7617. ? createComputedGetter(key)
  7618. : createGetterInvoker(userDef.get)
  7619. : noop;
  7620. sharedPropertyDefinition.set = userDef.set || noop;
  7621. }
  7622. if ( true &&
  7623. sharedPropertyDefinition.set === noop) {
  7624. sharedPropertyDefinition.set = function () {
  7625. warn(
  7626. ("Computed property \"" + key + "\" was assigned to but it has no setter."),
  7627. this
  7628. );
  7629. };
  7630. }
  7631. Object.defineProperty(target, key, sharedPropertyDefinition);
  7632. }
  7633. function createComputedGetter (key) {
  7634. return function computedGetter () {
  7635. var watcher = this._computedWatchers && this._computedWatchers[key];
  7636. if (watcher) {
  7637. if (watcher.dirty) {
  7638. watcher.evaluate();
  7639. }
  7640. if (Dep.SharedObject.target) {// fixed by xxxxxx
  7641. watcher.depend();
  7642. }
  7643. return watcher.value
  7644. }
  7645. }
  7646. }
  7647. function createGetterInvoker(fn) {
  7648. return function computedGetter () {
  7649. return fn.call(this, this)
  7650. }
  7651. }
  7652. function initMethods (vm, methods) {
  7653. var props = vm.$options.props;
  7654. for (var key in methods) {
  7655. if (true) {
  7656. if (typeof methods[key] !== 'function') {
  7657. warn(
  7658. "Method \"" + key + "\" has type \"" + (typeof methods[key]) + "\" in the component definition. " +
  7659. "Did you reference the function correctly?",
  7660. vm
  7661. );
  7662. }
  7663. if (props && hasOwn(props, key)) {
  7664. warn(
  7665. ("Method \"" + key + "\" has already been defined as a prop."),
  7666. vm
  7667. );
  7668. }
  7669. if ((key in vm) && isReserved(key)) {
  7670. warn(
  7671. "Method \"" + key + "\" conflicts with an existing Vue instance method. " +
  7672. "Avoid defining component methods that start with _ or $."
  7673. );
  7674. }
  7675. }
  7676. vm[key] = typeof methods[key] !== 'function' ? noop : bind(methods[key], vm);
  7677. }
  7678. }
  7679. function initWatch (vm, watch) {
  7680. for (var key in watch) {
  7681. var handler = watch[key];
  7682. if (Array.isArray(handler)) {
  7683. for (var i = 0; i < handler.length; i++) {
  7684. createWatcher(vm, key, handler[i]);
  7685. }
  7686. } else {
  7687. createWatcher(vm, key, handler);
  7688. }
  7689. }
  7690. }
  7691. function createWatcher (
  7692. vm,
  7693. expOrFn,
  7694. handler,
  7695. options
  7696. ) {
  7697. if (isPlainObject(handler)) {
  7698. options = handler;
  7699. handler = handler.handler;
  7700. }
  7701. if (typeof handler === 'string') {
  7702. handler = vm[handler];
  7703. }
  7704. return vm.$watch(expOrFn, handler, options)
  7705. }
  7706. function stateMixin (Vue) {
  7707. // flow somehow has problems with directly declared definition object
  7708. // when using Object.defineProperty, so we have to procedurally build up
  7709. // the object here.
  7710. var dataDef = {};
  7711. dataDef.get = function () { return this._data };
  7712. var propsDef = {};
  7713. propsDef.get = function () { return this._props };
  7714. if (true) {
  7715. dataDef.set = function () {
  7716. warn(
  7717. 'Avoid replacing instance root $data. ' +
  7718. 'Use nested data properties instead.',
  7719. this
  7720. );
  7721. };
  7722. propsDef.set = function () {
  7723. warn("$props is readonly.", this);
  7724. };
  7725. }
  7726. Object.defineProperty(Vue.prototype, '$data', dataDef);
  7727. Object.defineProperty(Vue.prototype, '$props', propsDef);
  7728. Vue.prototype.$set = set;
  7729. Vue.prototype.$delete = del;
  7730. Vue.prototype.$watch = function (
  7731. expOrFn,
  7732. cb,
  7733. options
  7734. ) {
  7735. var vm = this;
  7736. if (isPlainObject(cb)) {
  7737. return createWatcher(vm, expOrFn, cb, options)
  7738. }
  7739. options = options || {};
  7740. options.user = true;
  7741. var watcher = new Watcher(vm, expOrFn, cb, options);
  7742. if (options.immediate) {
  7743. try {
  7744. cb.call(vm, watcher.value);
  7745. } catch (error) {
  7746. handleError(error, vm, ("callback for immediate watcher \"" + (watcher.expression) + "\""));
  7747. }
  7748. }
  7749. return function unwatchFn () {
  7750. watcher.teardown();
  7751. }
  7752. };
  7753. }
  7754. /* */
  7755. var uid$3 = 0;
  7756. function initMixin (Vue) {
  7757. Vue.prototype._init = function (options) {
  7758. var vm = this;
  7759. // a uid
  7760. vm._uid = uid$3++;
  7761. var startTag, endTag;
  7762. /* istanbul ignore if */
  7763. if ( true && config.performance && mark) {
  7764. startTag = "vue-perf-start:" + (vm._uid);
  7765. endTag = "vue-perf-end:" + (vm._uid);
  7766. mark(startTag);
  7767. }
  7768. // a flag to avoid this being observed
  7769. vm._isVue = true;
  7770. // merge options
  7771. if (options && options._isComponent) {
  7772. // optimize internal component instantiation
  7773. // since dynamic options merging is pretty slow, and none of the
  7774. // internal component options needs special treatment.
  7775. initInternalComponent(vm, options);
  7776. } else {
  7777. vm.$options = mergeOptions(
  7778. resolveConstructorOptions(vm.constructor),
  7779. options || {},
  7780. vm
  7781. );
  7782. }
  7783. /* istanbul ignore else */
  7784. if (true) {
  7785. initProxy(vm);
  7786. } else {}
  7787. // expose real self
  7788. vm._self = vm;
  7789. initLifecycle(vm);
  7790. initEvents(vm);
  7791. initRender(vm);
  7792. callHook(vm, 'beforeCreate');
  7793. !vm._$fallback && initInjections(vm); // resolve injections before data/props
  7794. initState(vm);
  7795. !vm._$fallback && initProvide(vm); // resolve provide after data/props
  7796. !vm._$fallback && callHook(vm, 'created');
  7797. /* istanbul ignore if */
  7798. if ( true && config.performance && mark) {
  7799. vm._name = formatComponentName(vm, false);
  7800. mark(endTag);
  7801. measure(("vue " + (vm._name) + " init"), startTag, endTag);
  7802. }
  7803. if (vm.$options.el) {
  7804. vm.$mount(vm.$options.el);
  7805. }
  7806. };
  7807. }
  7808. function initInternalComponent (vm, options) {
  7809. var opts = vm.$options = Object.create(vm.constructor.options);
  7810. // doing this because it's faster than dynamic enumeration.
  7811. var parentVnode = options._parentVnode;
  7812. opts.parent = options.parent;
  7813. opts._parentVnode = parentVnode;
  7814. var vnodeComponentOptions = parentVnode.componentOptions;
  7815. opts.propsData = vnodeComponentOptions.propsData;
  7816. opts._parentListeners = vnodeComponentOptions.listeners;
  7817. opts._renderChildren = vnodeComponentOptions.children;
  7818. opts._componentTag = vnodeComponentOptions.tag;
  7819. if (options.render) {
  7820. opts.render = options.render;
  7821. opts.staticRenderFns = options.staticRenderFns;
  7822. }
  7823. }
  7824. function resolveConstructorOptions (Ctor) {
  7825. var options = Ctor.options;
  7826. if (Ctor.super) {
  7827. var superOptions = resolveConstructorOptions(Ctor.super);
  7828. var cachedSuperOptions = Ctor.superOptions;
  7829. if (superOptions !== cachedSuperOptions) {
  7830. // super option changed,
  7831. // need to resolve new options.
  7832. Ctor.superOptions = superOptions;
  7833. // check if there are any late-modified/attached options (#4976)
  7834. var modifiedOptions = resolveModifiedOptions(Ctor);
  7835. // update base extend options
  7836. if (modifiedOptions) {
  7837. extend(Ctor.extendOptions, modifiedOptions);
  7838. }
  7839. options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions);
  7840. if (options.name) {
  7841. options.components[options.name] = Ctor;
  7842. }
  7843. }
  7844. }
  7845. return options
  7846. }
  7847. function resolveModifiedOptions (Ctor) {
  7848. var modified;
  7849. var latest = Ctor.options;
  7850. var sealed = Ctor.sealedOptions;
  7851. for (var key in latest) {
  7852. if (latest[key] !== sealed[key]) {
  7853. if (!modified) { modified = {}; }
  7854. modified[key] = latest[key];
  7855. }
  7856. }
  7857. return modified
  7858. }
  7859. function Vue (options) {
  7860. if ( true &&
  7861. !(this instanceof Vue)
  7862. ) {
  7863. warn('Vue is a constructor and should be called with the `new` keyword');
  7864. }
  7865. this._init(options);
  7866. }
  7867. initMixin(Vue);
  7868. stateMixin(Vue);
  7869. eventsMixin(Vue);
  7870. lifecycleMixin(Vue);
  7871. renderMixin(Vue);
  7872. /* */
  7873. function initUse (Vue) {
  7874. Vue.use = function (plugin) {
  7875. var installedPlugins = (this._installedPlugins || (this._installedPlugins = []));
  7876. if (installedPlugins.indexOf(plugin) > -1) {
  7877. return this
  7878. }
  7879. // additional parameters
  7880. var args = toArray(arguments, 1);
  7881. args.unshift(this);
  7882. if (typeof plugin.install === 'function') {
  7883. plugin.install.apply(plugin, args);
  7884. } else if (typeof plugin === 'function') {
  7885. plugin.apply(null, args);
  7886. }
  7887. installedPlugins.push(plugin);
  7888. return this
  7889. };
  7890. }
  7891. /* */
  7892. function initMixin$1 (Vue) {
  7893. Vue.mixin = function (mixin) {
  7894. this.options = mergeOptions(this.options, mixin);
  7895. return this
  7896. };
  7897. }
  7898. /* */
  7899. function initExtend (Vue) {
  7900. /**
  7901. * Each instance constructor, including Vue, has a unique
  7902. * cid. This enables us to create wrapped "child
  7903. * constructors" for prototypal inheritance and cache them.
  7904. */
  7905. Vue.cid = 0;
  7906. var cid = 1;
  7907. /**
  7908. * Class inheritance
  7909. */
  7910. Vue.extend = function (extendOptions) {
  7911. extendOptions = extendOptions || {};
  7912. var Super = this;
  7913. var SuperId = Super.cid;
  7914. var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {});
  7915. if (cachedCtors[SuperId]) {
  7916. return cachedCtors[SuperId]
  7917. }
  7918. var name = extendOptions.name || Super.options.name;
  7919. if ( true && name) {
  7920. validateComponentName(name);
  7921. }
  7922. var Sub = function VueComponent (options) {
  7923. this._init(options);
  7924. };
  7925. Sub.prototype = Object.create(Super.prototype);
  7926. Sub.prototype.constructor = Sub;
  7927. Sub.cid = cid++;
  7928. Sub.options = mergeOptions(
  7929. Super.options,
  7930. extendOptions
  7931. );
  7932. Sub['super'] = Super;
  7933. // For props and computed properties, we define the proxy getters on
  7934. // the Vue instances at extension time, on the extended prototype. This
  7935. // avoids Object.defineProperty calls for each instance created.
  7936. if (Sub.options.props) {
  7937. initProps$1(Sub);
  7938. }
  7939. if (Sub.options.computed) {
  7940. initComputed$1(Sub);
  7941. }
  7942. // allow further extension/mixin/plugin usage
  7943. Sub.extend = Super.extend;
  7944. Sub.mixin = Super.mixin;
  7945. Sub.use = Super.use;
  7946. // create asset registers, so extended classes
  7947. // can have their private assets too.
  7948. ASSET_TYPES.forEach(function (type) {
  7949. Sub[type] = Super[type];
  7950. });
  7951. // enable recursive self-lookup
  7952. if (name) {
  7953. Sub.options.components[name] = Sub;
  7954. }
  7955. // keep a reference to the super options at extension time.
  7956. // later at instantiation we can check if Super's options have
  7957. // been updated.
  7958. Sub.superOptions = Super.options;
  7959. Sub.extendOptions = extendOptions;
  7960. Sub.sealedOptions = extend({}, Sub.options);
  7961. // cache constructor
  7962. cachedCtors[SuperId] = Sub;
  7963. return Sub
  7964. };
  7965. }
  7966. function initProps$1 (Comp) {
  7967. var props = Comp.options.props;
  7968. for (var key in props) {
  7969. proxy(Comp.prototype, "_props", key);
  7970. }
  7971. }
  7972. function initComputed$1 (Comp) {
  7973. var computed = Comp.options.computed;
  7974. for (var key in computed) {
  7975. defineComputed(Comp.prototype, key, computed[key]);
  7976. }
  7977. }
  7978. /* */
  7979. function initAssetRegisters (Vue) {
  7980. /**
  7981. * Create asset registration methods.
  7982. */
  7983. ASSET_TYPES.forEach(function (type) {
  7984. Vue[type] = function (
  7985. id,
  7986. definition
  7987. ) {
  7988. if (!definition) {
  7989. return this.options[type + 's'][id]
  7990. } else {
  7991. /* istanbul ignore if */
  7992. if ( true && type === 'component') {
  7993. validateComponentName(id);
  7994. }
  7995. if (type === 'component' && isPlainObject(definition)) {
  7996. definition.name = definition.name || id;
  7997. definition = this.options._base.extend(definition);
  7998. }
  7999. if (type === 'directive' && typeof definition === 'function') {
  8000. definition = { bind: definition, update: definition };
  8001. }
  8002. this.options[type + 's'][id] = definition;
  8003. return definition
  8004. }
  8005. };
  8006. });
  8007. }
  8008. /* */
  8009. function getComponentName (opts) {
  8010. return opts && (opts.Ctor.options.name || opts.tag)
  8011. }
  8012. function matches (pattern, name) {
  8013. if (Array.isArray(pattern)) {
  8014. return pattern.indexOf(name) > -1
  8015. } else if (typeof pattern === 'string') {
  8016. return pattern.split(',').indexOf(name) > -1
  8017. } else if (isRegExp(pattern)) {
  8018. return pattern.test(name)
  8019. }
  8020. /* istanbul ignore next */
  8021. return false
  8022. }
  8023. function pruneCache (keepAliveInstance, filter) {
  8024. var cache = keepAliveInstance.cache;
  8025. var keys = keepAliveInstance.keys;
  8026. var _vnode = keepAliveInstance._vnode;
  8027. for (var key in cache) {
  8028. var cachedNode = cache[key];
  8029. if (cachedNode) {
  8030. var name = getComponentName(cachedNode.componentOptions);
  8031. if (name && !filter(name)) {
  8032. pruneCacheEntry(cache, key, keys, _vnode);
  8033. }
  8034. }
  8035. }
  8036. }
  8037. function pruneCacheEntry (
  8038. cache,
  8039. key,
  8040. keys,
  8041. current
  8042. ) {
  8043. var cached$$1 = cache[key];
  8044. if (cached$$1 && (!current || cached$$1.tag !== current.tag)) {
  8045. cached$$1.componentInstance.$destroy();
  8046. }
  8047. cache[key] = null;
  8048. remove(keys, key);
  8049. }
  8050. var patternTypes = [String, RegExp, Array];
  8051. var KeepAlive = {
  8052. name: 'keep-alive',
  8053. abstract: true,
  8054. props: {
  8055. include: patternTypes,
  8056. exclude: patternTypes,
  8057. max: [String, Number]
  8058. },
  8059. created: function created () {
  8060. this.cache = Object.create(null);
  8061. this.keys = [];
  8062. },
  8063. destroyed: function destroyed () {
  8064. for (var key in this.cache) {
  8065. pruneCacheEntry(this.cache, key, this.keys);
  8066. }
  8067. },
  8068. mounted: function mounted () {
  8069. var this$1 = this;
  8070. this.$watch('include', function (val) {
  8071. pruneCache(this$1, function (name) { return matches(val, name); });
  8072. });
  8073. this.$watch('exclude', function (val) {
  8074. pruneCache(this$1, function (name) { return !matches(val, name); });
  8075. });
  8076. },
  8077. render: function render () {
  8078. var slot = this.$slots.default;
  8079. var vnode = getFirstComponentChild(slot);
  8080. var componentOptions = vnode && vnode.componentOptions;
  8081. if (componentOptions) {
  8082. // check pattern
  8083. var name = getComponentName(componentOptions);
  8084. var ref = this;
  8085. var include = ref.include;
  8086. var exclude = ref.exclude;
  8087. if (
  8088. // not included
  8089. (include && (!name || !matches(include, name))) ||
  8090. // excluded
  8091. (exclude && name && matches(exclude, name))
  8092. ) {
  8093. return vnode
  8094. }
  8095. var ref$1 = this;
  8096. var cache = ref$1.cache;
  8097. var keys = ref$1.keys;
  8098. var key = vnode.key == null
  8099. // same constructor may get registered as different local components
  8100. // so cid alone is not enough (#3269)
  8101. ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '')
  8102. : vnode.key;
  8103. if (cache[key]) {
  8104. vnode.componentInstance = cache[key].componentInstance;
  8105. // make current key freshest
  8106. remove(keys, key);
  8107. keys.push(key);
  8108. } else {
  8109. cache[key] = vnode;
  8110. keys.push(key);
  8111. // prune oldest entry
  8112. if (this.max && keys.length > parseInt(this.max)) {
  8113. pruneCacheEntry(cache, keys[0], keys, this._vnode);
  8114. }
  8115. }
  8116. vnode.data.keepAlive = true;
  8117. }
  8118. return vnode || (slot && slot[0])
  8119. }
  8120. };
  8121. var builtInComponents = {
  8122. KeepAlive: KeepAlive
  8123. };
  8124. /* */
  8125. function initGlobalAPI (Vue) {
  8126. // config
  8127. var configDef = {};
  8128. configDef.get = function () { return config; };
  8129. if (true) {
  8130. configDef.set = function () {
  8131. warn(
  8132. 'Do not replace the Vue.config object, set individual fields instead.'
  8133. );
  8134. };
  8135. }
  8136. Object.defineProperty(Vue, 'config', configDef);
  8137. // exposed util methods.
  8138. // NOTE: these are not considered part of the public API - avoid relying on
  8139. // them unless you are aware of the risk.
  8140. Vue.util = {
  8141. warn: warn,
  8142. extend: extend,
  8143. mergeOptions: mergeOptions,
  8144. defineReactive: defineReactive$$1
  8145. };
  8146. Vue.set = set;
  8147. Vue.delete = del;
  8148. Vue.nextTick = nextTick;
  8149. // 2.6 explicit observable API
  8150. Vue.observable = function (obj) {
  8151. observe(obj);
  8152. return obj
  8153. };
  8154. Vue.options = Object.create(null);
  8155. ASSET_TYPES.forEach(function (type) {
  8156. Vue.options[type + 's'] = Object.create(null);
  8157. });
  8158. // this is used to identify the "base" constructor to extend all plain-object
  8159. // components with in Weex's multi-instance scenarios.
  8160. Vue.options._base = Vue;
  8161. extend(Vue.options.components, builtInComponents);
  8162. initUse(Vue);
  8163. initMixin$1(Vue);
  8164. initExtend(Vue);
  8165. initAssetRegisters(Vue);
  8166. }
  8167. initGlobalAPI(Vue);
  8168. Object.defineProperty(Vue.prototype, '$isServer', {
  8169. get: isServerRendering
  8170. });
  8171. Object.defineProperty(Vue.prototype, '$ssrContext', {
  8172. get: function get () {
  8173. /* istanbul ignore next */
  8174. return this.$vnode && this.$vnode.ssrContext
  8175. }
  8176. });
  8177. // expose FunctionalRenderContext for ssr runtime helper installation
  8178. Object.defineProperty(Vue, 'FunctionalRenderContext', {
  8179. value: FunctionalRenderContext
  8180. });
  8181. Vue.version = '2.6.11';
  8182. /**
  8183. * https://raw.githubusercontent.com/Tencent/westore/master/packages/westore/utils/diff.js
  8184. */
  8185. var ARRAYTYPE = '[object Array]';
  8186. var OBJECTTYPE = '[object Object]';
  8187. var NULLTYPE = '[object Null]';
  8188. var UNDEFINEDTYPE = '[object Undefined]';
  8189. // const FUNCTIONTYPE = '[object Function]'
  8190. function diff(current, pre) {
  8191. var result = {};
  8192. syncKeys(current, pre);
  8193. _diff(current, pre, '', result);
  8194. return result
  8195. }
  8196. function syncKeys(current, pre) {
  8197. if (current === pre) { return }
  8198. var rootCurrentType = type(current);
  8199. var rootPreType = type(pre);
  8200. if (rootCurrentType == OBJECTTYPE && rootPreType == OBJECTTYPE) {
  8201. if(Object.keys(current).length >= Object.keys(pre).length){
  8202. for (var key in pre) {
  8203. var currentValue = current[key];
  8204. if (currentValue === undefined) {
  8205. current[key] = null;
  8206. } else {
  8207. syncKeys(currentValue, pre[key]);
  8208. }
  8209. }
  8210. }
  8211. } else if (rootCurrentType == ARRAYTYPE && rootPreType == ARRAYTYPE) {
  8212. if (current.length >= pre.length) {
  8213. pre.forEach(function (item, index) {
  8214. syncKeys(current[index], item);
  8215. });
  8216. }
  8217. }
  8218. }
  8219. function nullOrUndefined(currentType, preType) {
  8220. if(
  8221. (currentType === NULLTYPE || currentType === UNDEFINEDTYPE) &&
  8222. (preType === NULLTYPE || preType === UNDEFINEDTYPE)
  8223. ) {
  8224. return false
  8225. }
  8226. return true
  8227. }
  8228. function _diff(current, pre, path, result) {
  8229. if (current === pre) { return }
  8230. var rootCurrentType = type(current);
  8231. var rootPreType = type(pre);
  8232. if (rootCurrentType == OBJECTTYPE) {
  8233. if (rootPreType != OBJECTTYPE || Object.keys(current).length < Object.keys(pre).length) {
  8234. setResult(result, path, current);
  8235. } else {
  8236. var loop = function ( key ) {
  8237. var currentValue = current[key];
  8238. var preValue = pre[key];
  8239. var currentType = type(currentValue);
  8240. var preType = type(preValue);
  8241. if (currentType != ARRAYTYPE && currentType != OBJECTTYPE) {
  8242. if (currentValue !== pre[key] && nullOrUndefined(currentType, preType)) {
  8243. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8244. }
  8245. } else if (currentType == ARRAYTYPE) {
  8246. if (preType != ARRAYTYPE) {
  8247. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8248. } else {
  8249. if (currentValue.length < preValue.length) {
  8250. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8251. } else {
  8252. currentValue.forEach(function (item, index) {
  8253. _diff(item, preValue[index], (path == '' ? '' : path + ".") + key + '[' + index + ']', result);
  8254. });
  8255. }
  8256. }
  8257. } else if (currentType == OBJECTTYPE) {
  8258. if (preType != OBJECTTYPE || Object.keys(currentValue).length < Object.keys(preValue).length) {
  8259. setResult(result, (path == '' ? '' : path + ".") + key, currentValue);
  8260. } else {
  8261. for (var subKey in currentValue) {
  8262. _diff(currentValue[subKey], preValue[subKey], (path == '' ? '' : path + ".") + key + '.' + subKey, result);
  8263. }
  8264. }
  8265. }
  8266. };
  8267. for (var key in current) loop( key );
  8268. }
  8269. } else if (rootCurrentType == ARRAYTYPE) {
  8270. if (rootPreType != ARRAYTYPE) {
  8271. setResult(result, path, current);
  8272. } else {
  8273. if (current.length < pre.length) {
  8274. setResult(result, path, current);
  8275. } else {
  8276. current.forEach(function (item, index) {
  8277. _diff(item, pre[index], path + '[' + index + ']', result);
  8278. });
  8279. }
  8280. }
  8281. } else {
  8282. setResult(result, path, current);
  8283. }
  8284. }
  8285. function setResult(result, k, v) {
  8286. // if (type(v) != FUNCTIONTYPE) {
  8287. result[k] = v;
  8288. // }
  8289. }
  8290. function type(obj) {
  8291. return Object.prototype.toString.call(obj)
  8292. }
  8293. /* */
  8294. function flushCallbacks$1(vm) {
  8295. if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
  8296. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8297. var mpInstance = vm.$scope;
  8298. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8299. ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
  8300. }
  8301. var copies = vm.__next_tick_callbacks.slice(0);
  8302. vm.__next_tick_callbacks.length = 0;
  8303. for (var i = 0; i < copies.length; i++) {
  8304. copies[i]();
  8305. }
  8306. }
  8307. }
  8308. function hasRenderWatcher(vm) {
  8309. return queue.find(function (watcher) { return vm._watcher === watcher; })
  8310. }
  8311. function nextTick$1(vm, cb) {
  8312. //1.nextTick 之前 已 setData 且 setData 还未回调完成
  8313. //2.nextTick 之前存在 render watcher
  8314. if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
  8315. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  8316. var mpInstance = vm.$scope;
  8317. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
  8318. ']:nextVueTick');
  8319. }
  8320. return nextTick(cb, vm)
  8321. }else{
  8322. if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
  8323. var mpInstance$1 = vm.$scope;
  8324. console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
  8325. ']:nextMPTick');
  8326. }
  8327. }
  8328. var _resolve;
  8329. if (!vm.__next_tick_callbacks) {
  8330. vm.__next_tick_callbacks = [];
  8331. }
  8332. vm.__next_tick_callbacks.push(function () {
  8333. if (cb) {
  8334. try {
  8335. cb.call(vm);
  8336. } catch (e) {
  8337. handleError(e, vm, 'nextTick');
  8338. }
  8339. } else if (_resolve) {
  8340. _resolve(vm);
  8341. }
  8342. });
  8343. // $flow-disable-line
  8344. if (!cb && typeof Promise !== 'undefined') {
  8345. return new Promise(function (resolve) {
  8346. _resolve = resolve;
  8347. })
  8348. }
  8349. }
  8350. /* */
  8351. function clearInstance(key, value) {
  8352. // 简易去除 Vue 和小程序组件实例
  8353. if (value) {
  8354. if (value._isVue || value.__v_isMPComponent) {
  8355. return {}
  8356. }
  8357. }
  8358. return value
  8359. }
  8360. function cloneWithData(vm) {
  8361. // 确保当前 vm 所有数据被同步
  8362. var ret = Object.create(null);
  8363. var dataKeys = [].concat(
  8364. Object.keys(vm._data || {}),
  8365. Object.keys(vm._computedWatchers || {}));
  8366. dataKeys.reduce(function(ret, key) {
  8367. ret[key] = vm[key];
  8368. return ret
  8369. }, ret);
  8370. // vue-composition-api
  8371. var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
  8372. var rawBindings = compositionApiState && compositionApiState.rawBindings;
  8373. if (rawBindings) {
  8374. Object.keys(rawBindings).forEach(function (key) {
  8375. ret[key] = vm[key];
  8376. });
  8377. }
  8378. //TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
  8379. Object.assign(ret, vm.$mp.data || {});
  8380. if (
  8381. Array.isArray(vm.$options.behaviors) &&
  8382. vm.$options.behaviors.indexOf('uni://form-field') !== -1
  8383. ) { //form-field
  8384. ret['name'] = vm.name;
  8385. ret['value'] = vm.value;
  8386. }
  8387. return JSON.parse(JSON.stringify(ret, clearInstance))
  8388. }
  8389. var patch = function(oldVnode, vnode) {
  8390. var this$1 = this;
  8391. if (vnode === null) { //destroy
  8392. return
  8393. }
  8394. if (this.mpType === 'page' || this.mpType === 'component') {
  8395. var mpInstance = this.$scope;
  8396. var data = Object.create(null);
  8397. try {
  8398. data = cloneWithData(this);
  8399. } catch (err) {
  8400. console.error(err);
  8401. }
  8402. data.__webviewId__ = mpInstance.data.__webviewId__;
  8403. var mpData = Object.create(null);
  8404. Object.keys(data).forEach(function (key) { //仅同步 data 中有的数据
  8405. mpData[key] = mpInstance.data[key];
  8406. });
  8407. var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
  8408. if (Object.keys(diffData).length) {
  8409. if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
  8410. console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
  8411. ']差量更新',
  8412. JSON.stringify(diffData));
  8413. }
  8414. this.__next_tick_pending = true;
  8415. mpInstance.setData(diffData, function () {
  8416. this$1.__next_tick_pending = false;
  8417. flushCallbacks$1(this$1);
  8418. });
  8419. } else {
  8420. flushCallbacks$1(this);
  8421. }
  8422. }
  8423. };
  8424. /* */
  8425. function createEmptyRender() {
  8426. }
  8427. function mountComponent$1(
  8428. vm,
  8429. el,
  8430. hydrating
  8431. ) {
  8432. if (!vm.mpType) {//main.js 中的 new Vue
  8433. return vm
  8434. }
  8435. if (vm.mpType === 'app') {
  8436. vm.$options.render = createEmptyRender;
  8437. }
  8438. if (!vm.$options.render) {
  8439. vm.$options.render = createEmptyRender;
  8440. if (true) {
  8441. /* istanbul ignore if */
  8442. if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') ||
  8443. vm.$options.el || el) {
  8444. warn(
  8445. 'You are using the runtime-only build of Vue where the template ' +
  8446. 'compiler is not available. Either pre-compile the templates into ' +
  8447. 'render functions, or use the compiler-included build.',
  8448. vm
  8449. );
  8450. } else {
  8451. warn(
  8452. 'Failed to mount component: template or render function not defined.',
  8453. vm
  8454. );
  8455. }
  8456. }
  8457. }
  8458. !vm._$fallback && callHook(vm, 'beforeMount');
  8459. var updateComponent = function () {
  8460. vm._update(vm._render(), hydrating);
  8461. };
  8462. // we set this to vm._watcher inside the watcher's constructor
  8463. // since the watcher's initial patch may call $forceUpdate (e.g. inside child
  8464. // component's mounted hook), which relies on vm._watcher being already defined
  8465. new Watcher(vm, updateComponent, noop, {
  8466. before: function before() {
  8467. if (vm._isMounted && !vm._isDestroyed) {
  8468. callHook(vm, 'beforeUpdate');
  8469. }
  8470. }
  8471. }, true /* isRenderWatcher */);
  8472. hydrating = false;
  8473. return vm
  8474. }
  8475. /* */
  8476. function renderClass (
  8477. staticClass,
  8478. dynamicClass
  8479. ) {
  8480. if (isDef(staticClass) || isDef(dynamicClass)) {
  8481. return concat(staticClass, stringifyClass(dynamicClass))
  8482. }
  8483. /* istanbul ignore next */
  8484. return ''
  8485. }
  8486. function concat (a, b) {
  8487. return a ? b ? (a + ' ' + b) : a : (b || '')
  8488. }
  8489. function stringifyClass (value) {
  8490. if (Array.isArray(value)) {
  8491. return stringifyArray(value)
  8492. }
  8493. if (isObject(value)) {
  8494. return stringifyObject(value)
  8495. }
  8496. if (typeof value === 'string') {
  8497. return value
  8498. }
  8499. /* istanbul ignore next */
  8500. return ''
  8501. }
  8502. function stringifyArray (value) {
  8503. var res = '';
  8504. var stringified;
  8505. for (var i = 0, l = value.length; i < l; i++) {
  8506. if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
  8507. if (res) { res += ' '; }
  8508. res += stringified;
  8509. }
  8510. }
  8511. return res
  8512. }
  8513. function stringifyObject (value) {
  8514. var res = '';
  8515. for (var key in value) {
  8516. if (value[key]) {
  8517. if (res) { res += ' '; }
  8518. res += key;
  8519. }
  8520. }
  8521. return res
  8522. }
  8523. /* */
  8524. var parseStyleText = cached(function (cssText) {
  8525. var res = {};
  8526. var listDelimiter = /;(?![^(]*\))/g;
  8527. var propertyDelimiter = /:(.+)/;
  8528. cssText.split(listDelimiter).forEach(function (item) {
  8529. if (item) {
  8530. var tmp = item.split(propertyDelimiter);
  8531. tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim());
  8532. }
  8533. });
  8534. return res
  8535. });
  8536. // normalize possible array / string values into Object
  8537. function normalizeStyleBinding (bindingStyle) {
  8538. if (Array.isArray(bindingStyle)) {
  8539. return toObject(bindingStyle)
  8540. }
  8541. if (typeof bindingStyle === 'string') {
  8542. return parseStyleText(bindingStyle)
  8543. }
  8544. return bindingStyle
  8545. }
  8546. /* */
  8547. var MP_METHODS = ['createSelectorQuery', 'createIntersectionObserver', 'selectAllComponents', 'selectComponent'];
  8548. function getTarget(obj, path) {
  8549. var parts = path.split('.');
  8550. var key = parts[0];
  8551. if (key.indexOf('__$n') === 0) { //number index
  8552. key = parseInt(key.replace('__$n', ''));
  8553. }
  8554. if (parts.length === 1) {
  8555. return obj[key]
  8556. }
  8557. return getTarget(obj[key], parts.slice(1).join('.'))
  8558. }
  8559. function internalMixin(Vue) {
  8560. Vue.config.errorHandler = function(err, vm, info) {
  8561. Vue.util.warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm);
  8562. console.error(err);
  8563. /* eslint-disable no-undef */
  8564. var app = typeof getApp === 'function' && getApp();
  8565. if (app && app.onError) {
  8566. app.onError(err);
  8567. }
  8568. };
  8569. var oldEmit = Vue.prototype.$emit;
  8570. Vue.prototype.$emit = function(event) {
  8571. if (this.$scope && event) {
  8572. var triggerEvent = this.$scope['_triggerEvent'] || this.$scope['triggerEvent'];
  8573. if (triggerEvent) {
  8574. try {
  8575. triggerEvent.call(this.$scope, event, {
  8576. __args__: toArray(arguments, 1)
  8577. });
  8578. } catch (error) {
  8579. }
  8580. }
  8581. }
  8582. return oldEmit.apply(this, arguments)
  8583. };
  8584. Vue.prototype.$nextTick = function(fn) {
  8585. return nextTick$1(this, fn)
  8586. };
  8587. MP_METHODS.forEach(function (method) {
  8588. Vue.prototype[method] = function(args) {
  8589. if (this.$scope && this.$scope[method]) {
  8590. return this.$scope[method](args)
  8591. }
  8592. // mp-alipay
  8593. if (typeof my === 'undefined') {
  8594. return
  8595. }
  8596. if (method === 'createSelectorQuery') {
  8597. /* eslint-disable no-undef */
  8598. return my.createSelectorQuery(args)
  8599. } else if (method === 'createIntersectionObserver') {
  8600. /* eslint-disable no-undef */
  8601. return my.createIntersectionObserver(args)
  8602. }
  8603. // TODO mp-alipay 暂不支持 selectAllComponents,selectComponent
  8604. };
  8605. });
  8606. Vue.prototype.__init_provide = initProvide;
  8607. Vue.prototype.__init_injections = initInjections;
  8608. Vue.prototype.__call_hook = function(hook, args) {
  8609. var vm = this;
  8610. // #7573 disable dep collection when invoking lifecycle hooks
  8611. pushTarget();
  8612. var handlers = vm.$options[hook];
  8613. var info = hook + " hook";
  8614. var ret;
  8615. if (handlers) {
  8616. for (var i = 0, j = handlers.length; i < j; i++) {
  8617. ret = invokeWithErrorHandling(handlers[i], vm, args ? [args] : null, vm, info);
  8618. }
  8619. }
  8620. if (vm._hasHookEvent) {
  8621. vm.$emit('hook:' + hook, args);
  8622. }
  8623. popTarget();
  8624. return ret
  8625. };
  8626. Vue.prototype.__set_model = function(target, key, value, modifiers) {
  8627. if (Array.isArray(modifiers)) {
  8628. if (modifiers.indexOf('trim') !== -1) {
  8629. value = value.trim();
  8630. }
  8631. if (modifiers.indexOf('number') !== -1) {
  8632. value = this._n(value);
  8633. }
  8634. }
  8635. if (!target) {
  8636. target = this;
  8637. }
  8638. // 解决动态属性添加
  8639. Vue.set(target, key, value);
  8640. };
  8641. Vue.prototype.__set_sync = function(target, key, value) {
  8642. if (!target) {
  8643. target = this;
  8644. }
  8645. // 解决动态属性添加
  8646. Vue.set(target, key, value);
  8647. };
  8648. Vue.prototype.__get_orig = function(item) {
  8649. if (isPlainObject(item)) {
  8650. return item['$orig'] || item
  8651. }
  8652. return item
  8653. };
  8654. Vue.prototype.__get_value = function(dataPath, target) {
  8655. return getTarget(target || this, dataPath)
  8656. };
  8657. Vue.prototype.__get_class = function(dynamicClass, staticClass) {
  8658. return renderClass(staticClass, dynamicClass)
  8659. };
  8660. Vue.prototype.__get_style = function(dynamicStyle, staticStyle) {
  8661. if (!dynamicStyle && !staticStyle) {
  8662. return ''
  8663. }
  8664. var dynamicStyleObj = normalizeStyleBinding(dynamicStyle);
  8665. var styleObj = staticStyle ? extend(staticStyle, dynamicStyleObj) : dynamicStyleObj;
  8666. return Object.keys(styleObj).map(function (name) { return ((hyphenate(name)) + ":" + (styleObj[name])); }).join(';')
  8667. };
  8668. Vue.prototype.__map = function(val, iteratee) {
  8669. //TODO 暂不考虑 string
  8670. var ret, i, l, keys, key;
  8671. if (Array.isArray(val)) {
  8672. ret = new Array(val.length);
  8673. for (i = 0, l = val.length; i < l; i++) {
  8674. ret[i] = iteratee(val[i], i);
  8675. }
  8676. return ret
  8677. } else if (isObject(val)) {
  8678. keys = Object.keys(val);
  8679. ret = Object.create(null);
  8680. for (i = 0, l = keys.length; i < l; i++) {
  8681. key = keys[i];
  8682. ret[key] = iteratee(val[key], key, i);
  8683. }
  8684. return ret
  8685. } else if (typeof val === 'number') {
  8686. ret = new Array(val);
  8687. for (i = 0, l = val; i < l; i++) {
  8688. // 第一个参数暂时仍和小程序一致
  8689. ret[i] = iteratee(i, i);
  8690. }
  8691. return ret
  8692. }
  8693. return []
  8694. };
  8695. }
  8696. /* */
  8697. var LIFECYCLE_HOOKS$1 = [
  8698. //App
  8699. 'onLaunch',
  8700. 'onShow',
  8701. 'onHide',
  8702. 'onUniNViewMessage',
  8703. 'onPageNotFound',
  8704. 'onThemeChange',
  8705. 'onError',
  8706. 'onUnhandledRejection',
  8707. //Page
  8708. 'onInit',
  8709. 'onLoad',
  8710. // 'onShow',
  8711. 'onReady',
  8712. // 'onHide',
  8713. 'onUnload',
  8714. 'onPullDownRefresh',
  8715. 'onReachBottom',
  8716. 'onTabItemTap',
  8717. 'onAddToFavorites',
  8718. 'onShareTimeline',
  8719. 'onShareAppMessage',
  8720. 'onResize',
  8721. 'onPageScroll',
  8722. 'onNavigationBarButtonTap',
  8723. 'onBackPress',
  8724. 'onNavigationBarSearchInputChanged',
  8725. 'onNavigationBarSearchInputConfirmed',
  8726. 'onNavigationBarSearchInputClicked',
  8727. //Component
  8728. // 'onReady', // 兼容旧版本,应该移除该事件
  8729. 'onPageShow',
  8730. 'onPageHide',
  8731. 'onPageResize',
  8732. 'onUploadDouyinVideo'
  8733. ];
  8734. function lifecycleMixin$1(Vue) {
  8735. //fixed vue-class-component
  8736. var oldExtend = Vue.extend;
  8737. Vue.extend = function(extendOptions) {
  8738. extendOptions = extendOptions || {};
  8739. var methods = extendOptions.methods;
  8740. if (methods) {
  8741. Object.keys(methods).forEach(function (methodName) {
  8742. if (LIFECYCLE_HOOKS$1.indexOf(methodName)!==-1) {
  8743. extendOptions[methodName] = methods[methodName];
  8744. delete methods[methodName];
  8745. }
  8746. });
  8747. }
  8748. return oldExtend.call(this, extendOptions)
  8749. };
  8750. var strategies = Vue.config.optionMergeStrategies;
  8751. var mergeHook = strategies.created;
  8752. LIFECYCLE_HOOKS$1.forEach(function (hook) {
  8753. strategies[hook] = mergeHook;
  8754. });
  8755. Vue.prototype.__lifecycle_hooks__ = LIFECYCLE_HOOKS$1;
  8756. }
  8757. /* */
  8758. // install platform patch function
  8759. Vue.prototype.__patch__ = patch;
  8760. // public mount method
  8761. Vue.prototype.$mount = function(
  8762. el ,
  8763. hydrating
  8764. ) {
  8765. return mountComponent$1(this, el, hydrating)
  8766. };
  8767. lifecycleMixin$1(Vue);
  8768. internalMixin(Vue);
  8769. /* */
  8770. /* harmony default export */ __webpack_exports__["default"] = (Vue);
  8771. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../webpack/buildin/global.js */ 3)))
  8772. /***/ }),
  8773. /* 26 */
  8774. /*!************************************************************************************************************!*\
  8775. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/pages.json ***!
  8776. \************************************************************************************************************/
  8777. /*! no static exports found */
  8778. /***/ (function(module, exports) {
  8779. /***/ }),
  8780. /* 27 */,
  8781. /* 28 */,
  8782. /* 29 */,
  8783. /* 30 */
  8784. /*!*********************************************************************************************************************!*\
  8785. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/permission.js ***!
  8786. \*********************************************************************************************************************/
  8787. /*! no static exports found */
  8788. /***/ (function(module, exports, __webpack_require__) {
  8789. "use strict";
  8790. /* WEBPACK VAR INJECTION */(function(uni) {
  8791. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  8792. Object.defineProperty(exports, "__esModule", {
  8793. value: true
  8794. });
  8795. exports.default = _default;
  8796. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  8797. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  8798. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  8799. var _auth = __webpack_require__(/*! @/utils/auth */ 34);
  8800. // 白名单
  8801. var whiteList = ['/',
  8802. // 注意入口页必须直接写 '/'
  8803. {
  8804. pattern: /^\/pages\/list.*/
  8805. },
  8806. // 支持正则表达式
  8807. '/pages/home/home', '/pages/logo/index', '/pages/login/login', {
  8808. pattern: /^\/pages\/login\/*/
  8809. }];
  8810. function _default() {
  8811. return _ref.apply(this, arguments);
  8812. }
  8813. function _ref() {
  8814. _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  8815. var list;
  8816. return _regenerator.default.wrap(function _callee$(_context) {
  8817. while (1) {
  8818. switch (_context.prev = _context.next) {
  8819. case 0:
  8820. list = ['navigateTo', 'redirectTo', 'reLaunch', 'switchTab']; // 用遍历的方式分别为,uni.navigateTo,uni.redirectTo,uni.reLaunch,uni.switchTab这4个路由方法添加拦截器
  8821. list.forEach(function (item) {
  8822. uni.addInterceptor(item, {
  8823. invoke: function invoke(e) {
  8824. // 获取要跳转的页面路径(url去掉"?"和"?"后的参数)
  8825. var url = e.url.split('?')[0];
  8826. // console.log('url', url)
  8827. // 判断当前窗口是白名单,如果是则不重定向路由
  8828. var pass;
  8829. if (whiteList) {
  8830. pass = whiteList.some(function (item) {
  8831. if ((0, _typeof2.default)(item) === 'object' && item.pattern) {
  8832. return item.pattern.test(url);
  8833. }
  8834. return url === item;
  8835. });
  8836. }
  8837. // 不是白名单并且没有token
  8838. if (!pass && !(0, _auth.getToken)()) {
  8839. uni.showToast({
  8840. title: '请先登录',
  8841. icon: 'none'
  8842. });
  8843. setTimeout(function () {
  8844. uni.navigateTo({
  8845. url: "/pages/logo/index"
  8846. });
  8847. }, 1000);
  8848. return false;
  8849. }
  8850. return e;
  8851. },
  8852. fail: function fail(err) {
  8853. // 失败回调拦截
  8854. console.log(err);
  8855. }
  8856. });
  8857. });
  8858. case 2:
  8859. case "end":
  8860. return _context.stop();
  8861. }
  8862. }
  8863. }, _callee);
  8864. }));
  8865. return _ref.apply(this, arguments);
  8866. }
  8867. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  8868. /***/ }),
  8869. /* 31 */
  8870. /*!************************************************************************************************!*\
  8871. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/@babel/runtime/regenerator/index.js ***!
  8872. \************************************************************************************************/
  8873. /*! no static exports found */
  8874. /***/ (function(module, exports, __webpack_require__) {
  8875. // TODO(Babel 8): Remove this file.
  8876. var runtime = __webpack_require__(/*! @babel/runtime/helpers/regeneratorRuntime */ 32)();
  8877. module.exports = runtime;
  8878. /***/ }),
  8879. /* 32 */
  8880. /*!*******************************************************************!*\
  8881. !*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
  8882. \*******************************************************************/
  8883. /*! no static exports found */
  8884. /***/ (function(module, exports, __webpack_require__) {
  8885. var _typeof = __webpack_require__(/*! ./typeof.js */ 13)["default"];
  8886. function _regeneratorRuntime() {
  8887. "use strict";
  8888. /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
  8889. module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
  8890. return exports;
  8891. }, module.exports.__esModule = true, module.exports["default"] = module.exports;
  8892. var exports = {},
  8893. Op = Object.prototype,
  8894. hasOwn = Op.hasOwnProperty,
  8895. defineProperty = Object.defineProperty || function (obj, key, desc) {
  8896. obj[key] = desc.value;
  8897. },
  8898. $Symbol = "function" == typeof Symbol ? Symbol : {},
  8899. iteratorSymbol = $Symbol.iterator || "@@iterator",
  8900. asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
  8901. toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
  8902. function define(obj, key, value) {
  8903. return Object.defineProperty(obj, key, {
  8904. value: value,
  8905. enumerable: !0,
  8906. configurable: !0,
  8907. writable: !0
  8908. }), obj[key];
  8909. }
  8910. try {
  8911. define({}, "");
  8912. } catch (err) {
  8913. define = function define(obj, key, value) {
  8914. return obj[key] = value;
  8915. };
  8916. }
  8917. function wrap(innerFn, outerFn, self, tryLocsList) {
  8918. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
  8919. generator = Object.create(protoGenerator.prototype),
  8920. context = new Context(tryLocsList || []);
  8921. return defineProperty(generator, "_invoke", {
  8922. value: makeInvokeMethod(innerFn, self, context)
  8923. }), generator;
  8924. }
  8925. function tryCatch(fn, obj, arg) {
  8926. try {
  8927. return {
  8928. type: "normal",
  8929. arg: fn.call(obj, arg)
  8930. };
  8931. } catch (err) {
  8932. return {
  8933. type: "throw",
  8934. arg: err
  8935. };
  8936. }
  8937. }
  8938. exports.wrap = wrap;
  8939. var ContinueSentinel = {};
  8940. function Generator() {}
  8941. function GeneratorFunction() {}
  8942. function GeneratorFunctionPrototype() {}
  8943. var IteratorPrototype = {};
  8944. define(IteratorPrototype, iteratorSymbol, function () {
  8945. return this;
  8946. });
  8947. var getProto = Object.getPrototypeOf,
  8948. NativeIteratorPrototype = getProto && getProto(getProto(values([])));
  8949. NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
  8950. var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
  8951. function defineIteratorMethods(prototype) {
  8952. ["next", "throw", "return"].forEach(function (method) {
  8953. define(prototype, method, function (arg) {
  8954. return this._invoke(method, arg);
  8955. });
  8956. });
  8957. }
  8958. function AsyncIterator(generator, PromiseImpl) {
  8959. function invoke(method, arg, resolve, reject) {
  8960. var record = tryCatch(generator[method], generator, arg);
  8961. if ("throw" !== record.type) {
  8962. var result = record.arg,
  8963. value = result.value;
  8964. return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
  8965. invoke("next", value, resolve, reject);
  8966. }, function (err) {
  8967. invoke("throw", err, resolve, reject);
  8968. }) : PromiseImpl.resolve(value).then(function (unwrapped) {
  8969. result.value = unwrapped, resolve(result);
  8970. }, function (error) {
  8971. return invoke("throw", error, resolve, reject);
  8972. });
  8973. }
  8974. reject(record.arg);
  8975. }
  8976. var previousPromise;
  8977. defineProperty(this, "_invoke", {
  8978. value: function value(method, arg) {
  8979. function callInvokeWithMethodAndArg() {
  8980. return new PromiseImpl(function (resolve, reject) {
  8981. invoke(method, arg, resolve, reject);
  8982. });
  8983. }
  8984. return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
  8985. }
  8986. });
  8987. }
  8988. function makeInvokeMethod(innerFn, self, context) {
  8989. var state = "suspendedStart";
  8990. return function (method, arg) {
  8991. if ("executing" === state) throw new Error("Generator is already running");
  8992. if ("completed" === state) {
  8993. if ("throw" === method) throw arg;
  8994. return doneResult();
  8995. }
  8996. for (context.method = method, context.arg = arg;;) {
  8997. var delegate = context.delegate;
  8998. if (delegate) {
  8999. var delegateResult = maybeInvokeDelegate(delegate, context);
  9000. if (delegateResult) {
  9001. if (delegateResult === ContinueSentinel) continue;
  9002. return delegateResult;
  9003. }
  9004. }
  9005. if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
  9006. if ("suspendedStart" === state) throw state = "completed", context.arg;
  9007. context.dispatchException(context.arg);
  9008. } else "return" === context.method && context.abrupt("return", context.arg);
  9009. state = "executing";
  9010. var record = tryCatch(innerFn, self, context);
  9011. if ("normal" === record.type) {
  9012. if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
  9013. return {
  9014. value: record.arg,
  9015. done: context.done
  9016. };
  9017. }
  9018. "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
  9019. }
  9020. };
  9021. }
  9022. function maybeInvokeDelegate(delegate, context) {
  9023. var methodName = context.method,
  9024. method = delegate.iterator[methodName];
  9025. if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
  9026. var record = tryCatch(method, delegate.iterator, context.arg);
  9027. if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
  9028. var info = record.arg;
  9029. return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
  9030. }
  9031. function pushTryEntry(locs) {
  9032. var entry = {
  9033. tryLoc: locs[0]
  9034. };
  9035. 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
  9036. }
  9037. function resetTryEntry(entry) {
  9038. var record = entry.completion || {};
  9039. record.type = "normal", delete record.arg, entry.completion = record;
  9040. }
  9041. function Context(tryLocsList) {
  9042. this.tryEntries = [{
  9043. tryLoc: "root"
  9044. }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
  9045. }
  9046. function values(iterable) {
  9047. if (iterable) {
  9048. var iteratorMethod = iterable[iteratorSymbol];
  9049. if (iteratorMethod) return iteratorMethod.call(iterable);
  9050. if ("function" == typeof iterable.next) return iterable;
  9051. if (!isNaN(iterable.length)) {
  9052. var i = -1,
  9053. next = function next() {
  9054. for (; ++i < iterable.length;) {
  9055. if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
  9056. }
  9057. return next.value = undefined, next.done = !0, next;
  9058. };
  9059. return next.next = next;
  9060. }
  9061. }
  9062. return {
  9063. next: doneResult
  9064. };
  9065. }
  9066. function doneResult() {
  9067. return {
  9068. value: undefined,
  9069. done: !0
  9070. };
  9071. }
  9072. return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
  9073. value: GeneratorFunctionPrototype,
  9074. configurable: !0
  9075. }), defineProperty(GeneratorFunctionPrototype, "constructor", {
  9076. value: GeneratorFunction,
  9077. configurable: !0
  9078. }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
  9079. var ctor = "function" == typeof genFun && genFun.constructor;
  9080. return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
  9081. }, exports.mark = function (genFun) {
  9082. return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
  9083. }, exports.awrap = function (arg) {
  9084. return {
  9085. __await: arg
  9086. };
  9087. }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
  9088. return this;
  9089. }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
  9090. void 0 === PromiseImpl && (PromiseImpl = Promise);
  9091. var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
  9092. return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
  9093. return result.done ? result.value : iter.next();
  9094. });
  9095. }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
  9096. return this;
  9097. }), define(Gp, "toString", function () {
  9098. return "[object Generator]";
  9099. }), exports.keys = function (val) {
  9100. var object = Object(val),
  9101. keys = [];
  9102. for (var key in object) {
  9103. keys.push(key);
  9104. }
  9105. return keys.reverse(), function next() {
  9106. for (; keys.length;) {
  9107. var key = keys.pop();
  9108. if (key in object) return next.value = key, next.done = !1, next;
  9109. }
  9110. return next.done = !0, next;
  9111. };
  9112. }, exports.values = values, Context.prototype = {
  9113. constructor: Context,
  9114. reset: function reset(skipTempReset) {
  9115. if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {
  9116. "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
  9117. }
  9118. },
  9119. stop: function stop() {
  9120. this.done = !0;
  9121. var rootRecord = this.tryEntries[0].completion;
  9122. if ("throw" === rootRecord.type) throw rootRecord.arg;
  9123. return this.rval;
  9124. },
  9125. dispatchException: function dispatchException(exception) {
  9126. if (this.done) throw exception;
  9127. var context = this;
  9128. function handle(loc, caught) {
  9129. return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
  9130. }
  9131. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9132. var entry = this.tryEntries[i],
  9133. record = entry.completion;
  9134. if ("root" === entry.tryLoc) return handle("end");
  9135. if (entry.tryLoc <= this.prev) {
  9136. var hasCatch = hasOwn.call(entry, "catchLoc"),
  9137. hasFinally = hasOwn.call(entry, "finallyLoc");
  9138. if (hasCatch && hasFinally) {
  9139. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  9140. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  9141. } else if (hasCatch) {
  9142. if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
  9143. } else {
  9144. if (!hasFinally) throw new Error("try statement without catch or finally");
  9145. if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
  9146. }
  9147. }
  9148. }
  9149. },
  9150. abrupt: function abrupt(type, arg) {
  9151. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9152. var entry = this.tryEntries[i];
  9153. if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
  9154. var finallyEntry = entry;
  9155. break;
  9156. }
  9157. }
  9158. finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
  9159. var record = finallyEntry ? finallyEntry.completion : {};
  9160. return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
  9161. },
  9162. complete: function complete(record, afterLoc) {
  9163. if ("throw" === record.type) throw record.arg;
  9164. return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
  9165. },
  9166. finish: function finish(finallyLoc) {
  9167. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9168. var entry = this.tryEntries[i];
  9169. if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
  9170. }
  9171. },
  9172. "catch": function _catch(tryLoc) {
  9173. for (var i = this.tryEntries.length - 1; i >= 0; --i) {
  9174. var entry = this.tryEntries[i];
  9175. if (entry.tryLoc === tryLoc) {
  9176. var record = entry.completion;
  9177. if ("throw" === record.type) {
  9178. var thrown = record.arg;
  9179. resetTryEntry(entry);
  9180. }
  9181. return thrown;
  9182. }
  9183. }
  9184. throw new Error("illegal catch attempt");
  9185. },
  9186. delegateYield: function delegateYield(iterable, resultName, nextLoc) {
  9187. return this.delegate = {
  9188. iterator: values(iterable),
  9189. resultName: resultName,
  9190. nextLoc: nextLoc
  9191. }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
  9192. }
  9193. }, exports;
  9194. }
  9195. module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9196. /***/ }),
  9197. /* 33 */
  9198. /*!*****************************************************************!*\
  9199. !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
  9200. \*****************************************************************/
  9201. /*! no static exports found */
  9202. /***/ (function(module, exports) {
  9203. function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
  9204. try {
  9205. var info = gen[key](arg);
  9206. var value = info.value;
  9207. } catch (error) {
  9208. reject(error);
  9209. return;
  9210. }
  9211. if (info.done) {
  9212. resolve(value);
  9213. } else {
  9214. Promise.resolve(value).then(_next, _throw);
  9215. }
  9216. }
  9217. function _asyncToGenerator(fn) {
  9218. return function () {
  9219. var self = this,
  9220. args = arguments;
  9221. return new Promise(function (resolve, reject) {
  9222. var gen = fn.apply(self, args);
  9223. function _next(value) {
  9224. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
  9225. }
  9226. function _throw(err) {
  9227. asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
  9228. }
  9229. _next(undefined);
  9230. });
  9231. };
  9232. }
  9233. module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
  9234. /***/ }),
  9235. /* 34 */
  9236. /*!***************************************************************************************************************!*\
  9237. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/auth.js ***!
  9238. \***************************************************************************************************************/
  9239. /*! no static exports found */
  9240. /***/ (function(module, exports, __webpack_require__) {
  9241. "use strict";
  9242. /* WEBPACK VAR INJECTION */(function(uni) {
  9243. Object.defineProperty(exports, "__esModule", {
  9244. value: true
  9245. });
  9246. exports.getToken = getToken;
  9247. exports.removeToken = removeToken;
  9248. exports.setToken = setToken;
  9249. var TokenKey = 'Admin-Token';
  9250. function getToken() {
  9251. return uni.getStorageSync(TokenKey);
  9252. }
  9253. function setToken(token) {
  9254. return uni.setStorageSync(TokenKey, token);
  9255. }
  9256. function removeToken() {
  9257. return uni.removeStorageSync(TokenKey);
  9258. }
  9259. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9260. /***/ }),
  9261. /* 35 */,
  9262. /* 36 */,
  9263. /* 37 */
  9264. /*!**********************************************************************************************************!*\
  9265. !*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js ***!
  9266. \**********************************************************************************************************/
  9267. /*! exports provided: default */
  9268. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  9269. "use strict";
  9270. __webpack_require__.r(__webpack_exports__);
  9271. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return normalizeComponent; });
  9272. /* globals __VUE_SSR_CONTEXT__ */
  9273. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  9274. // This module is a runtime utility for cleaner component module output and will
  9275. // be included in the final webpack user bundle.
  9276. function normalizeComponent (
  9277. scriptExports,
  9278. render,
  9279. staticRenderFns,
  9280. functionalTemplate,
  9281. injectStyles,
  9282. scopeId,
  9283. moduleIdentifier, /* server only */
  9284. shadowMode, /* vue-cli only */
  9285. components, // fixed by xxxxxx auto components
  9286. renderjs // fixed by xxxxxx renderjs
  9287. ) {
  9288. // Vue.extend constructor export interop
  9289. var options = typeof scriptExports === 'function'
  9290. ? scriptExports.options
  9291. : scriptExports
  9292. // fixed by xxxxxx auto components
  9293. if (components) {
  9294. if (!options.components) {
  9295. options.components = {}
  9296. }
  9297. var hasOwn = Object.prototype.hasOwnProperty
  9298. for (var name in components) {
  9299. if (hasOwn.call(components, name) && !hasOwn.call(options.components, name)) {
  9300. options.components[name] = components[name]
  9301. }
  9302. }
  9303. }
  9304. // fixed by xxxxxx renderjs
  9305. if (renderjs) {
  9306. if(typeof renderjs.beforeCreate === 'function'){
  9307. renderjs.beforeCreate = [renderjs.beforeCreate]
  9308. }
  9309. (renderjs.beforeCreate || (renderjs.beforeCreate = [])).unshift(function() {
  9310. this[renderjs.__module] = this
  9311. });
  9312. (options.mixins || (options.mixins = [])).push(renderjs)
  9313. }
  9314. // render functions
  9315. if (render) {
  9316. options.render = render
  9317. options.staticRenderFns = staticRenderFns
  9318. options._compiled = true
  9319. }
  9320. // functional template
  9321. if (functionalTemplate) {
  9322. options.functional = true
  9323. }
  9324. // scopedId
  9325. if (scopeId) {
  9326. options._scopeId = 'data-v-' + scopeId
  9327. }
  9328. var hook
  9329. if (moduleIdentifier) { // server build
  9330. hook = function (context) {
  9331. // 2.3 injection
  9332. context =
  9333. context || // cached call
  9334. (this.$vnode && this.$vnode.ssrContext) || // stateful
  9335. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  9336. // 2.2 with runInNewContext: true
  9337. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  9338. context = __VUE_SSR_CONTEXT__
  9339. }
  9340. // inject component styles
  9341. if (injectStyles) {
  9342. injectStyles.call(this, context)
  9343. }
  9344. // register component module identifier for async chunk inferrence
  9345. if (context && context._registeredComponents) {
  9346. context._registeredComponents.add(moduleIdentifier)
  9347. }
  9348. }
  9349. // used by ssr in case component is cached and beforeCreate
  9350. // never gets called
  9351. options._ssrRegister = hook
  9352. } else if (injectStyles) {
  9353. hook = shadowMode
  9354. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  9355. : injectStyles
  9356. }
  9357. if (hook) {
  9358. if (options.functional) {
  9359. // for template-only hot-reload because in that case the render fn doesn't
  9360. // go through the normalizer
  9361. options._injectStyles = hook
  9362. // register for functioal component in vue file
  9363. var originalRender = options.render
  9364. options.render = function renderWithStyleInjection (h, context) {
  9365. hook.call(context)
  9366. return originalRender(h, context)
  9367. }
  9368. } else {
  9369. // inject component registration as beforeCreate hook
  9370. var existing = options.beforeCreate
  9371. options.beforeCreate = existing
  9372. ? [].concat(existing, hook)
  9373. : [hook]
  9374. }
  9375. }
  9376. return {
  9377. exports: scriptExports,
  9378. options: options
  9379. }
  9380. }
  9381. /***/ }),
  9382. /* 38 */
  9383. /*!********************************************************************************************************************************!*\
  9384. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/index.js ***!
  9385. \********************************************************************************************************************************/
  9386. /*! no static exports found */
  9387. /***/ (function(module, exports, __webpack_require__) {
  9388. "use strict";
  9389. /* WEBPACK VAR INJECTION */(function(uni) {
  9390. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9391. Object.defineProperty(exports, "__esModule", {
  9392. value: true
  9393. });
  9394. exports.default = void 0;
  9395. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9396. var _mixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mixin.js */ 39));
  9397. var _mpMixin = _interopRequireDefault(__webpack_require__(/*! ./libs/mixin/mpMixin.js */ 40));
  9398. var _luchRequest = _interopRequireDefault(__webpack_require__(/*! ./libs/luch-request */ 41));
  9399. var _route = _interopRequireDefault(__webpack_require__(/*! ./libs/util/route.js */ 59));
  9400. var _colorGradient = _interopRequireDefault(__webpack_require__(/*! ./libs/function/colorGradient.js */ 60));
  9401. var _test = _interopRequireDefault(__webpack_require__(/*! ./libs/function/test.js */ 61));
  9402. var _debounce = _interopRequireDefault(__webpack_require__(/*! ./libs/function/debounce.js */ 62));
  9403. var _throttle = _interopRequireDefault(__webpack_require__(/*! ./libs/function/throttle.js */ 63));
  9404. var _index = _interopRequireDefault(__webpack_require__(/*! ./libs/function/index.js */ 64));
  9405. var _config = _interopRequireDefault(__webpack_require__(/*! ./libs/config/config.js */ 67));
  9406. var _props = _interopRequireDefault(__webpack_require__(/*! ./libs/config/props.js */ 68));
  9407. var _zIndex = _interopRequireDefault(__webpack_require__(/*! ./libs/config/zIndex.js */ 158));
  9408. var _color = _interopRequireDefault(__webpack_require__(/*! ./libs/config/color.js */ 116));
  9409. var _platform = _interopRequireDefault(__webpack_require__(/*! ./libs/function/platform */ 159));
  9410. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  9411. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  9412. // 看到此报错,是因为没有配置vue.config.js的【transpileDependencies】,详见:https://www.uviewui.com/components/npmSetting.html#_5-cli模式额外配置
  9413. var pleaseSetTranspileDependencies = {},
  9414. babelTest = pleaseSetTranspileDependencies === null || pleaseSetTranspileDependencies === void 0 ? void 0 : pleaseSetTranspileDependencies.test;
  9415. // 引入全局mixin
  9416. var $u = _objectSpread(_objectSpread({
  9417. route: _route.default,
  9418. date: _index.default.timeFormat,
  9419. // 另名date
  9420. colorGradient: _colorGradient.default.colorGradient,
  9421. hexToRgb: _colorGradient.default.hexToRgb,
  9422. rgbToHex: _colorGradient.default.rgbToHex,
  9423. colorToRgba: _colorGradient.default.colorToRgba,
  9424. test: _test.default,
  9425. type: ['primary', 'success', 'error', 'warning', 'info'],
  9426. http: new _luchRequest.default(),
  9427. config: _config.default,
  9428. // uView配置信息相关,比如版本号
  9429. zIndex: _zIndex.default,
  9430. debounce: _debounce.default,
  9431. throttle: _throttle.default,
  9432. mixin: _mixin.default,
  9433. mpMixin: _mpMixin.default,
  9434. props: _props.default
  9435. }, _index.default), {}, {
  9436. color: _color.default,
  9437. platform: _platform.default
  9438. });
  9439. // $u挂载到uni对象上
  9440. uni.$u = $u;
  9441. var install = function install(Vue) {
  9442. // 时间格式化,同时两个名称,date和timeFormat
  9443. Vue.filter('timeFormat', function (timestamp, format) {
  9444. return uni.$u.timeFormat(timestamp, format);
  9445. });
  9446. Vue.filter('date', function (timestamp, format) {
  9447. return uni.$u.timeFormat(timestamp, format);
  9448. });
  9449. // 将多久以前的方法,注入到全局过滤器
  9450. Vue.filter('timeFrom', function (timestamp, format) {
  9451. return uni.$u.timeFrom(timestamp, format);
  9452. });
  9453. // 同时挂载到uni和Vue.prototype中
  9454. // 只有vue,挂载到Vue.prototype才有意义,因为nvue中全局Vue.prototype和Vue.mixin是无效的
  9455. Vue.prototype.$u = $u;
  9456. Vue.mixin(_mixin.default);
  9457. };
  9458. var _default = {
  9459. install: install
  9460. };
  9461. exports.default = _default;
  9462. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9463. /***/ }),
  9464. /* 39 */
  9465. /*!*******************************************************************************************************************************************!*\
  9466. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/mixin.js ***!
  9467. \*******************************************************************************************************************************************/
  9468. /*! no static exports found */
  9469. /***/ (function(module, exports, __webpack_require__) {
  9470. /* WEBPACK VAR INJECTION */(function(uni) {module.exports = {
  9471. // 定义每个组件都可能需要用到的外部样式以及类名
  9472. props: {
  9473. // 每个组件都有的父组件传递的样式,可以为字符串或者对象形式
  9474. customStyle: {
  9475. type: [Object, String],
  9476. default: function _default() {
  9477. return {};
  9478. }
  9479. },
  9480. customClass: {
  9481. type: String,
  9482. default: ''
  9483. },
  9484. // 跳转的页面路径
  9485. url: {
  9486. type: String,
  9487. default: ''
  9488. },
  9489. // 页面跳转的类型
  9490. linkType: {
  9491. type: String,
  9492. default: 'navigateTo'
  9493. }
  9494. },
  9495. data: function data() {
  9496. return {};
  9497. },
  9498. onLoad: function onLoad() {
  9499. // getRect挂载到$u上,因为这方法需要使用in(this),所以无法把它独立成一个单独的文件导出
  9500. this.$u.getRect = this.$uGetRect;
  9501. },
  9502. created: function created() {
  9503. // 组件当中,只有created声明周期,为了能在组件使用,故也在created中将方法挂载到$u
  9504. this.$u.getRect = this.$uGetRect;
  9505. },
  9506. computed: {
  9507. // 在2.x版本中,将会把$u挂载到uni对象下,导致在模板中无法使用uni.$u.xxx形式
  9508. // 所以这里通过computed计算属性将其附加到this.$u上,就可以在模板或者js中使用uni.$u.xxx
  9509. // 只在nvue环境通过此方式引入完整的$u,其他平台会出现性能问题,非nvue则按需引入(主要原因是props过大)
  9510. $u: function $u() {
  9511. // 在非nvue端,移除props,http,mixin等对象,避免在小程序setData时数据过大影响性能
  9512. return uni.$u.deepMerge(uni.$u, {
  9513. props: undefined,
  9514. http: undefined,
  9515. mixin: undefined
  9516. });
  9517. },
  9518. /**
  9519. * 生成bem规则类名
  9520. * 由于微信小程序,H5,nvue之间绑定class的差异,无法通过:class="[bem()]"的形式进行同用
  9521. * 故采用如下折中做法,最后返回的是数组(一般平台)或字符串(支付宝和字节跳动平台),类似['a', 'b', 'c']或'a b c'的形式
  9522. * @param {String} name 组件名称
  9523. * @param {Array} fixed 一直会存在的类名
  9524. * @param {Array} change 会根据变量值为true或者false而出现或者隐藏的类名
  9525. * @returns {Array|string}
  9526. */
  9527. bem: function bem() {
  9528. return function (name, fixed, change) {
  9529. var _this = this;
  9530. // 类名前缀
  9531. var prefix = "u-".concat(name, "--");
  9532. var classes = {};
  9533. if (fixed) {
  9534. fixed.map(function (item) {
  9535. // 这里的类名,会一直存在
  9536. classes[prefix + _this[item]] = true;
  9537. });
  9538. }
  9539. if (change) {
  9540. change.map(function (item) {
  9541. // 这里的类名,会根据this[item]的值为true或者false,而进行添加或者移除某一个类
  9542. _this[item] ? classes[prefix + item] = _this[item] : delete classes[prefix + item];
  9543. });
  9544. }
  9545. return Object.keys(classes);
  9546. // 支付宝,头条小程序无法动态绑定一个数组类名,否则解析出来的结果会带有",",而导致失效
  9547. };
  9548. }
  9549. },
  9550. methods: {
  9551. // 跳转某一个页面
  9552. openPage: function openPage() {
  9553. var urlKey = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'url';
  9554. var url = this[urlKey];
  9555. if (url) {
  9556. // 执行类似uni.navigateTo的方法
  9557. uni[this.linkType]({
  9558. url: url
  9559. });
  9560. }
  9561. },
  9562. // 查询节点信息
  9563. // 目前此方法在支付宝小程序中无法获取组件跟接点的尺寸,为支付宝的bug(2020-07-21)
  9564. // 解决办法为在组件根部再套一个没有任何作用的view元素
  9565. $uGetRect: function $uGetRect(selector, all) {
  9566. var _this2 = this;
  9567. return new Promise(function (resolve) {
  9568. uni.createSelectorQuery().in(_this2)[all ? 'selectAll' : 'select'](selector).boundingClientRect(function (rect) {
  9569. if (all && Array.isArray(rect) && rect.length) {
  9570. resolve(rect);
  9571. }
  9572. if (!all && rect) {
  9573. resolve(rect);
  9574. }
  9575. }).exec();
  9576. });
  9577. },
  9578. getParentData: function getParentData() {
  9579. var _this3 = this;
  9580. var parentName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  9581. // 避免在created中去定义parent变量
  9582. if (!this.parent) this.parent = {};
  9583. // 这里的本质原理是,通过获取父组件实例(也即类似u-radio的父组件u-radio-group的this)
  9584. // 将父组件this中对应的参数,赋值给本组件(u-radio的this)的parentData对象中对应的属性
  9585. // 之所以需要这么做,是因为所有端中,头条小程序不支持通过this.parent.xxx去监听父组件参数的变化
  9586. // 此处并不会自动更新子组件的数据,而是依赖父组件u-radio-group去监听data的变化,手动调用更新子组件的方法去重新获取
  9587. this.parent = uni.$u.$parent.call(this, parentName);
  9588. if (this.parent.children) {
  9589. // 如果父组件的children不存在本组件的实例,才将本实例添加到父组件的children中
  9590. this.parent.children.indexOf(this) === -1 && this.parent.children.push(this);
  9591. }
  9592. if (this.parent && this.parentData) {
  9593. // 历遍parentData中的属性,将parent中的同名属性赋值给parentData
  9594. Object.keys(this.parentData).map(function (key) {
  9595. _this3.parentData[key] = _this3.parent[key];
  9596. });
  9597. }
  9598. },
  9599. // 阻止事件冒泡
  9600. preventEvent: function preventEvent(e) {
  9601. e && typeof e.stopPropagation === 'function' && e.stopPropagation();
  9602. },
  9603. // 空操作
  9604. noop: function noop(e) {
  9605. this.preventEvent(e);
  9606. }
  9607. },
  9608. onReachBottom: function onReachBottom() {
  9609. uni.$emit('uOnReachBottom');
  9610. },
  9611. beforeDestroy: function beforeDestroy() {
  9612. var _this4 = this;
  9613. // 判断当前页面是否存在parent和chldren,一般在checkbox和checkbox-group父子联动的场景会有此情况
  9614. // 组件销毁时,移除子组件在父组件children数组中的实例,释放资源,避免数据混乱
  9615. if (this.parent && uni.$u.test.array(this.parent.children)) {
  9616. // 组件销毁时,移除父组件中的children数组中对应的实例
  9617. var childrenList = this.parent.children;
  9618. childrenList.map(function (child, index) {
  9619. // 如果相等,则移除
  9620. if (child === _this4) {
  9621. childrenList.splice(index, 1);
  9622. }
  9623. });
  9624. }
  9625. }
  9626. };
  9627. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9628. /***/ }),
  9629. /* 40 */
  9630. /*!*********************************************************************************************************************************************!*\
  9631. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/mpMixin.js ***!
  9632. \*********************************************************************************************************************************************/
  9633. /*! no static exports found */
  9634. /***/ (function(module, exports, __webpack_require__) {
  9635. "use strict";
  9636. Object.defineProperty(exports, "__esModule", {
  9637. value: true
  9638. });
  9639. exports.default = void 0;
  9640. var _default = {
  9641. // 将自定义节点设置成虚拟的,更加接近Vue组件的表现,能更好的使用flex属性
  9642. options: {
  9643. virtualHost: true
  9644. }
  9645. };
  9646. exports.default = _default;
  9647. /***/ }),
  9648. /* 41 */
  9649. /*!**************************************************************************************************************************************************!*\
  9650. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/index.js ***!
  9651. \**************************************************************************************************************************************************/
  9652. /*! no static exports found */
  9653. /***/ (function(module, exports, __webpack_require__) {
  9654. "use strict";
  9655. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9656. Object.defineProperty(exports, "__esModule", {
  9657. value: true
  9658. });
  9659. exports.default = void 0;
  9660. var _Request = _interopRequireDefault(__webpack_require__(/*! ./core/Request */ 42));
  9661. var _default = _Request.default;
  9662. exports.default = _default;
  9663. /***/ }),
  9664. /* 42 */
  9665. /*!*********************************************************************************************************************************************************!*\
  9666. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/Request.js ***!
  9667. \*********************************************************************************************************************************************************/
  9668. /*! no static exports found */
  9669. /***/ (function(module, exports, __webpack_require__) {
  9670. "use strict";
  9671. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9672. Object.defineProperty(exports, "__esModule", {
  9673. value: true
  9674. });
  9675. exports.default = void 0;
  9676. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9677. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  9678. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  9679. var _dispatchRequest = _interopRequireDefault(__webpack_require__(/*! ./dispatchRequest */ 43));
  9680. var _InterceptorManager = _interopRequireDefault(__webpack_require__(/*! ./InterceptorManager */ 51));
  9681. var _mergeConfig = _interopRequireDefault(__webpack_require__(/*! ./mergeConfig */ 52));
  9682. var _defaults = _interopRequireDefault(__webpack_require__(/*! ./defaults */ 53));
  9683. var _utils = __webpack_require__(/*! ../utils */ 46);
  9684. var _clone = _interopRequireDefault(__webpack_require__(/*! ../utils/clone */ 54));
  9685. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  9686. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  9687. var Request = /*#__PURE__*/function () {
  9688. /**
  9689. * @param {Object} arg - 全局配置
  9690. * @param {String} arg.baseURL - 全局根路径
  9691. * @param {Object} arg.header - 全局header
  9692. * @param {String} arg.method = [GET|POST|PUT|DELETE|CONNECT|HEAD|OPTIONS|TRACE] - 全局默认请求方式
  9693. * @param {String} arg.dataType = [json] - 全局默认的dataType
  9694. * @param {String} arg.responseType = [text|arraybuffer] - 全局默认的responseType。支付宝小程序不支持
  9695. * @param {Object} arg.custom - 全局默认的自定义参数
  9696. * @param {Number} arg.timeout - 全局默认的超时时间,单位 ms。默认60000。H5(HBuilderX 2.9.9+)、APP(HBuilderX 2.9.9+)、微信小程序(2.10.0)、支付宝小程序
  9697. * @param {Boolean} arg.sslVerify - 全局默认的是否验证 ssl 证书。默认true.仅App安卓端支持(HBuilderX 2.3.3+)
  9698. * @param {Boolean} arg.withCredentials - 全局默认的跨域请求时是否携带凭证(cookies)。默认false。仅H5支持(HBuilderX 2.6.15+)
  9699. * @param {Boolean} arg.firstIpv4 - 全DNS解析时优先使用ipv4。默认false。仅 App-Android 支持 (HBuilderX 2.8.0+)
  9700. * @param {Function(statusCode):Boolean} arg.validateStatus - 全局默认的自定义验证器。默认statusCode >= 200 && statusCode < 300
  9701. */
  9702. function Request() {
  9703. var arg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  9704. (0, _classCallCheck2.default)(this, Request);
  9705. if (!(0, _utils.isPlainObject)(arg)) {
  9706. arg = {};
  9707. console.warn('设置全局参数必须接收一个Object');
  9708. }
  9709. this.config = (0, _clone.default)(_objectSpread(_objectSpread({}, _defaults.default), arg));
  9710. this.interceptors = {
  9711. request: new _InterceptorManager.default(),
  9712. response: new _InterceptorManager.default()
  9713. };
  9714. }
  9715. /**
  9716. * @Function
  9717. * @param {Request~setConfigCallback} f - 设置全局默认配置
  9718. */
  9719. (0, _createClass2.default)(Request, [{
  9720. key: "setConfig",
  9721. value: function setConfig(f) {
  9722. this.config = f(this.config);
  9723. }
  9724. }, {
  9725. key: "middleware",
  9726. value: function middleware(config) {
  9727. config = (0, _mergeConfig.default)(this.config, config);
  9728. var chain = [_dispatchRequest.default, undefined];
  9729. var promise = Promise.resolve(config);
  9730. this.interceptors.request.forEach(function (interceptor) {
  9731. chain.unshift(interceptor.fulfilled, interceptor.rejected);
  9732. });
  9733. this.interceptors.response.forEach(function (interceptor) {
  9734. chain.push(interceptor.fulfilled, interceptor.rejected);
  9735. });
  9736. while (chain.length) {
  9737. promise = promise.then(chain.shift(), chain.shift());
  9738. }
  9739. return promise;
  9740. }
  9741. /**
  9742. * @Function
  9743. * @param {Object} config - 请求配置项
  9744. * @prop {String} options.url - 请求路径
  9745. * @prop {Object} options.data - 请求参数
  9746. * @prop {Object} [options.responseType = config.responseType] [text|arraybuffer] - 响应的数据类型
  9747. * @prop {Object} [options.dataType = config.dataType] - 如果设为 json,会尝试对返回的数据做一次 JSON.parse
  9748. * @prop {Object} [options.header = config.header] - 请求header
  9749. * @prop {Object} [options.method = config.method] - 请求方法
  9750. * @returns {Promise<unknown>}
  9751. */
  9752. }, {
  9753. key: "request",
  9754. value: function request() {
  9755. var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  9756. return this.middleware(config);
  9757. }
  9758. }, {
  9759. key: "get",
  9760. value: function get(url) {
  9761. var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  9762. return this.middleware(_objectSpread({
  9763. url: url,
  9764. method: 'GET'
  9765. }, options));
  9766. }
  9767. }, {
  9768. key: "post",
  9769. value: function post(url, data) {
  9770. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9771. return this.middleware(_objectSpread({
  9772. url: url,
  9773. data: data,
  9774. method: 'POST'
  9775. }, options));
  9776. }
  9777. }, {
  9778. key: "put",
  9779. value: function put(url, data) {
  9780. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9781. return this.middleware(_objectSpread({
  9782. url: url,
  9783. data: data,
  9784. method: 'PUT'
  9785. }, options));
  9786. }
  9787. }, {
  9788. key: "delete",
  9789. value: function _delete(url, data) {
  9790. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9791. return this.middleware(_objectSpread({
  9792. url: url,
  9793. data: data,
  9794. method: 'DELETE'
  9795. }, options));
  9796. }
  9797. }, {
  9798. key: "connect",
  9799. value: function connect(url, data) {
  9800. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9801. return this.middleware(_objectSpread({
  9802. url: url,
  9803. data: data,
  9804. method: 'CONNECT'
  9805. }, options));
  9806. }
  9807. }, {
  9808. key: "head",
  9809. value: function head(url, data) {
  9810. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9811. return this.middleware(_objectSpread({
  9812. url: url,
  9813. data: data,
  9814. method: 'HEAD'
  9815. }, options));
  9816. }
  9817. }, {
  9818. key: "options",
  9819. value: function options(url, data) {
  9820. var _options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9821. return this.middleware(_objectSpread({
  9822. url: url,
  9823. data: data,
  9824. method: 'OPTIONS'
  9825. }, _options));
  9826. }
  9827. }, {
  9828. key: "trace",
  9829. value: function trace(url, data) {
  9830. var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
  9831. return this.middleware(_objectSpread({
  9832. url: url,
  9833. data: data,
  9834. method: 'TRACE'
  9835. }, options));
  9836. }
  9837. }, {
  9838. key: "upload",
  9839. value: function upload(url) {
  9840. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  9841. config.url = url;
  9842. config.method = 'UPLOAD';
  9843. return this.middleware(config);
  9844. }
  9845. }, {
  9846. key: "download",
  9847. value: function download(url) {
  9848. var config = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  9849. config.url = url;
  9850. config.method = 'DOWNLOAD';
  9851. return this.middleware(config);
  9852. }
  9853. }]);
  9854. return Request;
  9855. }();
  9856. /**
  9857. * setConfig回调
  9858. * @return {Object} - 返回操作后的config
  9859. * @callback Request~setConfigCallback
  9860. * @param {Object} config - 全局默认config
  9861. */
  9862. exports.default = Request;
  9863. /***/ }),
  9864. /* 43 */
  9865. /*!*****************************************************************************************************************************************************************!*\
  9866. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/dispatchRequest.js ***!
  9867. \*****************************************************************************************************************************************************************/
  9868. /*! no static exports found */
  9869. /***/ (function(module, exports, __webpack_require__) {
  9870. "use strict";
  9871. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9872. Object.defineProperty(exports, "__esModule", {
  9873. value: true
  9874. });
  9875. exports.default = void 0;
  9876. var _index = _interopRequireDefault(__webpack_require__(/*! ../adapters/index */ 44));
  9877. var _default = function _default(config) {
  9878. return (0, _index.default)(config);
  9879. };
  9880. exports.default = _default;
  9881. /***/ }),
  9882. /* 44 */
  9883. /*!***********************************************************************************************************************************************************!*\
  9884. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/adapters/index.js ***!
  9885. \***********************************************************************************************************************************************************/
  9886. /*! no static exports found */
  9887. /***/ (function(module, exports, __webpack_require__) {
  9888. "use strict";
  9889. /* WEBPACK VAR INJECTION */(function(uni) {
  9890. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  9891. Object.defineProperty(exports, "__esModule", {
  9892. value: true
  9893. });
  9894. exports.default = void 0;
  9895. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  9896. var _buildURL = _interopRequireDefault(__webpack_require__(/*! ../helpers/buildURL */ 45));
  9897. var _buildFullPath = _interopRequireDefault(__webpack_require__(/*! ../core/buildFullPath */ 47));
  9898. var _settle = _interopRequireDefault(__webpack_require__(/*! ../core/settle */ 50));
  9899. var _utils = __webpack_require__(/*! ../utils */ 46);
  9900. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  9901. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  9902. /**
  9903. * 返回可选值存在的配置
  9904. * @param {Array} keys - 可选值数组
  9905. * @param {Object} config2 - 配置
  9906. * @return {{}} - 存在的配置项
  9907. */
  9908. var mergeKeys = function mergeKeys(keys, config2) {
  9909. var config = {};
  9910. keys.forEach(function (prop) {
  9911. if (!(0, _utils.isUndefined)(config2[prop])) {
  9912. config[prop] = config2[prop];
  9913. }
  9914. });
  9915. return config;
  9916. };
  9917. var _default = function _default(config) {
  9918. return new Promise(function (resolve, reject) {
  9919. var fullPath = (0, _buildURL.default)((0, _buildFullPath.default)(config.baseURL, config.url), config.params);
  9920. var _config = {
  9921. url: fullPath,
  9922. header: config.header,
  9923. complete: function complete(response) {
  9924. config.fullPath = fullPath;
  9925. response.config = config;
  9926. try {
  9927. // 对可能字符串不是json 的情况容错
  9928. if (typeof response.data === 'string') {
  9929. response.data = JSON.parse(response.data);
  9930. }
  9931. // eslint-disable-next-line no-empty
  9932. } catch (e) {}
  9933. (0, _settle.default)(resolve, reject, response);
  9934. }
  9935. };
  9936. var requestTask;
  9937. if (config.method === 'UPLOAD') {
  9938. delete _config.header['content-type'];
  9939. delete _config.header['Content-Type'];
  9940. var otherConfig = {
  9941. filePath: config.filePath,
  9942. name: config.name
  9943. };
  9944. var optionalKeys = ['formData'];
  9945. requestTask = uni.uploadFile(_objectSpread(_objectSpread(_objectSpread({}, _config), otherConfig), mergeKeys(optionalKeys, config)));
  9946. } else if (config.method === 'DOWNLOAD') {
  9947. requestTask = uni.downloadFile(_config);
  9948. } else {
  9949. var _optionalKeys = ['data', 'method', 'timeout', 'dataType', 'responseType'];
  9950. requestTask = uni.request(_objectSpread(_objectSpread({}, _config), mergeKeys(_optionalKeys, config)));
  9951. }
  9952. if (config.getTask) {
  9953. config.getTask(requestTask, config);
  9954. }
  9955. });
  9956. };
  9957. exports.default = _default;
  9958. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  9959. /***/ }),
  9960. /* 45 */
  9961. /*!*************************************************************************************************************************************************************!*\
  9962. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/helpers/buildURL.js ***!
  9963. \*************************************************************************************************************************************************************/
  9964. /*! no static exports found */
  9965. /***/ (function(module, exports, __webpack_require__) {
  9966. "use strict";
  9967. var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  9968. Object.defineProperty(exports, "__esModule", {
  9969. value: true
  9970. });
  9971. exports.default = buildURL;
  9972. var utils = _interopRequireWildcard(__webpack_require__(/*! ../utils */ 46));
  9973. function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
  9974. function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
  9975. function encode(val) {
  9976. return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
  9977. }
  9978. /**
  9979. * Build a URL by appending params to the end
  9980. *
  9981. * @param {string} url The base of the url (e.g., http://www.google.com)
  9982. * @param {object} [params] The params to be appended
  9983. * @returns {string} The formatted url
  9984. */
  9985. function buildURL(url, params) {
  9986. /* eslint no-param-reassign:0 */
  9987. if (!params) {
  9988. return url;
  9989. }
  9990. var serializedParams;
  9991. if (utils.isURLSearchParams(params)) {
  9992. serializedParams = params.toString();
  9993. } else {
  9994. var parts = [];
  9995. utils.forEach(params, function (val, key) {
  9996. if (val === null || typeof val === 'undefined') {
  9997. return;
  9998. }
  9999. if (utils.isArray(val)) {
  10000. key = "".concat(key, "[]");
  10001. } else {
  10002. val = [val];
  10003. }
  10004. utils.forEach(val, function (v) {
  10005. if (utils.isDate(v)) {
  10006. v = v.toISOString();
  10007. } else if (utils.isObject(v)) {
  10008. v = JSON.stringify(v);
  10009. }
  10010. parts.push("".concat(encode(key), "=").concat(encode(v)));
  10011. });
  10012. });
  10013. serializedParams = parts.join('&');
  10014. }
  10015. if (serializedParams) {
  10016. var hashmarkIndex = url.indexOf('#');
  10017. if (hashmarkIndex !== -1) {
  10018. url = url.slice(0, hashmarkIndex);
  10019. }
  10020. url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
  10021. }
  10022. return url;
  10023. }
  10024. /***/ }),
  10025. /* 46 */
  10026. /*!**************************************************************************************************************************************************!*\
  10027. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/utils.js ***!
  10028. \**************************************************************************************************************************************************/
  10029. /*! no static exports found */
  10030. /***/ (function(module, exports, __webpack_require__) {
  10031. "use strict";
  10032. // utils is a library of generic helper functions non-specific to axios
  10033. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10034. Object.defineProperty(exports, "__esModule", {
  10035. value: true
  10036. });
  10037. exports.deepMerge = deepMerge;
  10038. exports.forEach = forEach;
  10039. exports.isArray = isArray;
  10040. exports.isBoolean = isBoolean;
  10041. exports.isDate = isDate;
  10042. exports.isObject = isObject;
  10043. exports.isPlainObject = isPlainObject;
  10044. exports.isURLSearchParams = isURLSearchParams;
  10045. exports.isUndefined = isUndefined;
  10046. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  10047. var toString = Object.prototype.toString;
  10048. /**
  10049. * Determine if a value is an Array
  10050. *
  10051. * @param {Object} val The value to test
  10052. * @returns {boolean} True if value is an Array, otherwise false
  10053. */
  10054. function isArray(val) {
  10055. return toString.call(val) === '[object Array]';
  10056. }
  10057. /**
  10058. * Determine if a value is an Object
  10059. *
  10060. * @param {Object} val The value to test
  10061. * @returns {boolean} True if value is an Object, otherwise false
  10062. */
  10063. function isObject(val) {
  10064. return val !== null && (0, _typeof2.default)(val) === 'object';
  10065. }
  10066. /**
  10067. * Determine if a value is a Date
  10068. *
  10069. * @param {Object} val The value to test
  10070. * @returns {boolean} True if value is a Date, otherwise false
  10071. */
  10072. function isDate(val) {
  10073. return toString.call(val) === '[object Date]';
  10074. }
  10075. /**
  10076. * Determine if a value is a URLSearchParams object
  10077. *
  10078. * @param {Object} val The value to test
  10079. * @returns {boolean} True if value is a URLSearchParams object, otherwise false
  10080. */
  10081. function isURLSearchParams(val) {
  10082. return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
  10083. }
  10084. /**
  10085. * Iterate over an Array or an Object invoking a function for each item.
  10086. *
  10087. * If `obj` is an Array callback will be called passing
  10088. * the value, index, and complete array for each item.
  10089. *
  10090. * If 'obj' is an Object callback will be called passing
  10091. * the value, key, and complete object for each property.
  10092. *
  10093. * @param {Object|Array} obj The object to iterate
  10094. * @param {Function} fn The callback to invoke for each item
  10095. */
  10096. function forEach(obj, fn) {
  10097. // Don't bother if no value provided
  10098. if (obj === null || typeof obj === 'undefined') {
  10099. return;
  10100. }
  10101. // Force an array if not already something iterable
  10102. if ((0, _typeof2.default)(obj) !== 'object') {
  10103. /* eslint no-param-reassign:0 */
  10104. obj = [obj];
  10105. }
  10106. if (isArray(obj)) {
  10107. // Iterate over array values
  10108. for (var i = 0, l = obj.length; i < l; i++) {
  10109. fn.call(null, obj[i], i, obj);
  10110. }
  10111. } else {
  10112. // Iterate over object keys
  10113. for (var key in obj) {
  10114. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  10115. fn.call(null, obj[key], key, obj);
  10116. }
  10117. }
  10118. }
  10119. }
  10120. /**
  10121. * 是否为boolean 值
  10122. * @param val
  10123. * @returns {boolean}
  10124. */
  10125. function isBoolean(val) {
  10126. return typeof val === 'boolean';
  10127. }
  10128. /**
  10129. * 是否为真正的对象{} new Object
  10130. * @param {any} obj - 检测的对象
  10131. * @returns {boolean}
  10132. */
  10133. function isPlainObject(obj) {
  10134. return Object.prototype.toString.call(obj) === '[object Object]';
  10135. }
  10136. /**
  10137. * Function equal to merge with the difference being that no reference
  10138. * to original objects is kept.
  10139. *
  10140. * @see merge
  10141. * @param {Object} obj1 Object to merge
  10142. * @returns {Object} Result of all merge properties
  10143. */
  10144. function deepMerge( /* obj1, obj2, obj3, ... */
  10145. ) {
  10146. var result = {};
  10147. function assignValue(val, key) {
  10148. if ((0, _typeof2.default)(result[key]) === 'object' && (0, _typeof2.default)(val) === 'object') {
  10149. result[key] = deepMerge(result[key], val);
  10150. } else if ((0, _typeof2.default)(val) === 'object') {
  10151. result[key] = deepMerge({}, val);
  10152. } else {
  10153. result[key] = val;
  10154. }
  10155. }
  10156. for (var i = 0, l = arguments.length; i < l; i++) {
  10157. forEach(arguments[i], assignValue);
  10158. }
  10159. return result;
  10160. }
  10161. function isUndefined(val) {
  10162. return typeof val === 'undefined';
  10163. }
  10164. /***/ }),
  10165. /* 47 */
  10166. /*!***************************************************************************************************************************************************************!*\
  10167. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/buildFullPath.js ***!
  10168. \***************************************************************************************************************************************************************/
  10169. /*! no static exports found */
  10170. /***/ (function(module, exports, __webpack_require__) {
  10171. "use strict";
  10172. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10173. Object.defineProperty(exports, "__esModule", {
  10174. value: true
  10175. });
  10176. exports.default = buildFullPath;
  10177. var _isAbsoluteURL = _interopRequireDefault(__webpack_require__(/*! ../helpers/isAbsoluteURL */ 48));
  10178. var _combineURLs = _interopRequireDefault(__webpack_require__(/*! ../helpers/combineURLs */ 49));
  10179. /**
  10180. * Creates a new URL by combining the baseURL with the requestedURL,
  10181. * only when the requestedURL is not already an absolute URL.
  10182. * If the requestURL is absolute, this function returns the requestedURL untouched.
  10183. *
  10184. * @param {string} baseURL The base URL
  10185. * @param {string} requestedURL Absolute or relative URL to combine
  10186. * @returns {string} The combined full path
  10187. */
  10188. function buildFullPath(baseURL, requestedURL) {
  10189. if (baseURL && !(0, _isAbsoluteURL.default)(requestedURL)) {
  10190. return (0, _combineURLs.default)(baseURL, requestedURL);
  10191. }
  10192. return requestedURL;
  10193. }
  10194. /***/ }),
  10195. /* 48 */
  10196. /*!******************************************************************************************************************************************************************!*\
  10197. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/helpers/isAbsoluteURL.js ***!
  10198. \******************************************************************************************************************************************************************/
  10199. /*! no static exports found */
  10200. /***/ (function(module, exports, __webpack_require__) {
  10201. "use strict";
  10202. /**
  10203. * Determines whether the specified URL is absolute
  10204. *
  10205. * @param {string} url The URL to test
  10206. * @returns {boolean} True if the specified URL is absolute, otherwise false
  10207. */
  10208. Object.defineProperty(exports, "__esModule", {
  10209. value: true
  10210. });
  10211. exports.default = isAbsoluteURL;
  10212. function isAbsoluteURL(url) {
  10213. // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
  10214. // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
  10215. // by any combination of letters, digits, plus, period, or hyphen.
  10216. return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
  10217. }
  10218. /***/ }),
  10219. /* 49 */
  10220. /*!****************************************************************************************************************************************************************!*\
  10221. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/helpers/combineURLs.js ***!
  10222. \****************************************************************************************************************************************************************/
  10223. /*! no static exports found */
  10224. /***/ (function(module, exports, __webpack_require__) {
  10225. "use strict";
  10226. /**
  10227. * Creates a new URL by combining the specified URLs
  10228. *
  10229. * @param {string} baseURL The base URL
  10230. * @param {string} relativeURL The relative URL
  10231. * @returns {string} The combined URL
  10232. */
  10233. Object.defineProperty(exports, "__esModule", {
  10234. value: true
  10235. });
  10236. exports.default = combineURLs;
  10237. function combineURLs(baseURL, relativeURL) {
  10238. return relativeURL ? "".concat(baseURL.replace(/\/+$/, ''), "/").concat(relativeURL.replace(/^\/+/, '')) : baseURL;
  10239. }
  10240. /***/ }),
  10241. /* 50 */
  10242. /*!********************************************************************************************************************************************************!*\
  10243. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/settle.js ***!
  10244. \********************************************************************************************************************************************************/
  10245. /*! no static exports found */
  10246. /***/ (function(module, exports, __webpack_require__) {
  10247. "use strict";
  10248. Object.defineProperty(exports, "__esModule", {
  10249. value: true
  10250. });
  10251. exports.default = settle;
  10252. /**
  10253. * Resolve or reject a Promise based on response status.
  10254. *
  10255. * @param {Function} resolve A function that resolves the promise.
  10256. * @param {Function} reject A function that rejects the promise.
  10257. * @param {object} response The response.
  10258. */
  10259. function settle(resolve, reject, response) {
  10260. var validateStatus = response.config.validateStatus;
  10261. var status = response.statusCode;
  10262. if (status && (!validateStatus || validateStatus(status))) {
  10263. resolve(response);
  10264. } else {
  10265. reject(response);
  10266. }
  10267. }
  10268. /***/ }),
  10269. /* 51 */
  10270. /*!********************************************************************************************************************************************************************!*\
  10271. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/InterceptorManager.js ***!
  10272. \********************************************************************************************************************************************************************/
  10273. /*! no static exports found */
  10274. /***/ (function(module, exports, __webpack_require__) {
  10275. "use strict";
  10276. Object.defineProperty(exports, "__esModule", {
  10277. value: true
  10278. });
  10279. exports.default = void 0;
  10280. function InterceptorManager() {
  10281. this.handlers = [];
  10282. }
  10283. /**
  10284. * Add a new interceptor to the stack
  10285. *
  10286. * @param {Function} fulfilled The function to handle `then` for a `Promise`
  10287. * @param {Function} rejected The function to handle `reject` for a `Promise`
  10288. *
  10289. * @return {Number} An ID used to remove interceptor later
  10290. */
  10291. InterceptorManager.prototype.use = function use(fulfilled, rejected) {
  10292. this.handlers.push({
  10293. fulfilled: fulfilled,
  10294. rejected: rejected
  10295. });
  10296. return this.handlers.length - 1;
  10297. };
  10298. /**
  10299. * Remove an interceptor from the stack
  10300. *
  10301. * @param {Number} id The ID that was returned by `use`
  10302. */
  10303. InterceptorManager.prototype.eject = function eject(id) {
  10304. if (this.handlers[id]) {
  10305. this.handlers[id] = null;
  10306. }
  10307. };
  10308. /**
  10309. * Iterate over all the registered interceptors
  10310. *
  10311. * This method is particularly useful for skipping over any
  10312. * interceptors that may have become `null` calling `eject`.
  10313. *
  10314. * @param {Function} fn The function to call for each interceptor
  10315. */
  10316. InterceptorManager.prototype.forEach = function forEach(fn) {
  10317. this.handlers.forEach(function (h) {
  10318. if (h !== null) {
  10319. fn(h);
  10320. }
  10321. });
  10322. };
  10323. var _default = InterceptorManager;
  10324. exports.default = _default;
  10325. /***/ }),
  10326. /* 52 */
  10327. /*!*************************************************************************************************************************************************************!*\
  10328. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/mergeConfig.js ***!
  10329. \*************************************************************************************************************************************************************/
  10330. /*! no static exports found */
  10331. /***/ (function(module, exports, __webpack_require__) {
  10332. "use strict";
  10333. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10334. Object.defineProperty(exports, "__esModule", {
  10335. value: true
  10336. });
  10337. exports.default = void 0;
  10338. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  10339. var _utils = __webpack_require__(/*! ../utils */ 46);
  10340. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
  10341. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
  10342. /**
  10343. * 合并局部配置优先的配置,如果局部有该配置项则用局部,如果全局有该配置项则用全局
  10344. * @param {Array} keys - 配置项
  10345. * @param {Object} globalsConfig - 当前的全局配置
  10346. * @param {Object} config2 - 局部配置
  10347. * @return {{}}
  10348. */
  10349. var mergeKeys = function mergeKeys(keys, globalsConfig, config2) {
  10350. var config = {};
  10351. keys.forEach(function (prop) {
  10352. if (!(0, _utils.isUndefined)(config2[prop])) {
  10353. config[prop] = config2[prop];
  10354. } else if (!(0, _utils.isUndefined)(globalsConfig[prop])) {
  10355. config[prop] = globalsConfig[prop];
  10356. }
  10357. });
  10358. return config;
  10359. };
  10360. /**
  10361. *
  10362. * @param globalsConfig - 当前实例的全局配置
  10363. * @param config2 - 当前的局部配置
  10364. * @return - 合并后的配置
  10365. */
  10366. var _default = function _default(globalsConfig) {
  10367. var config2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  10368. var method = config2.method || globalsConfig.method || 'GET';
  10369. var config = {
  10370. baseURL: globalsConfig.baseURL || '',
  10371. method: method,
  10372. url: config2.url || '',
  10373. params: config2.params || {},
  10374. custom: _objectSpread(_objectSpread({}, globalsConfig.custom || {}), config2.custom || {}),
  10375. header: (0, _utils.deepMerge)(globalsConfig.header || {}, config2.header || {})
  10376. };
  10377. var defaultToConfig2Keys = ['getTask', 'validateStatus'];
  10378. config = _objectSpread(_objectSpread({}, config), mergeKeys(defaultToConfig2Keys, globalsConfig, config2));
  10379. // eslint-disable-next-line no-empty
  10380. if (method === 'DOWNLOAD') {} else if (method === 'UPLOAD') {
  10381. delete config.header['content-type'];
  10382. delete config.header['Content-Type'];
  10383. var uploadKeys = ['filePath', 'name', 'formData'];
  10384. uploadKeys.forEach(function (prop) {
  10385. if (!(0, _utils.isUndefined)(config2[prop])) {
  10386. config[prop] = config2[prop];
  10387. }
  10388. });
  10389. } else {
  10390. var defaultsKeys = ['data', 'timeout', 'dataType', 'responseType'];
  10391. config = _objectSpread(_objectSpread({}, config), mergeKeys(defaultsKeys, globalsConfig, config2));
  10392. }
  10393. return config;
  10394. };
  10395. exports.default = _default;
  10396. /***/ }),
  10397. /* 53 */
  10398. /*!**********************************************************************************************************************************************************!*\
  10399. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/core/defaults.js ***!
  10400. \**********************************************************************************************************************************************************/
  10401. /*! no static exports found */
  10402. /***/ (function(module, exports, __webpack_require__) {
  10403. "use strict";
  10404. Object.defineProperty(exports, "__esModule", {
  10405. value: true
  10406. });
  10407. exports.default = void 0;
  10408. /**
  10409. * 默认的全局配置
  10410. */
  10411. var _default = {
  10412. baseURL: '',
  10413. header: {},
  10414. method: 'GET',
  10415. dataType: 'json',
  10416. responseType: 'text',
  10417. custom: {},
  10418. timeout: 60000,
  10419. validateStatus: function validateStatus(status) {
  10420. return status >= 200 && status < 300;
  10421. }
  10422. };
  10423. exports.default = _default;
  10424. /***/ }),
  10425. /* 54 */
  10426. /*!********************************************************************************************************************************************************!*\
  10427. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/luch-request/utils/clone.js ***!
  10428. \********************************************************************************************************************************************************/
  10429. /*! no static exports found */
  10430. /***/ (function(module, exports, __webpack_require__) {
  10431. "use strict";
  10432. /* WEBPACK VAR INJECTION */(function(Buffer) {
  10433. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  10434. Object.defineProperty(exports, "__esModule", {
  10435. value: true
  10436. });
  10437. exports.default = void 0;
  10438. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  10439. /* eslint-disable */
  10440. var clone = function () {
  10441. 'use strict';
  10442. function _instanceof(obj, type) {
  10443. return type != null && obj instanceof type;
  10444. }
  10445. var nativeMap;
  10446. try {
  10447. nativeMap = Map;
  10448. } catch (_) {
  10449. // maybe a reference error because no `Map`. Give it a dummy value that no
  10450. // value will ever be an instanceof.
  10451. nativeMap = function nativeMap() {};
  10452. }
  10453. var nativeSet;
  10454. try {
  10455. nativeSet = Set;
  10456. } catch (_) {
  10457. nativeSet = function nativeSet() {};
  10458. }
  10459. var nativePromise;
  10460. try {
  10461. nativePromise = Promise;
  10462. } catch (_) {
  10463. nativePromise = function nativePromise() {};
  10464. }
  10465. /**
  10466. * Clones (copies) an Object using deep copying.
  10467. *
  10468. * This function supports circular references by default, but if you are certain
  10469. * there are no circular references in your object, you can save some CPU time
  10470. * by calling clone(obj, false).
  10471. *
  10472. * Caution: if `circular` is false and `parent` contains circular references,
  10473. * your program may enter an infinite loop and crash.
  10474. *
  10475. * @param `parent` - the object to be cloned
  10476. * @param `circular` - set to true if the object to be cloned may contain
  10477. * circular references. (optional - true by default)
  10478. * @param `depth` - set to a number if the object is only to be cloned to
  10479. * a particular depth. (optional - defaults to Infinity)
  10480. * @param `prototype` - sets the prototype to be used when cloning an object.
  10481. * (optional - defaults to parent prototype).
  10482. * @param `includeNonEnumerable` - set to true if the non-enumerable properties
  10483. * should be cloned as well. Non-enumerable properties on the prototype
  10484. * chain will be ignored. (optional - false by default)
  10485. */
  10486. function clone(parent, circular, depth, prototype, includeNonEnumerable) {
  10487. if ((0, _typeof2.default)(circular) === 'object') {
  10488. depth = circular.depth;
  10489. prototype = circular.prototype;
  10490. includeNonEnumerable = circular.includeNonEnumerable;
  10491. circular = circular.circular;
  10492. }
  10493. // maintain two arrays for circular references, where corresponding parents
  10494. // and children have the same index
  10495. var allParents = [];
  10496. var allChildren = [];
  10497. var useBuffer = typeof Buffer != 'undefined';
  10498. if (typeof circular == 'undefined') circular = true;
  10499. if (typeof depth == 'undefined') depth = Infinity;
  10500. // recurse this function so we don't reset allParents and allChildren
  10501. function _clone(parent, depth) {
  10502. // cloning null always returns null
  10503. if (parent === null) return null;
  10504. if (depth === 0) return parent;
  10505. var child;
  10506. var proto;
  10507. if ((0, _typeof2.default)(parent) != 'object') {
  10508. return parent;
  10509. }
  10510. if (_instanceof(parent, nativeMap)) {
  10511. child = new nativeMap();
  10512. } else if (_instanceof(parent, nativeSet)) {
  10513. child = new nativeSet();
  10514. } else if (_instanceof(parent, nativePromise)) {
  10515. child = new nativePromise(function (resolve, reject) {
  10516. parent.then(function (value) {
  10517. resolve(_clone(value, depth - 1));
  10518. }, function (err) {
  10519. reject(_clone(err, depth - 1));
  10520. });
  10521. });
  10522. } else if (clone.__isArray(parent)) {
  10523. child = [];
  10524. } else if (clone.__isRegExp(parent)) {
  10525. child = new RegExp(parent.source, __getRegExpFlags(parent));
  10526. if (parent.lastIndex) child.lastIndex = parent.lastIndex;
  10527. } else if (clone.__isDate(parent)) {
  10528. child = new Date(parent.getTime());
  10529. } else if (useBuffer && Buffer.isBuffer(parent)) {
  10530. if (Buffer.from) {
  10531. // Node.js >= 5.10.0
  10532. child = Buffer.from(parent);
  10533. } else {
  10534. // Older Node.js versions
  10535. child = new Buffer(parent.length);
  10536. parent.copy(child);
  10537. }
  10538. return child;
  10539. } else if (_instanceof(parent, Error)) {
  10540. child = Object.create(parent);
  10541. } else {
  10542. if (typeof prototype == 'undefined') {
  10543. proto = Object.getPrototypeOf(parent);
  10544. child = Object.create(proto);
  10545. } else {
  10546. child = Object.create(prototype);
  10547. proto = prototype;
  10548. }
  10549. }
  10550. if (circular) {
  10551. var index = allParents.indexOf(parent);
  10552. if (index != -1) {
  10553. return allChildren[index];
  10554. }
  10555. allParents.push(parent);
  10556. allChildren.push(child);
  10557. }
  10558. if (_instanceof(parent, nativeMap)) {
  10559. parent.forEach(function (value, key) {
  10560. var keyChild = _clone(key, depth - 1);
  10561. var valueChild = _clone(value, depth - 1);
  10562. child.set(keyChild, valueChild);
  10563. });
  10564. }
  10565. if (_instanceof(parent, nativeSet)) {
  10566. parent.forEach(function (value) {
  10567. var entryChild = _clone(value, depth - 1);
  10568. child.add(entryChild);
  10569. });
  10570. }
  10571. for (var i in parent) {
  10572. var attrs = Object.getOwnPropertyDescriptor(parent, i);
  10573. if (attrs) {
  10574. child[i] = _clone(parent[i], depth - 1);
  10575. }
  10576. try {
  10577. var objProperty = Object.getOwnPropertyDescriptor(parent, i);
  10578. if (objProperty.set === 'undefined') {
  10579. // no setter defined. Skip cloning this property
  10580. continue;
  10581. }
  10582. child[i] = _clone(parent[i], depth - 1);
  10583. } catch (e) {
  10584. if (e instanceof TypeError) {
  10585. // when in strict mode, TypeError will be thrown if child[i] property only has a getter
  10586. // we can't do anything about this, other than inform the user that this property cannot be set.
  10587. continue;
  10588. } else if (e instanceof ReferenceError) {
  10589. //this may happen in non strict mode
  10590. continue;
  10591. }
  10592. }
  10593. }
  10594. if (Object.getOwnPropertySymbols) {
  10595. var symbols = Object.getOwnPropertySymbols(parent);
  10596. for (var i = 0; i < symbols.length; i++) {
  10597. // Don't need to worry about cloning a symbol because it is a primitive,
  10598. // like a number or string.
  10599. var symbol = symbols[i];
  10600. var descriptor = Object.getOwnPropertyDescriptor(parent, symbol);
  10601. if (descriptor && !descriptor.enumerable && !includeNonEnumerable) {
  10602. continue;
  10603. }
  10604. child[symbol] = _clone(parent[symbol], depth - 1);
  10605. Object.defineProperty(child, symbol, descriptor);
  10606. }
  10607. }
  10608. if (includeNonEnumerable) {
  10609. var allPropertyNames = Object.getOwnPropertyNames(parent);
  10610. for (var i = 0; i < allPropertyNames.length; i++) {
  10611. var propertyName = allPropertyNames[i];
  10612. var descriptor = Object.getOwnPropertyDescriptor(parent, propertyName);
  10613. if (descriptor && descriptor.enumerable) {
  10614. continue;
  10615. }
  10616. child[propertyName] = _clone(parent[propertyName], depth - 1);
  10617. Object.defineProperty(child, propertyName, descriptor);
  10618. }
  10619. }
  10620. return child;
  10621. }
  10622. return _clone(parent, depth);
  10623. }
  10624. /**
  10625. * Simple flat clone using prototype, accepts only objects, usefull for property
  10626. * override on FLAT configuration object (no nested props).
  10627. *
  10628. * USE WITH CAUTION! This may not behave as you wish if you do not know how this
  10629. * works.
  10630. */
  10631. clone.clonePrototype = function clonePrototype(parent) {
  10632. if (parent === null) return null;
  10633. var c = function c() {};
  10634. c.prototype = parent;
  10635. return new c();
  10636. };
  10637. // private utility functions
  10638. function __objToStr(o) {
  10639. return Object.prototype.toString.call(o);
  10640. }
  10641. clone.__objToStr = __objToStr;
  10642. function __isDate(o) {
  10643. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object Date]';
  10644. }
  10645. clone.__isDate = __isDate;
  10646. function __isArray(o) {
  10647. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object Array]';
  10648. }
  10649. clone.__isArray = __isArray;
  10650. function __isRegExp(o) {
  10651. return (0, _typeof2.default)(o) === 'object' && __objToStr(o) === '[object RegExp]';
  10652. }
  10653. clone.__isRegExp = __isRegExp;
  10654. function __getRegExpFlags(re) {
  10655. var flags = '';
  10656. if (re.global) flags += 'g';
  10657. if (re.ignoreCase) flags += 'i';
  10658. if (re.multiline) flags += 'm';
  10659. return flags;
  10660. }
  10661. clone.__getRegExpFlags = __getRegExpFlags;
  10662. return clone;
  10663. }();
  10664. var _default = clone;
  10665. exports.default = _default;
  10666. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/buffer/index.js */ 55).Buffer))
  10667. /***/ }),
  10668. /* 55 */
  10669. /*!**************************************!*\
  10670. !*** ./node_modules/buffer/index.js ***!
  10671. \**************************************/
  10672. /*! no static exports found */
  10673. /***/ (function(module, exports, __webpack_require__) {
  10674. "use strict";
  10675. /* WEBPACK VAR INJECTION */(function(global) {/*!
  10676. * The buffer module from node.js, for the browser.
  10677. *
  10678. * @author Feross Aboukhadijeh <http://feross.org>
  10679. * @license MIT
  10680. */
  10681. /* eslint-disable no-proto */
  10682. var base64 = __webpack_require__(/*! base64-js */ 56)
  10683. var ieee754 = __webpack_require__(/*! ieee754 */ 57)
  10684. var isArray = __webpack_require__(/*! isarray */ 58)
  10685. exports.Buffer = Buffer
  10686. exports.SlowBuffer = SlowBuffer
  10687. exports.INSPECT_MAX_BYTES = 50
  10688. /**
  10689. * If `Buffer.TYPED_ARRAY_SUPPORT`:
  10690. * === true Use Uint8Array implementation (fastest)
  10691. * === false Use Object implementation (most compatible, even IE6)
  10692. *
  10693. * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
  10694. * Opera 11.6+, iOS 4.2+.
  10695. *
  10696. * Due to various browser bugs, sometimes the Object implementation will be used even
  10697. * when the browser supports typed arrays.
  10698. *
  10699. * Note:
  10700. *
  10701. * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
  10702. * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
  10703. *
  10704. * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
  10705. *
  10706. * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
  10707. * incorrect length in some situations.
  10708. * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
  10709. * get the Object implementation, which is slower but behaves correctly.
  10710. */
  10711. Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
  10712. ? global.TYPED_ARRAY_SUPPORT
  10713. : typedArraySupport()
  10714. /*
  10715. * Export kMaxLength after typed array support is determined.
  10716. */
  10717. exports.kMaxLength = kMaxLength()
  10718. function typedArraySupport () {
  10719. try {
  10720. var arr = new Uint8Array(1)
  10721. arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}
  10722. return arr.foo() === 42 && // typed array instances can be augmented
  10723. typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
  10724. arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
  10725. } catch (e) {
  10726. return false
  10727. }
  10728. }
  10729. function kMaxLength () {
  10730. return Buffer.TYPED_ARRAY_SUPPORT
  10731. ? 0x7fffffff
  10732. : 0x3fffffff
  10733. }
  10734. function createBuffer (that, length) {
  10735. if (kMaxLength() < length) {
  10736. throw new RangeError('Invalid typed array length')
  10737. }
  10738. if (Buffer.TYPED_ARRAY_SUPPORT) {
  10739. // Return an augmented `Uint8Array` instance, for best performance
  10740. that = new Uint8Array(length)
  10741. that.__proto__ = Buffer.prototype
  10742. } else {
  10743. // Fallback: Return an object instance of the Buffer class
  10744. if (that === null) {
  10745. that = new Buffer(length)
  10746. }
  10747. that.length = length
  10748. }
  10749. return that
  10750. }
  10751. /**
  10752. * The Buffer constructor returns instances of `Uint8Array` that have their
  10753. * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
  10754. * `Uint8Array`, so the returned instances will have all the node `Buffer` methods
  10755. * and the `Uint8Array` methods. Square bracket notation works as expected -- it
  10756. * returns a single octet.
  10757. *
  10758. * The `Uint8Array` prototype remains unmodified.
  10759. */
  10760. function Buffer (arg, encodingOrOffset, length) {
  10761. if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {
  10762. return new Buffer(arg, encodingOrOffset, length)
  10763. }
  10764. // Common case.
  10765. if (typeof arg === 'number') {
  10766. if (typeof encodingOrOffset === 'string') {
  10767. throw new Error(
  10768. 'If encoding is specified then the first argument must be a string'
  10769. )
  10770. }
  10771. return allocUnsafe(this, arg)
  10772. }
  10773. return from(this, arg, encodingOrOffset, length)
  10774. }
  10775. Buffer.poolSize = 8192 // not used by this implementation
  10776. // TODO: Legacy, not needed anymore. Remove in next major version.
  10777. Buffer._augment = function (arr) {
  10778. arr.__proto__ = Buffer.prototype
  10779. return arr
  10780. }
  10781. function from (that, value, encodingOrOffset, length) {
  10782. if (typeof value === 'number') {
  10783. throw new TypeError('"value" argument must not be a number')
  10784. }
  10785. if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {
  10786. return fromArrayBuffer(that, value, encodingOrOffset, length)
  10787. }
  10788. if (typeof value === 'string') {
  10789. return fromString(that, value, encodingOrOffset)
  10790. }
  10791. return fromObject(that, value)
  10792. }
  10793. /**
  10794. * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
  10795. * if value is a number.
  10796. * Buffer.from(str[, encoding])
  10797. * Buffer.from(array)
  10798. * Buffer.from(buffer)
  10799. * Buffer.from(arrayBuffer[, byteOffset[, length]])
  10800. **/
  10801. Buffer.from = function (value, encodingOrOffset, length) {
  10802. return from(null, value, encodingOrOffset, length)
  10803. }
  10804. if (Buffer.TYPED_ARRAY_SUPPORT) {
  10805. Buffer.prototype.__proto__ = Uint8Array.prototype
  10806. Buffer.__proto__ = Uint8Array
  10807. if (typeof Symbol !== 'undefined' && Symbol.species &&
  10808. Buffer[Symbol.species] === Buffer) {
  10809. // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
  10810. Object.defineProperty(Buffer, Symbol.species, {
  10811. value: null,
  10812. configurable: true
  10813. })
  10814. }
  10815. }
  10816. function assertSize (size) {
  10817. if (typeof size !== 'number') {
  10818. throw new TypeError('"size" argument must be a number')
  10819. } else if (size < 0) {
  10820. throw new RangeError('"size" argument must not be negative')
  10821. }
  10822. }
  10823. function alloc (that, size, fill, encoding) {
  10824. assertSize(size)
  10825. if (size <= 0) {
  10826. return createBuffer(that, size)
  10827. }
  10828. if (fill !== undefined) {
  10829. // Only pay attention to encoding if it's a string. This
  10830. // prevents accidentally sending in a number that would
  10831. // be interpretted as a start offset.
  10832. return typeof encoding === 'string'
  10833. ? createBuffer(that, size).fill(fill, encoding)
  10834. : createBuffer(that, size).fill(fill)
  10835. }
  10836. return createBuffer(that, size)
  10837. }
  10838. /**
  10839. * Creates a new filled Buffer instance.
  10840. * alloc(size[, fill[, encoding]])
  10841. **/
  10842. Buffer.alloc = function (size, fill, encoding) {
  10843. return alloc(null, size, fill, encoding)
  10844. }
  10845. function allocUnsafe (that, size) {
  10846. assertSize(size)
  10847. that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)
  10848. if (!Buffer.TYPED_ARRAY_SUPPORT) {
  10849. for (var i = 0; i < size; ++i) {
  10850. that[i] = 0
  10851. }
  10852. }
  10853. return that
  10854. }
  10855. /**
  10856. * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
  10857. * */
  10858. Buffer.allocUnsafe = function (size) {
  10859. return allocUnsafe(null, size)
  10860. }
  10861. /**
  10862. * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
  10863. */
  10864. Buffer.allocUnsafeSlow = function (size) {
  10865. return allocUnsafe(null, size)
  10866. }
  10867. function fromString (that, string, encoding) {
  10868. if (typeof encoding !== 'string' || encoding === '') {
  10869. encoding = 'utf8'
  10870. }
  10871. if (!Buffer.isEncoding(encoding)) {
  10872. throw new TypeError('"encoding" must be a valid string encoding')
  10873. }
  10874. var length = byteLength(string, encoding) | 0
  10875. that = createBuffer(that, length)
  10876. var actual = that.write(string, encoding)
  10877. if (actual !== length) {
  10878. // Writing a hex string, for example, that contains invalid characters will
  10879. // cause everything after the first invalid character to be ignored. (e.g.
  10880. // 'abxxcd' will be treated as 'ab')
  10881. that = that.slice(0, actual)
  10882. }
  10883. return that
  10884. }
  10885. function fromArrayLike (that, array) {
  10886. var length = array.length < 0 ? 0 : checked(array.length) | 0
  10887. that = createBuffer(that, length)
  10888. for (var i = 0; i < length; i += 1) {
  10889. that[i] = array[i] & 255
  10890. }
  10891. return that
  10892. }
  10893. function fromArrayBuffer (that, array, byteOffset, length) {
  10894. array.byteLength // this throws if `array` is not a valid ArrayBuffer
  10895. if (byteOffset < 0 || array.byteLength < byteOffset) {
  10896. throw new RangeError('\'offset\' is out of bounds')
  10897. }
  10898. if (array.byteLength < byteOffset + (length || 0)) {
  10899. throw new RangeError('\'length\' is out of bounds')
  10900. }
  10901. if (byteOffset === undefined && length === undefined) {
  10902. array = new Uint8Array(array)
  10903. } else if (length === undefined) {
  10904. array = new Uint8Array(array, byteOffset)
  10905. } else {
  10906. array = new Uint8Array(array, byteOffset, length)
  10907. }
  10908. if (Buffer.TYPED_ARRAY_SUPPORT) {
  10909. // Return an augmented `Uint8Array` instance, for best performance
  10910. that = array
  10911. that.__proto__ = Buffer.prototype
  10912. } else {
  10913. // Fallback: Return an object instance of the Buffer class
  10914. that = fromArrayLike(that, array)
  10915. }
  10916. return that
  10917. }
  10918. function fromObject (that, obj) {
  10919. if (Buffer.isBuffer(obj)) {
  10920. var len = checked(obj.length) | 0
  10921. that = createBuffer(that, len)
  10922. if (that.length === 0) {
  10923. return that
  10924. }
  10925. obj.copy(that, 0, 0, len)
  10926. return that
  10927. }
  10928. if (obj) {
  10929. if ((typeof ArrayBuffer !== 'undefined' &&
  10930. obj.buffer instanceof ArrayBuffer) || 'length' in obj) {
  10931. if (typeof obj.length !== 'number' || isnan(obj.length)) {
  10932. return createBuffer(that, 0)
  10933. }
  10934. return fromArrayLike(that, obj)
  10935. }
  10936. if (obj.type === 'Buffer' && isArray(obj.data)) {
  10937. return fromArrayLike(that, obj.data)
  10938. }
  10939. }
  10940. throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')
  10941. }
  10942. function checked (length) {
  10943. // Note: cannot use `length < kMaxLength()` here because that fails when
  10944. // length is NaN (which is otherwise coerced to zero.)
  10945. if (length >= kMaxLength()) {
  10946. throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
  10947. 'size: 0x' + kMaxLength().toString(16) + ' bytes')
  10948. }
  10949. return length | 0
  10950. }
  10951. function SlowBuffer (length) {
  10952. if (+length != length) { // eslint-disable-line eqeqeq
  10953. length = 0
  10954. }
  10955. return Buffer.alloc(+length)
  10956. }
  10957. Buffer.isBuffer = function isBuffer (b) {
  10958. return !!(b != null && b._isBuffer)
  10959. }
  10960. Buffer.compare = function compare (a, b) {
  10961. if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
  10962. throw new TypeError('Arguments must be Buffers')
  10963. }
  10964. if (a === b) return 0
  10965. var x = a.length
  10966. var y = b.length
  10967. for (var i = 0, len = Math.min(x, y); i < len; ++i) {
  10968. if (a[i] !== b[i]) {
  10969. x = a[i]
  10970. y = b[i]
  10971. break
  10972. }
  10973. }
  10974. if (x < y) return -1
  10975. if (y < x) return 1
  10976. return 0
  10977. }
  10978. Buffer.isEncoding = function isEncoding (encoding) {
  10979. switch (String(encoding).toLowerCase()) {
  10980. case 'hex':
  10981. case 'utf8':
  10982. case 'utf-8':
  10983. case 'ascii':
  10984. case 'latin1':
  10985. case 'binary':
  10986. case 'base64':
  10987. case 'ucs2':
  10988. case 'ucs-2':
  10989. case 'utf16le':
  10990. case 'utf-16le':
  10991. return true
  10992. default:
  10993. return false
  10994. }
  10995. }
  10996. Buffer.concat = function concat (list, length) {
  10997. if (!isArray(list)) {
  10998. throw new TypeError('"list" argument must be an Array of Buffers')
  10999. }
  11000. if (list.length === 0) {
  11001. return Buffer.alloc(0)
  11002. }
  11003. var i
  11004. if (length === undefined) {
  11005. length = 0
  11006. for (i = 0; i < list.length; ++i) {
  11007. length += list[i].length
  11008. }
  11009. }
  11010. var buffer = Buffer.allocUnsafe(length)
  11011. var pos = 0
  11012. for (i = 0; i < list.length; ++i) {
  11013. var buf = list[i]
  11014. if (!Buffer.isBuffer(buf)) {
  11015. throw new TypeError('"list" argument must be an Array of Buffers')
  11016. }
  11017. buf.copy(buffer, pos)
  11018. pos += buf.length
  11019. }
  11020. return buffer
  11021. }
  11022. function byteLength (string, encoding) {
  11023. if (Buffer.isBuffer(string)) {
  11024. return string.length
  11025. }
  11026. if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&
  11027. (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {
  11028. return string.byteLength
  11029. }
  11030. if (typeof string !== 'string') {
  11031. string = '' + string
  11032. }
  11033. var len = string.length
  11034. if (len === 0) return 0
  11035. // Use a for loop to avoid recursion
  11036. var loweredCase = false
  11037. for (;;) {
  11038. switch (encoding) {
  11039. case 'ascii':
  11040. case 'latin1':
  11041. case 'binary':
  11042. return len
  11043. case 'utf8':
  11044. case 'utf-8':
  11045. case undefined:
  11046. return utf8ToBytes(string).length
  11047. case 'ucs2':
  11048. case 'ucs-2':
  11049. case 'utf16le':
  11050. case 'utf-16le':
  11051. return len * 2
  11052. case 'hex':
  11053. return len >>> 1
  11054. case 'base64':
  11055. return base64ToBytes(string).length
  11056. default:
  11057. if (loweredCase) return utf8ToBytes(string).length // assume utf8
  11058. encoding = ('' + encoding).toLowerCase()
  11059. loweredCase = true
  11060. }
  11061. }
  11062. }
  11063. Buffer.byteLength = byteLength
  11064. function slowToString (encoding, start, end) {
  11065. var loweredCase = false
  11066. // No need to verify that "this.length <= MAX_UINT32" since it's a read-only
  11067. // property of a typed array.
  11068. // This behaves neither like String nor Uint8Array in that we set start/end
  11069. // to their upper/lower bounds if the value passed is out of range.
  11070. // undefined is handled specially as per ECMA-262 6th Edition,
  11071. // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
  11072. if (start === undefined || start < 0) {
  11073. start = 0
  11074. }
  11075. // Return early if start > this.length. Done here to prevent potential uint32
  11076. // coercion fail below.
  11077. if (start > this.length) {
  11078. return ''
  11079. }
  11080. if (end === undefined || end > this.length) {
  11081. end = this.length
  11082. }
  11083. if (end <= 0) {
  11084. return ''
  11085. }
  11086. // Force coersion to uint32. This will also coerce falsey/NaN values to 0.
  11087. end >>>= 0
  11088. start >>>= 0
  11089. if (end <= start) {
  11090. return ''
  11091. }
  11092. if (!encoding) encoding = 'utf8'
  11093. while (true) {
  11094. switch (encoding) {
  11095. case 'hex':
  11096. return hexSlice(this, start, end)
  11097. case 'utf8':
  11098. case 'utf-8':
  11099. return utf8Slice(this, start, end)
  11100. case 'ascii':
  11101. return asciiSlice(this, start, end)
  11102. case 'latin1':
  11103. case 'binary':
  11104. return latin1Slice(this, start, end)
  11105. case 'base64':
  11106. return base64Slice(this, start, end)
  11107. case 'ucs2':
  11108. case 'ucs-2':
  11109. case 'utf16le':
  11110. case 'utf-16le':
  11111. return utf16leSlice(this, start, end)
  11112. default:
  11113. if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
  11114. encoding = (encoding + '').toLowerCase()
  11115. loweredCase = true
  11116. }
  11117. }
  11118. }
  11119. // The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect
  11120. // Buffer instances.
  11121. Buffer.prototype._isBuffer = true
  11122. function swap (b, n, m) {
  11123. var i = b[n]
  11124. b[n] = b[m]
  11125. b[m] = i
  11126. }
  11127. Buffer.prototype.swap16 = function swap16 () {
  11128. var len = this.length
  11129. if (len % 2 !== 0) {
  11130. throw new RangeError('Buffer size must be a multiple of 16-bits')
  11131. }
  11132. for (var i = 0; i < len; i += 2) {
  11133. swap(this, i, i + 1)
  11134. }
  11135. return this
  11136. }
  11137. Buffer.prototype.swap32 = function swap32 () {
  11138. var len = this.length
  11139. if (len % 4 !== 0) {
  11140. throw new RangeError('Buffer size must be a multiple of 32-bits')
  11141. }
  11142. for (var i = 0; i < len; i += 4) {
  11143. swap(this, i, i + 3)
  11144. swap(this, i + 1, i + 2)
  11145. }
  11146. return this
  11147. }
  11148. Buffer.prototype.swap64 = function swap64 () {
  11149. var len = this.length
  11150. if (len % 8 !== 0) {
  11151. throw new RangeError('Buffer size must be a multiple of 64-bits')
  11152. }
  11153. for (var i = 0; i < len; i += 8) {
  11154. swap(this, i, i + 7)
  11155. swap(this, i + 1, i + 6)
  11156. swap(this, i + 2, i + 5)
  11157. swap(this, i + 3, i + 4)
  11158. }
  11159. return this
  11160. }
  11161. Buffer.prototype.toString = function toString () {
  11162. var length = this.length | 0
  11163. if (length === 0) return ''
  11164. if (arguments.length === 0) return utf8Slice(this, 0, length)
  11165. return slowToString.apply(this, arguments)
  11166. }
  11167. Buffer.prototype.equals = function equals (b) {
  11168. if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
  11169. if (this === b) return true
  11170. return Buffer.compare(this, b) === 0
  11171. }
  11172. Buffer.prototype.inspect = function inspect () {
  11173. var str = ''
  11174. var max = exports.INSPECT_MAX_BYTES
  11175. if (this.length > 0) {
  11176. str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')
  11177. if (this.length > max) str += ' ... '
  11178. }
  11179. return '<Buffer ' + str + '>'
  11180. }
  11181. Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
  11182. if (!Buffer.isBuffer(target)) {
  11183. throw new TypeError('Argument must be a Buffer')
  11184. }
  11185. if (start === undefined) {
  11186. start = 0
  11187. }
  11188. if (end === undefined) {
  11189. end = target ? target.length : 0
  11190. }
  11191. if (thisStart === undefined) {
  11192. thisStart = 0
  11193. }
  11194. if (thisEnd === undefined) {
  11195. thisEnd = this.length
  11196. }
  11197. if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
  11198. throw new RangeError('out of range index')
  11199. }
  11200. if (thisStart >= thisEnd && start >= end) {
  11201. return 0
  11202. }
  11203. if (thisStart >= thisEnd) {
  11204. return -1
  11205. }
  11206. if (start >= end) {
  11207. return 1
  11208. }
  11209. start >>>= 0
  11210. end >>>= 0
  11211. thisStart >>>= 0
  11212. thisEnd >>>= 0
  11213. if (this === target) return 0
  11214. var x = thisEnd - thisStart
  11215. var y = end - start
  11216. var len = Math.min(x, y)
  11217. var thisCopy = this.slice(thisStart, thisEnd)
  11218. var targetCopy = target.slice(start, end)
  11219. for (var i = 0; i < len; ++i) {
  11220. if (thisCopy[i] !== targetCopy[i]) {
  11221. x = thisCopy[i]
  11222. y = targetCopy[i]
  11223. break
  11224. }
  11225. }
  11226. if (x < y) return -1
  11227. if (y < x) return 1
  11228. return 0
  11229. }
  11230. // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
  11231. // OR the last index of `val` in `buffer` at offset <= `byteOffset`.
  11232. //
  11233. // Arguments:
  11234. // - buffer - a Buffer to search
  11235. // - val - a string, Buffer, or number
  11236. // - byteOffset - an index into `buffer`; will be clamped to an int32
  11237. // - encoding - an optional encoding, relevant is val is a string
  11238. // - dir - true for indexOf, false for lastIndexOf
  11239. function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
  11240. // Empty buffer means no match
  11241. if (buffer.length === 0) return -1
  11242. // Normalize byteOffset
  11243. if (typeof byteOffset === 'string') {
  11244. encoding = byteOffset
  11245. byteOffset = 0
  11246. } else if (byteOffset > 0x7fffffff) {
  11247. byteOffset = 0x7fffffff
  11248. } else if (byteOffset < -0x80000000) {
  11249. byteOffset = -0x80000000
  11250. }
  11251. byteOffset = +byteOffset // Coerce to Number.
  11252. if (isNaN(byteOffset)) {
  11253. // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
  11254. byteOffset = dir ? 0 : (buffer.length - 1)
  11255. }
  11256. // Normalize byteOffset: negative offsets start from the end of the buffer
  11257. if (byteOffset < 0) byteOffset = buffer.length + byteOffset
  11258. if (byteOffset >= buffer.length) {
  11259. if (dir) return -1
  11260. else byteOffset = buffer.length - 1
  11261. } else if (byteOffset < 0) {
  11262. if (dir) byteOffset = 0
  11263. else return -1
  11264. }
  11265. // Normalize val
  11266. if (typeof val === 'string') {
  11267. val = Buffer.from(val, encoding)
  11268. }
  11269. // Finally, search either indexOf (if dir is true) or lastIndexOf
  11270. if (Buffer.isBuffer(val)) {
  11271. // Special case: looking for empty string/buffer always fails
  11272. if (val.length === 0) {
  11273. return -1
  11274. }
  11275. return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
  11276. } else if (typeof val === 'number') {
  11277. val = val & 0xFF // Search for a byte value [0-255]
  11278. if (Buffer.TYPED_ARRAY_SUPPORT &&
  11279. typeof Uint8Array.prototype.indexOf === 'function') {
  11280. if (dir) {
  11281. return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
  11282. } else {
  11283. return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
  11284. }
  11285. }
  11286. return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)
  11287. }
  11288. throw new TypeError('val must be string, number or Buffer')
  11289. }
  11290. function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
  11291. var indexSize = 1
  11292. var arrLength = arr.length
  11293. var valLength = val.length
  11294. if (encoding !== undefined) {
  11295. encoding = String(encoding).toLowerCase()
  11296. if (encoding === 'ucs2' || encoding === 'ucs-2' ||
  11297. encoding === 'utf16le' || encoding === 'utf-16le') {
  11298. if (arr.length < 2 || val.length < 2) {
  11299. return -1
  11300. }
  11301. indexSize = 2
  11302. arrLength /= 2
  11303. valLength /= 2
  11304. byteOffset /= 2
  11305. }
  11306. }
  11307. function read (buf, i) {
  11308. if (indexSize === 1) {
  11309. return buf[i]
  11310. } else {
  11311. return buf.readUInt16BE(i * indexSize)
  11312. }
  11313. }
  11314. var i
  11315. if (dir) {
  11316. var foundIndex = -1
  11317. for (i = byteOffset; i < arrLength; i++) {
  11318. if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
  11319. if (foundIndex === -1) foundIndex = i
  11320. if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
  11321. } else {
  11322. if (foundIndex !== -1) i -= i - foundIndex
  11323. foundIndex = -1
  11324. }
  11325. }
  11326. } else {
  11327. if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength
  11328. for (i = byteOffset; i >= 0; i--) {
  11329. var found = true
  11330. for (var j = 0; j < valLength; j++) {
  11331. if (read(arr, i + j) !== read(val, j)) {
  11332. found = false
  11333. break
  11334. }
  11335. }
  11336. if (found) return i
  11337. }
  11338. }
  11339. return -1
  11340. }
  11341. Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
  11342. return this.indexOf(val, byteOffset, encoding) !== -1
  11343. }
  11344. Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
  11345. return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
  11346. }
  11347. Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
  11348. return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
  11349. }
  11350. function hexWrite (buf, string, offset, length) {
  11351. offset = Number(offset) || 0
  11352. var remaining = buf.length - offset
  11353. if (!length) {
  11354. length = remaining
  11355. } else {
  11356. length = Number(length)
  11357. if (length > remaining) {
  11358. length = remaining
  11359. }
  11360. }
  11361. // must be an even number of digits
  11362. var strLen = string.length
  11363. if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')
  11364. if (length > strLen / 2) {
  11365. length = strLen / 2
  11366. }
  11367. for (var i = 0; i < length; ++i) {
  11368. var parsed = parseInt(string.substr(i * 2, 2), 16)
  11369. if (isNaN(parsed)) return i
  11370. buf[offset + i] = parsed
  11371. }
  11372. return i
  11373. }
  11374. function utf8Write (buf, string, offset, length) {
  11375. return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
  11376. }
  11377. function asciiWrite (buf, string, offset, length) {
  11378. return blitBuffer(asciiToBytes(string), buf, offset, length)
  11379. }
  11380. function latin1Write (buf, string, offset, length) {
  11381. return asciiWrite(buf, string, offset, length)
  11382. }
  11383. function base64Write (buf, string, offset, length) {
  11384. return blitBuffer(base64ToBytes(string), buf, offset, length)
  11385. }
  11386. function ucs2Write (buf, string, offset, length) {
  11387. return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
  11388. }
  11389. Buffer.prototype.write = function write (string, offset, length, encoding) {
  11390. // Buffer#write(string)
  11391. if (offset === undefined) {
  11392. encoding = 'utf8'
  11393. length = this.length
  11394. offset = 0
  11395. // Buffer#write(string, encoding)
  11396. } else if (length === undefined && typeof offset === 'string') {
  11397. encoding = offset
  11398. length = this.length
  11399. offset = 0
  11400. // Buffer#write(string, offset[, length][, encoding])
  11401. } else if (isFinite(offset)) {
  11402. offset = offset | 0
  11403. if (isFinite(length)) {
  11404. length = length | 0
  11405. if (encoding === undefined) encoding = 'utf8'
  11406. } else {
  11407. encoding = length
  11408. length = undefined
  11409. }
  11410. // legacy write(string, encoding, offset, length) - remove in v0.13
  11411. } else {
  11412. throw new Error(
  11413. 'Buffer.write(string, encoding, offset[, length]) is no longer supported'
  11414. )
  11415. }
  11416. var remaining = this.length - offset
  11417. if (length === undefined || length > remaining) length = remaining
  11418. if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
  11419. throw new RangeError('Attempt to write outside buffer bounds')
  11420. }
  11421. if (!encoding) encoding = 'utf8'
  11422. var loweredCase = false
  11423. for (;;) {
  11424. switch (encoding) {
  11425. case 'hex':
  11426. return hexWrite(this, string, offset, length)
  11427. case 'utf8':
  11428. case 'utf-8':
  11429. return utf8Write(this, string, offset, length)
  11430. case 'ascii':
  11431. return asciiWrite(this, string, offset, length)
  11432. case 'latin1':
  11433. case 'binary':
  11434. return latin1Write(this, string, offset, length)
  11435. case 'base64':
  11436. // Warning: maxLength not taken into account in base64Write
  11437. return base64Write(this, string, offset, length)
  11438. case 'ucs2':
  11439. case 'ucs-2':
  11440. case 'utf16le':
  11441. case 'utf-16le':
  11442. return ucs2Write(this, string, offset, length)
  11443. default:
  11444. if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
  11445. encoding = ('' + encoding).toLowerCase()
  11446. loweredCase = true
  11447. }
  11448. }
  11449. }
  11450. Buffer.prototype.toJSON = function toJSON () {
  11451. return {
  11452. type: 'Buffer',
  11453. data: Array.prototype.slice.call(this._arr || this, 0)
  11454. }
  11455. }
  11456. function base64Slice (buf, start, end) {
  11457. if (start === 0 && end === buf.length) {
  11458. return base64.fromByteArray(buf)
  11459. } else {
  11460. return base64.fromByteArray(buf.slice(start, end))
  11461. }
  11462. }
  11463. function utf8Slice (buf, start, end) {
  11464. end = Math.min(buf.length, end)
  11465. var res = []
  11466. var i = start
  11467. while (i < end) {
  11468. var firstByte = buf[i]
  11469. var codePoint = null
  11470. var bytesPerSequence = (firstByte > 0xEF) ? 4
  11471. : (firstByte > 0xDF) ? 3
  11472. : (firstByte > 0xBF) ? 2
  11473. : 1
  11474. if (i + bytesPerSequence <= end) {
  11475. var secondByte, thirdByte, fourthByte, tempCodePoint
  11476. switch (bytesPerSequence) {
  11477. case 1:
  11478. if (firstByte < 0x80) {
  11479. codePoint = firstByte
  11480. }
  11481. break
  11482. case 2:
  11483. secondByte = buf[i + 1]
  11484. if ((secondByte & 0xC0) === 0x80) {
  11485. tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
  11486. if (tempCodePoint > 0x7F) {
  11487. codePoint = tempCodePoint
  11488. }
  11489. }
  11490. break
  11491. case 3:
  11492. secondByte = buf[i + 1]
  11493. thirdByte = buf[i + 2]
  11494. if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
  11495. tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
  11496. if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
  11497. codePoint = tempCodePoint
  11498. }
  11499. }
  11500. break
  11501. case 4:
  11502. secondByte = buf[i + 1]
  11503. thirdByte = buf[i + 2]
  11504. fourthByte = buf[i + 3]
  11505. if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
  11506. tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
  11507. if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
  11508. codePoint = tempCodePoint
  11509. }
  11510. }
  11511. }
  11512. }
  11513. if (codePoint === null) {
  11514. // we did not generate a valid codePoint so insert a
  11515. // replacement char (U+FFFD) and advance only 1 byte
  11516. codePoint = 0xFFFD
  11517. bytesPerSequence = 1
  11518. } else if (codePoint > 0xFFFF) {
  11519. // encode to utf16 (surrogate pair dance)
  11520. codePoint -= 0x10000
  11521. res.push(codePoint >>> 10 & 0x3FF | 0xD800)
  11522. codePoint = 0xDC00 | codePoint & 0x3FF
  11523. }
  11524. res.push(codePoint)
  11525. i += bytesPerSequence
  11526. }
  11527. return decodeCodePointsArray(res)
  11528. }
  11529. // Based on http://stackoverflow.com/a/22747272/680742, the browser with
  11530. // the lowest limit is Chrome, with 0x10000 args.
  11531. // We go 1 magnitude less, for safety
  11532. var MAX_ARGUMENTS_LENGTH = 0x1000
  11533. function decodeCodePointsArray (codePoints) {
  11534. var len = codePoints.length
  11535. if (len <= MAX_ARGUMENTS_LENGTH) {
  11536. return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
  11537. }
  11538. // Decode in chunks to avoid "call stack size exceeded".
  11539. var res = ''
  11540. var i = 0
  11541. while (i < len) {
  11542. res += String.fromCharCode.apply(
  11543. String,
  11544. codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
  11545. )
  11546. }
  11547. return res
  11548. }
  11549. function asciiSlice (buf, start, end) {
  11550. var ret = ''
  11551. end = Math.min(buf.length, end)
  11552. for (var i = start; i < end; ++i) {
  11553. ret += String.fromCharCode(buf[i] & 0x7F)
  11554. }
  11555. return ret
  11556. }
  11557. function latin1Slice (buf, start, end) {
  11558. var ret = ''
  11559. end = Math.min(buf.length, end)
  11560. for (var i = start; i < end; ++i) {
  11561. ret += String.fromCharCode(buf[i])
  11562. }
  11563. return ret
  11564. }
  11565. function hexSlice (buf, start, end) {
  11566. var len = buf.length
  11567. if (!start || start < 0) start = 0
  11568. if (!end || end < 0 || end > len) end = len
  11569. var out = ''
  11570. for (var i = start; i < end; ++i) {
  11571. out += toHex(buf[i])
  11572. }
  11573. return out
  11574. }
  11575. function utf16leSlice (buf, start, end) {
  11576. var bytes = buf.slice(start, end)
  11577. var res = ''
  11578. for (var i = 0; i < bytes.length; i += 2) {
  11579. res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
  11580. }
  11581. return res
  11582. }
  11583. Buffer.prototype.slice = function slice (start, end) {
  11584. var len = this.length
  11585. start = ~~start
  11586. end = end === undefined ? len : ~~end
  11587. if (start < 0) {
  11588. start += len
  11589. if (start < 0) start = 0
  11590. } else if (start > len) {
  11591. start = len
  11592. }
  11593. if (end < 0) {
  11594. end += len
  11595. if (end < 0) end = 0
  11596. } else if (end > len) {
  11597. end = len
  11598. }
  11599. if (end < start) end = start
  11600. var newBuf
  11601. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11602. newBuf = this.subarray(start, end)
  11603. newBuf.__proto__ = Buffer.prototype
  11604. } else {
  11605. var sliceLen = end - start
  11606. newBuf = new Buffer(sliceLen, undefined)
  11607. for (var i = 0; i < sliceLen; ++i) {
  11608. newBuf[i] = this[i + start]
  11609. }
  11610. }
  11611. return newBuf
  11612. }
  11613. /*
  11614. * Need to make sure that buffer isn't trying to write out of bounds.
  11615. */
  11616. function checkOffset (offset, ext, length) {
  11617. if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
  11618. if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
  11619. }
  11620. Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
  11621. offset = offset | 0
  11622. byteLength = byteLength | 0
  11623. if (!noAssert) checkOffset(offset, byteLength, this.length)
  11624. var val = this[offset]
  11625. var mul = 1
  11626. var i = 0
  11627. while (++i < byteLength && (mul *= 0x100)) {
  11628. val += this[offset + i] * mul
  11629. }
  11630. return val
  11631. }
  11632. Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
  11633. offset = offset | 0
  11634. byteLength = byteLength | 0
  11635. if (!noAssert) {
  11636. checkOffset(offset, byteLength, this.length)
  11637. }
  11638. var val = this[offset + --byteLength]
  11639. var mul = 1
  11640. while (byteLength > 0 && (mul *= 0x100)) {
  11641. val += this[offset + --byteLength] * mul
  11642. }
  11643. return val
  11644. }
  11645. Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
  11646. if (!noAssert) checkOffset(offset, 1, this.length)
  11647. return this[offset]
  11648. }
  11649. Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
  11650. if (!noAssert) checkOffset(offset, 2, this.length)
  11651. return this[offset] | (this[offset + 1] << 8)
  11652. }
  11653. Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
  11654. if (!noAssert) checkOffset(offset, 2, this.length)
  11655. return (this[offset] << 8) | this[offset + 1]
  11656. }
  11657. Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
  11658. if (!noAssert) checkOffset(offset, 4, this.length)
  11659. return ((this[offset]) |
  11660. (this[offset + 1] << 8) |
  11661. (this[offset + 2] << 16)) +
  11662. (this[offset + 3] * 0x1000000)
  11663. }
  11664. Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
  11665. if (!noAssert) checkOffset(offset, 4, this.length)
  11666. return (this[offset] * 0x1000000) +
  11667. ((this[offset + 1] << 16) |
  11668. (this[offset + 2] << 8) |
  11669. this[offset + 3])
  11670. }
  11671. Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
  11672. offset = offset | 0
  11673. byteLength = byteLength | 0
  11674. if (!noAssert) checkOffset(offset, byteLength, this.length)
  11675. var val = this[offset]
  11676. var mul = 1
  11677. var i = 0
  11678. while (++i < byteLength && (mul *= 0x100)) {
  11679. val += this[offset + i] * mul
  11680. }
  11681. mul *= 0x80
  11682. if (val >= mul) val -= Math.pow(2, 8 * byteLength)
  11683. return val
  11684. }
  11685. Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
  11686. offset = offset | 0
  11687. byteLength = byteLength | 0
  11688. if (!noAssert) checkOffset(offset, byteLength, this.length)
  11689. var i = byteLength
  11690. var mul = 1
  11691. var val = this[offset + --i]
  11692. while (i > 0 && (mul *= 0x100)) {
  11693. val += this[offset + --i] * mul
  11694. }
  11695. mul *= 0x80
  11696. if (val >= mul) val -= Math.pow(2, 8 * byteLength)
  11697. return val
  11698. }
  11699. Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
  11700. if (!noAssert) checkOffset(offset, 1, this.length)
  11701. if (!(this[offset] & 0x80)) return (this[offset])
  11702. return ((0xff - this[offset] + 1) * -1)
  11703. }
  11704. Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
  11705. if (!noAssert) checkOffset(offset, 2, this.length)
  11706. var val = this[offset] | (this[offset + 1] << 8)
  11707. return (val & 0x8000) ? val | 0xFFFF0000 : val
  11708. }
  11709. Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
  11710. if (!noAssert) checkOffset(offset, 2, this.length)
  11711. var val = this[offset + 1] | (this[offset] << 8)
  11712. return (val & 0x8000) ? val | 0xFFFF0000 : val
  11713. }
  11714. Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
  11715. if (!noAssert) checkOffset(offset, 4, this.length)
  11716. return (this[offset]) |
  11717. (this[offset + 1] << 8) |
  11718. (this[offset + 2] << 16) |
  11719. (this[offset + 3] << 24)
  11720. }
  11721. Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
  11722. if (!noAssert) checkOffset(offset, 4, this.length)
  11723. return (this[offset] << 24) |
  11724. (this[offset + 1] << 16) |
  11725. (this[offset + 2] << 8) |
  11726. (this[offset + 3])
  11727. }
  11728. Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
  11729. if (!noAssert) checkOffset(offset, 4, this.length)
  11730. return ieee754.read(this, offset, true, 23, 4)
  11731. }
  11732. Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
  11733. if (!noAssert) checkOffset(offset, 4, this.length)
  11734. return ieee754.read(this, offset, false, 23, 4)
  11735. }
  11736. Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
  11737. if (!noAssert) checkOffset(offset, 8, this.length)
  11738. return ieee754.read(this, offset, true, 52, 8)
  11739. }
  11740. Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
  11741. if (!noAssert) checkOffset(offset, 8, this.length)
  11742. return ieee754.read(this, offset, false, 52, 8)
  11743. }
  11744. function checkInt (buf, value, offset, ext, max, min) {
  11745. if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
  11746. if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
  11747. if (offset + ext > buf.length) throw new RangeError('Index out of range')
  11748. }
  11749. Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
  11750. value = +value
  11751. offset = offset | 0
  11752. byteLength = byteLength | 0
  11753. if (!noAssert) {
  11754. var maxBytes = Math.pow(2, 8 * byteLength) - 1
  11755. checkInt(this, value, offset, byteLength, maxBytes, 0)
  11756. }
  11757. var mul = 1
  11758. var i = 0
  11759. this[offset] = value & 0xFF
  11760. while (++i < byteLength && (mul *= 0x100)) {
  11761. this[offset + i] = (value / mul) & 0xFF
  11762. }
  11763. return offset + byteLength
  11764. }
  11765. Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
  11766. value = +value
  11767. offset = offset | 0
  11768. byteLength = byteLength | 0
  11769. if (!noAssert) {
  11770. var maxBytes = Math.pow(2, 8 * byteLength) - 1
  11771. checkInt(this, value, offset, byteLength, maxBytes, 0)
  11772. }
  11773. var i = byteLength - 1
  11774. var mul = 1
  11775. this[offset + i] = value & 0xFF
  11776. while (--i >= 0 && (mul *= 0x100)) {
  11777. this[offset + i] = (value / mul) & 0xFF
  11778. }
  11779. return offset + byteLength
  11780. }
  11781. Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
  11782. value = +value
  11783. offset = offset | 0
  11784. if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
  11785. if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
  11786. this[offset] = (value & 0xff)
  11787. return offset + 1
  11788. }
  11789. function objectWriteUInt16 (buf, value, offset, littleEndian) {
  11790. if (value < 0) value = 0xffff + value + 1
  11791. for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {
  11792. buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
  11793. (littleEndian ? i : 1 - i) * 8
  11794. }
  11795. }
  11796. Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
  11797. value = +value
  11798. offset = offset | 0
  11799. if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  11800. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11801. this[offset] = (value & 0xff)
  11802. this[offset + 1] = (value >>> 8)
  11803. } else {
  11804. objectWriteUInt16(this, value, offset, true)
  11805. }
  11806. return offset + 2
  11807. }
  11808. Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
  11809. value = +value
  11810. offset = offset | 0
  11811. if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
  11812. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11813. this[offset] = (value >>> 8)
  11814. this[offset + 1] = (value & 0xff)
  11815. } else {
  11816. objectWriteUInt16(this, value, offset, false)
  11817. }
  11818. return offset + 2
  11819. }
  11820. function objectWriteUInt32 (buf, value, offset, littleEndian) {
  11821. if (value < 0) value = 0xffffffff + value + 1
  11822. for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {
  11823. buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
  11824. }
  11825. }
  11826. Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
  11827. value = +value
  11828. offset = offset | 0
  11829. if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  11830. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11831. this[offset + 3] = (value >>> 24)
  11832. this[offset + 2] = (value >>> 16)
  11833. this[offset + 1] = (value >>> 8)
  11834. this[offset] = (value & 0xff)
  11835. } else {
  11836. objectWriteUInt32(this, value, offset, true)
  11837. }
  11838. return offset + 4
  11839. }
  11840. Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
  11841. value = +value
  11842. offset = offset | 0
  11843. if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
  11844. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11845. this[offset] = (value >>> 24)
  11846. this[offset + 1] = (value >>> 16)
  11847. this[offset + 2] = (value >>> 8)
  11848. this[offset + 3] = (value & 0xff)
  11849. } else {
  11850. objectWriteUInt32(this, value, offset, false)
  11851. }
  11852. return offset + 4
  11853. }
  11854. Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
  11855. value = +value
  11856. offset = offset | 0
  11857. if (!noAssert) {
  11858. var limit = Math.pow(2, 8 * byteLength - 1)
  11859. checkInt(this, value, offset, byteLength, limit - 1, -limit)
  11860. }
  11861. var i = 0
  11862. var mul = 1
  11863. var sub = 0
  11864. this[offset] = value & 0xFF
  11865. while (++i < byteLength && (mul *= 0x100)) {
  11866. if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
  11867. sub = 1
  11868. }
  11869. this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  11870. }
  11871. return offset + byteLength
  11872. }
  11873. Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
  11874. value = +value
  11875. offset = offset | 0
  11876. if (!noAssert) {
  11877. var limit = Math.pow(2, 8 * byteLength - 1)
  11878. checkInt(this, value, offset, byteLength, limit - 1, -limit)
  11879. }
  11880. var i = byteLength - 1
  11881. var mul = 1
  11882. var sub = 0
  11883. this[offset + i] = value & 0xFF
  11884. while (--i >= 0 && (mul *= 0x100)) {
  11885. if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
  11886. sub = 1
  11887. }
  11888. this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
  11889. }
  11890. return offset + byteLength
  11891. }
  11892. Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
  11893. value = +value
  11894. offset = offset | 0
  11895. if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
  11896. if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
  11897. if (value < 0) value = 0xff + value + 1
  11898. this[offset] = (value & 0xff)
  11899. return offset + 1
  11900. }
  11901. Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
  11902. value = +value
  11903. offset = offset | 0
  11904. if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  11905. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11906. this[offset] = (value & 0xff)
  11907. this[offset + 1] = (value >>> 8)
  11908. } else {
  11909. objectWriteUInt16(this, value, offset, true)
  11910. }
  11911. return offset + 2
  11912. }
  11913. Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
  11914. value = +value
  11915. offset = offset | 0
  11916. if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
  11917. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11918. this[offset] = (value >>> 8)
  11919. this[offset + 1] = (value & 0xff)
  11920. } else {
  11921. objectWriteUInt16(this, value, offset, false)
  11922. }
  11923. return offset + 2
  11924. }
  11925. Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
  11926. value = +value
  11927. offset = offset | 0
  11928. if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  11929. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11930. this[offset] = (value & 0xff)
  11931. this[offset + 1] = (value >>> 8)
  11932. this[offset + 2] = (value >>> 16)
  11933. this[offset + 3] = (value >>> 24)
  11934. } else {
  11935. objectWriteUInt32(this, value, offset, true)
  11936. }
  11937. return offset + 4
  11938. }
  11939. Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
  11940. value = +value
  11941. offset = offset | 0
  11942. if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
  11943. if (value < 0) value = 0xffffffff + value + 1
  11944. if (Buffer.TYPED_ARRAY_SUPPORT) {
  11945. this[offset] = (value >>> 24)
  11946. this[offset + 1] = (value >>> 16)
  11947. this[offset + 2] = (value >>> 8)
  11948. this[offset + 3] = (value & 0xff)
  11949. } else {
  11950. objectWriteUInt32(this, value, offset, false)
  11951. }
  11952. return offset + 4
  11953. }
  11954. function checkIEEE754 (buf, value, offset, ext, max, min) {
  11955. if (offset + ext > buf.length) throw new RangeError('Index out of range')
  11956. if (offset < 0) throw new RangeError('Index out of range')
  11957. }
  11958. function writeFloat (buf, value, offset, littleEndian, noAssert) {
  11959. if (!noAssert) {
  11960. checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
  11961. }
  11962. ieee754.write(buf, value, offset, littleEndian, 23, 4)
  11963. return offset + 4
  11964. }
  11965. Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
  11966. return writeFloat(this, value, offset, true, noAssert)
  11967. }
  11968. Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
  11969. return writeFloat(this, value, offset, false, noAssert)
  11970. }
  11971. function writeDouble (buf, value, offset, littleEndian, noAssert) {
  11972. if (!noAssert) {
  11973. checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
  11974. }
  11975. ieee754.write(buf, value, offset, littleEndian, 52, 8)
  11976. return offset + 8
  11977. }
  11978. Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
  11979. return writeDouble(this, value, offset, true, noAssert)
  11980. }
  11981. Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
  11982. return writeDouble(this, value, offset, false, noAssert)
  11983. }
  11984. // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
  11985. Buffer.prototype.copy = function copy (target, targetStart, start, end) {
  11986. if (!start) start = 0
  11987. if (!end && end !== 0) end = this.length
  11988. if (targetStart >= target.length) targetStart = target.length
  11989. if (!targetStart) targetStart = 0
  11990. if (end > 0 && end < start) end = start
  11991. // Copy 0 bytes; we're done
  11992. if (end === start) return 0
  11993. if (target.length === 0 || this.length === 0) return 0
  11994. // Fatal error conditions
  11995. if (targetStart < 0) {
  11996. throw new RangeError('targetStart out of bounds')
  11997. }
  11998. if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')
  11999. if (end < 0) throw new RangeError('sourceEnd out of bounds')
  12000. // Are we oob?
  12001. if (end > this.length) end = this.length
  12002. if (target.length - targetStart < end - start) {
  12003. end = target.length - targetStart + start
  12004. }
  12005. var len = end - start
  12006. var i
  12007. if (this === target && start < targetStart && targetStart < end) {
  12008. // descending copy from end
  12009. for (i = len - 1; i >= 0; --i) {
  12010. target[i + targetStart] = this[i + start]
  12011. }
  12012. } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
  12013. // ascending copy from start
  12014. for (i = 0; i < len; ++i) {
  12015. target[i + targetStart] = this[i + start]
  12016. }
  12017. } else {
  12018. Uint8Array.prototype.set.call(
  12019. target,
  12020. this.subarray(start, start + len),
  12021. targetStart
  12022. )
  12023. }
  12024. return len
  12025. }
  12026. // Usage:
  12027. // buffer.fill(number[, offset[, end]])
  12028. // buffer.fill(buffer[, offset[, end]])
  12029. // buffer.fill(string[, offset[, end]][, encoding])
  12030. Buffer.prototype.fill = function fill (val, start, end, encoding) {
  12031. // Handle string cases:
  12032. if (typeof val === 'string') {
  12033. if (typeof start === 'string') {
  12034. encoding = start
  12035. start = 0
  12036. end = this.length
  12037. } else if (typeof end === 'string') {
  12038. encoding = end
  12039. end = this.length
  12040. }
  12041. if (val.length === 1) {
  12042. var code = val.charCodeAt(0)
  12043. if (code < 256) {
  12044. val = code
  12045. }
  12046. }
  12047. if (encoding !== undefined && typeof encoding !== 'string') {
  12048. throw new TypeError('encoding must be a string')
  12049. }
  12050. if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
  12051. throw new TypeError('Unknown encoding: ' + encoding)
  12052. }
  12053. } else if (typeof val === 'number') {
  12054. val = val & 255
  12055. }
  12056. // Invalid ranges are not set to a default, so can range check early.
  12057. if (start < 0 || this.length < start || this.length < end) {
  12058. throw new RangeError('Out of range index')
  12059. }
  12060. if (end <= start) {
  12061. return this
  12062. }
  12063. start = start >>> 0
  12064. end = end === undefined ? this.length : end >>> 0
  12065. if (!val) val = 0
  12066. var i
  12067. if (typeof val === 'number') {
  12068. for (i = start; i < end; ++i) {
  12069. this[i] = val
  12070. }
  12071. } else {
  12072. var bytes = Buffer.isBuffer(val)
  12073. ? val
  12074. : utf8ToBytes(new Buffer(val, encoding).toString())
  12075. var len = bytes.length
  12076. for (i = 0; i < end - start; ++i) {
  12077. this[i + start] = bytes[i % len]
  12078. }
  12079. }
  12080. return this
  12081. }
  12082. // HELPER FUNCTIONS
  12083. // ================
  12084. var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
  12085. function base64clean (str) {
  12086. // Node strips out invalid characters like \n and \t from the string, base64-js does not
  12087. str = stringtrim(str).replace(INVALID_BASE64_RE, '')
  12088. // Node converts strings with length < 2 to ''
  12089. if (str.length < 2) return ''
  12090. // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
  12091. while (str.length % 4 !== 0) {
  12092. str = str + '='
  12093. }
  12094. return str
  12095. }
  12096. function stringtrim (str) {
  12097. if (str.trim) return str.trim()
  12098. return str.replace(/^\s+|\s+$/g, '')
  12099. }
  12100. function toHex (n) {
  12101. if (n < 16) return '0' + n.toString(16)
  12102. return n.toString(16)
  12103. }
  12104. function utf8ToBytes (string, units) {
  12105. units = units || Infinity
  12106. var codePoint
  12107. var length = string.length
  12108. var leadSurrogate = null
  12109. var bytes = []
  12110. for (var i = 0; i < length; ++i) {
  12111. codePoint = string.charCodeAt(i)
  12112. // is surrogate component
  12113. if (codePoint > 0xD7FF && codePoint < 0xE000) {
  12114. // last char was a lead
  12115. if (!leadSurrogate) {
  12116. // no lead yet
  12117. if (codePoint > 0xDBFF) {
  12118. // unexpected trail
  12119. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12120. continue
  12121. } else if (i + 1 === length) {
  12122. // unpaired lead
  12123. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12124. continue
  12125. }
  12126. // valid lead
  12127. leadSurrogate = codePoint
  12128. continue
  12129. }
  12130. // 2 leads in a row
  12131. if (codePoint < 0xDC00) {
  12132. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12133. leadSurrogate = codePoint
  12134. continue
  12135. }
  12136. // valid surrogate pair
  12137. codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
  12138. } else if (leadSurrogate) {
  12139. // valid bmp char, but last char was a lead
  12140. if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
  12141. }
  12142. leadSurrogate = null
  12143. // encode utf8
  12144. if (codePoint < 0x80) {
  12145. if ((units -= 1) < 0) break
  12146. bytes.push(codePoint)
  12147. } else if (codePoint < 0x800) {
  12148. if ((units -= 2) < 0) break
  12149. bytes.push(
  12150. codePoint >> 0x6 | 0xC0,
  12151. codePoint & 0x3F | 0x80
  12152. )
  12153. } else if (codePoint < 0x10000) {
  12154. if ((units -= 3) < 0) break
  12155. bytes.push(
  12156. codePoint >> 0xC | 0xE0,
  12157. codePoint >> 0x6 & 0x3F | 0x80,
  12158. codePoint & 0x3F | 0x80
  12159. )
  12160. } else if (codePoint < 0x110000) {
  12161. if ((units -= 4) < 0) break
  12162. bytes.push(
  12163. codePoint >> 0x12 | 0xF0,
  12164. codePoint >> 0xC & 0x3F | 0x80,
  12165. codePoint >> 0x6 & 0x3F | 0x80,
  12166. codePoint & 0x3F | 0x80
  12167. )
  12168. } else {
  12169. throw new Error('Invalid code point')
  12170. }
  12171. }
  12172. return bytes
  12173. }
  12174. function asciiToBytes (str) {
  12175. var byteArray = []
  12176. for (var i = 0; i < str.length; ++i) {
  12177. // Node's code seems to be doing this and not & 0x7F..
  12178. byteArray.push(str.charCodeAt(i) & 0xFF)
  12179. }
  12180. return byteArray
  12181. }
  12182. function utf16leToBytes (str, units) {
  12183. var c, hi, lo
  12184. var byteArray = []
  12185. for (var i = 0; i < str.length; ++i) {
  12186. if ((units -= 2) < 0) break
  12187. c = str.charCodeAt(i)
  12188. hi = c >> 8
  12189. lo = c % 256
  12190. byteArray.push(lo)
  12191. byteArray.push(hi)
  12192. }
  12193. return byteArray
  12194. }
  12195. function base64ToBytes (str) {
  12196. return base64.toByteArray(base64clean(str))
  12197. }
  12198. function blitBuffer (src, dst, offset, length) {
  12199. for (var i = 0; i < length; ++i) {
  12200. if ((i + offset >= dst.length) || (i >= src.length)) break
  12201. dst[i + offset] = src[i]
  12202. }
  12203. return i
  12204. }
  12205. function isnan (val) {
  12206. return val !== val // eslint-disable-line no-self-compare
  12207. }
  12208. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ 3)))
  12209. /***/ }),
  12210. /* 56 */
  12211. /*!*****************************************!*\
  12212. !*** ./node_modules/base64-js/index.js ***!
  12213. \*****************************************/
  12214. /*! no static exports found */
  12215. /***/ (function(module, exports, __webpack_require__) {
  12216. "use strict";
  12217. exports.byteLength = byteLength
  12218. exports.toByteArray = toByteArray
  12219. exports.fromByteArray = fromByteArray
  12220. var lookup = []
  12221. var revLookup = []
  12222. var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
  12223. var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
  12224. for (var i = 0, len = code.length; i < len; ++i) {
  12225. lookup[i] = code[i]
  12226. revLookup[code.charCodeAt(i)] = i
  12227. }
  12228. // Support decoding URL-safe base64 strings, as Node.js does.
  12229. // See: https://en.wikipedia.org/wiki/Base64#URL_applications
  12230. revLookup['-'.charCodeAt(0)] = 62
  12231. revLookup['_'.charCodeAt(0)] = 63
  12232. function getLens (b64) {
  12233. var len = b64.length
  12234. if (len % 4 > 0) {
  12235. throw new Error('Invalid string. Length must be a multiple of 4')
  12236. }
  12237. // Trim off extra bytes after placeholder bytes are found
  12238. // See: https://github.com/beatgammit/base64-js/issues/42
  12239. var validLen = b64.indexOf('=')
  12240. if (validLen === -1) validLen = len
  12241. var placeHoldersLen = validLen === len
  12242. ? 0
  12243. : 4 - (validLen % 4)
  12244. return [validLen, placeHoldersLen]
  12245. }
  12246. // base64 is 4/3 + up to two characters of the original data
  12247. function byteLength (b64) {
  12248. var lens = getLens(b64)
  12249. var validLen = lens[0]
  12250. var placeHoldersLen = lens[1]
  12251. return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
  12252. }
  12253. function _byteLength (b64, validLen, placeHoldersLen) {
  12254. return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
  12255. }
  12256. function toByteArray (b64) {
  12257. var tmp
  12258. var lens = getLens(b64)
  12259. var validLen = lens[0]
  12260. var placeHoldersLen = lens[1]
  12261. var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
  12262. var curByte = 0
  12263. // if there are placeholders, only get up to the last complete 4 chars
  12264. var len = placeHoldersLen > 0
  12265. ? validLen - 4
  12266. : validLen
  12267. var i
  12268. for (i = 0; i < len; i += 4) {
  12269. tmp =
  12270. (revLookup[b64.charCodeAt(i)] << 18) |
  12271. (revLookup[b64.charCodeAt(i + 1)] << 12) |
  12272. (revLookup[b64.charCodeAt(i + 2)] << 6) |
  12273. revLookup[b64.charCodeAt(i + 3)]
  12274. arr[curByte++] = (tmp >> 16) & 0xFF
  12275. arr[curByte++] = (tmp >> 8) & 0xFF
  12276. arr[curByte++] = tmp & 0xFF
  12277. }
  12278. if (placeHoldersLen === 2) {
  12279. tmp =
  12280. (revLookup[b64.charCodeAt(i)] << 2) |
  12281. (revLookup[b64.charCodeAt(i + 1)] >> 4)
  12282. arr[curByte++] = tmp & 0xFF
  12283. }
  12284. if (placeHoldersLen === 1) {
  12285. tmp =
  12286. (revLookup[b64.charCodeAt(i)] << 10) |
  12287. (revLookup[b64.charCodeAt(i + 1)] << 4) |
  12288. (revLookup[b64.charCodeAt(i + 2)] >> 2)
  12289. arr[curByte++] = (tmp >> 8) & 0xFF
  12290. arr[curByte++] = tmp & 0xFF
  12291. }
  12292. return arr
  12293. }
  12294. function tripletToBase64 (num) {
  12295. return lookup[num >> 18 & 0x3F] +
  12296. lookup[num >> 12 & 0x3F] +
  12297. lookup[num >> 6 & 0x3F] +
  12298. lookup[num & 0x3F]
  12299. }
  12300. function encodeChunk (uint8, start, end) {
  12301. var tmp
  12302. var output = []
  12303. for (var i = start; i < end; i += 3) {
  12304. tmp =
  12305. ((uint8[i] << 16) & 0xFF0000) +
  12306. ((uint8[i + 1] << 8) & 0xFF00) +
  12307. (uint8[i + 2] & 0xFF)
  12308. output.push(tripletToBase64(tmp))
  12309. }
  12310. return output.join('')
  12311. }
  12312. function fromByteArray (uint8) {
  12313. var tmp
  12314. var len = uint8.length
  12315. var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
  12316. var parts = []
  12317. var maxChunkLength = 16383 // must be multiple of 3
  12318. // go through the array every three bytes, we'll deal with trailing stuff later
  12319. for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
  12320. parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
  12321. }
  12322. // pad the end with zeros, but make sure to not forget the extra bytes
  12323. if (extraBytes === 1) {
  12324. tmp = uint8[len - 1]
  12325. parts.push(
  12326. lookup[tmp >> 2] +
  12327. lookup[(tmp << 4) & 0x3F] +
  12328. '=='
  12329. )
  12330. } else if (extraBytes === 2) {
  12331. tmp = (uint8[len - 2] << 8) + uint8[len - 1]
  12332. parts.push(
  12333. lookup[tmp >> 10] +
  12334. lookup[(tmp >> 4) & 0x3F] +
  12335. lookup[(tmp << 2) & 0x3F] +
  12336. '='
  12337. )
  12338. }
  12339. return parts.join('')
  12340. }
  12341. /***/ }),
  12342. /* 57 */
  12343. /*!***************************************!*\
  12344. !*** ./node_modules/ieee754/index.js ***!
  12345. \***************************************/
  12346. /*! no static exports found */
  12347. /***/ (function(module, exports) {
  12348. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  12349. <<<<<<< HEAD
  12350. exports.read = function (buffer, offset, isLE, mLen, nBytes) {
  12351. var e, m
  12352. var eLen = (nBytes * 8) - mLen - 1
  12353. var eMax = (1 << eLen) - 1
  12354. var eBias = eMax >> 1
  12355. var nBits = -7
  12356. var i = isLE ? (nBytes - 1) : 0
  12357. var d = isLE ? -1 : 1
  12358. var s = buffer[offset + i]
  12359. i += d
  12360. e = s & ((1 << (-nBits)) - 1)
  12361. s >>= (-nBits)
  12362. nBits += eLen
  12363. for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
  12364. m = e & ((1 << (-nBits)) - 1)
  12365. e >>= (-nBits)
  12366. nBits += mLen
  12367. for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
  12368. if (e === 0) {
  12369. e = 1 - eBias
  12370. } else if (e === eMax) {
  12371. return m ? NaN : ((s ? -1 : 1) * Infinity)
  12372. } else {
  12373. m = m + Math.pow(2, mLen)
  12374. e = e - eBias
  12375. }
  12376. return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
  12377. }
  12378. exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
  12379. var e, m, c
  12380. var eLen = (nBytes * 8) - mLen - 1
  12381. var eMax = (1 << eLen) - 1
  12382. var eBias = eMax >> 1
  12383. var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
  12384. var i = isLE ? 0 : (nBytes - 1)
  12385. var d = isLE ? 1 : -1
  12386. var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
  12387. value = Math.abs(value)
  12388. if (isNaN(value) || value === Infinity) {
  12389. m = isNaN(value) ? 1 : 0
  12390. e = eMax
  12391. } else {
  12392. e = Math.floor(Math.log(value) / Math.LN2)
  12393. if (value * (c = Math.pow(2, -e)) < 1) {
  12394. e--
  12395. c *= 2
  12396. }
  12397. if (e + eBias >= 1) {
  12398. value += rt / c
  12399. } else {
  12400. value += rt * Math.pow(2, 1 - eBias)
  12401. }
  12402. if (value * c >= 2) {
  12403. e++
  12404. c /= 2
  12405. }
  12406. if (e + eBias >= eMax) {
  12407. m = 0
  12408. e = eMax
  12409. } else if (e + eBias >= 1) {
  12410. m = ((value * c) - 1) * Math.pow(2, mLen)
  12411. e = e + eBias
  12412. } else {
  12413. m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
  12414. e = 0
  12415. }
  12416. }
  12417. for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
  12418. e = (e << mLen) | m
  12419. eLen += mLen
  12420. for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
  12421. buffer[offset + i - d] |= s * 128
  12422. }
  12423. /***/ }),
  12424. /* 58 */
  12425. /*!***************************************!*\
  12426. !*** ./node_modules/isarray/index.js ***!
  12427. \***************************************/
  12428. /*! no static exports found */
  12429. /***/ (function(module, exports) {
  12430. var toString = {}.toString;
  12431. module.exports = Array.isArray || function (arr) {
  12432. return toString.call(arr) == '[object Array]';
  12433. };
  12434. /***/ }),
  12435. /* 59 */
  12436. /*!******************************************************************************************************************************************!*\
  12437. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/util/route.js ***!
  12438. \******************************************************************************************************************************************/
  12439. /*! no static exports found */
  12440. /***/ (function(module, exports, __webpack_require__) {
  12441. "use strict";
  12442. /* WEBPACK VAR INJECTION */(function(uni) {
  12443. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  12444. Object.defineProperty(exports, "__esModule", {
  12445. value: true
  12446. });
  12447. exports.default = void 0;
  12448. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  12449. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  12450. var _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ 23));
  12451. var _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ 24));
  12452. /**
  12453. * 路由跳转方法,该方法相对于直接使用uni.xxx的好处是使用更加简单快捷
  12454. * 并且带有路由拦截功能
  12455. */
  12456. var Router = /*#__PURE__*/function () {
  12457. function Router() {
  12458. (0, _classCallCheck2.default)(this, Router);
  12459. // 原始属性定义
  12460. this.config = {
  12461. type: 'navigateTo',
  12462. url: '',
  12463. delta: 1,
  12464. // navigateBack页面后退时,回退的层数
  12465. params: {},
  12466. // 传递的参数
  12467. animationType: 'pop-in',
  12468. // 窗口动画,只在APP有效
  12469. animationDuration: 300,
  12470. // 窗口动画持续时间,单位毫秒,只在APP有效
  12471. intercept: false // 是否需要拦截
  12472. };
  12473. // 因为route方法是需要对外赋值给另外的对象使用,同时route内部有使用this,会导致route失去上下文
  12474. // 这里在构造函数中进行this绑定
  12475. this.route = this.route.bind(this);
  12476. }
  12477. // 判断url前面是否有"/",如果没有则加上,否则无法跳转
  12478. (0, _createClass2.default)(Router, [{
  12479. key: "addRootPath",
  12480. value: function addRootPath(url) {
  12481. return url[0] === '/' ? url : "/".concat(url);
  12482. }
  12483. // 整合路由参数
  12484. }, {
  12485. key: "mixinParam",
  12486. value: function mixinParam(url, params) {
  12487. url = url && this.addRootPath(url);
  12488. // 使用正则匹配,主要依据是判断是否有"/","?","="等,如“/page/index/index?name=mary"
  12489. // 如果有url中有get参数,转换后无需带上"?"
  12490. var query = '';
  12491. if (/.*\/.*\?.*=.*/.test(url)) {
  12492. // object对象转为get类型的参数
  12493. query = uni.$u.queryParams(params, false);
  12494. // 因为已有get参数,所以后面拼接的参数需要带上"&"隔开
  12495. return url += "&".concat(query);
  12496. }
  12497. // 直接拼接参数,因为此处url中没有后面的query参数,也就没有"?/&"之类的符号
  12498. query = uni.$u.queryParams(params);
  12499. return url += query;
  12500. }
  12501. // 对外的方法名称
  12502. }, {
  12503. key: "route",
  12504. value: function () {
  12505. var _route = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  12506. var options,
  12507. params,
  12508. mergeConfig,
  12509. isNext,
  12510. _args = arguments;
  12511. return _regenerator.default.wrap(function _callee$(_context) {
  12512. while (1) {
  12513. switch (_context.prev = _context.next) {
  12514. case 0:
  12515. options = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
  12516. params = _args.length > 1 && _args[1] !== undefined ? _args[1] : {};
  12517. // 合并用户的配置和内部的默认配置
  12518. mergeConfig = {};
  12519. if (typeof options === 'string') {
  12520. // 如果options为字符串,则为route(url, params)的形式
  12521. mergeConfig.url = this.mixinParam(options, params);
  12522. mergeConfig.type = 'navigateTo';
  12523. } else {
  12524. mergeConfig = uni.$u.deepMerge(this.config, options);
  12525. // 否则正常使用mergeConfig中的url和params进行拼接
  12526. mergeConfig.url = this.mixinParam(options.url, options.params);
  12527. }
  12528. // 如果本次跳转的路径和本页面路径一致,不执行跳转,防止用户快速点击跳转按钮,造成多次跳转同一个页面的问题
  12529. if (!(mergeConfig.url === uni.$u.page())) {
  12530. _context.next = 6;
  12531. break;
  12532. }
  12533. return _context.abrupt("return");
  12534. case 6:
  12535. if (params.intercept) {
  12536. this.config.intercept = params.intercept;
  12537. }
  12538. // params参数也带给拦截器
  12539. mergeConfig.params = params;
  12540. // 合并内外部参数
  12541. mergeConfig = uni.$u.deepMerge(this.config, mergeConfig);
  12542. // 判断用户是否定义了拦截器
  12543. if (!(typeof uni.$u.routeIntercept === 'function')) {
  12544. _context.next = 16;
  12545. break;
  12546. }
  12547. _context.next = 12;
  12548. return new Promise(function (resolve, reject) {
  12549. uni.$u.routeIntercept(mergeConfig, resolve);
  12550. });
  12551. case 12:
  12552. isNext = _context.sent;
  12553. // 如果isNext为true,则执行路由跳转
  12554. isNext && this.openPage(mergeConfig);
  12555. _context.next = 17;
  12556. break;
  12557. case 16:
  12558. this.openPage(mergeConfig);
  12559. case 17:
  12560. case "end":
  12561. return _context.stop();
  12562. }
  12563. }
  12564. }, _callee, this);
  12565. }));
  12566. function route() {
  12567. return _route.apply(this, arguments);
  12568. }
  12569. return route;
  12570. }() // 执行路由跳转
  12571. }, {
  12572. key: "openPage",
  12573. value: function openPage(config) {
  12574. // 解构参数
  12575. var url = config.url,
  12576. type = config.type,
  12577. delta = config.delta,
  12578. animationType = config.animationType,
  12579. animationDuration = config.animationDuration;
  12580. if (config.type == 'navigateTo' || config.type == 'to') {
  12581. uni.navigateTo({
  12582. url: url,
  12583. animationType: animationType,
  12584. animationDuration: animationDuration
  12585. });
  12586. }
  12587. if (config.type == 'redirectTo' || config.type == 'redirect') {
  12588. uni.redirectTo({
  12589. url: url
  12590. });
  12591. }
  12592. if (config.type == 'switchTab' || config.type == 'tab') {
  12593. uni.switchTab({
  12594. url: url
  12595. });
  12596. }
  12597. if (config.type == 'reLaunch' || config.type == 'launch') {
  12598. uni.reLaunch({
  12599. url: url
  12600. });
  12601. }
  12602. if (config.type == 'navigateBack' || config.type == 'back') {
  12603. uni.navigateBack({
  12604. delta: delta
  12605. });
  12606. }
  12607. }
  12608. }]);
  12609. return Router;
  12610. }();
  12611. var _default = new Router().route;
  12612. exports.default = _default;
  12613. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  12614. /***/ }),
  12615. /* 60 */
  12616. /*!******************************************************************************************************************************************************!*\
  12617. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/colorGradient.js ***!
  12618. \******************************************************************************************************************************************************/
  12619. /*! no static exports found */
  12620. /***/ (function(module, exports, __webpack_require__) {
  12621. "use strict";
  12622. Object.defineProperty(exports, "__esModule", {
  12623. value: true
  12624. });
  12625. exports.default = void 0;
  12626. /**
  12627. * 求两个颜色之间的渐变值
  12628. * @param {string} startColor 开始的颜色
  12629. * @param {string} endColor 结束的颜色
  12630. * @param {number} step 颜色等分的份额
  12631. * */
  12632. function colorGradient() {
  12633. var startColor = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'rgb(0, 0, 0)';
  12634. var endColor = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rgb(255, 255, 255)';
  12635. var step = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
  12636. var startRGB = hexToRgb(startColor, false); // 转换为rgb数组模式
  12637. var startR = startRGB[0];
  12638. var startG = startRGB[1];
  12639. var startB = startRGB[2];
  12640. var endRGB = hexToRgb(endColor, false);
  12641. var endR = endRGB[0];
  12642. var endG = endRGB[1];
  12643. var endB = endRGB[2];
  12644. var sR = (endR - startR) / step; // 总差值
  12645. var sG = (endG - startG) / step;
  12646. var sB = (endB - startB) / step;
  12647. var colorArr = [];
  12648. for (var i = 0; i < step; i++) {
  12649. // 计算每一步的hex值
  12650. var hex = rgbToHex("rgb(".concat(Math.round(sR * i + startR), ",").concat(Math.round(sG * i + startG), ",").concat(Math.round(sB * i + startB), ")"));
  12651. // 确保第一个颜色值为startColor的值
  12652. if (i === 0) hex = rgbToHex(startColor);
  12653. // 确保最后一个颜色值为endColor的值
  12654. if (i === step - 1) hex = rgbToHex(endColor);
  12655. colorArr.push(hex);
  12656. }
  12657. return colorArr;
  12658. }
  12659. // 将hex表示方式转换为rgb表示方式(这里返回rgb数组模式)
  12660. function hexToRgb(sColor) {
  12661. var str = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  12662. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  12663. sColor = String(sColor).toLowerCase();
  12664. if (sColor && reg.test(sColor)) {
  12665. if (sColor.length === 4) {
  12666. var sColorNew = '#';
  12667. for (var i = 1; i < 4; i += 1) {
  12668. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  12669. }
  12670. sColor = sColorNew;
  12671. }
  12672. // 处理六位的颜色值
  12673. var sColorChange = [];
  12674. for (var _i = 1; _i < 7; _i += 2) {
  12675. sColorChange.push(parseInt("0x".concat(sColor.slice(_i, _i + 2))));
  12676. }
  12677. if (!str) {
  12678. return sColorChange;
  12679. }
  12680. return "rgb(".concat(sColorChange[0], ",").concat(sColorChange[1], ",").concat(sColorChange[2], ")");
  12681. }
  12682. if (/^(rgb|RGB)/.test(sColor)) {
  12683. var arr = sColor.replace(/(?:\(|\)|rgb|RGB)*/g, '').split(',');
  12684. return arr.map(function (val) {
  12685. return Number(val);
  12686. });
  12687. }
  12688. return sColor;
  12689. }
  12690. // 将rgb表示方式转换为hex表示方式
  12691. function rgbToHex(rgb) {
  12692. var _this = rgb;
  12693. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  12694. if (/^(rgb|RGB)/.test(_this)) {
  12695. var aColor = _this.replace(/(?:\(|\)|rgb|RGB)*/g, '').split(',');
  12696. var strHex = '#';
  12697. for (var i = 0; i < aColor.length; i++) {
  12698. var hex = Number(aColor[i]).toString(16);
  12699. hex = String(hex).length == 1 ? "".concat(0, hex) : hex; // 保证每个rgb的值为2位
  12700. if (hex === '0') {
  12701. hex += hex;
  12702. }
  12703. strHex += hex;
  12704. }
  12705. if (strHex.length !== 7) {
  12706. strHex = _this;
  12707. }
  12708. return strHex;
  12709. }
  12710. if (reg.test(_this)) {
  12711. var aNum = _this.replace(/#/, '').split('');
  12712. if (aNum.length === 6) {
  12713. return _this;
  12714. }
  12715. if (aNum.length === 3) {
  12716. var numHex = '#';
  12717. for (var _i2 = 0; _i2 < aNum.length; _i2 += 1) {
  12718. numHex += aNum[_i2] + aNum[_i2];
  12719. }
  12720. return numHex;
  12721. }
  12722. } else {
  12723. return _this;
  12724. }
  12725. }
  12726. /**
  12727. * JS颜色十六进制转换为rgb或rgba,返回的格式为 rgba(255,255,255,0.5)字符串
  12728. * sHex为传入的十六进制的色值
  12729. * alpha为rgba的透明度
  12730. */
  12731. function colorToRgba(color, alpha) {
  12732. color = rgbToHex(color);
  12733. // 十六进制颜色值的正则表达式
  12734. var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;
  12735. /* 16进制颜色转为RGB格式 */
  12736. var sColor = String(color).toLowerCase();
  12737. if (sColor && reg.test(sColor)) {
  12738. if (sColor.length === 4) {
  12739. var sColorNew = '#';
  12740. for (var i = 1; i < 4; i += 1) {
  12741. sColorNew += sColor.slice(i, i + 1).concat(sColor.slice(i, i + 1));
  12742. }
  12743. sColor = sColorNew;
  12744. }
  12745. // 处理六位的颜色值
  12746. var sColorChange = [];
  12747. for (var _i3 = 1; _i3 < 7; _i3 += 2) {
  12748. sColorChange.push(parseInt("0x".concat(sColor.slice(_i3, _i3 + 2))));
  12749. }
  12750. // return sColorChange.join(',')
  12751. return "rgba(".concat(sColorChange.join(','), ",").concat(alpha, ")");
  12752. }
  12753. return sColor;
  12754. }
  12755. var _default = {
  12756. colorGradient: colorGradient,
  12757. hexToRgb: hexToRgb,
  12758. rgbToHex: rgbToHex,
  12759. colorToRgba: colorToRgba
  12760. };
  12761. exports.default = _default;
  12762. /***/ }),
  12763. /* 61 */
  12764. /*!*********************************************************************************************************************************************!*\
  12765. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/test.js ***!
  12766. \*********************************************************************************************************************************************/
  12767. /*! no static exports found */
  12768. /***/ (function(module, exports, __webpack_require__) {
  12769. "use strict";
  12770. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  12771. Object.defineProperty(exports, "__esModule", {
  12772. value: true
  12773. });
  12774. exports.default = void 0;
  12775. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  12776. /**
  12777. * 验证电子邮箱格式
  12778. */
  12779. function email(value) {
  12780. return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(value);
  12781. }
  12782. /**
  12783. * 验证手机格式
  12784. */
  12785. function mobile(value) {
  12786. return /^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(value);
  12787. }
  12788. /**
  12789. * 验证URL格式
  12790. */
  12791. function url(value) {
  12792. 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);
  12793. }
  12794. /**
  12795. * 验证日期格式
  12796. */
  12797. function date(value) {
  12798. if (!value) return false;
  12799. // 判断是否数值或者字符串数值(意味着为时间戳),转为数值,否则new Date无法识别字符串时间戳
  12800. if (number(value)) value = +value;
  12801. return !/Invalid|NaN/.test(new Date(value).toString());
  12802. }
  12803. /**
  12804. * 验证ISO类型的日期格式
  12805. */
  12806. function dateISO(value) {
  12807. return /^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(value);
  12808. }
  12809. /**
  12810. * 验证十进制数字
  12811. */
  12812. function number(value) {
  12813. return /^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(value);
  12814. }
  12815. /**
  12816. * 验证字符串
  12817. */
  12818. function string(value) {
  12819. return typeof value === 'string';
  12820. }
  12821. /**
  12822. * 验证整数
  12823. */
  12824. function digits(value) {
  12825. return /^\d+$/.test(value);
  12826. }
  12827. /**
  12828. * 验证身份证号码
  12829. */
  12830. function idCard(value) {
  12831. 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);
  12832. }
  12833. /**
  12834. * 是否车牌号
  12835. */
  12836. function carNo(value) {
  12837. // 新能源车牌
  12838. var xreg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/;
  12839. // 旧车牌
  12840. var creg = /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;
  12841. if (value.length === 7) {
  12842. return creg.test(value);
  12843. }
  12844. if (value.length === 8) {
  12845. return xreg.test(value);
  12846. }
  12847. return false;
  12848. }
  12849. /**
  12850. * 金额,只允许2位小数
  12851. */
  12852. function amount(value) {
  12853. // 金额,只允许保留两位小数
  12854. return /^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(value);
  12855. }
  12856. /**
  12857. * 中文
  12858. */
  12859. function chinese(value) {
  12860. var reg = /^[\u4e00-\u9fa5]+$/gi;
  12861. return reg.test(value);
  12862. }
  12863. /**
  12864. * 只能输入字母
  12865. */
  12866. function letter(value) {
  12867. return /^[a-zA-Z]*$/.test(value);
  12868. }
  12869. /**
  12870. * 只能是字母或者数字
  12871. */
  12872. function enOrNum(value) {
  12873. // 英文或者数字
  12874. var reg = /^[0-9a-zA-Z]*$/g;
  12875. return reg.test(value);
  12876. }
  12877. /**
  12878. * 验证是否包含某个值
  12879. */
  12880. function contains(value, param) {
  12881. return value.indexOf(param) >= 0;
  12882. }
  12883. /**
  12884. * 验证一个值范围[min, max]
  12885. */
  12886. function range(value, param) {
  12887. return value >= param[0] && value <= param[1];
  12888. }
  12889. /**
  12890. * 验证一个长度范围[min, max]
  12891. */
  12892. function rangeLength(value, param) {
  12893. return value.length >= param[0] && value.length <= param[1];
  12894. }
  12895. /**
  12896. * 是否固定电话
  12897. */
  12898. function landline(value) {
  12899. var reg = /^\d{3,4}-\d{7,8}(-\d{3,4})?$/;
  12900. return reg.test(value);
  12901. }
  12902. /**
  12903. * 判断是否为空
  12904. */
  12905. function empty(value) {
  12906. switch ((0, _typeof2.default)(value)) {
  12907. case 'undefined':
  12908. return true;
  12909. case 'string':
  12910. if (value.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) return true;
  12911. break;
  12912. case 'boolean':
  12913. if (!value) return true;
  12914. break;
  12915. case 'number':
  12916. if (value === 0 || isNaN(value)) return true;
  12917. break;
  12918. case 'object':
  12919. if (value === null || value.length === 0) return true;
  12920. for (var i in value) {
  12921. return false;
  12922. }
  12923. return true;
  12924. }
  12925. return false;
  12926. }
  12927. /**
  12928. * 是否json字符串
  12929. */
  12930. function jsonString(value) {
  12931. if (typeof value === 'string') {
  12932. try {
  12933. var obj = JSON.parse(value);
  12934. if ((0, _typeof2.default)(obj) === 'object' && obj) {
  12935. return true;
  12936. }
  12937. return false;
  12938. } catch (e) {
  12939. return false;
  12940. }
  12941. }
  12942. return false;
  12943. }
  12944. /**
  12945. * 是否数组
  12946. */
  12947. function array(value) {
  12948. if (typeof Array.isArray === 'function') {
  12949. return Array.isArray(value);
  12950. }
  12951. return Object.prototype.toString.call(value) === '[object Array]';
  12952. }
  12953. /**
  12954. * 是否对象
  12955. */
  12956. function object(value) {
  12957. return Object.prototype.toString.call(value) === '[object Object]';
  12958. }
  12959. /**
  12960. * 是否短信验证码
  12961. */
  12962. function code(value) {
  12963. var len = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 6;
  12964. return new RegExp("^\\d{".concat(len, "}$")).test(value);
  12965. }
  12966. /**
  12967. * 是否函数方法
  12968. * @param {Object} value
  12969. */
  12970. function func(value) {
  12971. return typeof value === 'function';
  12972. }
  12973. /**
  12974. * 是否promise对象
  12975. * @param {Object} value
  12976. */
  12977. function promise(value) {
  12978. return object(value) && func(value.then) && func(value.catch);
  12979. }
  12980. /** 是否图片格式
  12981. * @param {Object} value
  12982. */
  12983. function image(value) {
  12984. var newValue = value.split('?')[0];
  12985. var IMAGE_REGEXP = /\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;
  12986. return IMAGE_REGEXP.test(newValue);
  12987. }
  12988. /**
  12989. * 是否视频格式
  12990. * @param {Object} value
  12991. */
  12992. function video(value) {
  12993. var VIDEO_REGEXP = /\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i;
  12994. return VIDEO_REGEXP.test(value);
  12995. }
  12996. /**
  12997. * 是否为正则对象
  12998. * @param {Object}
  12999. * @return {Boolean}
  13000. */
  13001. function regExp(o) {
  13002. return o && Object.prototype.toString.call(o) === '[object RegExp]';
  13003. }
  13004. var _default = {
  13005. email: email,
  13006. mobile: mobile,
  13007. url: url,
  13008. date: date,
  13009. dateISO: dateISO,
  13010. number: number,
  13011. digits: digits,
  13012. idCard: idCard,
  13013. carNo: carNo,
  13014. amount: amount,
  13015. chinese: chinese,
  13016. letter: letter,
  13017. enOrNum: enOrNum,
  13018. contains: contains,
  13019. range: range,
  13020. rangeLength: rangeLength,
  13021. empty: empty,
  13022. isEmpty: empty,
  13023. jsonString: jsonString,
  13024. landline: landline,
  13025. object: object,
  13026. array: array,
  13027. code: code,
  13028. func: func,
  13029. promise: promise,
  13030. video: video,
  13031. image: image,
  13032. regExp: regExp,
  13033. string: string
  13034. };
  13035. exports.default = _default;
  13036. /***/ }),
  13037. /* 62 */
  13038. /*!*************************************************************************************************************************************************!*\
  13039. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/debounce.js ***!
  13040. \*************************************************************************************************************************************************/
  13041. /*! no static exports found */
  13042. /***/ (function(module, exports, __webpack_require__) {
  13043. "use strict";
  13044. Object.defineProperty(exports, "__esModule", {
  13045. value: true
  13046. });
  13047. exports.default = void 0;
  13048. var timeout = null;
  13049. /**
  13050. * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数
  13051. *
  13052. * @param {Function} func 要执行的回调函数
  13053. * @param {Number} wait 延时的时间
  13054. * @param {Boolean} immediate 是否立即执行
  13055. * @return null
  13056. */
  13057. function debounce(func) {
  13058. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  13059. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
  13060. // 清除定时器
  13061. if (timeout !== null) clearTimeout(timeout);
  13062. // 立即执行,此类情况一般用不到
  13063. if (immediate) {
  13064. var callNow = !timeout;
  13065. timeout = setTimeout(function () {
  13066. timeout = null;
  13067. }, wait);
  13068. if (callNow) typeof func === 'function' && func();
  13069. } else {
  13070. // 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法
  13071. timeout = setTimeout(function () {
  13072. typeof func === 'function' && func();
  13073. }, wait);
  13074. }
  13075. }
  13076. var _default = debounce;
  13077. exports.default = _default;
  13078. /***/ }),
  13079. /* 63 */
  13080. /*!*************************************************************************************************************************************************!*\
  13081. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/throttle.js ***!
  13082. \*************************************************************************************************************************************************/
  13083. /*! no static exports found */
  13084. /***/ (function(module, exports, __webpack_require__) {
  13085. "use strict";
  13086. Object.defineProperty(exports, "__esModule", {
  13087. value: true
  13088. });
  13089. exports.default = void 0;
  13090. var timer;
  13091. var flag;
  13092. /**
  13093. * 节流原理:在一定时间内,只能触发一次
  13094. *
  13095. * @param {Function} func 要执行的回调函数
  13096. * @param {Number} wait 延时的时间
  13097. * @param {Boolean} immediate 是否立即执行
  13098. * @return null
  13099. */
  13100. function throttle(func) {
  13101. var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
  13102. var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
  13103. if (immediate) {
  13104. if (!flag) {
  13105. flag = true;
  13106. // 如果是立即执行,则在wait毫秒内开始时执行
  13107. typeof func === 'function' && func();
  13108. timer = setTimeout(function () {
  13109. flag = false;
  13110. }, wait);
  13111. }
  13112. } else if (!flag) {
  13113. flag = true;
  13114. // 如果是非立即执行,则在wait毫秒内的结束处执行
  13115. timer = setTimeout(function () {
  13116. flag = false;
  13117. typeof func === 'function' && func();
  13118. }, wait);
  13119. }
  13120. }
  13121. var _default = throttle;
  13122. exports.default = _default;
  13123. /***/ }),
  13124. /* 64 */
  13125. /*!**********************************************************************************************************************************************!*\
  13126. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/index.js ***!
  13127. \**********************************************************************************************************************************************/
  13128. /*! no static exports found */
  13129. /***/ (function(module, exports, __webpack_require__) {
  13130. "use strict";
  13131. /* WEBPACK VAR INJECTION */(function(uni) {
  13132. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  13133. Object.defineProperty(exports, "__esModule", {
  13134. value: true
  13135. });
  13136. exports.default = void 0;
  13137. var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
  13138. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  13139. var _test = _interopRequireDefault(__webpack_require__(/*! ./test.js */ 61));
  13140. var _digit = __webpack_require__(/*! ./digit.js */ 65);
  13141. /**
  13142. * @description 如果value小于min,取min;如果value大于max,取max
  13143. * @param {number} min
  13144. * @param {number} max
  13145. * @param {number} value
  13146. */
  13147. function range() {
  13148. var min = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
  13149. var max = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  13150. var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
  13151. return Math.max(min, Math.min(max, Number(value)));
  13152. }
  13153. /**
  13154. * @description 用于获取用户传递值的px值 如果用户传递了"xxpx"或者"xxrpx",取出其数值部分,如果是"xxxrpx"还需要用过uni.upx2px进行转换
  13155. * @param {number|string} value 用户传递值的px值
  13156. * @param {boolean} unit
  13157. * @returns {number|string}
  13158. */
  13159. function getPx(value) {
  13160. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  13161. if (_test.default.number(value)) {
  13162. return unit ? "".concat(value, "px") : Number(value);
  13163. }
  13164. // 如果带有rpx,先取出其数值部分,再转为px值
  13165. if (/(rpx|upx)$/.test(value)) {
  13166. return unit ? "".concat(uni.upx2px(parseInt(value)), "px") : Number(uni.upx2px(parseInt(value)));
  13167. }
  13168. return unit ? "".concat(parseInt(value), "px") : parseInt(value);
  13169. }
  13170. /**
  13171. * @description 进行延时,以达到可以简写代码的目的 比如: await uni.$u.sleep(20)将会阻塞20ms
  13172. * @param {number} value 堵塞时间 单位ms 毫秒
  13173. * @returns {Promise} 返回promise
  13174. */
  13175. function sleep() {
  13176. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 30;
  13177. return new Promise(function (resolve) {
  13178. setTimeout(function () {
  13179. resolve();
  13180. }, value);
  13181. });
  13182. }
  13183. /**
  13184. * @description 运行期判断平台
  13185. * @returns {string} 返回所在平台(小写)
  13186. * @link 运行期判断平台 https://uniapp.dcloud.io/frame?id=判断平台
  13187. */
  13188. function os() {
  13189. return uni.getSystemInfoSync().platform.toLowerCase();
  13190. }
  13191. /**
  13192. * @description 获取系统信息同步接口
  13193. * @link 获取系统信息同步接口 https://uniapp.dcloud.io/api/system/info?id=getsysteminfosync
  13194. */
  13195. function sys() {
  13196. return uni.getSystemInfoSync();
  13197. }
  13198. /**
  13199. * @description 取一个区间数
  13200. * @param {Number} min 最小值
  13201. * @param {Number} max 最大值
  13202. */
  13203. function random(min, max) {
  13204. if (min >= 0 && max > 0 && max >= min) {
  13205. var gab = max - min + 1;
  13206. return Math.floor(Math.random() * gab + min);
  13207. }
  13208. return 0;
  13209. }
  13210. /**
  13211. * @param {Number} len uuid的长度
  13212. * @param {Boolean} firstU 将返回的首字母置为"u"
  13213. * @param {Nubmer} radix 生成uuid的基数(意味着返回的字符串都是这个基数),2-二进制,8-八进制,10-十进制,16-十六进制
  13214. */
  13215. function guid() {
  13216. var len = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 32;
  13217. var firstU = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  13218. var radix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
  13219. var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
  13220. var uuid = [];
  13221. radix = radix || chars.length;
  13222. if (len) {
  13223. // 如果指定uuid长度,只是取随机的字符,0|x为位运算,能去掉x的小数位,返回整数位
  13224. for (var i = 0; i < len; i++) {
  13225. uuid[i] = chars[0 | Math.random() * radix];
  13226. }
  13227. } else {
  13228. var r;
  13229. // rfc4122标准要求返回的uuid中,某些位为固定的字符
  13230. uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
  13231. uuid[14] = '4';
  13232. for (var _i = 0; _i < 36; _i++) {
  13233. if (!uuid[_i]) {
  13234. r = 0 | Math.random() * 16;
  13235. uuid[_i] = chars[_i == 19 ? r & 0x3 | 0x8 : r];
  13236. }
  13237. }
  13238. }
  13239. // 移除第一个字符,并用u替代,因为第一个字符为数值时,该guuid不能用作id或者class
  13240. if (firstU) {
  13241. uuid.shift();
  13242. return "u".concat(uuid.join(''));
  13243. }
  13244. return uuid.join('');
  13245. }
  13246. /**
  13247. * @description 获取父组件的参数,因为支付宝小程序不支持provide/inject的写法
  13248. this.$parent在非H5中,可以准确获取到父组件,但是在H5中,需要多次this.$parent.$parent.xxx
  13249. 这里默认值等于undefined有它的含义,因为最顶层元素(组件)的$parent就是undefined,意味着不传name
  13250. 值(默认为undefined),就是查找最顶层的$parent
  13251. * @param {string|undefined} name 父组件的参数名
  13252. */
  13253. function $parent() {
  13254. var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
  13255. var parent = this.$parent;
  13256. // 通过while历遍,这里主要是为了H5需要多层解析的问题
  13257. while (parent) {
  13258. // 父组件
  13259. if (parent.$options && parent.$options.name !== name) {
  13260. // 如果组件的name不相等,继续上一级寻找
  13261. parent = parent.$parent;
  13262. } else {
  13263. return parent;
  13264. }
  13265. }
  13266. return false;
  13267. }
  13268. /**
  13269. * @description 样式转换
  13270. * 对象转字符串,或者字符串转对象
  13271. * @param {object | string} customStyle 需要转换的目标
  13272. * @param {String} target 转换的目的,object-转为对象,string-转为字符串
  13273. * @returns {object|string}
  13274. */
  13275. function addStyle(customStyle) {
  13276. var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'object';
  13277. // 字符串转字符串,对象转对象情形,直接返回
  13278. if (_test.default.empty(customStyle) || (0, _typeof2.default)(customStyle) === 'object' && target === 'object' || target === 'string' && typeof customStyle === 'string') {
  13279. return customStyle;
  13280. }
  13281. // 字符串转对象
  13282. if (target === 'object') {
  13283. // 去除字符串样式中的两端空格(中间的空格不能去掉,比如padding: 20px 0如果去掉了就错了),空格是无用的
  13284. customStyle = trim(customStyle);
  13285. // 根据";"将字符串转为数组形式
  13286. var styleArray = customStyle.split(';');
  13287. var style = {};
  13288. // 历遍数组,拼接成对象
  13289. for (var i = 0; i < styleArray.length; i++) {
  13290. // 'font-size:20px;color:red;',如此最后字符串有";"的话,会导致styleArray最后一个元素为空字符串,这里需要过滤
  13291. if (styleArray[i]) {
  13292. var item = styleArray[i].split(':');
  13293. style[trim(item[0])] = trim(item[1]);
  13294. }
  13295. }
  13296. return style;
  13297. }
  13298. // 这里为对象转字符串形式
  13299. var string = '';
  13300. for (var _i2 in customStyle) {
  13301. // 驼峰转为中划线的形式,否则css内联样式,无法识别驼峰样式属性名
  13302. var key = _i2.replace(/([A-Z])/g, '-$1').toLowerCase();
  13303. string += "".concat(key, ":").concat(customStyle[_i2], ";");
  13304. }
  13305. // 去除两端空格
  13306. return trim(string);
  13307. }
  13308. /**
  13309. * @description 添加单位,如果有rpx,upx,%,px等单位结尾或者值为auto,直接返回,否则加上px单位结尾
  13310. * @param {string|number} value 需要添加单位的值
  13311. * @param {string} unit 添加的单位名 比如px
  13312. */
  13313. function addUnit() {
  13314. var _uni$$u$config$unit, _uni, _uni$$u, _uni$$u$config;
  13315. var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'auto';
  13316. 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';
  13317. value = String(value);
  13318. // 用uView内置验证规则中的number判断是否为数值
  13319. return _test.default.number(value) ? "".concat(value).concat(unit) : value;
  13320. }
  13321. /**
  13322. * @description 深度克隆
  13323. * @param {object} obj 需要深度克隆的对象
  13324. * @returns {*} 克隆后的对象或者原值(不是对象)
  13325. */
  13326. function deepClone(obj) {
  13327. // 对常见的“非”值,直接返回原来值
  13328. if ([null, undefined, NaN, false].includes(obj)) return obj;
  13329. if ((0, _typeof2.default)(obj) !== 'object' && typeof obj !== 'function') {
  13330. // 原始类型直接返回
  13331. return obj;
  13332. }
  13333. var o = _test.default.array(obj) ? [] : {};
  13334. for (var i in obj) {
  13335. if (obj.hasOwnProperty(i)) {
  13336. o[i] = (0, _typeof2.default)(obj[i]) === 'object' ? deepClone(obj[i]) : obj[i];
  13337. }
  13338. }
  13339. return o;
  13340. }
  13341. /**
  13342. * @description JS对象深度合并
  13343. * @param {object} target 需要拷贝的对象
  13344. * @param {object} source 拷贝的来源对象
  13345. * @returns {object|boolean} 深度合并后的对象或者false(入参有不是对象)
  13346. */
  13347. function deepMerge() {
  13348. var target = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  13349. var source = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  13350. target = deepClone(target);
  13351. if ((0, _typeof2.default)(target) !== 'object' || (0, _typeof2.default)(source) !== 'object') return false;
  13352. for (var prop in source) {
  13353. if (!source.hasOwnProperty(prop)) continue;
  13354. if (prop in target) {
  13355. if ((0, _typeof2.default)(target[prop]) !== 'object') {
  13356. target[prop] = source[prop];
  13357. } else if ((0, _typeof2.default)(source[prop]) !== 'object') {
  13358. target[prop] = source[prop];
  13359. } else if (target[prop].concat && source[prop].concat) {
  13360. target[prop] = target[prop].concat(source[prop]);
  13361. } else {
  13362. target[prop] = deepMerge(target[prop], source[prop]);
  13363. }
  13364. } else {
  13365. target[prop] = source[prop];
  13366. }
  13367. }
  13368. return target;
  13369. }
  13370. /**
  13371. * @description error提示
  13372. * @param {*} err 错误内容
  13373. */
  13374. function error(err) {
  13375. // 开发环境才提示,生产环境不会提示
  13376. if (true) {
  13377. console.error("uView\u63D0\u793A\uFF1A".concat(err));
  13378. }
  13379. }
  13380. /**
  13381. * @description 打乱数组
  13382. * @param {array} array 需要打乱的数组
  13383. * @returns {array} 打乱后的数组
  13384. */
  13385. function randomArray() {
  13386. var array = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
  13387. // 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0
  13388. return array.sort(function () {
  13389. return Math.random() - 0.5;
  13390. });
  13391. }
  13392. // padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
  13393. // 所以这里做一个兼容polyfill的兼容处理
  13394. if (!String.prototype.padStart) {
  13395. // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
  13396. String.prototype.padStart = function (maxLength) {
  13397. var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
  13398. if (Object.prototype.toString.call(fillString) !== '[object String]') {
  13399. throw new TypeError('fillString must be String');
  13400. }
  13401. var str = this;
  13402. // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
  13403. if (str.length >= maxLength) return String(str);
  13404. var fillLength = maxLength - str.length;
  13405. var times = Math.ceil(fillLength / fillString.length);
  13406. while (times >>= 1) {
  13407. fillString += fillString;
  13408. if (times === 1) {
  13409. fillString += fillString;
  13410. }
  13411. }
  13412. return fillString.slice(0, fillLength) + str;
  13413. };
  13414. }
  13415. /**
  13416. * @description 格式化时间
  13417. * @param {String|Number} dateTime 需要格式化的时间戳
  13418. * @param {String} fmt 格式化规则 yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合 默认yyyy-mm-dd
  13419. * @returns {string} 返回格式化后的字符串
  13420. */
  13421. function timeFormat() {
  13422. var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  13423. var formatStr = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  13424. var date;
  13425. // 若传入时间为假值,则取当前时间
  13426. if (!dateTime) {
  13427. date = new Date();
  13428. }
  13429. // 若为unix秒时间戳,则转为毫秒时间戳(逻辑有点奇怪,但不敢改,以保证历史兼容)
  13430. else if (/^\d{10}$/.test(dateTime === null || dateTime === void 0 ? void 0 : dateTime.toString().trim())) {
  13431. date = new Date(dateTime * 1000);
  13432. }
  13433. // 若用户传入字符串格式时间戳,new Date无法解析,需做兼容
  13434. else if (typeof dateTime === 'string' && /^\d+$/.test(dateTime.trim())) {
  13435. date = new Date(Number(dateTime));
  13436. }
  13437. // 处理平台性差异,在Safari/Webkit中,new Date仅支持/作为分割符的字符串时间
  13438. // 处理 '2022-07-10 01:02:03',跳过 '2022-07-10T01:02:03'
  13439. else if (typeof dateTime === 'string' && dateTime.includes('-') && !dateTime.includes('T')) {
  13440. date = new Date(dateTime.replace(/-/g, '/'));
  13441. }
  13442. // 其他都认为符合 RFC 2822 规范
  13443. else {
  13444. date = new Date(dateTime);
  13445. }
  13446. var timeSource = {
  13447. 'y': date.getFullYear().toString(),
  13448. // 年
  13449. 'm': (date.getMonth() + 1).toString().padStart(2, '0'),
  13450. // 月
  13451. 'd': date.getDate().toString().padStart(2, '0'),
  13452. // 日
  13453. 'h': date.getHours().toString().padStart(2, '0'),
  13454. // 时
  13455. 'M': date.getMinutes().toString().padStart(2, '0'),
  13456. // 分
  13457. 's': date.getSeconds().toString().padStart(2, '0') // 秒
  13458. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  13459. };
  13460. for (var key in timeSource) {
  13461. var _ref = new RegExp("".concat(key, "+")).exec(formatStr) || [],
  13462. _ref2 = (0, _slicedToArray2.default)(_ref, 1),
  13463. ret = _ref2[0];
  13464. if (ret) {
  13465. // 年可能只需展示两位
  13466. var beginIndex = key === 'y' && ret.length === 2 ? 2 : 0;
  13467. formatStr = formatStr.replace(ret, timeSource[key].slice(beginIndex));
  13468. }
  13469. }
  13470. return formatStr;
  13471. }
  13472. /**
  13473. * @description 时间戳转为多久之前
  13474. * @param {String|Number} timestamp 时间戳
  13475. * @param {String|Boolean} format
  13476. * 格式化规则如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
  13477. * 如果为布尔值false,无论什么时间,都返回多久以前的格式
  13478. * @returns {string} 转化后的内容
  13479. */
  13480. function timeFrom() {
  13481. var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
  13482. var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
  13483. if (timestamp == null) timestamp = Number(new Date());
  13484. timestamp = parseInt(timestamp);
  13485. // 判断用户输入的时间戳是秒还是毫秒,一般前端js获取的时间戳是毫秒(13位),后端传过来的为秒(10位)
  13486. if (timestamp.toString().length == 10) timestamp *= 1000;
  13487. var timer = new Date().getTime() - timestamp;
  13488. timer = parseInt(timer / 1000);
  13489. // 如果小于5分钟,则返回"刚刚",其他以此类推
  13490. var tips = '';
  13491. switch (true) {
  13492. case timer < 300:
  13493. tips = '刚刚';
  13494. break;
  13495. case timer >= 300 && timer < 3600:
  13496. tips = "".concat(parseInt(timer / 60), "\u5206\u949F\u524D");
  13497. break;
  13498. case timer >= 3600 && timer < 86400:
  13499. tips = "".concat(parseInt(timer / 3600), "\u5C0F\u65F6\u524D");
  13500. break;
  13501. case timer >= 86400 && timer < 2592000:
  13502. tips = "".concat(parseInt(timer / 86400), "\u5929\u524D");
  13503. break;
  13504. default:
  13505. // 如果format为false,则无论什么时间戳,都显示xx之前
  13506. if (format === false) {
  13507. if (timer >= 2592000 && timer < 365 * 86400) {
  13508. tips = "".concat(parseInt(timer / (86400 * 30)), "\u4E2A\u6708\u524D");
  13509. } else {
  13510. tips = "".concat(parseInt(timer / (86400 * 365)), "\u5E74\u524D");
  13511. }
  13512. } else {
  13513. tips = timeFormat(timestamp, format);
  13514. }
  13515. }
  13516. return tips;
  13517. }
  13518. /**
  13519. * @description 去除空格
  13520. * @param String str 需要去除空格的字符串
  13521. * @param String pos both(左右)|left|right|all 默认both
  13522. */
  13523. function trim(str) {
  13524. var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'both';
  13525. str = String(str);
  13526. if (pos == 'both') {
  13527. return str.replace(/^\s+|\s+$/g, '');
  13528. }
  13529. if (pos == 'left') {
  13530. return str.replace(/^\s*/, '');
  13531. }
  13532. if (pos == 'right') {
  13533. return str.replace(/(\s*$)/g, '');
  13534. }
  13535. if (pos == 'all') {
  13536. return str.replace(/\s+/g, '');
  13537. }
  13538. return str;
  13539. }
  13540. /**
  13541. * @description 对象转url参数
  13542. * @param {object} data,对象
  13543. * @param {Boolean} isPrefix,是否自动加上"?"
  13544. * @param {string} arrayFormat 规则 indices|brackets|repeat|comma
  13545. */
  13546. function queryParams() {
  13547. var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  13548. var isPrefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  13549. var arrayFormat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'brackets';
  13550. var prefix = isPrefix ? '?' : '';
  13551. var _result = [];
  13552. if (['indices', 'brackets', 'repeat', 'comma'].indexOf(arrayFormat) == -1) arrayFormat = 'brackets';
  13553. var _loop = function _loop(key) {
  13554. var value = data[key];
  13555. // 去掉为空的参数
  13556. if (['', undefined, null].indexOf(value) >= 0) {
  13557. return "continue";
  13558. }
  13559. // 如果值为数组,另行处理
  13560. if (value.constructor === Array) {
  13561. // e.g. {ids: [1, 2, 3]}
  13562. switch (arrayFormat) {
  13563. case 'indices':
  13564. // 结果: ids[0]=1&ids[1]=2&ids[2]=3
  13565. for (var i = 0; i < value.length; i++) {
  13566. _result.push("".concat(key, "[").concat(i, "]=").concat(value[i]));
  13567. }
  13568. break;
  13569. case 'brackets':
  13570. // 结果: ids[]=1&ids[]=2&ids[]=3
  13571. value.forEach(function (_value) {
  13572. _result.push("".concat(key, "[]=").concat(_value));
  13573. });
  13574. break;
  13575. case 'repeat':
  13576. // 结果: ids=1&ids=2&ids=3
  13577. value.forEach(function (_value) {
  13578. _result.push("".concat(key, "=").concat(_value));
  13579. });
  13580. break;
  13581. case 'comma':
  13582. // 结果: ids=1,2,3
  13583. var commaStr = '';
  13584. value.forEach(function (_value) {
  13585. commaStr += (commaStr ? ',' : '') + _value;
  13586. });
  13587. _result.push("".concat(key, "=").concat(commaStr));
  13588. break;
  13589. default:
  13590. value.forEach(function (_value) {
  13591. _result.push("".concat(key, "[]=").concat(_value));
  13592. });
  13593. }
  13594. } else {
  13595. _result.push("".concat(key, "=").concat(value));
  13596. }
  13597. };
  13598. for (var key in data) {
  13599. var _ret = _loop(key);
  13600. if (_ret === "continue") continue;
  13601. }
  13602. return _result.length ? prefix + _result.join('&') : '';
  13603. }
  13604. /**
  13605. * 显示消息提示框
  13606. * @param {String} title 提示的内容,长度与 icon 取值有关。
  13607. * @param {Number} duration 提示的延迟时间,单位毫秒,默认:2000
  13608. */
  13609. function toast(title) {
  13610. var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2000;
  13611. uni.showToast({
  13612. title: String(title),
  13613. icon: 'none',
  13614. duration: duration
  13615. });
  13616. }
  13617. /**
  13618. * @description 根据主题type值,获取对应的图标
  13619. * @param {String} type 主题名称,primary|info|error|warning|success
  13620. * @param {boolean} fill 是否使用fill填充实体的图标
  13621. */
  13622. function type2icon() {
  13623. var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
  13624. var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  13625. // 如果非预置值,默认为success
  13626. if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
  13627. var iconName = '';
  13628. // 目前(2019-12-12),info和primary使用同一个图标
  13629. switch (type) {
  13630. case 'primary':
  13631. iconName = 'info-circle';
  13632. break;
  13633. case 'info':
  13634. iconName = 'info-circle';
  13635. break;
  13636. case 'error':
  13637. iconName = 'close-circle';
  13638. break;
  13639. case 'warning':
  13640. iconName = 'error-circle';
  13641. break;
  13642. case 'success':
  13643. iconName = 'checkmark-circle';
  13644. break;
  13645. default:
  13646. iconName = 'checkmark-circle';
  13647. }
  13648. // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
  13649. if (fill) iconName += '-fill';
  13650. return iconName;
  13651. }
  13652. /**
  13653. * @description 数字格式化
  13654. * @param {number|string} number 要格式化的数字
  13655. * @param {number} decimals 保留几位小数
  13656. * @param {string} decimalPoint 小数点符号
  13657. * @param {string} thousandsSeparator 千分位符号
  13658. * @returns {string} 格式化后的数字
  13659. */
  13660. function priceFormat(number) {
  13661. var decimals = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  13662. var decimalPoint = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '.';
  13663. var thousandsSeparator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : ',';
  13664. number = "".concat(number).replace(/[^0-9+-Ee.]/g, '');
  13665. var n = !isFinite(+number) ? 0 : +number;
  13666. var prec = !isFinite(+decimals) ? 0 : Math.abs(decimals);
  13667. var sep = typeof thousandsSeparator === 'undefined' ? ',' : thousandsSeparator;
  13668. var dec = typeof decimalPoint === 'undefined' ? '.' : decimalPoint;
  13669. var s = '';
  13670. s = (prec ? (0, _digit.round)(n, prec) + '' : "".concat(Math.round(n))).split('.');
  13671. var re = /(-?\d+)(\d{3})/;
  13672. while (re.test(s[0])) {
  13673. s[0] = s[0].replace(re, "$1".concat(sep, "$2"));
  13674. }
  13675. if ((s[1] || '').length < prec) {
  13676. s[1] = s[1] || '';
  13677. s[1] += new Array(prec - s[1].length + 1).join('0');
  13678. }
  13679. return s.join(dec);
  13680. }
  13681. /**
  13682. * @description 获取duration值
  13683. * 如果带有ms或者s直接返回,如果大于一定值,认为是ms单位,小于一定值,认为是s单位
  13684. * 比如以30位阈值,那么300大于30,可以理解为用户想要的是300ms,而不是想花300s去执行一个动画
  13685. * @param {String|number} value 比如: "1s"|"100ms"|1|100
  13686. * @param {boolean} unit 提示: 如果是false 默认返回number
  13687. * @return {string|number}
  13688. */
  13689. function getDuration(value) {
  13690. var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
  13691. var valueNum = parseInt(value);
  13692. if (unit) {
  13693. if (/s$/.test(value)) return value;
  13694. return value > 30 ? "".concat(value, "ms") : "".concat(value, "s");
  13695. }
  13696. if (/ms$/.test(value)) return valueNum;
  13697. if (/s$/.test(value)) return valueNum > 30 ? valueNum : valueNum * 1000;
  13698. return valueNum;
  13699. }
  13700. /**
  13701. * @description 日期的月或日补零操作
  13702. * @param {String} value 需要补零的值
  13703. */
  13704. function padZero(value) {
  13705. return "00".concat(value).slice(-2);
  13706. }
  13707. /**
  13708. * @description 在u-form的子组件内容发生变化,或者失去焦点时,尝试通知u-form执行校验方法
  13709. * @param {*} instance
  13710. * @param {*} event
  13711. */
  13712. function formValidate(instance, event) {
  13713. var formItem = uni.$u.$parent.call(instance, 'u-form-item');
  13714. var form = uni.$u.$parent.call(instance, 'u-form');
  13715. // 如果发生变化的input或者textarea等,其父组件中有u-form-item或者u-form等,就执行form的validate方法
  13716. // 同时将form-item的pros传递给form,让其进行精确对象验证
  13717. if (formItem && form) {
  13718. form.validateField(formItem.prop, function () {}, event);
  13719. }
  13720. }
  13721. /**
  13722. * @description 获取某个对象下的属性,用于通过类似'a.b.c'的形式去获取一个对象的的属性的形式
  13723. * @param {object} obj 对象
  13724. * @param {string} key 需要获取的属性字段
  13725. * @returns {*}
  13726. */
  13727. function getProperty(obj, key) {
  13728. if (!obj) {
  13729. return;
  13730. }
  13731. if (typeof key !== 'string' || key === '') {
  13732. return '';
  13733. }
  13734. if (key.indexOf('.') !== -1) {
  13735. var keys = key.split('.');
  13736. var firstObj = obj[keys[0]] || {};
  13737. for (var i = 1; i < keys.length; i++) {
  13738. if (firstObj) {
  13739. firstObj = firstObj[keys[i]];
  13740. }
  13741. }
  13742. return firstObj;
  13743. }
  13744. return obj[key];
  13745. }
  13746. /**
  13747. * @description 设置对象的属性值,如果'a.b.c'的形式进行设置
  13748. * @param {object} obj 对象
  13749. * @param {string} key 需要设置的属性
  13750. * @param {string} value 设置的值
  13751. */
  13752. function setProperty(obj, key, value) {
  13753. if (!obj) {
  13754. return;
  13755. }
  13756. // 递归赋值
  13757. var inFn = function inFn(_obj, keys, v) {
  13758. // 最后一个属性key
  13759. if (keys.length === 1) {
  13760. _obj[keys[0]] = v;
  13761. return;
  13762. }
  13763. // 0~length-1个key
  13764. while (keys.length > 1) {
  13765. var k = keys[0];
  13766. if (!_obj[k] || (0, _typeof2.default)(_obj[k]) !== 'object') {
  13767. _obj[k] = {};
  13768. }
  13769. var _key = keys.shift();
  13770. // 自调用判断是否存在属性,不存在则自动创建对象
  13771. inFn(_obj[k], keys, v);
  13772. }
  13773. };
  13774. if (typeof key !== 'string' || key === '') {} else if (key.indexOf('.') !== -1) {
  13775. // 支持多层级赋值操作
  13776. var keys = key.split('.');
  13777. inFn(obj, keys, value);
  13778. } else {
  13779. obj[key] = value;
  13780. }
  13781. }
  13782. /**
  13783. * @description 获取当前页面路径
  13784. */
  13785. function page() {
  13786. var _pages$route, _pages;
  13787. var pages = getCurrentPages();
  13788. // 某些特殊情况下(比如页面进行redirectTo时的一些时机),pages可能为空数组
  13789. return "/".concat((_pages$route = (_pages = pages[pages.length - 1]) === null || _pages === void 0 ? void 0 : _pages.route) !== null && _pages$route !== void 0 ? _pages$route : '');
  13790. }
  13791. /**
  13792. * @description 获取当前路由栈实例数组
  13793. */
  13794. function pages() {
  13795. var pages = getCurrentPages();
  13796. return pages;
  13797. }
  13798. /**
  13799. * @description 修改uView内置属性值
  13800. * @param {object} props 修改内置props属性
  13801. * @param {object} config 修改内置config属性
  13802. * @param {object} color 修改内置color属性
  13803. * @param {object} zIndex 修改内置zIndex属性
  13804. */
  13805. function setConfig(_ref3) {
  13806. var _ref3$props = _ref3.props,
  13807. props = _ref3$props === void 0 ? {} : _ref3$props,
  13808. _ref3$config = _ref3.config,
  13809. config = _ref3$config === void 0 ? {} : _ref3$config,
  13810. _ref3$color = _ref3.color,
  13811. color = _ref3$color === void 0 ? {} : _ref3$color,
  13812. _ref3$zIndex = _ref3.zIndex,
  13813. zIndex = _ref3$zIndex === void 0 ? {} : _ref3$zIndex;
  13814. var deepMerge = uni.$u.deepMerge;
  13815. uni.$u.config = deepMerge(uni.$u.config, config);
  13816. uni.$u.props = deepMerge(uni.$u.props, props);
  13817. uni.$u.color = deepMerge(uni.$u.color, color);
  13818. uni.$u.zIndex = deepMerge(uni.$u.zIndex, zIndex);
  13819. }
  13820. var _default = {
  13821. range: range,
  13822. getPx: getPx,
  13823. sleep: sleep,
  13824. os: os,
  13825. sys: sys,
  13826. random: random,
  13827. guid: guid,
  13828. $parent: $parent,
  13829. addStyle: addStyle,
  13830. addUnit: addUnit,
  13831. deepClone: deepClone,
  13832. deepMerge: deepMerge,
  13833. error: error,
  13834. randomArray: randomArray,
  13835. timeFormat: timeFormat,
  13836. timeFrom: timeFrom,
  13837. trim: trim,
  13838. queryParams: queryParams,
  13839. toast: toast,
  13840. type2icon: type2icon,
  13841. priceFormat: priceFormat,
  13842. getDuration: getDuration,
  13843. padZero: padZero,
  13844. formValidate: formValidate,
  13845. getProperty: getProperty,
  13846. setProperty: setProperty,
  13847. page: page,
  13848. pages: pages,
  13849. setConfig: setConfig
  13850. };
  13851. exports.default = _default;
  13852. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  13853. /***/ }),
  13854. /* 65 */
  13855. /*!**********************************************************************************************************************************************!*\
  13856. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/digit.js ***!
  13857. \**********************************************************************************************************************************************/
  13858. /*! no static exports found */
  13859. /***/ (function(module, exports, __webpack_require__) {
  13860. "use strict";
  13861. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  13862. Object.defineProperty(exports, "__esModule", {
  13863. value: true
  13864. });
  13865. exports.default = void 0;
  13866. exports.divide = divide;
  13867. exports.enableBoundaryChecking = enableBoundaryChecking;
  13868. exports.minus = minus;
  13869. exports.plus = plus;
  13870. exports.round = round;
  13871. exports.times = times;
  13872. var _toArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toArray */ 66));
  13873. var _boundaryCheckingState = true; // 是否进行越界检查的全局开关
  13874. /**
  13875. * 把错误的数据转正
  13876. * @private
  13877. * @example strip(0.09999999999999998)=0.1
  13878. */
  13879. function strip(num) {
  13880. var precision = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 15;
  13881. return +parseFloat(Number(num).toPrecision(precision));
  13882. }
  13883. /**
  13884. * Return digits length of a number
  13885. * @private
  13886. * @param {*number} num Input number
  13887. */
  13888. function digitLength(num) {
  13889. // Get digit length of e
  13890. var eSplit = num.toString().split(/[eE]/);
  13891. var len = (eSplit[0].split('.')[1] || '').length - +(eSplit[1] || 0);
  13892. return len > 0 ? len : 0;
  13893. }
  13894. /**
  13895. * 把小数转成整数,如果是小数则放大成整数
  13896. * @private
  13897. * @param {*number} num 输入数
  13898. */
  13899. function float2Fixed(num) {
  13900. if (num.toString().indexOf('e') === -1) {
  13901. return Number(num.toString().replace('.', ''));
  13902. }
  13903. var dLen = digitLength(num);
  13904. return dLen > 0 ? strip(Number(num) * Math.pow(10, dLen)) : Number(num);
  13905. }
  13906. /**
  13907. * 检测数字是否越界,如果越界给出提示
  13908. * @private
  13909. * @param {*number} num 输入数
  13910. */
  13911. function checkBoundary(num) {
  13912. if (_boundaryCheckingState) {
  13913. if (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) {
  13914. console.warn("".concat(num, " \u8D85\u51FA\u4E86\u7CBE\u5EA6\u9650\u5236\uFF0C\u7ED3\u679C\u53EF\u80FD\u4E0D\u6B63\u786E"));
  13915. }
  13916. }
  13917. }
  13918. /**
  13919. * 把递归操作扁平迭代化
  13920. * @param {number[]} arr 要操作的数字数组
  13921. * @param {function} operation 迭代操作
  13922. * @private
  13923. */
  13924. function iteratorOperation(arr, operation) {
  13925. var _arr = (0, _toArray2.default)(arr),
  13926. num1 = _arr[0],
  13927. num2 = _arr[1],
  13928. others = _arr.slice(2);
  13929. var res = operation(num1, num2);
  13930. others.forEach(function (num) {
  13931. res = operation(res, num);
  13932. });
  13933. return res;
  13934. }
  13935. /**
  13936. * 高精度乘法
  13937. * @export
  13938. */
  13939. function times() {
  13940. for (var _len = arguments.length, nums = new Array(_len), _key = 0; _key < _len; _key++) {
  13941. nums[_key] = arguments[_key];
  13942. }
  13943. if (nums.length > 2) {
  13944. return iteratorOperation(nums, times);
  13945. }
  13946. var num1 = nums[0],
  13947. num2 = nums[1];
  13948. var num1Changed = float2Fixed(num1);
  13949. var num2Changed = float2Fixed(num2);
  13950. var baseNum = digitLength(num1) + digitLength(num2);
  13951. var leftValue = num1Changed * num2Changed;
  13952. checkBoundary(leftValue);
  13953. return leftValue / Math.pow(10, baseNum);
  13954. }
  13955. /**
  13956. * 高精度加法
  13957. * @export
  13958. */
  13959. function plus() {
  13960. for (var _len2 = arguments.length, nums = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
  13961. nums[_key2] = arguments[_key2];
  13962. }
  13963. if (nums.length > 2) {
  13964. return iteratorOperation(nums, plus);
  13965. }
  13966. var num1 = nums[0],
  13967. num2 = nums[1];
  13968. // 取最大的小数位
  13969. var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  13970. // 把小数都转为整数然后再计算
  13971. return (times(num1, baseNum) + times(num2, baseNum)) / baseNum;
  13972. }
  13973. /**
  13974. * 高精度减法
  13975. * @export
  13976. */
  13977. function minus() {
  13978. for (var _len3 = arguments.length, nums = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
  13979. nums[_key3] = arguments[_key3];
  13980. }
  13981. if (nums.length > 2) {
  13982. return iteratorOperation(nums, minus);
  13983. }
  13984. var num1 = nums[0],
  13985. num2 = nums[1];
  13986. var baseNum = Math.pow(10, Math.max(digitLength(num1), digitLength(num2)));
  13987. return (times(num1, baseNum) - times(num2, baseNum)) / baseNum;
  13988. }
  13989. /**
  13990. * 高精度除法
  13991. * @export
  13992. */
  13993. function divide() {
  13994. for (var _len4 = arguments.length, nums = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
  13995. nums[_key4] = arguments[_key4];
  13996. }
  13997. if (nums.length > 2) {
  13998. return iteratorOperation(nums, divide);
  13999. }
  14000. var num1 = nums[0],
  14001. num2 = nums[1];
  14002. var num1Changed = float2Fixed(num1);
  14003. var num2Changed = float2Fixed(num2);
  14004. checkBoundary(num1Changed);
  14005. checkBoundary(num2Changed);
  14006. // 重要,这里必须用strip进行修正
  14007. return times(num1Changed / num2Changed, strip(Math.pow(10, digitLength(num2) - digitLength(num1))));
  14008. }
  14009. /**
  14010. * 四舍五入
  14011. * @export
  14012. */
  14013. function round(num, ratio) {
  14014. var base = Math.pow(10, ratio);
  14015. var result = divide(Math.round(Math.abs(times(num, base))), base);
  14016. if (num < 0 && result !== 0) {
  14017. result = times(result, -1);
  14018. }
  14019. // 位数不足则补0
  14020. return result;
  14021. }
  14022. /**
  14023. * 是否进行边界检查,默认开启
  14024. * @param flag 标记开关,true 为开启,false 为关闭,默认为 true
  14025. * @export
  14026. */
  14027. function enableBoundaryChecking() {
  14028. var flag = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
  14029. _boundaryCheckingState = flag;
  14030. }
  14031. var _default = {
  14032. times: times,
  14033. plus: plus,
  14034. minus: minus,
  14035. divide: divide,
  14036. round: round,
  14037. enableBoundaryChecking: enableBoundaryChecking
  14038. };
  14039. exports.default = _default;
  14040. /***/ }),
  14041. /* 66 */
  14042. /*!********************************************************!*\
  14043. !*** ./node_modules/@babel/runtime/helpers/toArray.js ***!
  14044. \********************************************************/
  14045. /*! no static exports found */
  14046. /***/ (function(module, exports, __webpack_require__) {
  14047. var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles.js */ 6);
  14048. var iterableToArray = __webpack_require__(/*! ./iterableToArray.js */ 20);
  14049. var unsupportedIterableToArray = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 8);
  14050. var nonIterableRest = __webpack_require__(/*! ./nonIterableRest.js */ 10);
  14051. function _toArray(arr) {
  14052. return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
  14053. }
  14054. module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
  14055. /***/ }),
  14056. /* 67 */
  14057. /*!*********************************************************************************************************************************************!*\
  14058. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/config.js ***!
  14059. \*********************************************************************************************************************************************/
  14060. /*! no static exports found */
  14061. /***/ (function(module, exports, __webpack_require__) {
  14062. "use strict";
  14063. Object.defineProperty(exports, "__esModule", {
  14064. value: true
  14065. });
  14066. exports.default = void 0;
  14067. // 此版本发布于2022-00-24
  14068. var version = '2.0.34';
  14069. // 开发环境才提示,生产环境不会提示
  14070. if (true) {
  14071. console.log("\n %c uView V".concat(version, " %c https://uviewui.com/ \n\n"), 'color: #ffffff; background: #3c9cff; padding:5px 0; border-radius: 5px;');
  14072. }
  14073. var _default = {
  14074. v: version,
  14075. version: version,
  14076. // 主题名称
  14077. type: ['primary', 'success', 'info', 'error', 'warning'],
  14078. // 颜色部分,本来可以通过scss的:export导出供js使用,但是奈何nvue不支持
  14079. color: {
  14080. 'u-primary': '#2979ff',
  14081. 'u-warning': '#ff9900',
  14082. 'u-success': '#19be6b',
  14083. 'u-error': '#fa3534',
  14084. 'u-info': '#909399',
  14085. 'u-main-color': '#303133',
  14086. 'u-content-color': '#606266',
  14087. 'u-tips-color': '#909399',
  14088. 'u-light-color': '#c0c4cc'
  14089. },
  14090. // 默认单位,可以通过配置为rpx,那么在用于传入组件大小参数为数值时,就默认为rpx
  14091. unit: 'px'
  14092. };
  14093. exports.default = _default;
  14094. /***/ }),
  14095. /* 68 */
  14096. /*!********************************************************************************************************************************************!*\
  14097. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props.js ***!
  14098. \********************************************************************************************************************************************/
  14099. /*! no static exports found */
  14100. /***/ (function(module, exports, __webpack_require__) {
  14101. "use strict";
  14102. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  14103. Object.defineProperty(exports, "__esModule", {
  14104. value: true
  14105. });
  14106. exports.default = void 0;
  14107. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  14108. var _config = _interopRequireDefault(__webpack_require__(/*! ./config */ 67));
  14109. var _actionSheet = _interopRequireDefault(__webpack_require__(/*! ./props/actionSheet.js */ 69));
  14110. var _album = _interopRequireDefault(__webpack_require__(/*! ./props/album.js */ 70));
  14111. var _alert = _interopRequireDefault(__webpack_require__(/*! ./props/alert.js */ 71));
  14112. var _avatar = _interopRequireDefault(__webpack_require__(/*! ./props/avatar */ 72));
  14113. var _avatarGroup = _interopRequireDefault(__webpack_require__(/*! ./props/avatarGroup */ 73));
  14114. var _backtop = _interopRequireDefault(__webpack_require__(/*! ./props/backtop */ 74));
  14115. var _badge = _interopRequireDefault(__webpack_require__(/*! ./props/badge */ 75));
  14116. var _button = _interopRequireDefault(__webpack_require__(/*! ./props/button */ 76));
  14117. var _calendar = _interopRequireDefault(__webpack_require__(/*! ./props/calendar */ 77));
  14118. var _carKeyboard = _interopRequireDefault(__webpack_require__(/*! ./props/carKeyboard */ 78));
  14119. var _cell = _interopRequireDefault(__webpack_require__(/*! ./props/cell */ 79));
  14120. var _cellGroup = _interopRequireDefault(__webpack_require__(/*! ./props/cellGroup */ 80));
  14121. var _checkbox = _interopRequireDefault(__webpack_require__(/*! ./props/checkbox */ 81));
  14122. var _checkboxGroup = _interopRequireDefault(__webpack_require__(/*! ./props/checkboxGroup */ 82));
  14123. var _circleProgress = _interopRequireDefault(__webpack_require__(/*! ./props/circleProgress */ 83));
  14124. var _code = _interopRequireDefault(__webpack_require__(/*! ./props/code */ 84));
  14125. var _codeInput = _interopRequireDefault(__webpack_require__(/*! ./props/codeInput */ 85));
  14126. var _col = _interopRequireDefault(__webpack_require__(/*! ./props/col */ 86));
  14127. var _collapse = _interopRequireDefault(__webpack_require__(/*! ./props/collapse */ 87));
  14128. var _collapseItem = _interopRequireDefault(__webpack_require__(/*! ./props/collapseItem */ 88));
  14129. var _columnNotice = _interopRequireDefault(__webpack_require__(/*! ./props/columnNotice */ 89));
  14130. var _countDown = _interopRequireDefault(__webpack_require__(/*! ./props/countDown */ 90));
  14131. var _countTo = _interopRequireDefault(__webpack_require__(/*! ./props/countTo */ 91));
  14132. var _datetimePicker = _interopRequireDefault(__webpack_require__(/*! ./props/datetimePicker */ 92));
  14133. var _divider = _interopRequireDefault(__webpack_require__(/*! ./props/divider */ 93));
  14134. var _empty = _interopRequireDefault(__webpack_require__(/*! ./props/empty */ 94));
  14135. var _form = _interopRequireDefault(__webpack_require__(/*! ./props/form */ 95));
  14136. var _formItem = _interopRequireDefault(__webpack_require__(/*! ./props/formItem */ 96));
  14137. var _gap = _interopRequireDefault(__webpack_require__(/*! ./props/gap */ 97));
  14138. var _grid = _interopRequireDefault(__webpack_require__(/*! ./props/grid */ 98));
  14139. var _gridItem = _interopRequireDefault(__webpack_require__(/*! ./props/gridItem */ 99));
  14140. var _icon = _interopRequireDefault(__webpack_require__(/*! ./props/icon */ 100));
  14141. var _image = _interopRequireDefault(__webpack_require__(/*! ./props/image */ 101));
  14142. var _indexAnchor = _interopRequireDefault(__webpack_require__(/*! ./props/indexAnchor */ 102));
  14143. var _indexList = _interopRequireDefault(__webpack_require__(/*! ./props/indexList */ 103));
  14144. var _input = _interopRequireDefault(__webpack_require__(/*! ./props/input */ 104));
  14145. var _keyboard = _interopRequireDefault(__webpack_require__(/*! ./props/keyboard */ 105));
  14146. var _line = _interopRequireDefault(__webpack_require__(/*! ./props/line */ 106));
  14147. var _lineProgress = _interopRequireDefault(__webpack_require__(/*! ./props/lineProgress */ 107));
  14148. var _link = _interopRequireDefault(__webpack_require__(/*! ./props/link */ 108));
  14149. var _list = _interopRequireDefault(__webpack_require__(/*! ./props/list */ 109));
  14150. var _listItem = _interopRequireDefault(__webpack_require__(/*! ./props/listItem */ 110));
  14151. var _loadingIcon = _interopRequireDefault(__webpack_require__(/*! ./props/loadingIcon */ 111));
  14152. var _loadingPage = _interopRequireDefault(__webpack_require__(/*! ./props/loadingPage */ 112));
  14153. var _loadmore = _interopRequireDefault(__webpack_require__(/*! ./props/loadmore */ 113));
  14154. var _modal = _interopRequireDefault(__webpack_require__(/*! ./props/modal */ 114));
  14155. var _navbar = _interopRequireDefault(__webpack_require__(/*! ./props/navbar */ 115));
  14156. var _noNetwork = _interopRequireDefault(__webpack_require__(/*! ./props/noNetwork */ 117));
  14157. var _noticeBar = _interopRequireDefault(__webpack_require__(/*! ./props/noticeBar */ 118));
  14158. var _notify = _interopRequireDefault(__webpack_require__(/*! ./props/notify */ 119));
  14159. var _numberBox = _interopRequireDefault(__webpack_require__(/*! ./props/numberBox */ 120));
  14160. var _numberKeyboard = _interopRequireDefault(__webpack_require__(/*! ./props/numberKeyboard */ 121));
  14161. var _overlay = _interopRequireDefault(__webpack_require__(/*! ./props/overlay */ 122));
  14162. var _parse = _interopRequireDefault(__webpack_require__(/*! ./props/parse */ 123));
  14163. var _picker = _interopRequireDefault(__webpack_require__(/*! ./props/picker */ 124));
  14164. var _popup = _interopRequireDefault(__webpack_require__(/*! ./props/popup */ 125));
  14165. var _radio = _interopRequireDefault(__webpack_require__(/*! ./props/radio */ 126));
  14166. var _radioGroup = _interopRequireDefault(__webpack_require__(/*! ./props/radioGroup */ 127));
  14167. var _rate = _interopRequireDefault(__webpack_require__(/*! ./props/rate */ 128));
  14168. var _readMore = _interopRequireDefault(__webpack_require__(/*! ./props/readMore */ 129));
  14169. var _row = _interopRequireDefault(__webpack_require__(/*! ./props/row */ 130));
  14170. var _rowNotice = _interopRequireDefault(__webpack_require__(/*! ./props/rowNotice */ 131));
  14171. var _scrollList = _interopRequireDefault(__webpack_require__(/*! ./props/scrollList */ 132));
  14172. var _search = _interopRequireDefault(__webpack_require__(/*! ./props/search */ 133));
  14173. var _section = _interopRequireDefault(__webpack_require__(/*! ./props/section */ 134));
  14174. var _skeleton = _interopRequireDefault(__webpack_require__(/*! ./props/skeleton */ 135));
  14175. var _slider = _interopRequireDefault(__webpack_require__(/*! ./props/slider */ 136));
  14176. var _statusBar = _interopRequireDefault(__webpack_require__(/*! ./props/statusBar */ 137));
  14177. var _steps = _interopRequireDefault(__webpack_require__(/*! ./props/steps */ 138));
  14178. var _stepsItem = _interopRequireDefault(__webpack_require__(/*! ./props/stepsItem */ 139));
  14179. var _sticky = _interopRequireDefault(__webpack_require__(/*! ./props/sticky */ 140));
  14180. var _subsection = _interopRequireDefault(__webpack_require__(/*! ./props/subsection */ 141));
  14181. var _swipeAction = _interopRequireDefault(__webpack_require__(/*! ./props/swipeAction */ 142));
  14182. var _swipeActionItem = _interopRequireDefault(__webpack_require__(/*! ./props/swipeActionItem */ 143));
  14183. var _swiper = _interopRequireDefault(__webpack_require__(/*! ./props/swiper */ 144));
  14184. var _swipterIndicator = _interopRequireDefault(__webpack_require__(/*! ./props/swipterIndicator */ 145));
  14185. var _switch2 = _interopRequireDefault(__webpack_require__(/*! ./props/switch */ 146));
  14186. var _tabbar = _interopRequireDefault(__webpack_require__(/*! ./props/tabbar */ 147));
  14187. var _tabbarItem = _interopRequireDefault(__webpack_require__(/*! ./props/tabbarItem */ 148));
  14188. var _tabs = _interopRequireDefault(__webpack_require__(/*! ./props/tabs */ 149));
  14189. var _tag = _interopRequireDefault(__webpack_require__(/*! ./props/tag */ 150));
  14190. var _text = _interopRequireDefault(__webpack_require__(/*! ./props/text */ 151));
  14191. var _textarea = _interopRequireDefault(__webpack_require__(/*! ./props/textarea */ 152));
  14192. var _toast = _interopRequireDefault(__webpack_require__(/*! ./props/toast */ 153));
  14193. var _toolbar = _interopRequireDefault(__webpack_require__(/*! ./props/toolbar */ 154));
  14194. var _tooltip = _interopRequireDefault(__webpack_require__(/*! ./props/tooltip */ 155));
  14195. var _transition = _interopRequireDefault(__webpack_require__(/*! ./props/transition */ 156));
  14196. var _upload = _interopRequireDefault(__webpack_require__(/*! ./props/upload */ 157));
  14197. 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; }
  14198. 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; }
  14199. var color = _config.default.color;
  14200. 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);
  14201. exports.default = _default;
  14202. /***/ }),
  14203. /* 69 */
  14204. /*!********************************************************************************************************************************************************!*\
  14205. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/actionSheet.js ***!
  14206. \********************************************************************************************************************************************************/
  14207. /*! no static exports found */
  14208. /***/ (function(module, exports, __webpack_require__) {
  14209. "use strict";
  14210. Object.defineProperty(exports, "__esModule", {
  14211. value: true
  14212. });
  14213. exports.default = void 0;
  14214. /*
  14215. * @Author : LQ
  14216. * @Description :
  14217. * @version : 1.0
  14218. * @Date : 2021-08-20 16:44:21
  14219. * @LastAuthor : LQ
  14220. * @lastTime : 2021-08-20 16:44:35
  14221. * @FilePath : /u-view2.0/uview-ui/libs/config/props/actionSheet.js
  14222. */
  14223. var _default = {
  14224. // action-sheet组件
  14225. actionSheet: {
  14226. show: false,
  14227. title: '',
  14228. description: '',
  14229. actions: function actions() {
  14230. return [];
  14231. },
  14232. index: '',
  14233. cancelText: '',
  14234. closeOnClickAction: true,
  14235. safeAreaInsetBottom: true,
  14236. openType: '',
  14237. closeOnClickOverlay: true,
  14238. round: 0
  14239. }
  14240. };
  14241. exports.default = _default;
  14242. /***/ }),
  14243. /* 70 */
  14244. /*!**************************************************************************************************************************************************!*\
  14245. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/album.js ***!
  14246. \**************************************************************************************************************************************************/
  14247. /*! no static exports found */
  14248. /***/ (function(module, exports, __webpack_require__) {
  14249. "use strict";
  14250. Object.defineProperty(exports, "__esModule", {
  14251. value: true
  14252. });
  14253. exports.default = void 0;
  14254. /*
  14255. * @Author : LQ
  14256. * @Description :
  14257. * @version : 1.0
  14258. * @Date : 2021-08-20 16:44:21
  14259. * @LastAuthor : LQ
  14260. * @lastTime : 2021-08-20 16:47:24
  14261. * @FilePath : /u-view2.0/uview-ui/libs/config/props/album.js
  14262. */
  14263. var _default = {
  14264. // album 组件
  14265. album: {
  14266. urls: function urls() {
  14267. return [];
  14268. },
  14269. keyName: '',
  14270. singleSize: 180,
  14271. multipleSize: 70,
  14272. space: 6,
  14273. singleMode: 'scaleToFill',
  14274. multipleMode: 'aspectFill',
  14275. maxCount: 9,
  14276. previewFullImage: true,
  14277. rowCount: 3,
  14278. showMore: true
  14279. }
  14280. };
  14281. exports.default = _default;
  14282. /***/ }),
  14283. /* 71 */
  14284. /*!**************************************************************************************************************************************************!*\
  14285. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/alert.js ***!
  14286. \**************************************************************************************************************************************************/
  14287. /*! no static exports found */
  14288. /***/ (function(module, exports, __webpack_require__) {
  14289. "use strict";
  14290. Object.defineProperty(exports, "__esModule", {
  14291. value: true
  14292. });
  14293. exports.default = void 0;
  14294. /*
  14295. * @Author : LQ
  14296. * @Description :
  14297. * @version : 1.0
  14298. * @Date : 2021-08-20 16:44:21
  14299. * @LastAuthor : LQ
  14300. * @lastTime : 2021-08-20 16:48:53
  14301. * @FilePath : /u-view2.0/uview-ui/libs/config/props/alert.js
  14302. */
  14303. var _default = {
  14304. // alert警告组件
  14305. alert: {
  14306. title: '',
  14307. type: 'warning',
  14308. description: '',
  14309. closable: false,
  14310. showIcon: false,
  14311. effect: 'light',
  14312. center: false,
  14313. fontSize: 14
  14314. }
  14315. };
  14316. exports.default = _default;
  14317. /***/ }),
  14318. /* 72 */
  14319. /*!***************************************************************************************************************************************************!*\
  14320. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/avatar.js ***!
  14321. \***************************************************************************************************************************************************/
  14322. /*! no static exports found */
  14323. /***/ (function(module, exports, __webpack_require__) {
  14324. "use strict";
  14325. Object.defineProperty(exports, "__esModule", {
  14326. value: true
  14327. });
  14328. exports.default = void 0;
  14329. /*
  14330. * @Author : LQ
  14331. * @Description :
  14332. * @version : 1.0
  14333. * @Date : 2021-08-20 16:44:21
  14334. * @LastAuthor : LQ
  14335. * @lastTime : 2021-08-20 16:49:22
  14336. * @FilePath : /u-view2.0/uview-ui/libs/config/props/avatar.js
  14337. */
  14338. var _default = {
  14339. // avatar 组件
  14340. avatar: {
  14341. src: '',
  14342. shape: 'circle',
  14343. size: 40,
  14344. mode: 'scaleToFill',
  14345. text: '',
  14346. bgColor: '#c0c4cc',
  14347. color: '#ffffff',
  14348. fontSize: 18,
  14349. icon: '',
  14350. mpAvatar: false,
  14351. randomBgColor: false,
  14352. defaultUrl: '',
  14353. colorIndex: '',
  14354. name: ''
  14355. }
  14356. };
  14357. exports.default = _default;
  14358. /***/ }),
  14359. /* 73 */
  14360. /*!********************************************************************************************************************************************************!*\
  14361. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/avatarGroup.js ***!
  14362. \********************************************************************************************************************************************************/
  14363. /*! no static exports found */
  14364. /***/ (function(module, exports, __webpack_require__) {
  14365. "use strict";
  14366. Object.defineProperty(exports, "__esModule", {
  14367. value: true
  14368. });
  14369. exports.default = void 0;
  14370. /*
  14371. * @Author : LQ
  14372. * @Description :
  14373. * @version : 1.0
  14374. * @Date : 2021-08-20 16:44:21
  14375. * @LastAuthor : LQ
  14376. * @lastTime : 2021-08-20 16:49:55
  14377. * @FilePath : /u-view2.0/uview-ui/libs/config/props/avatarGroup.js
  14378. */
  14379. var _default = {
  14380. // avatarGroup 组件
  14381. avatarGroup: {
  14382. urls: function urls() {
  14383. return [];
  14384. },
  14385. maxCount: 5,
  14386. shape: 'circle',
  14387. mode: 'scaleToFill',
  14388. showMore: true,
  14389. size: 40,
  14390. keyName: '',
  14391. gap: 0.5,
  14392. extraValue: 0
  14393. }
  14394. };
  14395. exports.default = _default;
  14396. /***/ }),
  14397. /* 74 */
  14398. /*!****************************************************************************************************************************************************!*\
  14399. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/backtop.js ***!
  14400. \****************************************************************************************************************************************************/
  14401. /*! no static exports found */
  14402. /***/ (function(module, exports, __webpack_require__) {
  14403. "use strict";
  14404. Object.defineProperty(exports, "__esModule", {
  14405. value: true
  14406. });
  14407. exports.default = void 0;
  14408. /*
  14409. * @Author : LQ
  14410. * @Description :
  14411. * @version : 1.0
  14412. * @Date : 2021-08-20 16:44:21
  14413. * @LastAuthor : LQ
  14414. * @lastTime : 2021-08-20 16:50:18
  14415. * @FilePath : /u-view2.0/uview-ui/libs/config/props/backtop.js
  14416. */
  14417. var _default = {
  14418. // backtop组件
  14419. backtop: {
  14420. mode: 'circle',
  14421. icon: 'arrow-upward',
  14422. text: '',
  14423. duration: 100,
  14424. scrollTop: 0,
  14425. top: 400,
  14426. bottom: 100,
  14427. right: 20,
  14428. zIndex: 9,
  14429. iconStyle: function iconStyle() {
  14430. return {
  14431. color: '#909399',
  14432. fontSize: '19px'
  14433. };
  14434. }
  14435. }
  14436. };
  14437. exports.default = _default;
  14438. /***/ }),
  14439. /* 75 */
  14440. /*!**************************************************************************************************************************************************!*\
  14441. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/badge.js ***!
  14442. \**************************************************************************************************************************************************/
  14443. /*! no static exports found */
  14444. /***/ (function(module, exports, __webpack_require__) {
  14445. "use strict";
  14446. Object.defineProperty(exports, "__esModule", {
  14447. value: true
  14448. });
  14449. exports.default = void 0;
  14450. /*
  14451. * @Author : LQ
  14452. * @Description :
  14453. * @version : 1.0
  14454. * @Date : 2021-08-20 16:44:21
  14455. * @LastAuthor : LQ
  14456. * @lastTime : 2021-08-23 19:51:50
  14457. * @FilePath : /u-view2.0/uview-ui/libs/config/props/badge.js
  14458. */
  14459. var _default = {
  14460. // 徽标数组件
  14461. badge: {
  14462. isDot: false,
  14463. value: '',
  14464. show: true,
  14465. max: 999,
  14466. type: 'error',
  14467. showZero: false,
  14468. bgColor: null,
  14469. color: null,
  14470. shape: 'circle',
  14471. numberType: 'overflow',
  14472. offset: function offset() {
  14473. return [];
  14474. },
  14475. inverted: false,
  14476. absolute: false
  14477. }
  14478. };
  14479. exports.default = _default;
  14480. /***/ }),
  14481. /* 76 */
  14482. /*!***************************************************************************************************************************************************!*\
  14483. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/button.js ***!
  14484. \***************************************************************************************************************************************************/
  14485. /*! no static exports found */
  14486. /***/ (function(module, exports, __webpack_require__) {
  14487. "use strict";
  14488. Object.defineProperty(exports, "__esModule", {
  14489. value: true
  14490. });
  14491. exports.default = void 0;
  14492. /*
  14493. * @Author : LQ
  14494. * @Description :
  14495. * @version : 1.0
  14496. * @Date : 2021-08-20 16:44:21
  14497. * @LastAuthor : LQ
  14498. * @lastTime : 2021-08-20 16:51:27
  14499. * @FilePath : /u-view2.0/uview-ui/libs/config/props/button.js
  14500. */
  14501. var _default = {
  14502. // button组件
  14503. button: {
  14504. hairline: false,
  14505. type: 'info',
  14506. size: 'normal',
  14507. shape: 'square',
  14508. plain: false,
  14509. disabled: false,
  14510. loading: false,
  14511. loadingText: '',
  14512. loadingMode: 'spinner',
  14513. loadingSize: 15,
  14514. openType: '',
  14515. formType: '',
  14516. appParameter: '',
  14517. hoverStopPropagation: true,
  14518. lang: 'en',
  14519. sessionFrom: '',
  14520. sendMessageTitle: '',
  14521. sendMessagePath: '',
  14522. sendMessageImg: '',
  14523. showMessageCard: false,
  14524. dataName: '',
  14525. throttleTime: 0,
  14526. hoverStartTime: 0,
  14527. hoverStayTime: 200,
  14528. text: '',
  14529. icon: '',
  14530. iconColor: '',
  14531. color: ''
  14532. }
  14533. };
  14534. exports.default = _default;
  14535. /***/ }),
  14536. /* 77 */
  14537. /*!*****************************************************************************************************************************************************!*\
  14538. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/calendar.js ***!
  14539. \*****************************************************************************************************************************************************/
  14540. /*! no static exports found */
  14541. /***/ (function(module, exports, __webpack_require__) {
  14542. "use strict";
  14543. Object.defineProperty(exports, "__esModule", {
  14544. value: true
  14545. });
  14546. exports.default = void 0;
  14547. /*
  14548. * @Author : LQ
  14549. * @Description :
  14550. * @version : 1.0
  14551. * @Date : 2021-08-20 16:44:21
  14552. * @LastAuthor : LQ
  14553. * @lastTime : 2021-08-20 16:52:43
  14554. * @FilePath : /u-view2.0/uview-ui/libs/config/props/calendar.js
  14555. */
  14556. var _default = {
  14557. // calendar 组件
  14558. calendar: {
  14559. title: '日期选择',
  14560. showTitle: true,
  14561. showSubtitle: true,
  14562. mode: 'single',
  14563. startText: '开始',
  14564. endText: '结束',
  14565. customList: function customList() {
  14566. return [];
  14567. },
  14568. color: '#3c9cff',
  14569. minDate: 0,
  14570. maxDate: 0,
  14571. defaultDate: null,
  14572. maxCount: Number.MAX_SAFE_INTEGER,
  14573. // Infinity
  14574. rowHeight: 56,
  14575. formatter: null,
  14576. showLunar: false,
  14577. showMark: true,
  14578. confirmText: '确定',
  14579. confirmDisabledText: '确定',
  14580. show: false,
  14581. closeOnClickOverlay: false,
  14582. readonly: false,
  14583. showConfirm: true,
  14584. maxRange: Number.MAX_SAFE_INTEGER,
  14585. // Infinity
  14586. rangePrompt: '',
  14587. showRangePrompt: true,
  14588. allowSameDay: false,
  14589. round: 0,
  14590. monthNum: 3
  14591. }
  14592. };
  14593. exports.default = _default;
  14594. /***/ }),
  14595. /* 78 */
  14596. /*!********************************************************************************************************************************************************!*\
  14597. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/carKeyboard.js ***!
  14598. \********************************************************************************************************************************************************/
  14599. /*! no static exports found */
  14600. /***/ (function(module, exports, __webpack_require__) {
  14601. "use strict";
  14602. Object.defineProperty(exports, "__esModule", {
  14603. value: true
  14604. });
  14605. exports.default = void 0;
  14606. /*
  14607. * @Author : LQ
  14608. * @Description :
  14609. * @version : 1.0
  14610. * @Date : 2021-08-20 16:44:21
  14611. * @LastAuthor : LQ
  14612. * @lastTime : 2021-08-20 16:53:20
  14613. * @FilePath : /u-view2.0/uview-ui/libs/config/props/carKeyboard.js
  14614. */
  14615. var _default = {
  14616. // 车牌号键盘
  14617. carKeyboard: {
  14618. random: false
  14619. }
  14620. };
  14621. exports.default = _default;
  14622. /***/ }),
  14623. /* 79 */
  14624. /*!*************************************************************************************************************************************************!*\
  14625. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/cell.js ***!
  14626. \*************************************************************************************************************************************************/
  14627. /*! no static exports found */
  14628. /***/ (function(module, exports, __webpack_require__) {
  14629. "use strict";
  14630. Object.defineProperty(exports, "__esModule", {
  14631. value: true
  14632. });
  14633. exports.default = void 0;
  14634. /*
  14635. * @Author : LQ
  14636. * @Description :
  14637. * @version : 1.0
  14638. * @Date : 2021-08-20 16:44:21
  14639. * @LastAuthor : LQ
  14640. * @lastTime : 2021-08-23 20:53:09
  14641. * @FilePath : /u-view2.0/uview-ui/libs/config/props/cell.js
  14642. */
  14643. var _default = {
  14644. // cell组件的props
  14645. cell: {
  14646. customClass: '',
  14647. title: '',
  14648. label: '',
  14649. value: '',
  14650. icon: '',
  14651. disabled: false,
  14652. border: true,
  14653. center: false,
  14654. url: '',
  14655. linkType: 'navigateTo',
  14656. clickable: false,
  14657. isLink: false,
  14658. required: false,
  14659. arrowDirection: '',
  14660. iconStyle: {},
  14661. rightIconStyle: {},
  14662. rightIcon: 'arrow-right',
  14663. titleStyle: {},
  14664. size: '',
  14665. stop: true,
  14666. name: ''
  14667. }
  14668. };
  14669. exports.default = _default;
  14670. /***/ }),
  14671. /* 80 */
  14672. /*!******************************************************************************************************************************************************!*\
  14673. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/cellGroup.js ***!
  14674. \******************************************************************************************************************************************************/
  14675. /*! no static exports found */
  14676. /***/ (function(module, exports, __webpack_require__) {
  14677. "use strict";
  14678. Object.defineProperty(exports, "__esModule", {
  14679. value: true
  14680. });
  14681. exports.default = void 0;
  14682. /*
  14683. * @Author : LQ
  14684. * @Description :
  14685. * @version : 1.0
  14686. * @Date : 2021-08-20 16:44:21
  14687. * @LastAuthor : LQ
  14688. * @lastTime : 2021-08-20 16:54:16
  14689. * @FilePath : /u-view2.0/uview-ui/libs/config/props/cellGroup.js
  14690. */
  14691. var _default = {
  14692. // cell-group组件的props
  14693. cellGroup: {
  14694. title: '',
  14695. border: true,
  14696. customStyle: {}
  14697. }
  14698. };
  14699. exports.default = _default;
  14700. /***/ }),
  14701. /* 81 */
  14702. /*!*****************************************************************************************************************************************************!*\
  14703. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/checkbox.js ***!
  14704. \*****************************************************************************************************************************************************/
  14705. /*! no static exports found */
  14706. /***/ (function(module, exports, __webpack_require__) {
  14707. "use strict";
  14708. Object.defineProperty(exports, "__esModule", {
  14709. value: true
  14710. });
  14711. exports.default = void 0;
  14712. /*
  14713. * @Author : LQ
  14714. * @Description :
  14715. * @version : 1.0
  14716. * @Date : 2021-08-20 16:44:21
  14717. * @LastAuthor : LQ
  14718. * @lastTime : 2021-08-23 21:06:59
  14719. * @FilePath : /u-view2.0/uview-ui/libs/config/props/checkbox.js
  14720. */
  14721. var _default = {
  14722. // checkbox组件
  14723. checkbox: {
  14724. name: '',
  14725. shape: '',
  14726. size: '',
  14727. checkbox: false,
  14728. disabled: '',
  14729. activeColor: '',
  14730. inactiveColor: '',
  14731. iconSize: '',
  14732. iconColor: '',
  14733. label: '',
  14734. labelSize: '',
  14735. labelColor: '',
  14736. labelDisabled: ''
  14737. }
  14738. };
  14739. exports.default = _default;
  14740. /***/ }),
  14741. /* 82 */
  14742. /*!**********************************************************************************************************************************************************!*\
  14743. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/checkboxGroup.js ***!
  14744. \**********************************************************************************************************************************************************/
  14745. /*! no static exports found */
  14746. /***/ (function(module, exports, __webpack_require__) {
  14747. "use strict";
  14748. Object.defineProperty(exports, "__esModule", {
  14749. value: true
  14750. });
  14751. exports.default = void 0;
  14752. /*
  14753. * @Author : LQ
  14754. * @Description :
  14755. * @version : 1.0
  14756. * @Date : 2021-08-20 16:44:21
  14757. * @LastAuthor : LQ
  14758. * @lastTime : 2021-08-20 16:54:47
  14759. * @FilePath : /u-view2.0/uview-ui/libs/config/props/checkboxGroup.js
  14760. */
  14761. var _default = {
  14762. // checkbox-group组件
  14763. checkboxGroup: {
  14764. name: '',
  14765. value: function value() {
  14766. return [];
  14767. },
  14768. shape: 'square',
  14769. disabled: false,
  14770. activeColor: '#2979ff',
  14771. inactiveColor: '#c8c9cc',
  14772. size: 18,
  14773. placement: 'row',
  14774. labelSize: 14,
  14775. labelColor: '#303133',
  14776. labelDisabled: false,
  14777. iconColor: '#ffffff',
  14778. iconSize: 12,
  14779. iconPlacement: 'left',
  14780. borderBottom: false
  14781. }
  14782. };
  14783. exports.default = _default;
  14784. /***/ }),
  14785. /* 83 */
  14786. /*!***********************************************************************************************************************************************************!*\
  14787. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/circleProgress.js ***!
  14788. \***********************************************************************************************************************************************************/
  14789. /*! no static exports found */
  14790. /***/ (function(module, exports, __webpack_require__) {
  14791. "use strict";
  14792. Object.defineProperty(exports, "__esModule", {
  14793. value: true
  14794. });
  14795. exports.default = void 0;
  14796. /*
  14797. * @Author : LQ
  14798. * @Description :
  14799. * @version : 1.0
  14800. * @Date : 2021-08-20 16:44:21
  14801. * @LastAuthor : LQ
  14802. * @lastTime : 2021-08-20 16:55:02
  14803. * @FilePath : /u-view2.0/uview-ui/libs/config/props/circleProgress.js
  14804. */
  14805. var _default = {
  14806. // circleProgress 组件
  14807. circleProgress: {
  14808. percentage: 30
  14809. }
  14810. };
  14811. exports.default = _default;
  14812. /***/ }),
  14813. /* 84 */
  14814. /*!*************************************************************************************************************************************************!*\
  14815. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/code.js ***!
  14816. \*************************************************************************************************************************************************/
  14817. /*! no static exports found */
  14818. /***/ (function(module, exports, __webpack_require__) {
  14819. "use strict";
  14820. Object.defineProperty(exports, "__esModule", {
  14821. value: true
  14822. });
  14823. exports.default = void 0;
  14824. /*
  14825. * @Author : LQ
  14826. * @Description :
  14827. * @version : 1.0
  14828. * @Date : 2021-08-20 16:44:21
  14829. * @LastAuthor : LQ
  14830. * @lastTime : 2021-08-20 16:55:27
  14831. * @FilePath : /u-view2.0/uview-ui/libs/config/props/code.js
  14832. */
  14833. var _default = {
  14834. // code 组件
  14835. code: {
  14836. seconds: 60,
  14837. startText: '获取验证码',
  14838. changeText: 'X秒重新获取',
  14839. endText: '重新获取',
  14840. keepRunning: false,
  14841. uniqueKey: ''
  14842. }
  14843. };
  14844. exports.default = _default;
  14845. /***/ }),
  14846. /* 85 */
  14847. /*!******************************************************************************************************************************************************!*\
  14848. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/codeInput.js ***!
  14849. \******************************************************************************************************************************************************/
  14850. /*! no static exports found */
  14851. /***/ (function(module, exports, __webpack_require__) {
  14852. "use strict";
  14853. Object.defineProperty(exports, "__esModule", {
  14854. value: true
  14855. });
  14856. exports.default = void 0;
  14857. /*
  14858. * @Author : LQ
  14859. * @Description :
  14860. * @version : 1.0
  14861. * @Date : 2021-08-20 16:44:21
  14862. * @LastAuthor : LQ
  14863. * @lastTime : 2021-08-20 16:55:58
  14864. * @FilePath : /u-view2.0/uview-ui/libs/config/props/codeInput.js
  14865. */
  14866. var _default = {
  14867. // codeInput 组件
  14868. codeInput: {
  14869. adjustPosition: true,
  14870. maxlength: 6,
  14871. dot: false,
  14872. mode: 'box',
  14873. hairline: false,
  14874. space: 10,
  14875. value: '',
  14876. focus: false,
  14877. bold: false,
  14878. color: '#606266',
  14879. fontSize: 18,
  14880. size: 35,
  14881. disabledKeyboard: false,
  14882. borderColor: '#c9cacc',
  14883. disabledDot: true
  14884. }
  14885. };
  14886. exports.default = _default;
  14887. /***/ }),
  14888. /* 86 */
  14889. /*!************************************************************************************************************************************************!*\
  14890. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/col.js ***!
  14891. \************************************************************************************************************************************************/
  14892. /*! no static exports found */
  14893. /***/ (function(module, exports, __webpack_require__) {
  14894. "use strict";
  14895. Object.defineProperty(exports, "__esModule", {
  14896. value: true
  14897. });
  14898. exports.default = void 0;
  14899. /*
  14900. * @Author : LQ
  14901. * @Description :
  14902. * @version : 1.0
  14903. * @Date : 2021-08-20 16:44:21
  14904. * @LastAuthor : LQ
  14905. * @lastTime : 2021-08-20 16:56:12
  14906. * @FilePath : /u-view2.0/uview-ui/libs/config/props/col.js
  14907. */
  14908. var _default = {
  14909. // col 组件
  14910. col: {
  14911. span: 12,
  14912. offset: 0,
  14913. justify: 'start',
  14914. align: 'stretch',
  14915. textAlign: 'left'
  14916. }
  14917. };
  14918. exports.default = _default;
  14919. /***/ }),
  14920. /* 87 */
  14921. /*!*****************************************************************************************************************************************************!*\
  14922. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/collapse.js ***!
  14923. \*****************************************************************************************************************************************************/
  14924. /*! no static exports found */
  14925. /***/ (function(module, exports, __webpack_require__) {
  14926. "use strict";
  14927. Object.defineProperty(exports, "__esModule", {
  14928. value: true
  14929. });
  14930. exports.default = void 0;
  14931. /*
  14932. * @Author : LQ
  14933. * @Description :
  14934. * @version : 1.0
  14935. * @Date : 2021-08-20 16:44:21
  14936. * @LastAuthor : LQ
  14937. * @lastTime : 2021-08-20 16:56:30
  14938. * @FilePath : /u-view2.0/uview-ui/libs/config/props/collapse.js
  14939. */
  14940. var _default = {
  14941. // collapse 组件
  14942. collapse: {
  14943. value: null,
  14944. accordion: false,
  14945. border: true
  14946. }
  14947. };
  14948. exports.default = _default;
  14949. /***/ }),
  14950. /* 88 */
  14951. /*!*********************************************************************************************************************************************************!*\
  14952. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/collapseItem.js ***!
  14953. \*********************************************************************************************************************************************************/
  14954. /*! no static exports found */
  14955. /***/ (function(module, exports, __webpack_require__) {
  14956. "use strict";
  14957. Object.defineProperty(exports, "__esModule", {
  14958. value: true
  14959. });
  14960. exports.default = void 0;
  14961. /*
  14962. * @Author : LQ
  14963. * @Description :
  14964. * @version : 1.0
  14965. * @Date : 2021-08-20 16:44:21
  14966. * @LastAuthor : LQ
  14967. * @lastTime : 2021-08-20 16:56:42
  14968. * @FilePath : /u-view2.0/uview-ui/libs/config/props/collapseItem.js
  14969. */
  14970. var _default = {
  14971. // collapseItem 组件
  14972. collapseItem: {
  14973. title: '',
  14974. value: '',
  14975. label: '',
  14976. disabled: false,
  14977. isLink: true,
  14978. clickable: true,
  14979. border: true,
  14980. align: 'left',
  14981. name: '',
  14982. icon: '',
  14983. duration: 300
  14984. }
  14985. };
  14986. exports.default = _default;
  14987. /***/ }),
  14988. /* 89 */
  14989. /*!*********************************************************************************************************************************************************!*\
  14990. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/columnNotice.js ***!
  14991. \*********************************************************************************************************************************************************/
  14992. /*! no static exports found */
  14993. /***/ (function(module, exports, __webpack_require__) {
  14994. "use strict";
  14995. Object.defineProperty(exports, "__esModule", {
  14996. value: true
  14997. });
  14998. exports.default = void 0;
  14999. /*
  15000. * @Author : LQ
  15001. * @Description :
  15002. * @version : 1.0
  15003. * @Date : 2021-08-20 16:44:21
  15004. * @LastAuthor : LQ
  15005. * @lastTime : 2021-08-20 16:57:16
  15006. * @FilePath : /u-view2.0/uview-ui/libs/config/props/columnNotice.js
  15007. */
  15008. var _default = {
  15009. // columnNotice 组件
  15010. columnNotice: {
  15011. text: '',
  15012. icon: 'volume',
  15013. mode: '',
  15014. color: '#f9ae3d',
  15015. bgColor: '#fdf6ec',
  15016. fontSize: 14,
  15017. speed: 80,
  15018. step: false,
  15019. duration: 1500,
  15020. disableTouch: true
  15021. }
  15022. };
  15023. exports.default = _default;
  15024. /***/ }),
  15025. /* 90 */
  15026. /*!******************************************************************************************************************************************************!*\
  15027. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/countDown.js ***!
  15028. \******************************************************************************************************************************************************/
  15029. /*! no static exports found */
  15030. /***/ (function(module, exports, __webpack_require__) {
  15031. "use strict";
  15032. Object.defineProperty(exports, "__esModule", {
  15033. value: true
  15034. });
  15035. exports.default = void 0;
  15036. /*
  15037. * @Author : LQ
  15038. * @Description :
  15039. * @version : 1.0
  15040. * @Date : 2021-08-20 16:44:21
  15041. * @LastAuthor : LQ
  15042. * @lastTime : 2021-08-20 17:11:29
  15043. * @FilePath : /u-view2.0/uview-ui/libs/config/props/countDown.js
  15044. */
  15045. var _default = {
  15046. // u-count-down 计时器组件
  15047. countDown: {
  15048. time: 0,
  15049. format: 'HH:mm:ss',
  15050. autoStart: true,
  15051. millisecond: false
  15052. }
  15053. };
  15054. exports.default = _default;
  15055. /***/ }),
  15056. /* 91 */
  15057. /*!****************************************************************************************************************************************************!*\
  15058. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/countTo.js ***!
  15059. \****************************************************************************************************************************************************/
  15060. /*! no static exports found */
  15061. /***/ (function(module, exports, __webpack_require__) {
  15062. "use strict";
  15063. Object.defineProperty(exports, "__esModule", {
  15064. value: true
  15065. });
  15066. exports.default = void 0;
  15067. /*
  15068. * @Author : LQ
  15069. * @Description :
  15070. * @version : 1.0
  15071. * @Date : 2021-08-20 16:44:21
  15072. * @LastAuthor : LQ
  15073. * @lastTime : 2021-08-20 16:57:32
  15074. * @FilePath : /u-view2.0/uview-ui/libs/config/props/countTo.js
  15075. */
  15076. var _default = {
  15077. // countTo 组件
  15078. countTo: {
  15079. startVal: 0,
  15080. endVal: 0,
  15081. duration: 2000,
  15082. autoplay: true,
  15083. decimals: 0,
  15084. useEasing: true,
  15085. decimal: '.',
  15086. color: '#606266',
  15087. fontSize: 22,
  15088. bold: false,
  15089. separator: ''
  15090. }
  15091. };
  15092. exports.default = _default;
  15093. /***/ }),
  15094. /* 92 */
  15095. /*!***********************************************************************************************************************************************************!*\
  15096. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/datetimePicker.js ***!
  15097. \***********************************************************************************************************************************************************/
  15098. /*! no static exports found */
  15099. /***/ (function(module, exports, __webpack_require__) {
  15100. "use strict";
  15101. Object.defineProperty(exports, "__esModule", {
  15102. value: true
  15103. });
  15104. exports.default = void 0;
  15105. /*
  15106. * @Author : LQ
  15107. * @Description :
  15108. * @version : 1.0
  15109. * @Date : 2021-08-20 16:44:21
  15110. * @LastAuthor : LQ
  15111. * @lastTime : 2021-08-20 16:57:48
  15112. * @FilePath : /u-view2.0/uview-ui/libs/config/props/datetimePicker.js
  15113. */
  15114. var _default = {
  15115. // datetimePicker 组件
  15116. datetimePicker: {
  15117. show: false,
  15118. showToolbar: true,
  15119. value: '',
  15120. title: '',
  15121. mode: 'datetime',
  15122. maxDate: new Date(new Date().getFullYear() + 10, 0, 1).getTime(),
  15123. minDate: new Date(new Date().getFullYear() - 10, 0, 1).getTime(),
  15124. minHour: 0,
  15125. maxHour: 23,
  15126. minMinute: 0,
  15127. maxMinute: 59,
  15128. filter: null,
  15129. formatter: null,
  15130. loading: false,
  15131. itemHeight: 44,
  15132. cancelText: '取消',
  15133. confirmText: '确认',
  15134. cancelColor: '#909193',
  15135. confirmColor: '#3c9cff',
  15136. visibleItemCount: 5,
  15137. closeOnClickOverlay: false,
  15138. defaultIndex: function defaultIndex() {
  15139. return [];
  15140. }
  15141. }
  15142. };
  15143. exports.default = _default;
  15144. /***/ }),
  15145. /* 93 */
  15146. /*!****************************************************************************************************************************************************!*\
  15147. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/divider.js ***!
  15148. \****************************************************************************************************************************************************/
  15149. /*! no static exports found */
  15150. /***/ (function(module, exports, __webpack_require__) {
  15151. "use strict";
  15152. Object.defineProperty(exports, "__esModule", {
  15153. value: true
  15154. });
  15155. exports.default = void 0;
  15156. /*
  15157. * @Author : LQ
  15158. * @Description :
  15159. * @version : 1.0
  15160. * @Date : 2021-08-20 16:44:21
  15161. * @LastAuthor : LQ
  15162. * @lastTime : 2021-08-20 16:58:03
  15163. * @FilePath : /u-view2.0/uview-ui/libs/config/props/divider.js
  15164. */
  15165. var _default = {
  15166. // divider组件
  15167. divider: {
  15168. dashed: false,
  15169. hairline: true,
  15170. dot: false,
  15171. textPosition: 'center',
  15172. text: '',
  15173. textSize: 14,
  15174. textColor: '#909399',
  15175. lineColor: '#dcdfe6'
  15176. }
  15177. };
  15178. exports.default = _default;
  15179. /***/ }),
  15180. /* 94 */
  15181. /*!**************************************************************************************************************************************************!*\
  15182. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/empty.js ***!
  15183. \**************************************************************************************************************************************************/
  15184. /*! no static exports found */
  15185. /***/ (function(module, exports, __webpack_require__) {
  15186. "use strict";
  15187. Object.defineProperty(exports, "__esModule", {
  15188. value: true
  15189. });
  15190. exports.default = void 0;
  15191. /*
  15192. * @Author : LQ
  15193. * @Description :
  15194. * @version : 1.0
  15195. * @Date : 2021-08-20 16:44:21
  15196. * @LastAuthor : LQ
  15197. * @lastTime : 2021-08-20 17:03:27
  15198. * @FilePath : /u-view2.0/uview-ui/libs/config/props/empty.js
  15199. */
  15200. var _default = {
  15201. // empty组件
  15202. empty: {
  15203. icon: '',
  15204. text: '',
  15205. textColor: '#c0c4cc',
  15206. textSize: 14,
  15207. iconColor: '#c0c4cc',
  15208. iconSize: 90,
  15209. mode: 'data',
  15210. width: 160,
  15211. height: 160,
  15212. show: true,
  15213. marginTop: 0
  15214. }
  15215. };
  15216. exports.default = _default;
  15217. /***/ }),
  15218. /* 95 */
  15219. /*!*************************************************************************************************************************************************!*\
  15220. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/form.js ***!
  15221. \*************************************************************************************************************************************************/
  15222. /*! no static exports found */
  15223. /***/ (function(module, exports, __webpack_require__) {
  15224. "use strict";
  15225. Object.defineProperty(exports, "__esModule", {
  15226. value: true
  15227. });
  15228. exports.default = void 0;
  15229. /*
  15230. * @Author : LQ
  15231. * @Description :
  15232. * @version : 1.0
  15233. * @Date : 2021-08-20 16:44:21
  15234. * @LastAuthor : LQ
  15235. * @lastTime : 2021-08-20 17:03:49
  15236. * @FilePath : /u-view2.0/uview-ui/libs/config/props/form.js
  15237. */
  15238. var _default = {
  15239. // form 组件
  15240. form: {
  15241. model: function model() {
  15242. return {};
  15243. },
  15244. rules: function rules() {
  15245. return {};
  15246. },
  15247. errorType: 'message',
  15248. borderBottom: true,
  15249. labelPosition: 'left',
  15250. labelWidth: 45,
  15251. labelAlign: 'left',
  15252. labelStyle: function labelStyle() {
  15253. return {};
  15254. }
  15255. }
  15256. };
  15257. exports.default = _default;
  15258. /***/ }),
  15259. /* 96 */
  15260. /*!*****************************************************************************************************************************************************!*\
  15261. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/formItem.js ***!
  15262. \*****************************************************************************************************************************************************/
  15263. /*! no static exports found */
  15264. /***/ (function(module, exports, __webpack_require__) {
  15265. "use strict";
  15266. Object.defineProperty(exports, "__esModule", {
  15267. value: true
  15268. });
  15269. exports.default = void 0;
  15270. /*
  15271. * @Author : LQ
  15272. * @Description :
  15273. * @version : 1.0
  15274. * @Date : 2021-08-20 16:44:21
  15275. * @LastAuthor : LQ
  15276. * @lastTime : 2021-08-20 17:04:32
  15277. * @FilePath : /u-view2.0/uview-ui/libs/config/props/formItem.js
  15278. */
  15279. var _default = {
  15280. // formItem 组件
  15281. formItem: {
  15282. label: '',
  15283. prop: '',
  15284. borderBottom: '',
  15285. labelPosition: '',
  15286. labelWidth: '',
  15287. rightIcon: '',
  15288. leftIcon: '',
  15289. required: false,
  15290. leftIconStyle: ''
  15291. }
  15292. };
  15293. exports.default = _default;
  15294. /***/ }),
  15295. /* 97 */
  15296. /*!************************************************************************************************************************************************!*\
  15297. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/gap.js ***!
  15298. \************************************************************************************************************************************************/
  15299. /*! no static exports found */
  15300. /***/ (function(module, exports, __webpack_require__) {
  15301. "use strict";
  15302. Object.defineProperty(exports, "__esModule", {
  15303. value: true
  15304. });
  15305. exports.default = void 0;
  15306. /*
  15307. * @Author : LQ
  15308. * @Description :
  15309. * @version : 1.0
  15310. * @Date : 2021-08-20 16:44:21
  15311. * @LastAuthor : LQ
  15312. * @lastTime : 2021-08-20 17:05:25
  15313. * @FilePath : /u-view2.0/uview-ui/libs/config/props/gap.js
  15314. */
  15315. var _default = {
  15316. // gap组件
  15317. gap: {
  15318. bgColor: 'transparent',
  15319. height: 20,
  15320. marginTop: 0,
  15321. marginBottom: 0,
  15322. customStyle: {}
  15323. }
  15324. };
  15325. exports.default = _default;
  15326. /***/ }),
  15327. /* 98 */
  15328. /*!*************************************************************************************************************************************************!*\
  15329. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/grid.js ***!
  15330. \*************************************************************************************************************************************************/
  15331. /*! no static exports found */
  15332. /***/ (function(module, exports, __webpack_require__) {
  15333. "use strict";
  15334. Object.defineProperty(exports, "__esModule", {
  15335. value: true
  15336. });
  15337. exports.default = void 0;
  15338. /*
  15339. * @Author : LQ
  15340. * @Description :
  15341. * @version : 1.0
  15342. * @Date : 2021-08-20 16:44:21
  15343. * @LastAuthor : LQ
  15344. * @lastTime : 2021-08-20 17:05:57
  15345. * @FilePath : /u-view2.0/uview-ui/libs/config/props/grid.js
  15346. */
  15347. var _default = {
  15348. // grid组件
  15349. grid: {
  15350. col: 3,
  15351. border: false,
  15352. align: 'left'
  15353. }
  15354. };
  15355. exports.default = _default;
  15356. /***/ }),
  15357. /* 99 */
  15358. /*!*****************************************************************************************************************************************************!*\
  15359. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/gridItem.js ***!
  15360. \*****************************************************************************************************************************************************/
  15361. /*! no static exports found */
  15362. /***/ (function(module, exports, __webpack_require__) {
  15363. "use strict";
  15364. Object.defineProperty(exports, "__esModule", {
  15365. value: true
  15366. });
  15367. exports.default = void 0;
  15368. /*
  15369. * @Author : LQ
  15370. * @Description :
  15371. * @version : 1.0
  15372. * @Date : 2021-08-20 16:44:21
  15373. * @LastAuthor : LQ
  15374. * @lastTime : 2021-08-20 17:06:13
  15375. * @FilePath : /u-view2.0/uview-ui/libs/config/props/gridItem.js
  15376. */
  15377. var _default = {
  15378. // grid-item组件
  15379. gridItem: {
  15380. name: null,
  15381. bgColor: 'transparent'
  15382. }
  15383. };
  15384. exports.default = _default;
  15385. /***/ }),
  15386. /* 100 */
  15387. /*!*************************************************************************************************************************************************!*\
  15388. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/icon.js ***!
  15389. \*************************************************************************************************************************************************/
  15390. /*! no static exports found */
  15391. /***/ (function(module, exports, __webpack_require__) {
  15392. "use strict";
  15393. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  15394. Object.defineProperty(exports, "__esModule", {
  15395. value: true
  15396. });
  15397. exports.default = void 0;
  15398. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 67));
  15399. /*
  15400. * @Author : LQ
  15401. * @Description :
  15402. * @version : 1.0
  15403. * @Date : 2021-08-20 16:44:21
  15404. * @LastAuthor : LQ
  15405. * @lastTime : 2021-08-20 18:00:14
  15406. * @FilePath : /u-view2.0/uview-ui/libs/config/props/icon.js
  15407. */
  15408. var color = _config.default.color;
  15409. var _default = {
  15410. // icon组件
  15411. icon: {
  15412. name: '',
  15413. color: color['u-content-color'],
  15414. size: '16px',
  15415. bold: false,
  15416. index: '',
  15417. hoverClass: '',
  15418. customPrefix: 'uicon',
  15419. label: '',
  15420. labelPos: 'right',
  15421. labelSize: '15px',
  15422. labelColor: color['u-content-color'],
  15423. space: '3px',
  15424. imgMode: '',
  15425. width: '',
  15426. height: '',
  15427. top: 0,
  15428. stop: false
  15429. }
  15430. };
  15431. exports.default = _default;
  15432. /***/ }),
  15433. /* 101 */
  15434. /*!**************************************************************************************************************************************************!*\
  15435. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/image.js ***!
  15436. \**************************************************************************************************************************************************/
  15437. /*! no static exports found */
  15438. /***/ (function(module, exports, __webpack_require__) {
  15439. "use strict";
  15440. Object.defineProperty(exports, "__esModule", {
  15441. value: true
  15442. });
  15443. exports.default = void 0;
  15444. /*
  15445. * @Author : LQ
  15446. * @Description :
  15447. * @version : 1.0
  15448. * @Date : 2021-08-20 16:44:21
  15449. * @LastAuthor : LQ
  15450. * @lastTime : 2021-08-20 17:01:51
  15451. * @FilePath : /u-view2.0/uview-ui/libs/config/props/image.js
  15452. */
  15453. var _default = {
  15454. // image组件
  15455. image: {
  15456. src: '',
  15457. mode: 'aspectFill',
  15458. width: '300',
  15459. height: '225',
  15460. shape: 'square',
  15461. radius: 0,
  15462. lazyLoad: true,
  15463. showMenuByLongpress: true,
  15464. loadingIcon: 'photo',
  15465. errorIcon: 'error-circle',
  15466. showLoading: true,
  15467. showError: true,
  15468. fade: true,
  15469. webp: false,
  15470. duration: 500,
  15471. bgColor: '#f3f4f6'
  15472. }
  15473. };
  15474. exports.default = _default;
  15475. /***/ }),
  15476. /* 102 */
  15477. /*!********************************************************************************************************************************************************!*\
  15478. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/indexAnchor.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:13:15
  15494. * @FilePath : /u-view2.0/uview-ui/libs/config/props/indexAnchor.js
  15495. */
  15496. var _default = {
  15497. // indexAnchor 组件
  15498. indexAnchor: {
  15499. text: '',
  15500. color: '#606266',
  15501. size: 14,
  15502. bgColor: '#dedede',
  15503. height: 32
  15504. }
  15505. };
  15506. exports.default = _default;
  15507. /***/ }),
  15508. /* 103 */
  15509. /*!******************************************************************************************************************************************************!*\
  15510. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/indexList.js ***!
  15511. \******************************************************************************************************************************************************/
  15512. /*! no static exports found */
  15513. /***/ (function(module, exports, __webpack_require__) {
  15514. "use strict";
  15515. Object.defineProperty(exports, "__esModule", {
  15516. value: true
  15517. });
  15518. exports.default = void 0;
  15519. /*
  15520. * @Author : LQ
  15521. * @Description :
  15522. * @version : 1.0
  15523. * @Date : 2021-08-20 16:44:21
  15524. * @LastAuthor : LQ
  15525. * @lastTime : 2021-08-20 17:13:35
  15526. * @FilePath : /u-view2.0/uview-ui/libs/config/props/indexList.js
  15527. */
  15528. var _default = {
  15529. // indexList 组件
  15530. indexList: {
  15531. inactiveColor: '#606266',
  15532. activeColor: '#5677fc',
  15533. indexList: function indexList() {
  15534. return [];
  15535. },
  15536. sticky: true,
  15537. customNavHeight: 0
  15538. }
  15539. };
  15540. exports.default = _default;
  15541. /***/ }),
  15542. /* 104 */
  15543. /*!**************************************************************************************************************************************************!*\
  15544. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/input.js ***!
  15545. \**************************************************************************************************************************************************/
  15546. /*! no static exports found */
  15547. /***/ (function(module, exports, __webpack_require__) {
  15548. "use strict";
  15549. Object.defineProperty(exports, "__esModule", {
  15550. value: true
  15551. });
  15552. exports.default = void 0;
  15553. /*
  15554. * @Author : LQ
  15555. * @Description :
  15556. * @version : 1.0
  15557. * @Date : 2021-08-20 16:44:21
  15558. * @LastAuthor : LQ
  15559. * @lastTime : 2021-08-20 17:13:55
  15560. * @FilePath : /u-view2.0/uview-ui/libs/config/props/input.js
  15561. */
  15562. var _default = {
  15563. // index 组件
  15564. input: {
  15565. value: '',
  15566. type: 'text',
  15567. fixed: false,
  15568. disabled: false,
  15569. disabledColor: '#f5f7fa',
  15570. clearable: false,
  15571. password: false,
  15572. maxlength: -1,
  15573. placeholder: null,
  15574. placeholderClass: 'input-placeholder',
  15575. placeholderStyle: 'color: #c0c4cc',
  15576. showWordLimit: false,
  15577. confirmType: 'done',
  15578. confirmHold: false,
  15579. holdKeyboard: false,
  15580. focus: false,
  15581. autoBlur: false,
  15582. disableDefaultPadding: false,
  15583. cursor: -1,
  15584. cursorSpacing: 30,
  15585. selectionStart: -1,
  15586. selectionEnd: -1,
  15587. adjustPosition: true,
  15588. inputAlign: 'left',
  15589. fontSize: '15px',
  15590. color: '#303133',
  15591. prefixIcon: '',
  15592. prefixIconStyle: '',
  15593. suffixIcon: '',
  15594. suffixIconStyle: '',
  15595. border: 'surround',
  15596. readonly: false,
  15597. shape: 'square',
  15598. formatter: null
  15599. }
  15600. };
  15601. exports.default = _default;
  15602. /***/ }),
  15603. /* 105 */
  15604. /*!*****************************************************************************************************************************************************!*\
  15605. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/keyboard.js ***!
  15606. \*****************************************************************************************************************************************************/
  15607. /*! no static exports found */
  15608. /***/ (function(module, exports, __webpack_require__) {
  15609. "use strict";
  15610. Object.defineProperty(exports, "__esModule", {
  15611. value: true
  15612. });
  15613. exports.default = void 0;
  15614. /*
  15615. * @Author : LQ
  15616. * @Description :
  15617. * @version : 1.0
  15618. * @Date : 2021-08-20 16:44:21
  15619. * @LastAuthor : LQ
  15620. * @lastTime : 2021-08-20 17:07:49
  15621. * @FilePath : /u-view2.0/uview-ui/libs/config/props/keyboard.js
  15622. */
  15623. var _default = {
  15624. // 键盘组件
  15625. keyboard: {
  15626. mode: 'number',
  15627. dotDisabled: false,
  15628. tooltip: true,
  15629. showTips: true,
  15630. tips: '',
  15631. showCancel: true,
  15632. showConfirm: true,
  15633. random: false,
  15634. safeAreaInsetBottom: true,
  15635. closeOnClickOverlay: true,
  15636. show: false,
  15637. overlay: true,
  15638. zIndex: 10075,
  15639. cancelText: '取消',
  15640. confirmText: '确定',
  15641. autoChange: false
  15642. }
  15643. };
  15644. exports.default = _default;
  15645. /***/ }),
  15646. /* 106 */
  15647. /*!*************************************************************************************************************************************************!*\
  15648. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/line.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:04:49
  15664. * @FilePath : /u-view2.0/uview-ui/libs/config/props/line.js
  15665. */
  15666. var _default = {
  15667. // line组件
  15668. line: {
  15669. color: '#d6d7d9',
  15670. length: '100%',
  15671. direction: 'row',
  15672. hairline: true,
  15673. margin: 0,
  15674. dashed: false
  15675. }
  15676. };
  15677. exports.default = _default;
  15678. /***/ }),
  15679. /* 107 */
  15680. /*!*********************************************************************************************************************************************************!*\
  15681. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/lineProgress.js ***!
  15682. \*********************************************************************************************************************************************************/
  15683. /*! no static exports found */
  15684. /***/ (function(module, exports, __webpack_require__) {
  15685. "use strict";
  15686. Object.defineProperty(exports, "__esModule", {
  15687. value: true
  15688. });
  15689. exports.default = void 0;
  15690. /*
  15691. * @Author : LQ
  15692. * @Description :
  15693. * @version : 1.0
  15694. * @Date : 2021-08-20 16:44:21
  15695. * @LastAuthor : LQ
  15696. * @lastTime : 2021-08-20 17:14:11
  15697. * @FilePath : /u-view2.0/uview-ui/libs/config/props/lineProgress.js
  15698. */
  15699. var _default = {
  15700. // lineProgress 组件
  15701. lineProgress: {
  15702. activeColor: '#19be6b',
  15703. inactiveColor: '#ececec',
  15704. percentage: 0,
  15705. showText: true,
  15706. height: 12
  15707. }
  15708. };
  15709. exports.default = _default;
  15710. /***/ }),
  15711. /* 108 */
  15712. /*!*************************************************************************************************************************************************!*\
  15713. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/link.js ***!
  15714. \*************************************************************************************************************************************************/
  15715. /*! no static exports found */
  15716. /***/ (function(module, exports, __webpack_require__) {
  15717. "use strict";
  15718. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  15719. Object.defineProperty(exports, "__esModule", {
  15720. value: true
  15721. });
  15722. exports.default = void 0;
  15723. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 67));
  15724. /*
  15725. * @Author : LQ
  15726. * @Description :
  15727. * @version : 1.0
  15728. * @Date : 2021-08-20 16:44:21
  15729. * @LastAuthor : LQ
  15730. * @lastTime : 2021-08-20 17:45:36
  15731. * @FilePath : /u-view2.0/uview-ui/libs/config/props/link.js
  15732. */
  15733. var color = _config.default.color;
  15734. var _default = {
  15735. // link超链接组件props参数
  15736. link: {
  15737. color: color['u-primary'],
  15738. fontSize: 15,
  15739. underLine: false,
  15740. href: '',
  15741. mpTips: '链接已复制,请在浏览器打开',
  15742. lineColor: '',
  15743. text: ''
  15744. }
  15745. };
  15746. exports.default = _default;
  15747. /***/ }),
  15748. /* 109 */
  15749. /*!*************************************************************************************************************************************************!*\
  15750. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/list.js ***!
  15751. \*************************************************************************************************************************************************/
  15752. /*! no static exports found */
  15753. /***/ (function(module, exports, __webpack_require__) {
  15754. "use strict";
  15755. Object.defineProperty(exports, "__esModule", {
  15756. value: true
  15757. });
  15758. exports.default = void 0;
  15759. /*
  15760. * @Author : LQ
  15761. * @Description :
  15762. * @version : 1.0
  15763. * @Date : 2021-08-20 16:44:21
  15764. * @LastAuthor : LQ
  15765. * @lastTime : 2021-08-20 17:14:53
  15766. * @FilePath : /u-view2.0/uview-ui/libs/config/props/list.js
  15767. */
  15768. var _default = {
  15769. // list 组件
  15770. list: {
  15771. showScrollbar: false,
  15772. lowerThreshold: 50,
  15773. upperThreshold: 0,
  15774. scrollTop: 0,
  15775. offsetAccuracy: 10,
  15776. enableFlex: false,
  15777. pagingEnabled: false,
  15778. scrollable: true,
  15779. scrollIntoView: '',
  15780. scrollWithAnimation: false,
  15781. enableBackToTop: false,
  15782. height: 0,
  15783. width: 0,
  15784. preLoadScreen: 1
  15785. }
  15786. };
  15787. exports.default = _default;
  15788. /***/ }),
  15789. /* 110 */
  15790. /*!*****************************************************************************************************************************************************!*\
  15791. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/listItem.js ***!
  15792. \*****************************************************************************************************************************************************/
  15793. /*! no static exports found */
  15794. /***/ (function(module, exports, __webpack_require__) {
  15795. "use strict";
  15796. Object.defineProperty(exports, "__esModule", {
  15797. value: true
  15798. });
  15799. exports.default = void 0;
  15800. /*
  15801. * @Author : LQ
  15802. * @Description :
  15803. * @version : 1.0
  15804. * @Date : 2021-08-20 16:44:21
  15805. * @LastAuthor : LQ
  15806. * @lastTime : 2021-08-20 17:15:40
  15807. * @FilePath : /u-view2.0/uview-ui/libs/config/props/listItem.js
  15808. */
  15809. var _default = {
  15810. // listItem 组件
  15811. listItem: {
  15812. anchor: ''
  15813. }
  15814. };
  15815. exports.default = _default;
  15816. /***/ }),
  15817. /* 111 */
  15818. /*!********************************************************************************************************************************************************!*\
  15819. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/loadingIcon.js ***!
  15820. \********************************************************************************************************************************************************/
  15821. /*! no static exports found */
  15822. /***/ (function(module, exports, __webpack_require__) {
  15823. "use strict";
  15824. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  15825. Object.defineProperty(exports, "__esModule", {
  15826. value: true
  15827. });
  15828. exports.default = void 0;
  15829. var _config = _interopRequireDefault(__webpack_require__(/*! ../config */ 67));
  15830. /*
  15831. * @Author : LQ
  15832. * @Description :
  15833. * @version : 1.0
  15834. * @Date : 2021-08-20 16:44:21
  15835. * @LastAuthor : LQ
  15836. * @lastTime : 2021-08-20 17:45:47
  15837. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadingIcon.js
  15838. */
  15839. var color = _config.default.color;
  15840. var _default = {
  15841. // loading-icon加载中图标组件
  15842. loadingIcon: {
  15843. show: true,
  15844. color: color['u-tips-color'],
  15845. textColor: color['u-tips-color'],
  15846. vertical: false,
  15847. mode: 'spinner',
  15848. size: 24,
  15849. textSize: 15,
  15850. text: '',
  15851. timingFunction: 'ease-in-out',
  15852. duration: 1200,
  15853. inactiveColor: ''
  15854. }
  15855. };
  15856. exports.default = _default;
  15857. /***/ }),
  15858. /* 112 */
  15859. /*!********************************************************************************************************************************************************!*\
  15860. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/loadingPage.js ***!
  15861. \********************************************************************************************************************************************************/
  15862. /*! no static exports found */
  15863. /***/ (function(module, exports, __webpack_require__) {
  15864. "use strict";
  15865. Object.defineProperty(exports, "__esModule", {
  15866. value: true
  15867. });
  15868. exports.default = void 0;
  15869. /*
  15870. * @Author : LQ
  15871. * @Description :
  15872. * @version : 1.0
  15873. * @Date : 2021-08-20 16:44:21
  15874. * @LastAuthor : LQ
  15875. * @lastTime : 2021-08-20 17:00:23
  15876. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadingPage.js
  15877. */
  15878. var _default = {
  15879. // loading-page组件
  15880. loadingPage: {
  15881. loadingText: '正在加载',
  15882. image: '',
  15883. loadingMode: 'circle',
  15884. loading: false,
  15885. bgColor: '#ffffff',
  15886. color: '#C8C8C8',
  15887. fontSize: 19,
  15888. iconSize: 28,
  15889. loadingColor: '#C8C8C8'
  15890. }
  15891. };
  15892. exports.default = _default;
  15893. /***/ }),
  15894. /* 113 */
  15895. /*!*****************************************************************************************************************************************************!*\
  15896. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/loadmore.js ***!
  15897. \*****************************************************************************************************************************************************/
  15898. /*! no static exports found */
  15899. /***/ (function(module, exports, __webpack_require__) {
  15900. "use strict";
  15901. Object.defineProperty(exports, "__esModule", {
  15902. value: true
  15903. });
  15904. exports.default = void 0;
  15905. /*
  15906. * @Author : LQ
  15907. * @Description :
  15908. * @version : 1.0
  15909. * @Date : 2021-08-20 16:44:21
  15910. * @LastAuthor : LQ
  15911. * @lastTime : 2021-08-20 17:15:26
  15912. * @FilePath : /u-view2.0/uview-ui/libs/config/props/loadmore.js
  15913. */
  15914. var _default = {
  15915. // loadmore 组件
  15916. loadmore: {
  15917. status: 'loadmore',
  15918. bgColor: 'transparent',
  15919. icon: true,
  15920. fontSize: 14,
  15921. iconSize: 17,
  15922. color: '#606266',
  15923. loadingIcon: 'spinner',
  15924. loadmoreText: '加载更多',
  15925. loadingText: '正在加载...',
  15926. nomoreText: '没有更多了',
  15927. isDot: false,
  15928. iconColor: '#b7b7b7',
  15929. marginTop: 10,
  15930. marginBottom: 10,
  15931. height: 'auto',
  15932. line: false,
  15933. lineColor: '#E6E8EB',
  15934. dashed: false
  15935. }
  15936. };
  15937. exports.default = _default;
  15938. /***/ }),
  15939. /* 114 */
  15940. /*!**************************************************************************************************************************************************!*\
  15941. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/modal.js ***!
  15942. \**************************************************************************************************************************************************/
  15943. /*! no static exports found */
  15944. /***/ (function(module, exports, __webpack_require__) {
  15945. "use strict";
  15946. Object.defineProperty(exports, "__esModule", {
  15947. value: true
  15948. });
  15949. exports.default = void 0;
  15950. /*
  15951. * @Author : LQ
  15952. * @Description :
  15953. * @version : 1.0
  15954. * @Date : 2021-08-20 16:44:21
  15955. * @LastAuthor : LQ
  15956. * @lastTime : 2021-08-20 17:15:59
  15957. * @FilePath : /u-view2.0/uview-ui/libs/config/props/modal.js
  15958. */
  15959. var _default = {
  15960. // modal 组件
  15961. modal: {
  15962. show: false,
  15963. title: '',
  15964. content: '',
  15965. confirmText: '确认',
  15966. cancelText: '取消',
  15967. showConfirmButton: true,
  15968. showCancelButton: false,
  15969. confirmColor: '#2979ff',
  15970. cancelColor: '#606266',
  15971. buttonReverse: false,
  15972. zoom: true,
  15973. asyncClose: false,
  15974. closeOnClickOverlay: false,
  15975. negativeTop: 0,
  15976. width: '650rpx',
  15977. confirmButtonShape: ''
  15978. }
  15979. };
  15980. exports.default = _default;
  15981. /***/ }),
  15982. /* 115 */
  15983. /*!***************************************************************************************************************************************************!*\
  15984. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/navbar.js ***!
  15985. \***************************************************************************************************************************************************/
  15986. /*! no static exports found */
  15987. /***/ (function(module, exports, __webpack_require__) {
  15988. "use strict";
  15989. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  15990. Object.defineProperty(exports, "__esModule", {
  15991. value: true
  15992. });
  15993. exports.default = void 0;
  15994. var _color = _interopRequireDefault(__webpack_require__(/*! ../color */ 116));
  15995. /*
  15996. * @Author : LQ
  15997. * @Description :
  15998. * @version : 1.0
  15999. * @Date : 2021-08-20 16:44:21
  16000. * @LastAuthor : LQ
  16001. * @lastTime : 2021-08-20 17:16:18
  16002. * @FilePath : /u-view2.0/uview-ui/libs/config/props/navbar.js
  16003. */
  16004. var _default = {
  16005. // navbar 组件
  16006. navbar: {
  16007. safeAreaInsetTop: true,
  16008. placeholder: false,
  16009. fixed: true,
  16010. border: false,
  16011. leftIcon: 'arrow-left',
  16012. leftText: '',
  16013. rightText: '',
  16014. rightIcon: '',
  16015. title: '',
  16016. bgColor: '#ffffff',
  16017. titleWidth: '400rpx',
  16018. height: '44px',
  16019. leftIconSize: 20,
  16020. leftIconColor: _color.default.mainColor,
  16021. autoBack: false,
  16022. titleStyle: ''
  16023. }
  16024. };
  16025. exports.default = _default;
  16026. /***/ }),
  16027. /* 116 */
  16028. /*!********************************************************************************************************************************************!*\
  16029. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/color.js ***!
  16030. \********************************************************************************************************************************************/
  16031. /*! no static exports found */
  16032. /***/ (function(module, exports, __webpack_require__) {
  16033. "use strict";
  16034. Object.defineProperty(exports, "__esModule", {
  16035. value: true
  16036. });
  16037. exports.default = void 0;
  16038. // 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
  16039. // 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
  16040. var color = {
  16041. primary: '#3c9cff',
  16042. info: '#909399',
  16043. default: '#909399',
  16044. warning: '#f9ae3d',
  16045. error: '#f56c6c',
  16046. success: '#5ac725',
  16047. mainColor: '#303133',
  16048. contentColor: '#606266',
  16049. tipsColor: '#909399',
  16050. lightColor: '#c0c4cc',
  16051. borderColor: '#e4e7ed'
  16052. };
  16053. var _default = color;
  16054. exports.default = _default;
  16055. /***/ }),
  16056. /* 117 */
  16057. /*!******************************************************************************************************************************************************!*\
  16058. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/noNetwork.js ***!
  16059. \******************************************************************************************************************************************************/
  16060. /*! no static exports found */
  16061. /***/ (function(module, exports, __webpack_require__) {
  16062. "use strict";
  16063. Object.defineProperty(exports, "__esModule", {
  16064. value: true
  16065. });
  16066. exports.default = void 0;
  16067. /*
  16068. * @Author : LQ
  16069. * @Description :
  16070. * @version : 1.0
  16071. * @Date : 2021-08-20 16:44:21
  16072. * @LastAuthor : LQ
  16073. * @lastTime : 2021-08-20 17:16:39
  16074. * @FilePath : /u-view2.0/uview-ui/libs/config/props/noNetwork.js
  16075. */
  16076. var _default = {
  16077. // noNetwork
  16078. noNetwork: {
  16079. tips: '哎呀,网络信号丢失',
  16080. zIndex: '',
  16081. image: 'data:image/png;base64,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'
  16082. }
  16083. };
  16084. exports.default = _default;
  16085. /***/ }),
  16086. /* 118 */
  16087. /*!******************************************************************************************************************************************************!*\
  16088. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/noticeBar.js ***!
  16089. \******************************************************************************************************************************************************/
  16090. /*! no static exports found */
  16091. /***/ (function(module, exports, __webpack_require__) {
  16092. "use strict";
  16093. Object.defineProperty(exports, "__esModule", {
  16094. value: true
  16095. });
  16096. exports.default = void 0;
  16097. /*
  16098. * @Author : LQ
  16099. * @Description :
  16100. * @version : 1.0
  16101. * @Date : 2021-08-20 16:44:21
  16102. * @LastAuthor : LQ
  16103. * @lastTime : 2021-08-20 17:17:13
  16104. * @FilePath : /u-view2.0/uview-ui/libs/config/props/noticeBar.js
  16105. */
  16106. var _default = {
  16107. // noticeBar
  16108. noticeBar: {
  16109. text: function text() {
  16110. return [];
  16111. },
  16112. direction: 'row',
  16113. step: false,
  16114. icon: 'volume',
  16115. mode: '',
  16116. color: '#f9ae3d',
  16117. bgColor: '#fdf6ec',
  16118. speed: 80,
  16119. fontSize: 14,
  16120. duration: 2000,
  16121. disableTouch: true,
  16122. url: '',
  16123. linkType: 'navigateTo'
  16124. }
  16125. };
  16126. exports.default = _default;
  16127. /***/ }),
  16128. /* 119 */
  16129. /*!***************************************************************************************************************************************************!*\
  16130. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/notify.js ***!
  16131. \***************************************************************************************************************************************************/
  16132. /*! no static exports found */
  16133. /***/ (function(module, exports, __webpack_require__) {
  16134. "use strict";
  16135. Object.defineProperty(exports, "__esModule", {
  16136. value: true
  16137. });
  16138. exports.default = void 0;
  16139. /*
  16140. * @Author : LQ
  16141. * @Description :
  16142. * @version : 1.0
  16143. * @Date : 2021-08-20 16:44:21
  16144. * @LastAuthor : LQ
  16145. * @lastTime : 2021-08-20 17:10:21
  16146. * @FilePath : /u-view2.0/uview-ui/libs/config/props/notify.js
  16147. */
  16148. var _default = {
  16149. // notify组件
  16150. notify: {
  16151. top: 0,
  16152. type: 'primary',
  16153. color: '#ffffff',
  16154. bgColor: '',
  16155. message: '',
  16156. duration: 3000,
  16157. fontSize: 15,
  16158. safeAreaInsetTop: false
  16159. }
  16160. };
  16161. exports.default = _default;
  16162. /***/ }),
  16163. /* 120 */
  16164. /*!******************************************************************************************************************************************************!*\
  16165. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/numberBox.js ***!
  16166. \******************************************************************************************************************************************************/
  16167. /*! no static exports found */
  16168. /***/ (function(module, exports, __webpack_require__) {
  16169. "use strict";
  16170. Object.defineProperty(exports, "__esModule", {
  16171. value: true
  16172. });
  16173. exports.default = void 0;
  16174. /*
  16175. * @Author : LQ
  16176. * @Description :
  16177. * @version : 1.0
  16178. * @Date : 2021-08-20 16:44:21
  16179. * @LastAuthor : LQ
  16180. * @lastTime : 2021-08-20 17:11:46
  16181. * @FilePath : /u-view2.0/uview-ui/libs/config/props/numberBox.js
  16182. */
  16183. var _default = {
  16184. // 步进器组件
  16185. numberBox: {
  16186. name: '',
  16187. value: 0,
  16188. min: 1,
  16189. max: Number.MAX_SAFE_INTEGER,
  16190. step: 1,
  16191. integer: false,
  16192. disabled: false,
  16193. disabledInput: false,
  16194. asyncChange: false,
  16195. inputWidth: 35,
  16196. showMinus: true,
  16197. showPlus: true,
  16198. decimalLength: null,
  16199. longPress: true,
  16200. color: '#323233',
  16201. buttonSize: 30,
  16202. bgColor: '#EBECEE',
  16203. cursorSpacing: 100,
  16204. disableMinus: false,
  16205. disablePlus: false,
  16206. iconStyle: ''
  16207. }
  16208. };
  16209. exports.default = _default;
  16210. /***/ }),
  16211. /* 121 */
  16212. /*!***********************************************************************************************************************************************************!*\
  16213. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/numberKeyboard.js ***!
  16214. \***********************************************************************************************************************************************************/
  16215. /*! no static exports found */
  16216. /***/ (function(module, exports, __webpack_require__) {
  16217. "use strict";
  16218. Object.defineProperty(exports, "__esModule", {
  16219. value: true
  16220. });
  16221. exports.default = void 0;
  16222. /*
  16223. * @Author : LQ
  16224. * @Description :
  16225. * @version : 1.0
  16226. * @Date : 2021-08-20 16:44:21
  16227. * @LastAuthor : LQ
  16228. * @lastTime : 2021-08-20 17:08:05
  16229. * @FilePath : /u-view2.0/uview-ui/libs/config/props/numberKeyboard.js
  16230. */
  16231. var _default = {
  16232. // 数字键盘
  16233. numberKeyboard: {
  16234. mode: 'number',
  16235. dotDisabled: false,
  16236. random: false
  16237. }
  16238. };
  16239. exports.default = _default;
  16240. /***/ }),
  16241. /* 122 */
  16242. /*!****************************************************************************************************************************************************!*\
  16243. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/overlay.js ***!
  16244. \****************************************************************************************************************************************************/
  16245. /*! no static exports found */
  16246. /***/ (function(module, exports, __webpack_require__) {
  16247. "use strict";
  16248. Object.defineProperty(exports, "__esModule", {
  16249. value: true
  16250. });
  16251. exports.default = void 0;
  16252. /*
  16253. * @Author : LQ
  16254. * @Description :
  16255. * @version : 1.0
  16256. * @Date : 2021-08-20 16:44:21
  16257. * @LastAuthor : LQ
  16258. * @lastTime : 2021-08-20 17:06:50
  16259. * @FilePath : /u-view2.0/uview-ui/libs/config/props/overlay.js
  16260. */
  16261. var _default = {
  16262. // overlay组件
  16263. overlay: {
  16264. show: false,
  16265. zIndex: 10070,
  16266. duration: 300,
  16267. opacity: 0.5
  16268. }
  16269. };
  16270. exports.default = _default;
  16271. /***/ }),
  16272. /* 123 */
  16273. /*!**************************************************************************************************************************************************!*\
  16274. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/parse.js ***!
  16275. \**************************************************************************************************************************************************/
  16276. /*! no static exports found */
  16277. /***/ (function(module, exports, __webpack_require__) {
  16278. "use strict";
  16279. Object.defineProperty(exports, "__esModule", {
  16280. value: true
  16281. });
  16282. exports.default = void 0;
  16283. /*
  16284. * @Author : LQ
  16285. * @Description :
  16286. * @version : 1.0
  16287. * @Date : 2021-08-20 16:44:21
  16288. * @LastAuthor : LQ
  16289. * @lastTime : 2021-08-20 17:17:33
  16290. * @FilePath : /u-view2.0/uview-ui/libs/config/props/parse.js
  16291. */
  16292. var _default = {
  16293. // parse
  16294. parse: {
  16295. copyLink: true,
  16296. errorImg: '',
  16297. lazyLoad: false,
  16298. loadingImg: '',
  16299. pauseVideo: true,
  16300. previewImg: true,
  16301. setTitle: true,
  16302. showImgMenu: true
  16303. }
  16304. };
  16305. exports.default = _default;
  16306. /***/ }),
  16307. /* 124 */
  16308. /*!***************************************************************************************************************************************************!*\
  16309. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/picker.js ***!
  16310. \***************************************************************************************************************************************************/
  16311. /*! no static exports found */
  16312. /***/ (function(module, exports, __webpack_require__) {
  16313. "use strict";
  16314. Object.defineProperty(exports, "__esModule", {
  16315. value: true
  16316. });
  16317. exports.default = void 0;
  16318. /*
  16319. * @Author : LQ
  16320. * @Description :
  16321. * @version : 1.0
  16322. * @Date : 2021-08-20 16:44:21
  16323. * @LastAuthor : LQ
  16324. * @lastTime : 2021-08-20 17:18:20
  16325. * @FilePath : /u-view2.0/uview-ui/libs/config/props/picker.js
  16326. */
  16327. var _default = {
  16328. // picker
  16329. picker: {
  16330. show: false,
  16331. showToolbar: true,
  16332. title: '',
  16333. columns: function columns() {
  16334. return [];
  16335. },
  16336. loading: false,
  16337. itemHeight: 44,
  16338. cancelText: '取消',
  16339. confirmText: '确定',
  16340. cancelColor: '#909193',
  16341. confirmColor: '#3c9cff',
  16342. visibleItemCount: 5,
  16343. keyName: 'text',
  16344. closeOnClickOverlay: false,
  16345. defaultIndex: function defaultIndex() {
  16346. return [];
  16347. },
  16348. immediateChange: false
  16349. }
  16350. };
  16351. exports.default = _default;
  16352. /***/ }),
  16353. /* 125 */
  16354. /*!**************************************************************************************************************************************************!*\
  16355. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/popup.js ***!
  16356. \**************************************************************************************************************************************************/
  16357. /*! no static exports found */
  16358. /***/ (function(module, exports, __webpack_require__) {
  16359. "use strict";
  16360. Object.defineProperty(exports, "__esModule", {
  16361. value: true
  16362. });
  16363. exports.default = void 0;
  16364. /*
  16365. * @Author : LQ
  16366. * @Description :
  16367. * @version : 1.0
  16368. * @Date : 2021-08-20 16:44:21
  16369. * @LastAuthor : LQ
  16370. * @lastTime : 2021-08-20 17:06:33
  16371. * @FilePath : /u-view2.0/uview-ui/libs/config/props/popup.js
  16372. */
  16373. var _default = {
  16374. // popup组件
  16375. popup: {
  16376. show: false,
  16377. overlay: true,
  16378. mode: 'bottom',
  16379. duration: 300,
  16380. closeable: false,
  16381. overlayStyle: function overlayStyle() {},
  16382. closeOnClickOverlay: true,
  16383. zIndex: 10075,
  16384. safeAreaInsetBottom: true,
  16385. safeAreaInsetTop: false,
  16386. closeIconPos: 'top-right',
  16387. round: 0,
  16388. zoom: true,
  16389. bgColor: '',
  16390. overlayOpacity: 0.5
  16391. }
  16392. };
  16393. exports.default = _default;
  16394. /***/ }),
  16395. /* 126 */
  16396. /*!**************************************************************************************************************************************************!*\
  16397. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/radio.js ***!
  16398. \**************************************************************************************************************************************************/
  16399. /*! no static exports found */
  16400. /***/ (function(module, exports, __webpack_require__) {
  16401. "use strict";
  16402. Object.defineProperty(exports, "__esModule", {
  16403. value: true
  16404. });
  16405. exports.default = void 0;
  16406. /*
  16407. * @Author : LQ
  16408. * @Description :
  16409. * @version : 1.0
  16410. * @Date : 2021-08-20 16:44:21
  16411. * @LastAuthor : LQ
  16412. * @lastTime : 2021-08-20 17:02:34
  16413. * @FilePath : /u-view2.0/uview-ui/libs/config/props/radio.js
  16414. */
  16415. var _default = {
  16416. // radio组件
  16417. radio: {
  16418. name: '',
  16419. shape: '',
  16420. disabled: '',
  16421. labelDisabled: '',
  16422. activeColor: '',
  16423. inactiveColor: '',
  16424. iconSize: '',
  16425. labelSize: '',
  16426. label: '',
  16427. labelColor: '',
  16428. size: '',
  16429. iconColor: '',
  16430. placement: ''
  16431. }
  16432. };
  16433. exports.default = _default;
  16434. /***/ }),
  16435. /* 127 */
  16436. /*!*******************************************************************************************************************************************************!*\
  16437. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/radioGroup.js ***!
  16438. \*******************************************************************************************************************************************************/
  16439. /*! no static exports found */
  16440. /***/ (function(module, exports, __webpack_require__) {
  16441. "use strict";
  16442. Object.defineProperty(exports, "__esModule", {
  16443. value: true
  16444. });
  16445. exports.default = void 0;
  16446. /*
  16447. * @Author : LQ
  16448. * @Description :
  16449. * @version : 1.0
  16450. * @Date : 2021-08-20 16:44:21
  16451. * @LastAuthor : LQ
  16452. * @lastTime : 2021-08-20 17:03:12
  16453. * @FilePath : /u-view2.0/uview-ui/libs/config/props/radioGroup.js
  16454. */
  16455. var _default = {
  16456. // radio-group组件
  16457. radioGroup: {
  16458. value: '',
  16459. disabled: false,
  16460. shape: 'circle',
  16461. activeColor: '#2979ff',
  16462. inactiveColor: '#c8c9cc',
  16463. name: '',
  16464. size: 18,
  16465. placement: 'row',
  16466. label: '',
  16467. labelColor: '#303133',
  16468. labelSize: 14,
  16469. labelDisabled: false,
  16470. iconColor: '#ffffff',
  16471. iconSize: 12,
  16472. borderBottom: false,
  16473. iconPlacement: 'left'
  16474. }
  16475. };
  16476. exports.default = _default;
  16477. /***/ }),
  16478. /* 128 */
  16479. /*!*************************************************************************************************************************************************!*\
  16480. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/rate.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:05:09
  16496. * @FilePath : /u-view2.0/uview-ui/libs/config/props/rate.js
  16497. */
  16498. var _default = {
  16499. // rate组件
  16500. rate: {
  16501. value: 1,
  16502. count: 5,
  16503. disabled: false,
  16504. size: 18,
  16505. inactiveColor: '#b2b2b2',
  16506. activeColor: '#FA3534',
  16507. gutter: 4,
  16508. minCount: 1,
  16509. allowHalf: false,
  16510. activeIcon: 'star-fill',
  16511. inactiveIcon: 'star',
  16512. touchable: true
  16513. }
  16514. };
  16515. exports.default = _default;
  16516. /***/ }),
  16517. /* 129 */
  16518. /*!*****************************************************************************************************************************************************!*\
  16519. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/readMore.js ***!
  16520. \*****************************************************************************************************************************************************/
  16521. /*! no static exports found */
  16522. /***/ (function(module, exports, __webpack_require__) {
  16523. "use strict";
  16524. Object.defineProperty(exports, "__esModule", {
  16525. value: true
  16526. });
  16527. exports.default = void 0;
  16528. /*
  16529. * @Author : LQ
  16530. * @Description :
  16531. * @version : 1.0
  16532. * @Date : 2021-08-20 16:44:21
  16533. * @LastAuthor : LQ
  16534. * @lastTime : 2021-08-20 17:18:41
  16535. * @FilePath : /u-view2.0/uview-ui/libs/config/props/readMore.js
  16536. */
  16537. var _default = {
  16538. // readMore
  16539. readMore: {
  16540. showHeight: 400,
  16541. toggle: false,
  16542. closeText: '展开阅读全文',
  16543. openText: '收起',
  16544. color: '#2979ff',
  16545. fontSize: 14,
  16546. textIndent: '2em',
  16547. name: ''
  16548. }
  16549. };
  16550. exports.default = _default;
  16551. /***/ }),
  16552. /* 130 */
  16553. /*!************************************************************************************************************************************************!*\
  16554. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/row.js ***!
  16555. \************************************************************************************************************************************************/
  16556. /*! no static exports found */
  16557. /***/ (function(module, exports, __webpack_require__) {
  16558. "use strict";
  16559. Object.defineProperty(exports, "__esModule", {
  16560. value: true
  16561. });
  16562. exports.default = void 0;
  16563. /*
  16564. * @Author : LQ
  16565. * @Description :
  16566. * @version : 1.0
  16567. * @Date : 2021-08-20 16:44:21
  16568. * @LastAuthor : LQ
  16569. * @lastTime : 2021-08-20 17:18:58
  16570. * @FilePath : /u-view2.0/uview-ui/libs/config/props/row.js
  16571. */
  16572. var _default = {
  16573. // row
  16574. row: {
  16575. gutter: 0,
  16576. justify: 'start',
  16577. align: 'center'
  16578. }
  16579. };
  16580. exports.default = _default;
  16581. /***/ }),
  16582. /* 131 */
  16583. /*!******************************************************************************************************************************************************!*\
  16584. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/rowNotice.js ***!
  16585. \******************************************************************************************************************************************************/
  16586. /*! no static exports found */
  16587. /***/ (function(module, exports, __webpack_require__) {
  16588. "use strict";
  16589. Object.defineProperty(exports, "__esModule", {
  16590. value: true
  16591. });
  16592. exports.default = void 0;
  16593. /*
  16594. * @Author : LQ
  16595. * @Description :
  16596. * @version : 1.0
  16597. * @Date : 2021-08-20 16:44:21
  16598. * @LastAuthor : LQ
  16599. * @lastTime : 2021-08-20 17:19:13
  16600. * @FilePath : /u-view2.0/uview-ui/libs/config/props/rowNotice.js
  16601. */
  16602. var _default = {
  16603. // rowNotice
  16604. rowNotice: {
  16605. text: '',
  16606. icon: 'volume',
  16607. mode: '',
  16608. color: '#f9ae3d',
  16609. bgColor: '#fdf6ec',
  16610. fontSize: 14,
  16611. speed: 80
  16612. }
  16613. };
  16614. exports.default = _default;
  16615. /***/ }),
  16616. /* 132 */
  16617. /*!*******************************************************************************************************************************************************!*\
  16618. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/scrollList.js ***!
  16619. \*******************************************************************************************************************************************************/
  16620. /*! no static exports found */
  16621. /***/ (function(module, exports, __webpack_require__) {
  16622. "use strict";
  16623. Object.defineProperty(exports, "__esModule", {
  16624. value: true
  16625. });
  16626. exports.default = void 0;
  16627. /*
  16628. * @Author : LQ
  16629. * @Description :
  16630. * @version : 1.0
  16631. * @Date : 2021-08-20 16:44:21
  16632. * @LastAuthor : LQ
  16633. * @lastTime : 2021-08-20 17:19:28
  16634. * @FilePath : /u-view2.0/uview-ui/libs/config/props/scrollList.js
  16635. */
  16636. var _default = {
  16637. // scrollList
  16638. scrollList: {
  16639. indicatorWidth: 50,
  16640. indicatorBarWidth: 20,
  16641. indicator: true,
  16642. indicatorColor: '#f2f2f2',
  16643. indicatorActiveColor: '#3c9cff',
  16644. indicatorStyle: ''
  16645. }
  16646. };
  16647. exports.default = _default;
  16648. /***/ }),
  16649. /* 133 */
  16650. /*!***************************************************************************************************************************************************!*\
  16651. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/search.js ***!
  16652. \***************************************************************************************************************************************************/
  16653. /*! no static exports found */
  16654. /***/ (function(module, exports, __webpack_require__) {
  16655. "use strict";
  16656. Object.defineProperty(exports, "__esModule", {
  16657. value: true
  16658. });
  16659. exports.default = void 0;
  16660. /*
  16661. * @Author : LQ
  16662. * @Description :
  16663. * @version : 1.0
  16664. * @Date : 2021-08-20 16:44:21
  16665. * @LastAuthor : LQ
  16666. * @lastTime : 2021-08-20 17:19:45
  16667. * @FilePath : /u-view2.0/uview-ui/libs/config/props/search.js
  16668. */
  16669. var _default = {
  16670. // search
  16671. search: {
  16672. shape: 'round',
  16673. bgColor: '#f2f2f2',
  16674. placeholder: '请输入关键字',
  16675. clearabled: true,
  16676. focus: false,
  16677. showAction: true,
  16678. actionStyle: function actionStyle() {
  16679. return {};
  16680. },
  16681. actionText: '搜索',
  16682. inputAlign: 'left',
  16683. inputStyle: function inputStyle() {
  16684. return {};
  16685. },
  16686. disabled: false,
  16687. borderColor: 'transparent',
  16688. searchIconColor: '#909399',
  16689. searchIconSize: 22,
  16690. color: '#606266',
  16691. placeholderColor: '#909399',
  16692. searchIcon: 'search',
  16693. margin: '0',
  16694. animation: false,
  16695. value: '',
  16696. maxlength: '-1',
  16697. height: 32,
  16698. label: null
  16699. }
  16700. };
  16701. exports.default = _default;
  16702. /***/ }),
  16703. /* 134 */
  16704. /*!****************************************************************************************************************************************************!*\
  16705. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/section.js ***!
  16706. \****************************************************************************************************************************************************/
  16707. /*! no static exports found */
  16708. /***/ (function(module, exports, __webpack_require__) {
  16709. "use strict";
  16710. Object.defineProperty(exports, "__esModule", {
  16711. value: true
  16712. });
  16713. exports.default = void 0;
  16714. /*
  16715. * @Author : LQ
  16716. * @Description :
  16717. * @version : 1.0
  16718. * @Date : 2021-08-20 16:44:21
  16719. * @LastAuthor : LQ
  16720. * @lastTime : 2021-08-20 17:07:33
  16721. * @FilePath : /u-view2.0/uview-ui/libs/config/props/section.js
  16722. */
  16723. var _default = {
  16724. // u-section组件
  16725. section: {
  16726. title: '',
  16727. subTitle: '更多',
  16728. right: true,
  16729. fontSize: 15,
  16730. bold: true,
  16731. color: '#303133',
  16732. subColor: '#909399',
  16733. showLine: true,
  16734. lineColor: '',
  16735. arrow: true
  16736. }
  16737. };
  16738. exports.default = _default;
  16739. /***/ }),
  16740. /* 135 */
  16741. /*!*****************************************************************************************************************************************************!*\
  16742. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/skeleton.js ***!
  16743. \*****************************************************************************************************************************************************/
  16744. /*! no static exports found */
  16745. /***/ (function(module, exports, __webpack_require__) {
  16746. "use strict";
  16747. Object.defineProperty(exports, "__esModule", {
  16748. value: true
  16749. });
  16750. exports.default = void 0;
  16751. /*
  16752. * @Author : LQ
  16753. * @Description :
  16754. * @version : 1.0
  16755. * @Date : 2021-08-20 16:44:21
  16756. * @LastAuthor : LQ
  16757. * @lastTime : 2021-08-20 17:20:14
  16758. * @FilePath : /u-view2.0/uview-ui/libs/config/props/skeleton.js
  16759. */
  16760. var _default = {
  16761. // skeleton
  16762. skeleton: {
  16763. loading: true,
  16764. animate: true,
  16765. rows: 0,
  16766. rowsWidth: '100%',
  16767. rowsHeight: 18,
  16768. title: true,
  16769. titleWidth: '50%',
  16770. titleHeight: 18,
  16771. avatar: false,
  16772. avatarSize: 32,
  16773. avatarShape: 'circle'
  16774. }
  16775. };
  16776. exports.default = _default;
  16777. /***/ }),
  16778. /* 136 */
  16779. /*!***************************************************************************************************************************************************!*\
  16780. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/slider.js ***!
  16781. \***************************************************************************************************************************************************/
  16782. /*! no static exports found */
  16783. /***/ (function(module, exports, __webpack_require__) {
  16784. "use strict";
  16785. Object.defineProperty(exports, "__esModule", {
  16786. value: true
  16787. });
  16788. exports.default = void 0;
  16789. /*
  16790. * @Author : LQ
  16791. * @Description :
  16792. * @version : 1.0
  16793. * @Date : 2021-08-20 16:44:21
  16794. * @LastAuthor : LQ
  16795. * @lastTime : 2021-08-20 17:08:25
  16796. * @FilePath : /u-view2.0/uview-ui/libs/config/props/slider.js
  16797. */
  16798. var _default = {
  16799. // slider组件
  16800. slider: {
  16801. value: 0,
  16802. blockSize: 18,
  16803. min: 0,
  16804. max: 100,
  16805. step: 1,
  16806. activeColor: '#2979ff',
  16807. inactiveColor: '#c0c4cc',
  16808. blockColor: '#ffffff',
  16809. showValue: false,
  16810. disabled: false,
  16811. blockStyle: function blockStyle() {}
  16812. }
  16813. };
  16814. exports.default = _default;
  16815. /***/ }),
  16816. /* 137 */
  16817. /*!******************************************************************************************************************************************************!*\
  16818. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/statusBar.js ***!
  16819. \******************************************************************************************************************************************************/
  16820. /*! no static exports found */
  16821. /***/ (function(module, exports, __webpack_require__) {
  16822. "use strict";
  16823. Object.defineProperty(exports, "__esModule", {
  16824. value: true
  16825. });
  16826. exports.default = void 0;
  16827. /*
  16828. * @Author : LQ
  16829. * @Description :
  16830. * @version : 1.0
  16831. * @Date : 2021-08-20 16:44:21
  16832. * @LastAuthor : LQ
  16833. * @lastTime : 2021-08-20 17:20:39
  16834. * @FilePath : /u-view2.0/uview-ui/libs/config/props/statusBar.js
  16835. */
  16836. var _default = {
  16837. // statusBar
  16838. statusBar: {
  16839. bgColor: 'transparent'
  16840. }
  16841. };
  16842. exports.default = _default;
  16843. /***/ }),
  16844. /* 138 */
  16845. /*!**************************************************************************************************************************************************!*\
  16846. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/steps.js ***!
  16847. \**************************************************************************************************************************************************/
  16848. /*! no static exports found */
  16849. /***/ (function(module, exports, __webpack_require__) {
  16850. "use strict";
  16851. Object.defineProperty(exports, "__esModule", {
  16852. value: true
  16853. });
  16854. exports.default = void 0;
  16855. /*
  16856. * @Author : LQ
  16857. * @Description :
  16858. * @version : 1.0
  16859. * @Date : 2021-08-20 16:44:21
  16860. * @LastAuthor : LQ
  16861. * @lastTime : 2021-08-20 17:12:37
  16862. * @FilePath : /u-view2.0/uview-ui/libs/config/props/steps.js
  16863. */
  16864. var _default = {
  16865. // steps组件
  16866. steps: {
  16867. direction: 'row',
  16868. current: 0,
  16869. activeColor: '#3c9cff',
  16870. inactiveColor: '#969799',
  16871. activeIcon: '',
  16872. inactiveIcon: '',
  16873. dot: false
  16874. }
  16875. };
  16876. exports.default = _default;
  16877. /***/ }),
  16878. /* 139 */
  16879. /*!******************************************************************************************************************************************************!*\
  16880. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/stepsItem.js ***!
  16881. \******************************************************************************************************************************************************/
  16882. /*! no static exports found */
  16883. /***/ (function(module, exports, __webpack_require__) {
  16884. "use strict";
  16885. Object.defineProperty(exports, "__esModule", {
  16886. value: true
  16887. });
  16888. exports.default = void 0;
  16889. /*
  16890. * @Author : LQ
  16891. * @Description :
  16892. * @version : 1.0
  16893. * @Date : 2021-08-20 16:44:21
  16894. * @LastAuthor : LQ
  16895. * @lastTime : 2021-08-20 17:12:55
  16896. * @FilePath : /u-view2.0/uview-ui/libs/config/props/stepsItem.js
  16897. */
  16898. var _default = {
  16899. // steps-item组件
  16900. stepsItem: {
  16901. title: '',
  16902. desc: '',
  16903. iconSize: 17,
  16904. error: false
  16905. }
  16906. };
  16907. exports.default = _default;
  16908. /***/ }),
  16909. /* 140 */
  16910. /*!***************************************************************************************************************************************************!*\
  16911. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/sticky.js ***!
  16912. \***************************************************************************************************************************************************/
  16913. /*! no static exports found */
  16914. /***/ (function(module, exports, __webpack_require__) {
  16915. "use strict";
  16916. Object.defineProperty(exports, "__esModule", {
  16917. value: true
  16918. });
  16919. exports.default = void 0;
  16920. /*
  16921. * @Author : LQ
  16922. * @Description :
  16923. * @version : 1.0
  16924. * @Date : 2021-08-20 16:44:21
  16925. * @LastAuthor : LQ
  16926. * @lastTime : 2021-08-20 17:01:30
  16927. * @FilePath : /u-view2.0/uview-ui/libs/config/props/sticky.js
  16928. */
  16929. var _default = {
  16930. // sticky组件
  16931. sticky: {
  16932. offsetTop: 0,
  16933. customNavHeight: 0,
  16934. disabled: false,
  16935. bgColor: 'transparent',
  16936. zIndex: '',
  16937. index: ''
  16938. }
  16939. };
  16940. exports.default = _default;
  16941. /***/ }),
  16942. /* 141 */
  16943. /*!*******************************************************************************************************************************************************!*\
  16944. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/subsection.js ***!
  16945. \*******************************************************************************************************************************************************/
  16946. /*! no static exports found */
  16947. /***/ (function(module, exports, __webpack_require__) {
  16948. "use strict";
  16949. Object.defineProperty(exports, "__esModule", {
  16950. value: true
  16951. });
  16952. exports.default = void 0;
  16953. /*
  16954. * @Author : LQ
  16955. * @Description :
  16956. * @version : 1.0
  16957. * @Date : 2021-08-20 16:44:21
  16958. * @LastAuthor : LQ
  16959. * @lastTime : 2021-08-20 17:12:20
  16960. * @FilePath : /u-view2.0/uview-ui/libs/config/props/subsection.js
  16961. */
  16962. var _default = {
  16963. // subsection组件
  16964. subsection: {
  16965. list: [],
  16966. current: 0,
  16967. activeColor: '#3c9cff',
  16968. inactiveColor: '#303133',
  16969. mode: 'button',
  16970. fontSize: 12,
  16971. bold: true,
  16972. bgColor: '#eeeeef',
  16973. keyName: 'name'
  16974. }
  16975. };
  16976. exports.default = _default;
  16977. /***/ }),
  16978. /* 142 */
  16979. /*!********************************************************************************************************************************************************!*\
  16980. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swipeAction.js ***!
  16981. \********************************************************************************************************************************************************/
  16982. /*! no static exports found */
  16983. /***/ (function(module, exports, __webpack_require__) {
  16984. "use strict";
  16985. Object.defineProperty(exports, "__esModule", {
  16986. value: true
  16987. });
  16988. exports.default = void 0;
  16989. /*
  16990. * @Author : LQ
  16991. * @Description :
  16992. * @version : 1.0
  16993. * @Date : 2021-08-20 16:44:21
  16994. * @LastAuthor : LQ
  16995. * @lastTime : 2021-08-20 17:00:42
  16996. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeAction.js
  16997. */
  16998. var _default = {
  16999. // swipe-action组件
  17000. swipeAction: {
  17001. autoClose: true
  17002. }
  17003. };
  17004. exports.default = _default;
  17005. /***/ }),
  17006. /* 143 */
  17007. /*!************************************************************************************************************************************************************!*\
  17008. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swipeActionItem.js ***!
  17009. \************************************************************************************************************************************************************/
  17010. /*! no static exports found */
  17011. /***/ (function(module, exports, __webpack_require__) {
  17012. "use strict";
  17013. Object.defineProperty(exports, "__esModule", {
  17014. value: true
  17015. });
  17016. exports.default = void 0;
  17017. /*
  17018. * @Author : LQ
  17019. * @Description :
  17020. * @version : 1.0
  17021. * @Date : 2021-08-20 16:44:21
  17022. * @LastAuthor : LQ
  17023. * @lastTime : 2021-08-20 17:01:13
  17024. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swipeActionItem.js
  17025. */
  17026. var _default = {
  17027. // swipeActionItem 组件
  17028. swipeActionItem: {
  17029. show: false,
  17030. name: '',
  17031. disabled: false,
  17032. threshold: 20,
  17033. autoClose: true,
  17034. options: [],
  17035. duration: 300
  17036. }
  17037. };
  17038. exports.default = _default;
  17039. /***/ }),
  17040. /* 144 */
  17041. /*!***************************************************************************************************************************************************!*\
  17042. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swiper.js ***!
  17043. \***************************************************************************************************************************************************/
  17044. /*! no static exports found */
  17045. /***/ (function(module, exports, __webpack_require__) {
  17046. "use strict";
  17047. Object.defineProperty(exports, "__esModule", {
  17048. value: true
  17049. });
  17050. exports.default = void 0;
  17051. /*
  17052. * @Author : LQ
  17053. * @Description :
  17054. * @version : 1.0
  17055. * @Date : 2021-08-20 16:44:21
  17056. * @LastAuthor : LQ
  17057. * @lastTime : 2021-08-20 17:21:38
  17058. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiper.js
  17059. */
  17060. var _default = {
  17061. // swiper 组件
  17062. swiper: {
  17063. list: function list() {
  17064. return [];
  17065. },
  17066. indicator: false,
  17067. indicatorActiveColor: '#FFFFFF',
  17068. indicatorInactiveColor: 'rgba(255, 255, 255, 0.35)',
  17069. indicatorStyle: '',
  17070. indicatorMode: 'line',
  17071. autoplay: true,
  17072. current: 0,
  17073. currentItemId: '',
  17074. interval: 3000,
  17075. duration: 300,
  17076. circular: false,
  17077. previousMargin: 0,
  17078. nextMargin: 0,
  17079. acceleration: false,
  17080. displayMultipleItems: 1,
  17081. easingFunction: 'default',
  17082. keyName: 'url',
  17083. imgMode: 'aspectFill',
  17084. height: 130,
  17085. bgColor: '#f3f4f6',
  17086. radius: 4,
  17087. loading: false,
  17088. showTitle: false
  17089. }
  17090. };
  17091. exports.default = _default;
  17092. /***/ }),
  17093. /* 145 */
  17094. /*!*************************************************************************************************************************************************************!*\
  17095. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/swipterIndicator.js ***!
  17096. \*************************************************************************************************************************************************************/
  17097. /*! no static exports found */
  17098. /***/ (function(module, exports, __webpack_require__) {
  17099. "use strict";
  17100. Object.defineProperty(exports, "__esModule", {
  17101. value: true
  17102. });
  17103. exports.default = void 0;
  17104. /*
  17105. * @Author : LQ
  17106. * @Description :
  17107. * @version : 1.0
  17108. * @Date : 2021-08-20 16:44:21
  17109. * @LastAuthor : LQ
  17110. * @lastTime : 2021-08-20 17:22:07
  17111. * @FilePath : /u-view2.0/uview-ui/libs/config/props/swiperIndicator.js
  17112. */
  17113. var _default = {
  17114. // swiperIndicator 组件
  17115. swiperIndicator: {
  17116. length: 0,
  17117. current: 0,
  17118. indicatorActiveColor: '',
  17119. indicatorInactiveColor: '',
  17120. indicatorMode: 'line'
  17121. }
  17122. };
  17123. exports.default = _default;
  17124. /***/ }),
  17125. /* 146 */
  17126. /*!***************************************************************************************************************************************************!*\
  17127. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/switch.js ***!
  17128. \***************************************************************************************************************************************************/
  17129. /*! no static exports found */
  17130. /***/ (function(module, exports, __webpack_require__) {
  17131. "use strict";
  17132. Object.defineProperty(exports, "__esModule", {
  17133. value: true
  17134. });
  17135. exports.default = void 0;
  17136. /*
  17137. * @Author : LQ
  17138. * @Description :
  17139. * @version : 1.0
  17140. * @Date : 2021-08-20 16:44:21
  17141. * @LastAuthor : LQ
  17142. * @lastTime : 2021-08-20 17:22:24
  17143. * @FilePath : /u-view2.0/uview-ui/libs/config/props/switch.js
  17144. */
  17145. var _default = {
  17146. // switch
  17147. switch: {
  17148. loading: false,
  17149. disabled: false,
  17150. size: 25,
  17151. activeColor: '#2979ff',
  17152. inactiveColor: '#ffffff',
  17153. value: false,
  17154. activeValue: true,
  17155. inactiveValue: false,
  17156. asyncChange: false,
  17157. space: 0
  17158. }
  17159. };
  17160. exports.default = _default;
  17161. /***/ }),
  17162. /* 147 */
  17163. /*!***************************************************************************************************************************************************!*\
  17164. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tabbar.js ***!
  17165. \***************************************************************************************************************************************************/
  17166. /*! no static exports found */
  17167. /***/ (function(module, exports, __webpack_require__) {
  17168. "use strict";
  17169. Object.defineProperty(exports, "__esModule", {
  17170. value: true
  17171. });
  17172. exports.default = void 0;
  17173. /*
  17174. * @Author : LQ
  17175. * @Description :
  17176. * @version : 1.0
  17177. * @Date : 2021-08-20 16:44:21
  17178. * @LastAuthor : LQ
  17179. * @lastTime : 2021-08-20 17:22:40
  17180. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbar.js
  17181. */
  17182. var _default = {
  17183. // tabbar
  17184. tabbar: {
  17185. value: null,
  17186. safeAreaInsetBottom: true,
  17187. border: true,
  17188. zIndex: 1,
  17189. activeColor: '#1989fa',
  17190. inactiveColor: '#7d7e80',
  17191. fixed: true,
  17192. placeholder: true
  17193. }
  17194. };
  17195. exports.default = _default;
  17196. /***/ }),
  17197. /* 148 */
  17198. /*!*******************************************************************************************************************************************************!*\
  17199. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tabbarItem.js ***!
  17200. \*******************************************************************************************************************************************************/
  17201. /*! no static exports found */
  17202. /***/ (function(module, exports, __webpack_require__) {
  17203. "use strict";
  17204. Object.defineProperty(exports, "__esModule", {
  17205. value: true
  17206. });
  17207. exports.default = void 0;
  17208. /*
  17209. * @Author : LQ
  17210. * @Description :
  17211. * @version : 1.0
  17212. * @Date : 2021-08-20 16:44:21
  17213. * @LastAuthor : LQ
  17214. * @lastTime : 2021-08-20 17:22:55
  17215. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabbarItem.js
  17216. */
  17217. var _default = {
  17218. //
  17219. tabbarItem: {
  17220. name: null,
  17221. icon: '',
  17222. badge: null,
  17223. dot: false,
  17224. text: '',
  17225. badgeStyle: 'top: 6px;right:2px;'
  17226. }
  17227. };
  17228. exports.default = _default;
  17229. /***/ }),
  17230. /* 149 */
  17231. /*!*************************************************************************************************************************************************!*\
  17232. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tabs.js ***!
  17233. \*************************************************************************************************************************************************/
  17234. /*! no static exports found */
  17235. /***/ (function(module, exports, __webpack_require__) {
  17236. "use strict";
  17237. Object.defineProperty(exports, "__esModule", {
  17238. value: true
  17239. });
  17240. exports.default = void 0;
  17241. /*
  17242. * @Author : LQ
  17243. * @Description :
  17244. * @version : 1.0
  17245. * @Date : 2021-08-20 16:44:21
  17246. * @LastAuthor : LQ
  17247. * @lastTime : 2021-08-20 17:23:14
  17248. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tabs.js
  17249. */
  17250. var _default = {
  17251. //
  17252. tabs: {
  17253. duration: 300,
  17254. list: function list() {
  17255. return [];
  17256. },
  17257. lineColor: '#3c9cff',
  17258. activeStyle: function activeStyle() {
  17259. return {
  17260. color: '#303133'
  17261. };
  17262. },
  17263. inactiveStyle: function inactiveStyle() {
  17264. return {
  17265. color: '#606266'
  17266. };
  17267. },
  17268. lineWidth: 20,
  17269. lineHeight: 3,
  17270. lineBgSize: 'cover',
  17271. itemStyle: function itemStyle() {
  17272. return {
  17273. height: '44px'
  17274. };
  17275. },
  17276. scrollable: true,
  17277. current: 0,
  17278. keyName: 'name'
  17279. }
  17280. };
  17281. exports.default = _default;
  17282. /***/ }),
  17283. /* 150 */
  17284. /*!************************************************************************************************************************************************!*\
  17285. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tag.js ***!
  17286. \************************************************************************************************************************************************/
  17287. /*! no static exports found */
  17288. /***/ (function(module, exports, __webpack_require__) {
  17289. "use strict";
  17290. Object.defineProperty(exports, "__esModule", {
  17291. value: true
  17292. });
  17293. exports.default = void 0;
  17294. /*
  17295. * @Author : LQ
  17296. * @Description :
  17297. * @version : 1.0
  17298. * @Date : 2021-08-20 16:44:21
  17299. * @LastAuthor : LQ
  17300. * @lastTime : 2021-08-20 17:23:37
  17301. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tag.js
  17302. */
  17303. var _default = {
  17304. // tag 组件
  17305. tag: {
  17306. type: 'primary',
  17307. disabled: false,
  17308. size: 'medium',
  17309. shape: 'square',
  17310. text: '',
  17311. bgColor: '',
  17312. color: '',
  17313. borderColor: '',
  17314. closeColor: '#C6C7CB',
  17315. name: '',
  17316. plainFill: false,
  17317. plain: false,
  17318. closable: false,
  17319. show: true,
  17320. icon: ''
  17321. }
  17322. };
  17323. exports.default = _default;
  17324. /***/ }),
  17325. /* 151 */
  17326. /*!*************************************************************************************************************************************************!*\
  17327. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/text.js ***!
  17328. \*************************************************************************************************************************************************/
  17329. /*! no static exports found */
  17330. /***/ (function(module, exports, __webpack_require__) {
  17331. "use strict";
  17332. Object.defineProperty(exports, "__esModule", {
  17333. value: true
  17334. });
  17335. exports.default = void 0;
  17336. /*
  17337. * @Author : LQ
  17338. * @Description :
  17339. * @version : 1.0
  17340. * @Date : 2021-08-20 16:44:21
  17341. * @LastAuthor : LQ
  17342. * @lastTime : 2021-08-20 17:23:58
  17343. * @FilePath : /u-view2.0/uview-ui/libs/config/props/text.js
  17344. */
  17345. var _default = {
  17346. // text 组件
  17347. text: {
  17348. type: '',
  17349. show: true,
  17350. text: '',
  17351. prefixIcon: '',
  17352. suffixIcon: '',
  17353. mode: '',
  17354. href: '',
  17355. format: '',
  17356. call: false,
  17357. openType: '',
  17358. bold: false,
  17359. block: false,
  17360. lines: '',
  17361. color: '#303133',
  17362. size: 15,
  17363. iconStyle: function iconStyle() {
  17364. return {
  17365. fontSize: '15px'
  17366. };
  17367. },
  17368. decoration: 'none',
  17369. margin: 0,
  17370. lineHeight: '',
  17371. align: 'left',
  17372. wordWrap: 'normal'
  17373. }
  17374. };
  17375. exports.default = _default;
  17376. /***/ }),
  17377. /* 152 */
  17378. /*!*****************************************************************************************************************************************************!*\
  17379. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/textarea.js ***!
  17380. \*****************************************************************************************************************************************************/
  17381. /*! no static exports found */
  17382. /***/ (function(module, exports, __webpack_require__) {
  17383. "use strict";
  17384. Object.defineProperty(exports, "__esModule", {
  17385. value: true
  17386. });
  17387. exports.default = void 0;
  17388. /*
  17389. * @Author : LQ
  17390. * @Description :
  17391. * @version : 1.0
  17392. * @Date : 2021-08-20 16:44:21
  17393. * @LastAuthor : LQ
  17394. * @lastTime : 2021-08-20 17:24:32
  17395. * @FilePath : /u-view2.0/uview-ui/libs/config/props/textarea.js
  17396. */
  17397. var _default = {
  17398. // textarea 组件
  17399. textarea: {
  17400. value: '',
  17401. placeholder: '',
  17402. placeholderClass: 'textarea-placeholder',
  17403. placeholderStyle: 'color: #c0c4cc',
  17404. height: 70,
  17405. confirmType: 'done',
  17406. disabled: false,
  17407. count: false,
  17408. focus: false,
  17409. autoHeight: false,
  17410. fixed: false,
  17411. cursorSpacing: 0,
  17412. cursor: '',
  17413. showConfirmBar: true,
  17414. selectionStart: -1,
  17415. selectionEnd: -1,
  17416. adjustPosition: true,
  17417. disableDefaultPadding: false,
  17418. holdKeyboard: false,
  17419. maxlength: 140,
  17420. border: 'surround',
  17421. formatter: null
  17422. }
  17423. };
  17424. exports.default = _default;
  17425. /***/ }),
  17426. /* 153 */
  17427. /*!**************************************************************************************************************************************************!*\
  17428. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/toast.js ***!
  17429. \**************************************************************************************************************************************************/
  17430. /*! no static exports found */
  17431. /***/ (function(module, exports, __webpack_require__) {
  17432. "use strict";
  17433. Object.defineProperty(exports, "__esModule", {
  17434. value: true
  17435. });
  17436. exports.default = void 0;
  17437. /*
  17438. * @Author : LQ
  17439. * @Description :
  17440. * @version : 1.0
  17441. * @Date : 2021-08-20 16:44:21
  17442. * @LastAuthor : LQ
  17443. * @lastTime : 2021-08-20 17:07:07
  17444. * @FilePath : /u-view2.0/uview-ui/libs/config/props/toast.js
  17445. */
  17446. var _default = {
  17447. // toast组件
  17448. toast: {
  17449. zIndex: 10090,
  17450. loading: false,
  17451. text: '',
  17452. icon: '',
  17453. type: '',
  17454. loadingMode: '',
  17455. show: '',
  17456. overlay: false,
  17457. position: 'center',
  17458. params: function params() {},
  17459. duration: 2000,
  17460. isTab: false,
  17461. url: '',
  17462. callback: null,
  17463. back: false
  17464. }
  17465. };
  17466. exports.default = _default;
  17467. /***/ }),
  17468. /* 154 */
  17469. /*!****************************************************************************************************************************************************!*\
  17470. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/toolbar.js ***!
  17471. \****************************************************************************************************************************************************/
  17472. /*! no static exports found */
  17473. /***/ (function(module, exports, __webpack_require__) {
  17474. "use strict";
  17475. Object.defineProperty(exports, "__esModule", {
  17476. value: true
  17477. });
  17478. exports.default = void 0;
  17479. /*
  17480. * @Author : LQ
  17481. * @Description :
  17482. * @version : 1.0
  17483. * @Date : 2021-08-20 16:44:21
  17484. * @LastAuthor : LQ
  17485. * @lastTime : 2021-08-20 17:24:55
  17486. * @FilePath : /u-view2.0/uview-ui/libs/config/props/toolbar.js
  17487. */
  17488. var _default = {
  17489. // toolbar 组件
  17490. toolbar: {
  17491. show: true,
  17492. cancelText: '取消',
  17493. confirmText: '确认',
  17494. cancelColor: '#909193',
  17495. confirmColor: '#3c9cff',
  17496. title: ''
  17497. }
  17498. };
  17499. exports.default = _default;
  17500. /***/ }),
  17501. /* 155 */
  17502. /*!****************************************************************************************************************************************************!*\
  17503. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/tooltip.js ***!
  17504. \****************************************************************************************************************************************************/
  17505. /*! no static exports found */
  17506. /***/ (function(module, exports, __webpack_require__) {
  17507. "use strict";
  17508. Object.defineProperty(exports, "__esModule", {
  17509. value: true
  17510. });
  17511. exports.default = void 0;
  17512. /*
  17513. * @Author : LQ
  17514. * @Description :
  17515. * @version : 1.0
  17516. * @Date : 2021-08-20 16:44:21
  17517. * @LastAuthor : LQ
  17518. * @lastTime : 2021-08-20 17:25:14
  17519. * @FilePath : /u-view2.0/uview-ui/libs/config/props/tooltip.js
  17520. */
  17521. var _default = {
  17522. // tooltip 组件
  17523. tooltip: {
  17524. text: '',
  17525. copyText: '',
  17526. size: 14,
  17527. color: '#606266',
  17528. bgColor: 'transparent',
  17529. direction: 'top',
  17530. zIndex: 10071,
  17531. showCopy: true,
  17532. buttons: function buttons() {
  17533. return [];
  17534. },
  17535. overlay: true,
  17536. showToast: true
  17537. }
  17538. };
  17539. exports.default = _default;
  17540. /***/ }),
  17541. /* 156 */
  17542. /*!*******************************************************************************************************************************************************!*\
  17543. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/transition.js ***!
  17544. \*******************************************************************************************************************************************************/
  17545. /*! no static exports found */
  17546. /***/ (function(module, exports, __webpack_require__) {
  17547. "use strict";
  17548. Object.defineProperty(exports, "__esModule", {
  17549. value: true
  17550. });
  17551. exports.default = void 0;
  17552. /*
  17553. * @Author : LQ
  17554. * @Description :
  17555. * @version : 1.0
  17556. * @Date : 2021-08-20 16:44:21
  17557. * @LastAuthor : LQ
  17558. * @lastTime : 2021-08-20 16:59:00
  17559. * @FilePath : /u-view2.0/uview-ui/libs/config/props/transition.js
  17560. */
  17561. var _default = {
  17562. // transition动画组件的props
  17563. transition: {
  17564. show: false,
  17565. mode: 'fade',
  17566. duration: '300',
  17567. timingFunction: 'ease-out'
  17568. }
  17569. };
  17570. exports.default = _default;
  17571. /***/ }),
  17572. /* 157 */
  17573. /*!***************************************************************************************************************************************************!*\
  17574. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/props/upload.js ***!
  17575. \***************************************************************************************************************************************************/
  17576. /*! no static exports found */
  17577. /***/ (function(module, exports, __webpack_require__) {
  17578. "use strict";
  17579. Object.defineProperty(exports, "__esModule", {
  17580. value: true
  17581. });
  17582. exports.default = void 0;
  17583. /*
  17584. * @Author : LQ
  17585. * @Description :
  17586. * @version : 1.0
  17587. * @Date : 2021-08-20 16:44:21
  17588. * @LastAuthor : LQ
  17589. * @lastTime : 2021-08-20 17:09:50
  17590. * @FilePath : /u-view2.0/uview-ui/libs/config/props/upload.js
  17591. */
  17592. var _default = {
  17593. // upload组件
  17594. upload: {
  17595. accept: 'image',
  17596. capture: function capture() {
  17597. return ['album', 'camera'];
  17598. },
  17599. compressed: true,
  17600. camera: 'back',
  17601. maxDuration: 60,
  17602. uploadIcon: 'camera-fill',
  17603. uploadIconColor: '#D3D4D6',
  17604. useBeforeRead: false,
  17605. previewFullImage: true,
  17606. maxCount: 52,
  17607. disabled: false,
  17608. imageMode: 'aspectFill',
  17609. name: '',
  17610. sizeType: function sizeType() {
  17611. return ['original', 'compressed'];
  17612. },
  17613. multiple: false,
  17614. deletable: true,
  17615. maxSize: Number.MAX_VALUE,
  17616. fileList: function fileList() {
  17617. return [];
  17618. },
  17619. uploadText: '',
  17620. width: 80,
  17621. height: 80,
  17622. previewImage: true
  17623. }
  17624. };
  17625. exports.default = _default;
  17626. /***/ }),
  17627. /* 158 */
  17628. /*!*********************************************************************************************************************************************!*\
  17629. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/config/zIndex.js ***!
  17630. \*********************************************************************************************************************************************/
  17631. /*! no static exports found */
  17632. /***/ (function(module, exports, __webpack_require__) {
  17633. "use strict";
  17634. Object.defineProperty(exports, "__esModule", {
  17635. value: true
  17636. });
  17637. exports.default = void 0;
  17638. // uniapp在H5中各API的z-index值如下:
  17639. /**
  17640. * actionsheet: 999
  17641. * modal: 999
  17642. * navigate: 998
  17643. * tabbar: 998
  17644. * toast: 999
  17645. */
  17646. var _default = {
  17647. toast: 10090,
  17648. noNetwork: 10080,
  17649. // popup包含popup,actionsheet,keyboard,picker的值
  17650. popup: 10075,
  17651. mask: 10070,
  17652. navbar: 980,
  17653. topTips: 975,
  17654. sticky: 970,
  17655. indexListSticky: 965
  17656. };
  17657. exports.default = _default;
  17658. /***/ }),
  17659. /* 159 */
  17660. /*!*************************************************************************************************************************************************!*\
  17661. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/function/platform.js ***!
  17662. \*************************************************************************************************************************************************/
  17663. /*! no static exports found */
  17664. /***/ (function(module, exports, __webpack_require__) {
  17665. "use strict";
  17666. Object.defineProperty(exports, "__esModule", {
  17667. value: true
  17668. });
  17669. exports.default = void 0;
  17670. /**
  17671. * 注意:
  17672. * 此部分内容,在vue-cli模式下,需要在vue.config.js加入如下内容才有效:
  17673. * module.exports = {
  17674. * transpileDependencies: ['uview-v2']
  17675. * }
  17676. */
  17677. var platform = 'none';
  17678. platform = 'vue2';
  17679. platform = 'weixin';
  17680. platform = 'mp';
  17681. var _default = platform;
  17682. exports.default = _default;
  17683. /***/ }),
  17684. /* 160 */
  17685. /*!*****************************************************************************************************************!*\
  17686. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/filter.js ***!
  17687. \*****************************************************************************************************************/
  17688. /*! no static exports found */
  17689. /***/ (function(module, exports, __webpack_require__) {
  17690. "use strict";
  17691. Object.defineProperty(exports, "__esModule", {
  17692. value: true
  17693. });
  17694. exports.dictFilter = dictFilter;
  17695. function dictFilter(val, arr) {
  17696. var label = "";
  17697. arr.forEach(function (item) {
  17698. if (val === Number(item.dictValue)) {
  17699. label = item.dictLabel;
  17700. }
  17701. });
  17702. return label;
  17703. }
  17704. /***/ }),
  17705. /* 161 */,
  17706. /* 162 */,
  17707. /* 163 */,
  17708. /* 164 */,
  17709. /* 165 */,
  17710. /* 166 */,
  17711. /* 167 */
  17712. /*!*************************************************************************************************************!*\
  17713. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/user.js ***!
  17714. \*************************************************************************************************************/
  17715. /*! no static exports found */
  17716. /***/ (function(module, exports, __webpack_require__) {
  17717. "use strict";
  17718. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  17719. Object.defineProperty(exports, "__esModule", {
  17720. value: true
  17721. });
  17722. exports.getInfo = getInfo;
  17723. exports.login = login;
  17724. exports.logout = logout;
  17725. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 168));
  17726. function login(username, password) {
  17727. var data = {
  17728. username: username,
  17729. password: password
  17730. };
  17731. return _request.default.post('/login', data, {
  17732. headers: {
  17733. isToken: false
  17734. }
  17735. }).then(function (res) {
  17736. return res;
  17737. });
  17738. }
  17739. // 获取用户详细信息
  17740. function getInfo() {
  17741. return _request.default.get('/getInfo').then(function (res) {
  17742. return res;
  17743. });
  17744. }
  17745. // 退出方法
  17746. function logout() {
  17747. return request({
  17748. url: '/logout',
  17749. method: 'post'
  17750. });
  17751. }
  17752. /***/ }),
  17753. /* 168 */
  17754. /*!******************************************************************************************************************!*\
  17755. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/request.js ***!
  17756. \******************************************************************************************************************/
  17757. /*! no static exports found */
  17758. /***/ (function(module, exports, __webpack_require__) {
  17759. "use strict";
  17760. /* WEBPACK VAR INJECTION */(function(uni) {
  17761. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  17762. Object.defineProperty(exports, "__esModule", {
  17763. value: true
  17764. });
  17765. exports.default = void 0;
  17766. var _baseurl = _interopRequireDefault(__webpack_require__(/*! @/utils/baseurl.js */ 169));
  17767. var _auth = __webpack_require__(/*! @/utils/auth */ 34);
  17768. var _errorCode = _interopRequireDefault(__webpack_require__(/*! @/utils/errorCode */ 170));
  17769. var Fly = __webpack_require__(/*! flyio/dist/npm/wx */ 171);
  17770. var fly = new Fly();
  17771. //设置超时
  17772. fly.config.timeout = 30000;
  17773. //设置请求基地址
  17774. fly.config.baseURL = _baseurl.default;
  17775. fly.interceptors.request.use(function (config) {
  17776. // 在发送请求之前做些什么
  17777. var isToken = (config.headers || {}).isToken === false;
  17778. if ((0, _auth.getToken)() && !isToken) {
  17779. config.headers['Authorization'] = "Bearer ".concat((0, _auth.getToken)());
  17780. }
  17781. return config;
  17782. }, function (error) {
  17783. // 对请求错误做些什么
  17784. return Promise.reject(error);
  17785. });
  17786. // 添加响应拦截器
  17787. fly.interceptors.response.use(function (res) {
  17788. // 对响应数据做些事
  17789. var _res$data = res.data,
  17790. code = _res$data.code,
  17791. msg = _res$data.msg,
  17792. data = _res$data.data;
  17793. var rescode = code || 200;
  17794. // 获取错误信息
  17795. var resmsg = _errorCode.default[rescode] || msg || _errorCode.default['default'];
  17796. // 二进制数据则直接返回
  17797. if (res.request.responseType === 'blob' || res.request.responseType === 'arraybuffer') {
  17798. return resmsg;
  17799. }
  17800. if (rescode === 401) {
  17801. uni.showModal({
  17802. title: '系统提示',
  17803. content: '登录状态已过期,请重新登录',
  17804. success: function success(res) {
  17805. if (res.confirm) {
  17806. uni.reLaunch({
  17807. url: "/pages/logo/index"
  17808. });
  17809. } else if (res.cancel) {
  17810. console.log('用户点击取消');
  17811. }
  17812. }
  17813. });
  17814. } else if (rescode === 500) {
  17815. uni.showToast({
  17816. title: resmsg,
  17817. icon: 'none'
  17818. });
  17819. return Promise.reject(new Error(resmsg));
  17820. } else if (rescode !== 200) {
  17821. uni.showToast({
  17822. title: resmsg,
  17823. icon: 'none'
  17824. });
  17825. return Promise.reject('error');
  17826. } else {
  17827. return data;
  17828. }
  17829. }, function (error) {
  17830. var message = error.message.message;
  17831. uni.showToast({
  17832. title: message,
  17833. duration: 5 * 1000,
  17834. icon: 'none'
  17835. });
  17836. return Promise.reject(error);
  17837. });
  17838. var _default = fly;
  17839. exports.default = _default;
  17840. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  17841. /***/ }),
  17842. /* 169 */
  17843. /*!******************************************************************************************************************!*\
  17844. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/baseurl.js ***!
  17845. \******************************************************************************************************************/
  17846. /*! no static exports found */
  17847. /***/ (function(module, exports, __webpack_require__) {
  17848. "use strict";
  17849. Object.defineProperty(exports, "__esModule", {
  17850. value: true
  17851. });
  17852. exports.default = void 0;
  17853. var devUrl = 'http://192.168.0.100:80/dev-api';
  17854. var prodUrl = 'http://localhost:8089/prod-api';
  17855. var baseUrl = true ? devUrl : undefined;
  17856. var _default = baseUrl;
  17857. exports.default = _default;
  17858. /***/ }),
  17859. /* 170 */
  17860. /*!********************************************************************************************************************!*\
  17861. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/errorCode.js ***!
  17862. \********************************************************************************************************************/
  17863. /*! no static exports found */
  17864. /***/ (function(module, exports, __webpack_require__) {
  17865. "use strict";
  17866. Object.defineProperty(exports, "__esModule", {
  17867. value: true
  17868. });
  17869. exports.default = void 0;
  17870. var _default = {
  17871. '401': '认证失败,无法访问系统资源',
  17872. '403': '当前操作没有权限',
  17873. '404': '访问资源不存在',
  17874. 'default': '系统未知错误,请反馈给管理员'
  17875. };
  17876. exports.default = _default;
  17877. /***/ }),
  17878. /* 171 */
  17879. /*!*******************************************!*\
  17880. !*** ./node_modules/flyio/dist/npm/wx.js ***!
  17881. \*******************************************/
  17882. /*! no static exports found */
  17883. /***/ (function(module, exports, __webpack_require__) {
  17884. /* WEBPACK VAR INJECTION */(function(wx) {(function webpackUniversalModuleDefinition(root, factory) {
  17885. if(true)
  17886. module.exports = factory();
  17887. else { var i, a; }
  17888. })(this, function() {
  17889. return /******/ (function(modules) { // webpackBootstrap
  17890. /******/ // The module cache
  17891. /******/ var installedModules = {};
  17892. /******/
  17893. /******/ // The require function
  17894. /******/ function __webpack_require__(moduleId) {
  17895. /******/
  17896. /******/ // Check if module is in cache
  17897. /******/ if(installedModules[moduleId]) {
  17898. /******/ return installedModules[moduleId].exports;
  17899. /******/ }
  17900. /******/ // Create a new module (and put it into the cache)
  17901. /******/ var module = installedModules[moduleId] = {
  17902. /******/ i: moduleId,
  17903. /******/ l: false,
  17904. /******/ exports: {}
  17905. /******/ };
  17906. /******/
  17907. /******/ // Execute the module function
  17908. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  17909. /******/
  17910. /******/ // Flag the module as loaded
  17911. /******/ module.l = true;
  17912. /******/
  17913. /******/ // Return the exports of the module
  17914. /******/ return module.exports;
  17915. /******/ }
  17916. /******/
  17917. /******/
  17918. /******/ // expose the modules object (__webpack_modules__)
  17919. /******/ __webpack_require__.m = modules;
  17920. /******/
  17921. /******/ // expose the module cache
  17922. /******/ __webpack_require__.c = installedModules;
  17923. /******/
  17924. /******/ // identity function for calling harmony imports with the correct context
  17925. /******/ __webpack_require__.i = function(value) { return value; };
  17926. /******/
  17927. /******/ // define getter function for harmony exports
  17928. /******/ __webpack_require__.d = function(exports, name, getter) {
  17929. /******/ if(!__webpack_require__.o(exports, name)) {
  17930. /******/ Object.defineProperty(exports, name, {
  17931. /******/ configurable: false,
  17932. /******/ enumerable: true,
  17933. /******/ get: getter
  17934. /******/ });
  17935. /******/ }
  17936. /******/ };
  17937. /******/
  17938. /******/ // getDefaultExport function for compatibility with non-harmony modules
  17939. /******/ __webpack_require__.n = function(module) {
  17940. /******/ var getter = module && module.__esModule ?
  17941. /******/ function getDefault() { return module['default']; } :
  17942. /******/ function getModuleExports() { return module; };
  17943. /******/ __webpack_require__.d(getter, 'a', getter);
  17944. /******/ return getter;
  17945. /******/ };
  17946. /******/
  17947. /******/ // Object.prototype.hasOwnProperty.call
  17948. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  17949. /******/
  17950. /******/ // __webpack_public_path__
  17951. /******/ __webpack_require__.p = "";
  17952. /******/
  17953. /******/ // Load entry module and return exports
  17954. /******/ return __webpack_require__(__webpack_require__.s = 13);
  17955. /******/ })
  17956. /************************************************************************/
  17957. /******/ ([
  17958. /* 0 */
  17959. /***/ (function(module, exports, __webpack_require__) {
  17960. "use strict";
  17961. 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; };
  17962. module.exports = {
  17963. type: function type(ob) {
  17964. return Object.prototype.toString.call(ob).slice(8, -1).toLowerCase();
  17965. },
  17966. isObject: function isObject(ob, real) {
  17967. if (real) {
  17968. return this.type(ob) === "object";
  17969. } else {
  17970. return ob && (typeof ob === 'undefined' ? 'undefined' : _typeof(ob)) === 'object';
  17971. }
  17972. },
  17973. isFormData: function isFormData(val) {
  17974. return typeof FormData !== 'undefined' && val instanceof FormData;
  17975. },
  17976. trim: function trim(str) {
  17977. return str.replace(/(^\s*)|(\s*$)/g, '');
  17978. },
  17979. encode: function encode(val) {
  17980. return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');
  17981. },
  17982. formatParams: function formatParams(data) {
  17983. var str = "";
  17984. var first = true;
  17985. var that = this;
  17986. if (!this.isObject(data)) {
  17987. return data;
  17988. }
  17989. function _encode(sub, path) {
  17990. var encode = that.encode;
  17991. var type = that.type(sub);
  17992. if (type == "array") {
  17993. sub.forEach(function (e, i) {
  17994. if (!that.isObject(e)) i = "";
  17995. _encode(e, path + ('%5B' + i + '%5D'));
  17996. });
  17997. } else if (type == "object") {
  17998. for (var key in sub) {
  17999. if (path) {
  18000. _encode(sub[key], path + "%5B" + encode(key) + "%5D");
  18001. } else {
  18002. _encode(sub[key], encode(key));
  18003. }
  18004. }
  18005. } else {
  18006. if (!first) {
  18007. str += "&";
  18008. }
  18009. first = false;
  18010. str += path + "=" + encode(sub);
  18011. }
  18012. }
  18013. _encode(data, "");
  18014. return str;
  18015. },
  18016. // Do not overwrite existing attributes
  18017. merge: function merge(a, b) {
  18018. for (var key in b) {
  18019. if (!a.hasOwnProperty(key)) {
  18020. a[key] = b[key];
  18021. } else if (this.isObject(b[key], 1) && this.isObject(a[key], 1)) {
  18022. this.merge(a[key], b[key]);
  18023. }
  18024. }
  18025. return a;
  18026. }
  18027. };
  18028. /***/ }),
  18029. /* 1 */
  18030. /***/ (function(module, exports, __webpack_require__) {
  18031. function KEEP(_,cb){cb();}
  18032. "use strict";
  18033. 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; };
  18034. 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; }; }();
  18035. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  18036. /*
  18037. * author: wendu
  18038. * email: 824783146@qq.com
  18039. **/
  18040. var util = __webpack_require__(0);
  18041. var isBrowser = typeof document !== "undefined";
  18042. //EngineWrapper can help generating a http engine quickly through a adapter
  18043. function EngineWrapper(adapter) {
  18044. var AjaxEngine = function () {
  18045. function AjaxEngine() {
  18046. _classCallCheck(this, AjaxEngine);
  18047. this.requestHeaders = {};
  18048. this.readyState = 0;
  18049. this.timeout = 0; // 0 stands for no timeout
  18050. this.responseURL = "";
  18051. this.responseHeaders = {};
  18052. }
  18053. _createClass(AjaxEngine, [{
  18054. key: "_call",
  18055. value: function _call(name) {
  18056. this[name] && this[name].apply(this, [].splice.call(arguments, 1));
  18057. }
  18058. }, {
  18059. key: "_changeReadyState",
  18060. value: function _changeReadyState(state) {
  18061. this.readyState = state;
  18062. this._call("onreadystatechange");
  18063. }
  18064. }, {
  18065. key: "open",
  18066. value: function open(method, url) {
  18067. this.method = method;
  18068. if (!url) {
  18069. url = location.href;
  18070. } else {
  18071. url = util.trim(url);
  18072. if (url.indexOf("http") !== 0) {
  18073. // Normalize the request url
  18074. if (isBrowser) {
  18075. var t = document.createElement("a");
  18076. t.href = url;
  18077. url = t.href;
  18078. }
  18079. }
  18080. }
  18081. this.responseURL = url;
  18082. this._changeReadyState(1);
  18083. }
  18084. }, {
  18085. key: "send",
  18086. value: function send(arg) {
  18087. var _this = this;
  18088. arg = arg || null;
  18089. var self = this;
  18090. if (adapter) {
  18091. var request = {
  18092. method: self.method,
  18093. url: self.responseURL,
  18094. headers: self.requestHeaders || {},
  18095. body: arg
  18096. };
  18097. util.merge(request, self._options || {});
  18098. if (request.method === "GET") {
  18099. request.body = null;
  18100. }
  18101. self._changeReadyState(3);
  18102. var timer = void 0;
  18103. self.timeout = self.timeout || 0;
  18104. if (self.timeout > 0) {
  18105. timer = setTimeout(function () {
  18106. if (self.readyState === 3) {
  18107. _this._call("onloadend");
  18108. self._changeReadyState(0);
  18109. self._call("ontimeout");
  18110. }
  18111. }, self.timeout);
  18112. }
  18113. request.timeout = self.timeout;
  18114. adapter(request, function (response) {
  18115. function getAndDelete(key) {
  18116. var t = response[key];
  18117. delete response[key];
  18118. return t;
  18119. }
  18120. // If the request has already timeout, return
  18121. if (self.readyState !== 3) return;
  18122. clearTimeout(timer);
  18123. // Make sure the type of status is integer
  18124. self.status = getAndDelete("statusCode") - 0;
  18125. var responseText = getAndDelete("responseText");
  18126. var statusMessage = getAndDelete("statusMessage");
  18127. // Network error, set the status code 0
  18128. if (!self.status) {
  18129. self.statusText = responseText;
  18130. self._call("onerror", { msg: statusMessage });
  18131. } else {
  18132. // Parsing the response headers to array in a object, because
  18133. // there may be multiple values with the same header name
  18134. var responseHeaders = getAndDelete("headers");
  18135. var headers = {};
  18136. for (var field in responseHeaders) {
  18137. var value = responseHeaders[field];
  18138. var key = field.toLowerCase();
  18139. // Is array
  18140. if ((typeof value === "undefined" ? "undefined" : _typeof(value)) === "object") {
  18141. headers[key] = value;
  18142. } else {
  18143. headers[key] = headers[key] || [];
  18144. headers[key].push(value);
  18145. }
  18146. }
  18147. var cookies = headers["set-cookie"];
  18148. if (isBrowser && cookies) {
  18149. cookies.forEach(function (e) {
  18150. // Remove the http-Only property of the cookie
  18151. // so that JavaScript can operate it.
  18152. document.cookie = e.replace(/;\s*httpOnly/ig, "");
  18153. });
  18154. }
  18155. self.responseHeaders = headers;
  18156. // Set the fields of engine from response
  18157. self.statusText = statusMessage || "";
  18158. self.response = self.responseText = responseText;
  18159. self._response = response;
  18160. self._changeReadyState(4);
  18161. self._call("onload");
  18162. }
  18163. self._call("onloadend");
  18164. });
  18165. } else {
  18166. console.error("Ajax require adapter");
  18167. }
  18168. }
  18169. }, {
  18170. key: "setRequestHeader",
  18171. value: function setRequestHeader(key, value) {
  18172. this.requestHeaders[util.trim(key)] = value;
  18173. }
  18174. }, {
  18175. key: "getResponseHeader",
  18176. value: function getResponseHeader(key) {
  18177. return (this.responseHeaders[key.toLowerCase()] || "").toString() || null;
  18178. }
  18179. }, {
  18180. key: "getAllResponseHeaders",
  18181. value: function getAllResponseHeaders() {
  18182. var str = "";
  18183. for (var key in this.responseHeaders) {
  18184. str += key + ":" + this.getResponseHeader(key) + "\r\n";
  18185. }
  18186. return str || null;
  18187. }
  18188. }, {
  18189. key: "abort",
  18190. value: function abort(msg) {
  18191. this._changeReadyState(0);
  18192. this._call("onerror", { msg: msg });
  18193. this._call("onloadend");
  18194. }
  18195. }], [{
  18196. key: "setAdapter",
  18197. value: function setAdapter(requestAdapter) {
  18198. adapter = requestAdapter;
  18199. }
  18200. }]);
  18201. return AjaxEngine;
  18202. }();
  18203. return AjaxEngine;
  18204. }
  18205. // learn more about keep-loader: https://github.com/wendux/keep-loader
  18206. ;
  18207. module.exports = EngineWrapper;
  18208. /***/ }),
  18209. /* 2 */
  18210. /***/ (function(module, exports, __webpack_require__) {
  18211. function KEEP(_,cb){cb();}
  18212. "use strict";
  18213. 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; }; }();
  18214. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  18215. var utils = __webpack_require__(0);
  18216. var isBrowser = typeof document !== "undefined";
  18217. var Fly = function () {
  18218. function Fly(engine) {
  18219. _classCallCheck(this, Fly);
  18220. this.engine = engine || XMLHttpRequest;
  18221. this.default = this; //For typeScript
  18222. /**
  18223. * Add lock/unlock API for interceptor.
  18224. *
  18225. * Once an request/response interceptor is locked, the incoming request/response
  18226. * will be added to a queue before they enter the interceptor, they will not be
  18227. * continued until the interceptor is unlocked.
  18228. *
  18229. * @param [interceptor] either is interceptors.request or interceptors.response
  18230. */
  18231. function wrap(interceptor) {
  18232. var resolve = void 0;
  18233. var reject = void 0;
  18234. function _clear() {
  18235. interceptor.p = resolve = reject = null;
  18236. }
  18237. utils.merge(interceptor, {
  18238. lock: function lock() {
  18239. if (!resolve) {
  18240. interceptor.p = new Promise(function (_resolve, _reject) {
  18241. resolve = _resolve;
  18242. reject = _reject;
  18243. });
  18244. }
  18245. },
  18246. unlock: function unlock() {
  18247. if (resolve) {
  18248. resolve();
  18249. _clear();
  18250. }
  18251. },
  18252. clear: function clear() {
  18253. if (reject) {
  18254. reject("cancel");
  18255. _clear();
  18256. }
  18257. }
  18258. });
  18259. }
  18260. var interceptors = this.interceptors = {
  18261. response: {
  18262. use: function use(handler, onerror) {
  18263. this.handler = handler;
  18264. this.onerror = onerror;
  18265. }
  18266. },
  18267. request: {
  18268. use: function use(handler) {
  18269. this.handler = handler;
  18270. }
  18271. }
  18272. };
  18273. var irq = interceptors.request;
  18274. var irp = interceptors.response;
  18275. wrap(irp);
  18276. wrap(irq);
  18277. this.config = {
  18278. method: "GET",
  18279. baseURL: "",
  18280. headers: {},
  18281. timeout: 0,
  18282. params: {}, // Default Url params
  18283. parseJson: true, // Convert response data to JSON object automatically.
  18284. withCredentials: false
  18285. };
  18286. }
  18287. _createClass(Fly, [{
  18288. key: "request",
  18289. value: function request(url, data, options) {
  18290. var _this = this;
  18291. var engine = new this.engine();
  18292. var contentType = "Content-Type";
  18293. var contentTypeLowerCase = contentType.toLowerCase();
  18294. var interceptors = this.interceptors;
  18295. var requestInterceptor = interceptors.request;
  18296. var responseInterceptor = interceptors.response;
  18297. var requestInterceptorHandler = requestInterceptor.handler;
  18298. var promise = new Promise(function (resolve, reject) {
  18299. if (utils.isObject(url)) {
  18300. options = url;
  18301. url = options.url;
  18302. }
  18303. options = options || {};
  18304. options.headers = options.headers || {};
  18305. function isPromise(p) {
  18306. // some polyfill implementation of Promise may be not standard,
  18307. // so, we test by duck-typing
  18308. return p && p.then && p.catch;
  18309. }
  18310. /**
  18311. * If the request/response interceptor has been locked,
  18312. * the new request/response will enter a queue. otherwise, it will be performed directly.
  18313. * @param [promise] if the promise exist, means the interceptor is locked.
  18314. * @param [callback]
  18315. */
  18316. function enqueueIfLocked(promise, callback) {
  18317. if (promise) {
  18318. promise.then(function () {
  18319. callback();
  18320. });
  18321. } else {
  18322. callback();
  18323. }
  18324. }
  18325. // make the http request
  18326. function makeRequest(options) {
  18327. data = options.body;
  18328. // Normalize the request url
  18329. url = utils.trim(options.url);
  18330. var baseUrl = utils.trim(options.baseURL || "");
  18331. if (!url && isBrowser && !baseUrl) url = location.href;
  18332. if (url.indexOf("http") !== 0) {
  18333. var isAbsolute = url[0] === "/";
  18334. if (!baseUrl && isBrowser) {
  18335. var arr = location.pathname.split("/");
  18336. arr.pop();
  18337. baseUrl = location.protocol + "//" + location.host + (isAbsolute ? "" : arr.join("/"));
  18338. }
  18339. if (baseUrl[baseUrl.length - 1] !== "/") {
  18340. baseUrl += "/";
  18341. }
  18342. url = baseUrl + (isAbsolute ? url.substr(1) : url);
  18343. if (isBrowser) {
  18344. // Normalize the url which contains the ".." or ".", such as
  18345. // "http://xx.com/aa/bb/../../xx" to "http://xx.com/xx" .
  18346. var t = document.createElement("a");
  18347. t.href = url;
  18348. url = t.href;
  18349. }
  18350. }
  18351. var responseType = utils.trim(options.responseType || "");
  18352. var needQuery = ["GET", "HEAD", "DELETE", "OPTION"].indexOf(options.method) !== -1;
  18353. var dataType = utils.type(data);
  18354. var params = options.params || {};
  18355. // merge url params when the method is "GET" (data is object)
  18356. if (needQuery && dataType === "object") {
  18357. params = utils.merge(data, params);
  18358. }
  18359. // encode params to String
  18360. params = utils.formatParams(params);
  18361. // save url params
  18362. var _params = [];
  18363. if (params) {
  18364. _params.push(params);
  18365. }
  18366. // Add data to url params when the method is "GET" (data is String)
  18367. if (needQuery && data && dataType === "string") {
  18368. _params.push(data);
  18369. }
  18370. // make the final url
  18371. if (_params.length > 0) {
  18372. url += (url.indexOf("?") === -1 ? "?" : "&") + _params.join("&");
  18373. }
  18374. engine.open(options.method, url);
  18375. // try catch for ie >=9
  18376. try {
  18377. engine.withCredentials = !!options.withCredentials;
  18378. engine.timeout = options.timeout || 0;
  18379. if (responseType !== "stream") {
  18380. engine.responseType = responseType;
  18381. }
  18382. } catch (e) {}
  18383. var customContentType = options.headers[contentType] || options.headers[contentTypeLowerCase];
  18384. // default content type
  18385. var _contentType = "application/x-www-form-urlencoded";
  18386. // If the request data is json object, transforming it to json string,
  18387. // and set request content-type to "json". In browser, the data will
  18388. // be sent as RequestBody instead of FormData
  18389. if (utils.trim((customContentType || "").toLowerCase()) === _contentType) {
  18390. data = utils.formatParams(data);
  18391. } else if (!utils.isFormData(data) && ["object", "array"].indexOf(utils.type(data)) !== -1) {
  18392. _contentType = 'application/json;charset=utf-8';
  18393. data = JSON.stringify(data);
  18394. }
  18395. //If user doesn't set content-type, set default.
  18396. if (!(customContentType || needQuery)) {
  18397. options.headers[contentType] = _contentType;
  18398. }
  18399. for (var k in options.headers) {
  18400. if (k === contentType && utils.isFormData(data)) {
  18401. // Delete the content-type, Let the browser set it
  18402. delete options.headers[k];
  18403. } else {
  18404. try {
  18405. // In browser environment, some header fields are readonly,
  18406. // write will cause the exception .
  18407. engine.setRequestHeader(k, options.headers[k]);
  18408. } catch (e) {}
  18409. }
  18410. }
  18411. function onresult(handler, data, type) {
  18412. enqueueIfLocked(responseInterceptor.p, function () {
  18413. if (handler) {
  18414. //如果失败,添加请求信息
  18415. if (type) {
  18416. data.request = options;
  18417. }
  18418. var ret = handler.call(responseInterceptor, data, Promise);
  18419. data = ret === undefined ? data : ret;
  18420. }
  18421. if (!isPromise(data)) {
  18422. data = Promise[type === 0 ? "resolve" : "reject"](data);
  18423. }
  18424. data.then(function (d) {
  18425. resolve(d);
  18426. }).catch(function (e) {
  18427. reject(e);
  18428. });
  18429. });
  18430. }
  18431. function onerror(e) {
  18432. e.engine = engine;
  18433. onresult(responseInterceptor.onerror, e, -1);
  18434. }
  18435. function Err(msg, status) {
  18436. this.message = msg;
  18437. this.status = status;
  18438. }
  18439. engine.onload = function () {
  18440. try {
  18441. // The xhr of IE9 has not response field
  18442. var response = engine.response || engine.responseText;
  18443. if (response && options.parseJson && (engine.getResponseHeader(contentType) || "").indexOf("json") !== -1
  18444. // Some third engine implementation may transform the response text to json object automatically,
  18445. // so we should test the type of response before transforming it
  18446. && !utils.isObject(response)) {
  18447. response = JSON.parse(response);
  18448. }
  18449. var headers = engine.responseHeaders;
  18450. // In browser
  18451. if (!headers) {
  18452. headers = {};
  18453. var items = (engine.getAllResponseHeaders() || "").split("\r\n");
  18454. items.pop();
  18455. items.forEach(function (e) {
  18456. if (!e) return;
  18457. var key = e.split(":")[0];
  18458. headers[key] = engine.getResponseHeader(key);
  18459. });
  18460. }
  18461. var status = engine.status;
  18462. var statusText = engine.statusText;
  18463. var _data = { data: response, headers: headers, status: status, statusText: statusText };
  18464. // The _response filed of engine is set in adapter which be called in engine-wrapper.js
  18465. utils.merge(_data, engine._response);
  18466. if (status >= 200 && status < 300 || status === 304) {
  18467. _data.engine = engine;
  18468. _data.request = options;
  18469. onresult(responseInterceptor.handler, _data, 0);
  18470. } else {
  18471. var e = new Err(statusText, status);
  18472. e.response = _data;
  18473. onerror(e);
  18474. }
  18475. } catch (e) {
  18476. onerror(new Err(e.msg, engine.status));
  18477. }
  18478. };
  18479. engine.onerror = function (e) {
  18480. onerror(new Err(e.msg || "Network Error", 0));
  18481. };
  18482. engine.ontimeout = function () {
  18483. onerror(new Err("timeout [ " + engine.timeout + "ms ]", 1));
  18484. };
  18485. engine._options = options;
  18486. setTimeout(function () {
  18487. engine.send(needQuery ? null : data);
  18488. }, 0);
  18489. }
  18490. enqueueIfLocked(requestInterceptor.p, function () {
  18491. utils.merge(options, JSON.parse(JSON.stringify(_this.config)));
  18492. var headers = options.headers;
  18493. headers[contentType] = headers[contentType] || headers[contentTypeLowerCase] || "";
  18494. delete headers[contentTypeLowerCase];
  18495. options.body = data || options.body;
  18496. url = utils.trim(url || "");
  18497. options.method = options.method.toUpperCase();
  18498. options.url = url;
  18499. var ret = options;
  18500. if (requestInterceptorHandler) {
  18501. ret = requestInterceptorHandler.call(requestInterceptor, options, Promise) || options;
  18502. }
  18503. if (!isPromise(ret)) {
  18504. ret = Promise.resolve(ret);
  18505. }
  18506. ret.then(function (d) {
  18507. //if options continue
  18508. if (d === options) {
  18509. makeRequest(d);
  18510. } else {
  18511. resolve(d);
  18512. }
  18513. }, function (err) {
  18514. reject(err);
  18515. });
  18516. });
  18517. });
  18518. promise.engine = engine;
  18519. return promise;
  18520. }
  18521. }, {
  18522. key: "all",
  18523. value: function all(promises) {
  18524. return Promise.all(promises);
  18525. }
  18526. }, {
  18527. key: "spread",
  18528. value: function spread(callback) {
  18529. return function (arr) {
  18530. return callback.apply(null, arr);
  18531. };
  18532. }
  18533. }]);
  18534. return Fly;
  18535. }();
  18536. //For typeScript
  18537. Fly.default = Fly;
  18538. ["get", "post", "put", "patch", "head", "delete"].forEach(function (e) {
  18539. Fly.prototype[e] = function (url, data, option) {
  18540. return this.request(url, data, utils.merge({ method: e }, option));
  18541. };
  18542. });
  18543. ["lock", "unlock", "clear"].forEach(function (e) {
  18544. Fly.prototype[e] = function () {
  18545. this.interceptors.request[e]();
  18546. };
  18547. });
  18548. // Learn more about keep-loader: https://github.com/wendux/keep-loader
  18549. ;
  18550. module.exports = Fly;
  18551. /***/ }),
  18552. /* 3 */,
  18553. /* 4 */,
  18554. /* 5 */,
  18555. /* 6 */,
  18556. /* 7 */
  18557. /***/ (function(module, exports, __webpack_require__) {
  18558. "use strict";
  18559. //微信小程序适配器
  18560. module.exports = function (request, responseCallback) {
  18561. var con = {
  18562. method: request.method,
  18563. url: request.url,
  18564. dataType: request.dataType || undefined,
  18565. header: request.headers,
  18566. data: request.body || {},
  18567. responseType: request.responseType || 'text',
  18568. success: function success(res) {
  18569. responseCallback({
  18570. statusCode: res.statusCode,
  18571. responseText: res.data,
  18572. headers: res.header,
  18573. statusMessage: res.errMsg
  18574. });
  18575. },
  18576. fail: function fail(res) {
  18577. responseCallback({
  18578. statusCode: res.statusCode || 0,
  18579. statusMessage: res.errMsg
  18580. });
  18581. }
  18582. };
  18583. wx.request(con);
  18584. };
  18585. /***/ }),
  18586. /* 8 */,
  18587. /* 9 */,
  18588. /* 10 */,
  18589. /* 11 */,
  18590. /* 12 */,
  18591. /* 13 */
  18592. /***/ (function(module, exports, __webpack_require__) {
  18593. "use strict";
  18594. //微信小程序入口
  18595. var _Fly = __webpack_require__(2);
  18596. var EngineWrapper = __webpack_require__(1);
  18597. var adapter = __webpack_require__(7);
  18598. var wxEngine = EngineWrapper(adapter);
  18599. module.exports = function (engine) {
  18600. return new _Fly(engine || wxEngine);
  18601. };
  18602. /***/ })
  18603. /******/ ]);
  18604. });
  18605. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
  18606. /***/ }),
  18607. /* 172 */
  18608. /*!******************************************************************************************************************!*\
  18609. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/utils/storage.js ***!
  18610. \******************************************************************************************************************/
  18611. /*! no static exports found */
  18612. /***/ (function(module, exports, __webpack_require__) {
  18613. "use strict";
  18614. /* WEBPACK VAR INJECTION */(function(uni) {
  18615. Object.defineProperty(exports, "__esModule", {
  18616. value: true
  18617. });
  18618. exports.default = void 0;
  18619. var sessionCache = {
  18620. set: function set(key, value) {
  18621. // if (!sessionStorage) {
  18622. // return
  18623. // }
  18624. if (key != null && value != null) {
  18625. uni.setStorageSync(key, value);
  18626. }
  18627. },
  18628. get: function get(key) {
  18629. // if (!sessionStorage) {
  18630. // return null
  18631. // }
  18632. if (key == null) {
  18633. return null;
  18634. }
  18635. return uni.getStorageSync(key);
  18636. },
  18637. setJSON: function setJSON(key, jsonValue) {
  18638. if (jsonValue != null) {
  18639. this.set(key, JSON.stringify(jsonValue));
  18640. }
  18641. },
  18642. getJSON: function getJSON(key) {
  18643. var value = this.get(key);
  18644. if (value != null) {
  18645. return JSON.parse(value);
  18646. }
  18647. },
  18648. remove: function remove(key) {
  18649. uni.removeStorageSync(key);
  18650. }
  18651. };
  18652. var _default = {
  18653. session: sessionCache
  18654. };
  18655. exports.default = _default;
  18656. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  18657. /***/ }),
  18658. /* 173 */,
  18659. /* 174 */,
  18660. /* 175 */,
  18661. /* 176 */,
  18662. /* 177 */,
  18663. /* 178 */,
  18664. /* 179 */,
  18665. /* 180 */,
  18666. /* 181 */,
  18667. /* 182 */,
  18668. /* 183 */,
  18669. /* 184 */,
  18670. /* 185 */,
  18671. /* 186 */,
  18672. /* 187 */,
  18673. /* 188 */,
  18674. /* 189 */,
  18675. /* 190 */,
  18676. /* 191 */,
  18677. /* 192 */,
  18678. /* 193 */,
  18679. /* 194 */,
  18680. /* 195 */,
  18681. /* 196 */,
  18682. /* 197 */
  18683. /*!**************************************************************************************************************!*\
  18684. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/api/asset.js ***!
  18685. \**************************************************************************************************************/
  18686. /*! no static exports found */
  18687. /***/ (function(module, exports, __webpack_require__) {
  18688. "use strict";
  18689. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18690. Object.defineProperty(exports, "__esModule", {
  18691. value: true
  18692. });
  18693. exports.borrowAsset = borrowAsset;
  18694. exports.getAllPlace = getAllPlace;
  18695. exports.searchAsset = searchAsset;
  18696. var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 168));
  18697. //扫码或者根据关键词查询
  18698. function searchAsset(data) {
  18699. return _request.default.get('/asset/asset/search', data).then(function (res) {
  18700. return res;
  18701. });
  18702. }
  18703. //获取全部的存放地点
  18704. function getAllPlace() {
  18705. return _request.default.get('/asset/place/all').then(function (res) {
  18706. return res;
  18707. });
  18708. }
  18709. //借用设备
  18710. function borrowAsset(data) {
  18711. return _request.default.post('/asset/borrow/save', data).then(function (res) {
  18712. return res;
  18713. });
  18714. }
  18715. /***/ }),
  18716. /* 198 */,
  18717. /* 199 */,
  18718. /* 200 */,
  18719. /* 201 */,
  18720. /* 202 */,
  18721. /* 203 */,
  18722. /* 204 */,
  18723. /* 205 */,
  18724. /* 206 */
  18725. /*!*******************************************************************************************************************!*\
  18726. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/common/js/core.js ***!
  18727. \*******************************************************************************************************************/
  18728. /*! no static exports found */
  18729. /***/ (function(module, exports, __webpack_require__) {
  18730. "use strict";
  18731. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  18732. Object.defineProperty(exports, "__esModule", {
  18733. value: true
  18734. });
  18735. exports.addDateRange = addDateRange;
  18736. exports.blobValidate = blobValidate;
  18737. exports.dateToString = dateToString;
  18738. exports.handleTree = handleTree;
  18739. exports.mergeRecursive = mergeRecursive;
  18740. exports.parseStrEmpty = parseStrEmpty;
  18741. exports.parseTime = parseTime;
  18742. exports.resetForm = resetForm;
  18743. exports.selectDictLabel = selectDictLabel;
  18744. exports.selectDictLabels = selectDictLabels;
  18745. exports.sprintf = sprintf;
  18746. exports.tansParams = tansParams;
  18747. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  18748. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  18749. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  18750. 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; } } }; }
  18751. 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); }
  18752. 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; }
  18753. function dateToString(val) {
  18754. function addZero(num) {
  18755. return num < 10 ? "0" + num : num;
  18756. }
  18757. var date = new Date(val);
  18758. var year = date.getFullYear();
  18759. var month = date.getMonth() + 1;
  18760. var day = date.getDate();
  18761. var hour = date.getHours();
  18762. var min = addZero(date.getMinutes());
  18763. return year + "-" + month + "-" + day + " " + hour + ":" + min;
  18764. }
  18765. /**
  18766. * 通用js方法封装处理
  18767. */
  18768. // 日期格式化
  18769. function parseTime(time, pattern) {
  18770. if (arguments.length === 0 || !time) {
  18771. return null;
  18772. }
  18773. var format = pattern || '{y}-{m}-{d} {h}:{i}:{s}';
  18774. var date;
  18775. if ((0, _typeof2.default)(time) === 'object') {
  18776. date = time;
  18777. } else {
  18778. if (typeof time === 'string' && /^[0-9]+$/.test(time)) {
  18779. time = parseInt(time);
  18780. } else if (typeof time === 'string') {
  18781. time = time.replace(new RegExp(/-/gm), '/').replace('T', ' ').replace(new RegExp(/\.[\d]{3}/gm), '');
  18782. }
  18783. if (typeof time === 'number' && time.toString().length === 10) {
  18784. time = time * 1000;
  18785. }
  18786. date = new Date(time);
  18787. }
  18788. var formatObj = {
  18789. y: date.getFullYear(),
  18790. m: date.getMonth() + 1,
  18791. d: date.getDate(),
  18792. h: date.getHours(),
  18793. i: date.getMinutes(),
  18794. s: date.getSeconds(),
  18795. a: date.getDay()
  18796. };
  18797. var time_str = format.replace(/{(y|m|d|h|i|s|a)+}/g, function (result, key) {
  18798. var value = formatObj[key];
  18799. // Note: getDay() returns 0 on Sunday
  18800. if (key === 'a') {
  18801. return ['日', '一', '二', '三', '四', '五', '六'][value];
  18802. }
  18803. if (result.length > 0 && value < 10) {
  18804. value = '0' + value;
  18805. }
  18806. return value || 0;
  18807. });
  18808. return time_str;
  18809. }
  18810. // 表单重置
  18811. function resetForm(refName) {
  18812. if (this.$refs[refName]) {
  18813. this.$refs[refName].resetFields();
  18814. }
  18815. }
  18816. // 添加日期范围
  18817. function addDateRange(params, dateRange, propName) {
  18818. var search = params;
  18819. search.params = (0, _typeof2.default)(search.params) === 'object' && search.params !== null && !Array.isArray(search.params) ? search.params : {};
  18820. dateRange = Array.isArray(dateRange) ? dateRange : [];
  18821. if (typeof propName === 'undefined') {
  18822. search.params['beginTime'] = dateRange[0];
  18823. search.params['endTime'] = dateRange[1];
  18824. } else {
  18825. search.params['begin' + propName] = dateRange[0];
  18826. search.params['end' + propName] = dateRange[1];
  18827. }
  18828. return search;
  18829. }
  18830. // 回显数据字典
  18831. function selectDictLabel(datas, value) {
  18832. if (value === undefined) {
  18833. return "";
  18834. }
  18835. var actions = [];
  18836. Object.keys(datas).some(function (key) {
  18837. if (datas[key].value == '' + value) {
  18838. actions.push(datas[key].label);
  18839. return true;
  18840. }
  18841. });
  18842. if (actions.length === 0) {
  18843. actions.push(value);
  18844. }
  18845. return actions.join('');
  18846. }
  18847. // 回显数据字典(字符串数组)
  18848. function selectDictLabels(datas, value, separator) {
  18849. if (value === undefined) {
  18850. return "";
  18851. }
  18852. var actions = [];
  18853. var currentSeparator = undefined === separator ? "," : separator;
  18854. var temp = value.split(currentSeparator);
  18855. Object.keys(value.split(currentSeparator)).some(function (val) {
  18856. var match = false;
  18857. Object.keys(datas).some(function (key) {
  18858. if (datas[key].value == '' + temp[val]) {
  18859. actions.push(datas[key].label + currentSeparator);
  18860. match = true;
  18861. }
  18862. });
  18863. if (!match) {
  18864. actions.push(temp[val] + currentSeparator);
  18865. }
  18866. });
  18867. return actions.join('').substring(0, actions.join('').length - 1);
  18868. }
  18869. // 字符串格式化(%s )
  18870. function sprintf(str) {
  18871. var args = arguments,
  18872. flag = true,
  18873. i = 1;
  18874. str = str.replace(/%s/g, function () {
  18875. var arg = args[i++];
  18876. if (typeof arg === 'undefined') {
  18877. flag = false;
  18878. return '';
  18879. }
  18880. return arg;
  18881. });
  18882. return flag ? str : '';
  18883. }
  18884. // 转换字符串,undefined,null等转化为""
  18885. function parseStrEmpty(str) {
  18886. if (!str || str == "undefined" || str == "null") {
  18887. return "";
  18888. }
  18889. return str;
  18890. }
  18891. // 数据合并
  18892. function mergeRecursive(source, target) {
  18893. for (var p in target) {
  18894. try {
  18895. if (target[p].constructor == Object) {
  18896. source[p] = mergeRecursive(source[p], target[p]);
  18897. } else {
  18898. source[p] = target[p];
  18899. }
  18900. } catch (e) {
  18901. source[p] = target[p];
  18902. }
  18903. }
  18904. return source;
  18905. }
  18906. ;
  18907. /**
  18908. * 构造树型结构数据
  18909. * @param {*} data 数据源
  18910. * @param {*} id id字段 默认 'id'
  18911. * @param {*} parentId 父节点字段 默认 'parentId'
  18912. * @param {*} children 孩子节点字段 默认 'children'
  18913. */
  18914. function handleTree(data, id, parentId, children) {
  18915. var config = {
  18916. id: id || 'id',
  18917. parentId: parentId || 'parentId',
  18918. childrenList: children || 'children'
  18919. };
  18920. var childrenListMap = {};
  18921. var nodeIds = {};
  18922. var tree = [];
  18923. var _iterator = _createForOfIteratorHelper(data),
  18924. _step;
  18925. try {
  18926. for (_iterator.s(); !(_step = _iterator.n()).done;) {
  18927. var d = _step.value;
  18928. var _parentId = d[config.parentId];
  18929. if (childrenListMap[_parentId] == null) {
  18930. childrenListMap[_parentId] = [];
  18931. }
  18932. nodeIds[d[config.id]] = d;
  18933. childrenListMap[_parentId].push(d);
  18934. }
  18935. } catch (err) {
  18936. _iterator.e(err);
  18937. } finally {
  18938. _iterator.f();
  18939. }
  18940. var _iterator2 = _createForOfIteratorHelper(data),
  18941. _step2;
  18942. try {
  18943. for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
  18944. var _d = _step2.value;
  18945. var _parentId2 = _d[config.parentId];
  18946. if (nodeIds[_parentId2] == null) {
  18947. tree.push(_d);
  18948. }
  18949. }
  18950. } catch (err) {
  18951. _iterator2.e(err);
  18952. } finally {
  18953. _iterator2.f();
  18954. }
  18955. for (var _i = 0, _tree = tree; _i < _tree.length; _i++) {
  18956. var t = _tree[_i];
  18957. adaptToChildrenList(t);
  18958. }
  18959. function adaptToChildrenList(o) {
  18960. if (childrenListMap[o[config.id]] !== null) {
  18961. o[config.childrenList] = childrenListMap[o[config.id]];
  18962. }
  18963. if (o[config.childrenList]) {
  18964. var _iterator3 = _createForOfIteratorHelper(o[config.childrenList]),
  18965. _step3;
  18966. try {
  18967. for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
  18968. var c = _step3.value;
  18969. adaptToChildrenList(c);
  18970. }
  18971. } catch (err) {
  18972. _iterator3.e(err);
  18973. } finally {
  18974. _iterator3.f();
  18975. }
  18976. }
  18977. }
  18978. return tree;
  18979. }
  18980. /**
  18981. * 参数处理
  18982. * @param {*} params 参数
  18983. */
  18984. function tansParams(params) {
  18985. var result = '';
  18986. for (var _i2 = 0, _Object$keys = Object.keys(params); _i2 < _Object$keys.length; _i2++) {
  18987. var propName = _Object$keys[_i2];
  18988. var value = params[propName];
  18989. var part = encodeURIComponent(propName) + "=";
  18990. if (value !== null && value !== "" && typeof value !== "undefined") {
  18991. if ((0, _typeof2.default)(value) === 'object') {
  18992. for (var _i3 = 0, _Object$keys2 = Object.keys(value); _i3 < _Object$keys2.length; _i3++) {
  18993. var key = _Object$keys2[_i3];
  18994. if (value[key] !== null && value[key] !== "" && typeof value[key] !== 'undefined') {
  18995. var _params = propName + '[' + key + ']';
  18996. var subPart = encodeURIComponent(_params) + "=";
  18997. result += subPart + encodeURIComponent(value[key]) + "&";
  18998. }
  18999. }
  19000. } else {
  19001. result += part + encodeURIComponent(value) + "&";
  19002. }
  19003. }
  19004. }
  19005. return result;
  19006. }
  19007. // 验证是否为blob格式
  19008. function blobValidate(_x) {
  19009. return _blobValidate.apply(this, arguments);
  19010. }
  19011. function _blobValidate() {
  19012. _blobValidate = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(data) {
  19013. var text;
  19014. return _regenerator.default.wrap(function _callee$(_context) {
  19015. while (1) {
  19016. switch (_context.prev = _context.next) {
  19017. case 0:
  19018. _context.prev = 0;
  19019. _context.next = 3;
  19020. return data.text();
  19021. case 3:
  19022. text = _context.sent;
  19023. JSON.parse(text);
  19024. return _context.abrupt("return", false);
  19025. case 8:
  19026. _context.prev = 8;
  19027. _context.t0 = _context["catch"](0);
  19028. return _context.abrupt("return", true);
  19029. case 11:
  19030. case "end":
  19031. return _context.stop();
  19032. }
  19033. }
  19034. }, _callee, null, [[0, 8]]);
  19035. }));
  19036. return _blobValidate.apply(this, arguments);
  19037. }
  19038. /***/ }),
  19039. /* 207 */,
  19040. /* 208 */,
  19041. /* 209 */,
  19042. /* 210 */,
  19043. /* 211 */,
  19044. /* 212 */,
  19045. /* 213 */,
  19046. /* 214 */,
  19047. /* 215 */,
  19048. /* 216 */,
  19049. /* 217 */,
  19050. /* 218 */,
  19051. /* 219 */,
  19052. /* 220 */,
  19053. /* 221 */,
  19054. /* 222 */,
  19055. /* 223 */,
  19056. /* 224 */,
  19057. /* 225 */,
  19058. /* 226 */,
  19059. /* 227 */,
  19060. /* 228 */,
  19061. /* 229 */,
  19062. /* 230 */,
  19063. /* 231 */,
  19064. /* 232 */,
  19065. /* 233 */,
  19066. /* 234 */,
  19067. /* 235 */,
  19068. /* 236 */,
  19069. /* 237 */,
  19070. /* 238 */,
  19071. /* 239 */,
  19072. /* 240 */,
  19073. /* 241 */,
  19074. /* 242 */,
  19075. /* 243 */,
  19076. /* 244 */,
  19077. /* 245 */,
  19078. /* 246 */,
  19079. /* 247 */,
  19080. /* 248 */,
  19081. /* 249 */,
  19082. /* 250 */,
  19083. /* 251 */,
  19084. /* 252 */
  19085. /*!****************************************************************************************************************************************************!*\
  19086. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-search/props.js ***!
  19087. \****************************************************************************************************************************************************/
  19088. /*! no static exports found */
  19089. /***/ (function(module, exports, __webpack_require__) {
  19090. "use strict";
  19091. /* WEBPACK VAR INJECTION */(function(uni) {
  19092. Object.defineProperty(exports, "__esModule", {
  19093. value: true
  19094. });
  19095. exports.default = void 0;
  19096. var _default = {
  19097. props: {
  19098. // 搜索框形状,round-圆形,square-方形
  19099. shape: {
  19100. type: String,
  19101. default: uni.$u.props.search.shape
  19102. },
  19103. // 搜索框背景色,默认值#f2f2f2
  19104. bgColor: {
  19105. type: String,
  19106. default: uni.$u.props.search.bgColor
  19107. },
  19108. // 占位提示文字
  19109. placeholder: {
  19110. type: String,
  19111. default: uni.$u.props.search.placeholder
  19112. },
  19113. // 是否启用清除控件
  19114. clearabled: {
  19115. type: Boolean,
  19116. default: uni.$u.props.search.clearabled
  19117. },
  19118. // 是否自动聚焦
  19119. focus: {
  19120. type: Boolean,
  19121. default: uni.$u.props.search.focus
  19122. },
  19123. // 是否在搜索框右侧显示取消按钮
  19124. showAction: {
  19125. type: Boolean,
  19126. default: uni.$u.props.search.showAction
  19127. },
  19128. // 右边控件的样式
  19129. actionStyle: {
  19130. type: Object,
  19131. default: uni.$u.props.search.actionStyle
  19132. },
  19133. // 取消按钮文字
  19134. actionText: {
  19135. type: String,
  19136. default: uni.$u.props.search.actionText
  19137. },
  19138. // 输入框内容对齐方式,可选值为 left|center|right
  19139. inputAlign: {
  19140. type: String,
  19141. default: uni.$u.props.search.inputAlign
  19142. },
  19143. // input输入框的样式,可以定义文字颜色,大小等,对象形式
  19144. inputStyle: {
  19145. type: Object,
  19146. default: uni.$u.props.search.inputStyle
  19147. },
  19148. // 是否启用输入框
  19149. disabled: {
  19150. type: Boolean,
  19151. default: uni.$u.props.search.disabled
  19152. },
  19153. // 边框颜色
  19154. borderColor: {
  19155. type: String,
  19156. default: uni.$u.props.search.borderColor
  19157. },
  19158. // 搜索图标的颜色,默认同输入框字体颜色
  19159. searchIconColor: {
  19160. type: String,
  19161. default: uni.$u.props.search.searchIconColor
  19162. },
  19163. // 输入框字体颜色
  19164. color: {
  19165. type: String,
  19166. default: uni.$u.props.search.color
  19167. },
  19168. // placeholder的颜色
  19169. placeholderColor: {
  19170. type: String,
  19171. default: uni.$u.props.search.placeholderColor
  19172. },
  19173. // 左边输入框的图标,可以为uView图标名称或图片路径
  19174. searchIcon: {
  19175. type: String,
  19176. default: uni.$u.props.search.searchIcon
  19177. },
  19178. searchIconSize: {
  19179. type: [Number, String],
  19180. default: uni.$u.props.search.searchIconSize
  19181. },
  19182. // 组件与其他上下左右元素之间的距离,带单位的字符串形式,如"30px"、"30px 20px"等写法
  19183. margin: {
  19184. type: String,
  19185. default: uni.$u.props.search.margin
  19186. },
  19187. // 开启showAction时,是否在input获取焦点时才显示
  19188. animation: {
  19189. type: Boolean,
  19190. default: uni.$u.props.search.animation
  19191. },
  19192. // 输入框的初始化内容
  19193. value: {
  19194. type: String,
  19195. default: uni.$u.props.search.value
  19196. },
  19197. // 输入框最大能输入的长度,-1为不限制长度(来自uniapp文档)
  19198. maxlength: {
  19199. type: [String, Number],
  19200. default: uni.$u.props.search.maxlength
  19201. },
  19202. // 搜索框高度,单位px
  19203. height: {
  19204. type: [String, Number],
  19205. default: uni.$u.props.search.height
  19206. },
  19207. // 搜索框左侧文本
  19208. label: {
  19209. type: [String, Number, null],
  19210. default: uni.$u.props.search.label
  19211. }
  19212. }
  19213. };
  19214. exports.default = _default;
  19215. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19216. /***/ }),
  19217. /* 253 */,
  19218. /* 254 */,
  19219. /* 255 */,
  19220. /* 256 */,
  19221. /* 257 */,
  19222. /* 258 */,
  19223. /* 259 */,
  19224. /* 260 */
  19225. /*!***************************************************************************************************************************************************!*\
  19226. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-input/props.js ***!
  19227. \***************************************************************************************************************************************************/
  19228. /*! no static exports found */
  19229. /***/ (function(module, exports, __webpack_require__) {
  19230. "use strict";
  19231. /* WEBPACK VAR INJECTION */(function(uni) {
  19232. Object.defineProperty(exports, "__esModule", {
  19233. value: true
  19234. });
  19235. exports.default = void 0;
  19236. var _default = {
  19237. props: {
  19238. // 输入的值
  19239. value: {
  19240. type: [String, Number],
  19241. default: uni.$u.props.input.value
  19242. },
  19243. // 输入框类型
  19244. // number-数字输入键盘,app-vue下可以输入浮点数,app-nvue和小程序平台下只能输入整数
  19245. // idcard-身份证输入键盘,微信、支付宝、百度、QQ小程序
  19246. // digit-带小数点的数字键盘,App的nvue页面、微信、支付宝、百度、头条、QQ小程序
  19247. // text-文本输入键盘
  19248. type: {
  19249. type: String,
  19250. default: uni.$u.props.input.type
  19251. },
  19252. // 如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true,
  19253. // 兼容性:微信小程序、百度小程序、字节跳动小程序、QQ小程序
  19254. fixed: {
  19255. type: Boolean,
  19256. default: uni.$u.props.input.fixed
  19257. },
  19258. // 是否禁用输入框
  19259. disabled: {
  19260. type: Boolean,
  19261. default: uni.$u.props.input.disabled
  19262. },
  19263. // 禁用状态时的背景色
  19264. disabledColor: {
  19265. type: String,
  19266. default: uni.$u.props.input.disabledColor
  19267. },
  19268. // 是否显示清除控件
  19269. clearable: {
  19270. type: Boolean,
  19271. default: uni.$u.props.input.clearable
  19272. },
  19273. // 是否密码类型
  19274. password: {
  19275. type: Boolean,
  19276. default: uni.$u.props.input.password
  19277. },
  19278. // 最大输入长度,设置为 -1 的时候不限制最大长度
  19279. maxlength: {
  19280. type: [String, Number],
  19281. default: uni.$u.props.input.maxlength
  19282. },
  19283. // 输入框为空时的占位符
  19284. placeholder: {
  19285. type: String,
  19286. default: uni.$u.props.input.placeholder
  19287. },
  19288. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  19289. placeholderClass: {
  19290. type: String,
  19291. default: uni.$u.props.input.placeholderClass
  19292. },
  19293. // 指定placeholder的样式
  19294. placeholderStyle: {
  19295. type: [String, Object],
  19296. default: uni.$u.props.input.placeholderStyle
  19297. },
  19298. // 是否显示输入字数统计,只在 type ="text"或type ="textarea"时有效
  19299. showWordLimit: {
  19300. type: Boolean,
  19301. default: uni.$u.props.input.showWordLimit
  19302. },
  19303. // 设置右下角按钮的文字,有效值:send|search|next|go|done,兼容性详见uni-app文档
  19304. // https://uniapp.dcloud.io/component/input
  19305. // https://uniapp.dcloud.io/component/textarea
  19306. confirmType: {
  19307. type: String,
  19308. default: uni.$u.props.input.confirmType
  19309. },
  19310. // 点击键盘右下角按钮时是否保持键盘不收起,H5无效
  19311. confirmHold: {
  19312. type: Boolean,
  19313. default: uni.$u.props.input.confirmHold
  19314. },
  19315. // focus时,点击页面的时候不收起键盘,微信小程序有效
  19316. holdKeyboard: {
  19317. type: Boolean,
  19318. default: uni.$u.props.input.holdKeyboard
  19319. },
  19320. // 自动获取焦点
  19321. // 在 H5 平台能否聚焦以及软键盘是否跟随弹出,取决于当前浏览器本身的实现。nvue 页面不支持,需使用组件的 focus()、blur() 方法控制焦点
  19322. focus: {
  19323. type: Boolean,
  19324. default: uni.$u.props.input.focus
  19325. },
  19326. // 键盘收起时,是否自动失去焦点,目前仅App3.0.0+有效
  19327. autoBlur: {
  19328. type: Boolean,
  19329. default: uni.$u.props.input.autoBlur
  19330. },
  19331. // 是否去掉 iOS 下的默认内边距,仅微信小程序,且type=textarea时有效
  19332. disableDefaultPadding: {
  19333. type: Boolean,
  19334. default: uni.$u.props.input.disableDefaultPadding
  19335. },
  19336. // 指定focus时光标的位置
  19337. cursor: {
  19338. type: [String, Number],
  19339. default: uni.$u.props.input.cursor
  19340. },
  19341. // 输入框聚焦时底部与键盘的距离
  19342. cursorSpacing: {
  19343. type: [String, Number],
  19344. default: uni.$u.props.input.cursorSpacing
  19345. },
  19346. // 光标起始位置,自动聚集时有效,需与selection-end搭配使用
  19347. selectionStart: {
  19348. type: [String, Number],
  19349. default: uni.$u.props.input.selectionStart
  19350. },
  19351. // 光标结束位置,自动聚集时有效,需与selection-start搭配使用
  19352. selectionEnd: {
  19353. type: [String, Number],
  19354. default: uni.$u.props.input.selectionEnd
  19355. },
  19356. // 键盘弹起时,是否自动上推页面
  19357. adjustPosition: {
  19358. type: Boolean,
  19359. default: uni.$u.props.input.adjustPosition
  19360. },
  19361. // 输入框内容对齐方式,可选值为:left|center|right
  19362. inputAlign: {
  19363. type: String,
  19364. default: uni.$u.props.input.inputAlign
  19365. },
  19366. // 输入框字体的大小
  19367. fontSize: {
  19368. type: [String, Number],
  19369. default: uni.$u.props.input.fontSize
  19370. },
  19371. // 输入框字体颜色
  19372. color: {
  19373. type: String,
  19374. default: uni.$u.props.input.color
  19375. },
  19376. // 输入框前置图标
  19377. prefixIcon: {
  19378. type: String,
  19379. default: uni.$u.props.input.prefixIcon
  19380. },
  19381. // 前置图标样式,对象或字符串
  19382. prefixIconStyle: {
  19383. type: [String, Object],
  19384. default: uni.$u.props.input.prefixIconStyle
  19385. },
  19386. // 输入框后置图标
  19387. suffixIcon: {
  19388. type: String,
  19389. default: uni.$u.props.input.suffixIcon
  19390. },
  19391. // 后置图标样式,对象或字符串
  19392. suffixIconStyle: {
  19393. type: [String, Object],
  19394. default: uni.$u.props.input.suffixIconStyle
  19395. },
  19396. // 边框类型,surround-四周边框,bottom-底部边框,none-无边框
  19397. border: {
  19398. type: String,
  19399. default: uni.$u.props.input.border
  19400. },
  19401. // 是否只读,与disabled不同之处在于disabled会置灰组件,而readonly则不会
  19402. readonly: {
  19403. type: Boolean,
  19404. default: uni.$u.props.input.readonly
  19405. },
  19406. // 输入框形状,circle-圆形,square-方形
  19407. shape: {
  19408. type: String,
  19409. default: uni.$u.props.input.shape
  19410. },
  19411. // 用于处理或者过滤输入框内容的方法
  19412. formatter: {
  19413. type: [Function, null],
  19414. default: uni.$u.props.input.formatter
  19415. },
  19416. // 是否忽略组件内对文本合成系统事件的处理
  19417. ignoreCompositionEvent: {
  19418. type: Boolean,
  19419. default: true
  19420. }
  19421. }
  19422. };
  19423. exports.default = _default;
  19424. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19425. /***/ }),
  19426. /* 261 */,
  19427. /* 262 */,
  19428. /* 263 */,
  19429. /* 264 */,
  19430. /* 265 */,
  19431. /* 266 */,
  19432. /* 267 */,
  19433. /* 268 */,
  19434. /* 269 */,
  19435. /* 270 */,
  19436. /* 271 */,
  19437. /* 272 */,
  19438. /* 273 */
  19439. /*!***************************************************************************************************************************************************!*\
  19440. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-empty/props.js ***!
  19441. \***************************************************************************************************************************************************/
  19442. /*! no static exports found */
  19443. /***/ (function(module, exports, __webpack_require__) {
  19444. "use strict";
  19445. /* WEBPACK VAR INJECTION */(function(uni) {
  19446. Object.defineProperty(exports, "__esModule", {
  19447. value: true
  19448. });
  19449. exports.default = void 0;
  19450. var _default = {
  19451. props: {
  19452. // 内置图标名称,或图片路径,建议绝对路径
  19453. icon: {
  19454. type: String,
  19455. default: uni.$u.props.empty.icon
  19456. },
  19457. // 提示文字
  19458. text: {
  19459. type: String,
  19460. default: uni.$u.props.empty.text
  19461. },
  19462. // 文字颜色
  19463. textColor: {
  19464. type: String,
  19465. default: uni.$u.props.empty.textColor
  19466. },
  19467. // 文字大小
  19468. textSize: {
  19469. type: [String, Number],
  19470. default: uni.$u.props.empty.textSize
  19471. },
  19472. // 图标的颜色
  19473. iconColor: {
  19474. type: String,
  19475. default: uni.$u.props.empty.iconColor
  19476. },
  19477. // 图标的大小
  19478. iconSize: {
  19479. type: [String, Number],
  19480. default: uni.$u.props.empty.iconSize
  19481. },
  19482. // 选择预置的图标类型
  19483. mode: {
  19484. type: String,
  19485. default: uni.$u.props.empty.mode
  19486. },
  19487. // 图标宽度,单位px
  19488. width: {
  19489. type: [String, Number],
  19490. default: uni.$u.props.empty.width
  19491. },
  19492. // 图标高度,单位px
  19493. height: {
  19494. type: [String, Number],
  19495. default: uni.$u.props.empty.height
  19496. },
  19497. // 是否显示组件
  19498. show: {
  19499. type: Boolean,
  19500. default: uni.$u.props.empty.show
  19501. },
  19502. // 组件距离上一个元素之间的距离,默认px单位
  19503. marginTop: {
  19504. type: [String, Number],
  19505. default: uni.$u.props.empty.marginTop
  19506. }
  19507. }
  19508. };
  19509. exports.default = _default;
  19510. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19511. /***/ }),
  19512. /* 274 */,
  19513. /* 275 */,
  19514. /* 276 */,
  19515. /* 277 */,
  19516. /* 278 */,
  19517. /* 279 */,
  19518. /* 280 */,
  19519. /* 281 */
  19520. /*!********************************************************************************************************************************************************!*\
  19521. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-cell-group/props.js ***!
  19522. \********************************************************************************************************************************************************/
  19523. /*! no static exports found */
  19524. /***/ (function(module, exports, __webpack_require__) {
  19525. "use strict";
  19526. /* WEBPACK VAR INJECTION */(function(uni) {
  19527. Object.defineProperty(exports, "__esModule", {
  19528. value: true
  19529. });
  19530. exports.default = void 0;
  19531. var _default = {
  19532. props: {
  19533. // 分组标题
  19534. title: {
  19535. type: String,
  19536. default: uni.$u.props.cellGroup.title
  19537. },
  19538. // 是否显示外边框
  19539. border: {
  19540. type: Boolean,
  19541. default: uni.$u.props.cellGroup.border
  19542. }
  19543. }
  19544. };
  19545. exports.default = _default;
  19546. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19547. /***/ }),
  19548. /* 282 */,
  19549. /* 283 */,
  19550. /* 284 */,
  19551. /* 285 */,
  19552. /* 286 */,
  19553. /* 287 */,
  19554. /* 288 */,
  19555. /* 289 */
  19556. /*!**************************************************************************************************************************************************!*\
  19557. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-cell/props.js ***!
  19558. \**************************************************************************************************************************************************/
  19559. /*! no static exports found */
  19560. /***/ (function(module, exports, __webpack_require__) {
  19561. "use strict";
  19562. /* WEBPACK VAR INJECTION */(function(uni) {
  19563. Object.defineProperty(exports, "__esModule", {
  19564. value: true
  19565. });
  19566. exports.default = void 0;
  19567. var _default2 = {
  19568. props: {
  19569. // 标题
  19570. title: {
  19571. type: [String, Number],
  19572. default: uni.$u.props.cell.title
  19573. },
  19574. // 标题下方的描述信息
  19575. label: {
  19576. type: [String, Number],
  19577. default: uni.$u.props.cell.label
  19578. },
  19579. // 右侧的内容
  19580. value: {
  19581. type: [String, Number],
  19582. default: uni.$u.props.cell.value
  19583. },
  19584. // 左侧图标名称,或者图片链接(本地文件建议使用绝对地址)
  19585. icon: {
  19586. type: String,
  19587. default: uni.$u.props.cell.icon
  19588. },
  19589. // 是否禁用cell
  19590. disabled: {
  19591. type: Boolean,
  19592. default: uni.$u.props.cell.disabled
  19593. },
  19594. // 是否显示下边框
  19595. border: {
  19596. type: Boolean,
  19597. default: uni.$u.props.cell.border
  19598. },
  19599. // 内容是否垂直居中(主要是针对右侧的value部分)
  19600. center: {
  19601. type: Boolean,
  19602. default: uni.$u.props.cell.center
  19603. },
  19604. // 点击后跳转的URL地址
  19605. url: {
  19606. type: String,
  19607. default: uni.$u.props.cell.url
  19608. },
  19609. // 链接跳转的方式,内部使用的是uView封装的route方法,可能会进行拦截操作
  19610. linkType: {
  19611. type: String,
  19612. default: uni.$u.props.cell.linkType
  19613. },
  19614. // 是否开启点击反馈(表现为点击时加上灰色背景)
  19615. clickable: {
  19616. type: Boolean,
  19617. default: uni.$u.props.cell.clickable
  19618. },
  19619. // 是否展示右侧箭头并开启点击反馈
  19620. isLink: {
  19621. type: Boolean,
  19622. default: uni.$u.props.cell.isLink
  19623. },
  19624. // 是否显示表单状态下的必填星号(此组件可能会内嵌入input组件)
  19625. required: {
  19626. type: Boolean,
  19627. default: uni.$u.props.cell.required
  19628. },
  19629. // 右侧的图标箭头
  19630. rightIcon: {
  19631. type: String,
  19632. default: uni.$u.props.cell.rightIcon
  19633. },
  19634. // 右侧箭头的方向,可选值为:left,up,down
  19635. arrowDirection: {
  19636. type: String,
  19637. default: uni.$u.props.cell.arrowDirection
  19638. },
  19639. // 左侧图标样式
  19640. iconStyle: {
  19641. type: [Object, String],
  19642. default: function _default() {
  19643. return uni.$u.props.cell.iconStyle;
  19644. }
  19645. },
  19646. // 右侧箭头图标的样式
  19647. rightIconStyle: {
  19648. type: [Object, String],
  19649. default: function _default() {
  19650. return uni.$u.props.cell.rightIconStyle;
  19651. }
  19652. },
  19653. // 标题的样式
  19654. titleStyle: {
  19655. type: [Object, String],
  19656. default: function _default() {
  19657. return uni.$u.props.cell.titleStyle;
  19658. }
  19659. },
  19660. // 单位元的大小,可选值为large
  19661. size: {
  19662. type: String,
  19663. default: uni.$u.props.cell.size
  19664. },
  19665. // 点击cell是否阻止事件传播
  19666. stop: {
  19667. type: Boolean,
  19668. default: uni.$u.props.cell.stop
  19669. },
  19670. // 标识符,cell被点击时返回
  19671. name: {
  19672. type: [Number, String],
  19673. default: uni.$u.props.cell.name
  19674. }
  19675. }
  19676. };
  19677. exports.default = _default2;
  19678. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19679. /***/ }),
  19680. /* 290 */,
  19681. /* 291 */,
  19682. /* 292 */,
  19683. /* 293 */,
  19684. /* 294 */,
  19685. /* 295 */,
  19686. /* 296 */,
  19687. /* 297 */
  19688. /*!*************************************************************************************************************************************************!*\
  19689. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-row/props.js ***!
  19690. \*************************************************************************************************************************************************/
  19691. /*! no static exports found */
  19692. /***/ (function(module, exports, __webpack_require__) {
  19693. "use strict";
  19694. /* WEBPACK VAR INJECTION */(function(uni) {
  19695. Object.defineProperty(exports, "__esModule", {
  19696. value: true
  19697. });
  19698. exports.default = void 0;
  19699. var _default = {
  19700. props: {
  19701. // 给col添加间距,左右边距各占一半
  19702. gutter: {
  19703. type: [String, Number],
  19704. default: uni.$u.props.row.gutter
  19705. },
  19706. // 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
  19707. justify: {
  19708. type: String,
  19709. default: uni.$u.props.row.justify
  19710. },
  19711. // 垂直对齐方式,可选值为top、center、bottom
  19712. align: {
  19713. type: String,
  19714. default: uni.$u.props.row.align
  19715. }
  19716. }
  19717. };
  19718. exports.default = _default;
  19719. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19720. /***/ }),
  19721. /* 298 */,
  19722. /* 299 */,
  19723. /* 300 */,
  19724. /* 301 */,
  19725. /* 302 */,
  19726. /* 303 */,
  19727. /* 304 */,
  19728. /* 305 */
  19729. /*!*************************************************************************************************************************************************!*\
  19730. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-col/props.js ***!
  19731. \*************************************************************************************************************************************************/
  19732. /*! no static exports found */
  19733. /***/ (function(module, exports, __webpack_require__) {
  19734. "use strict";
  19735. /* WEBPACK VAR INJECTION */(function(uni) {
  19736. Object.defineProperty(exports, "__esModule", {
  19737. value: true
  19738. });
  19739. exports.default = void 0;
  19740. var _default = {
  19741. props: {
  19742. // 占父容器宽度的多少等分,总分为12份
  19743. span: {
  19744. type: [String, Number],
  19745. default: uni.$u.props.col.span
  19746. },
  19747. // 指定栅格左侧的间隔数(总12栏)
  19748. offset: {
  19749. type: [String, Number],
  19750. default: uni.$u.props.col.offset
  19751. },
  19752. // 水平排列方式,可选值为`start`(或`flex-start`)、`end`(或`flex-end`)、`center`、`around`(或`space-around`)、`between`(或`space-between`)
  19753. justify: {
  19754. type: String,
  19755. default: uni.$u.props.col.justify
  19756. },
  19757. // 垂直对齐方式,可选值为top、center、bottom、stretch
  19758. align: {
  19759. type: String,
  19760. default: uni.$u.props.col.align
  19761. },
  19762. // 文字对齐方式
  19763. textAlign: {
  19764. type: String,
  19765. default: uni.$u.props.col.textAlign
  19766. }
  19767. }
  19768. };
  19769. exports.default = _default;
  19770. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19771. /***/ }),
  19772. /* 306 */,
  19773. /* 307 */,
  19774. /* 308 */,
  19775. /* 309 */,
  19776. /* 310 */,
  19777. /* 311 */,
  19778. /* 312 */,
  19779. /* 313 */
  19780. /*!**************************************************************************************************************************************************!*\
  19781. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-form/props.js ***!
  19782. \**************************************************************************************************************************************************/
  19783. /*! no static exports found */
  19784. /***/ (function(module, exports, __webpack_require__) {
  19785. "use strict";
  19786. /* WEBPACK VAR INJECTION */(function(uni) {
  19787. Object.defineProperty(exports, "__esModule", {
  19788. value: true
  19789. });
  19790. exports.default = void 0;
  19791. var _default = {
  19792. props: {
  19793. // 当前form的需要验证字段的集合
  19794. model: {
  19795. type: Object,
  19796. default: uni.$u.props.form.model
  19797. },
  19798. // 验证规则
  19799. rules: {
  19800. type: [Object, Function, Array],
  19801. default: uni.$u.props.form.rules
  19802. },
  19803. // 有错误时的提示方式,message-提示信息,toast-进行toast提示
  19804. // border-bottom-下边框呈现红色,none-无提示
  19805. errorType: {
  19806. type: String,
  19807. default: uni.$u.props.form.errorType
  19808. },
  19809. // 是否显示表单域的下划线边框
  19810. borderBottom: {
  19811. type: Boolean,
  19812. default: uni.$u.props.form.borderBottom
  19813. },
  19814. // label的位置,left-左边,top-上边
  19815. labelPosition: {
  19816. type: String,
  19817. default: uni.$u.props.form.labelPosition
  19818. },
  19819. // label的宽度,单位px
  19820. labelWidth: {
  19821. type: [String, Number],
  19822. default: uni.$u.props.form.labelWidth
  19823. },
  19824. // lable字体的对齐方式
  19825. labelAlign: {
  19826. type: String,
  19827. default: uni.$u.props.form.labelAlign
  19828. },
  19829. // lable的样式,对象形式
  19830. labelStyle: {
  19831. type: Object,
  19832. default: uni.$u.props.form.labelStyle
  19833. }
  19834. }
  19835. };
  19836. exports.default = _default;
  19837. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19838. /***/ }),
  19839. /* 314 */,
  19840. /* 315 */,
  19841. /* 316 */,
  19842. /* 317 */,
  19843. /* 318 */,
  19844. /* 319 */
  19845. /*!*******************************************************************************************************************************************************!*\
  19846. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-form-item/props.js ***!
  19847. \*******************************************************************************************************************************************************/
  19848. /*! no static exports found */
  19849. /***/ (function(module, exports, __webpack_require__) {
  19850. "use strict";
  19851. /* WEBPACK VAR INJECTION */(function(uni) {
  19852. Object.defineProperty(exports, "__esModule", {
  19853. value: true
  19854. });
  19855. exports.default = void 0;
  19856. var _default = {
  19857. props: {
  19858. // input的label提示语
  19859. label: {
  19860. type: String,
  19861. default: uni.$u.props.formItem.label
  19862. },
  19863. // 绑定的值
  19864. prop: {
  19865. type: String,
  19866. default: uni.$u.props.formItem.prop
  19867. },
  19868. // 是否显示表单域的下划线边框
  19869. borderBottom: {
  19870. type: [String, Boolean],
  19871. default: uni.$u.props.formItem.borderBottom
  19872. },
  19873. // label的位置,left-左边,top-上边
  19874. labelPosition: {
  19875. type: String,
  19876. default: uni.$u.props.formItem.labelPosition
  19877. },
  19878. // label的宽度,单位px
  19879. labelWidth: {
  19880. type: [String, Number],
  19881. default: uni.$u.props.formItem.labelWidth
  19882. },
  19883. // 右侧图标
  19884. rightIcon: {
  19885. type: String,
  19886. default: uni.$u.props.formItem.rightIcon
  19887. },
  19888. // 左侧图标
  19889. leftIcon: {
  19890. type: String,
  19891. default: uni.$u.props.formItem.leftIcon
  19892. },
  19893. // 是否显示左边的必填星号,只作显示用,具体校验必填的逻辑,请在rules中配置
  19894. required: {
  19895. type: Boolean,
  19896. default: uni.$u.props.formItem.required
  19897. },
  19898. leftIconStyle: {
  19899. type: [String, Object],
  19900. default: uni.$u.props.formItem.leftIconStyle
  19901. }
  19902. }
  19903. };
  19904. exports.default = _default;
  19905. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  19906. /***/ }),
  19907. /* 320 */,
  19908. /* 321 */,
  19909. /* 322 */,
  19910. /* 323 */,
  19911. /* 324 */,
  19912. /* 325 */,
  19913. /* 326 */,
  19914. /* 327 */
  19915. /*!****************************************************************************************************************************************************!*\
  19916. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-picker/props.js ***!
  19917. \****************************************************************************************************************************************************/
  19918. /*! no static exports found */
  19919. /***/ (function(module, exports, __webpack_require__) {
  19920. "use strict";
  19921. /* WEBPACK VAR INJECTION */(function(uni) {
  19922. Object.defineProperty(exports, "__esModule", {
  19923. value: true
  19924. });
  19925. exports.default = void 0;
  19926. var _default = {
  19927. props: {
  19928. // 是否展示picker弹窗
  19929. show: {
  19930. type: Boolean,
  19931. default: uni.$u.props.picker.show
  19932. },
  19933. // 是否展示顶部的操作栏
  19934. showToolbar: {
  19935. type: Boolean,
  19936. default: uni.$u.props.picker.showToolbar
  19937. },
  19938. // 顶部标题
  19939. title: {
  19940. type: String,
  19941. default: uni.$u.props.picker.title
  19942. },
  19943. // 对象数组,设置每一列的数据
  19944. columns: {
  19945. type: Array,
  19946. default: uni.$u.props.picker.columns
  19947. },
  19948. // 是否显示加载中状态
  19949. loading: {
  19950. type: Boolean,
  19951. default: uni.$u.props.picker.loading
  19952. },
  19953. // 各列中,单个选项的高度
  19954. itemHeight: {
  19955. type: [String, Number],
  19956. default: uni.$u.props.picker.itemHeight
  19957. },
  19958. // 取消按钮的文字
  19959. cancelText: {
  19960. type: String,
  19961. default: uni.$u.props.picker.cancelText
  19962. },
  19963. // 确认按钮的文字
  19964. confirmText: {
  19965. type: String,
  19966. default: uni.$u.props.picker.confirmText
  19967. },
  19968. // 取消按钮的颜色
  19969. cancelColor: {
  19970. type: String,
  19971. default: uni.$u.props.picker.cancelColor
  19972. },
  19973. // 确认按钮的颜色
  19974. confirmColor: {
  19975. type: String,
  19976. default: uni.$u.props.picker.confirmColor
  19977. },
  19978. // 每列中可见选项的数量
  19979. visibleItemCount: {
  19980. type: [String, Number],
  19981. default: uni.$u.props.picker.visibleItemCount
  19982. },
  19983. // 选项对象中,需要展示的属性键名
  19984. keyName: {
  19985. type: String,
  19986. default: uni.$u.props.picker.keyName
  19987. },
  19988. // 是否允许点击遮罩关闭选择器
  19989. closeOnClickOverlay: {
  19990. type: Boolean,
  19991. default: uni.$u.props.picker.closeOnClickOverlay
  19992. },
  19993. // 各列的默认索引
  19994. defaultIndex: {
  19995. type: Array,
  19996. default: uni.$u.props.picker.defaultIndex
  19997. },
  19998. // 是否在手指松开时立即触发 change 事件。若不开启则会在滚动动画结束后触发 change 事件,只在微信2.21.1及以上有效
  19999. immediateChange: {
  20000. type: Boolean,
  20001. default: uni.$u.props.picker.immediateChange
  20002. }
  20003. }
  20004. };
  20005. exports.default = _default;
  20006. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20007. /***/ }),
  20008. /* 328 */,
  20009. /* 329 */,
  20010. /* 330 */,
  20011. /* 331 */,
  20012. /* 332 */,
  20013. /* 333 */,
  20014. /* 334 */,
  20015. /* 335 */
  20016. /*!*************************************************************************************************************************************************************!*\
  20017. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-datetime-picker/props.js ***!
  20018. \*************************************************************************************************************************************************************/
  20019. /*! no static exports found */
  20020. /***/ (function(module, exports, __webpack_require__) {
  20021. "use strict";
  20022. /* WEBPACK VAR INJECTION */(function(uni) {
  20023. Object.defineProperty(exports, "__esModule", {
  20024. value: true
  20025. });
  20026. exports.default = void 0;
  20027. var _default = {
  20028. props: {
  20029. // 是否打开组件
  20030. show: {
  20031. type: Boolean,
  20032. default: uni.$u.props.datetimePicker.show
  20033. },
  20034. // 是否展示顶部的操作栏
  20035. showToolbar: {
  20036. type: Boolean,
  20037. default: uni.$u.props.datetimePicker.showToolbar
  20038. },
  20039. // 绑定值
  20040. value: {
  20041. type: [String, Number],
  20042. default: uni.$u.props.datetimePicker.value
  20043. },
  20044. // 顶部标题
  20045. title: {
  20046. type: String,
  20047. default: uni.$u.props.datetimePicker.title
  20048. },
  20049. // 展示格式,mode=date为日期选择,mode=time为时间选择,mode=year-month为年月选择,mode=datetime为日期时间选择
  20050. mode: {
  20051. type: String,
  20052. default: uni.$u.props.datetimePicker.mode
  20053. },
  20054. // 可选的最大时间
  20055. maxDate: {
  20056. type: Number,
  20057. // 最大默认值为后10年
  20058. default: uni.$u.props.datetimePicker.maxDate
  20059. },
  20060. // 可选的最小时间
  20061. minDate: {
  20062. type: Number,
  20063. // 最小默认值为前10年
  20064. default: uni.$u.props.datetimePicker.minDate
  20065. },
  20066. // 可选的最小小时,仅mode=time有效
  20067. minHour: {
  20068. type: Number,
  20069. default: uni.$u.props.datetimePicker.minHour
  20070. },
  20071. // 可选的最大小时,仅mode=time有效
  20072. maxHour: {
  20073. type: Number,
  20074. default: uni.$u.props.datetimePicker.maxHour
  20075. },
  20076. // 可选的最小分钟,仅mode=time有效
  20077. minMinute: {
  20078. type: Number,
  20079. default: uni.$u.props.datetimePicker.minMinute
  20080. },
  20081. // 可选的最大分钟,仅mode=time有效
  20082. maxMinute: {
  20083. type: Number,
  20084. default: uni.$u.props.datetimePicker.maxMinute
  20085. },
  20086. // 选项过滤函数
  20087. filter: {
  20088. type: [Function, null],
  20089. default: uni.$u.props.datetimePicker.filter
  20090. },
  20091. // 选项格式化函数
  20092. formatter: {
  20093. type: [Function, null],
  20094. default: uni.$u.props.datetimePicker.formatter
  20095. },
  20096. // 是否显示加载中状态
  20097. loading: {
  20098. type: Boolean,
  20099. default: uni.$u.props.datetimePicker.loading
  20100. },
  20101. // 各列中,单个选项的高度
  20102. itemHeight: {
  20103. type: [String, Number],
  20104. default: uni.$u.props.datetimePicker.itemHeight
  20105. },
  20106. // 取消按钮的文字
  20107. cancelText: {
  20108. type: String,
  20109. default: uni.$u.props.datetimePicker.cancelText
  20110. },
  20111. // 确认按钮的文字
  20112. confirmText: {
  20113. type: String,
  20114. default: uni.$u.props.datetimePicker.confirmText
  20115. },
  20116. // 取消按钮的颜色
  20117. cancelColor: {
  20118. type: String,
  20119. default: uni.$u.props.datetimePicker.cancelColor
  20120. },
  20121. // 确认按钮的颜色
  20122. confirmColor: {
  20123. type: String,
  20124. default: uni.$u.props.datetimePicker.confirmColor
  20125. },
  20126. // 每列中可见选项的数量
  20127. visibleItemCount: {
  20128. type: [String, Number],
  20129. default: uni.$u.props.datetimePicker.visibleItemCount
  20130. },
  20131. // 是否允许点击遮罩关闭选择器
  20132. closeOnClickOverlay: {
  20133. type: Boolean,
  20134. default: uni.$u.props.datetimePicker.closeOnClickOverlay
  20135. },
  20136. // 各列的默认索引
  20137. defaultIndex: {
  20138. type: Array,
  20139. default: uni.$u.props.datetimePicker.defaultIndex
  20140. }
  20141. }
  20142. };
  20143. exports.default = _default;
  20144. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20145. /***/ }),
  20146. /* 336 */
  20147. /*!******************************************************************************************************************************************!*\
  20148. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/util/dayjs.js ***!
  20149. \******************************************************************************************************************************************/
  20150. /*! no static exports found */
  20151. /***/ (function(module, exports, __webpack_require__) {
  20152. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13);
  20153. !function (t, e) {
  20154. ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = e() : true ? !(__WEBPACK_AMD_DEFINE_FACTORY__ = (e),
  20155. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  20156. (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
  20157. __WEBPACK_AMD_DEFINE_FACTORY__),
  20158. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined;
  20159. }(this, function () {
  20160. 'use strict';
  20161. var t = 'millisecond';
  20162. var e = 'second';
  20163. var n = 'minute';
  20164. var r = 'hour';
  20165. var i = 'day';
  20166. var s = 'week';
  20167. var u = 'month';
  20168. var a = 'quarter';
  20169. var o = 'year';
  20170. var f = 'date';
  20171. var h = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/;
  20172. 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;
  20173. var d = {
  20174. name: 'en',
  20175. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
  20176. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_')
  20177. };
  20178. var $ = function $(t, e, n) {
  20179. var r = String(t);
  20180. return !r || r.length >= e ? t : "".concat(Array(e + 1 - r.length).join(n)).concat(t);
  20181. };
  20182. var l = {
  20183. s: $,
  20184. z: function z(t) {
  20185. var e = -t.utcOffset();
  20186. var n = Math.abs(e);
  20187. var r = Math.floor(n / 60);
  20188. var i = n % 60;
  20189. return "".concat((e <= 0 ? '+' : '-') + $(r, 2, '0'), ":").concat($(i, 2, '0'));
  20190. },
  20191. m: function t(e, n) {
  20192. if (e.date() < n.date()) return -t(n, e);
  20193. var r = 12 * (n.year() - e.year()) + (n.month() - e.month());
  20194. var i = e.clone().add(r, u);
  20195. var s = n - i < 0;
  20196. var a = e.clone().add(r + (s ? -1 : 1), u);
  20197. return +(-(r + (n - i) / (s ? i - a : a - i)) || 0);
  20198. },
  20199. a: function a(t) {
  20200. return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
  20201. },
  20202. p: function p(h) {
  20203. return {
  20204. M: u,
  20205. y: o,
  20206. w: s,
  20207. d: i,
  20208. D: f,
  20209. h: r,
  20210. m: n,
  20211. s: e,
  20212. ms: t,
  20213. Q: a
  20214. }[h] || String(h || '').toLowerCase().replace(/s$/, '');
  20215. },
  20216. u: function u(t) {
  20217. return void 0 === t;
  20218. }
  20219. };
  20220. var y = 'en';
  20221. var M = {};
  20222. M[y] = d;
  20223. var m = function m(t) {
  20224. return t instanceof S;
  20225. };
  20226. var D = function D(t, e, n) {
  20227. var r;
  20228. if (!t) return y;
  20229. if (typeof t === 'string') M[t] && (r = t), e && (M[t] = e, r = t);else {
  20230. var _i = t.name;
  20231. M[_i] = t, r = _i;
  20232. }
  20233. return !n && r && (y = r), r || !n && y;
  20234. };
  20235. var v = function v(t, e) {
  20236. if (m(t)) return t.clone();
  20237. var n = _typeof(e) === 'object' ? e : {};
  20238. return n.date = t, n.args = arguments, new S(n);
  20239. };
  20240. var g = l;
  20241. g.l = D, g.i = m, g.w = function (t, e) {
  20242. return v(t, {
  20243. locale: e.$L,
  20244. utc: e.$u,
  20245. x: e.$x,
  20246. $offset: e.$offset
  20247. });
  20248. };
  20249. var S = function () {
  20250. function d(t) {
  20251. this.$L = D(t.locale, null, !0), this.parse(t);
  20252. }
  20253. var $ = d.prototype;
  20254. return $.parse = function (t) {
  20255. this.$d = function (t) {
  20256. var e = t.date;
  20257. var n = t.utc;
  20258. if (e === null) return new Date(NaN);
  20259. if (g.u(e)) return new Date();
  20260. if (e instanceof Date) return new Date(e);
  20261. if (typeof e === 'string' && !/Z$/i.test(e)) {
  20262. var _r = e.match(h);
  20263. if (_r) {
  20264. var _i2 = _r[2] - 1 || 0;
  20265. var _s = (_r[7] || '0').substring(0, 3);
  20266. 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);
  20267. }
  20268. }
  20269. return new Date(e);
  20270. }(t), this.$x = t.x || {}, this.init();
  20271. }, $.init = function () {
  20272. var t = this.$d;
  20273. 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();
  20274. }, $.$utils = function () {
  20275. return g;
  20276. }, $.isValid = function () {
  20277. return !(this.$d.toString() === 'Invalid Date');
  20278. }, $.isSame = function (t, e) {
  20279. var n = v(t);
  20280. return this.startOf(e) <= n && n <= this.endOf(e);
  20281. }, $.isAfter = function (t, e) {
  20282. return v(t) < this.startOf(e);
  20283. }, $.isBefore = function (t, e) {
  20284. return this.endOf(e) < v(t);
  20285. }, $.$g = function (t, e, n) {
  20286. return g.u(t) ? this[e] : this.set(n, t);
  20287. }, $.unix = function () {
  20288. return Math.floor(this.valueOf() / 1e3);
  20289. }, $.valueOf = function () {
  20290. return this.$d.getTime();
  20291. }, $.startOf = function (t, a) {
  20292. var h = this;
  20293. var c = !!g.u(a) || a;
  20294. var d = g.p(t);
  20295. var $ = function $(t, e) {
  20296. var n = g.w(h.$u ? Date.UTC(h.$y, e, t) : new Date(h.$y, e, t), h);
  20297. return c ? n : n.endOf(i);
  20298. };
  20299. var l = function l(t, e) {
  20300. return g.w(h.toDate()[t].apply(h.toDate('s'), (c ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), h);
  20301. };
  20302. var y = this.$W;
  20303. var M = this.$M;
  20304. var m = this.$D;
  20305. var D = "set".concat(this.$u ? 'UTC' : '');
  20306. switch (d) {
  20307. case o:
  20308. return c ? $(1, 0) : $(31, 11);
  20309. case u:
  20310. return c ? $(1, M) : $(0, M + 1);
  20311. case s:
  20312. var v = this.$locale().weekStart || 0;
  20313. var S = (y < v ? y + 7 : y) - v;
  20314. return $(c ? m - S : m + (6 - S), M);
  20315. case i:
  20316. case f:
  20317. return l("".concat(D, "Hours"), 0);
  20318. case r:
  20319. return l("".concat(D, "Minutes"), 1);
  20320. case n:
  20321. return l("".concat(D, "Seconds"), 2);
  20322. case e:
  20323. return l("".concat(D, "Milliseconds"), 3);
  20324. default:
  20325. return this.clone();
  20326. }
  20327. }, $.endOf = function (t) {
  20328. return this.startOf(t, !1);
  20329. }, $.$set = function (s, a) {
  20330. var h;
  20331. var c = g.p(s);
  20332. var d = "set".concat(this.$u ? 'UTC' : '');
  20333. 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];
  20334. var l = c === i ? this.$D + (a - this.$W) : a;
  20335. if (c === u || c === o) {
  20336. var _y = this.clone().set(f, 1);
  20337. _y.$d[$](l), _y.init(), this.$d = _y.set(f, Math.min(this.$D, _y.daysInMonth())).$d;
  20338. } else $ && this.$d[$](l);
  20339. return this.init(), this;
  20340. }, $.set = function (t, e) {
  20341. return this.clone().$set(t, e);
  20342. }, $.get = function (t) {
  20343. return this[g.p(t)]();
  20344. }, $.add = function (t, a) {
  20345. var f;
  20346. var h = this;
  20347. t = Number(t);
  20348. var c = g.p(a);
  20349. var d = function d(e) {
  20350. var n = v(h);
  20351. return g.w(n.date(n.date() + Math.round(e * t)), h);
  20352. };
  20353. if (c === u) return this.set(u, this.$M + t);
  20354. if (c === o) return this.set(o, this.$y + t);
  20355. if (c === i) return d(1);
  20356. if (c === s) return d(7);
  20357. var $ = (f = {}, f[n] = 6e4, f[r] = 36e5, f[e] = 1e3, f)[c] || 1;
  20358. var l = this.$d.getTime() + t * $;
  20359. return g.w(l, this);
  20360. }, $.subtract = function (t, e) {
  20361. return this.add(-1 * t, e);
  20362. }, $.format = function (t) {
  20363. var e = this;
  20364. if (!this.isValid()) return 'Invalid Date';
  20365. var n = t || 'YYYY-MM-DDTHH:mm:ssZ';
  20366. var r = g.z(this);
  20367. var i = this.$locale();
  20368. var s = this.$H;
  20369. var u = this.$m;
  20370. var a = this.$M;
  20371. var o = i.weekdays;
  20372. var f = i.months;
  20373. var h = function h(t, r, i, s) {
  20374. return t && (t[r] || t(e, n)) || i[r].substr(0, s);
  20375. };
  20376. var d = function d(t) {
  20377. return g.s(s % 12 || 12, t, '0');
  20378. };
  20379. var $ = i.meridiem || function (t, e, n) {
  20380. var r = t < 12 ? 'AM' : 'PM';
  20381. return n ? r.toLowerCase() : r;
  20382. };
  20383. var l = {
  20384. YY: String(this.$y).slice(-2),
  20385. YYYY: this.$y,
  20386. M: a + 1,
  20387. MM: g.s(a + 1, 2, '0'),
  20388. MMM: h(i.monthsShort, a, f, 3),
  20389. MMMM: h(f, a),
  20390. D: this.$D,
  20391. DD: g.s(this.$D, 2, '0'),
  20392. d: String(this.$W),
  20393. dd: h(i.weekdaysMin, this.$W, o, 2),
  20394. ddd: h(i.weekdaysShort, this.$W, o, 3),
  20395. dddd: o[this.$W],
  20396. H: String(s),
  20397. HH: g.s(s, 2, '0'),
  20398. h: d(1),
  20399. hh: d(2),
  20400. a: $(s, u, !0),
  20401. A: $(s, u, !1),
  20402. m: String(u),
  20403. mm: g.s(u, 2, '0'),
  20404. s: String(this.$s),
  20405. ss: g.s(this.$s, 2, '0'),
  20406. SSS: g.s(this.$ms, 3, '0'),
  20407. Z: r
  20408. };
  20409. return n.replace(c, function (t, e) {
  20410. return e || l[t] || r.replace(':', '');
  20411. });
  20412. }, $.utcOffset = function () {
  20413. return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
  20414. }, $.diff = function (t, f, h) {
  20415. var c;
  20416. var d = g.p(f);
  20417. var $ = v(t);
  20418. var l = 6e4 * ($.utcOffset() - this.utcOffset());
  20419. var y = this - $;
  20420. var M = g.m(this, $);
  20421. 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);
  20422. }, $.daysInMonth = function () {
  20423. return this.endOf(u).$D;
  20424. }, $.$locale = function () {
  20425. return M[this.$L];
  20426. }, $.locale = function (t, e) {
  20427. if (!t) return this.$L;
  20428. var n = this.clone();
  20429. var r = D(t, e, !0);
  20430. return r && (n.$L = r), n;
  20431. }, $.clone = function () {
  20432. return g.w(this.$d, this);
  20433. }, $.toDate = function () {
  20434. return new Date(this.valueOf());
  20435. }, $.toJSON = function () {
  20436. return this.isValid() ? this.toISOString() : null;
  20437. }, $.toISOString = function () {
  20438. return this.$d.toISOString();
  20439. }, $.toString = function () {
  20440. return this.$d.toUTCString();
  20441. }, d;
  20442. }();
  20443. var p = S.prototype;
  20444. return v.prototype = p, [['$ms', t], ['$s', e], ['$m', n], ['$H', r], ['$W', i], ['$M', u], ['$y', o], ['$D', f]].forEach(function (t) {
  20445. p[t[1]] = function (e) {
  20446. return this.$g(e, t[0], t[1]);
  20447. };
  20448. }), v.extend = function (t, e) {
  20449. return t.$i || (t(e, S, v), t.$i = !0), v;
  20450. }, v.locale = D, v.isDayjs = m, v.unix = function (t) {
  20451. return v(1e3 * t);
  20452. }, v.en = M[y], v.Ls = M, v.p = {}, v;
  20453. });
  20454. /***/ }),
  20455. /* 337 */,
  20456. /* 338 */,
  20457. /* 339 */,
  20458. /* 340 */,
  20459. /* 341 */,
  20460. /* 342 */,
  20461. /* 343 */,
  20462. /* 344 */
  20463. /*!********************************************************************************************************************************************!*\
  20464. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/button.js ***!
  20465. \********************************************************************************************************************************************/
  20466. /*! no static exports found */
  20467. /***/ (function(module, exports, __webpack_require__) {
  20468. "use strict";
  20469. Object.defineProperty(exports, "__esModule", {
  20470. value: true
  20471. });
  20472. exports.default = void 0;
  20473. var _default = {
  20474. props: {
  20475. lang: String,
  20476. sessionFrom: String,
  20477. sendMessageTitle: String,
  20478. sendMessagePath: String,
  20479. sendMessageImg: String,
  20480. showMessageCard: Boolean,
  20481. appParameter: String,
  20482. formType: String,
  20483. openType: String
  20484. }
  20485. };
  20486. exports.default = _default;
  20487. /***/ }),
  20488. /* 345 */
  20489. /*!**********************************************************************************************************************************************!*\
  20490. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/mixin/openType.js ***!
  20491. \**********************************************************************************************************************************************/
  20492. /*! no static exports found */
  20493. /***/ (function(module, exports, __webpack_require__) {
  20494. "use strict";
  20495. Object.defineProperty(exports, "__esModule", {
  20496. value: true
  20497. });
  20498. exports.default = void 0;
  20499. var _default = {
  20500. props: {
  20501. openType: String
  20502. },
  20503. methods: {
  20504. onGetUserInfo: function onGetUserInfo(event) {
  20505. this.$emit('getuserinfo', event.detail);
  20506. },
  20507. onContact: function onContact(event) {
  20508. this.$emit('contact', event.detail);
  20509. },
  20510. onGetPhoneNumber: function onGetPhoneNumber(event) {
  20511. this.$emit('getphonenumber', event.detail);
  20512. },
  20513. onError: function onError(event) {
  20514. this.$emit('error', event.detail);
  20515. },
  20516. onLaunchApp: function onLaunchApp(event) {
  20517. this.$emit('launchapp', event.detail);
  20518. },
  20519. onOpenSetting: function onOpenSetting(event) {
  20520. this.$emit('opensetting', event.detail);
  20521. }
  20522. }
  20523. };
  20524. exports.default = _default;
  20525. /***/ }),
  20526. /* 346 */
  20527. /*!****************************************************************************************************************************************************!*\
  20528. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-button/props.js ***!
  20529. \****************************************************************************************************************************************************/
  20530. /*! no static exports found */
  20531. /***/ (function(module, exports, __webpack_require__) {
  20532. "use strict";
  20533. /* WEBPACK VAR INJECTION */(function(uni) {
  20534. Object.defineProperty(exports, "__esModule", {
  20535. value: true
  20536. });
  20537. exports.default = void 0;
  20538. /*
  20539. * @Author : LQ
  20540. * @Description :
  20541. * @version : 1.0
  20542. * @Date : 2021-08-16 10:04:04
  20543. * @LastAuthor : LQ
  20544. * @lastTime : 2021-08-16 10:04:24
  20545. * @FilePath : /u-view2.0/uview-ui/components/u-button/props.js
  20546. */
  20547. var _default = {
  20548. props: {
  20549. // 是否细边框
  20550. hairline: {
  20551. type: Boolean,
  20552. default: uni.$u.props.button.hairline
  20553. },
  20554. // 按钮的预置样式,info,primary,error,warning,success
  20555. type: {
  20556. type: String,
  20557. default: uni.$u.props.button.type
  20558. },
  20559. // 按钮尺寸,large,normal,small,mini
  20560. size: {
  20561. type: String,
  20562. default: uni.$u.props.button.size
  20563. },
  20564. // 按钮形状,circle(两边为半圆),square(带圆角)
  20565. shape: {
  20566. type: String,
  20567. default: uni.$u.props.button.shape
  20568. },
  20569. // 按钮是否镂空
  20570. plain: {
  20571. type: Boolean,
  20572. default: uni.$u.props.button.plain
  20573. },
  20574. // 是否禁止状态
  20575. disabled: {
  20576. type: Boolean,
  20577. default: uni.$u.props.button.disabled
  20578. },
  20579. // 是否加载中
  20580. loading: {
  20581. type: Boolean,
  20582. default: uni.$u.props.button.loading
  20583. },
  20584. // 加载中提示文字
  20585. loadingText: {
  20586. type: [String, Number],
  20587. default: uni.$u.props.button.loadingText
  20588. },
  20589. // 加载状态图标类型
  20590. loadingMode: {
  20591. type: String,
  20592. default: uni.$u.props.button.loadingMode
  20593. },
  20594. // 加载图标大小
  20595. loadingSize: {
  20596. type: [String, Number],
  20597. default: uni.$u.props.button.loadingSize
  20598. },
  20599. // 开放能力,具体请看uniapp稳定关于button组件部分说明
  20600. // https://uniapp.dcloud.io/component/button
  20601. openType: {
  20602. type: String,
  20603. default: uni.$u.props.button.openType
  20604. },
  20605. // 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件
  20606. // 取值为submit(提交表单),reset(重置表单)
  20607. formType: {
  20608. type: String,
  20609. default: uni.$u.props.button.formType
  20610. },
  20611. // 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效
  20612. // 只微信小程序、QQ小程序有效
  20613. appParameter: {
  20614. type: String,
  20615. default: uni.$u.props.button.appParameter
  20616. },
  20617. // 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效
  20618. hoverStopPropagation: {
  20619. type: Boolean,
  20620. default: uni.$u.props.button.hoverStopPropagation
  20621. },
  20622. // 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。只微信小程序有效
  20623. lang: {
  20624. type: String,
  20625. default: uni.$u.props.button.lang
  20626. },
  20627. // 会话来源,open-type="contact"时有效。只微信小程序有效
  20628. sessionFrom: {
  20629. type: String,
  20630. default: uni.$u.props.button.sessionFrom
  20631. },
  20632. // 会话内消息卡片标题,open-type="contact"时有效
  20633. // 默认当前标题,只微信小程序有效
  20634. sendMessageTitle: {
  20635. type: String,
  20636. default: uni.$u.props.button.sendMessageTitle
  20637. },
  20638. // 会话内消息卡片点击跳转小程序路径,open-type="contact"时有效
  20639. // 默认当前分享路径,只微信小程序有效
  20640. sendMessagePath: {
  20641. type: String,
  20642. default: uni.$u.props.button.sendMessagePath
  20643. },
  20644. // 会话内消息卡片图片,open-type="contact"时有效
  20645. // 默认当前页面截图,只微信小程序有效
  20646. sendMessageImg: {
  20647. type: String,
  20648. default: uni.$u.props.button.sendMessageImg
  20649. },
  20650. // 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示,
  20651. // 用户点击后可以快速发送小程序消息,open-type="contact"时有效
  20652. showMessageCard: {
  20653. type: Boolean,
  20654. default: uni.$u.props.button.showMessageCard
  20655. },
  20656. // 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取
  20657. dataName: {
  20658. type: String,
  20659. default: uni.$u.props.button.dataName
  20660. },
  20661. // 节流,一定时间内只能触发一次
  20662. throttleTime: {
  20663. type: [String, Number],
  20664. default: uni.$u.props.button.throttleTime
  20665. },
  20666. // 按住后多久出现点击态,单位毫秒
  20667. hoverStartTime: {
  20668. type: [String, Number],
  20669. default: uni.$u.props.button.hoverStartTime
  20670. },
  20671. // 手指松开后点击态保留时间,单位毫秒
  20672. hoverStayTime: {
  20673. type: [String, Number],
  20674. default: uni.$u.props.button.hoverStayTime
  20675. },
  20676. // 按钮文字,之所以通过props传入,是因为slot传入的话
  20677. // nvue中无法控制文字的样式
  20678. text: {
  20679. type: [String, Number],
  20680. default: uni.$u.props.button.text
  20681. },
  20682. // 按钮图标
  20683. icon: {
  20684. type: String,
  20685. default: uni.$u.props.button.icon
  20686. },
  20687. // 按钮图标
  20688. iconColor: {
  20689. type: String,
  20690. default: uni.$u.props.button.icon
  20691. },
  20692. // 按钮颜色,支持传入linear-gradient渐变色
  20693. color: {
  20694. type: String,
  20695. default: uni.$u.props.button.color
  20696. }
  20697. }
  20698. };
  20699. exports.default = _default;
  20700. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20701. /***/ }),
  20702. /* 347 */,
  20703. /* 348 */,
  20704. /* 349 */,
  20705. /* 350 */,
  20706. /* 351 */,
  20707. /* 352 */,
  20708. /* 353 */,
  20709. /* 354 */
  20710. /*!***************************************************************************************************************************************************!*\
  20711. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-popup/props.js ***!
  20712. \***************************************************************************************************************************************************/
  20713. /*! no static exports found */
  20714. /***/ (function(module, exports, __webpack_require__) {
  20715. "use strict";
  20716. /* WEBPACK VAR INJECTION */(function(uni) {
  20717. Object.defineProperty(exports, "__esModule", {
  20718. value: true
  20719. });
  20720. exports.default = void 0;
  20721. var _default = {
  20722. props: {
  20723. // 是否展示弹窗
  20724. show: {
  20725. type: Boolean,
  20726. default: uni.$u.props.popup.show
  20727. },
  20728. // 是否显示遮罩
  20729. overlay: {
  20730. type: Boolean,
  20731. default: uni.$u.props.popup.overlay
  20732. },
  20733. // 弹出的方向,可选值为 top bottom right left center
  20734. mode: {
  20735. type: String,
  20736. default: uni.$u.props.popup.mode
  20737. },
  20738. // 动画时长,单位ms
  20739. duration: {
  20740. type: [String, Number],
  20741. default: uni.$u.props.popup.duration
  20742. },
  20743. // 是否显示关闭图标
  20744. closeable: {
  20745. type: Boolean,
  20746. default: uni.$u.props.popup.closeable
  20747. },
  20748. // 自定义遮罩的样式
  20749. overlayStyle: {
  20750. type: [Object, String],
  20751. default: uni.$u.props.popup.overlayStyle
  20752. },
  20753. // 点击遮罩是否关闭弹窗
  20754. closeOnClickOverlay: {
  20755. type: Boolean,
  20756. default: uni.$u.props.popup.closeOnClickOverlay
  20757. },
  20758. // 层级
  20759. zIndex: {
  20760. type: [String, Number],
  20761. default: uni.$u.props.popup.zIndex
  20762. },
  20763. // 是否为iPhoneX留出底部安全距离
  20764. safeAreaInsetBottom: {
  20765. type: Boolean,
  20766. default: uni.$u.props.popup.safeAreaInsetBottom
  20767. },
  20768. // 是否留出顶部安全距离(状态栏高度)
  20769. safeAreaInsetTop: {
  20770. type: Boolean,
  20771. default: uni.$u.props.popup.safeAreaInsetTop
  20772. },
  20773. // 自定义关闭图标位置,top-left为左上角,top-right为右上角,bottom-left为左下角,bottom-right为右下角
  20774. closeIconPos: {
  20775. type: String,
  20776. default: uni.$u.props.popup.closeIconPos
  20777. },
  20778. // 是否显示圆角
  20779. round: {
  20780. type: [Boolean, String, Number],
  20781. default: uni.$u.props.popup.round
  20782. },
  20783. // mode=center,也即中部弹出时,是否使用缩放模式
  20784. zoom: {
  20785. type: Boolean,
  20786. default: uni.$u.props.popup.zoom
  20787. },
  20788. // 弹窗背景色,设置为transparent可去除白色背景
  20789. bgColor: {
  20790. type: String,
  20791. default: uni.$u.props.popup.bgColor
  20792. },
  20793. // 遮罩的透明度,0-1之间
  20794. overlayOpacity: {
  20795. type: [Number, String],
  20796. default: uni.$u.props.popup.overlayOpacity
  20797. }
  20798. }
  20799. };
  20800. exports.default = _default;
  20801. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20802. /***/ }),
  20803. /* 355 */,
  20804. /* 356 */,
  20805. /* 357 */,
  20806. /* 358 */,
  20807. /* 359 */,
  20808. /* 360 */,
  20809. /* 361 */,
  20810. /* 362 */
  20811. /*!****************************************************************************************************************************************************!*\
  20812. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-avatar/props.js ***!
  20813. \****************************************************************************************************************************************************/
  20814. /*! no static exports found */
  20815. /***/ (function(module, exports, __webpack_require__) {
  20816. "use strict";
  20817. /* WEBPACK VAR INJECTION */(function(uni) {
  20818. Object.defineProperty(exports, "__esModule", {
  20819. value: true
  20820. });
  20821. exports.default = void 0;
  20822. var _default = {
  20823. props: {
  20824. // 头像图片路径(不能为相对路径)
  20825. src: {
  20826. type: String,
  20827. default: uni.$u.props.avatar.src
  20828. },
  20829. // 头像形状,circle-圆形,square-方形
  20830. shape: {
  20831. type: String,
  20832. default: uni.$u.props.avatar.shape
  20833. },
  20834. // 头像尺寸
  20835. size: {
  20836. type: [String, Number],
  20837. default: uni.$u.props.avatar.size
  20838. },
  20839. // 裁剪模式
  20840. mode: {
  20841. type: String,
  20842. default: uni.$u.props.avatar.mode
  20843. },
  20844. // 显示的文字
  20845. text: {
  20846. type: String,
  20847. default: uni.$u.props.avatar.text
  20848. },
  20849. // 背景色
  20850. bgColor: {
  20851. type: String,
  20852. default: uni.$u.props.avatar.bgColor
  20853. },
  20854. // 文字颜色
  20855. color: {
  20856. type: String,
  20857. default: uni.$u.props.avatar.color
  20858. },
  20859. // 文字大小
  20860. fontSize: {
  20861. type: [String, Number],
  20862. default: uni.$u.props.avatar.fontSize
  20863. },
  20864. // 显示的图标
  20865. icon: {
  20866. type: String,
  20867. default: uni.$u.props.avatar.icon
  20868. },
  20869. // 显示小程序头像,只对百度,微信,QQ小程序有效
  20870. mpAvatar: {
  20871. type: Boolean,
  20872. default: uni.$u.props.avatar.mpAvatar
  20873. },
  20874. // 是否使用随机背景色
  20875. randomBgColor: {
  20876. type: Boolean,
  20877. default: uni.$u.props.avatar.randomBgColor
  20878. },
  20879. // 加载失败的默认头像(组件有内置默认图片)
  20880. defaultUrl: {
  20881. type: String,
  20882. default: uni.$u.props.avatar.defaultUrl
  20883. },
  20884. // 如果配置了randomBgColor为true,且配置了此值,则从默认的背景色数组中取出对应索引的颜色值,取值0-19之间
  20885. colorIndex: {
  20886. type: [String, Number],
  20887. // 校验参数规则,索引在0-19之间
  20888. validator: function validator(n) {
  20889. return uni.$u.test.range(n, [0, 19]) || n === '';
  20890. },
  20891. default: uni.$u.props.avatar.colorIndex
  20892. },
  20893. // 组件标识符
  20894. name: {
  20895. type: String,
  20896. default: uni.$u.props.avatar.name
  20897. }
  20898. }
  20899. };
  20900. exports.default = _default;
  20901. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20902. /***/ }),
  20903. /* 363 */,
  20904. /* 364 */,
  20905. /* 365 */,
  20906. /* 366 */,
  20907. /* 367 */,
  20908. /* 368 */,
  20909. /* 369 */,
  20910. /* 370 */
  20911. /*!**************************************************************************************************************************************************!*\
  20912. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-list/props.js ***!
  20913. \**************************************************************************************************************************************************/
  20914. /*! no static exports found */
  20915. /***/ (function(module, exports, __webpack_require__) {
  20916. "use strict";
  20917. /* WEBPACK VAR INJECTION */(function(uni) {
  20918. Object.defineProperty(exports, "__esModule", {
  20919. value: true
  20920. });
  20921. exports.default = void 0;
  20922. var _default = {
  20923. props: {
  20924. // 控制是否出现滚动条,仅nvue有效
  20925. showScrollbar: {
  20926. type: Boolean,
  20927. default: uni.$u.props.list.showScrollbar
  20928. },
  20929. // 距底部多少时触发scrolltolower事件
  20930. lowerThreshold: {
  20931. type: [String, Number],
  20932. default: uni.$u.props.list.lowerThreshold
  20933. },
  20934. // 距顶部多少时触发scrolltoupper事件,非nvue有效
  20935. upperThreshold: {
  20936. type: [String, Number],
  20937. default: uni.$u.props.list.upperThreshold
  20938. },
  20939. // 设置竖向滚动条位置
  20940. scrollTop: {
  20941. type: [String, Number],
  20942. default: uni.$u.props.list.scrollTop
  20943. },
  20944. // 控制 onscroll 事件触发的频率,仅nvue有效
  20945. offsetAccuracy: {
  20946. type: [String, Number],
  20947. default: uni.$u.props.list.offsetAccuracy
  20948. },
  20949. // 启用 flexbox 布局。开启后,当前节点声明了display: flex就会成为flex container,并作用于其孩子节点,仅微信小程序有效
  20950. enableFlex: {
  20951. type: Boolean,
  20952. default: uni.$u.props.list.enableFlex
  20953. },
  20954. // 是否按分页模式显示List,默认值false
  20955. pagingEnabled: {
  20956. type: Boolean,
  20957. default: uni.$u.props.list.pagingEnabled
  20958. },
  20959. // 是否允许List滚动
  20960. scrollable: {
  20961. type: Boolean,
  20962. default: uni.$u.props.list.scrollable
  20963. },
  20964. // 值应为某子元素id(id不能以数字开头)
  20965. scrollIntoView: {
  20966. type: String,
  20967. default: uni.$u.props.list.scrollIntoView
  20968. },
  20969. // 在设置滚动条位置时使用动画过渡
  20970. scrollWithAnimation: {
  20971. type: Boolean,
  20972. default: uni.$u.props.list.scrollWithAnimation
  20973. },
  20974. // iOS点击顶部状态栏、安卓双击标题栏时,滚动条返回顶部,只对微信小程序有效
  20975. enableBackToTop: {
  20976. type: Boolean,
  20977. default: uni.$u.props.list.enableBackToTop
  20978. },
  20979. // 列表的高度
  20980. height: {
  20981. type: [String, Number],
  20982. default: uni.$u.props.list.height
  20983. },
  20984. // 列表宽度
  20985. width: {
  20986. type: [String, Number],
  20987. default: uni.$u.props.list.width
  20988. },
  20989. // 列表前后预渲染的屏数,1代表一个屏幕的高度,1.5代表1个半屏幕高度
  20990. preLoadScreen: {
  20991. type: [String, Number],
  20992. default: uni.$u.props.list.preLoadScreen
  20993. }
  20994. // vue下,是否开启虚拟列表
  20995. }
  20996. };
  20997. exports.default = _default;
  20998. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  20999. /***/ }),
  21000. /* 371 */,
  21001. /* 372 */,
  21002. /* 373 */,
  21003. /* 374 */,
  21004. /* 375 */,
  21005. /* 376 */,
  21006. /* 377 */,
  21007. /* 378 */
  21008. /*!*******************************************************************************************************************************************************!*\
  21009. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-list-item/props.js ***!
  21010. \*******************************************************************************************************************************************************/
  21011. /*! no static exports found */
  21012. /***/ (function(module, exports, __webpack_require__) {
  21013. "use strict";
  21014. /* WEBPACK VAR INJECTION */(function(uni) {
  21015. Object.defineProperty(exports, "__esModule", {
  21016. value: true
  21017. });
  21018. exports.default = void 0;
  21019. var _default = {
  21020. props: {
  21021. // 用于滚动到指定item
  21022. anchor: {
  21023. type: [String, Number],
  21024. default: uni.$u.props.listItem.anchor
  21025. }
  21026. }
  21027. };
  21028. exports.default = _default;
  21029. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21030. /***/ }),
  21031. /* 379 */,
  21032. /* 380 */,
  21033. /* 381 */,
  21034. /* 382 */,
  21035. /* 383 */,
  21036. /* 384 */,
  21037. /* 385 */,
  21038. /* 386 */
  21039. /*!******************************************************************************************************************************************************!*\
  21040. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-textarea/props.js ***!
  21041. \******************************************************************************************************************************************************/
  21042. /*! no static exports found */
  21043. /***/ (function(module, exports, __webpack_require__) {
  21044. "use strict";
  21045. /* WEBPACK VAR INJECTION */(function(uni) {
  21046. Object.defineProperty(exports, "__esModule", {
  21047. value: true
  21048. });
  21049. exports.default = void 0;
  21050. var _default = {
  21051. props: {
  21052. // 输入框的内容
  21053. value: {
  21054. type: [String, Number],
  21055. default: uni.$u.props.textarea.value
  21056. },
  21057. // 输入框为空时占位符
  21058. placeholder: {
  21059. type: [String, Number],
  21060. default: uni.$u.props.textarea.placeholder
  21061. },
  21062. // 指定placeholder的样式类,注意页面或组件的style中写了scoped时,需要在类名前写/deep/
  21063. placeholderClass: {
  21064. type: String,
  21065. default: uni.$u.props.input.placeholderClass
  21066. },
  21067. // 指定placeholder的样式
  21068. placeholderStyle: {
  21069. type: [String, Object],
  21070. default: uni.$u.props.input.placeholderStyle
  21071. },
  21072. // 输入框高度
  21073. height: {
  21074. type: [String, Number],
  21075. default: uni.$u.props.textarea.height
  21076. },
  21077. // 设置键盘右下角按钮的文字,仅微信小程序,App-vue和H5有效
  21078. confirmType: {
  21079. type: String,
  21080. default: uni.$u.props.textarea.confirmType
  21081. },
  21082. // 是否禁用
  21083. disabled: {
  21084. type: Boolean,
  21085. default: uni.$u.props.textarea.disabled
  21086. },
  21087. // 是否显示统计字数
  21088. count: {
  21089. type: Boolean,
  21090. default: uni.$u.props.textarea.count
  21091. },
  21092. // 是否自动获取焦点,nvue不支持,H5取决于浏览器的实现
  21093. focus: {
  21094. type: Boolean,
  21095. default: uni.$u.props.textarea.focus
  21096. },
  21097. // 是否自动增加高度
  21098. autoHeight: {
  21099. type: Boolean,
  21100. default: uni.$u.props.textarea.autoHeight
  21101. },
  21102. // 如果textarea是在一个position:fixed的区域,需要显示指定属性fixed为true
  21103. fixed: {
  21104. type: Boolean,
  21105. default: uni.$u.props.textarea.fixed
  21106. },
  21107. // 指定光标与键盘的距离
  21108. cursorSpacing: {
  21109. type: Number,
  21110. default: uni.$u.props.textarea.cursorSpacing
  21111. },
  21112. // 指定focus时的光标位置
  21113. cursor: {
  21114. type: [String, Number],
  21115. default: uni.$u.props.textarea.cursor
  21116. },
  21117. // 是否显示键盘上方带有”完成“按钮那一栏,
  21118. showConfirmBar: {
  21119. type: Boolean,
  21120. default: uni.$u.props.textarea.showConfirmBar
  21121. },
  21122. // 光标起始位置,自动聚焦时有效,需与selection-end搭配使用
  21123. selectionStart: {
  21124. type: Number,
  21125. default: uni.$u.props.textarea.selectionStart
  21126. },
  21127. // 光标结束位置,自动聚焦时有效,需与selection-start搭配使用
  21128. selectionEnd: {
  21129. type: Number,
  21130. default: uni.$u.props.textarea.selectionEnd
  21131. },
  21132. // 键盘弹起时,是否自动上推页面
  21133. adjustPosition: {
  21134. type: Boolean,
  21135. default: uni.$u.props.textarea.adjustPosition
  21136. },
  21137. // 是否去掉 iOS 下的默认内边距,只微信小程序有效
  21138. disableDefaultPadding: {
  21139. type: Boolean,
  21140. default: uni.$u.props.textarea.disableDefaultPadding
  21141. },
  21142. // focus时,点击页面的时候不收起键盘,只微信小程序有效
  21143. holdKeyboard: {
  21144. type: Boolean,
  21145. default: uni.$u.props.textarea.holdKeyboard
  21146. },
  21147. // 最大输入长度,设置为 -1 的时候不限制最大长度
  21148. maxlength: {
  21149. type: [String, Number],
  21150. default: uni.$u.props.textarea.maxlength
  21151. },
  21152. // 边框类型,surround-四周边框,bottom-底部边框
  21153. border: {
  21154. type: String,
  21155. default: uni.$u.props.textarea.border
  21156. },
  21157. // 用于处理或者过滤输入框内容的方法
  21158. formatter: {
  21159. type: [Function, null],
  21160. default: uni.$u.props.textarea.formatter
  21161. },
  21162. // 是否忽略组件内对文本合成系统事件的处理
  21163. ignoreCompositionEvent: {
  21164. type: Boolean,
  21165. default: true
  21166. }
  21167. }
  21168. };
  21169. exports.default = _default;
  21170. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21171. /***/ }),
  21172. /* 387 */,
  21173. /* 388 */,
  21174. /* 389 */,
  21175. /* 390 */,
  21176. /* 391 */,
  21177. /* 392 */
  21178. /*!**************************************************************************************************************************************************!*\
  21179. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-icon/icons.js ***!
  21180. \**************************************************************************************************************************************************/
  21181. /*! no static exports found */
  21182. /***/ (function(module, exports, __webpack_require__) {
  21183. "use strict";
  21184. Object.defineProperty(exports, "__esModule", {
  21185. value: true
  21186. });
  21187. exports.default = void 0;
  21188. var _default = {
  21189. 'uicon-level': "\uE693",
  21190. 'uicon-column-line': "\uE68E",
  21191. 'uicon-checkbox-mark': "\uE807",
  21192. 'uicon-folder': "\uE7F5",
  21193. 'uicon-movie': "\uE7F6",
  21194. 'uicon-star-fill': "\uE669",
  21195. 'uicon-star': "\uE65F",
  21196. 'uicon-phone-fill': "\uE64F",
  21197. 'uicon-phone': "\uE622",
  21198. 'uicon-apple-fill': "\uE881",
  21199. 'uicon-chrome-circle-fill': "\uE885",
  21200. 'uicon-backspace': "\uE67B",
  21201. 'uicon-attach': "\uE632",
  21202. 'uicon-cut': "\uE948",
  21203. 'uicon-empty-car': "\uE602",
  21204. 'uicon-empty-coupon': "\uE682",
  21205. 'uicon-empty-address': "\uE646",
  21206. 'uicon-empty-favor': "\uE67C",
  21207. 'uicon-empty-permission': "\uE686",
  21208. 'uicon-empty-news': "\uE687",
  21209. 'uicon-empty-search': "\uE664",
  21210. 'uicon-github-circle-fill': "\uE887",
  21211. 'uicon-rmb': "\uE608",
  21212. 'uicon-person-delete-fill': "\uE66A",
  21213. 'uicon-reload': "\uE788",
  21214. 'uicon-order': "\uE68F",
  21215. 'uicon-server-man': "\uE6BC",
  21216. 'uicon-search': "\uE62A",
  21217. 'uicon-fingerprint': "\uE955",
  21218. 'uicon-more-dot-fill': "\uE630",
  21219. 'uicon-scan': "\uE662",
  21220. 'uicon-share-square': "\uE60B",
  21221. 'uicon-map': "\uE61D",
  21222. 'uicon-map-fill': "\uE64E",
  21223. 'uicon-tags': "\uE629",
  21224. 'uicon-tags-fill': "\uE651",
  21225. 'uicon-bookmark-fill': "\uE63B",
  21226. 'uicon-bookmark': "\uE60A",
  21227. 'uicon-eye': "\uE613",
  21228. 'uicon-eye-fill': "\uE641",
  21229. 'uicon-mic': "\uE64A",
  21230. 'uicon-mic-off': "\uE649",
  21231. 'uicon-calendar': "\uE66E",
  21232. 'uicon-calendar-fill': "\uE634",
  21233. 'uicon-trash': "\uE623",
  21234. 'uicon-trash-fill': "\uE658",
  21235. 'uicon-play-left': "\uE66D",
  21236. 'uicon-play-right': "\uE610",
  21237. 'uicon-minus': "\uE618",
  21238. 'uicon-plus': "\uE62D",
  21239. 'uicon-info': "\uE653",
  21240. 'uicon-info-circle': "\uE7D2",
  21241. 'uicon-info-circle-fill': "\uE64B",
  21242. 'uicon-question': "\uE715",
  21243. 'uicon-error': "\uE6D3",
  21244. 'uicon-close': "\uE685",
  21245. 'uicon-checkmark': "\uE6A8",
  21246. 'uicon-android-circle-fill': "\uE67E",
  21247. 'uicon-android-fill': "\uE67D",
  21248. 'uicon-ie': "\uE87B",
  21249. 'uicon-IE-circle-fill': "\uE889",
  21250. 'uicon-google': "\uE87A",
  21251. 'uicon-google-circle-fill': "\uE88A",
  21252. 'uicon-setting-fill': "\uE872",
  21253. 'uicon-setting': "\uE61F",
  21254. 'uicon-minus-square-fill': "\uE855",
  21255. 'uicon-plus-square-fill': "\uE856",
  21256. 'uicon-heart': "\uE7DF",
  21257. 'uicon-heart-fill': "\uE851",
  21258. 'uicon-camera': "\uE7D7",
  21259. 'uicon-camera-fill': "\uE870",
  21260. 'uicon-more-circle': "\uE63E",
  21261. 'uicon-more-circle-fill': "\uE645",
  21262. 'uicon-chat': "\uE620",
  21263. 'uicon-chat-fill': "\uE61E",
  21264. 'uicon-bag-fill': "\uE617",
  21265. 'uicon-bag': "\uE619",
  21266. 'uicon-error-circle-fill': "\uE62C",
  21267. 'uicon-error-circle': "\uE624",
  21268. 'uicon-close-circle': "\uE63F",
  21269. 'uicon-close-circle-fill': "\uE637",
  21270. 'uicon-checkmark-circle': "\uE63D",
  21271. 'uicon-checkmark-circle-fill': "\uE635",
  21272. 'uicon-question-circle-fill': "\uE666",
  21273. 'uicon-question-circle': "\uE625",
  21274. 'uicon-share': "\uE631",
  21275. 'uicon-share-fill': "\uE65E",
  21276. 'uicon-shopping-cart': "\uE621",
  21277. 'uicon-shopping-cart-fill': "\uE65D",
  21278. 'uicon-bell': "\uE609",
  21279. 'uicon-bell-fill': "\uE640",
  21280. 'uicon-list': "\uE650",
  21281. 'uicon-list-dot': "\uE616",
  21282. 'uicon-zhihu': "\uE6BA",
  21283. 'uicon-zhihu-circle-fill': "\uE709",
  21284. 'uicon-zhifubao': "\uE6B9",
  21285. 'uicon-zhifubao-circle-fill': "\uE6B8",
  21286. 'uicon-weixin-circle-fill': "\uE6B1",
  21287. 'uicon-weixin-fill': "\uE6B2",
  21288. 'uicon-twitter-circle-fill': "\uE6AB",
  21289. 'uicon-twitter': "\uE6AA",
  21290. 'uicon-taobao-circle-fill': "\uE6A7",
  21291. 'uicon-taobao': "\uE6A6",
  21292. 'uicon-weibo-circle-fill': "\uE6A5",
  21293. 'uicon-weibo': "\uE6A4",
  21294. 'uicon-qq-fill': "\uE6A1",
  21295. 'uicon-qq-circle-fill': "\uE6A0",
  21296. 'uicon-moments-circel-fill': "\uE69A",
  21297. 'uicon-moments': "\uE69B",
  21298. 'uicon-qzone': "\uE695",
  21299. 'uicon-qzone-circle-fill': "\uE696",
  21300. 'uicon-baidu-circle-fill': "\uE680",
  21301. 'uicon-baidu': "\uE681",
  21302. 'uicon-facebook-circle-fill': "\uE68A",
  21303. 'uicon-facebook': "\uE689",
  21304. 'uicon-car': "\uE60C",
  21305. 'uicon-car-fill': "\uE636",
  21306. 'uicon-warning-fill': "\uE64D",
  21307. 'uicon-warning': "\uE694",
  21308. 'uicon-clock-fill': "\uE638",
  21309. 'uicon-clock': "\uE60F",
  21310. 'uicon-edit-pen': "\uE612",
  21311. 'uicon-edit-pen-fill': "\uE66B",
  21312. 'uicon-email': "\uE611",
  21313. 'uicon-email-fill': "\uE642",
  21314. 'uicon-minus-circle': "\uE61B",
  21315. 'uicon-minus-circle-fill': "\uE652",
  21316. 'uicon-plus-circle': "\uE62E",
  21317. 'uicon-plus-circle-fill': "\uE661",
  21318. 'uicon-file-text': "\uE663",
  21319. 'uicon-file-text-fill': "\uE665",
  21320. 'uicon-pushpin': "\uE7E3",
  21321. 'uicon-pushpin-fill': "\uE86E",
  21322. 'uicon-grid': "\uE673",
  21323. 'uicon-grid-fill': "\uE678",
  21324. 'uicon-play-circle': "\uE647",
  21325. 'uicon-play-circle-fill': "\uE655",
  21326. 'uicon-pause-circle-fill': "\uE654",
  21327. 'uicon-pause': "\uE8FA",
  21328. 'uicon-pause-circle': "\uE643",
  21329. 'uicon-eye-off': "\uE648",
  21330. 'uicon-eye-off-outline': "\uE62B",
  21331. 'uicon-gift-fill': "\uE65C",
  21332. 'uicon-gift': "\uE65B",
  21333. 'uicon-rmb-circle-fill': "\uE657",
  21334. 'uicon-rmb-circle': "\uE677",
  21335. 'uicon-kefu-ermai': "\uE656",
  21336. 'uicon-server-fill': "\uE751",
  21337. 'uicon-coupon-fill': "\uE8C4",
  21338. 'uicon-coupon': "\uE8AE",
  21339. 'uicon-integral': "\uE704",
  21340. 'uicon-integral-fill': "\uE703",
  21341. 'uicon-home-fill': "\uE964",
  21342. 'uicon-home': "\uE965",
  21343. 'uicon-hourglass-half-fill': "\uE966",
  21344. 'uicon-hourglass': "\uE967",
  21345. 'uicon-account': "\uE628",
  21346. 'uicon-plus-people-fill': "\uE626",
  21347. 'uicon-minus-people-fill': "\uE615",
  21348. 'uicon-account-fill': "\uE614",
  21349. 'uicon-thumb-down-fill': "\uE726",
  21350. 'uicon-thumb-down': "\uE727",
  21351. 'uicon-thumb-up': "\uE733",
  21352. 'uicon-thumb-up-fill': "\uE72F",
  21353. 'uicon-lock-fill': "\uE979",
  21354. 'uicon-lock-open': "\uE973",
  21355. 'uicon-lock-opened-fill': "\uE974",
  21356. 'uicon-lock': "\uE97A",
  21357. 'uicon-red-packet-fill': "\uE690",
  21358. 'uicon-photo-fill': "\uE98B",
  21359. 'uicon-photo': "\uE98D",
  21360. 'uicon-volume-off-fill': "\uE659",
  21361. 'uicon-volume-off': "\uE644",
  21362. 'uicon-volume-fill': "\uE670",
  21363. 'uicon-volume': "\uE633",
  21364. 'uicon-red-packet': "\uE691",
  21365. 'uicon-download': "\uE63C",
  21366. 'uicon-arrow-up-fill': "\uE6B0",
  21367. 'uicon-arrow-down-fill': "\uE600",
  21368. 'uicon-play-left-fill': "\uE675",
  21369. 'uicon-play-right-fill': "\uE676",
  21370. 'uicon-rewind-left-fill': "\uE679",
  21371. 'uicon-rewind-right-fill': "\uE67A",
  21372. 'uicon-arrow-downward': "\uE604",
  21373. 'uicon-arrow-leftward': "\uE601",
  21374. 'uicon-arrow-rightward': "\uE603",
  21375. 'uicon-arrow-upward': "\uE607",
  21376. 'uicon-arrow-down': "\uE60D",
  21377. 'uicon-arrow-right': "\uE605",
  21378. 'uicon-arrow-left': "\uE60E",
  21379. 'uicon-arrow-up': "\uE606",
  21380. 'uicon-skip-back-left': "\uE674",
  21381. 'uicon-skip-forward-right': "\uE672",
  21382. 'uicon-rewind-right': "\uE66F",
  21383. 'uicon-rewind-left': "\uE671",
  21384. 'uicon-arrow-right-double': "\uE68D",
  21385. 'uicon-arrow-left-double': "\uE68C",
  21386. 'uicon-wifi-off': "\uE668",
  21387. 'uicon-wifi': "\uE667",
  21388. 'uicon-empty-data': "\uE62F",
  21389. 'uicon-empty-history': "\uE684",
  21390. 'uicon-empty-list': "\uE68B",
  21391. 'uicon-empty-page': "\uE627",
  21392. 'uicon-empty-order': "\uE639",
  21393. 'uicon-man': "\uE697",
  21394. 'uicon-woman': "\uE69C",
  21395. 'uicon-man-add': "\uE61C",
  21396. 'uicon-man-add-fill': "\uE64C",
  21397. 'uicon-man-delete': "\uE61A",
  21398. 'uicon-man-delete-fill': "\uE66A",
  21399. 'uicon-zh': "\uE70A",
  21400. 'uicon-en': "\uE692"
  21401. };
  21402. exports.default = _default;
  21403. /***/ }),
  21404. /* 393 */
  21405. /*!**************************************************************************************************************************************************!*\
  21406. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-icon/props.js ***!
  21407. \**************************************************************************************************************************************************/
  21408. /*! no static exports found */
  21409. /***/ (function(module, exports, __webpack_require__) {
  21410. "use strict";
  21411. /* WEBPACK VAR INJECTION */(function(uni) {
  21412. Object.defineProperty(exports, "__esModule", {
  21413. value: true
  21414. });
  21415. exports.default = void 0;
  21416. var _default = {
  21417. props: {
  21418. // 图标类名
  21419. name: {
  21420. type: String,
  21421. default: uni.$u.props.icon.name
  21422. },
  21423. // 图标颜色,可接受主题色
  21424. color: {
  21425. type: String,
  21426. default: uni.$u.props.icon.color
  21427. },
  21428. // 字体大小,单位px
  21429. size: {
  21430. type: [String, Number],
  21431. default: uni.$u.props.icon.size
  21432. },
  21433. // 是否显示粗体
  21434. bold: {
  21435. type: Boolean,
  21436. default: uni.$u.props.icon.bold
  21437. },
  21438. // 点击图标的时候传递事件出去的index(用于区分点击了哪一个)
  21439. index: {
  21440. type: [String, Number],
  21441. default: uni.$u.props.icon.index
  21442. },
  21443. // 触摸图标时的类名
  21444. hoverClass: {
  21445. type: String,
  21446. default: uni.$u.props.icon.hoverClass
  21447. },
  21448. // 自定义扩展前缀,方便用户扩展自己的图标库
  21449. customPrefix: {
  21450. type: String,
  21451. default: uni.$u.props.icon.customPrefix
  21452. },
  21453. // 图标右边或者下面的文字
  21454. label: {
  21455. type: [String, Number],
  21456. default: uni.$u.props.icon.label
  21457. },
  21458. // label的位置,只能右边或者下边
  21459. labelPos: {
  21460. type: String,
  21461. default: uni.$u.props.icon.labelPos
  21462. },
  21463. // label的大小
  21464. labelSize: {
  21465. type: [String, Number],
  21466. default: uni.$u.props.icon.labelSize
  21467. },
  21468. // label的颜色
  21469. labelColor: {
  21470. type: String,
  21471. default: uni.$u.props.icon.labelColor
  21472. },
  21473. // label与图标的距离
  21474. space: {
  21475. type: [String, Number],
  21476. default: uni.$u.props.icon.space
  21477. },
  21478. // 图片的mode
  21479. imgMode: {
  21480. type: String,
  21481. default: uni.$u.props.icon.imgMode
  21482. },
  21483. // 用于显示图片小图标时,图片的宽度
  21484. width: {
  21485. type: [String, Number],
  21486. default: uni.$u.props.icon.width
  21487. },
  21488. // 用于显示图片小图标时,图片的高度
  21489. height: {
  21490. type: [String, Number],
  21491. default: uni.$u.props.icon.height
  21492. },
  21493. // 用于解决某些情况下,让图标垂直居中的用途
  21494. top: {
  21495. type: [String, Number],
  21496. default: uni.$u.props.icon.top
  21497. },
  21498. // 是否阻止事件传播
  21499. stop: {
  21500. type: Boolean,
  21501. default: uni.$u.props.icon.stop
  21502. }
  21503. }
  21504. };
  21505. exports.default = _default;
  21506. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21507. /***/ }),
  21508. /* 394 */,
  21509. /* 395 */,
  21510. /* 396 */,
  21511. /* 397 */,
  21512. /* 398 */,
  21513. /* 399 */,
  21514. /* 400 */,
  21515. /* 401 */,
  21516. /* 402 */,
  21517. /* 403 */,
  21518. /* 404 */,
  21519. /* 405 */,
  21520. /* 406 */,
  21521. /* 407 */,
  21522. /* 408 */
  21523. /*!*****************************************************************************************************************************************************!*\
  21524. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-overlay/props.js ***!
  21525. \*****************************************************************************************************************************************************/
  21526. /*! no static exports found */
  21527. /***/ (function(module, exports, __webpack_require__) {
  21528. "use strict";
  21529. /* WEBPACK VAR INJECTION */(function(uni) {
  21530. Object.defineProperty(exports, "__esModule", {
  21531. value: true
  21532. });
  21533. exports.default = void 0;
  21534. var _default = {
  21535. props: {
  21536. // 是否显示遮罩
  21537. show: {
  21538. type: Boolean,
  21539. default: uni.$u.props.overlay.show
  21540. },
  21541. // 层级z-index
  21542. zIndex: {
  21543. type: [String, Number],
  21544. default: uni.$u.props.overlay.zIndex
  21545. },
  21546. // 遮罩的过渡时间,单位为ms
  21547. duration: {
  21548. type: [String, Number],
  21549. default: uni.$u.props.overlay.duration
  21550. },
  21551. // 不透明度值,当做rgba的第四个参数
  21552. opacity: {
  21553. type: [String, Number],
  21554. default: uni.$u.props.overlay.opacity
  21555. }
  21556. }
  21557. };
  21558. exports.default = _default;
  21559. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21560. /***/ }),
  21561. /* 409 */,
  21562. /* 410 */,
  21563. /* 411 */,
  21564. /* 412 */,
  21565. /* 413 */,
  21566. /* 414 */,
  21567. /* 415 */,
  21568. /* 416 */
  21569. /*!**********************************************************************************************************************************************************!*\
  21570. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-loading-icon/props.js ***!
  21571. \**********************************************************************************************************************************************************/
  21572. /*! no static exports found */
  21573. /***/ (function(module, exports, __webpack_require__) {
  21574. "use strict";
  21575. /* WEBPACK VAR INJECTION */(function(uni) {
  21576. Object.defineProperty(exports, "__esModule", {
  21577. value: true
  21578. });
  21579. exports.default = void 0;
  21580. var _default = {
  21581. props: {
  21582. // 是否显示组件
  21583. show: {
  21584. type: Boolean,
  21585. default: uni.$u.props.loadingIcon.show
  21586. },
  21587. // 颜色
  21588. color: {
  21589. type: String,
  21590. default: uni.$u.props.loadingIcon.color
  21591. },
  21592. // 提示文字颜色
  21593. textColor: {
  21594. type: String,
  21595. default: uni.$u.props.loadingIcon.textColor
  21596. },
  21597. // 文字和图标是否垂直排列
  21598. vertical: {
  21599. type: Boolean,
  21600. default: uni.$u.props.loadingIcon.vertical
  21601. },
  21602. // 模式选择,circle-圆形,spinner-花朵形,semicircle-半圆形
  21603. mode: {
  21604. type: String,
  21605. default: uni.$u.props.loadingIcon.mode
  21606. },
  21607. // 图标大小,单位默认px
  21608. size: {
  21609. type: [String, Number],
  21610. default: uni.$u.props.loadingIcon.size
  21611. },
  21612. // 文字大小
  21613. textSize: {
  21614. type: [String, Number],
  21615. default: uni.$u.props.loadingIcon.textSize
  21616. },
  21617. // 文字内容
  21618. text: {
  21619. type: [String, Number],
  21620. default: uni.$u.props.loadingIcon.text
  21621. },
  21622. // 动画模式
  21623. timingFunction: {
  21624. type: String,
  21625. default: uni.$u.props.loadingIcon.timingFunction
  21626. },
  21627. // 动画执行周期时间
  21628. duration: {
  21629. type: [String, Number],
  21630. default: uni.$u.props.loadingIcon.duration
  21631. },
  21632. // mode=circle时的暗边颜色
  21633. inactiveColor: {
  21634. type: String,
  21635. default: uni.$u.props.loadingIcon.inactiveColor
  21636. }
  21637. }
  21638. };
  21639. exports.default = _default;
  21640. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21641. /***/ }),
  21642. /* 417 */,
  21643. /* 418 */,
  21644. /* 419 */,
  21645. /* 420 */,
  21646. /* 421 */,
  21647. /* 422 */,
  21648. /* 423 */,
  21649. /* 424 */
  21650. /*!*************************************************************************************************************************************************!*\
  21651. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-gap/props.js ***!
  21652. \*************************************************************************************************************************************************/
  21653. /*! no static exports found */
  21654. /***/ (function(module, exports, __webpack_require__) {
  21655. "use strict";
  21656. /* WEBPACK VAR INJECTION */(function(uni) {
  21657. Object.defineProperty(exports, "__esModule", {
  21658. value: true
  21659. });
  21660. exports.default = void 0;
  21661. var _default = {
  21662. props: {
  21663. // 背景颜色(默认transparent)
  21664. bgColor: {
  21665. type: String,
  21666. default: uni.$u.props.gap.bgColor
  21667. },
  21668. // 分割槽高度,单位px(默认30)
  21669. height: {
  21670. type: [String, Number],
  21671. default: uni.$u.props.gap.height
  21672. },
  21673. // 与上一个组件的距离
  21674. marginTop: {
  21675. type: [String, Number],
  21676. default: uni.$u.props.gap.marginTop
  21677. },
  21678. // 与下一个组件的距离
  21679. marginBottom: {
  21680. type: [String, Number],
  21681. default: uni.$u.props.gap.marginBottom
  21682. }
  21683. }
  21684. };
  21685. exports.default = _default;
  21686. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21687. /***/ }),
  21688. /* 425 */,
  21689. /* 426 */,
  21690. /* 427 */,
  21691. /* 428 */,
  21692. /* 429 */,
  21693. /* 430 */,
  21694. /* 431 */,
  21695. /* 432 */
  21696. /*!**************************************************************************************************************************************************!*\
  21697. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-line/props.js ***!
  21698. \**************************************************************************************************************************************************/
  21699. /*! no static exports found */
  21700. /***/ (function(module, exports, __webpack_require__) {
  21701. "use strict";
  21702. /* WEBPACK VAR INJECTION */(function(uni) {
  21703. Object.defineProperty(exports, "__esModule", {
  21704. value: true
  21705. });
  21706. exports.default = void 0;
  21707. var _default = {
  21708. props: {
  21709. color: {
  21710. type: String,
  21711. default: uni.$u.props.line.color
  21712. },
  21713. // 长度,竖向时表现为高度,横向时表现为长度,可以为百分比,带px单位的值等
  21714. length: {
  21715. type: [String, Number],
  21716. default: uni.$u.props.line.length
  21717. },
  21718. // 线条方向,col-竖向,row-横向
  21719. direction: {
  21720. type: String,
  21721. default: uni.$u.props.line.direction
  21722. },
  21723. // 是否显示细边框
  21724. hairline: {
  21725. type: Boolean,
  21726. default: uni.$u.props.line.hairline
  21727. },
  21728. // 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px"
  21729. margin: {
  21730. type: [String, Number],
  21731. default: uni.$u.props.line.margin
  21732. },
  21733. // 是否虚线,true-虚线,false-实线
  21734. dashed: {
  21735. type: Boolean,
  21736. default: uni.$u.props.line.dashed
  21737. }
  21738. }
  21739. };
  21740. exports.default = _default;
  21741. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  21742. /***/ }),
  21743. /* 433 */,
  21744. /* 434 */,
  21745. /* 435 */,
  21746. /* 436 */,
  21747. /* 437 */,
  21748. /* 438 */,
  21749. /* 439 */,
  21750. /* 440 */
  21751. /*!****************************************************************************************************************************************************!*\
  21752. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/libs/util/async-validator.js ***!
  21753. \****************************************************************************************************************************************************/
  21754. /*! no static exports found */
  21755. /***/ (function(module, exports, __webpack_require__) {
  21756. "use strict";
  21757. /* WEBPACK VAR INJECTION */(function(process) {
  21758. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  21759. Object.defineProperty(exports, "__esModule", {
  21760. value: true
  21761. });
  21762. exports.default = void 0;
  21763. var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
  21764. var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
  21765. 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; }
  21766. 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; }
  21767. function _extends() {
  21768. _extends = Object.assign || function (target) {
  21769. for (var i = 1; i < arguments.length; i++) {
  21770. var source = arguments[i];
  21771. for (var key in source) {
  21772. if (Object.prototype.hasOwnProperty.call(source, key)) {
  21773. target[key] = source[key];
  21774. }
  21775. }
  21776. }
  21777. return target;
  21778. };
  21779. return _extends.apply(this, arguments);
  21780. }
  21781. /* eslint no-console:0 */
  21782. var formatRegExp = /%[sdj%]/g;
  21783. var warning = function warning() {}; // don't print warning message when in production env or node runtime
  21784. if (typeof process !== 'undefined' && Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"lab-equipment-mini-program","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
  21785. warning = function warning(type, errors) {
  21786. if (typeof console !== 'undefined' && console.warn) {
  21787. if (errors.every(function (e) {
  21788. return typeof e === 'string';
  21789. })) {
  21790. console.warn(type, errors);
  21791. }
  21792. }
  21793. };
  21794. }
  21795. function convertFieldsError(errors) {
  21796. if (!errors || !errors.length) return null;
  21797. var fields = {};
  21798. errors.forEach(function (error) {
  21799. var field = error.field;
  21800. fields[field] = fields[field] || [];
  21801. fields[field].push(error);
  21802. });
  21803. return fields;
  21804. }
  21805. function format() {
  21806. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  21807. args[_key] = arguments[_key];
  21808. }
  21809. var i = 1;
  21810. var f = args[0];
  21811. var len = args.length;
  21812. if (typeof f === 'function') {
  21813. return f.apply(null, args.slice(1));
  21814. }
  21815. if (typeof f === 'string') {
  21816. var str = String(f).replace(formatRegExp, function (x) {
  21817. if (x === '%%') {
  21818. return '%';
  21819. }
  21820. if (i >= len) {
  21821. return x;
  21822. }
  21823. switch (x) {
  21824. case '%s':
  21825. return String(args[i++]);
  21826. case '%d':
  21827. return Number(args[i++]);
  21828. case '%j':
  21829. try {
  21830. return JSON.stringify(args[i++]);
  21831. } catch (_) {
  21832. return '[Circular]';
  21833. }
  21834. break;
  21835. default:
  21836. return x;
  21837. }
  21838. });
  21839. for (var arg = args[i]; i < len; arg = args[++i]) {
  21840. str += " ".concat(arg);
  21841. }
  21842. return str;
  21843. }
  21844. return f;
  21845. }
  21846. function isNativeStringType(type) {
  21847. return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'pattern';
  21848. }
  21849. function isEmptyValue(value, type) {
  21850. if (value === undefined || value === null) {
  21851. return true;
  21852. }
  21853. if (type === 'array' && Array.isArray(value) && !value.length) {
  21854. return true;
  21855. }
  21856. if (isNativeStringType(type) && typeof value === 'string' && !value) {
  21857. return true;
  21858. }
  21859. return false;
  21860. }
  21861. function asyncParallelArray(arr, func, callback) {
  21862. var results = [];
  21863. var total = 0;
  21864. var arrLength = arr.length;
  21865. function count(errors) {
  21866. results.push.apply(results, errors);
  21867. total++;
  21868. if (total === arrLength) {
  21869. callback(results);
  21870. }
  21871. }
  21872. arr.forEach(function (a) {
  21873. func(a, count);
  21874. });
  21875. }
  21876. function asyncSerialArray(arr, func, callback) {
  21877. var index = 0;
  21878. var arrLength = arr.length;
  21879. function next(errors) {
  21880. if (errors && errors.length) {
  21881. callback(errors);
  21882. return;
  21883. }
  21884. var original = index;
  21885. index += 1;
  21886. if (original < arrLength) {
  21887. func(arr[original], next);
  21888. } else {
  21889. callback([]);
  21890. }
  21891. }
  21892. next([]);
  21893. }
  21894. function flattenObjArr(objArr) {
  21895. var ret = [];
  21896. Object.keys(objArr).forEach(function (k) {
  21897. ret.push.apply(ret, objArr[k]);
  21898. });
  21899. return ret;
  21900. }
  21901. function asyncMap(objArr, option, func, callback) {
  21902. if (option.first) {
  21903. var _pending = new Promise(function (resolve, reject) {
  21904. var next = function next(errors) {
  21905. callback(errors);
  21906. return errors.length ? reject({
  21907. errors: errors,
  21908. fields: convertFieldsError(errors)
  21909. }) : resolve();
  21910. };
  21911. var flattenArr = flattenObjArr(objArr);
  21912. asyncSerialArray(flattenArr, func, next);
  21913. });
  21914. _pending.catch(function (e) {
  21915. return e;
  21916. });
  21917. return _pending;
  21918. }
  21919. var firstFields = option.firstFields || [];
  21920. if (firstFields === true) {
  21921. firstFields = Object.keys(objArr);
  21922. }
  21923. var objArrKeys = Object.keys(objArr);
  21924. var objArrLength = objArrKeys.length;
  21925. var total = 0;
  21926. var results = [];
  21927. var pending = new Promise(function (resolve, reject) {
  21928. var next = function next(errors) {
  21929. results.push.apply(results, errors);
  21930. total++;
  21931. if (total === objArrLength) {
  21932. callback(results);
  21933. return results.length ? reject({
  21934. errors: results,
  21935. fields: convertFieldsError(results)
  21936. }) : resolve();
  21937. }
  21938. };
  21939. if (!objArrKeys.length) {
  21940. callback(results);
  21941. resolve();
  21942. }
  21943. objArrKeys.forEach(function (key) {
  21944. var arr = objArr[key];
  21945. if (firstFields.indexOf(key) !== -1) {
  21946. asyncSerialArray(arr, func, next);
  21947. } else {
  21948. asyncParallelArray(arr, func, next);
  21949. }
  21950. });
  21951. });
  21952. pending.catch(function (e) {
  21953. return e;
  21954. });
  21955. return pending;
  21956. }
  21957. function complementError(rule) {
  21958. return function (oe) {
  21959. if (oe && oe.message) {
  21960. oe.field = oe.field || rule.fullField;
  21961. return oe;
  21962. }
  21963. return {
  21964. message: typeof oe === 'function' ? oe() : oe,
  21965. field: oe.field || rule.fullField
  21966. };
  21967. };
  21968. }
  21969. function deepMerge(target, source) {
  21970. if (source) {
  21971. for (var s in source) {
  21972. if (source.hasOwnProperty(s)) {
  21973. var value = source[s];
  21974. if ((0, _typeof2.default)(value) === 'object' && (0, _typeof2.default)(target[s]) === 'object') {
  21975. target[s] = _objectSpread(_objectSpread({}, target[s]), value);
  21976. } else {
  21977. target[s] = value;
  21978. }
  21979. }
  21980. }
  21981. }
  21982. return target;
  21983. }
  21984. /**
  21985. * Rule for validating required fields.
  21986. *
  21987. * @param rule The validation rule.
  21988. * @param value The value of the field on the source object.
  21989. * @param source The source object being validated.
  21990. * @param errors An array of errors that this rule may add
  21991. * validation errors to.
  21992. * @param options The validation options.
  21993. * @param options.messages The validation messages.
  21994. */
  21995. function required(rule, value, source, errors, options, type) {
  21996. if (rule.required && (!source.hasOwnProperty(rule.field) || isEmptyValue(value, type || rule.type))) {
  21997. errors.push(format(options.messages.required, rule.fullField));
  21998. }
  21999. }
  22000. /**
  22001. * Rule for validating whitespace.
  22002. *
  22003. * @param rule The validation rule.
  22004. * @param value The value of the field on the source object.
  22005. * @param source The source object being validated.
  22006. * @param errors An array of errors that this rule may add
  22007. * validation errors to.
  22008. * @param options The validation options.
  22009. * @param options.messages The validation messages.
  22010. */
  22011. function whitespace(rule, value, source, errors, options) {
  22012. if (/^\s+$/.test(value) || value === '') {
  22013. errors.push(format(options.messages.whitespace, rule.fullField));
  22014. }
  22015. }
  22016. /* eslint max-len:0 */
  22017. var pattern = {
  22018. // http://emailregex.com/
  22019. 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,}))$/,
  22020. 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'),
  22021. hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
  22022. };
  22023. var types = {
  22024. integer: function integer(value) {
  22025. return /^(-)?\d+$/.test(value);
  22026. },
  22027. float: function float(value) {
  22028. return /^(-)?\d+(\.\d+)?$/.test(value);
  22029. },
  22030. array: function array(value) {
  22031. return Array.isArray(value);
  22032. },
  22033. regexp: function regexp(value) {
  22034. if (value instanceof RegExp) {
  22035. return true;
  22036. }
  22037. try {
  22038. return !!new RegExp(value);
  22039. } catch (e) {
  22040. return false;
  22041. }
  22042. },
  22043. date: function date(value) {
  22044. return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function';
  22045. },
  22046. number: function number(value) {
  22047. if (isNaN(value)) {
  22048. return false;
  22049. }
  22050. // 修改源码,将字符串数值先转为数值
  22051. return typeof +value === 'number';
  22052. },
  22053. object: function object(value) {
  22054. return (0, _typeof2.default)(value) === 'object' && !types.array(value);
  22055. },
  22056. method: function method(value) {
  22057. return typeof value === 'function';
  22058. },
  22059. email: function email(value) {
  22060. return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;
  22061. },
  22062. url: function url(value) {
  22063. return typeof value === 'string' && !!value.match(pattern.url);
  22064. },
  22065. hex: function hex(value) {
  22066. return typeof value === 'string' && !!value.match(pattern.hex);
  22067. }
  22068. };
  22069. /**
  22070. * Rule for validating the type of a value.
  22071. *
  22072. * @param rule The validation rule.
  22073. * @param value The value of the field on the source object.
  22074. * @param source The source object being validated.
  22075. * @param errors An array of errors that this rule may add
  22076. * validation errors to.
  22077. * @param options The validation options.
  22078. * @param options.messages The validation messages.
  22079. */
  22080. function type(rule, value, source, errors, options) {
  22081. if (rule.required && value === undefined) {
  22082. required(rule, value, source, errors, options);
  22083. return;
  22084. }
  22085. var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];
  22086. var ruleType = rule.type;
  22087. if (custom.indexOf(ruleType) > -1) {
  22088. if (!types[ruleType](value)) {
  22089. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  22090. } // straight typeof check
  22091. } else if (ruleType && (0, _typeof2.default)(value) !== rule.type) {
  22092. errors.push(format(options.messages.types[ruleType], rule.fullField, rule.type));
  22093. }
  22094. }
  22095. /**
  22096. * Rule for validating minimum and maximum allowed values.
  22097. *
  22098. * @param rule The validation rule.
  22099. * @param value The value of the field on the source object.
  22100. * @param source The source object being validated.
  22101. * @param errors An array of errors that this rule may add
  22102. * validation errors to.
  22103. * @param options The validation options.
  22104. * @param options.messages The validation messages.
  22105. */
  22106. function range(rule, value, source, errors, options) {
  22107. var len = typeof rule.len === 'number';
  22108. var min = typeof rule.min === 'number';
  22109. var max = typeof rule.max === 'number'; // 正则匹配码点范围从U+010000一直到U+10FFFF的文字(补充平面Supplementary Plane)
  22110. var spRegexp = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
  22111. var val = value;
  22112. var key = null;
  22113. var num = typeof value === 'number';
  22114. var str = typeof value === 'string';
  22115. var arr = Array.isArray(value);
  22116. if (num) {
  22117. key = 'number';
  22118. } else if (str) {
  22119. key = 'string';
  22120. } else if (arr) {
  22121. key = 'array';
  22122. } // if the value is not of a supported type for range validation
  22123. // the validation rule rule should use the
  22124. // type property to also test for a particular type
  22125. if (!key) {
  22126. return false;
  22127. }
  22128. if (arr) {
  22129. val = value.length;
  22130. }
  22131. if (str) {
  22132. // 处理码点大于U+010000的文字length属性不准确的bug,如"𠮷𠮷𠮷".lenght !== 3
  22133. val = value.replace(spRegexp, '_').length;
  22134. }
  22135. if (len) {
  22136. if (val !== rule.len) {
  22137. errors.push(format(options.messages[key].len, rule.fullField, rule.len));
  22138. }
  22139. } else if (min && !max && val < rule.min) {
  22140. errors.push(format(options.messages[key].min, rule.fullField, rule.min));
  22141. } else if (max && !min && val > rule.max) {
  22142. errors.push(format(options.messages[key].max, rule.fullField, rule.max));
  22143. } else if (min && max && (val < rule.min || val > rule.max)) {
  22144. errors.push(format(options.messages[key].range, rule.fullField, rule.min, rule.max));
  22145. }
  22146. }
  22147. var ENUM = 'enum';
  22148. /**
  22149. * Rule for validating a value exists in an enumerable list.
  22150. *
  22151. * @param rule The validation rule.
  22152. * @param value The value of the field on the source object.
  22153. * @param source The source object being validated.
  22154. * @param errors An array of errors that this rule may add
  22155. * validation errors to.
  22156. * @param options The validation options.
  22157. * @param options.messages The validation messages.
  22158. */
  22159. function enumerable(rule, value, source, errors, options) {
  22160. rule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : [];
  22161. if (rule[ENUM].indexOf(value) === -1) {
  22162. errors.push(format(options.messages[ENUM], rule.fullField, rule[ENUM].join(', ')));
  22163. }
  22164. }
  22165. /**
  22166. * Rule for validating a regular expression pattern.
  22167. *
  22168. * @param rule The validation rule.
  22169. * @param value The value of the field on the source object.
  22170. * @param source The source object being validated.
  22171. * @param errors An array of errors that this rule may add
  22172. * validation errors to.
  22173. * @param options The validation options.
  22174. * @param options.messages The validation messages.
  22175. */
  22176. function pattern$1(rule, value, source, errors, options) {
  22177. if (rule.pattern) {
  22178. if (rule.pattern instanceof RegExp) {
  22179. // if a RegExp instance is passed, reset `lastIndex` in case its `global`
  22180. // flag is accidentally set to `true`, which in a validation scenario
  22181. // is not necessary and the result might be misleading
  22182. rule.pattern.lastIndex = 0;
  22183. if (!rule.pattern.test(value)) {
  22184. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  22185. }
  22186. } else if (typeof rule.pattern === 'string') {
  22187. var _pattern = new RegExp(rule.pattern);
  22188. if (!_pattern.test(value)) {
  22189. errors.push(format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));
  22190. }
  22191. }
  22192. }
  22193. }
  22194. var rules = {
  22195. required: required,
  22196. whitespace: whitespace,
  22197. type: type,
  22198. range: range,
  22199. enum: enumerable,
  22200. pattern: pattern$1
  22201. };
  22202. /**
  22203. * Performs validation for string types.
  22204. *
  22205. * @param rule The validation rule.
  22206. * @param value The value of the field on the source object.
  22207. * @param callback The callback function.
  22208. * @param source The source object being validated.
  22209. * @param options The validation options.
  22210. * @param options.messages The validation messages.
  22211. */
  22212. function string(rule, value, callback, source, options) {
  22213. var errors = [];
  22214. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22215. if (validate) {
  22216. if (isEmptyValue(value, 'string') && !rule.required) {
  22217. return callback();
  22218. }
  22219. rules.required(rule, value, source, errors, options, 'string');
  22220. if (!isEmptyValue(value, 'string')) {
  22221. rules.type(rule, value, source, errors, options);
  22222. rules.range(rule, value, source, errors, options);
  22223. rules.pattern(rule, value, source, errors, options);
  22224. if (rule.whitespace === true) {
  22225. rules.whitespace(rule, value, source, errors, options);
  22226. }
  22227. }
  22228. }
  22229. callback(errors);
  22230. }
  22231. /**
  22232. * Validates a function.
  22233. *
  22234. * @param rule The validation rule.
  22235. * @param value The value of the field on the source object.
  22236. * @param callback The callback function.
  22237. * @param source The source object being validated.
  22238. * @param options The validation options.
  22239. * @param options.messages The validation messages.
  22240. */
  22241. function method(rule, value, callback, source, options) {
  22242. var errors = [];
  22243. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22244. if (validate) {
  22245. if (isEmptyValue(value) && !rule.required) {
  22246. return callback();
  22247. }
  22248. rules.required(rule, value, source, errors, options);
  22249. if (value !== undefined) {
  22250. rules.type(rule, value, source, errors, options);
  22251. }
  22252. }
  22253. callback(errors);
  22254. }
  22255. /**
  22256. * Validates a number.
  22257. *
  22258. * @param rule The validation rule.
  22259. * @param value The value of the field on the source object.
  22260. * @param callback The callback function.
  22261. * @param source The source object being validated.
  22262. * @param options The validation options.
  22263. * @param options.messages The validation messages.
  22264. */
  22265. function number(rule, value, callback, source, options) {
  22266. var errors = [];
  22267. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22268. if (validate) {
  22269. if (value === '') {
  22270. value = undefined;
  22271. }
  22272. if (isEmptyValue(value) && !rule.required) {
  22273. return callback();
  22274. }
  22275. rules.required(rule, value, source, errors, options);
  22276. if (value !== undefined) {
  22277. rules.type(rule, value, source, errors, options);
  22278. rules.range(rule, value, source, errors, options);
  22279. }
  22280. }
  22281. callback(errors);
  22282. }
  22283. /**
  22284. * Validates a boolean.
  22285. *
  22286. * @param rule The validation rule.
  22287. * @param value The value of the field on the source object.
  22288. * @param callback The callback function.
  22289. * @param source The source object being validated.
  22290. * @param options The validation options.
  22291. * @param options.messages The validation messages.
  22292. */
  22293. function _boolean(rule, value, callback, source, options) {
  22294. var errors = [];
  22295. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22296. if (validate) {
  22297. if (isEmptyValue(value) && !rule.required) {
  22298. return callback();
  22299. }
  22300. rules.required(rule, value, source, errors, options);
  22301. if (value !== undefined) {
  22302. rules.type(rule, value, source, errors, options);
  22303. }
  22304. }
  22305. callback(errors);
  22306. }
  22307. /**
  22308. * Validates the regular expression type.
  22309. *
  22310. * @param rule The validation rule.
  22311. * @param value The value of the field on the source object.
  22312. * @param callback The callback function.
  22313. * @param source The source object being validated.
  22314. * @param options The validation options.
  22315. * @param options.messages The validation messages.
  22316. */
  22317. function regexp(rule, value, callback, source, options) {
  22318. var errors = [];
  22319. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22320. if (validate) {
  22321. if (isEmptyValue(value) && !rule.required) {
  22322. return callback();
  22323. }
  22324. rules.required(rule, value, source, errors, options);
  22325. if (!isEmptyValue(value)) {
  22326. rules.type(rule, value, source, errors, options);
  22327. }
  22328. }
  22329. callback(errors);
  22330. }
  22331. /**
  22332. * Validates a number is an integer.
  22333. *
  22334. * @param rule The validation rule.
  22335. * @param value The value of the field on the source object.
  22336. * @param callback The callback function.
  22337. * @param source The source object being validated.
  22338. * @param options The validation options.
  22339. * @param options.messages The validation messages.
  22340. */
  22341. function integer(rule, value, callback, source, options) {
  22342. var errors = [];
  22343. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22344. if (validate) {
  22345. if (isEmptyValue(value) && !rule.required) {
  22346. return callback();
  22347. }
  22348. rules.required(rule, value, source, errors, options);
  22349. if (value !== undefined) {
  22350. rules.type(rule, value, source, errors, options);
  22351. rules.range(rule, value, source, errors, options);
  22352. }
  22353. }
  22354. callback(errors);
  22355. }
  22356. /**
  22357. * Validates a number is a floating point number.
  22358. *
  22359. * @param rule The validation rule.
  22360. * @param value The value of the field on the source object.
  22361. * @param callback The callback function.
  22362. * @param source The source object being validated.
  22363. * @param options The validation options.
  22364. * @param options.messages The validation messages.
  22365. */
  22366. function floatFn(rule, value, callback, source, options) {
  22367. var errors = [];
  22368. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22369. if (validate) {
  22370. if (isEmptyValue(value) && !rule.required) {
  22371. return callback();
  22372. }
  22373. rules.required(rule, value, source, errors, options);
  22374. if (value !== undefined) {
  22375. rules.type(rule, value, source, errors, options);
  22376. rules.range(rule, value, source, errors, options);
  22377. }
  22378. }
  22379. callback(errors);
  22380. }
  22381. /**
  22382. * Validates an array.
  22383. *
  22384. * @param rule The validation rule.
  22385. * @param value The value of the field on the source object.
  22386. * @param callback The callback function.
  22387. * @param source The source object being validated.
  22388. * @param options The validation options.
  22389. * @param options.messages The validation messages.
  22390. */
  22391. function array(rule, value, callback, source, options) {
  22392. var errors = [];
  22393. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22394. if (validate) {
  22395. if (isEmptyValue(value, 'array') && !rule.required) {
  22396. return callback();
  22397. }
  22398. rules.required(rule, value, source, errors, options, 'array');
  22399. if (!isEmptyValue(value, 'array')) {
  22400. rules.type(rule, value, source, errors, options);
  22401. rules.range(rule, value, source, errors, options);
  22402. }
  22403. }
  22404. callback(errors);
  22405. }
  22406. /**
  22407. * Validates an object.
  22408. *
  22409. * @param rule The validation rule.
  22410. * @param value The value of the field on the source object.
  22411. * @param callback The callback function.
  22412. * @param source The source object being validated.
  22413. * @param options The validation options.
  22414. * @param options.messages The validation messages.
  22415. */
  22416. function object(rule, value, callback, source, options) {
  22417. var errors = [];
  22418. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22419. if (validate) {
  22420. if (isEmptyValue(value) && !rule.required) {
  22421. return callback();
  22422. }
  22423. rules.required(rule, value, source, errors, options);
  22424. if (value !== undefined) {
  22425. rules.type(rule, value, source, errors, options);
  22426. }
  22427. }
  22428. callback(errors);
  22429. }
  22430. var ENUM$1 = 'enum';
  22431. /**
  22432. * Validates an enumerable list.
  22433. *
  22434. * @param rule The validation rule.
  22435. * @param value The value of the field on the source object.
  22436. * @param callback The callback function.
  22437. * @param source The source object being validated.
  22438. * @param options The validation options.
  22439. * @param options.messages The validation messages.
  22440. */
  22441. function enumerable$1(rule, value, callback, source, options) {
  22442. var errors = [];
  22443. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22444. if (validate) {
  22445. if (isEmptyValue(value) && !rule.required) {
  22446. return callback();
  22447. }
  22448. rules.required(rule, value, source, errors, options);
  22449. if (value !== undefined) {
  22450. rules[ENUM$1](rule, value, source, errors, options);
  22451. }
  22452. }
  22453. callback(errors);
  22454. }
  22455. /**
  22456. * Validates a regular expression pattern.
  22457. *
  22458. * Performs validation when a rule only contains
  22459. * a pattern property but is not declared as a string type.
  22460. *
  22461. * @param rule The validation rule.
  22462. * @param value The value of the field on the source object.
  22463. * @param callback The callback function.
  22464. * @param source The source object being validated.
  22465. * @param options The validation options.
  22466. * @param options.messages The validation messages.
  22467. */
  22468. function pattern$2(rule, value, callback, source, options) {
  22469. var errors = [];
  22470. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22471. if (validate) {
  22472. if (isEmptyValue(value, 'string') && !rule.required) {
  22473. return callback();
  22474. }
  22475. rules.required(rule, value, source, errors, options);
  22476. if (!isEmptyValue(value, 'string')) {
  22477. rules.pattern(rule, value, source, errors, options);
  22478. }
  22479. }
  22480. callback(errors);
  22481. }
  22482. function date(rule, value, callback, source, options) {
  22483. var errors = [];
  22484. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22485. if (validate) {
  22486. if (isEmptyValue(value) && !rule.required) {
  22487. return callback();
  22488. }
  22489. rules.required(rule, value, source, errors, options);
  22490. if (!isEmptyValue(value)) {
  22491. var dateObject;
  22492. if (typeof value === 'number') {
  22493. dateObject = new Date(value);
  22494. } else {
  22495. dateObject = value;
  22496. }
  22497. rules.type(rule, dateObject, source, errors, options);
  22498. if (dateObject) {
  22499. rules.range(rule, dateObject.getTime(), source, errors, options);
  22500. }
  22501. }
  22502. }
  22503. callback(errors);
  22504. }
  22505. function required$1(rule, value, callback, source, options) {
  22506. var errors = [];
  22507. var type = Array.isArray(value) ? 'array' : (0, _typeof2.default)(value);
  22508. rules.required(rule, value, source, errors, options, type);
  22509. callback(errors);
  22510. }
  22511. function type$1(rule, value, callback, source, options) {
  22512. var ruleType = rule.type;
  22513. var errors = [];
  22514. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22515. if (validate) {
  22516. if (isEmptyValue(value, ruleType) && !rule.required) {
  22517. return callback();
  22518. }
  22519. rules.required(rule, value, source, errors, options, ruleType);
  22520. if (!isEmptyValue(value, ruleType)) {
  22521. rules.type(rule, value, source, errors, options);
  22522. }
  22523. }
  22524. callback(errors);
  22525. }
  22526. /**
  22527. * Performs validation for any type.
  22528. *
  22529. * @param rule The validation rule.
  22530. * @param value The value of the field on the source object.
  22531. * @param callback The callback function.
  22532. * @param source The source object being validated.
  22533. * @param options The validation options.
  22534. * @param options.messages The validation messages.
  22535. */
  22536. function any(rule, value, callback, source, options) {
  22537. var errors = [];
  22538. var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);
  22539. if (validate) {
  22540. if (isEmptyValue(value) && !rule.required) {
  22541. return callback();
  22542. }
  22543. rules.required(rule, value, source, errors, options);
  22544. }
  22545. callback(errors);
  22546. }
  22547. var validators = {
  22548. string: string,
  22549. method: method,
  22550. number: number,
  22551. boolean: _boolean,
  22552. regexp: regexp,
  22553. integer: integer,
  22554. float: floatFn,
  22555. array: array,
  22556. object: object,
  22557. enum: enumerable$1,
  22558. pattern: pattern$2,
  22559. date: date,
  22560. url: type$1,
  22561. hex: type$1,
  22562. email: type$1,
  22563. required: required$1,
  22564. any: any
  22565. };
  22566. function newMessages() {
  22567. return {
  22568. default: 'Validation error on field %s',
  22569. required: '%s is required',
  22570. enum: '%s must be one of %s',
  22571. whitespace: '%s cannot be empty',
  22572. date: {
  22573. format: '%s date %s is invalid for format %s',
  22574. parse: '%s date could not be parsed, %s is invalid ',
  22575. invalid: '%s date %s is invalid'
  22576. },
  22577. types: {
  22578. string: '%s is not a %s',
  22579. method: '%s is not a %s (function)',
  22580. array: '%s is not an %s',
  22581. object: '%s is not an %s',
  22582. number: '%s is not a %s',
  22583. date: '%s is not a %s',
  22584. boolean: '%s is not a %s',
  22585. integer: '%s is not an %s',
  22586. float: '%s is not a %s',
  22587. regexp: '%s is not a valid %s',
  22588. email: '%s is not a valid %s',
  22589. url: '%s is not a valid %s',
  22590. hex: '%s is not a valid %s'
  22591. },
  22592. string: {
  22593. len: '%s must be exactly %s characters',
  22594. min: '%s must be at least %s characters',
  22595. max: '%s cannot be longer than %s characters',
  22596. range: '%s must be between %s and %s characters'
  22597. },
  22598. number: {
  22599. len: '%s must equal %s',
  22600. min: '%s cannot be less than %s',
  22601. max: '%s cannot be greater than %s',
  22602. range: '%s must be between %s and %s'
  22603. },
  22604. array: {
  22605. len: '%s must be exactly %s in length',
  22606. min: '%s cannot be less than %s in length',
  22607. max: '%s cannot be greater than %s in length',
  22608. range: '%s must be between %s and %s in length'
  22609. },
  22610. pattern: {
  22611. mismatch: '%s value %s does not match pattern %s'
  22612. },
  22613. clone: function clone() {
  22614. var cloned = JSON.parse(JSON.stringify(this));
  22615. cloned.clone = this.clone;
  22616. return cloned;
  22617. }
  22618. };
  22619. }
  22620. var messages = newMessages();
  22621. /**
  22622. * Encapsulates a validation schema.
  22623. *
  22624. * @param descriptor An object declaring validation rules
  22625. * for this schema.
  22626. */
  22627. function Schema(descriptor) {
  22628. this.rules = null;
  22629. this._messages = messages;
  22630. this.define(descriptor);
  22631. }
  22632. Schema.prototype = {
  22633. messages: function messages(_messages) {
  22634. if (_messages) {
  22635. this._messages = deepMerge(newMessages(), _messages);
  22636. }
  22637. return this._messages;
  22638. },
  22639. define: function define(rules) {
  22640. if (!rules) {
  22641. throw new Error('Cannot configure a schema with no rules');
  22642. }
  22643. if ((0, _typeof2.default)(rules) !== 'object' || Array.isArray(rules)) {
  22644. throw new Error('Rules must be an object');
  22645. }
  22646. this.rules = {};
  22647. var z;
  22648. var item;
  22649. for (z in rules) {
  22650. if (rules.hasOwnProperty(z)) {
  22651. item = rules[z];
  22652. this.rules[z] = Array.isArray(item) ? item : [item];
  22653. }
  22654. }
  22655. },
  22656. validate: function validate(source_, o, oc) {
  22657. var _this = this;
  22658. if (o === void 0) {
  22659. o = {};
  22660. }
  22661. if (oc === void 0) {
  22662. oc = function oc() {};
  22663. }
  22664. var source = source_;
  22665. var options = o;
  22666. var callback = oc;
  22667. if (typeof options === 'function') {
  22668. callback = options;
  22669. options = {};
  22670. }
  22671. if (!this.rules || Object.keys(this.rules).length === 0) {
  22672. if (callback) {
  22673. callback();
  22674. }
  22675. return Promise.resolve();
  22676. }
  22677. function complete(results) {
  22678. var i;
  22679. var errors = [];
  22680. var fields = {};
  22681. function add(e) {
  22682. if (Array.isArray(e)) {
  22683. var _errors;
  22684. errors = (_errors = errors).concat.apply(_errors, e);
  22685. } else {
  22686. errors.push(e);
  22687. }
  22688. }
  22689. for (i = 0; i < results.length; i++) {
  22690. add(results[i]);
  22691. }
  22692. if (!errors.length) {
  22693. errors = null;
  22694. fields = null;
  22695. } else {
  22696. fields = convertFieldsError(errors);
  22697. }
  22698. callback(errors, fields);
  22699. }
  22700. if (options.messages) {
  22701. var messages$1 = this.messages();
  22702. if (messages$1 === messages) {
  22703. messages$1 = newMessages();
  22704. }
  22705. deepMerge(messages$1, options.messages);
  22706. options.messages = messages$1;
  22707. } else {
  22708. options.messages = this.messages();
  22709. }
  22710. var arr;
  22711. var value;
  22712. var series = {};
  22713. var keys = options.keys || Object.keys(this.rules);
  22714. keys.forEach(function (z) {
  22715. arr = _this.rules[z];
  22716. value = source[z];
  22717. arr.forEach(function (r) {
  22718. var rule = r;
  22719. if (typeof rule.transform === 'function') {
  22720. if (source === source_) {
  22721. source = _objectSpread({}, source);
  22722. }
  22723. value = source[z] = rule.transform(value);
  22724. }
  22725. if (typeof rule === 'function') {
  22726. rule = {
  22727. validator: rule
  22728. };
  22729. } else {
  22730. rule = _objectSpread({}, rule);
  22731. }
  22732. rule.validator = _this.getValidationMethod(rule);
  22733. rule.field = z;
  22734. rule.fullField = rule.fullField || z;
  22735. rule.type = _this.getType(rule);
  22736. if (!rule.validator) {
  22737. return;
  22738. }
  22739. series[z] = series[z] || [];
  22740. series[z].push({
  22741. rule: rule,
  22742. value: value,
  22743. source: source,
  22744. field: z
  22745. });
  22746. });
  22747. });
  22748. var errorFields = {};
  22749. return asyncMap(series, options, function (data, doIt) {
  22750. var rule = data.rule;
  22751. var deep = (rule.type === 'object' || rule.type === 'array') && ((0, _typeof2.default)(rule.fields) === 'object' || (0, _typeof2.default)(rule.defaultField) === 'object');
  22752. deep = deep && (rule.required || !rule.required && data.value);
  22753. rule.field = data.field;
  22754. function addFullfield(key, schema) {
  22755. return _objectSpread(_objectSpread({}, schema), {}, {
  22756. fullField: "".concat(rule.fullField, ".").concat(key)
  22757. });
  22758. }
  22759. function cb(e) {
  22760. if (e === void 0) {
  22761. e = [];
  22762. }
  22763. var errors = e;
  22764. if (!Array.isArray(errors)) {
  22765. errors = [errors];
  22766. }
  22767. if (!options.suppressWarning && errors.length) {
  22768. Schema.warning('async-validator:', errors);
  22769. }
  22770. if (errors.length && rule.message) {
  22771. errors = [].concat(rule.message);
  22772. }
  22773. errors = errors.map(complementError(rule));
  22774. if (options.first && errors.length) {
  22775. errorFields[rule.field] = 1;
  22776. return doIt(errors);
  22777. }
  22778. if (!deep) {
  22779. doIt(errors);
  22780. } else {
  22781. // if rule is required but the target object
  22782. // does not exist fail at the rule level and don't
  22783. // go deeper
  22784. if (rule.required && !data.value) {
  22785. if (rule.message) {
  22786. errors = [].concat(rule.message).map(complementError(rule));
  22787. } else if (options.error) {
  22788. errors = [options.error(rule, format(options.messages.required, rule.field))];
  22789. } else {
  22790. errors = [];
  22791. }
  22792. return doIt(errors);
  22793. }
  22794. var fieldsSchema = {};
  22795. if (rule.defaultField) {
  22796. for (var k in data.value) {
  22797. if (data.value.hasOwnProperty(k)) {
  22798. fieldsSchema[k] = rule.defaultField;
  22799. }
  22800. }
  22801. }
  22802. fieldsSchema = _objectSpread(_objectSpread({}, fieldsSchema), data.rule.fields);
  22803. for (var f in fieldsSchema) {
  22804. if (fieldsSchema.hasOwnProperty(f)) {
  22805. var fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]];
  22806. fieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f));
  22807. }
  22808. }
  22809. var schema = new Schema(fieldsSchema);
  22810. schema.messages(options.messages);
  22811. if (data.rule.options) {
  22812. data.rule.options.messages = options.messages;
  22813. data.rule.options.error = options.error;
  22814. }
  22815. schema.validate(data.value, data.rule.options || options, function (errs) {
  22816. var finalErrors = [];
  22817. if (errors && errors.length) {
  22818. finalErrors.push.apply(finalErrors, errors);
  22819. }
  22820. if (errs && errs.length) {
  22821. finalErrors.push.apply(finalErrors, errs);
  22822. }
  22823. doIt(finalErrors.length ? finalErrors : null);
  22824. });
  22825. }
  22826. }
  22827. var res;
  22828. if (rule.asyncValidator) {
  22829. res = rule.asyncValidator(rule, data.value, cb, data.source, options);
  22830. } else if (rule.validator) {
  22831. res = rule.validator(rule, data.value, cb, data.source, options);
  22832. if (res === true) {
  22833. cb();
  22834. } else if (res === false) {
  22835. cb(rule.message || "".concat(rule.field, " fails"));
  22836. } else if (res instanceof Array) {
  22837. cb(res);
  22838. } else if (res instanceof Error) {
  22839. cb(res.message);
  22840. }
  22841. }
  22842. if (res && res.then) {
  22843. res.then(function () {
  22844. return cb();
  22845. }, function (e) {
  22846. return cb(e);
  22847. });
  22848. }
  22849. }, function (results) {
  22850. complete(results);
  22851. });
  22852. },
  22853. getType: function getType(rule) {
  22854. if (rule.type === undefined && rule.pattern instanceof RegExp) {
  22855. rule.type = 'pattern';
  22856. }
  22857. if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {
  22858. throw new Error(format('Unknown rule type %s', rule.type));
  22859. }
  22860. return rule.type || 'string';
  22861. },
  22862. getValidationMethod: function getValidationMethod(rule) {
  22863. if (typeof rule.validator === 'function') {
  22864. return rule.validator;
  22865. }
  22866. var keys = Object.keys(rule);
  22867. var messageIndex = keys.indexOf('message');
  22868. if (messageIndex !== -1) {
  22869. keys.splice(messageIndex, 1);
  22870. }
  22871. if (keys.length === 1 && keys[0] === 'required') {
  22872. return validators.required;
  22873. }
  22874. return validators[this.getType(rule)] || false;
  22875. }
  22876. };
  22877. Schema.register = function register(type, validator) {
  22878. if (typeof validator !== 'function') {
  22879. throw new Error('Cannot register a validator by type, validator is not a function');
  22880. }
  22881. validators[type] = validator;
  22882. };
  22883. Schema.warning = warning;
  22884. Schema.messages = messages;
  22885. var _default = Schema; // # sourceMappingURL=index.js.map
  22886. exports.default = _default;
  22887. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../../../../../../HBuilderX/HBuilderX/plugins/uniapp-cli/node_modules/node-libs-browser/mock/process.js */ 441)))
  22888. /***/ }),
  22889. /* 441 */
  22890. /*!********************************************************!*\
  22891. !*** ./node_modules/node-libs-browser/mock/process.js ***!
  22892. \********************************************************/
  22893. /*! no static exports found */
  22894. /***/ (function(module, exports, __webpack_require__) {
  22895. exports.nextTick = function nextTick(fn) {
  22896. var args = Array.prototype.slice.call(arguments);
  22897. args.shift();
  22898. setTimeout(function () {
  22899. fn.apply(null, args);
  22900. }, 0);
  22901. };
  22902. exports.platform = exports.arch =
  22903. exports.execPath = exports.title = 'browser';
  22904. exports.pid = 1;
  22905. exports.browser = true;
  22906. exports.env = {};
  22907. exports.argv = [];
  22908. exports.binding = function (name) {
  22909. throw new Error('No such module. (Possibly not yet loaded)')
  22910. };
  22911. (function () {
  22912. var cwd = '/';
  22913. var path;
  22914. exports.cwd = function () { return cwd };
  22915. exports.chdir = function (dir) {
  22916. if (!path) path = __webpack_require__(/*! path */ 442);
  22917. cwd = path.resolve(dir, cwd);
  22918. };
  22919. })();
  22920. exports.exit = exports.kill =
  22921. exports.umask = exports.dlopen =
  22922. exports.uptime = exports.memoryUsage =
  22923. exports.uvCounters = function() {};
  22924. exports.features = {};
  22925. /***/ }),
  22926. /* 442 */
  22927. /*!***********************************************!*\
  22928. !*** ./node_modules/path-browserify/index.js ***!
  22929. \***********************************************/
  22930. /*! no static exports found */
  22931. /***/ (function(module, exports, __webpack_require__) {
  22932. /* WEBPACK VAR INJECTION */(function(process) {// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,
  22933. // backported and transplited with Babel, with backwards-compat fixes
  22934. // Copyright Joyent, Inc. and other Node contributors.
  22935. //
  22936. // Permission is hereby granted, free of charge, to any person obtaining a
  22937. // copy of this software and associated documentation files (the
  22938. // "Software"), to deal in the Software without restriction, including
  22939. // without limitation the rights to use, copy, modify, merge, publish,
  22940. // distribute, sublicense, and/or sell copies of the Software, and to permit
  22941. // persons to whom the Software is furnished to do so, subject to the
  22942. // following conditions:
  22943. //
  22944. // The above copyright notice and this permission notice shall be included
  22945. // in all copies or substantial portions of the Software.
  22946. //
  22947. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  22948. // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22949. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  22950. // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  22951. // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  22952. // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  22953. // USE OR OTHER DEALINGS IN THE SOFTWARE.
  22954. // resolves . and .. elements in a path array with directory names there
  22955. // must be no slashes, empty elements, or device names (c:\) in the array
  22956. // (so also no leading and trailing slashes - it does not distinguish
  22957. // relative and absolute paths)
  22958. function normalizeArray(parts, allowAboveRoot) {
  22959. // if the path tries to go above the root, `up` ends up > 0
  22960. var up = 0;
  22961. for (var i = parts.length - 1; i >= 0; i--) {
  22962. var last = parts[i];
  22963. if (last === '.') {
  22964. parts.splice(i, 1);
  22965. } else if (last === '..') {
  22966. parts.splice(i, 1);
  22967. up++;
  22968. } else if (up) {
  22969. parts.splice(i, 1);
  22970. up--;
  22971. }
  22972. }
  22973. // if the path is allowed to go above the root, restore leading ..s
  22974. if (allowAboveRoot) {
  22975. for (; up--; up) {
  22976. parts.unshift('..');
  22977. }
  22978. }
  22979. return parts;
  22980. }
  22981. // path.resolve([from ...], to)
  22982. // posix version
  22983. exports.resolve = function() {
  22984. var resolvedPath = '',
  22985. resolvedAbsolute = false;
  22986. for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
  22987. var path = (i >= 0) ? arguments[i] : process.cwd();
  22988. // Skip empty and invalid entries
  22989. if (typeof path !== 'string') {
  22990. throw new TypeError('Arguments to path.resolve must be strings');
  22991. } else if (!path) {
  22992. continue;
  22993. }
  22994. resolvedPath = path + '/' + resolvedPath;
  22995. resolvedAbsolute = path.charAt(0) === '/';
  22996. }
  22997. // At this point the path should be resolved to a full absolute path, but
  22998. // handle relative paths to be safe (might happen when process.cwd() fails)
  22999. // Normalize the path
  23000. resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
  23001. return !!p;
  23002. }), !resolvedAbsolute).join('/');
  23003. return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
  23004. };
  23005. // path.normalize(path)
  23006. // posix version
  23007. exports.normalize = function(path) {
  23008. var isAbsolute = exports.isAbsolute(path),
  23009. trailingSlash = substr(path, -1) === '/';
  23010. // Normalize the path
  23011. path = normalizeArray(filter(path.split('/'), function(p) {
  23012. return !!p;
  23013. }), !isAbsolute).join('/');
  23014. if (!path && !isAbsolute) {
  23015. path = '.';
  23016. }
  23017. if (path && trailingSlash) {
  23018. path += '/';
  23019. }
  23020. return (isAbsolute ? '/' : '') + path;
  23021. };
  23022. // posix version
  23023. exports.isAbsolute = function(path) {
  23024. return path.charAt(0) === '/';
  23025. };
  23026. // posix version
  23027. exports.join = function() {
  23028. var paths = Array.prototype.slice.call(arguments, 0);
  23029. return exports.normalize(filter(paths, function(p, index) {
  23030. if (typeof p !== 'string') {
  23031. throw new TypeError('Arguments to path.join must be strings');
  23032. }
  23033. return p;
  23034. }).join('/'));
  23035. };
  23036. // path.relative(from, to)
  23037. // posix version
  23038. exports.relative = function(from, to) {
  23039. from = exports.resolve(from).substr(1);
  23040. to = exports.resolve(to).substr(1);
  23041. function trim(arr) {
  23042. var start = 0;
  23043. for (; start < arr.length; start++) {
  23044. if (arr[start] !== '') break;
  23045. }
  23046. var end = arr.length - 1;
  23047. for (; end >= 0; end--) {
  23048. if (arr[end] !== '') break;
  23049. }
  23050. if (start > end) return [];
  23051. return arr.slice(start, end - start + 1);
  23052. }
  23053. var fromParts = trim(from.split('/'));
  23054. var toParts = trim(to.split('/'));
  23055. var length = Math.min(fromParts.length, toParts.length);
  23056. var samePartsLength = length;
  23057. for (var i = 0; i < length; i++) {
  23058. if (fromParts[i] !== toParts[i]) {
  23059. samePartsLength = i;
  23060. break;
  23061. }
  23062. }
  23063. var outputParts = [];
  23064. for (var i = samePartsLength; i < fromParts.length; i++) {
  23065. outputParts.push('..');
  23066. }
  23067. outputParts = outputParts.concat(toParts.slice(samePartsLength));
  23068. return outputParts.join('/');
  23069. };
  23070. exports.sep = '/';
  23071. exports.delimiter = ':';
  23072. exports.dirname = function (path) {
  23073. if (typeof path !== 'string') path = path + '';
  23074. if (path.length === 0) return '.';
  23075. var code = path.charCodeAt(0);
  23076. var hasRoot = code === 47 /*/*/;
  23077. var end = -1;
  23078. var matchedSlash = true;
  23079. for (var i = path.length - 1; i >= 1; --i) {
  23080. code = path.charCodeAt(i);
  23081. if (code === 47 /*/*/) {
  23082. if (!matchedSlash) {
  23083. end = i;
  23084. break;
  23085. }
  23086. } else {
  23087. // We saw the first non-path separator
  23088. matchedSlash = false;
  23089. }
  23090. }
  23091. if (end === -1) return hasRoot ? '/' : '.';
  23092. if (hasRoot && end === 1) {
  23093. // return '//';
  23094. // Backwards-compat fix:
  23095. return '/';
  23096. }
  23097. return path.slice(0, end);
  23098. };
  23099. function basename(path) {
  23100. if (typeof path !== 'string') path = path + '';
  23101. var start = 0;
  23102. var end = -1;
  23103. var matchedSlash = true;
  23104. var i;
  23105. for (i = path.length - 1; i >= 0; --i) {
  23106. if (path.charCodeAt(i) === 47 /*/*/) {
  23107. // If we reached a path separator that was not part of a set of path
  23108. // separators at the end of the string, stop now
  23109. if (!matchedSlash) {
  23110. start = i + 1;
  23111. break;
  23112. }
  23113. } else if (end === -1) {
  23114. // We saw the first non-path separator, mark this as the end of our
  23115. // path component
  23116. matchedSlash = false;
  23117. end = i + 1;
  23118. }
  23119. }
  23120. if (end === -1) return '';
  23121. return path.slice(start, end);
  23122. }
  23123. // Uses a mixed approach for backwards-compatibility, as ext behavior changed
  23124. // in new Node.js versions, so only basename() above is backported here
  23125. exports.basename = function (path, ext) {
  23126. var f = basename(path);
  23127. if (ext && f.substr(-1 * ext.length) === ext) {
  23128. f = f.substr(0, f.length - ext.length);
  23129. }
  23130. return f;
  23131. };
  23132. exports.extname = function (path) {
  23133. if (typeof path !== 'string') path = path + '';
  23134. var startDot = -1;
  23135. var startPart = 0;
  23136. var end = -1;
  23137. var matchedSlash = true;
  23138. // Track the state of characters (if any) we see before our first dot and
  23139. // after any path separator we find
  23140. var preDotState = 0;
  23141. for (var i = path.length - 1; i >= 0; --i) {
  23142. var code = path.charCodeAt(i);
  23143. if (code === 47 /*/*/) {
  23144. // If we reached a path separator that was not part of a set of path
  23145. // separators at the end of the string, stop now
  23146. if (!matchedSlash) {
  23147. startPart = i + 1;
  23148. break;
  23149. }
  23150. continue;
  23151. }
  23152. if (end === -1) {
  23153. // We saw the first non-path separator, mark this as the end of our
  23154. // extension
  23155. matchedSlash = false;
  23156. end = i + 1;
  23157. }
  23158. if (code === 46 /*.*/) {
  23159. // If this is our first dot, mark it as the start of our extension
  23160. if (startDot === -1)
  23161. startDot = i;
  23162. else if (preDotState !== 1)
  23163. preDotState = 1;
  23164. } else if (startDot !== -1) {
  23165. // We saw a non-dot and non-path separator before our dot, so we should
  23166. // have a good chance at having a non-empty extension
  23167. preDotState = -1;
  23168. }
  23169. }
  23170. if (startDot === -1 || end === -1 ||
  23171. // We saw a non-dot character immediately before the dot
  23172. preDotState === 0 ||
  23173. // The (right-most) trimmed path component is exactly '..'
  23174. preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {
  23175. return '';
  23176. }
  23177. return path.slice(startDot, end);
  23178. };
  23179. function filter (xs, f) {
  23180. if (xs.filter) return xs.filter(f);
  23181. var res = [];
  23182. for (var i = 0; i < xs.length; i++) {
  23183. if (f(xs[i], i, xs)) res.push(xs[i]);
  23184. }
  23185. return res;
  23186. }
  23187. // String.prototype.substr - negative index don't work in IE8
  23188. var substr = 'ab'.substr(-1) === 'b'
  23189. ? function (str, start, len) { return str.substr(start, len) }
  23190. : function (str, start, len) {
  23191. if (start < 0) start = str.length + start;
  23192. return str.substr(start, len);
  23193. }
  23194. ;
  23195. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 441)))
  23196. /***/ }),
  23197. /* 443 */,
  23198. /* 444 */,
  23199. /* 445 */,
  23200. /* 446 */,
  23201. /* 447 */,
  23202. /* 448 */
  23203. /*!*****************************************************************************************************************************************************!*\
  23204. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-toolbar/props.js ***!
  23205. \*****************************************************************************************************************************************************/
  23206. /*! no static exports found */
  23207. /***/ (function(module, exports, __webpack_require__) {
  23208. "use strict";
  23209. /* WEBPACK VAR INJECTION */(function(uni) {
  23210. Object.defineProperty(exports, "__esModule", {
  23211. value: true
  23212. });
  23213. exports.default = void 0;
  23214. var _default = {
  23215. props: {
  23216. // 是否展示工具条
  23217. show: {
  23218. type: Boolean,
  23219. default: uni.$u.props.toolbar.show
  23220. },
  23221. // 取消按钮的文字
  23222. cancelText: {
  23223. type: String,
  23224. default: uni.$u.props.toolbar.cancelText
  23225. },
  23226. // 确认按钮的文字
  23227. confirmText: {
  23228. type: String,
  23229. default: uni.$u.props.toolbar.confirmText
  23230. },
  23231. // 取消按钮的颜色
  23232. cancelColor: {
  23233. type: String,
  23234. default: uni.$u.props.toolbar.cancelColor
  23235. },
  23236. // 确认按钮的颜色
  23237. confirmColor: {
  23238. type: String,
  23239. default: uni.$u.props.toolbar.confirmColor
  23240. },
  23241. // 标题文字
  23242. title: {
  23243. type: String,
  23244. default: uni.$u.props.toolbar.title
  23245. }
  23246. }
  23247. };
  23248. exports.default = _default;
  23249. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23250. /***/ }),
  23251. /* 449 */,
  23252. /* 450 */,
  23253. /* 451 */,
  23254. /* 452 */,
  23255. /* 453 */,
  23256. /* 454 */,
  23257. /* 455 */,
  23258. /* 456 */
  23259. /*!********************************************************************************************************************************************************!*\
  23260. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/props.js ***!
  23261. \********************************************************************************************************************************************************/
  23262. /*! no static exports found */
  23263. /***/ (function(module, exports, __webpack_require__) {
  23264. "use strict";
  23265. /* WEBPACK VAR INJECTION */(function(uni) {
  23266. Object.defineProperty(exports, "__esModule", {
  23267. value: true
  23268. });
  23269. exports.default = void 0;
  23270. var _default = {
  23271. props: {
  23272. // 是否展示组件
  23273. show: {
  23274. type: Boolean,
  23275. default: uni.$u.props.transition.show
  23276. },
  23277. // 使用的动画模式
  23278. mode: {
  23279. type: String,
  23280. default: uni.$u.props.transition.mode
  23281. },
  23282. // 动画的执行时间,单位ms
  23283. duration: {
  23284. type: [String, Number],
  23285. default: uni.$u.props.transition.duration
  23286. },
  23287. // 使用的动画过渡函数
  23288. timingFunction: {
  23289. type: String,
  23290. default: uni.$u.props.transition.timingFunction
  23291. }
  23292. }
  23293. };
  23294. exports.default = _default;
  23295. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23296. /***/ }),
  23297. /* 457 */
  23298. /*!*************************************************************************************************************************************************************!*\
  23299. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/transition.js ***!
  23300. \*************************************************************************************************************************************************************/
  23301. /*! no static exports found */
  23302. /***/ (function(module, exports, __webpack_require__) {
  23303. "use strict";
  23304. var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
  23305. Object.defineProperty(exports, "__esModule", {
  23306. value: true
  23307. });
  23308. exports.default = void 0;
  23309. var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 31));
  23310. var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 33));
  23311. var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 458));
  23312. // 定义一个一定时间后自动成功的promise,让调用nextTick方法处,进入下一个then方法
  23313. var nextTick = function nextTick() {
  23314. return new Promise(function (resolve) {
  23315. return setTimeout(resolve, 1000 / 50);
  23316. });
  23317. };
  23318. // nvue动画模块实现细节抽离在外部文件
  23319. // 定义类名,通过给元素动态切换类名,赋予元素一定的css动画样式
  23320. var getClassNames = function getClassNames(name) {
  23321. return {
  23322. enter: "u-".concat(name, "-enter u-").concat(name, "-enter-active"),
  23323. 'enter-to': "u-".concat(name, "-enter-to u-").concat(name, "-enter-active"),
  23324. leave: "u-".concat(name, "-leave u-").concat(name, "-leave-active"),
  23325. 'leave-to': "u-".concat(name, "-leave-to u-").concat(name, "-leave-active")
  23326. };
  23327. };
  23328. var _default = {
  23329. methods: {
  23330. // 组件被点击发出事件
  23331. clickHandler: function clickHandler() {
  23332. this.$emit('click');
  23333. },
  23334. // vue版本的组件进场处理
  23335. vueEnter: function vueEnter() {
  23336. var _this = this;
  23337. // 动画进入时的类名
  23338. var classNames = getClassNames(this.mode);
  23339. // 定义状态和发出动画进入前事件
  23340. this.status = 'enter';
  23341. this.$emit('beforeEnter');
  23342. this.inited = true;
  23343. this.display = true;
  23344. this.classes = classNames.enter;
  23345. this.$nextTick( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
  23346. return _regenerator.default.wrap(function _callee$(_context) {
  23347. while (1) {
  23348. switch (_context.prev = _context.next) {
  23349. case 0:
  23350. // 标识动画尚未结束
  23351. _this.$emit('enter');
  23352. _this.transitionEnded = false;
  23353. // 组件动画进入后触发的事件
  23354. _this.$emit('afterEnter');
  23355. // 赋予组件enter-to类名
  23356. _this.classes = classNames['enter-to'];
  23357. case 4:
  23358. case "end":
  23359. return _context.stop();
  23360. }
  23361. }
  23362. }, _callee);
  23363. })));
  23364. },
  23365. // 动画离场处理
  23366. vueLeave: function vueLeave() {
  23367. var _this2 = this;
  23368. // 如果不是展示状态,无需执行逻辑
  23369. if (!this.display) return;
  23370. var classNames = getClassNames(this.mode);
  23371. // 标记离开状态和发出事件
  23372. this.status = 'leave';
  23373. this.$emit('beforeLeave');
  23374. // 获得类名
  23375. this.classes = classNames.leave;
  23376. this.$nextTick(function () {
  23377. // 动画正在离场的状态
  23378. _this2.transitionEnded = false;
  23379. _this2.$emit('leave');
  23380. // 组件执行动画,到了执行的执行时间后,执行一些额外处理
  23381. setTimeout(_this2.onTransitionEnd, _this2.duration);
  23382. _this2.classes = classNames['leave-to'];
  23383. });
  23384. },
  23385. // 完成过渡后触发
  23386. onTransitionEnd: function onTransitionEnd() {
  23387. // 如果已经是结束的状态,无需再处理
  23388. if (this.transitionEnded) return;
  23389. this.transitionEnded = true;
  23390. // 发出组件动画执行后的事件
  23391. this.$emit(this.status === 'leave' ? 'afterLeave' : 'afterEnter');
  23392. if (!this.show && this.display) {
  23393. this.display = false;
  23394. this.inited = false;
  23395. }
  23396. }
  23397. }
  23398. };
  23399. exports.default = _default;
  23400. /***/ }),
  23401. /* 458 */
  23402. /*!***************************************************************************************************************************************************************!*\
  23403. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-transition/nvue.ani-map.js ***!
  23404. \***************************************************************************************************************************************************************/
  23405. /*! no static exports found */
  23406. /***/ (function(module, exports, __webpack_require__) {
  23407. "use strict";
  23408. Object.defineProperty(exports, "__esModule", {
  23409. value: true
  23410. });
  23411. exports.default = void 0;
  23412. var _default = {
  23413. fade: {
  23414. enter: {
  23415. opacity: 0
  23416. },
  23417. 'enter-to': {
  23418. opacity: 1
  23419. },
  23420. leave: {
  23421. opacity: 1
  23422. },
  23423. 'leave-to': {
  23424. opacity: 0
  23425. }
  23426. },
  23427. 'fade-up': {
  23428. enter: {
  23429. opacity: 0,
  23430. transform: 'translateY(100%)'
  23431. },
  23432. 'enter-to': {
  23433. opacity: 1,
  23434. transform: 'translateY(0)'
  23435. },
  23436. leave: {
  23437. opacity: 1,
  23438. transform: 'translateY(0)'
  23439. },
  23440. 'leave-to': {
  23441. opacity: 0,
  23442. transform: 'translateY(100%)'
  23443. }
  23444. },
  23445. 'fade-down': {
  23446. enter: {
  23447. opacity: 0,
  23448. transform: 'translateY(-100%)'
  23449. },
  23450. 'enter-to': {
  23451. opacity: 1,
  23452. transform: 'translateY(0)'
  23453. },
  23454. leave: {
  23455. opacity: 1,
  23456. transform: 'translateY(0)'
  23457. },
  23458. 'leave-to': {
  23459. opacity: 0,
  23460. transform: 'translateY(-100%)'
  23461. }
  23462. },
  23463. 'fade-left': {
  23464. enter: {
  23465. opacity: 0,
  23466. transform: 'translateX(-100%)'
  23467. },
  23468. 'enter-to': {
  23469. opacity: 1,
  23470. transform: 'translateY(0)'
  23471. },
  23472. leave: {
  23473. opacity: 1,
  23474. transform: 'translateY(0)'
  23475. },
  23476. 'leave-to': {
  23477. opacity: 0,
  23478. transform: 'translateX(-100%)'
  23479. }
  23480. },
  23481. 'fade-right': {
  23482. enter: {
  23483. opacity: 0,
  23484. transform: 'translateX(100%)'
  23485. },
  23486. 'enter-to': {
  23487. opacity: 1,
  23488. transform: 'translateY(0)'
  23489. },
  23490. leave: {
  23491. opacity: 1,
  23492. transform: 'translateY(0)'
  23493. },
  23494. 'leave-to': {
  23495. opacity: 0,
  23496. transform: 'translateX(100%)'
  23497. }
  23498. },
  23499. 'slide-up': {
  23500. enter: {
  23501. transform: 'translateY(100%)'
  23502. },
  23503. 'enter-to': {
  23504. transform: 'translateY(0)'
  23505. },
  23506. leave: {
  23507. transform: 'translateY(0)'
  23508. },
  23509. 'leave-to': {
  23510. transform: 'translateY(100%)'
  23511. }
  23512. },
  23513. 'slide-down': {
  23514. enter: {
  23515. transform: 'translateY(-100%)'
  23516. },
  23517. 'enter-to': {
  23518. transform: 'translateY(0)'
  23519. },
  23520. leave: {
  23521. transform: 'translateY(0)'
  23522. },
  23523. 'leave-to': {
  23524. transform: 'translateY(-100%)'
  23525. }
  23526. },
  23527. 'slide-left': {
  23528. enter: {
  23529. transform: 'translateX(-100%)'
  23530. },
  23531. 'enter-to': {
  23532. transform: 'translateY(0)'
  23533. },
  23534. leave: {
  23535. transform: 'translateY(0)'
  23536. },
  23537. 'leave-to': {
  23538. transform: 'translateX(-100%)'
  23539. }
  23540. },
  23541. 'slide-right': {
  23542. enter: {
  23543. transform: 'translateX(100%)'
  23544. },
  23545. 'enter-to': {
  23546. transform: 'translateY(0)'
  23547. },
  23548. leave: {
  23549. transform: 'translateY(0)'
  23550. },
  23551. 'leave-to': {
  23552. transform: 'translateX(100%)'
  23553. }
  23554. },
  23555. zoom: {
  23556. enter: {
  23557. transform: 'scale(0.95)'
  23558. },
  23559. 'enter-to': {
  23560. transform: 'scale(1)'
  23561. },
  23562. leave: {
  23563. transform: 'scale(1)'
  23564. },
  23565. 'leave-to': {
  23566. transform: 'scale(0.95)'
  23567. }
  23568. },
  23569. 'fade-zoom': {
  23570. enter: {
  23571. opacity: 0,
  23572. transform: 'scale(0.95)'
  23573. },
  23574. 'enter-to': {
  23575. opacity: 1,
  23576. transform: 'scale(1)'
  23577. },
  23578. leave: {
  23579. opacity: 1,
  23580. transform: 'scale(1)'
  23581. },
  23582. 'leave-to': {
  23583. opacity: 0,
  23584. transform: 'scale(0.95)'
  23585. }
  23586. }
  23587. };
  23588. exports.default = _default;
  23589. /***/ }),
  23590. /* 459 */,
  23591. /* 460 */,
  23592. /* 461 */,
  23593. /* 462 */,
  23594. /* 463 */,
  23595. /* 464 */,
  23596. /* 465 */,
  23597. /* 466 */
  23598. /*!********************************************************************************************************************************************************!*\
  23599. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-status-bar/props.js ***!
  23600. \********************************************************************************************************************************************************/
  23601. /*! no static exports found */
  23602. /***/ (function(module, exports, __webpack_require__) {
  23603. "use strict";
  23604. /* WEBPACK VAR INJECTION */(function(uni) {
  23605. Object.defineProperty(exports, "__esModule", {
  23606. value: true
  23607. });
  23608. exports.default = void 0;
  23609. var _default = {
  23610. props: {
  23611. bgColor: {
  23612. type: String,
  23613. default: uni.$u.props.statusBar.bgColor
  23614. }
  23615. }
  23616. };
  23617. exports.default = _default;
  23618. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23619. /***/ }),
  23620. /* 467 */,
  23621. /* 468 */,
  23622. /* 469 */,
  23623. /* 470 */,
  23624. /* 471 */,
  23625. /* 472 */,
  23626. /* 473 */,
  23627. /* 474 */
  23628. /*!*********************************************************************************************************************************************************!*\
  23629. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-safe-bottom/props.js ***!
  23630. \*********************************************************************************************************************************************************/
  23631. /*! no static exports found */
  23632. /***/ (function(module, exports, __webpack_require__) {
  23633. "use strict";
  23634. Object.defineProperty(exports, "__esModule", {
  23635. value: true
  23636. });
  23637. exports.default = void 0;
  23638. var _default = {
  23639. props: {}
  23640. };
  23641. exports.default = _default;
  23642. /***/ }),
  23643. /* 475 */,
  23644. /* 476 */,
  23645. /* 477 */,
  23646. /* 478 */,
  23647. /* 479 */,
  23648. /* 480 */,
  23649. /* 481 */,
  23650. /* 482 */
  23651. /*!**************************************************************************************************************************************************!*\
  23652. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-text/props.js ***!
  23653. \**************************************************************************************************************************************************/
  23654. /*! no static exports found */
  23655. /***/ (function(module, exports, __webpack_require__) {
  23656. "use strict";
  23657. /* WEBPACK VAR INJECTION */(function(uni) {
  23658. Object.defineProperty(exports, "__esModule", {
  23659. value: true
  23660. });
  23661. exports.default = void 0;
  23662. var _default = {
  23663. props: {
  23664. // 主题颜色
  23665. type: {
  23666. type: String,
  23667. default: uni.$u.props.text.type
  23668. },
  23669. // 是否显示
  23670. show: {
  23671. type: Boolean,
  23672. default: uni.$u.props.text.show
  23673. },
  23674. // 显示的值
  23675. text: {
  23676. type: [String, Number],
  23677. default: uni.$u.props.text.text
  23678. },
  23679. // 前置图标
  23680. prefixIcon: {
  23681. type: String,
  23682. default: uni.$u.props.text.prefixIcon
  23683. },
  23684. // 后置图标
  23685. suffixIcon: {
  23686. type: String,
  23687. default: uni.$u.props.text.suffixIcon
  23688. },
  23689. // 文本处理的匹配模式
  23690. // text-普通文本,price-价格,phone-手机号,name-姓名,date-日期,link-超链接
  23691. mode: {
  23692. type: String,
  23693. default: uni.$u.props.text.mode
  23694. },
  23695. // mode=link下,配置的链接
  23696. href: {
  23697. type: String,
  23698. default: uni.$u.props.text.href
  23699. },
  23700. // 格式化规则
  23701. format: {
  23702. type: [String, Function],
  23703. default: uni.$u.props.text.format
  23704. },
  23705. // mode=phone时,点击文本是否拨打电话
  23706. call: {
  23707. type: Boolean,
  23708. default: uni.$u.props.text.call
  23709. },
  23710. // 小程序的打开方式
  23711. openType: {
  23712. type: String,
  23713. default: uni.$u.props.text.openType
  23714. },
  23715. // 是否粗体,默认normal
  23716. bold: {
  23717. type: Boolean,
  23718. default: uni.$u.props.text.bold
  23719. },
  23720. // 是否块状
  23721. block: {
  23722. type: Boolean,
  23723. default: uni.$u.props.text.block
  23724. },
  23725. // 文本显示的行数,如果设置,超出此行数,将会显示省略号
  23726. lines: {
  23727. type: [String, Number],
  23728. default: uni.$u.props.text.lines
  23729. },
  23730. // 文本颜色
  23731. color: {
  23732. type: String,
  23733. default: uni.$u.props.text.color
  23734. },
  23735. // 字体大小
  23736. size: {
  23737. type: [String, Number],
  23738. default: uni.$u.props.text.size
  23739. },
  23740. // 图标的样式
  23741. iconStyle: {
  23742. type: [Object, String],
  23743. default: uni.$u.props.text.iconStyle
  23744. },
  23745. // 文字装饰,下划线,中划线等,可选值 none|underline|line-through
  23746. decoration: {
  23747. tepe: String,
  23748. default: uni.$u.props.text.decoration
  23749. },
  23750. // 外边距,对象、字符串,数值形式均可
  23751. margin: {
  23752. type: [Object, String, Number],
  23753. default: uni.$u.props.text.margin
  23754. },
  23755. // 文本行高
  23756. lineHeight: {
  23757. type: [String, Number],
  23758. default: uni.$u.props.text.lineHeight
  23759. },
  23760. // 文本对齐方式,可选值left|center|right
  23761. align: {
  23762. type: String,
  23763. default: uni.$u.props.text.align
  23764. },
  23765. // 文字换行,可选值break-word|normal|anywhere
  23766. wordWrap: {
  23767. type: String,
  23768. default: uni.$u.props.text.wordWrap
  23769. }
  23770. }
  23771. };
  23772. exports.default = _default;
  23773. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23774. /***/ }),
  23775. /* 483 */,
  23776. /* 484 */,
  23777. /* 485 */,
  23778. /* 486 */,
  23779. /* 487 */,
  23780. /* 488 */,
  23781. /* 489 */,
  23782. /* 490 */,
  23783. /* 491 */,
  23784. /* 492 */,
  23785. /* 493 */,
  23786. /* 494 */,
  23787. /* 495 */
  23788. /*!**************************************************************************************************************************************************!*\
  23789. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-text/value.js ***!
  23790. \**************************************************************************************************************************************************/
  23791. /*! no static exports found */
  23792. /***/ (function(module, exports, __webpack_require__) {
  23793. "use strict";
  23794. /* WEBPACK VAR INJECTION */(function(uni) {
  23795. Object.defineProperty(exports, "__esModule", {
  23796. value: true
  23797. });
  23798. exports.default = void 0;
  23799. var _default = {
  23800. computed: {
  23801. // 经处理后需要显示的值
  23802. value: function value() {
  23803. var text = this.text,
  23804. mode = this.mode,
  23805. format = this.format,
  23806. href = this.href;
  23807. // 价格类型
  23808. if (mode === 'price') {
  23809. // 如果text不为金额进行提示
  23810. if (!/^\d+(\.\d+)?$/.test(text)) {
  23811. uni.$u.error('金额模式下,text参数需要为金额格式');
  23812. }
  23813. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的金额格式化处理
  23814. if (uni.$u.test.func(format)) {
  23815. // 如果用户传入的是函数,使用函数格式化
  23816. return format(text);
  23817. }
  23818. // 如果format非正则,非函数,则使用默认的金额格式化方法进行操作
  23819. return uni.$u.priceFormat(text, 2);
  23820. }
  23821. if (mode === 'date') {
  23822. // 判断是否合法的日期或者时间戳
  23823. !uni.$u.test.date(text) && uni.$u.error('日期模式下,text参数需要为日期或时间戳格式');
  23824. // 进行格式化,判断用户传入的format参数为正则,或者函数,如果没有传入format,则使用默认的格式化处理
  23825. if (uni.$u.test.func(format)) {
  23826. // 如果用户传入的是函数,使用函数格式化
  23827. return format(text);
  23828. }
  23829. if (format) {
  23830. // 如果format非正则,非函数,则使用默认的时间格式化方法进行操作
  23831. return uni.$u.timeFormat(text, format);
  23832. }
  23833. // 如果没有设置format,则设置为默认的时间格式化形式
  23834. return uni.$u.timeFormat(text, 'yyyy-mm-dd');
  23835. }
  23836. if (mode === 'phone') {
  23837. // 判断是否合法的手机号
  23838. // !uni.$u.test.mobile(text) && uni.$u.error('手机号模式下,text参数需要为手机号码格式')
  23839. if (uni.$u.test.func(format)) {
  23840. // 如果用户传入的是函数,使用函数格式化
  23841. return format(text);
  23842. }
  23843. if (format === 'encrypt') {
  23844. // 如果format为encrypt,则将手机号进行星号加密处理
  23845. return "".concat(text.substr(0, 3), "****").concat(text.substr(7));
  23846. }
  23847. return text;
  23848. }
  23849. if (mode === 'name') {
  23850. // 判断是否合法的字符粗
  23851. !(typeof text === 'string') && uni.$u.error('姓名模式下,text参数需要为字符串格式');
  23852. if (uni.$u.test.func(format)) {
  23853. // 如果用户传入的是函数,使用函数格式化
  23854. return format(text);
  23855. }
  23856. if (format === 'encrypt') {
  23857. // 如果format为encrypt,则将姓名进行星号加密处理
  23858. return this.formatName(text);
  23859. }
  23860. return text;
  23861. }
  23862. if (mode === 'link') {
  23863. // 判断是否合法的字符粗
  23864. !uni.$u.test.url(href) && uni.$u.error('超链接模式下,href参数需要为URL格式');
  23865. return text;
  23866. }
  23867. return text;
  23868. }
  23869. },
  23870. methods: {
  23871. // 默认的姓名脱敏规则
  23872. formatName: function formatName(name) {
  23873. var value = '';
  23874. if (name.length === 2) {
  23875. value = name.substr(0, 1) + '*';
  23876. } else if (name.length > 2) {
  23877. var char = '';
  23878. for (var i = 0, len = name.length - 2; i < len; i++) {
  23879. char += '*';
  23880. }
  23881. value = name.substr(0, 1) + char + name.substr(-1, 1);
  23882. } else {
  23883. value = name;
  23884. }
  23885. return value;
  23886. }
  23887. }
  23888. };
  23889. exports.default = _default;
  23890. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23891. /***/ }),
  23892. /* 496 */,
  23893. /* 497 */,
  23894. /* 498 */,
  23895. /* 499 */,
  23896. /* 500 */,
  23897. /* 501 */,
  23898. /* 502 */,
  23899. /* 503 */
  23900. /*!**************************************************************************************************************************************************!*\
  23901. !*** E:/存放文件/驿站/工作目录/实验设备管理系统(广州医科大学生物医学工程学院)/lab-equipment-project/lab-equipment-mini-program/node_modules/uview-ui/components/u-link/props.js ***!
  23902. \**************************************************************************************************************************************************/
  23903. /*! no static exports found */
  23904. /***/ (function(module, exports, __webpack_require__) {
  23905. "use strict";
  23906. /* WEBPACK VAR INJECTION */(function(uni) {
  23907. Object.defineProperty(exports, "__esModule", {
  23908. value: true
  23909. });
  23910. exports.default = void 0;
  23911. var _default = {
  23912. props: {
  23913. // 文字颜色
  23914. color: {
  23915. type: String,
  23916. default: uni.$u.props.link.color
  23917. },
  23918. // 字体大小,单位px
  23919. fontSize: {
  23920. type: [String, Number],
  23921. default: uni.$u.props.link.fontSize
  23922. },
  23923. // 是否显示下划线
  23924. underLine: {
  23925. type: Boolean,
  23926. default: uni.$u.props.link.underLine
  23927. },
  23928. // 要跳转的链接
  23929. href: {
  23930. type: String,
  23931. default: uni.$u.props.link.href
  23932. },
  23933. // 小程序中复制到粘贴板的提示语
  23934. mpTips: {
  23935. type: String,
  23936. default: uni.$u.props.link.mpTips
  23937. },
  23938. // 下划线颜色
  23939. lineColor: {
  23940. type: String,
  23941. default: uni.$u.props.link.lineColor
  23942. },
  23943. // 超链接的问题,不使用slot形式传入,是因为nvue下无法修改颜色
  23944. text: {
  23945. type: String,
  23946. default: uni.$u.props.link.text
  23947. }
  23948. }
  23949. };
  23950. exports.default = _default;
  23951. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
  23952. /***/ })
  23953. ]]);
  23954. =======
  23955. t.read=function(e,t,r,n,o){var i,a,u=8*o-n-1,s=(1<<u)-1,l=s>>1,c=-7,f=r?o-1:0,p=r?-1:1,d=e[t+f];for(f+=p,i=d&(1<<-c)-1,d>>=-c,c+=u;c>0;i=256*i+e[t+f],f+=p,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=p,c-=8);if(0===i)i=1-l;else{if(i===s)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),i-=l}return(d?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,u,s,l=8*i-o-1,c=(1<<l)-1,f=c>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:i-1,h=n?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),t+=a+f>=1?p/s:p*Math.pow(2,1-f),t*s>=2&&(a++,s/=2),a+f>=c?(u=0,a=c):a+f>=1?(u=(t*s-1)*Math.pow(2,o),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+d]=255&u,d+=h,u/=256,o-=8);for(a=a<<o|u,l+=o;l>0;e[r+d]=255&a,d+=h,a/=256,l-=8);e[r+d-h]|=128*v}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";(function(e){var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(31)),i=n(r(33)),a=n(r(23)),u=n(r(24)),s=function(){function t(){(0,a.default)(this,t),this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}return(0,u.default)(t,[{key:"addRootPath",value:function(e){return"/"===e[0]?e:"/".concat(e)}},{key:"mixinParam",value:function(t,r){t=t&&this.addRootPath(t);var n="";return/.*\/.*\?.*=.*/.test(t)?(n=e.$u.queryParams(r,!1),t+"&".concat(n)):(n=e.$u.queryParams(r),t+n)}},{key:"route",value:function(){var t=(0,i.default)(o.default.mark((function t(){var r,n,i,a,u=arguments;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(r=u.length>0&&void 0!==u[0]?u[0]:{},n=u.length>1&&void 0!==u[1]?u[1]:{},i={},"string"===typeof r?(i.url=this.mixinParam(r,n),i.type="navigateTo"):(i=e.$u.deepMerge(this.config,r),i.url=this.mixinParam(r.url,r.params)),i.url!==e.$u.page()){t.next=6;break}return t.abrupt("return");case 6:if(n.intercept&&(this.config.intercept=n.intercept),i.params=n,i=e.$u.deepMerge(this.config,i),"function"!==typeof e.$u.routeIntercept){t.next=16;break}return t.next=12,new Promise((function(t,r){e.$u.routeIntercept(i,t)}));case 12:a=t.sent,a&&this.openPage(i),t.next=17;break;case 16:this.openPage(i);case 17:case"end":return t.stop()}}),t,this)})));function r(){return t.apply(this,arguments)}return r}()},{key:"openPage",value:function(t){var r=t.url,n=(t.type,t.delta),o=t.animationType,i=t.animationDuration;"navigateTo"!=t.type&&"to"!=t.type||e.navigateTo({url:r,animationType:o,animationDuration:i}),"redirectTo"!=t.type&&"redirect"!=t.type||e.redirectTo({url:r}),"switchTab"!=t.type&&"tab"!=t.type||e.switchTab({url:r}),"reLaunch"!=t.type&&"launch"!=t.type||e.reLaunch({url:r}),"navigateBack"!=t.type&&"back"!=t.type||e.navigateBack({delta:n})}}]),t}(),l=(new s).route;t.default=l}).call(this,r(2)["default"])},function(e,t,r){"use strict";function n(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(0, 0, 0)",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgb(255, 255, 255)",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,n=o(e,!1),a=n[0],u=n[1],s=n[2],l=o(t,!1),c=l[0],f=l[1],p=l[2],d=(c-a)/r,h=(f-u)/r,v=(p-s)/r,y=[],g=0;g<r;g++){var m=i("rgb(".concat(Math.round(d*g+a),",").concat(Math.round(h*g+u),",").concat(Math.round(v*g+s),")"));0===g&&(m=i(e)),g===r-1&&(m=i(t)),y.push(m)}return y}function o(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(e=String(e).toLowerCase(),e&&r.test(e)){if(4===e.length){for(var n="#",o=1;o<4;o+=1)n+=e.slice(o,o+1).concat(e.slice(o,o+1));e=n}for(var i=[],a=1;a<7;a+=2)i.push(parseInt("0x".concat(e.slice(a,a+2))));return t?"rgb(".concat(i[0],",").concat(i[1],",").concat(i[2],")"):i}if(/^(rgb|RGB)/.test(e)){var u=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");return u.map((function(e){return Number(e)}))}return e}function i(e){var t=e,r=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(/^(rgb|RGB)/.test(t)){for(var n=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),o="#",i=0;i<n.length;i++){var a=Number(n[i]).toString(16);a=1==String(a).length?"".concat(0,a):a,"0"===a&&(a+=a),o+=a}return 7!==o.length&&(o=t),o}if(!r.test(t))return t;var u=t.replace(/#/,"").split("");if(6===u.length)return t;if(3===u.length){for(var s="#",l=0;l<u.length;l+=1)s+=u[l]+u[l];return s}}function a(e,t){e=i(e);var r=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/,n=String(e).toLowerCase();if(n&&r.test(n)){if(4===n.length){for(var o="#",a=1;a<4;a+=1)o+=n.slice(a,a+1).concat(n.slice(a,a+1));n=o}for(var u=[],s=1;s<7;s+=2)u.push(parseInt("0x".concat(n.slice(s,s+2))));return"rgba(".concat(u.join(","),",").concat(t,")")}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={colorGradient:n,hexToRgb:o,rgbToHex:i,colorToRgba:a};t.default=u},function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(13));function i(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)}function a(e){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(e)}function u(e){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(e)}function s(e){return!!e&&(c(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))}function l(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)}function c(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function f(e){return"string"===typeof e}function p(e){return/^\d+$/.test(e)}function d(e){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(e)}function h(e){var t=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/,r=/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/;return 7===e.length?r.test(e):8===e.length&&t.test(e)}function v(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)}function y(e){var t=/^[\u4e00-\u9fa5]+$/gi;return t.test(e)}function g(e){return/^[a-zA-Z]*$/.test(e)}function m(e){var t=/^[0-9a-zA-Z]*$/g;return t.test(e)}function b(e,t){return e.indexOf(t)>=0}function w(e,t){return e>=t[0]&&e<=t[1]}function A(e,t){return e.length>=t[0]&&e.length<=t[1]}function _(e){var t=/^\d{3,4}-\d{7,8}(-\d{3,4})?$/;return t.test(e)}function S(e){switch((0,o.default)(e)){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function O(e){if("string"===typeof e)try{var t=JSON.parse(e);return!("object"!==(0,o.default)(t)||!t)}catch(r){return!1}return!1}function x(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function j(e){return"[object Object]"===Object.prototype.toString.call(e)}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)}function E(e){return"function"===typeof e}function k(e){return j(e)&&E(e.then)&&E(e.catch)}function B(e){var t=e.split("?")[0],r=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;return r.test(t)}function C(e){var t=/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i;return t.test(e)}function $(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)}var T={email:i,mobile:a,url:u,date:s,dateISO:l,number:c,digits:p,idCard:d,carNo:h,amount:v,chinese:y,letter:g,enOrNum:m,contains:b,range:w,rangeLength:A,empty:S,isEmpty:S,jsonString:O,landline:_,object:j,array:x,code:P,func:E,promise:k,video:C,image:B,regExp:$,string:f};t.default=T},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=null;function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==n&&clearTimeout(n),r){var o=!n;n=setTimeout((function(){n=null}),t),o&&"function"===typeof e&&e()}else n=setTimeout((function(){"function"===typeof e&&e()}),t)}var i=o;t.default=i},function(e,t,r){"use strict";var n;function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];r?n||(n=!0,"function"===typeof e&&e(),setTimeout((function(){n=!1}),t)):n||(n=!0,setTimeout((function(){n=!1,"function"===typeof e&&e()}),t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o;t.default=i},function(e,t,r){"use strict";(function(e){var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(5)),i=n(r(13)),a=n(r(61)),u=r(65);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.max(e,Math.min(t,Number(r)))}function l(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a.default.number(t)?r?"".concat(t,"px"):Number(t):/(rpx|upx)$/.test(t)?r?"".concat(e.upx2px(parseInt(t)),"px"):Number(e.upx2px(parseInt(t))):r?"".concat(parseInt(t),"px"):parseInt(t)}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;return new Promise((function(t){setTimeout((function(){t()}),e)}))}function f(){return e.getSystemInfoSync().platform.toLowerCase()}function p(){return e.getSystemInfoSync()}function d(e,t){if(e>=0&&t>0&&t>=e){var r=t-e+1;return Math.floor(Math.random()*r+e)}return 0}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),o=[];if(r=r||n.length,e)for(var i=0;i<e;i++)o[i]=n[0|Math.random()*r];else{var a;o[8]=o[13]=o[18]=o[23]="-",o[14]="4";for(var u=0;u<36;u++)o[u]||(a=0|16*Math.random(),o[u]=n[19==u?3&a|8:a])}return t?(o.shift(),"u".concat(o.join(""))):o.join("")}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this.$parent;while(t){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"object";if(a.default.empty(e)||"object"===(0,i.default)(e)&&"object"===t||"string"===t&&"string"===typeof e)return e;if("object"===t){e=O(e);for(var r=e.split(";"),n={},o=0;o<r.length;o++)if(r[o]){var u=r[o].split(":");n[O(u[0])]=O(u[1])}return n}var s="";for(var l in e){var c=l.replace(/([A-Z])/g,"-$1").toLowerCase();s+="".concat(c,":").concat(e[l],";")}return O(s)}function g(){var t,r,n,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto",u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null!==(t=null===(r=e)||void 0===r||null===(n=r.$u)||void 0===n||null===(o=n.config)||void 0===o?void 0:o.unit)&&void 0!==t?t:"px";return i=String(i),a.default.number(i)?"".concat(i).concat(u):i}function m(e){if([null,void 0,NaN,!1].includes(e))return e;if("object"!==(0,i.default)(e)&&"function"!==typeof e)return e;var t=a.default.array(e)?[]:{};for(var r in e)e.hasOwnProperty(r)&&(t[r]="object"===(0,i.default)(e[r])?m(e[r]):e[r]);return t}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e=m(e),"object"!==(0,i.default)(e)||"object"!==(0,i.default)(t))return!1;for(var r in t)t.hasOwnProperty(r)&&(r in e?"object"!==(0,i.default)(e[r])||"object"!==(0,i.default)(t[r])?e[r]=t[r]:e[r].concat&&t[r].concat?e[r]=e[r].concat(t[r]):e[r]=b(e[r],t[r]):e[r]=t[r]);return e}function w(e){console.error("uView提示:".concat(e))}function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.sort((function(){return Math.random()-.5}))}function _(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";e=t?/^\d{10}$/.test(null===t||void 0===t?void 0:t.toString().trim())?new Date(1e3*t):"string"===typeof t&&/^\d+$/.test(t.trim())?new Date(Number(t)):"string"===typeof t&&t.includes("-")&&!t.includes("T")?new Date(t.replace(/-/g,"/")):new Date(t):new Date;var n={y:e.getFullYear().toString(),m:(e.getMonth()+1).toString().padStart(2,"0"),d:e.getDate().toString().padStart(2,"0"),h:e.getHours().toString().padStart(2,"0"),M:e.getMinutes().toString().padStart(2,"0"),s:e.getSeconds().toString().padStart(2,"0")};for(var i in n){var a=new RegExp("".concat(i,"+")).exec(r)||[],u=(0,o.default)(a,1),s=u[0];if(s){var l="y"===i&&2===s.length?2:0;r=r.replace(s,n[i].slice(l))}}return r}function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";null==e&&(e=Number(new Date)),e=parseInt(e),10==e.toString().length&&(e*=1e3);var r=(new Date).getTime()-e;r=parseInt(r/1e3);var n="";switch(!0){case r<300:n="刚刚";break;case r>=300&&r<3600:n="".concat(parseInt(r/60),"分钟前");break;case r>=3600&&r<86400:n="".concat(parseInt(r/3600),"小时前");break;case r>=86400&&r<2592e3:n="".concat(parseInt(r/86400),"天前");break;default:n=!1===t?r>=2592e3&&r<31536e3?"".concat(parseInt(r/2592e3),"个月前"):"".concat(parseInt(r/31536e3),"年前"):_(e,t)}return n}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"both";return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"brackets",n=t?"?":"",o=[];-1==["indices","brackets","repeat","comma"].indexOf(r)&&(r="brackets");var i=function(t){var n=e[t];if(["",void 0,null].indexOf(n)>=0)return"continue";if(n.constructor===Array)switch(r){case"indices":for(var i=0;i<n.length;i++)o.push("".concat(t,"[").concat(i,"]=").concat(n[i]));break;case"brackets":n.forEach((function(e){o.push("".concat(t,"[]=").concat(e))}));break;case"repeat":n.forEach((function(e){o.push("".concat(t,"=").concat(e))}));break;case"comma":var a="";n.forEach((function(e){a+=(a?",":"")+e})),o.push("".concat(t,"=").concat(a));break;default:n.forEach((function(e){o.push("".concat(t,"[]=").concat(e))}))}else o.push("".concat(t,"=").concat(n))};for(var a in e)i(a);return o.length?n+o.join("&"):""}function j(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3;e.showToast({title:String(t),icon:"none",duration:r})}function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");var r="";switch(e){case"primary":r="info-circle";break;case"info":r="info-circle";break;case"error":r="close-circle";break;case"warning":r="error-circle";break;case"success":r="checkmark-circle";break;default:r="checkmark-circle"}return t&&(r+="-fill"),r}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";e="".concat(e).replace(/[^0-9+-Ee.]/g,"");var o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,a="undefined"===typeof n?",":n,s="undefined"===typeof r?".":r,l="";l=(i?(0,u.round)(o,i)+"":"".concat(Math.round(o))).split(".");var c=/(-?\d+)(\d{3})/;while(c.test(l[0]))l[0]=l[0].replace(c,"$1".concat(a,"$2"));return(l[1]||"").length<i&&(l[1]=l[1]||"",l[1]+=new Array(i-l[1].length+1).join("0")),l.join(s)}function k(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=parseInt(e);return t?/s$/.test(e)?e:"".concat(e,e>30?"ms":"s"):/ms$/.test(e)?r:/s$/.test(e)?r>30?r:1e3*r:r}function B(e){return"00".concat(e).slice(-2)}function C(t,r){var n=e.$u.$parent.call(t,"u-form-item"),o=e.$u.$parent.call(t,"u-form");n&&o&&o.validateField(n.prop,(function(){}),r)}function $(e,t){if(e){if("string"!==typeof t||""===t)return"";if(-1!==t.indexOf(".")){for(var r=t.split("."),n=e[r[0]]||{},o=1;o<r.length;o++)n&&(n=n[r[o]]);return n}return e[t]}}function T(e,t,r){if(e){var n=function e(t,r,n){if(1!==r.length)while(r.length>1){var o=r[0];t[o]&&"object"===(0,i.default)(t[o])||(t[o]={});r.shift();e(t[o],r,n)}else t[r[0]]=n};if("string"!==typeof t||""===t);else if(-1!==t.indexOf(".")){var o=t.split(".");n(e,o,r)}else e[t]=r}}function M(){var e,t,r=getCurrentPages();return"/".concat(null!==(e=null===(t=r[r.length-1])||void 0===t?void 0:t.route)&&void 0!==e?e:"")}function I(){var e=getCurrentPages();return e}function N(t){var r=t.props,n=void 0===r?{}:r,o=t.config,i=void 0===o?{}:o,a=t.color,u=void 0===a?{}:a,s=t.zIndex,l=void 0===s?{}:s,c=e.$u.deepMerge;e.$u.config=c(e.$u.config,i),e.$u.props=c(e.$u.props,n),e.$u.color=c(e.$u.color,u),e.$u.zIndex=c(e.$u.zIndex,l)}String.prototype.padStart||(String.prototype.padStart=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");var r=this;if(r.length>=e)return String(r);var n=e-r.length,o=Math.ceil(n/t.length);while(o>>=1)t+=t,1===o&&(t+=t);return t.slice(0,n)+r});var L={range:s,getPx:l,sleep:c,os:f,sys:p,random:d,guid:h,$parent:v,addStyle:y,addUnit:g,deepClone:m,deepMerge:b,error:w,randomArray:A,timeFormat:_,timeFrom:S,trim:O,queryParams:x,toast:j,type2icon:P,priceFormat:E,getDuration:k,padZero:B,formValidate:C,getProperty:$,setProperty:T,page:M,pages:I,setConfig:N};t.default=L}).call(this,r(2)["default"])},function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.divide=h,t.enableBoundaryChecking=y,t.minus=d,t.plus=p,t.round=v,t.times=f;var o=n(r(66)),i=!0;function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;return+parseFloat(Number(e).toPrecision(t))}function u(e){var t=e.toString().split(/[eE]/),r=(t[0].split(".")[1]||"").length-+(t[1]||0);return r>0?r:0}function s(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));var t=u(e);return t>0?a(Number(e)*Math.pow(10,t)):Number(e)}function l(e){i&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn("".concat(e," 超出了精度限制,结果可能不正确"))}function c(e,t){var r=(0,o.default)(e),n=r[0],i=r[1],a=r.slice(2),u=t(n,i);return a.forEach((function(e){u=t(u,e)})),u}function f(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return c(t,f);var n=t[0],o=t[1],i=s(n),a=s(o),p=u(n)+u(o),d=i*a;return l(d),d/Math.pow(10,p)}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return c(t,p);var n=t[0],o=t[1],i=Math.pow(10,Math.max(u(n),u(o)));return(f(n,i)+f(o,i))/i}function d(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return c(t,d);var n=t[0],o=t[1],i=Math.pow(10,Math.max(u(n),u(o)));return(f(n,i)-f(o,i))/i}function h(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>2)return c(t,h);var n=t[0],o=t[1],i=s(n),p=s(o);return l(i),l(p),f(i/p,a(Math.pow(10,u(o)-u(n))))}function v(e,t){var r=Math.pow(10,t),n=h(Math.round(Math.abs(f(e,r))),r);return e<0&&0!==n&&(n=f(n,-1)),n}function y(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];i=e}var g={times:f,plus:p,minus:d,divide:h,round:v,enableBoundaryChecking:y};t.default=g},function(e,t,r){var n=r(6),o=r(20),i=r(8),a=r(10);function u(e){return n(e)||o(e)||i(e)||a()}e.exports=u,e.exports.__esModule=!0,e.exports["default"]=e.exports},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="2.0.34";console.log("\n %c uView V".concat(n," %c https://uviewui.com/ \n\n"),"color: #ffffff; background: #3c9cff; padding:5px 0; border-radius: 5px;");var o={v:n,version:n,type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc"},unit:"px"};t.default=o},function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(11)),i=n(r(67)),a=n(r(69)),u=n(r(70)),s=n(r(71)),l=n(r(72)),c=n(r(73)),f=n(r(74)),p=n(r(75)),d=n(r(76)),h=n(r(77)),v=n(r(78)),y=n(r(79)),g=n(r(80)),m=n(r(81)),b=n(r(82)),w=n(r(83)),A=n(r(84)),_=n(r(85)),S=n(r(86)),O=n(r(87)),x=n(r(88)),j=n(r(89)),P=n(r(90)),E=n(r(91)),k=n(r(92)),B=n(r(93)),C=n(r(94)),$=n(r(95)),T=n(r(96)),M=n(r(97)),I=n(r(98)),N=n(r(99)),L=n(r(100)),D=n(r(101)),F=n(r(102)),Q=n(r(103)),U=n(r(104)),R=n(r(105)),z=n(r(106)),q=n(r(107)),H=n(r(108)),V=n(r(109)),Y=n(r(110)),W=n(r(111)),J=n(r(112)),X=n(r(113)),K=n(r(114)),G=n(r(115)),Z=n(r(117)),ee=n(r(118)),te=n(r(119)),re=n(r(120)),ne=n(r(121)),oe=n(r(122)),ie=n(r(123)),ae=n(r(124)),ue=n(r(125)),se=n(r(126)),le=n(r(127)),ce=n(r(128)),fe=n(r(129)),pe=n(r(130)),de=n(r(131)),he=n(r(132)),ve=n(r(133)),ye=n(r(134)),ge=n(r(135)),me=n(r(136)),be=n(r(137)),we=n(r(138)),Ae=n(r(139)),_e=n(r(140)),Se=n(r(141)),Oe=n(r(142)),xe=n(r(143)),je=n(r(144)),Pe=n(r(145)),Ee=n(r(146)),ke=n(r(147)),Be=n(r(148)),Ce=n(r(149)),$e=n(r(150)),Te=n(r(151)),Me=n(r(152)),Ie=n(r(153)),Ne=n(r(154)),Le=n(r(155)),De=n(r(156)),Fe=n(r(157));function Qe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ue(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}i.default.color;var Re=Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue(Ue({},a.default),u.default),s.default),l.default),c.default),f.default),p.default),d.default),h.default),v.default),y.default),g.default),m.default),b.default),w.default),A.default),_.default),S.default),O.default),x.default),j.default),P.default),E.default),k.default),B.default),C.default),$.default),T.default),M.default),I.default),N.default),L.default),D.default),F.default),Q.default),U.default),R.default),z.default),q.default),H.default),V.default),Y.default),W.default),J.default),X.default),K.default),G.default),Z.default),ee.default),te.default),re.default),ne.default),oe.default),ie.default),ae.default),ue.default),se.default),le.default),ce.default),fe.default),pe.default),de.default),he.default),ve.default),ye.default),ge.default),me.default),be.default),we.default),Ae.default),_e.default),Se.default),Oe.default),xe.default),je.default),Pe.default),Ee.default),ke.default),Be.default),Ce.default),$e.default),Te.default),Me.default),Ie.default),Ne.default),Le.default),De.default),Fe.default);t.default=Re},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={actionSheet:{show:!1,title:"",description:"",actions:function(){return[]},index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={album:{urls:function(){return[]},keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={avatarGroup:{urls:function(){return[]},maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:function(){return{color:"#909399",fontSize:"19px"}}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:function(){return[]},inverted:!1,absolute:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={calendar:{title:"日期选择",showTitle:!0,showSubtitle:!0,mode:"single",startText:"开始",endText:"结束",customList:function(){return[]},color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:"确定",confirmDisabledText:"确定",show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={carKeyboard:{random:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={cellGroup:{title:"",border:!0,customStyle:{}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={checkboxGroup:{name:"",value:function(){return[]},shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={circleProgress:{percentage:30}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={code:{seconds:60,startText:"获取验证码",changeText:"X秒重新获取",endText:"重新获取",keepRunning:!1,uniqueKey:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={collapse:{value:null,accordion:!1,border:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={datetimePicker:{show:!1,showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:function(){return[]}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={form:{model:function(){return{}},rules:function(){return{}},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:function(){return{}}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={formItem:{label:"",prop:"",borderBottom:"",labelPosition:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={grid:{col:3,border:!1,align:"left"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={gridItem:{name:null,bgColor:"transparent"}};t.default=n},function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67)),i=o.default.color,a={icon:{name:"",color:i["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:i["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#dedede",height:32}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:function(){return[]},sticky:!0,customNavHeight:0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:-1,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:"取消",confirmText:"确定",autoChange:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12}};t.default=n},function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67)),i=o.default.color,a={link:{color:i["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:"链接已复制,请在浏览器打开",lineColor:"",text:""}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={listItem:{anchor:""}};t.default=n},function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67)),i=o.default.color,a={loadingIcon:{show:!0,color:i["u-tips-color"],textColor:i["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}};t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={loadingPage:{loadingText:"正在加载",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:"加载更多",loadingText:"正在加载...",nomoreText:"没有更多了",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={modal:{show:!1,title:"",content:"",confirmText:"确认",cancelText:"取消",showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:""}};t.default=n},function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(116)),i={navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:o.default.mainColor,autoBack:!1,titleStyle:""}};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"},o=n;t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={noNetwork:{tips:"哎呀,网络信号丢失",zIndex:"",image:"data:image/png;base64,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"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={noticeBar:{text:function(){return[]},direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonSize:30,bgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={numberKeyboard:{mode:"number",dotDisabled:!1,random:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={overlay:{show:!1,zIndex:10070,duration:300,opacity:.5}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={picker:{show:!1,showToolbar:!0,title:"",columns:function(){return[]},loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确定",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,keyName:"text",closeOnClickOverlay:!1,defaultIndex:function(){return[]},immediateChange:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:function(){},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={readMore:{showHeight:400,toggle:!1,closeText:"展开阅读全文",openText:"收起",color:"#2979ff",fontSize:14,textIndent:"2em",name:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={row:{gutter:0,justify:"start",align:"center"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={search:{shape:"round",bgColor:"#f2f2f2",placeholder:"请输入关键字",clearabled:!0,focus:!1,showAction:!0,actionStyle:function(){return{}},actionText:"搜索",inputAlign:"left",inputStyle:function(){return{}},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={section:{title:"",subTitle:"更多",right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:function(){}}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={statusBar:{bgColor:"transparent"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={stepsItem:{title:"",desc:"",iconSize:17,error:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={swipeAction:{autoClose:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={swipeActionItem:{show:!1,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={swiper:{list:function(){return[]},indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={tabs:{duration:300,list:function(){return[]},lineColor:"#3c9cff",activeStyle:function(){return{color:"#303133"}},inactiveStyle:function(){return{color:"#606266"}},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:function(){return{height:"44px"}},scrollable:!0,current:0,keyName:"name"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:function(){return{fontSize:"15px"}},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={toast:{zIndex:10090,loading:!1,text:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:function(){},duration:2e3,isTab:!1,url:"",callback:null,back:!1}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={toolbar:{show:!0,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",title:""}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:function(){return[]},overlay:!0,showToast:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={upload:{accept:"image",capture:function(){return["album","camera"]},compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:function(){return["original","compressed"]},multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:function(){return[]},uploadText:"",width:80,height:80,previewImage:!0}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="none";n="vue2",n="weixin",n="mp";var o=n;t.default=o},,,,,,,,function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.borrowAsset=u,t.borrowList=l,t.getAllPlace=a,t.returnAsset=s,t.searchAsset=i,t.sumBorrow=c;var o=n(r(168));function i(e){return o.default.get("/asset/asset/search",e).then((function(e){return e}))}function a(){return o.default.get("/asset/place/all").then((function(e){return e}))}function u(e,t,r){return o.default.post("/asset/borrow/save/".concat(e,"/").concat(t),r).then((function(e){return e}))}function s(e){return o.default.put("/asset/borrow/return/".concat(e)).then((function(e){return e}))}function l(e){return o.default.get("/asset/borrow/recordList",e).then((function(e){return e}))}function c(e){return o.default.get("/asset/borrow/recordCount",{status:e}).then((function(e){return e}))}},function(e,t,r){"use strict";(function(e){var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(169)),i=r(34),a=n(r(170)),u=r(171),s=new u;s.config.timeout=3e4,s.config.baseURL=o.default,s.interceptors.request.use((function(e){var t=!1===(e.headers||{}).isToken;return(0,i.getToken)()&&!t&&(e.headers["Authorization"]="Bearer ".concat((0,i.getToken)())),e}),(function(e){return Promise.reject(e)})),s.interceptors.response.use((function(t){var r=t.data,n=r.code,o=r.msg,i=r.data,u=n||200,s=a.default[u]||o||a.default["default"];return"blob"===t.request.responseType||"arraybuffer"===t.request.responseType?s:401!==u?500===u?(e.showToast({title:s,icon:"none"}),Promise.reject(new Error(s))):200!==u?(e.showToast({title:s,icon:"none"}),Promise.reject("error")):i:void e.showModal({title:"系统提示",content:"登录状态已过期,请重新登录",success:function(t){t.confirm?e.reLaunch({url:"/pages/logo/index"}):t.cancel&&console.log("用户点击取消")}})}),(function(t){var r=t.message.message;return e.showToast({title:r,duration:5e3,icon:"none"}),Promise.reject(t)}));var l=s;t.default=l}).call(this,r(2)["default"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="http://192.168.0.100:80/dev-api",o=n,i=o;t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={401:"认证失败,无法访问系统资源",403:"当前操作没有权限",404:"访问资源不存在",default:"系统未知错误,请反馈给管理员"};t.default=n},function(e,t,r){(function(t){(function(t,r){e.exports=r()})(0,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=13)}([function(e,t,r){"use strict";var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports={type:function(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()},isObject:function(e,t){return t?"object"===this.type(e):e&&"object"===("undefined"===typeof e?"undefined":n(e))},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},trim:function(e){return e.replace(/(^\s*)|(\s*$)/g,"")},encode:function(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")},formatParams:function(e){var t="",r=!0,n=this;if(!this.isObject(e))return e;function o(e,i){var a=n.encode,u=n.type(e);if("array"==u)e.forEach((function(e,t){n.isObject(e)||(t=""),o(e,i+"%5B"+t+"%5D")}));else if("object"==u)for(var s in e)o(e[s],i?i+"%5B"+a(s)+"%5D":a(s));else r||(t+="&"),r=!1,t+=i+"="+a(e)}return o(e,""),t},merge:function(e,t){for(var r in t)e.hasOwnProperty(r)?this.isObject(t[r],1)&&this.isObject(e[r],1)&&this.merge(e[r],t[r]):e[r]=t[r];return e}}},function(e,t,r){var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=r(0),u="undefined"!==typeof document;function s(e){var t=function(){function t(){i(this,t),this.requestHeaders={},this.readyState=0,this.timeout=0,this.responseURL="",this.responseHeaders={}}return o(t,[{key:"_call",value:function(e){this[e]&&this[e].apply(this,[].splice.call(arguments,1))}},{key:"_changeReadyState",value:function(e){this.readyState=e,this._call("onreadystatechange")}},{key:"open",value:function(e,t){if(this.method=e,t){if(t=a.trim(t),0!==t.indexOf("http")&&u){var r=document.createElement("a");r.href=t,t=r.href}}else t=location.href;this.responseURL=t,this._changeReadyState(1)}},{key:"send",value:function(t){var r=this;t=t||null;var o=this;if(e){var i={method:o.method,url:o.responseURL,headers:o.requestHeaders||{},body:t};a.merge(i,o._options||{}),"GET"===i.method&&(i.body=null),o._changeReadyState(3);var s=void 0;o.timeout=o.timeout||0,o.timeout>0&&(s=setTimeout((function(){3===o.readyState&&(r._call("onloadend"),o._changeReadyState(0),o._call("ontimeout"))}),o.timeout)),i.timeout=o.timeout,e(i,(function(e){function t(t){var r=e[t];return delete e[t],r}if(3===o.readyState){clearTimeout(s),o.status=t("statusCode")-0;var r=t("responseText"),i=t("statusMessage");if(o.status){var a=t("headers"),l={};for(var c in a){var f=a[c],p=c.toLowerCase();"object"===("undefined"===typeof f?"undefined":n(f))?l[p]=f:(l[p]=l[p]||[],l[p].push(f))}var d=l["set-cookie"];u&&d&&d.forEach((function(e){document.cookie=e.replace(/;\s*httpOnly/gi,"")})),o.responseHeaders=l,o.statusText=i||"",o.response=o.responseText=r,o._response=e,o._changeReadyState(4),o._call("onload")}else o.statusText=r,o._call("onerror",{msg:i});o._call("onloadend")}}))}else console.error("Ajax require adapter")}},{key:"setRequestHeader",value:function(e,t){this.requestHeaders[a.trim(e)]=t}},{key:"getResponseHeader",value:function(e){return(this.responseHeaders[e.toLowerCase()]||"").toString()||null}},{key:"getAllResponseHeaders",value:function(){var e="";for(var t in this.responseHeaders)e+=t+":"+this.getResponseHeader(t)+"\r\n";return e||null}},{key:"abort",value:function(e){this._changeReadyState(0),this._call("onerror",{msg:e}),this._call("onloadend")}}],[{key:"setAdapter",value:function(t){e=t}}]),t}();return t}e.exports=s},function(e,t,r){var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=r(0),a="undefined"!==typeof document,u=function(){function e(t){function r(e){var t=void 0,r=void 0;function n(){e.p=t=r=null}i.merge(e,{lock:function(){t||(e.p=new Promise((function(e,n){t=e,r=n})))},unlock:function(){t&&(t(),n())},clear:function(){r&&(r("cancel"),n())}})}o(this,e),this.engine=t||XMLHttpRequest,this.default=this;var n=this.interceptors={response:{use:function(e,t){this.handler=e,this.onerror=t}},request:{use:function(e){this.handler=e}}},a=n.request,u=n.response;r(u),r(a),this.config={method:"GET",baseURL:"",headers:{},timeout:0,params:{},parseJson:!0,withCredentials:!1}}return n(e,[{key:"request",value:function(e,t,r){var n=this,o=new this.engine,u="Content-Type",s=u.toLowerCase(),l=this.interceptors,c=l.request,f=l.response,p=c.handler,d=new Promise((function(l,d){function h(e){return e&&e.then&&e.catch}function v(e,t){e?e.then((function(){t()})):t()}function y(r){t=r.body,e=i.trim(r.url);var n=i.trim(r.baseURL||"");if(e||!a||n||(e=location.href),0!==e.indexOf("http")){var c="/"===e[0];if(!n&&a){var p=location.pathname.split("/");p.pop(),n=location.protocol+"//"+location.host+(c?"":p.join("/"))}if("/"!==n[n.length-1]&&(n+="/"),e=n+(c?e.substr(1):e),a){var y=document.createElement("a");y.href=e,e=y.href}}var g=i.trim(r.responseType||""),m=-1!==["GET","HEAD","DELETE","OPTION"].indexOf(r.method),b=i.type(t),w=r.params||{};m&&"object"===b&&(w=i.merge(t,w)),w=i.formatParams(w);var A=[];w&&A.push(w),m&&t&&"string"===b&&A.push(t),A.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+A.join("&")),o.open(r.method,e);try{o.withCredentials=!!r.withCredentials,o.timeout=r.timeout||0,"stream"!==g&&(o.responseType=g)}catch(E){}var _=r.headers[u]||r.headers[s],S="application/x-www-form-urlencoded";for(var O in i.trim((_||"").toLowerCase())===S?t=i.formatParams(t):i.isFormData(t)||-1===["object","array"].indexOf(i.type(t))||(S="application/json;charset=utf-8",t=JSON.stringify(t)),_||m||(r.headers[u]=S),r.headers)if(O===u&&i.isFormData(t))delete r.headers[O];else try{o.setRequestHeader(O,r.headers[O])}catch(E){}function x(e,t,n){v(f.p,(function(){if(e){n&&(t.request=r);var o=e.call(f,t,Promise);t=void 0===o?t:o}h(t)||(t=Promise[0===n?"resolve":"reject"](t)),t.then((function(e){l(e)})).catch((function(e){d(e)}))}))}function j(e){e.engine=o,x(f.onerror,e,-1)}function P(e,t){this.message=e,this.status=t}o.onload=function(){try{var e=o.response||o.responseText;e&&r.parseJson&&-1!==(o.getResponseHeader(u)||"").indexOf("json")&&!i.isObject(e)&&(e=JSON.parse(e));var t=o.responseHeaders;if(!t){t={};var n=(o.getAllResponseHeaders()||"").split("\r\n");n.pop(),n.forEach((function(e){if(e){var r=e.split(":")[0];t[r]=o.getResponseHeader(r)}}))}var a=o.status,s=o.statusText,l={data:e,headers:t,status:a,statusText:s};if(i.merge(l,o._response),a>=200&&a<300||304===a)l.engine=o,l.request=r,x(f.handler,l,0);else{var c=new P(s,a);c.response=l,j(c)}}catch(c){j(new P(c.msg,o.status))}},o.onerror=function(e){j(new P(e.msg||"Network Error",0))},o.ontimeout=function(){j(new P("timeout [ "+o.timeout+"ms ]",1))},o._options=r,setTimeout((function(){o.send(m?null:t)}),0)}i.isObject(e)&&(r=e,e=r.url),r=r||{},r.headers=r.headers||{},v(c.p,(function(){i.merge(r,JSON.parse(JSON.stringify(n.config)));var o=r.headers;o[u]=o[u]||o[s]||"",delete o[s],r.body=t||r.body,e=i.trim(e||""),r.method=r.method.toUpperCase(),r.url=e;var a=r;p&&(a=p.call(c,r,Promise)||r),h(a)||(a=Promise.resolve(a)),a.then((function(e){e===r?y(e):l(e)}),(function(e){d(e)}))}))}));return d.engine=o,d}},{key:"all",value:function(e){return Promise.all(e)}},{key:"spread",value:function(e){return function(t){return e.apply(null,t)}}}]),e}();u.default=u,["get","post","put","patch","head","delete"].forEach((function(e){u.prototype[e]=function(t,r,n){return this.request(t,r,i.merge({method:e},n))}})),["lock","unlock","clear"].forEach((function(e){u.prototype[e]=function(){this.interceptors.request[e]()}})),e.exports=u},,,,,function(e,r,n){"use strict";e.exports=function(e,r){var n={method:e.method,url:e.url,dataType:e.dataType||void 0,header:e.headers,data:e.body||{},responseType:e.responseType||"text",success:function(e){r({statusCode:e.statusCode,responseText:e.data,headers:e.header,statusMessage:e.errMsg})},fail:function(e){r({statusCode:e.statusCode||0,statusMessage:e.errMsg})}};t.request(n)}},,,,,,function(e,t,r){"use strict";var n=r(2),o=r(1),i=r(7),a=o(i);e.exports=function(e){return new n(e||a)}}])}))}).call(this,r(1)["default"])},,,,,,,,,function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.getInfo=a,t.login=i,t.logout=u;var o=n(r(168));function i(e,t){var r={username:e,password:t};return o.default.post("/login",r,{headers:{isToken:!1}}).then((function(e){return e}))}function a(){return o.default.get("/getInfo").then((function(e){return e}))}function u(){return request({url:"/logout",method:"post"})}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={set:function(t,r){null!=t&&null!=r&&e.setStorageSync(t,r)},get:function(t){return null==t?null:e.getStorageSync(t)},setJSON:function(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON:function(e){var t=this.get(e);if(null!=t)return JSON.parse(t)},remove:function(t){e.removeStorageSync(t)}},n={session:r};t.default=n}).call(this,r(2)["default"])},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.addDateRange=d,t.blobValidate=A,t.dateToString=c,t.handleTree=b,t.mergeRecursive=m,t.parseStrEmpty=g,t.parseTime=f,t.resetForm=p,t.selectDictLabel=h,t.selectDictLabels=v,t.sprintf=y,t.tansParams=w;var o=n(r(31)),i=n(r(33)),a=n(r(13));function u(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=s(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function s(e,t){if(e){if("string"===typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e){function t(e){return e<10?"0"+e:e}var r=new Date(e),n=r.getFullYear(),o=r.getMonth()+1,i=r.getDate(),a=r.getHours(),u=t(r.getMinutes());return n+"-"+o+"-"+i+" "+a+":"+u}function f(e,t){if(0===arguments.length||!e)return null;var r,n=t||"{y}-{m}-{d} {h}:{i}:{s}";"object"===(0,a.default)(e)?r=e:("string"===typeof e&&/^[0-9]+$/.test(e)?e=parseInt(e):"string"===typeof e&&(e=e.replace(new RegExp(/-/gm),"/").replace("T"," ").replace(new RegExp(/\.[\d]{3}/gm),"")),"number"===typeof e&&10===e.toString().length&&(e*=1e3),r=new Date(e));var o={y:r.getFullYear(),m:r.getMonth()+1,d:r.getDate(),h:r.getHours(),i:r.getMinutes(),s:r.getSeconds(),a:r.getDay()},i=n.replace(/{(y|m|d|h|i|s|a)+}/g,(function(e,t){var r=o[t];return"a"===t?["日","一","二","三","四","五","六"][r]:(e.length>0&&r<10&&(r="0"+r),r||0)}));return i}function p(e){this.$refs[e]&&this.$refs[e].resetFields()}function d(e,t,r){var n=e;return n.params="object"!==(0,a.default)(n.params)||null===n.params||Array.isArray(n.params)?{}:n.params,t=Array.isArray(t)?t:[],"undefined"===typeof r?(n.params["beginTime"]=t[0],n.params["endTime"]=t[1]):(n.params["begin"+r]=t[0],n.params["end"+r]=t[1]),n}function h(e,t){if(void 0===t)return"";var r=[];return Object.keys(e).some((function(n){if(e[n].value==""+t)return r.push(e[n].label),!0})),0===r.length&&r.push(t),r.join("")}function v(e,t,r){if(void 0===t)return"";var n=[],o=void 0===r?",":r,i=t.split(o);return Object.keys(t.split(o)).some((function(t){var r=!1;Object.keys(e).some((function(a){e[a].value==""+i[t]&&(n.push(e[a].label+o),r=!0)})),r||n.push(i[t]+o)})),n.join("").substring(0,n.join("").length-1)}function y(e){var t=arguments,r=!0,n=1;return e=e.replace(/%s/g,(function(){var e=t[n++];return"undefined"===typeof e?(r=!1,""):e})),r?e:""}function g(e){return e&&"undefined"!=e&&"null"!=e?e:""}function m(e,t){for(var r in t)try{t[r].constructor==Object?e[r]=m(e[r],t[r]):e[r]=t[r]}catch(n){e[r]=t[r]}return e}function b(e,t,r,n){var o,i={id:t||"id",parentId:r||"parentId",childrenList:n||"children"},a={},s={},l=[],c=u(e);try{for(c.s();!(o=c.n()).done;){var f=o.value,p=f[i.parentId];null==a[p]&&(a[p]=[]),s[f[i.id]]=f,a[p].push(f)}}catch(A){c.e(A)}finally{c.f()}var d,h=u(e);try{for(h.s();!(d=h.n()).done;){var v=d.value,y=v[i.parentId];null==s[y]&&l.push(v)}}catch(A){h.e(A)}finally{h.f()}for(var g=0,m=l;g<m.length;g++){var b=m[g];w(b)}function w(e){if(null!==a[e[i.id]]&&(e[i.childrenList]=a[e[i.id]]),e[i.childrenList]){var t,r=u(e[i.childrenList]);try{for(r.s();!(t=r.n()).done;){var n=t.value;w(n)}}catch(A){r.e(A)}finally{r.f()}}}return l}function w(e){for(var t="",r=0,n=Object.keys(e);r<n.length;r++){var o=n[r],i=e[o],u=encodeURIComponent(o)+"=";if(null!==i&&""!==i&&"undefined"!==typeof i)if("object"===(0,a.default)(i))for(var s=0,l=Object.keys(i);s<l.length;s++){var c=l[s];if(null!==i[c]&&""!==i[c]&&"undefined"!==typeof i[c]){var f=o+"["+c+"]",p=encodeURIComponent(f)+"=";t+=p+encodeURIComponent(i[c])+"&"}}else t+=u+encodeURIComponent(i)+"&"}return t}function A(e){return _.apply(this,arguments)}function _(){return _=(0,i.default)(o.default.mark((function e(t){var r;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.text();case 3:return r=e.sent,JSON.parse(r),e.abrupt("return",!1);case 8:return e.prev=8,e.t0=e["catch"](0),e.abrupt("return",!0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])}))),_.apply(this,arguments)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{shape:{type:String,default:e.$u.props.search.shape},bgColor:{type:String,default:e.$u.props.search.bgColor},placeholder:{type:String,default:e.$u.props.search.placeholder},clearabled:{type:Boolean,default:e.$u.props.search.clearabled},focus:{type:Boolean,default:e.$u.props.search.focus},showAction:{type:Boolean,default:e.$u.props.search.showAction},actionStyle:{type:Object,default:e.$u.props.search.actionStyle},actionText:{type:String,default:e.$u.props.search.actionText},inputAlign:{type:String,default:e.$u.props.search.inputAlign},inputStyle:{type:Object,default:e.$u.props.search.inputStyle},disabled:{type:Boolean,default:e.$u.props.search.disabled},borderColor:{type:String,default:e.$u.props.search.borderColor},searchIconColor:{type:String,default:e.$u.props.search.searchIconColor},color:{type:String,default:e.$u.props.search.color},placeholderColor:{type:String,default:e.$u.props.search.placeholderColor},searchIcon:{type:String,default:e.$u.props.search.searchIcon},searchIconSize:{type:[Number,String],default:e.$u.props.search.searchIconSize},margin:{type:String,default:e.$u.props.search.margin},animation:{type:Boolean,default:e.$u.props.search.animation},value:{type:String,default:e.$u.props.search.value},maxlength:{type:[String,Number],default:e.$u.props.search.maxlength},height:{type:[String,Number],default:e.$u.props.search.height},label:{type:[String,Number,null],default:e.$u.props.search.label}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{icon:{type:String,default:e.$u.props.empty.icon},text:{type:String,default:e.$u.props.empty.text},textColor:{type:String,default:e.$u.props.empty.textColor},textSize:{type:[String,Number],default:e.$u.props.empty.textSize},iconColor:{type:String,default:e.$u.props.empty.iconColor},iconSize:{type:[String,Number],default:e.$u.props.empty.iconSize},mode:{type:String,default:e.$u.props.empty.mode},width:{type:[String,Number],default:e.$u.props.empty.width},height:{type:[String,Number],default:e.$u.props.empty.height},show:{type:Boolean,default:e.$u.props.empty.show},marginTop:{type:[String,Number],default:e.$u.props.empty.marginTop}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{title:{type:String,default:e.$u.props.cellGroup.title},border:{type:Boolean,default:e.$u.props.cellGroup.border}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{title:{type:[String,Number],default:e.$u.props.cell.title},label:{type:[String,Number],default:e.$u.props.cell.label},value:{type:[String,Number],default:e.$u.props.cell.value},icon:{type:String,default:e.$u.props.cell.icon},disabled:{type:Boolean,default:e.$u.props.cell.disabled},border:{type:Boolean,default:e.$u.props.cell.border},center:{type:Boolean,default:e.$u.props.cell.center},url:{type:String,default:e.$u.props.cell.url},linkType:{type:String,default:e.$u.props.cell.linkType},clickable:{type:Boolean,default:e.$u.props.cell.clickable},isLink:{type:Boolean,default:e.$u.props.cell.isLink},required:{type:Boolean,default:e.$u.props.cell.required},rightIcon:{type:String,default:e.$u.props.cell.rightIcon},arrowDirection:{type:String,default:e.$u.props.cell.arrowDirection},iconStyle:{type:[Object,String],default:function(){return e.$u.props.cell.iconStyle}},rightIconStyle:{type:[Object,String],default:function(){return e.$u.props.cell.rightIconStyle}},titleStyle:{type:[Object,String],default:function(){return e.$u.props.cell.titleStyle}},size:{type:String,default:e.$u.props.cell.size},stop:{type:Boolean,default:e.$u.props.cell.stop},name:{type:[Number,String],default:e.$u.props.cell.name}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{value:{type:[String,Number],default:e.$u.props.input.value},type:{type:String,default:e.$u.props.input.type},fixed:{type:Boolean,default:e.$u.props.input.fixed},disabled:{type:Boolean,default:e.$u.props.input.disabled},disabledColor:{type:String,default:e.$u.props.input.disabledColor},clearable:{type:Boolean,default:e.$u.props.input.clearable},password:{type:Boolean,default:e.$u.props.input.password},maxlength:{type:[String,Number],default:e.$u.props.input.maxlength},placeholder:{type:String,default:e.$u.props.input.placeholder},placeholderClass:{type:String,default:e.$u.props.input.placeholderClass},placeholderStyle:{type:[String,Object],default:e.$u.props.input.placeholderStyle},showWordLimit:{type:Boolean,default:e.$u.props.input.showWordLimit},confirmType:{type:String,default:e.$u.props.input.confirmType},confirmHold:{type:Boolean,default:e.$u.props.input.confirmHold},holdKeyboard:{type:Boolean,default:e.$u.props.input.holdKeyboard},focus:{type:Boolean,default:e.$u.props.input.focus},autoBlur:{type:Boolean,default:e.$u.props.input.autoBlur},disableDefaultPadding:{type:Boolean,default:e.$u.props.input.disableDefaultPadding},cursor:{type:[String,Number],default:e.$u.props.input.cursor},cursorSpacing:{type:[String,Number],default:e.$u.props.input.cursorSpacing},selectionStart:{type:[String,Number],default:e.$u.props.input.selectionStart},selectionEnd:{type:[String,Number],default:e.$u.props.input.selectionEnd},adjustPosition:{type:Boolean,default:e.$u.props.input.adjustPosition},inputAlign:{type:String,default:e.$u.props.input.inputAlign},fontSize:{type:[String,Number],default:e.$u.props.input.fontSize},color:{type:String,default:e.$u.props.input.color},prefixIcon:{type:String,default:e.$u.props.input.prefixIcon},prefixIconStyle:{type:[String,Object],default:e.$u.props.input.prefixIconStyle},suffixIcon:{type:String,default:e.$u.props.input.suffixIcon},suffixIconStyle:{type:[String,Object],default:e.$u.props.input.suffixIconStyle},border:{type:String,default:e.$u.props.input.border},readonly:{type:Boolean,default:e.$u.props.input.readonly},shape:{type:String,default:e.$u.props.input.shape},formatter:{type:[Function,null],default:e.$u.props.input.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{gutter:{type:[String,Number],default:e.$u.props.row.gutter},justify:{type:String,default:e.$u.props.row.justify},align:{type:String,default:e.$u.props.row.align}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{span:{type:[String,Number],default:e.$u.props.col.span},offset:{type:[String,Number],default:e.$u.props.col.offset},justify:{type:String,default:e.$u.props.col.justify},align:{type:String,default:e.$u.props.col.align},textAlign:{type:String,default:e.$u.props.col.textAlign}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{model:{type:Object,default:e.$u.props.form.model},rules:{type:[Object,Function,Array],default:e.$u.props.form.rules},errorType:{type:String,default:e.$u.props.form.errorType},borderBottom:{type:Boolean,default:e.$u.props.form.borderBottom},labelPosition:{type:String,default:e.$u.props.form.labelPosition},labelWidth:{type:[String,Number],default:e.$u.props.form.labelWidth},labelAlign:{type:String,default:e.$u.props.form.labelAlign},labelStyle:{type:Object,default:e.$u.props.form.labelStyle}}};t.default=r}).call(this,r(2)["default"])},,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{label:{type:String,default:e.$u.props.formItem.label},prop:{type:String,default:e.$u.props.formItem.prop},borderBottom:{type:[String,Boolean],default:e.$u.props.formItem.borderBottom},labelPosition:{type:String,default:e.$u.props.formItem.labelPosition},labelWidth:{type:[String,Number],default:e.$u.props.formItem.labelWidth},rightIcon:{type:String,default:e.$u.props.formItem.rightIcon},leftIcon:{type:String,default:e.$u.props.formItem.leftIcon},required:{type:Boolean,default:e.$u.props.formItem.required},leftIconStyle:{type:[String,Object],default:e.$u.props.formItem.leftIconStyle}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.picker.show},showToolbar:{type:Boolean,default:e.$u.props.picker.showToolbar},title:{type:String,default:e.$u.props.picker.title},columns:{type:Array,default:e.$u.props.picker.columns},loading:{type:Boolean,default:e.$u.props.picker.loading},itemHeight:{type:[String,Number],default:e.$u.props.picker.itemHeight},cancelText:{type:String,default:e.$u.props.picker.cancelText},confirmText:{type:String,default:e.$u.props.picker.confirmText},cancelColor:{type:String,default:e.$u.props.picker.cancelColor},confirmColor:{type:String,default:e.$u.props.picker.confirmColor},visibleItemCount:{type:[String,Number],default:e.$u.props.picker.visibleItemCount},keyName:{type:String,default:e.$u.props.picker.keyName},closeOnClickOverlay:{type:Boolean,default:e.$u.props.picker.closeOnClickOverlay},defaultIndex:{type:Array,default:e.$u.props.picker.defaultIndex},immediateChange:{type:Boolean,default:e.$u.props.picker.immediateChange}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.datetimePicker.show},showToolbar:{type:Boolean,default:e.$u.props.datetimePicker.showToolbar},value:{type:[String,Number],default:e.$u.props.datetimePicker.value},title:{type:String,default:e.$u.props.datetimePicker.title},mode:{type:String,default:e.$u.props.datetimePicker.mode},maxDate:{type:Number,default:e.$u.props.datetimePicker.maxDate},minDate:{type:Number,default:e.$u.props.datetimePicker.minDate},minHour:{type:Number,default:e.$u.props.datetimePicker.minHour},maxHour:{type:Number,default:e.$u.props.datetimePicker.maxHour},minMinute:{type:Number,default:e.$u.props.datetimePicker.minMinute},maxMinute:{type:Number,default:e.$u.props.datetimePicker.maxMinute},filter:{type:[Function,null],default:e.$u.props.datetimePicker.filter},formatter:{type:[Function,null],default:e.$u.props.datetimePicker.formatter},loading:{type:Boolean,default:e.$u.props.datetimePicker.loading},itemHeight:{type:[String,Number],default:e.$u.props.datetimePicker.itemHeight},cancelText:{type:String,default:e.$u.props.datetimePicker.cancelText},confirmText:{type:String,default:e.$u.props.datetimePicker.confirmText},cancelColor:{type:String,default:e.$u.props.datetimePicker.cancelColor},confirmColor:{type:String,default:e.$u.props.datetimePicker.confirmColor},visibleItemCount:{type:[String,Number],default:e.$u.props.datetimePicker.visibleItemCount},closeOnClickOverlay:{type:Boolean,default:e.$u.props.datetimePicker.closeOnClickOverlay},defaultIndex:{type:Array,default:e.$u.props.datetimePicker.defaultIndex}}};t.default=r}).call(this,r(2)["default"])},function(e,t,r){var n,o,i=r(13);!function(a,u){"object"===i(t)&&"undefined"!==typeof e?e.exports=u():(n=u,o="function"===typeof n?n.call(t,r,t,e):n,void 0===o||(e.exports=o))}(0,(function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",o="day",a="week",u="month",s="quarter",l="year",c="date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,p=/\[([^\]]+)]|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,d={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(e,t,r){var n=String(e);return!n||n.length>=t?e:"".concat(Array(t+1-n.length).join(r)).concat(e)},v={s:h,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),o=r%60;return"".concat((t<=0?"+":"-")+h(n,2,"0"),":").concat(h(o,2,"0"))},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),o=t.clone().add(n,u),i=r-o<0,a=t.clone().add(n+(i?-1:1),u);return+(-(n+(r-o)/(i?o-a:a-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(i){return{M:u,y:l,w:a,d:o,D:c,h:n,m:r,s:t,ms:e,Q:s}[i]||String(i||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",g={};g[y]=d;var m=function(e){return e instanceof _},b=function(e,t,r){var n;if(!e)return y;if("string"===typeof e)g[e]&&(n=e),t&&(g[e]=t,n=e);else{var o=e.name;g[o]=e,n=o}return!r&&n&&(y=n),n||!r&&y},w=function(e,t){if(m(e))return e.clone();var r="object"===i(t)?t:{};return r.date=e,r.args=arguments,new _(r)},A=v;A.l=b,A.i=m,A.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var _=function(){function i(e){this.$L=b(e.locale,null,!0),this.parse(e)}var d=i.prototype;return d.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(A.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"===typeof t&&!/Z$/i.test(t)){var n=t.match(f);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},d.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},d.$utils=function(){return A},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.isSame=function(e,t){var r=w(e);return this.startOf(t)<=r&&r<=this.endOf(t)},d.isAfter=function(e,t){return w(e)<this.startOf(t)},d.isBefore=function(e,t){return this.endOf(t)<w(e)},d.$g=function(e,t,r){return A.u(e)?this[t]:this.set(r,e)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(e,i){var s=this,f=!!A.u(i)||i,p=A.p(e),d=function(e,t){var r=A.w(s.$u?Date.UTC(s.$y,t,e):new Date(s.$y,t,e),s);return f?r:r.endOf(o)},h=function(e,t){return A.w(s.toDate()[e].apply(s.toDate("s"),(f?[0,0,0,0]:[23,59,59,999]).slice(t)),s)},v=this.$W,y=this.$M,g=this.$D,m="set".concat(this.$u?"UTC":"");switch(p){case l:return f?d(1,0):d(31,11);case u:return f?d(1,y):d(0,y+1);case a:var b=this.$locale().weekStart||0,w=(v<b?v+7:v)-b;return d(f?g-w:g+(6-w),y);case o:case c:return h("".concat(m,"Hours"),0);case n:return h("".concat(m,"Minutes"),1);case r:return h("".concat(m,"Seconds"),2);case t:return h("".concat(m,"Milliseconds"),3);default:return this.clone()}},d.endOf=function(e){return this.startOf(e,!1)},d.$set=function(i,a){var s,f=A.p(i),p="set".concat(this.$u?"UTC":""),d=(s={},s[o]="".concat(p,"Date"),s[c]="".concat(p,"Date"),s[u]="".concat(p,"Month"),s[l]="".concat(p,"FullYear"),s[n]="".concat(p,"Hours"),s[r]="".concat(p,"Minutes"),s[t]="".concat(p,"Seconds"),s[e]="".concat(p,"Milliseconds"),s)[f],h=f===o?this.$D+(a-this.$W):a;if(f===u||f===l){var v=this.clone().set(c,1);v.$d[d](h),v.init(),this.$d=v.set(c,Math.min(this.$D,v.daysInMonth())).$d}else d&&this.$d[d](h);return this.init(),this},d.set=function(e,t){return this.clone().$set(e,t)},d.get=function(e){return this[A.p(e)]()},d.add=function(e,i){var s,c=this;e=Number(e);var f=A.p(i),p=function(t){var r=w(c);return A.w(r.date(r.date()+Math.round(t*e)),c)};if(f===u)return this.set(u,this.$M+e);if(f===l)return this.set(l,this.$y+e);if(f===o)return p(1);if(f===a)return p(7);var d=(s={},s[r]=6e4,s[n]=36e5,s[t]=1e3,s)[f]||1,h=this.$d.getTime()+e*d;return A.w(h,this)},d.subtract=function(e,t){return this.add(-1*e,t)},d.format=function(e){var t=this;if(!this.isValid())return"Invalid Date";var r=e||"YYYY-MM-DDTHH:mm:ssZ",n=A.z(this),o=this.$locale(),i=this.$H,a=this.$m,u=this.$M,s=o.weekdays,l=o.months,c=function(e,n,o,i){return e&&(e[n]||e(t,r))||o[n].substr(0,i)},f=function(e){return A.s(i%12||12,e,"0")},d=o.meridiem||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:u+1,MM:A.s(u+1,2,"0"),MMM:c(o.monthsShort,u,l,3),MMMM:c(l,u),D:this.$D,DD:A.s(this.$D,2,"0"),d:String(this.$W),dd:c(o.weekdaysMin,this.$W,s,2),ddd:c(o.weekdaysShort,this.$W,s,3),dddd:s[this.$W],H:String(i),HH:A.s(i,2,"0"),h:f(1),hh:f(2),a:d(i,a,!0),A:d(i,a,!1),m:String(a),mm:A.s(a,2,"0"),s:String(this.$s),ss:A.s(this.$s,2,"0"),SSS:A.s(this.$ms,3,"0"),Z:n};return r.replace(p,(function(e,t){return t||h[e]||n.replace(":","")}))},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(e,i,c){var f,p=A.p(i),d=w(e),h=6e4*(d.utcOffset()-this.utcOffset()),v=this-d,y=A.m(this,d);return y=(f={},f[l]=y/12,f[u]=y,f[s]=y/3,f[a]=(v-h)/6048e5,f[o]=(v-h)/864e5,f[n]=v/36e5,f[r]=v/6e4,f[t]=v/1e3,f)[p]||v,c?y:A.a(y)},d.daysInMonth=function(){return this.endOf(u).$D},d.$locale=function(){return g[this.$L]},d.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=b(e,t,!0);return n&&(r.$L=n),r},d.clone=function(){return A.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},i}(),S=_.prototype;return w.prototype=S,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W",o],["$M",u],["$y",l],["$D",c]].forEach((function(e){S[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||(e(t,_,w),e.$i=!0),w},w.locale=b,w.isDayjs=m,w.unix=function(e){return w(1e3*e)},w.en=g[y],w.Ls=g,w.p={},w}))},,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,showMessageCard:Boolean,appParameter:String,formType:String,openType:String}};t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{openType:String},methods:{onGetUserInfo:function(e){this.$emit("getuserinfo",e.detail)},onContact:function(e){this.$emit("contact",e.detail)},onGetPhoneNumber:function(e){this.$emit("getphonenumber",e.detail)},onError:function(e){this.$emit("error",e.detail)},onLaunchApp:function(e){this.$emit("launchapp",e.detail)},onOpenSetting:function(e){this.$emit("opensetting",e.detail)}}};t.default=n},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{hairline:{type:Boolean,default:e.$u.props.button.hairline},type:{type:String,default:e.$u.props.button.type},size:{type:String,default:e.$u.props.button.size},shape:{type:String,default:e.$u.props.button.shape},plain:{type:Boolean,default:e.$u.props.button.plain},disabled:{type:Boolean,default:e.$u.props.button.disabled},loading:{type:Boolean,default:e.$u.props.button.loading},loadingText:{type:[String,Number],default:e.$u.props.button.loadingText},loadingMode:{type:String,default:e.$u.props.button.loadingMode},loadingSize:{type:[String,Number],default:e.$u.props.button.loadingSize},openType:{type:String,default:e.$u.props.button.openType},formType:{type:String,default:e.$u.props.button.formType},appParameter:{type:String,default:e.$u.props.button.appParameter},hoverStopPropagation:{type:Boolean,default:e.$u.props.button.hoverStopPropagation},lang:{type:String,default:e.$u.props.button.lang},sessionFrom:{type:String,default:e.$u.props.button.sessionFrom},sendMessageTitle:{type:String,default:e.$u.props.button.sendMessageTitle},sendMessagePath:{type:String,default:e.$u.props.button.sendMessagePath},sendMessageImg:{type:String,default:e.$u.props.button.sendMessageImg},showMessageCard:{type:Boolean,default:e.$u.props.button.showMessageCard},dataName:{type:String,default:e.$u.props.button.dataName},throttleTime:{type:[String,Number],default:e.$u.props.button.throttleTime},hoverStartTime:{type:[String,Number],default:e.$u.props.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:e.$u.props.button.hoverStayTime},text:{type:[String,Number],default:e.$u.props.button.text},icon:{type:String,default:e.$u.props.button.icon},iconColor:{type:String,default:e.$u.props.button.icon},color:{type:String,default:e.$u.props.button.color}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.popup.show},overlay:{type:Boolean,default:e.$u.props.popup.overlay},mode:{type:String,default:e.$u.props.popup.mode},duration:{type:[String,Number],default:e.$u.props.popup.duration},closeable:{type:Boolean,default:e.$u.props.popup.closeable},overlayStyle:{type:[Object,String],default:e.$u.props.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:e.$u.props.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:e.$u.props.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:e.$u.props.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:e.$u.props.popup.safeAreaInsetTop},closeIconPos:{type:String,default:e.$u.props.popup.closeIconPos},round:{type:[Boolean,String,Number],default:e.$u.props.popup.round},zoom:{type:Boolean,default:e.$u.props.popup.zoom},bgColor:{type:String,default:e.$u.props.popup.bgColor},overlayOpacity:{type:[Number,String],default:e.$u.props.popup.overlayOpacity}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{src:{type:String,default:e.$u.props.avatar.src},shape:{type:String,default:e.$u.props.avatar.shape},size:{type:[String,Number],default:e.$u.props.avatar.size},mode:{type:String,default:e.$u.props.avatar.mode},text:{type:String,default:e.$u.props.avatar.text},bgColor:{type:String,default:e.$u.props.avatar.bgColor},color:{type:String,default:e.$u.props.avatar.color},fontSize:{type:[String,Number],default:e.$u.props.avatar.fontSize},icon:{type:String,default:e.$u.props.avatar.icon},mpAvatar:{type:Boolean,default:e.$u.props.avatar.mpAvatar},randomBgColor:{type:Boolean,default:e.$u.props.avatar.randomBgColor},defaultUrl:{type:String,default:e.$u.props.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:function(t){return e.$u.test.range(t,[0,19])||""===t},default:e.$u.props.avatar.colorIndex},name:{type:String,default:e.$u.props.avatar.name}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{showScrollbar:{type:Boolean,default:e.$u.props.list.showScrollbar},lowerThreshold:{type:[String,Number],default:e.$u.props.list.lowerThreshold},upperThreshold:{type:[String,Number],default:e.$u.props.list.upperThreshold},scrollTop:{type:[String,Number],default:e.$u.props.list.scrollTop},offsetAccuracy:{type:[String,Number],default:e.$u.props.list.offsetAccuracy},enableFlex:{type:Boolean,default:e.$u.props.list.enableFlex},pagingEnabled:{type:Boolean,default:e.$u.props.list.pagingEnabled},scrollable:{type:Boolean,default:e.$u.props.list.scrollable},scrollIntoView:{type:String,default:e.$u.props.list.scrollIntoView},scrollWithAnimation:{type:Boolean,default:e.$u.props.list.scrollWithAnimation},enableBackToTop:{type:Boolean,default:e.$u.props.list.enableBackToTop},height:{type:[String,Number],default:e.$u.props.list.height},width:{type:[String,Number],default:e.$u.props.list.width},preLoadScreen:{type:[String,Number],default:e.$u.props.list.preLoadScreen}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{anchor:{type:[String,Number],default:e.$u.props.listItem.anchor}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{value:{type:[String,Number],default:e.$u.props.textarea.value},placeholder:{type:[String,Number],default:e.$u.props.textarea.placeholder},placeholderClass:{type:String,default:e.$u.props.input.placeholderClass},placeholderStyle:{type:[String,Object],default:e.$u.props.input.placeholderStyle},height:{type:[String,Number],default:e.$u.props.textarea.height},confirmType:{type:String,default:e.$u.props.textarea.confirmType},disabled:{type:Boolean,default:e.$u.props.textarea.disabled},count:{type:Boolean,default:e.$u.props.textarea.count},focus:{type:Boolean,default:e.$u.props.textarea.focus},autoHeight:{type:Boolean,default:e.$u.props.textarea.autoHeight},fixed:{type:Boolean,default:e.$u.props.textarea.fixed},cursorSpacing:{type:Number,default:e.$u.props.textarea.cursorSpacing},cursor:{type:[String,Number],default:e.$u.props.textarea.cursor},showConfirmBar:{type:Boolean,default:e.$u.props.textarea.showConfirmBar},selectionStart:{type:Number,default:e.$u.props.textarea.selectionStart},selectionEnd:{type:Number,default:e.$u.props.textarea.selectionEnd},adjustPosition:{type:Boolean,default:e.$u.props.textarea.adjustPosition},disableDefaultPadding:{type:Boolean,default:e.$u.props.textarea.disableDefaultPadding},holdKeyboard:{type:Boolean,default:e.$u.props.textarea.holdKeyboard},maxlength:{type:[String,Number],default:e.$u.props.textarea.maxlength},border:{type:String,default:e.$u.props.textarea.border},formatter:{type:[Function,null],default:e.$u.props.textarea.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}};t.default=r}).call(this,r(2)["default"])},,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""};t.default=n},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{name:{type:String,default:e.$u.props.icon.name},color:{type:String,default:e.$u.props.icon.color},size:{type:[String,Number],default:e.$u.props.icon.size},bold:{type:Boolean,default:e.$u.props.icon.bold},index:{type:[String,Number],default:e.$u.props.icon.index},hoverClass:{type:String,default:e.$u.props.icon.hoverClass},customPrefix:{type:String,default:e.$u.props.icon.customPrefix},label:{type:[String,Number],default:e.$u.props.icon.label},labelPos:{type:String,default:e.$u.props.icon.labelPos},labelSize:{type:[String,Number],default:e.$u.props.icon.labelSize},labelColor:{type:String,default:e.$u.props.icon.labelColor},space:{type:[String,Number],default:e.$u.props.icon.space},imgMode:{type:String,default:e.$u.props.icon.imgMode},width:{type:[String,Number],default:e.$u.props.icon.width},height:{type:[String,Number],default:e.$u.props.icon.height},top:{type:[String,Number],default:e.$u.props.icon.top},stop:{type:Boolean,default:e.$u.props.icon.stop}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{color:{type:String,default:e.$u.props.line.color},length:{type:[String,Number],default:e.$u.props.line.length},direction:{type:String,default:e.$u.props.line.direction},hairline:{type:Boolean,default:e.$u.props.line.hairline},margin:{type:[String,Number],default:e.$u.props.line.margin},dashed:{type:Boolean,default:e.$u.props.line.dashed}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.overlay.show},zIndex:{type:[String,Number],default:e.$u.props.overlay.zIndex},duration:{type:[String,Number],default:e.$u.props.overlay.duration},opacity:{type:[String,Number],default:e.$u.props.overlay.opacity}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.loadingIcon.show},color:{type:String,default:e.$u.props.loadingIcon.color},textColor:{type:String,default:e.$u.props.loadingIcon.textColor},vertical:{type:Boolean,default:e.$u.props.loadingIcon.vertical},mode:{type:String,default:e.$u.props.loadingIcon.mode},size:{type:[String,Number],default:e.$u.props.loadingIcon.size},textSize:{type:[String,Number],default:e.$u.props.loadingIcon.textSize},text:{type:[String,Number],default:e.$u.props.loadingIcon.text},timingFunction:{type:String,default:e.$u.props.loadingIcon.timingFunction},duration:{type:[String,Number],default:e.$u.props.loadingIcon.duration},inactiveColor:{type:String,default:e.$u.props.loadingIcon.inactiveColor}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{bgColor:{type:String,default:e.$u.props.gap.bgColor},height:{type:[String,Number],default:e.$u.props.gap.height},marginTop:{type:[String,Number],default:e.$u.props.gap.marginTop},marginBottom:{type:[String,Number],default:e.$u.props.gap.marginBottom}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(11)),i=n(r(13));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,o.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s=/%[sdj%]/g,l=function(){};function c(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var r=e.field;t[r]=t[r]||[],t[r].push(e)})),t}function f(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if("function"===typeof o)return o.apply(null,t.slice(1));if("string"===typeof o){for(var a=String(o).replace(s,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(r){return"[Circular]"}break;default:return e}})),u=t[n];n<i;u=t[++n])a+=" ".concat(u);return a}return o}function p(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}function d(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!p(t)||"string"!==typeof e||e))}function h(e,t,r){var n=[],o=0,i=e.length;function a(e){n.push.apply(n,e),o++,o===i&&r(n)}e.forEach((function(e){t(e,a)}))}function v(e,t,r){var n=0,o=e.length;function i(a){if(a&&a.length)r(a);else{var u=n;n+=1,u<o?t(e[u],i):r([])}}i([])}function y(e){var t=[];return Object.keys(e).forEach((function(r){t.push.apply(t,e[r])})),t}function g(e,t,r,n){if(t.first){var o=new Promise((function(t,o){var i=function(e){return n(e),e.length?o({errors:e,fields:c(e)}):t()},a=y(e);v(a,r,i)}));return o.catch((function(e){return e})),o}var i=t.firstFields||[];!0===i&&(i=Object.keys(e));var a=Object.keys(e),u=a.length,s=0,l=[],f=new Promise((function(t,o){var f=function(e){if(l.push.apply(l,e),s++,s===u)return n(l),l.length?o({errors:l,fields:c(l)}):t()};a.length||(n(l),t()),a.forEach((function(t){var n=e[t];-1!==i.indexOf(t)?v(n,r,f):h(n,r,f)}))}));return f.catch((function(e){return e})),f}function m(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"===typeof t?t():t,field:t.field||e.fullField}}}function b(e,t){if(t)for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];"object"===(0,i.default)(n)&&"object"===(0,i.default)(e[r])?e[r]=u(u({},e[r]),n):e[r]=n}return e}function w(e,t,r,n,o,i){!e.required||r.hasOwnProperty(e.field)&&!d(t,i||e.type)||n.push(f(o.messages.required,e.fullField))}function A(e,t,r,n,o){(/^\s+$/.test(t)||""===t)&&n.push(f(o.messages.whitespace,e.fullField))}"undefined"!==typeof e&&Object({VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"lab-equipment-mini-program",VUE_APP_PLATFORM:"mp-weixin",NODE_ENV:"development",BASE_URL:"/"})&&"undefined"!==typeof window&&"undefined"!==typeof document&&(l=function(e,t){"undefined"!==typeof console&&console.warn&&t.every((function(e){return"string"===typeof e}))&&console.warn(e,t)});var _={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,}))$/,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"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},S={integer:function(e){return/^(-)?\d+$/.test(e)},float:function(e){return/^(-)?\d+(\.\d+)?$/.test(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof+e},object:function(e){return"object"===(0,i.default)(e)&&!S.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(_.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(_.url)},hex:function(e){return"string"===typeof e&&!!e.match(_.hex)}};function O(e,t,r,n,o){if(e.required&&void 0===t)w(e,t,r,n,o);else{var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;a.indexOf(u)>-1?S[u](t)||n.push(f(o.messages.types[u],e.fullField,e.type)):u&&(0,i.default)(t)!==e.type&&n.push(f(o.messages.types[u],e.fullField,e.type))}}function x(e,t,r,n,o){var i="number"===typeof e.len,a="number"===typeof e.min,u="number"===typeof e.max,s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,c=null,p="number"===typeof t,d="string"===typeof t,h=Array.isArray(t);if(p?c="number":d?c="string":h&&(c="array"),!c)return!1;h&&(l=t.length),d&&(l=t.replace(s,"_").length),i?l!==e.len&&n.push(f(o.messages[c].len,e.fullField,e.len)):a&&!u&&l<e.min?n.push(f(o.messages[c].min,e.fullField,e.min)):u&&!a&&l>e.max?n.push(f(o.messages[c].max,e.fullField,e.max)):a&&u&&(l<e.min||l>e.max)&&n.push(f(o.messages[c].range,e.fullField,e.min,e.max))}var j="enum";function P(e,t,r,n,o){e[j]=Array.isArray(e[j])?e[j]:[],-1===e[j].indexOf(t)&&n.push(f(o.messages[j],e.fullField,e[j].join(", ")))}function E(e,t,r,n,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(f(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var i=new RegExp(e.pattern);i.test(t)||n.push(f(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var k={required:w,whitespace:A,type:O,range:x,enum:P,pattern:E};function B(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t,"string")&&!e.required)return r();k.required(e,t,n,i,o,"string"),d(t,"string")||(k.type(e,t,n,i,o),k.range(e,t,n,i,o),k.pattern(e,t,n,i,o),!0===e.whitespace&&k.whitespace(e,t,n,i,o))}r(i)}function C(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();k.required(e,t,n,i,o),void 0!==t&&k.type(e,t,n,i,o)}r(i)}function $(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(""===t&&(t=void 0),d(t)&&!e.required)return r();k.required(e,t,n,i,o),void 0!==t&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function T(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();k.required(e,t,n,i,o),void 0!==t&&k.type(e,t,n,i,o)}r(i)}function M(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();k.required(e,t,n,i,o),d(t)||k.type(e,t,n,i,o)}r(i)}function I(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();k.required(e,t,n,i,o),void 0!==t&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function N(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();k.required(e,t,n,i,o),void 0!==t&&(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function L(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t,"array")&&!e.required)return r();k.required(e,t,n,i,o,"array"),d(t,"array")||(k.type(e,t,n,i,o),k.range(e,t,n,i,o))}r(i)}function D(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();k.required(e,t,n,i,o),void 0!==t&&k.type(e,t,n,i,o)}r(i)}var F="enum";function Q(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();k.required(e,t,n,i,o),void 0!==t&&k[F](e,t,n,i,o)}r(i)}function U(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t,"string")&&!e.required)return r();k.required(e,t,n,i,o),d(t,"string")||k.pattern(e,t,n,i,o)}r(i)}function R(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();var u;if(k.required(e,t,n,i,o),!d(t))u="number"===typeof t?new Date(t):t,k.type(e,u,n,i,o),u&&k.range(e,u.getTime(),n,i,o)}r(i)}function z(e,t,r,n,o){var a=[],u=Array.isArray(t)?"array":(0,i.default)(t);k.required(e,t,n,a,o,u),r(a)}function q(e,t,r,n,o){var i=e.type,a=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(d(t,i)&&!e.required)return r();k.required(e,t,n,a,o,i),d(t,i)||k.type(e,t,n,a,o)}r(a)}function H(e,t,r,n,o){var i=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(d(t)&&!e.required)return r();k.required(e,t,n,i,o)}r(i)}var V={string:B,method:C,number:$,boolean:T,regexp:M,integer:I,float:N,array:L,object:D,enum:Q,pattern:U,date:R,url:q,hex:q,email:q,required:z,any:H};function Y(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var W=Y();function J(e){this.rules=null,this._messages=W,this.define(e)}J.prototype={messages:function(e){return e&&(this._messages=b(Y(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,i.default)(e)||Array.isArray(e))throw new Error("Rules must be an object");var t,r;for(t in this.rules={},e)e.hasOwnProperty(t)&&(r=e[t],this.rules[t]=Array.isArray(r)?r:[r])},validate:function(e,t,r){var n=this;void 0===t&&(t={}),void 0===r&&(r=function(){});var o,a,s=e,l=t,p=r;if("function"===typeof l&&(p=l,l={}),!this.rules||0===Object.keys(this.rules).length)return p&&p(),Promise.resolve();function d(e){var t,r=[],n={};function o(e){var t;Array.isArray(e)?r=(t=r).concat.apply(t,e):r.push(e)}for(t=0;t<e.length;t++)o(e[t]);r.length?n=c(r):(r=null,n=null),p(r,n)}if(l.messages){var h=this.messages();h===W&&(h=Y()),b(h,l.messages),l.messages=h}else l.messages=this.messages();var v={},y=l.keys||Object.keys(this.rules);y.forEach((function(t){o=n.rules[t],a=s[t],o.forEach((function(r){var o=r;"function"===typeof o.transform&&(s===e&&(s=u({},s)),a=s[t]=o.transform(a)),o="function"===typeof o?{validator:o}:u({},o),o.validator=n.getValidationMethod(o),o.field=t,o.fullField=o.fullField||t,o.type=n.getType(o),o.validator&&(v[t]=v[t]||[],v[t].push({rule:o,value:a,source:s,field:t}))}))}));var w={};return g(v,l,(function(e,t){var r,n=e.rule,o=("object"===n.type||"array"===n.type)&&("object"===(0,i.default)(n.fields)||"object"===(0,i.default)(n.defaultField));function a(e,t){return u(u({},t),{},{fullField:"".concat(n.fullField,".").concat(e)})}function s(r){void 0===r&&(r=[]);var i=r;if(Array.isArray(i)||(i=[i]),!l.suppressWarning&&i.length&&J.warning("async-validator:",i),i.length&&n.message&&(i=[].concat(n.message)),i=i.map(m(n)),l.first&&i.length)return w[n.field]=1,t(i);if(o){if(n.required&&!e.value)return i=n.message?[].concat(n.message).map(m(n)):l.error?[l.error(n,f(l.messages.required,n.field))]:[],t(i);var s={};if(n.defaultField)for(var c in e.value)e.value.hasOwnProperty(c)&&(s[c]=n.defaultField);for(var p in s=u(u({},s),e.rule.fields),s)if(s.hasOwnProperty(p)){var d=Array.isArray(s[p])?s[p]:[s[p]];s[p]=d.map(a.bind(null,p))}var h=new J(s);h.messages(l.messages),e.rule.options&&(e.rule.options.messages=l.messages,e.rule.options.error=l.error),h.validate(e.value,e.rule.options||l,(function(e){var r=[];i&&i.length&&r.push.apply(r,i),e&&e.length&&r.push.apply(r,e),t(r.length?r:null)}))}else t(i)}o=o&&(n.required||!n.required&&e.value),n.field=e.field,n.asyncValidator?r=n.asyncValidator(n,e.value,s,e.source,l):n.validator&&(r=n.validator(n,e.value,s,e.source,l),!0===r?s():!1===r?s(n.message||"".concat(n.field," fails")):r instanceof Array?s(r):r instanceof Error&&s(r.message)),r&&r.then&&r.then((function(){return s()}),(function(e){return s(e)}))}),(function(e){d(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!V.hasOwnProperty(e.type))throw new Error(f("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),r=t.indexOf("message");return-1!==r&&t.splice(r,1),1===t.length&&"required"===t[0]?V.required:V[this.getType(e)]||!1}},J.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");V[e]=t},J.warning=l,J.messages=W;var X=J;t.default=X}).call(this,r(441))},function(e,t,r){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=r(442)),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,r=0,n=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){r=t+1;break}}else-1===n&&(o=!1,n=t+1);return-1===n?"":e.slice(r,n)}function o(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,n="/"===a.charAt(0))}return t=r(o(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),a="/"===i(e,-1);return e=r(o(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&a&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(o(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var r=e.length-1;r>=0;r--)if(""!==e[r])break;return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var o=n(e.split("/")),i=n(r.split("/")),a=Math.min(o.length,i.length),u=a,s=0;s<a;s++)if(o[s]!==i[s]){u=s;break}var l=[];for(s=u;s<o.length;s++)l.push("..");return l=l.concat(i.slice(u)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,o=!0,i=e.length-1;i>=1;--i)if(t=e.charCodeAt(i),47===t){if(!o){n=i;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=n(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,r=0,n=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var u=e.charCodeAt(a);if(47!==u)-1===n&&(o=!1,n=a+1),46===u?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){r=a+1;break}}return-1===t||-1===n||0===i||1===i&&t===n-1&&t===r+1?"":e.slice(t,n)};var i="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r(441))},,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.toolbar.show},cancelText:{type:String,default:e.$u.props.toolbar.cancelText},confirmText:{type:String,default:e.$u.props.toolbar.confirmText},cancelColor:{type:String,default:e.$u.props.toolbar.cancelColor},confirmColor:{type:String,default:e.$u.props.toolbar.confirmColor},title:{type:String,default:e.$u.props.toolbar.title}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{show:{type:Boolean,default:e.$u.props.transition.show},mode:{type:String,default:e.$u.props.transition.mode},duration:{type:[String,Number],default:e.$u.props.transition.duration},timingFunction:{type:String,default:e.$u.props.transition.timingFunction}}};t.default=r}).call(this,r(2)["default"])},function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(31)),i=n(r(33)),a=(n(r(458)),function(e){return{enter:"u-".concat(e,"-enter u-").concat(e,"-enter-active"),"enter-to":"u-".concat(e,"-enter-to u-").concat(e,"-enter-active"),leave:"u-".concat(e,"-leave u-").concat(e,"-leave-active"),"leave-to":"u-".concat(e,"-leave-to u-").concat(e,"-leave-active")}}),u={methods:{clickHandler:function(){this.$emit("click")},vueEnter:function(){var e=this,t=a(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=t.enter,this.$nextTick((0,i.default)(o.default.mark((function r(){return o.default.wrap((function(r){while(1)switch(r.prev=r.next){case 0:e.$emit("enter"),e.transitionEnded=!1,e.$emit("afterEnter"),e.classes=t["enter-to"];case 4:case"end":return r.stop()}}),r)}))))},vueLeave:function(){var e=this;if(this.display){var t=a(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=t.leave,this.$nextTick((function(){e.transitionEnded=!1,e.$emit("leave"),setTimeout(e.onTransitionEnd,e.duration),e.classes=t["leave-to"]}))}},onTransitionEnd:function(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}};t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={fade:{enter:{opacity:0},"enter-to":{opacity:1},leave:{opacity:1},"leave-to":{opacity:0}},"fade-up":{enter:{opacity:0,transform:"translateY(100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateY(100%)"}},"fade-down":{enter:{opacity:0,transform:"translateY(-100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateY(-100%)"}},"fade-left":{enter:{opacity:0,transform:"translateX(-100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateX(-100%)"}},"fade-right":{enter:{opacity:0,transform:"translateX(100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateX(100%)"}},"slide-up":{enter:{transform:"translateY(100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateY(100%)"}},"slide-down":{enter:{transform:"translateY(-100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateY(-100%)"}},"slide-left":{enter:{transform:"translateX(-100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateX(-100%)"}},"slide-right":{enter:{transform:"translateX(100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateX(100%)"}},zoom:{enter:{transform:"scale(0.95)"},"enter-to":{transform:"scale(1)"},leave:{transform:"scale(1)"},"leave-to":{transform:"scale(0.95)"}},"fade-zoom":{enter:{opacity:0,transform:"scale(0.95)"},"enter-to":{opacity:1,transform:"scale(1)"},leave:{opacity:1,transform:"scale(1)"},"leave-to":{opacity:0,transform:"scale(0.95)"}}};t.default=n},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{bgColor:{type:String,default:e.$u.props.statusBar.bgColor}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{}};t.default=n},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{type:{type:String,default:e.$u.props.text.type},show:{type:Boolean,default:e.$u.props.text.show},text:{type:[String,Number],default:e.$u.props.text.text},prefixIcon:{type:String,default:e.$u.props.text.prefixIcon},suffixIcon:{type:String,default:e.$u.props.text.suffixIcon},mode:{type:String,default:e.$u.props.text.mode},href:{type:String,default:e.$u.props.text.href},format:{type:[String,Function],default:e.$u.props.text.format},call:{type:Boolean,default:e.$u.props.text.call},openType:{type:String,default:e.$u.props.text.openType},bold:{type:Boolean,default:e.$u.props.text.bold},block:{type:Boolean,default:e.$u.props.text.block},lines:{type:[String,Number],default:e.$u.props.text.lines},color:{type:String,default:e.$u.props.text.color},size:{type:[String,Number],default:e.$u.props.text.size},iconStyle:{type:[Object,String],default:e.$u.props.text.iconStyle},decoration:{tepe:String,default:e.$u.props.text.decoration},margin:{type:[Object,String,Number],default:e.$u.props.text.margin},lineHeight:{type:[String,Number],default:e.$u.props.text.lineHeight},align:{type:String,default:e.$u.props.text.align},wordWrap:{type:String,default:e.$u.props.text.wordWrap}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={computed:{value:function(){var t=this.text,r=this.mode,n=this.format,o=this.href;return"price"===r?(/^\d+(\.\d+)?$/.test(t)||e.$u.error("金额模式下,text参数需要为金额格式"),e.$u.test.func(n)?n(t):e.$u.priceFormat(t,2)):"date"===r?(!e.$u.test.date(t)&&e.$u.error("日期模式下,text参数需要为日期或时间戳格式"),e.$u.test.func(n)?n(t):n?e.$u.timeFormat(t,n):e.$u.timeFormat(t,"yyyy-mm-dd")):"phone"===r?e.$u.test.func(n)?n(t):"encrypt"===n?"".concat(t.substr(0,3),"****").concat(t.substr(7)):t:"name"===r?("string"!==typeof t&&e.$u.error("姓名模式下,text参数需要为字符串格式"),e.$u.test.func(n)?n(t):"encrypt"===n?this.formatName(t):t):"link"===r?(!e.$u.test.url(o)&&e.$u.error("超链接模式下,href参数需要为URL格式"),t):t}},methods:{formatName:function(e){var t="";if(2===e.length)t=e.substr(0,1)+"*";else if(e.length>2){for(var r="",n=0,o=e.length-2;n<o;n++)r+="*";t=e.substr(0,1)+r+e.substr(-1,1)}else t=e;return t}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{color:{type:String,default:e.$u.props.link.color},fontSize:{type:[String,Number],default:e.$u.props.link.fontSize},underLine:{type:Boolean,default:e.$u.props.link.underLine},href:{type:String,default:e.$u.props.link.href},mpTips:{type:String,default:e.$u.props.link.mpTips},lineColor:{type:String,default:e.$u.props.link.lineColor},text:{type:String,default:e.$u.props.link.text}}};t.default=r}).call(this,r(2)["default"])},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(4);Object.defineProperty(t,"__esModule",{value:!0}),t.getNewInform=i,t.getNewNotice=a,t.getNoticeDetail=u;var o=n(r(168));function i(e){return o.default.get("/system/notice/newInform",{number:e}).then((function(e){return e}))}function a(){return o.default.get("/system/notice/newNotice",{number:data}).then((function(e){return e}))}function u(e){return o.default.get("/system/notice/".concat(e)).then((function(e){return e}))}}]]);
  23956. >>>>>>> c19d1458f852bffeb356fd5b408a4cb24d148495
  23957. //# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map