vue-tree-list.common.js 118 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614
  1. module.exports =
  2. /******/ (function(modules) { // webpackBootstrap
  3. /******/ // The module cache
  4. /******/ var installedModules = {};
  5. /******/
  6. /******/ // The require function
  7. /******/ function __webpack_require__(moduleId) {
  8. /******/
  9. /******/ // Check if module is in cache
  10. /******/ if(installedModules[moduleId]) {
  11. /******/ return installedModules[moduleId].exports;
  12. /******/ }
  13. /******/ // Create a new module (and put it into the cache)
  14. /******/ var module = installedModules[moduleId] = {
  15. /******/ i: moduleId,
  16. /******/ l: false,
  17. /******/ exports: {}
  18. /******/ };
  19. /******/
  20. /******/ // Execute the module function
  21. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  22. /******/
  23. /******/ // Flag the module as loaded
  24. /******/ module.l = true;
  25. /******/
  26. /******/ // Return the exports of the module
  27. /******/ return module.exports;
  28. /******/ }
  29. /******/
  30. /******/
  31. /******/ // expose the modules object (__webpack_modules__)
  32. /******/ __webpack_require__.m = modules;
  33. /******/
  34. /******/ // expose the module cache
  35. /******/ __webpack_require__.c = installedModules;
  36. /******/
  37. /******/ // define getter function for harmony exports
  38. /******/ __webpack_require__.d = function(exports, name, getter) {
  39. /******/ if(!__webpack_require__.o(exports, name)) {
  40. /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
  41. /******/ }
  42. /******/ };
  43. /******/
  44. /******/ // define __esModule on exports
  45. /******/ __webpack_require__.r = function(exports) {
  46. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  47. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  48. /******/ }
  49. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  50. /******/ };
  51. /******/
  52. /******/ // create a fake namespace object
  53. /******/ // mode & 1: value is a module id, require it
  54. /******/ // mode & 2: merge all properties of value into the ns
  55. /******/ // mode & 4: return value when already ns object
  56. /******/ // mode & 8|1: behave like require
  57. /******/ __webpack_require__.t = function(value, mode) {
  58. /******/ if(mode & 1) value = __webpack_require__(value);
  59. /******/ if(mode & 8) return value;
  60. /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  61. /******/ var ns = Object.create(null);
  62. /******/ __webpack_require__.r(ns);
  63. /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  64. /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  65. /******/ return ns;
  66. /******/ };
  67. /******/
  68. /******/ // getDefaultExport function for compatibility with non-harmony modules
  69. /******/ __webpack_require__.n = function(module) {
  70. /******/ var getter = module && module.__esModule ?
  71. /******/ function getDefault() { return module['default']; } :
  72. /******/ function getModuleExports() { return module; };
  73. /******/ __webpack_require__.d(getter, 'a', getter);
  74. /******/ return getter;
  75. /******/ };
  76. /******/
  77. /******/ // Object.prototype.hasOwnProperty.call
  78. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  79. /******/
  80. /******/ // __webpack_public_path__
  81. /******/ __webpack_require__.p = "";
  82. /******/
  83. /******/
  84. /******/ // Load entry module and return exports
  85. /******/ return __webpack_require__(__webpack_require__.s = "fb15");
  86. /******/ })
  87. /************************************************************************/
  88. /******/ ({
  89. /***/ "04ab":
  90. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  91. "use strict";
  92. /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VueTreeList_vue_vue_type_style_index_0_lang_less_rel_stylesheet_2Fless___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("91a9");
  93. /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VueTreeList_vue_vue_type_style_index_0_lang_less_rel_stylesheet_2Fless___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VueTreeList_vue_vue_type_style_index_0_lang_less_rel_stylesheet_2Fless___WEBPACK_IMPORTED_MODULE_0__);
  94. /* unused harmony reexport * */
  95. /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_vue_style_loader_index_js_ref_10_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VueTreeList_vue_vue_type_style_index_0_lang_less_rel_stylesheet_2Fless___WEBPACK_IMPORTED_MODULE_0___default.a);
  96. /***/ }),
  97. /***/ "057f":
  98. /***/ (function(module, exports, __webpack_require__) {
  99. var toIndexedObject = __webpack_require__("fc6a");
  100. var nativeGetOwnPropertyNames = __webpack_require__("241c").f;
  101. var toString = {}.toString;
  102. var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
  103. ? Object.getOwnPropertyNames(window) : [];
  104. var getWindowNames = function (it) {
  105. try {
  106. return nativeGetOwnPropertyNames(it);
  107. } catch (error) {
  108. return windowNames.slice();
  109. }
  110. };
  111. // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
  112. module.exports.f = function getOwnPropertyNames(it) {
  113. return windowNames && toString.call(it) == '[object Window]'
  114. ? getWindowNames(it)
  115. : nativeGetOwnPropertyNames(toIndexedObject(it));
  116. };
  117. /***/ }),
  118. /***/ "06cf":
  119. /***/ (function(module, exports, __webpack_require__) {
  120. var DESCRIPTORS = __webpack_require__("83ab");
  121. var propertyIsEnumerableModule = __webpack_require__("d1e7");
  122. var createPropertyDescriptor = __webpack_require__("5c6c");
  123. var toIndexedObject = __webpack_require__("fc6a");
  124. var toPrimitive = __webpack_require__("c04e");
  125. var has = __webpack_require__("5135");
  126. var IE8_DOM_DEFINE = __webpack_require__("0cfb");
  127. var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  128. // `Object.getOwnPropertyDescriptor` method
  129. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
  130. exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
  131. O = toIndexedObject(O);
  132. P = toPrimitive(P, true);
  133. if (IE8_DOM_DEFINE) try {
  134. return nativeGetOwnPropertyDescriptor(O, P);
  135. } catch (error) { /* empty */ }
  136. if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);
  137. };
  138. /***/ }),
  139. /***/ "0cfb":
  140. /***/ (function(module, exports, __webpack_require__) {
  141. var DESCRIPTORS = __webpack_require__("83ab");
  142. var fails = __webpack_require__("d039");
  143. var createElement = __webpack_require__("cc12");
  144. // Thank's IE8 for his funny defineProperty
  145. module.exports = !DESCRIPTORS && !fails(function () {
  146. return Object.defineProperty(createElement('div'), 'a', {
  147. get: function () { return 7; }
  148. }).a != 7;
  149. });
  150. /***/ }),
  151. /***/ "159b":
  152. /***/ (function(module, exports, __webpack_require__) {
  153. var global = __webpack_require__("da84");
  154. var DOMIterables = __webpack_require__("fdbc");
  155. var forEach = __webpack_require__("17c2");
  156. var createNonEnumerableProperty = __webpack_require__("9112");
  157. for (var COLLECTION_NAME in DOMIterables) {
  158. var Collection = global[COLLECTION_NAME];
  159. var CollectionPrototype = Collection && Collection.prototype;
  160. // some Chrome versions have non-configurable methods on DOMTokenList
  161. if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
  162. createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
  163. } catch (error) {
  164. CollectionPrototype.forEach = forEach;
  165. }
  166. }
  167. /***/ }),
  168. /***/ "17c2":
  169. /***/ (function(module, exports, __webpack_require__) {
  170. "use strict";
  171. var $forEach = __webpack_require__("b727").forEach;
  172. var sloppyArrayMethod = __webpack_require__("b301");
  173. // `Array.prototype.forEach` method implementation
  174. // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
  175. module.exports = sloppyArrayMethod('forEach') ? function forEach(callbackfn /* , thisArg */) {
  176. return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  177. } : [].forEach;
  178. /***/ }),
  179. /***/ "1be4":
  180. /***/ (function(module, exports, __webpack_require__) {
  181. var getBuiltIn = __webpack_require__("d066");
  182. module.exports = getBuiltIn('document', 'documentElement');
  183. /***/ }),
  184. /***/ "1c0b":
  185. /***/ (function(module, exports) {
  186. module.exports = function (it) {
  187. if (typeof it != 'function') {
  188. throw TypeError(String(it) + ' is not a function');
  189. } return it;
  190. };
  191. /***/ }),
  192. /***/ "1d80":
  193. /***/ (function(module, exports) {
  194. // `RequireObjectCoercible` abstract operation
  195. // https://tc39.github.io/ecma262/#sec-requireobjectcoercible
  196. module.exports = function (it) {
  197. if (it == undefined) throw TypeError("Can't call method on " + it);
  198. return it;
  199. };
  200. /***/ }),
  201. /***/ "1dde":
  202. /***/ (function(module, exports, __webpack_require__) {
  203. var fails = __webpack_require__("d039");
  204. var wellKnownSymbol = __webpack_require__("b622");
  205. var V8_VERSION = __webpack_require__("60ae");
  206. var SPECIES = wellKnownSymbol('species');
  207. module.exports = function (METHOD_NAME) {
  208. // We can't use this feature detection in V8 since it causes
  209. // deoptimization and serious performance degradation
  210. // https://github.com/zloirock/core-js/issues/677
  211. return V8_VERSION >= 51 || !fails(function () {
  212. var array = [];
  213. var constructor = array.constructor = {};
  214. constructor[SPECIES] = function () {
  215. return { foo: 1 };
  216. };
  217. return array[METHOD_NAME](Boolean).foo !== 1;
  218. });
  219. };
  220. /***/ }),
  221. /***/ "1de5":
  222. /***/ (function(module, exports, __webpack_require__) {
  223. "use strict";
  224. module.exports = function (url, options) {
  225. if (!options) {
  226. // eslint-disable-next-line no-param-reassign
  227. options = {};
  228. } // eslint-disable-next-line no-underscore-dangle, no-param-reassign
  229. url = url && url.__esModule ? url.default : url;
  230. if (typeof url !== 'string') {
  231. return url;
  232. } // If url is already wrapped in quotes, remove them
  233. if (/^['"].*['"]$/.test(url)) {
  234. // eslint-disable-next-line no-param-reassign
  235. url = url.slice(1, -1);
  236. }
  237. if (options.hash) {
  238. // eslint-disable-next-line no-param-reassign
  239. url += options.hash;
  240. } // Should url be wrapped?
  241. // See https://drafts.csswg.org/css-values-3/#urls
  242. if (/["'() \t\n]/.test(url) || options.needQuotes) {
  243. return "\"".concat(url.replace(/"/g, '\\"').replace(/\n/g, '\\n'), "\"");
  244. }
  245. return url;
  246. };
  247. /***/ }),
  248. /***/ "23cb":
  249. /***/ (function(module, exports, __webpack_require__) {
  250. var toInteger = __webpack_require__("a691");
  251. var max = Math.max;
  252. var min = Math.min;
  253. // Helper for a popular repeating case of the spec:
  254. // Let integer be ? ToInteger(index).
  255. // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
  256. module.exports = function (index, length) {
  257. var integer = toInteger(index);
  258. return integer < 0 ? max(integer + length, 0) : min(integer, length);
  259. };
  260. /***/ }),
  261. /***/ "23e7":
  262. /***/ (function(module, exports, __webpack_require__) {
  263. var global = __webpack_require__("da84");
  264. var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
  265. var createNonEnumerableProperty = __webpack_require__("9112");
  266. var redefine = __webpack_require__("6eeb");
  267. var setGlobal = __webpack_require__("ce4e");
  268. var copyConstructorProperties = __webpack_require__("e893");
  269. var isForced = __webpack_require__("94ca");
  270. /*
  271. options.target - name of the target object
  272. options.global - target is the global object
  273. options.stat - export as static methods of target
  274. options.proto - export as prototype methods of target
  275. options.real - real prototype method for the `pure` version
  276. options.forced - export even if the native feature is available
  277. options.bind - bind methods to the target, required for the `pure` version
  278. options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
  279. options.unsafe - use the simple assignment of property instead of delete + defineProperty
  280. options.sham - add a flag to not completely full polyfills
  281. options.enumerable - export as enumerable property
  282. options.noTargetGet - prevent calling a getter on target
  283. */
  284. module.exports = function (options, source) {
  285. var TARGET = options.target;
  286. var GLOBAL = options.global;
  287. var STATIC = options.stat;
  288. var FORCED, target, key, targetProperty, sourceProperty, descriptor;
  289. if (GLOBAL) {
  290. target = global;
  291. } else if (STATIC) {
  292. target = global[TARGET] || setGlobal(TARGET, {});
  293. } else {
  294. target = (global[TARGET] || {}).prototype;
  295. }
  296. if (target) for (key in source) {
  297. sourceProperty = source[key];
  298. if (options.noTargetGet) {
  299. descriptor = getOwnPropertyDescriptor(target, key);
  300. targetProperty = descriptor && descriptor.value;
  301. } else targetProperty = target[key];
  302. FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
  303. // contained in target
  304. if (!FORCED && targetProperty !== undefined) {
  305. if (typeof sourceProperty === typeof targetProperty) continue;
  306. copyConstructorProperties(sourceProperty, targetProperty);
  307. }
  308. // add a flag to not completely full polyfills
  309. if (options.sham || (targetProperty && targetProperty.sham)) {
  310. createNonEnumerableProperty(sourceProperty, 'sham', true);
  311. }
  312. // extend global
  313. redefine(target, key, sourceProperty, options);
  314. }
  315. };
  316. /***/ }),
  317. /***/ "241c":
  318. /***/ (function(module, exports, __webpack_require__) {
  319. var internalObjectKeys = __webpack_require__("ca84");
  320. var enumBugKeys = __webpack_require__("7839");
  321. var hiddenKeys = enumBugKeys.concat('length', 'prototype');
  322. // `Object.getOwnPropertyNames` method
  323. // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
  324. exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  325. return internalObjectKeys(O, hiddenKeys);
  326. };
  327. /***/ }),
  328. /***/ "24fb":
  329. /***/ (function(module, exports, __webpack_require__) {
  330. "use strict";
  331. /*
  332. MIT License http://www.opensource.org/licenses/mit-license.php
  333. Author Tobias Koppers @sokra
  334. */
  335. // css base code, injected by the css-loader
  336. // eslint-disable-next-line func-names
  337. module.exports = function (useSourceMap) {
  338. var list = []; // return the list of modules as css string
  339. list.toString = function toString() {
  340. return this.map(function (item) {
  341. var content = cssWithMappingToString(item, useSourceMap);
  342. if (item[2]) {
  343. return "@media ".concat(item[2], " {").concat(content, "}");
  344. }
  345. return content;
  346. }).join('');
  347. }; // import a list of modules into the list
  348. // eslint-disable-next-line func-names
  349. list.i = function (modules, mediaQuery) {
  350. if (typeof modules === 'string') {
  351. // eslint-disable-next-line no-param-reassign
  352. modules = [[null, modules, '']];
  353. }
  354. for (var i = 0; i < modules.length; i++) {
  355. var item = [].concat(modules[i]);
  356. if (mediaQuery) {
  357. if (!item[2]) {
  358. item[2] = mediaQuery;
  359. } else {
  360. item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
  361. }
  362. }
  363. list.push(item);
  364. }
  365. };
  366. return list;
  367. };
  368. function cssWithMappingToString(item, useSourceMap) {
  369. var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring
  370. var cssMapping = item[3];
  371. if (!cssMapping) {
  372. return content;
  373. }
  374. if (useSourceMap && typeof btoa === 'function') {
  375. var sourceMapping = toComment(cssMapping);
  376. var sourceURLs = cssMapping.sources.map(function (source) {
  377. return "/*# sourceURL=".concat(cssMapping.sourceRoot).concat(source, " */");
  378. });
  379. return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
  380. }
  381. return [content].join('\n');
  382. } // Adapted from convert-source-map (MIT)
  383. function toComment(sourceMap) {
  384. // eslint-disable-next-line no-undef
  385. var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
  386. var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
  387. return "/*# ".concat(data, " */");
  388. }
  389. /***/ }),
  390. /***/ "37e8":
  391. /***/ (function(module, exports, __webpack_require__) {
  392. var DESCRIPTORS = __webpack_require__("83ab");
  393. var definePropertyModule = __webpack_require__("9bf2");
  394. var anObject = __webpack_require__("825a");
  395. var objectKeys = __webpack_require__("df75");
  396. // `Object.defineProperties` method
  397. // https://tc39.github.io/ecma262/#sec-object.defineproperties
  398. module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
  399. anObject(O);
  400. var keys = objectKeys(Properties);
  401. var length = keys.length;
  402. var index = 0;
  403. var key;
  404. while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
  405. return O;
  406. };
  407. /***/ }),
  408. /***/ "428f":
  409. /***/ (function(module, exports, __webpack_require__) {
  410. var global = __webpack_require__("da84");
  411. module.exports = global;
  412. /***/ }),
  413. /***/ "44ad":
  414. /***/ (function(module, exports, __webpack_require__) {
  415. var fails = __webpack_require__("d039");
  416. var classof = __webpack_require__("c6b6");
  417. var split = ''.split;
  418. // fallback for non-array-like ES3 and non-enumerable old V8 strings
  419. module.exports = fails(function () {
  420. // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
  421. // eslint-disable-next-line no-prototype-builtins
  422. return !Object('z').propertyIsEnumerable(0);
  423. }) ? function (it) {
  424. return classof(it) == 'String' ? split.call(it, '') : Object(it);
  425. } : Object;
  426. /***/ }),
  427. /***/ "4930":
  428. /***/ (function(module, exports, __webpack_require__) {
  429. var fails = __webpack_require__("d039");
  430. module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
  431. // Chrome 38 Symbol has incorrect toString conversion
  432. // eslint-disable-next-line no-undef
  433. return !String(Symbol());
  434. });
  435. /***/ }),
  436. /***/ "499e":
  437. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  438. "use strict";
  439. __webpack_require__.r(__webpack_exports__);
  440. // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js
  441. /**
  442. * Translates the list format produced by css-loader into something
  443. * easier to manipulate.
  444. */
  445. function listToStyles (parentId, list) {
  446. var styles = []
  447. var newStyles = {}
  448. for (var i = 0; i < list.length; i++) {
  449. var item = list[i]
  450. var id = item[0]
  451. var css = item[1]
  452. var media = item[2]
  453. var sourceMap = item[3]
  454. var part = {
  455. id: parentId + ':' + i,
  456. css: css,
  457. media: media,
  458. sourceMap: sourceMap
  459. }
  460. if (!newStyles[id]) {
  461. styles.push(newStyles[id] = { id: id, parts: [part] })
  462. } else {
  463. newStyles[id].parts.push(part)
  464. }
  465. }
  466. return styles
  467. }
  468. // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js
  469. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return addStylesClient; });
  470. /*
  471. MIT License http://www.opensource.org/licenses/mit-license.php
  472. Author Tobias Koppers @sokra
  473. Modified by Evan You @yyx990803
  474. */
  475. var hasDocument = typeof document !== 'undefined'
  476. if (typeof DEBUG !== 'undefined' && DEBUG) {
  477. if (!hasDocument) {
  478. throw new Error(
  479. 'vue-style-loader cannot be used in a non-browser environment. ' +
  480. "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
  481. ) }
  482. }
  483. /*
  484. type StyleObject = {
  485. id: number;
  486. parts: Array<StyleObjectPart>
  487. }
  488. type StyleObjectPart = {
  489. css: string;
  490. media: string;
  491. sourceMap: ?string
  492. }
  493. */
  494. var stylesInDom = {/*
  495. [id: number]: {
  496. id: number,
  497. refs: number,
  498. parts: Array<(obj?: StyleObjectPart) => void>
  499. }
  500. */}
  501. var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
  502. var singletonElement = null
  503. var singletonCounter = 0
  504. var isProduction = false
  505. var noop = function () {}
  506. var options = null
  507. var ssrIdKey = 'data-vue-ssr-id'
  508. // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
  509. // tags it will allow on a page
  510. var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
  511. function addStylesClient (parentId, list, _isProduction, _options) {
  512. isProduction = _isProduction
  513. options = _options || {}
  514. var styles = listToStyles(parentId, list)
  515. addStylesToDom(styles)
  516. return function update (newList) {
  517. var mayRemove = []
  518. for (var i = 0; i < styles.length; i++) {
  519. var item = styles[i]
  520. var domStyle = stylesInDom[item.id]
  521. domStyle.refs--
  522. mayRemove.push(domStyle)
  523. }
  524. if (newList) {
  525. styles = listToStyles(parentId, newList)
  526. addStylesToDom(styles)
  527. } else {
  528. styles = []
  529. }
  530. for (var i = 0; i < mayRemove.length; i++) {
  531. var domStyle = mayRemove[i]
  532. if (domStyle.refs === 0) {
  533. for (var j = 0; j < domStyle.parts.length; j++) {
  534. domStyle.parts[j]()
  535. }
  536. delete stylesInDom[domStyle.id]
  537. }
  538. }
  539. }
  540. }
  541. function addStylesToDom (styles /* Array<StyleObject> */) {
  542. for (var i = 0; i < styles.length; i++) {
  543. var item = styles[i]
  544. var domStyle = stylesInDom[item.id]
  545. if (domStyle) {
  546. domStyle.refs++
  547. for (var j = 0; j < domStyle.parts.length; j++) {
  548. domStyle.parts[j](item.parts[j])
  549. }
  550. for (; j < item.parts.length; j++) {
  551. domStyle.parts.push(addStyle(item.parts[j]))
  552. }
  553. if (domStyle.parts.length > item.parts.length) {
  554. domStyle.parts.length = item.parts.length
  555. }
  556. } else {
  557. var parts = []
  558. for (var j = 0; j < item.parts.length; j++) {
  559. parts.push(addStyle(item.parts[j]))
  560. }
  561. stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
  562. }
  563. }
  564. }
  565. function createStyleElement () {
  566. var styleElement = document.createElement('style')
  567. styleElement.type = 'text/css'
  568. head.appendChild(styleElement)
  569. return styleElement
  570. }
  571. function addStyle (obj /* StyleObjectPart */) {
  572. var update, remove
  573. var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
  574. if (styleElement) {
  575. if (isProduction) {
  576. // has SSR styles and in production mode.
  577. // simply do nothing.
  578. return noop
  579. } else {
  580. // has SSR styles but in dev mode.
  581. // for some reason Chrome can't handle source map in server-rendered
  582. // style tags - source maps in <style> only works if the style tag is
  583. // created and inserted dynamically. So we remove the server rendered
  584. // styles and inject new ones.
  585. styleElement.parentNode.removeChild(styleElement)
  586. }
  587. }
  588. if (isOldIE) {
  589. // use singleton mode for IE9.
  590. var styleIndex = singletonCounter++
  591. styleElement = singletonElement || (singletonElement = createStyleElement())
  592. update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
  593. remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
  594. } else {
  595. // use multi-style-tag mode in all other cases
  596. styleElement = createStyleElement()
  597. update = applyToTag.bind(null, styleElement)
  598. remove = function () {
  599. styleElement.parentNode.removeChild(styleElement)
  600. }
  601. }
  602. update(obj)
  603. return function updateStyle (newObj /* StyleObjectPart */) {
  604. if (newObj) {
  605. if (newObj.css === obj.css &&
  606. newObj.media === obj.media &&
  607. newObj.sourceMap === obj.sourceMap) {
  608. return
  609. }
  610. update(obj = newObj)
  611. } else {
  612. remove()
  613. }
  614. }
  615. }
  616. var replaceText = (function () {
  617. var textStore = []
  618. return function (index, replacement) {
  619. textStore[index] = replacement
  620. return textStore.filter(Boolean).join('\n')
  621. }
  622. })()
  623. function applyToSingletonTag (styleElement, index, remove, obj) {
  624. var css = remove ? '' : obj.css
  625. if (styleElement.styleSheet) {
  626. styleElement.styleSheet.cssText = replaceText(index, css)
  627. } else {
  628. var cssNode = document.createTextNode(css)
  629. var childNodes = styleElement.childNodes
  630. if (childNodes[index]) styleElement.removeChild(childNodes[index])
  631. if (childNodes.length) {
  632. styleElement.insertBefore(cssNode, childNodes[index])
  633. } else {
  634. styleElement.appendChild(cssNode)
  635. }
  636. }
  637. }
  638. function applyToTag (styleElement, obj) {
  639. var css = obj.css
  640. var media = obj.media
  641. var sourceMap = obj.sourceMap
  642. if (media) {
  643. styleElement.setAttribute('media', media)
  644. }
  645. if (options.ssrId) {
  646. styleElement.setAttribute(ssrIdKey, obj.id)
  647. }
  648. if (sourceMap) {
  649. // https://developer.chrome.com/devtools/docs/javascript-debugging
  650. // this makes source maps inside style tags work properly in Chrome
  651. css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
  652. // http://stackoverflow.com/a/26603875
  653. css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
  654. }
  655. if (styleElement.styleSheet) {
  656. styleElement.styleSheet.cssText = css
  657. } else {
  658. while (styleElement.firstChild) {
  659. styleElement.removeChild(styleElement.firstChild)
  660. }
  661. styleElement.appendChild(document.createTextNode(css))
  662. }
  663. }
  664. /***/ }),
  665. /***/ "4b09":
  666. /***/ (function(module, exports) {
  667. module.exports = "data:application/vnd.ms-fontobject;base64,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"
  668. /***/ }),
  669. /***/ "4d64":
  670. /***/ (function(module, exports, __webpack_require__) {
  671. var toIndexedObject = __webpack_require__("fc6a");
  672. var toLength = __webpack_require__("50c4");
  673. var toAbsoluteIndex = __webpack_require__("23cb");
  674. // `Array.prototype.{ indexOf, includes }` methods implementation
  675. var createMethod = function (IS_INCLUDES) {
  676. return function ($this, el, fromIndex) {
  677. var O = toIndexedObject($this);
  678. var length = toLength(O.length);
  679. var index = toAbsoluteIndex(fromIndex, length);
  680. var value;
  681. // Array#includes uses SameValueZero equality algorithm
  682. // eslint-disable-next-line no-self-compare
  683. if (IS_INCLUDES && el != el) while (length > index) {
  684. value = O[index++];
  685. // eslint-disable-next-line no-self-compare
  686. if (value != value) return true;
  687. // Array#indexOf ignores holes, Array#includes - not
  688. } else for (;length > index; index++) {
  689. if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
  690. } return !IS_INCLUDES && -1;
  691. };
  692. };
  693. module.exports = {
  694. // `Array.prototype.includes` method
  695. // https://tc39.github.io/ecma262/#sec-array.prototype.includes
  696. includes: createMethod(true),
  697. // `Array.prototype.indexOf` method
  698. // https://tc39.github.io/ecma262/#sec-array.prototype.indexof
  699. indexOf: createMethod(false)
  700. };
  701. /***/ }),
  702. /***/ "4de4":
  703. /***/ (function(module, exports, __webpack_require__) {
  704. "use strict";
  705. var $ = __webpack_require__("23e7");
  706. var $filter = __webpack_require__("b727").filter;
  707. var fails = __webpack_require__("d039");
  708. var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
  709. var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
  710. // Edge 14- issue
  711. var USES_TO_LENGTH = HAS_SPECIES_SUPPORT && !fails(function () {
  712. [].filter.call({ length: -1, 0: 1 }, function (it) { throw it; });
  713. });
  714. // `Array.prototype.filter` method
  715. // https://tc39.github.io/ecma262/#sec-array.prototype.filter
  716. // with adding support of @@species
  717. $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {
  718. filter: function filter(callbackfn /* , thisArg */) {
  719. return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  720. }
  721. });
  722. /***/ }),
  723. /***/ "50c4":
  724. /***/ (function(module, exports, __webpack_require__) {
  725. var toInteger = __webpack_require__("a691");
  726. var min = Math.min;
  727. // `ToLength` abstract operation
  728. // https://tc39.github.io/ecma262/#sec-tolength
  729. module.exports = function (argument) {
  730. return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
  731. };
  732. /***/ }),
  733. /***/ "5135":
  734. /***/ (function(module, exports) {
  735. var hasOwnProperty = {}.hasOwnProperty;
  736. module.exports = function (it, key) {
  737. return hasOwnProperty.call(it, key);
  738. };
  739. /***/ }),
  740. /***/ "5692":
  741. /***/ (function(module, exports, __webpack_require__) {
  742. var IS_PURE = __webpack_require__("c430");
  743. var store = __webpack_require__("c6cd");
  744. (module.exports = function (key, value) {
  745. return store[key] || (store[key] = value !== undefined ? value : {});
  746. })('versions', []).push({
  747. version: '3.6.1',
  748. mode: IS_PURE ? 'pure' : 'global',
  749. copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
  750. });
  751. /***/ }),
  752. /***/ "56ef":
  753. /***/ (function(module, exports, __webpack_require__) {
  754. var getBuiltIn = __webpack_require__("d066");
  755. var getOwnPropertyNamesModule = __webpack_require__("241c");
  756. var getOwnPropertySymbolsModule = __webpack_require__("7418");
  757. var anObject = __webpack_require__("825a");
  758. // all object keys, includes non-enumerable and symbols
  759. module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  760. var keys = getOwnPropertyNamesModule.f(anObject(it));
  761. var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
  762. return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
  763. };
  764. /***/ }),
  765. /***/ "5c6c":
  766. /***/ (function(module, exports) {
  767. module.exports = function (bitmap, value) {
  768. return {
  769. enumerable: !(bitmap & 1),
  770. configurable: !(bitmap & 2),
  771. writable: !(bitmap & 4),
  772. value: value
  773. };
  774. };
  775. /***/ }),
  776. /***/ "60ae":
  777. /***/ (function(module, exports, __webpack_require__) {
  778. var global = __webpack_require__("da84");
  779. var userAgent = __webpack_require__("b39a");
  780. var process = global.process;
  781. var versions = process && process.versions;
  782. var v8 = versions && versions.v8;
  783. var match, version;
  784. if (v8) {
  785. match = v8.split('.');
  786. version = match[0] + match[1];
  787. } else if (userAgent) {
  788. match = userAgent.match(/Edge\/(\d+)/);
  789. if (!match || match[1] >= 74) {
  790. match = userAgent.match(/Chrome\/(\d+)/);
  791. if (match) version = match[1];
  792. }
  793. }
  794. module.exports = version && +version;
  795. /***/ }),
  796. /***/ "62a3":
  797. /***/ (function(module, exports) {
  798. module.exports = "data:font/ttf;base64,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"
  799. /***/ }),
  800. /***/ "65f0":
  801. /***/ (function(module, exports, __webpack_require__) {
  802. var isObject = __webpack_require__("861d");
  803. var isArray = __webpack_require__("e8b5");
  804. var wellKnownSymbol = __webpack_require__("b622");
  805. var SPECIES = wellKnownSymbol('species');
  806. // `ArraySpeciesCreate` abstract operation
  807. // https://tc39.github.io/ecma262/#sec-arrayspeciescreate
  808. module.exports = function (originalArray, length) {
  809. var C;
  810. if (isArray(originalArray)) {
  811. C = originalArray.constructor;
  812. // cross-realm fallback
  813. if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
  814. else if (isObject(C)) {
  815. C = C[SPECIES];
  816. if (C === null) C = undefined;
  817. }
  818. } return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
  819. };
  820. /***/ }),
  821. /***/ "69f3":
  822. /***/ (function(module, exports, __webpack_require__) {
  823. var NATIVE_WEAK_MAP = __webpack_require__("7f9a");
  824. var global = __webpack_require__("da84");
  825. var isObject = __webpack_require__("861d");
  826. var createNonEnumerableProperty = __webpack_require__("9112");
  827. var objectHas = __webpack_require__("5135");
  828. var sharedKey = __webpack_require__("f772");
  829. var hiddenKeys = __webpack_require__("d012");
  830. var WeakMap = global.WeakMap;
  831. var set, get, has;
  832. var enforce = function (it) {
  833. return has(it) ? get(it) : set(it, {});
  834. };
  835. var getterFor = function (TYPE) {
  836. return function (it) {
  837. var state;
  838. if (!isObject(it) || (state = get(it)).type !== TYPE) {
  839. throw TypeError('Incompatible receiver, ' + TYPE + ' required');
  840. } return state;
  841. };
  842. };
  843. if (NATIVE_WEAK_MAP) {
  844. var store = new WeakMap();
  845. var wmget = store.get;
  846. var wmhas = store.has;
  847. var wmset = store.set;
  848. set = function (it, metadata) {
  849. wmset.call(store, it, metadata);
  850. return metadata;
  851. };
  852. get = function (it) {
  853. return wmget.call(store, it) || {};
  854. };
  855. has = function (it) {
  856. return wmhas.call(store, it);
  857. };
  858. } else {
  859. var STATE = sharedKey('state');
  860. hiddenKeys[STATE] = true;
  861. set = function (it, metadata) {
  862. createNonEnumerableProperty(it, STATE, metadata);
  863. return metadata;
  864. };
  865. get = function (it) {
  866. return objectHas(it, STATE) ? it[STATE] : {};
  867. };
  868. has = function (it) {
  869. return objectHas(it, STATE);
  870. };
  871. }
  872. module.exports = {
  873. set: set,
  874. get: get,
  875. has: has,
  876. enforce: enforce,
  877. getterFor: getterFor
  878. };
  879. /***/ }),
  880. /***/ "6cbe":
  881. /***/ (function(module, exports, __webpack_require__) {
  882. module.exports = __webpack_require__.p + "img/icomoon.4fcffe35.svg";
  883. /***/ }),
  884. /***/ "6eeb":
  885. /***/ (function(module, exports, __webpack_require__) {
  886. var global = __webpack_require__("da84");
  887. var createNonEnumerableProperty = __webpack_require__("9112");
  888. var has = __webpack_require__("5135");
  889. var setGlobal = __webpack_require__("ce4e");
  890. var inspectSource = __webpack_require__("8925");
  891. var InternalStateModule = __webpack_require__("69f3");
  892. var getInternalState = InternalStateModule.get;
  893. var enforceInternalState = InternalStateModule.enforce;
  894. var TEMPLATE = String(String).split('String');
  895. (module.exports = function (O, key, value, options) {
  896. var unsafe = options ? !!options.unsafe : false;
  897. var simple = options ? !!options.enumerable : false;
  898. var noTargetGet = options ? !!options.noTargetGet : false;
  899. if (typeof value == 'function') {
  900. if (typeof key == 'string' && !has(value, 'name')) createNonEnumerableProperty(value, 'name', key);
  901. enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');
  902. }
  903. if (O === global) {
  904. if (simple) O[key] = value;
  905. else setGlobal(key, value);
  906. return;
  907. } else if (!unsafe) {
  908. delete O[key];
  909. } else if (!noTargetGet && O[key]) {
  910. simple = true;
  911. }
  912. if (simple) O[key] = value;
  913. else createNonEnumerableProperty(O, key, value);
  914. // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
  915. })(Function.prototype, 'toString', function toString() {
  916. return typeof this == 'function' && getInternalState(this).source || inspectSource(this);
  917. });
  918. /***/ }),
  919. /***/ "7418":
  920. /***/ (function(module, exports) {
  921. exports.f = Object.getOwnPropertySymbols;
  922. /***/ }),
  923. /***/ "746f":
  924. /***/ (function(module, exports, __webpack_require__) {
  925. var path = __webpack_require__("428f");
  926. var has = __webpack_require__("5135");
  927. var wrappedWellKnownSymbolModule = __webpack_require__("c032");
  928. var defineProperty = __webpack_require__("9bf2").f;
  929. module.exports = function (NAME) {
  930. var Symbol = path.Symbol || (path.Symbol = {});
  931. if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {
  932. value: wrappedWellKnownSymbolModule.f(NAME)
  933. });
  934. };
  935. /***/ }),
  936. /***/ "7839":
  937. /***/ (function(module, exports) {
  938. // IE8- don't enum bug keys
  939. module.exports = [
  940. 'constructor',
  941. 'hasOwnProperty',
  942. 'isPrototypeOf',
  943. 'propertyIsEnumerable',
  944. 'toLocaleString',
  945. 'toString',
  946. 'valueOf'
  947. ];
  948. /***/ }),
  949. /***/ "7a23":
  950. /***/ (function(module, exports, __webpack_require__) {
  951. // Imports
  952. var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
  953. var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__("1de5");
  954. var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__("4b09");
  955. var ___CSS_LOADER_URL_IMPORT_1___ = __webpack_require__("62a3");
  956. var ___CSS_LOADER_URL_IMPORT_2___ = __webpack_require__("ae1e");
  957. var ___CSS_LOADER_URL_IMPORT_3___ = __webpack_require__("6cbe");
  958. exports = ___CSS_LOADER_API_IMPORT___(false);
  959. var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);
  960. var ___CSS_LOADER_URL_REPLACEMENT_1___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___, { hash: "#iefix" });
  961. var ___CSS_LOADER_URL_REPLACEMENT_2___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);
  962. var ___CSS_LOADER_URL_REPLACEMENT_3___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_2___);
  963. var ___CSS_LOADER_URL_REPLACEMENT_4___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_3___, { hash: "#icomoon" });
  964. // Module
  965. exports.push([module.i, "@font-face{font-family:icomoon;src:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");src:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") format(\"embedded-opentype\"),url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") format(\"truetype\"),url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") format(\"woff\"),url(" + ___CSS_LOADER_URL_REPLACEMENT_4___ + ") format(\"svg\");font-weight:400;font-style:normal}.vtl-icon{font-family:icomoon!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vtl-icon.vtl-menu-icon{margin-right:4px}.vtl-icon.vtl-menu-icon:hover{color:inherit}.vtl-icon:hover{color:#00f}.vtl-icon-file:before{content:\"\\e906\"}.vtl-icon-folder:before{content:\"\\e907\"}.vtl-icon-caret-down:before{content:\"\\e901\"}.vtl-icon-caret-right:before{content:\"\\e900\"}.vtl-icon-edit:before{content:\"\\e902\"}.vtl-icon-folder-plus-e:before{content:\"\\e903\"}.vtl-icon-plus:before{content:\"\\e904\"}.vtl-icon-trash:before{content:\"\\e905\"}.vtl-border{height:5px}.vtl-border.vtl-up{margin-top:-5px}.vtl-border.vtl-bottom,.vtl-border.vtl-up{background-color:transparent}.vtl-border.vtl-active{border-bottom:3px dashed #00f}.vtl-node-main{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:5px 0 5px 1rem}.vtl-node-main .vtl-input{border:none;max-width:150px;border-bottom:1px solid #00f}.vtl-node-main:hover{background-color:#f0f0f0}.vtl-node-main.vtl-active{outline:2px dashed pink}.vtl-node-main .vtl-caret{margin-left:-1rem}.vtl-node-main .vtl-operation{margin-left:2rem;letter-spacing:1px}.vtl-item{cursor:pointer}.vtl-tree-margin{margin-left:2em}", ""]);
  966. // Exports
  967. module.exports = exports;
  968. /***/ }),
  969. /***/ "7b0b":
  970. /***/ (function(module, exports, __webpack_require__) {
  971. var requireObjectCoercible = __webpack_require__("1d80");
  972. // `ToObject` abstract operation
  973. // https://tc39.github.io/ecma262/#sec-toobject
  974. module.exports = function (argument) {
  975. return Object(requireObjectCoercible(argument));
  976. };
  977. /***/ }),
  978. /***/ "7c73":
  979. /***/ (function(module, exports, __webpack_require__) {
  980. var anObject = __webpack_require__("825a");
  981. var defineProperties = __webpack_require__("37e8");
  982. var enumBugKeys = __webpack_require__("7839");
  983. var hiddenKeys = __webpack_require__("d012");
  984. var html = __webpack_require__("1be4");
  985. var documentCreateElement = __webpack_require__("cc12");
  986. var sharedKey = __webpack_require__("f772");
  987. var GT = '>';
  988. var LT = '<';
  989. var PROTOTYPE = 'prototype';
  990. var SCRIPT = 'script';
  991. var IE_PROTO = sharedKey('IE_PROTO');
  992. var EmptyConstructor = function () { /* empty */ };
  993. var scriptTag = function (content) {
  994. return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
  995. };
  996. // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
  997. var NullProtoObjectViaActiveX = function (activeXDocument) {
  998. activeXDocument.write(scriptTag(''));
  999. activeXDocument.close();
  1000. var temp = activeXDocument.parentWindow.Object;
  1001. activeXDocument = null; // avoid memory leak
  1002. return temp;
  1003. };
  1004. // Create object with fake `null` prototype: use iframe Object with cleared prototype
  1005. var NullProtoObjectViaIFrame = function () {
  1006. // Thrash, waste and sodomy: IE GC bug
  1007. var iframe = documentCreateElement('iframe');
  1008. var JS = 'java' + SCRIPT + ':';
  1009. var iframeDocument;
  1010. iframe.style.display = 'none';
  1011. html.appendChild(iframe);
  1012. // https://github.com/zloirock/core-js/issues/475
  1013. iframe.src = String(JS);
  1014. iframeDocument = iframe.contentWindow.document;
  1015. iframeDocument.open();
  1016. iframeDocument.write(scriptTag('document.F=Object'));
  1017. iframeDocument.close();
  1018. return iframeDocument.F;
  1019. };
  1020. // Check for document.domain and active x support
  1021. // No need to use active x approach when document.domain is not set
  1022. // see https://github.com/es-shims/es5-shim/issues/150
  1023. // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
  1024. // avoid IE GC bug
  1025. var activeXDocument;
  1026. var NullProtoObject = function () {
  1027. try {
  1028. /* global ActiveXObject */
  1029. activeXDocument = document.domain && new ActiveXObject('htmlfile');
  1030. } catch (error) { /* ignore */ }
  1031. NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
  1032. var length = enumBugKeys.length;
  1033. while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
  1034. return NullProtoObject();
  1035. };
  1036. hiddenKeys[IE_PROTO] = true;
  1037. // `Object.create` method
  1038. // https://tc39.github.io/ecma262/#sec-object.create
  1039. module.exports = Object.create || function create(O, Properties) {
  1040. var result;
  1041. if (O !== null) {
  1042. EmptyConstructor[PROTOTYPE] = anObject(O);
  1043. result = new EmptyConstructor();
  1044. EmptyConstructor[PROTOTYPE] = null;
  1045. // add "__proto__" for Object.getPrototypeOf polyfill
  1046. result[IE_PROTO] = O;
  1047. } else result = NullProtoObject();
  1048. return Properties === undefined ? result : defineProperties(result, Properties);
  1049. };
  1050. /***/ }),
  1051. /***/ "7f9a":
  1052. /***/ (function(module, exports, __webpack_require__) {
  1053. var global = __webpack_require__("da84");
  1054. var inspectSource = __webpack_require__("8925");
  1055. var WeakMap = global.WeakMap;
  1056. module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap));
  1057. /***/ }),
  1058. /***/ "825a":
  1059. /***/ (function(module, exports, __webpack_require__) {
  1060. var isObject = __webpack_require__("861d");
  1061. module.exports = function (it) {
  1062. if (!isObject(it)) {
  1063. throw TypeError(String(it) + ' is not an object');
  1064. } return it;
  1065. };
  1066. /***/ }),
  1067. /***/ "83ab":
  1068. /***/ (function(module, exports, __webpack_require__) {
  1069. var fails = __webpack_require__("d039");
  1070. // Thank's IE8 for his funny defineProperty
  1071. module.exports = !fails(function () {
  1072. return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
  1073. });
  1074. /***/ }),
  1075. /***/ "83af":
  1076. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1077. "use strict";
  1078. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addHandler; });
  1079. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return removeHandler; });
  1080. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return traverseTree; });
  1081. /**
  1082. * Created by ayou on 18/2/6.
  1083. */
  1084. var handlerCache;
  1085. var addHandler = function addHandler(element, type, handler) {
  1086. handlerCache = handler;
  1087. if (element.addEventListener) {
  1088. element.addEventListener(type, handler, false);
  1089. } else if (element.attachEvent) {
  1090. element.attachEvent('on' + type, handler);
  1091. } else {
  1092. element['on' + type] = handler;
  1093. }
  1094. };
  1095. var removeHandler = function removeHandler(element, type) {
  1096. if (element.removeEventListener) {
  1097. element.removeEventListener(type, handlerCache, false);
  1098. } else if (element.detachEvent) {
  1099. element.detachEvent('on' + type, handlerCache);
  1100. } else {
  1101. element['on' + type] = null;
  1102. }
  1103. }; // depth first search
  1104. var traverseTree = function traverseTree(root) {
  1105. var newRoot = {};
  1106. for (var k in root) {
  1107. if (k !== 'children' && k !== 'parent') {
  1108. newRoot[k] = root[k];
  1109. }
  1110. }
  1111. if (root.children && root.children.length > 0) {
  1112. newRoot.children = [];
  1113. for (var i = 0, len = root.children.length; i < len; i++) {
  1114. newRoot.children.push(traverseTree(root.children[i]));
  1115. }
  1116. }
  1117. return newRoot;
  1118. };
  1119. /***/ }),
  1120. /***/ "8418":
  1121. /***/ (function(module, exports, __webpack_require__) {
  1122. "use strict";
  1123. var toPrimitive = __webpack_require__("c04e");
  1124. var definePropertyModule = __webpack_require__("9bf2");
  1125. var createPropertyDescriptor = __webpack_require__("5c6c");
  1126. module.exports = function (object, key, value) {
  1127. var propertyKey = toPrimitive(key);
  1128. if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
  1129. else object[propertyKey] = value;
  1130. };
  1131. /***/ }),
  1132. /***/ "861d":
  1133. /***/ (function(module, exports) {
  1134. module.exports = function (it) {
  1135. return typeof it === 'object' ? it !== null : typeof it === 'function';
  1136. };
  1137. /***/ }),
  1138. /***/ "8925":
  1139. /***/ (function(module, exports, __webpack_require__) {
  1140. var store = __webpack_require__("c6cd");
  1141. var functionToString = Function.toString;
  1142. // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper
  1143. if (typeof store.inspectSource != 'function') {
  1144. store.inspectSource = function (it) {
  1145. return functionToString.call(it);
  1146. };
  1147. }
  1148. module.exports = store.inspectSource;
  1149. /***/ }),
  1150. /***/ "90e3":
  1151. /***/ (function(module, exports) {
  1152. var id = 0;
  1153. var postfix = Math.random();
  1154. module.exports = function (key) {
  1155. return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
  1156. };
  1157. /***/ }),
  1158. /***/ "9112":
  1159. /***/ (function(module, exports, __webpack_require__) {
  1160. var DESCRIPTORS = __webpack_require__("83ab");
  1161. var definePropertyModule = __webpack_require__("9bf2");
  1162. var createPropertyDescriptor = __webpack_require__("5c6c");
  1163. module.exports = DESCRIPTORS ? function (object, key, value) {
  1164. return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
  1165. } : function (object, key, value) {
  1166. object[key] = value;
  1167. return object;
  1168. };
  1169. /***/ }),
  1170. /***/ "91a9":
  1171. /***/ (function(module, exports, __webpack_require__) {
  1172. // style-loader: Adds some css to the DOM by adding a <style> tag
  1173. // load the styles
  1174. var content = __webpack_require__("7a23");
  1175. if(typeof content === 'string') content = [[module.i, content, '']];
  1176. if(content.locals) module.exports = content.locals;
  1177. // add the styles to the DOM
  1178. var add = __webpack_require__("499e").default
  1179. var update = add("65bc41e4", content, true, {"sourceMap":false,"shadowMode":false});
  1180. /***/ }),
  1181. /***/ "94ca":
  1182. /***/ (function(module, exports, __webpack_require__) {
  1183. var fails = __webpack_require__("d039");
  1184. var replacement = /#|\.prototype\./;
  1185. var isForced = function (feature, detection) {
  1186. var value = data[normalize(feature)];
  1187. return value == POLYFILL ? true
  1188. : value == NATIVE ? false
  1189. : typeof detection == 'function' ? fails(detection)
  1190. : !!detection;
  1191. };
  1192. var normalize = isForced.normalize = function (string) {
  1193. return String(string).replace(replacement, '.').toLowerCase();
  1194. };
  1195. var data = isForced.data = {};
  1196. var NATIVE = isForced.NATIVE = 'N';
  1197. var POLYFILL = isForced.POLYFILL = 'P';
  1198. module.exports = isForced;
  1199. /***/ }),
  1200. /***/ "99af":
  1201. /***/ (function(module, exports, __webpack_require__) {
  1202. "use strict";
  1203. var $ = __webpack_require__("23e7");
  1204. var fails = __webpack_require__("d039");
  1205. var isArray = __webpack_require__("e8b5");
  1206. var isObject = __webpack_require__("861d");
  1207. var toObject = __webpack_require__("7b0b");
  1208. var toLength = __webpack_require__("50c4");
  1209. var createProperty = __webpack_require__("8418");
  1210. var arraySpeciesCreate = __webpack_require__("65f0");
  1211. var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
  1212. var wellKnownSymbol = __webpack_require__("b622");
  1213. var V8_VERSION = __webpack_require__("60ae");
  1214. var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
  1215. var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
  1216. var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
  1217. // We can't use this feature detection in V8 since it causes
  1218. // deoptimization and serious performance degradation
  1219. // https://github.com/zloirock/core-js/issues/679
  1220. var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
  1221. var array = [];
  1222. array[IS_CONCAT_SPREADABLE] = false;
  1223. return array.concat()[0] !== array;
  1224. });
  1225. var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
  1226. var isConcatSpreadable = function (O) {
  1227. if (!isObject(O)) return false;
  1228. var spreadable = O[IS_CONCAT_SPREADABLE];
  1229. return spreadable !== undefined ? !!spreadable : isArray(O);
  1230. };
  1231. var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
  1232. // `Array.prototype.concat` method
  1233. // https://tc39.github.io/ecma262/#sec-array.prototype.concat
  1234. // with adding support of @@isConcatSpreadable and @@species
  1235. $({ target: 'Array', proto: true, forced: FORCED }, {
  1236. concat: function concat(arg) { // eslint-disable-line no-unused-vars
  1237. var O = toObject(this);
  1238. var A = arraySpeciesCreate(O, 0);
  1239. var n = 0;
  1240. var i, k, length, len, E;
  1241. for (i = -1, length = arguments.length; i < length; i++) {
  1242. E = i === -1 ? O : arguments[i];
  1243. if (isConcatSpreadable(E)) {
  1244. len = toLength(E.length);
  1245. if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  1246. for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
  1247. } else {
  1248. if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
  1249. createProperty(A, n++, E);
  1250. }
  1251. }
  1252. A.length = n;
  1253. return A;
  1254. }
  1255. });
  1256. /***/ }),
  1257. /***/ "9bf2":
  1258. /***/ (function(module, exports, __webpack_require__) {
  1259. var DESCRIPTORS = __webpack_require__("83ab");
  1260. var IE8_DOM_DEFINE = __webpack_require__("0cfb");
  1261. var anObject = __webpack_require__("825a");
  1262. var toPrimitive = __webpack_require__("c04e");
  1263. var nativeDefineProperty = Object.defineProperty;
  1264. // `Object.defineProperty` method
  1265. // https://tc39.github.io/ecma262/#sec-object.defineproperty
  1266. exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
  1267. anObject(O);
  1268. P = toPrimitive(P, true);
  1269. anObject(Attributes);
  1270. if (IE8_DOM_DEFINE) try {
  1271. return nativeDefineProperty(O, P, Attributes);
  1272. } catch (error) { /* empty */ }
  1273. if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
  1274. if ('value' in Attributes) O[P] = Attributes.value;
  1275. return O;
  1276. };
  1277. /***/ }),
  1278. /***/ "a434":
  1279. /***/ (function(module, exports, __webpack_require__) {
  1280. "use strict";
  1281. var $ = __webpack_require__("23e7");
  1282. var toAbsoluteIndex = __webpack_require__("23cb");
  1283. var toInteger = __webpack_require__("a691");
  1284. var toLength = __webpack_require__("50c4");
  1285. var toObject = __webpack_require__("7b0b");
  1286. var arraySpeciesCreate = __webpack_require__("65f0");
  1287. var createProperty = __webpack_require__("8418");
  1288. var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
  1289. var max = Math.max;
  1290. var min = Math.min;
  1291. var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
  1292. var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';
  1293. // `Array.prototype.splice` method
  1294. // https://tc39.github.io/ecma262/#sec-array.prototype.splice
  1295. // with adding support of @@species
  1296. $({ target: 'Array', proto: true, forced: !arrayMethodHasSpeciesSupport('splice') }, {
  1297. splice: function splice(start, deleteCount /* , ...items */) {
  1298. var O = toObject(this);
  1299. var len = toLength(O.length);
  1300. var actualStart = toAbsoluteIndex(start, len);
  1301. var argumentsLength = arguments.length;
  1302. var insertCount, actualDeleteCount, A, k, from, to;
  1303. if (argumentsLength === 0) {
  1304. insertCount = actualDeleteCount = 0;
  1305. } else if (argumentsLength === 1) {
  1306. insertCount = 0;
  1307. actualDeleteCount = len - actualStart;
  1308. } else {
  1309. insertCount = argumentsLength - 2;
  1310. actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);
  1311. }
  1312. if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {
  1313. throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);
  1314. }
  1315. A = arraySpeciesCreate(O, actualDeleteCount);
  1316. for (k = 0; k < actualDeleteCount; k++) {
  1317. from = actualStart + k;
  1318. if (from in O) createProperty(A, k, O[from]);
  1319. }
  1320. A.length = actualDeleteCount;
  1321. if (insertCount < actualDeleteCount) {
  1322. for (k = actualStart; k < len - actualDeleteCount; k++) {
  1323. from = k + actualDeleteCount;
  1324. to = k + insertCount;
  1325. if (from in O) O[to] = O[from];
  1326. else delete O[to];
  1327. }
  1328. for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];
  1329. } else if (insertCount > actualDeleteCount) {
  1330. for (k = len - actualDeleteCount; k > actualStart; k--) {
  1331. from = k + actualDeleteCount - 1;
  1332. to = k + insertCount - 1;
  1333. if (from in O) O[to] = O[from];
  1334. else delete O[to];
  1335. }
  1336. }
  1337. for (k = 0; k < insertCount; k++) {
  1338. O[k + actualStart] = arguments[k + 2];
  1339. }
  1340. O.length = len - actualDeleteCount + insertCount;
  1341. return A;
  1342. }
  1343. });
  1344. /***/ }),
  1345. /***/ "a4d3":
  1346. /***/ (function(module, exports, __webpack_require__) {
  1347. "use strict";
  1348. var $ = __webpack_require__("23e7");
  1349. var global = __webpack_require__("da84");
  1350. var getBuiltIn = __webpack_require__("d066");
  1351. var IS_PURE = __webpack_require__("c430");
  1352. var DESCRIPTORS = __webpack_require__("83ab");
  1353. var NATIVE_SYMBOL = __webpack_require__("4930");
  1354. var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
  1355. var fails = __webpack_require__("d039");
  1356. var has = __webpack_require__("5135");
  1357. var isArray = __webpack_require__("e8b5");
  1358. var isObject = __webpack_require__("861d");
  1359. var anObject = __webpack_require__("825a");
  1360. var toObject = __webpack_require__("7b0b");
  1361. var toIndexedObject = __webpack_require__("fc6a");
  1362. var toPrimitive = __webpack_require__("c04e");
  1363. var createPropertyDescriptor = __webpack_require__("5c6c");
  1364. var nativeObjectCreate = __webpack_require__("7c73");
  1365. var objectKeys = __webpack_require__("df75");
  1366. var getOwnPropertyNamesModule = __webpack_require__("241c");
  1367. var getOwnPropertyNamesExternal = __webpack_require__("057f");
  1368. var getOwnPropertySymbolsModule = __webpack_require__("7418");
  1369. var getOwnPropertyDescriptorModule = __webpack_require__("06cf");
  1370. var definePropertyModule = __webpack_require__("9bf2");
  1371. var propertyIsEnumerableModule = __webpack_require__("d1e7");
  1372. var createNonEnumerableProperty = __webpack_require__("9112");
  1373. var redefine = __webpack_require__("6eeb");
  1374. var shared = __webpack_require__("5692");
  1375. var sharedKey = __webpack_require__("f772");
  1376. var hiddenKeys = __webpack_require__("d012");
  1377. var uid = __webpack_require__("90e3");
  1378. var wellKnownSymbol = __webpack_require__("b622");
  1379. var wrappedWellKnownSymbolModule = __webpack_require__("c032");
  1380. var defineWellKnownSymbol = __webpack_require__("746f");
  1381. var setToStringTag = __webpack_require__("d44e");
  1382. var InternalStateModule = __webpack_require__("69f3");
  1383. var $forEach = __webpack_require__("b727").forEach;
  1384. var HIDDEN = sharedKey('hidden');
  1385. var SYMBOL = 'Symbol';
  1386. var PROTOTYPE = 'prototype';
  1387. var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
  1388. var setInternalState = InternalStateModule.set;
  1389. var getInternalState = InternalStateModule.getterFor(SYMBOL);
  1390. var ObjectPrototype = Object[PROTOTYPE];
  1391. var $Symbol = global.Symbol;
  1392. var $stringify = getBuiltIn('JSON', 'stringify');
  1393. var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  1394. var nativeDefineProperty = definePropertyModule.f;
  1395. var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
  1396. var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
  1397. var AllSymbols = shared('symbols');
  1398. var ObjectPrototypeSymbols = shared('op-symbols');
  1399. var StringToSymbolRegistry = shared('string-to-symbol-registry');
  1400. var SymbolToStringRegistry = shared('symbol-to-string-registry');
  1401. var WellKnownSymbolsStore = shared('wks');
  1402. var QObject = global.QObject;
  1403. // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
  1404. var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
  1405. // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
  1406. var setSymbolDescriptor = DESCRIPTORS && fails(function () {
  1407. return nativeObjectCreate(nativeDefineProperty({}, 'a', {
  1408. get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
  1409. })).a != 7;
  1410. }) ? function (O, P, Attributes) {
  1411. var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
  1412. if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
  1413. nativeDefineProperty(O, P, Attributes);
  1414. if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
  1415. nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
  1416. }
  1417. } : nativeDefineProperty;
  1418. var wrap = function (tag, description) {
  1419. var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]);
  1420. setInternalState(symbol, {
  1421. type: SYMBOL,
  1422. tag: tag,
  1423. description: description
  1424. });
  1425. if (!DESCRIPTORS) symbol.description = description;
  1426. return symbol;
  1427. };
  1428. var isSymbol = USE_SYMBOL_AS_UID ? function (it) {
  1429. return typeof it == 'symbol';
  1430. } : function (it) {
  1431. return Object(it) instanceof $Symbol;
  1432. };
  1433. var $defineProperty = function defineProperty(O, P, Attributes) {
  1434. if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
  1435. anObject(O);
  1436. var key = toPrimitive(P, true);
  1437. anObject(Attributes);
  1438. if (has(AllSymbols, key)) {
  1439. if (!Attributes.enumerable) {
  1440. if (!has(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));
  1441. O[HIDDEN][key] = true;
  1442. } else {
  1443. if (has(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
  1444. Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
  1445. } return setSymbolDescriptor(O, key, Attributes);
  1446. } return nativeDefineProperty(O, key, Attributes);
  1447. };
  1448. var $defineProperties = function defineProperties(O, Properties) {
  1449. anObject(O);
  1450. var properties = toIndexedObject(Properties);
  1451. var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
  1452. $forEach(keys, function (key) {
  1453. if (!DESCRIPTORS || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]);
  1454. });
  1455. return O;
  1456. };
  1457. var $create = function create(O, Properties) {
  1458. return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
  1459. };
  1460. var $propertyIsEnumerable = function propertyIsEnumerable(V) {
  1461. var P = toPrimitive(V, true);
  1462. var enumerable = nativePropertyIsEnumerable.call(this, P);
  1463. if (this === ObjectPrototype && has(AllSymbols, P) && !has(ObjectPrototypeSymbols, P)) return false;
  1464. return enumerable || !has(this, P) || !has(AllSymbols, P) || has(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
  1465. };
  1466. var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
  1467. var it = toIndexedObject(O);
  1468. var key = toPrimitive(P, true);
  1469. if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return;
  1470. var descriptor = nativeGetOwnPropertyDescriptor(it, key);
  1471. if (descriptor && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) {
  1472. descriptor.enumerable = true;
  1473. }
  1474. return descriptor;
  1475. };
  1476. var $getOwnPropertyNames = function getOwnPropertyNames(O) {
  1477. var names = nativeGetOwnPropertyNames(toIndexedObject(O));
  1478. var result = [];
  1479. $forEach(names, function (key) {
  1480. if (!has(AllSymbols, key) && !has(hiddenKeys, key)) result.push(key);
  1481. });
  1482. return result;
  1483. };
  1484. var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
  1485. var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
  1486. var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
  1487. var result = [];
  1488. $forEach(names, function (key) {
  1489. if (has(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || has(ObjectPrototype, key))) {
  1490. result.push(AllSymbols[key]);
  1491. }
  1492. });
  1493. return result;
  1494. };
  1495. // `Symbol` constructor
  1496. // https://tc39.github.io/ecma262/#sec-symbol-constructor
  1497. if (!NATIVE_SYMBOL) {
  1498. $Symbol = function Symbol() {
  1499. if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor');
  1500. var description = !arguments.length || arguments[0] === undefined ? undefined : String(arguments[0]);
  1501. var tag = uid(description);
  1502. var setter = function (value) {
  1503. if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value);
  1504. if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
  1505. setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));
  1506. };
  1507. if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
  1508. return wrap(tag, description);
  1509. };
  1510. redefine($Symbol[PROTOTYPE], 'toString', function toString() {
  1511. return getInternalState(this).tag;
  1512. });
  1513. redefine($Symbol, 'withoutSetter', function (description) {
  1514. return wrap(uid(description), description);
  1515. });
  1516. propertyIsEnumerableModule.f = $propertyIsEnumerable;
  1517. definePropertyModule.f = $defineProperty;
  1518. getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
  1519. getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
  1520. getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;
  1521. wrappedWellKnownSymbolModule.f = function (name) {
  1522. return wrap(wellKnownSymbol(name), name);
  1523. };
  1524. if (DESCRIPTORS) {
  1525. // https://github.com/tc39/proposal-Symbol-description
  1526. nativeDefineProperty($Symbol[PROTOTYPE], 'description', {
  1527. configurable: true,
  1528. get: function description() {
  1529. return getInternalState(this).description;
  1530. }
  1531. });
  1532. if (!IS_PURE) {
  1533. redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
  1534. }
  1535. }
  1536. }
  1537. $({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
  1538. Symbol: $Symbol
  1539. });
  1540. $forEach(objectKeys(WellKnownSymbolsStore), function (name) {
  1541. defineWellKnownSymbol(name);
  1542. });
  1543. $({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
  1544. // `Symbol.for` method
  1545. // https://tc39.github.io/ecma262/#sec-symbol.for
  1546. 'for': function (key) {
  1547. var string = String(key);
  1548. if (has(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
  1549. var symbol = $Symbol(string);
  1550. StringToSymbolRegistry[string] = symbol;
  1551. SymbolToStringRegistry[symbol] = string;
  1552. return symbol;
  1553. },
  1554. // `Symbol.keyFor` method
  1555. // https://tc39.github.io/ecma262/#sec-symbol.keyfor
  1556. keyFor: function keyFor(sym) {
  1557. if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');
  1558. if (has(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
  1559. },
  1560. useSetter: function () { USE_SETTER = true; },
  1561. useSimple: function () { USE_SETTER = false; }
  1562. });
  1563. $({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {
  1564. // `Object.create` method
  1565. // https://tc39.github.io/ecma262/#sec-object.create
  1566. create: $create,
  1567. // `Object.defineProperty` method
  1568. // https://tc39.github.io/ecma262/#sec-object.defineproperty
  1569. defineProperty: $defineProperty,
  1570. // `Object.defineProperties` method
  1571. // https://tc39.github.io/ecma262/#sec-object.defineproperties
  1572. defineProperties: $defineProperties,
  1573. // `Object.getOwnPropertyDescriptor` method
  1574. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors
  1575. getOwnPropertyDescriptor: $getOwnPropertyDescriptor
  1576. });
  1577. $({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
  1578. // `Object.getOwnPropertyNames` method
  1579. // https://tc39.github.io/ecma262/#sec-object.getownpropertynames
  1580. getOwnPropertyNames: $getOwnPropertyNames,
  1581. // `Object.getOwnPropertySymbols` method
  1582. // https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols
  1583. getOwnPropertySymbols: $getOwnPropertySymbols
  1584. });
  1585. // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
  1586. // https://bugs.chromium.org/p/v8/issues/detail?id=3443
  1587. $({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {
  1588. getOwnPropertySymbols: function getOwnPropertySymbols(it) {
  1589. return getOwnPropertySymbolsModule.f(toObject(it));
  1590. }
  1591. });
  1592. // `JSON.stringify` method behavior with symbols
  1593. // https://tc39.github.io/ecma262/#sec-json.stringify
  1594. if ($stringify) {
  1595. var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {
  1596. var symbol = $Symbol();
  1597. // MS Edge converts symbol values to JSON as {}
  1598. return $stringify([symbol]) != '[null]'
  1599. // WebKit converts symbol values to JSON as null
  1600. || $stringify({ a: symbol }) != '{}'
  1601. // V8 throws on boxed symbols
  1602. || $stringify(Object(symbol)) != '{}';
  1603. });
  1604. $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
  1605. // eslint-disable-next-line no-unused-vars
  1606. stringify: function stringify(it, replacer, space) {
  1607. var args = [it];
  1608. var index = 1;
  1609. var $replacer;
  1610. while (arguments.length > index) args.push(arguments[index++]);
  1611. $replacer = replacer;
  1612. if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
  1613. if (!isArray(replacer)) replacer = function (key, value) {
  1614. if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
  1615. if (!isSymbol(value)) return value;
  1616. };
  1617. args[1] = replacer;
  1618. return $stringify.apply(null, args);
  1619. }
  1620. });
  1621. }
  1622. // `Symbol.prototype[@@toPrimitive]` method
  1623. // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@toprimitive
  1624. if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) {
  1625. createNonEnumerableProperty($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
  1626. }
  1627. // `Symbol.prototype[@@toStringTag]` property
  1628. // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@tostringtag
  1629. setToStringTag($Symbol, SYMBOL);
  1630. hiddenKeys[HIDDEN] = true;
  1631. /***/ }),
  1632. /***/ "a691":
  1633. /***/ (function(module, exports) {
  1634. var ceil = Math.ceil;
  1635. var floor = Math.floor;
  1636. // `ToInteger` abstract operation
  1637. // https://tc39.github.io/ecma262/#sec-tointeger
  1638. module.exports = function (argument) {
  1639. return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
  1640. };
  1641. /***/ }),
  1642. /***/ "a76f":
  1643. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1644. "use strict";
  1645. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
  1646. var es_array_concat = __webpack_require__("99af");
  1647. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
  1648. var es_array_splice = __webpack_require__("a434");
  1649. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
  1650. var es_function_name = __webpack_require__("b0c0");
  1651. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
  1652. function _classCallCheck(instance, Constructor) {
  1653. if (!(instance instanceof Constructor)) {
  1654. throw new TypeError("Cannot call a class as a function");
  1655. }
  1656. }
  1657. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
  1658. function _defineProperties(target, props) {
  1659. for (var i = 0; i < props.length; i++) {
  1660. var descriptor = props[i];
  1661. descriptor.enumerable = descriptor.enumerable || false;
  1662. descriptor.configurable = true;
  1663. if ("value" in descriptor) descriptor.writable = true;
  1664. Object.defineProperty(target, descriptor.key, descriptor);
  1665. }
  1666. }
  1667. function _createClass(Constructor, protoProps, staticProps) {
  1668. if (protoProps) _defineProperties(Constructor.prototype, protoProps);
  1669. if (staticProps) _defineProperties(Constructor, staticProps);
  1670. return Constructor;
  1671. }
  1672. // EXTERNAL MODULE: ./src/tools.js
  1673. var tools = __webpack_require__("83af");
  1674. // CONCATENATED MODULE: ./src/Tree.js
  1675. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return Tree_TreeNode; });
  1676. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Tree_Tree; });
  1677. /**
  1678. * Tree data struct
  1679. * Created by ayou on 2017/7/20.
  1680. * @param data: treenode's params
  1681. * name: treenode's name
  1682. * isLeaf: treenode is leaf node or not
  1683. * id: id
  1684. * dragDisabled: decide if it can be dragged
  1685. * disabled: desabled all operation
  1686. */
  1687. var Tree_TreeNode =
  1688. /*#__PURE__*/
  1689. function () {
  1690. function TreeNode(data) {
  1691. _classCallCheck(this, TreeNode);
  1692. var id = data.id,
  1693. isLeaf = data.isLeaf;
  1694. this.id = typeof id === 'undefined' ? new Date().valueOf() : id;
  1695. this.parent = null;
  1696. this.children = null;
  1697. this.isLeaf = !!isLeaf; // other params
  1698. for (var k in data) {
  1699. if (k !== 'id' && k !== 'children' && k !== 'isLeaf') {
  1700. this[k] = data[k];
  1701. }
  1702. }
  1703. }
  1704. _createClass(TreeNode, [{
  1705. key: "changeName",
  1706. value: function changeName(name) {
  1707. this.name = name;
  1708. }
  1709. }, {
  1710. key: "addChildren",
  1711. value: function addChildren(children) {
  1712. if (!this.children) {
  1713. this.children = [];
  1714. }
  1715. if (Array.isArray(children)) {
  1716. for (var i = 0, len = children.length; i < len; i++) {
  1717. var child = children[i];
  1718. child.parent = this;
  1719. child.pid = this.id;
  1720. }
  1721. this.children.concat(children);
  1722. } else {
  1723. var _child = children;
  1724. _child.parent = this;
  1725. _child.pid = this.id;
  1726. this.children.push(_child);
  1727. }
  1728. } // remove self
  1729. }, {
  1730. key: "remove",
  1731. value: function remove() {
  1732. var parent = this.parent;
  1733. var index = parent.findChildIndex(this);
  1734. parent.children.splice(index, 1);
  1735. } // remove child
  1736. }, {
  1737. key: "_removeChild",
  1738. value: function _removeChild(child) {
  1739. for (var i = 0, len = this.children.length; i < len; i++) {
  1740. if (this.children[i] === child) {
  1741. this.children.splice(i, 1);
  1742. break;
  1743. }
  1744. }
  1745. }
  1746. }, {
  1747. key: "isTargetChild",
  1748. value: function isTargetChild(target) {
  1749. var parent = target.parent;
  1750. while (parent) {
  1751. if (parent === this) {
  1752. return true;
  1753. }
  1754. parent = parent.parent;
  1755. }
  1756. return false;
  1757. }
  1758. }, {
  1759. key: "moveInto",
  1760. value: function moveInto(target) {
  1761. if (this.name === 'root' || this === target) {
  1762. return;
  1763. } // cannot move ancestor to child
  1764. if (this.isTargetChild(target)) {
  1765. return;
  1766. } // cannot move to leaf node
  1767. if (target.isLeaf) {
  1768. return;
  1769. }
  1770. this.parent._removeChild(this);
  1771. this.parent = target;
  1772. this.pid = target.id;
  1773. if (!target.children) {
  1774. target.children = [];
  1775. }
  1776. target.children.unshift(this);
  1777. }
  1778. }, {
  1779. key: "findChildIndex",
  1780. value: function findChildIndex(child) {
  1781. var index;
  1782. for (var i = 0, len = this.children.length; i < len; i++) {
  1783. if (this.children[i] === child) {
  1784. index = i;
  1785. break;
  1786. }
  1787. }
  1788. return index;
  1789. }
  1790. }, {
  1791. key: "_canInsert",
  1792. value: function _canInsert(target) {
  1793. if (this.name === 'root' || this === target) {
  1794. return false;
  1795. } // cannot insert ancestor to child
  1796. if (this.isTargetChild(target)) {
  1797. return false;
  1798. }
  1799. this.parent._removeChild(this);
  1800. this.parent = target.parent;
  1801. this.pid = target.parent.id;
  1802. return true;
  1803. }
  1804. }, {
  1805. key: "insertBefore",
  1806. value: function insertBefore(target) {
  1807. if (!this._canInsert(target)) return;
  1808. var pos = target.parent.findChildIndex(target);
  1809. target.parent.children.splice(pos, 0, this);
  1810. }
  1811. }, {
  1812. key: "insertAfter",
  1813. value: function insertAfter(target) {
  1814. if (!this._canInsert(target)) return;
  1815. var pos = target.parent.findChildIndex(target);
  1816. target.parent.children.splice(pos + 1, 0, this);
  1817. }
  1818. }, {
  1819. key: "toString",
  1820. value: function toString() {
  1821. return JSON.stringify(Object(tools["c" /* traverseTree */])(this));
  1822. }
  1823. }]);
  1824. return TreeNode;
  1825. }();
  1826. var Tree_Tree =
  1827. /*#__PURE__*/
  1828. function () {
  1829. function Tree(data) {
  1830. _classCallCheck(this, Tree);
  1831. this.root = new Tree_TreeNode({
  1832. name: 'root',
  1833. isLeaf: false,
  1834. id: 0
  1835. });
  1836. this.initNode(this.root, data);
  1837. return this.root;
  1838. }
  1839. _createClass(Tree, [{
  1840. key: "initNode",
  1841. value: function initNode(node, data) {
  1842. for (var i = 0, len = data.length; i < len; i++) {
  1843. var _data = data[i];
  1844. var child = new Tree_TreeNode(_data);
  1845. if (_data.children && _data.children.length > 0) {
  1846. this.initNode(child, _data.children);
  1847. }
  1848. node.addChildren(child);
  1849. }
  1850. }
  1851. }]);
  1852. return Tree;
  1853. }();
  1854. /***/ }),
  1855. /***/ "ae1e":
  1856. /***/ (function(module, exports) {
  1857. module.exports = "data:font/woff;base64,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"
  1858. /***/ }),
  1859. /***/ "b0c0":
  1860. /***/ (function(module, exports, __webpack_require__) {
  1861. var DESCRIPTORS = __webpack_require__("83ab");
  1862. var defineProperty = __webpack_require__("9bf2").f;
  1863. var FunctionPrototype = Function.prototype;
  1864. var FunctionPrototypeToString = FunctionPrototype.toString;
  1865. var nameRE = /^\s*function ([^ (]*)/;
  1866. var NAME = 'name';
  1867. // Function instances `.name` property
  1868. // https://tc39.github.io/ecma262/#sec-function-instances-name
  1869. if (DESCRIPTORS && !(NAME in FunctionPrototype)) {
  1870. defineProperty(FunctionPrototype, NAME, {
  1871. configurable: true,
  1872. get: function () {
  1873. try {
  1874. return FunctionPrototypeToString.call(this).match(nameRE)[1];
  1875. } catch (error) {
  1876. return '';
  1877. }
  1878. }
  1879. });
  1880. }
  1881. /***/ }),
  1882. /***/ "b2b9":
  1883. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1884. "use strict";
  1885. __webpack_require__.r(__webpack_exports__);
  1886. // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1ccef77e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/VueTreeList.vue?vue&type=template&id=b1c94fae&
  1887. var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"vtl"},[(_vm.model.name !== 'root')?_c('div',{staticClass:"vtl-node",class:{ 'vtl-leaf-node': _vm.model.isLeaf, 'vtl-tree-node': !_vm.model.isLeaf },attrs:{"id":_vm.model.id}},[_c('div',{staticClass:"vtl-border vtl-up",class:{ 'vtl-active': _vm.isDragEnterUp },on:{"drop":_vm.dropBefore,"dragenter":_vm.dragEnterUp,"dragover":_vm.dragOverUp,"dragleave":_vm.dragLeaveUp}}),_c('div',{class:_vm.treeNodeClass,attrs:{"draggable":!_vm.model.dragDisabled},on:{"dragstart":_vm.dragStart,"dragover":_vm.dragOver,"dragenter":_vm.dragEnter,"dragleave":_vm.dragLeave,"drop":_vm.drop,"dragend":_vm.dragEnd,"mouseover":_vm.mouseOver,"mouseout":_vm.mouseOut,"click":function($event){$event.stopPropagation();return _vm.click($event)}}},[(_vm.model.children && _vm.model.children.length > 0)?_c('span',{staticClass:"vtl-caret vtl-is-small"},[_c('i',{staticClass:"vtl-icon",class:_vm.caretClass,on:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.toggle($event)}}})]):_vm._e(),(_vm.model.isLeaf)?_c('span',[_vm._t("leafNodeIcon",[_c('i',{staticClass:"vtl-icon vtl-menu-icon vtl-icon-file"})],{"expanded":_vm.expanded,"model":_vm.model,"root":_vm.rootNode})],2):_c('span',[_vm._t("treeNodeIcon",[_c('i',{staticClass:"vtl-icon vtl-menu-icon vtl-icon-folder"})],{"expanded":_vm.expanded,"model":_vm.model,"root":_vm.rootNode})],2),(!_vm.editable)?_c('div',{staticClass:"vtl-node-content"},[_vm._t("leafNameDisplay",[_vm._v(" "+_vm._s(_vm.model.name)+" ")],{"expanded":_vm.expanded,"model":_vm.model,"root":_vm.rootNode})],2):_c('input',{ref:"nodeInput",staticClass:"vtl-input",attrs:{"type":"text"},domProps:{"value":_vm.model.name},on:{"input":_vm.updateName,"blur":_vm.setUnEditable}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isHover),expression:"isHover"}],staticClass:"vtl-operation"},[(!_vm.model.isLeaf && !_vm.model.addTreeNodeDisabled)?_c('span',{attrs:{"title":_vm.defaultAddTreeNodeTitle},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.addChild(false)}}},[_vm._t("addTreeNodeIcon",[_c('i',{staticClass:"vtl-icon vtl-icon-folder-plus-e"})],{"expanded":_vm.expanded,"model":_vm.model,"root":_vm.rootNode})],2):_vm._e(),(!_vm.model.isLeaf && !_vm.model.addLeafNodeDisabled)?_c('span',{attrs:{"title":_vm.defaultAddLeafNodeTitle},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.addChild(true)}}},[_vm._t("addLeafNodeIcon",[_c('i',{staticClass:"vtl-icon vtl-icon-plus"})],{"expanded":_vm.expanded,"model":_vm.model,"root":_vm.rootNode})],2):_vm._e(),(!_vm.model.editNodeDisabled)?_c('span',{attrs:{"title":"edit"},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.setEditable($event)}}},[_vm._t("editNodeIcon",[_c('i',{staticClass:"vtl-icon vtl-icon-edit"})],{"expanded":_vm.expanded,"model":_vm.model,"root":_vm.rootNode})],2):_vm._e(),(!_vm.model.delNodeDisabled)?_c('span',{attrs:{"title":"delete"},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.delNode($event)}}},[_vm._t("delNodeIcon",[_c('i',{staticClass:"vtl-icon vtl-icon-trash"})],{"expanded":_vm.expanded,"model":_vm.model,"root":_vm.rootNode})],2):_vm._e()])]),(_vm.model.children && _vm.model.children.length > 0 && _vm.expanded)?_c('div',{staticClass:"vtl-border vtl-bottom",class:{ 'vtl-active': _vm.isDragEnterBottom },on:{"drop":_vm.dropAfter,"dragenter":_vm.dragEnterBottom,"dragover":_vm.dragOverBottom,"dragleave":_vm.dragLeaveBottom}}):_vm._e()]):_vm._e(),(_vm.isFolder)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.model.name === 'root' || _vm.expanded),expression:"model.name === 'root' || expanded"}],class:{ 'vtl-tree-margin': _vm.model.name !== 'root' }},_vm._l((_vm.model.children),function(model){return _c('item',{key:model.id,attrs:{"default-tree-node-name":_vm.defaultTreeNodeName,"default-leaf-node-name":_vm.defaultLeafNodeName,"default-expanded":_vm.defaultExpanded,"model":model},scopedSlots:_vm._u([{key:"leafNameDisplay",fn:function(slotProps){return [_vm._t("leafNameDisplay",null,null,slotProps)]}},{key:"addTreeNodeIcon",fn:function(slotProps){return [_vm._t("addTreeNodeIcon",null,null,slotProps)]}},{key:"addLeafNodeIcon",fn:function(slotProps){return [_vm._t("addLeafNodeIcon",null,null,slotProps)]}},{key:"editNodeIcon",fn:function(slotProps){return [_vm._t("editNodeIcon",null,null,slotProps)]}},{key:"delNodeIcon",fn:function(slotProps){return [_vm._t("delNodeIcon",null,null,slotProps)]}},{key:"leafNodeIcon",fn:function(slotProps){return [_vm._t("leafNodeIcon",null,null,slotProps)]}},{key:"treeNodeIcon",fn:function(slotProps){return [_vm._t("treeNodeIcon",null,null,slotProps)]}}],null,true)})}),1):_vm._e()])}
  1888. var staticRenderFns = []
  1889. // CONCATENATED MODULE: ./src/VueTreeList.vue?vue&type=template&id=b1c94fae&
  1890. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
  1891. var es_symbol = __webpack_require__("a4d3");
  1892. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
  1893. var es_array_filter = __webpack_require__("4de4");
  1894. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
  1895. var es_function_name = __webpack_require__("b0c0");
  1896. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptor.js
  1897. var es_object_get_own_property_descriptor = __webpack_require__("e439");
  1898. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-own-property-descriptors.js
  1899. var es_object_get_own_property_descriptors = __webpack_require__("dbb4");
  1900. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
  1901. var es_object_keys = __webpack_require__("b64b");
  1902. // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
  1903. var web_dom_collections_for_each = __webpack_require__("159b");
  1904. // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
  1905. function _defineProperty(obj, key, value) {
  1906. if (key in obj) {
  1907. Object.defineProperty(obj, key, {
  1908. value: value,
  1909. enumerable: true,
  1910. configurable: true,
  1911. writable: true
  1912. });
  1913. } else {
  1914. obj[key] = value;
  1915. }
  1916. return obj;
  1917. }
  1918. // EXTERNAL MODULE: ./src/Tree.js + 2 modules
  1919. var Tree = __webpack_require__("a76f");
  1920. // EXTERNAL MODULE: ./src/tools.js
  1921. var tools = __webpack_require__("83af");
  1922. // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/VueTreeList.vue?vue&type=script&lang=js&
  1923. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
  1924. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  1925. //
  1926. //
  1927. //
  1928. //
  1929. //
  1930. //
  1931. //
  1932. //
  1933. //
  1934. //
  1935. //
  1936. //
  1937. //
  1938. //
  1939. //
  1940. //
  1941. //
  1942. //
  1943. //
  1944. //
  1945. //
  1946. //
  1947. //
  1948. //
  1949. //
  1950. //
  1951. //
  1952. //
  1953. //
  1954. //
  1955. //
  1956. //
  1957. //
  1958. //
  1959. //
  1960. //
  1961. //
  1962. //
  1963. //
  1964. //
  1965. //
  1966. //
  1967. //
  1968. //
  1969. //
  1970. //
  1971. //
  1972. //
  1973. //
  1974. //
  1975. //
  1976. //
  1977. //
  1978. //
  1979. //
  1980. //
  1981. //
  1982. //
  1983. //
  1984. //
  1985. //
  1986. //
  1987. //
  1988. //
  1989. //
  1990. //
  1991. //
  1992. //
  1993. //
  1994. //
  1995. //
  1996. //
  1997. //
  1998. //
  1999. //
  2000. //
  2001. //
  2002. //
  2003. //
  2004. //
  2005. //
  2006. //
  2007. //
  2008. //
  2009. //
  2010. //
  2011. //
  2012. //
  2013. //
  2014. //
  2015. //
  2016. //
  2017. //
  2018. //
  2019. //
  2020. //
  2021. //
  2022. //
  2023. //
  2024. //
  2025. //
  2026. //
  2027. //
  2028. //
  2029. //
  2030. //
  2031. //
  2032. //
  2033. //
  2034. //
  2035. //
  2036. //
  2037. //
  2038. //
  2039. //
  2040. //
  2041. //
  2042. //
  2043. //
  2044. //
  2045. //
  2046. //
  2047. //
  2048. //
  2049. //
  2050. //
  2051. //
  2052. //
  2053. //
  2054. //
  2055. //
  2056. //
  2057. //
  2058. //
  2059. //
  2060. //
  2061. //
  2062. //
  2063. //
  2064. //
  2065. var compInOperation = null;
  2066. /* harmony default export */ var VueTreeListvue_type_script_lang_js_ = ({
  2067. name: 'vue-tree-list',
  2068. data: function data() {
  2069. return {
  2070. isHover: false,
  2071. editable: false,
  2072. isDragEnterUp: false,
  2073. isDragEnterBottom: false,
  2074. isDragEnterNode: false,
  2075. expanded: this.defaultExpanded
  2076. };
  2077. },
  2078. props: {
  2079. model: {
  2080. type: Object
  2081. },
  2082. defaultLeafNodeName: {
  2083. type: String,
  2084. default: 'Leaf Node'
  2085. },
  2086. defaultTreeNodeName: {
  2087. type: String,
  2088. default: 'Tree Node'
  2089. },
  2090. defaultAddTreeNodeTitle: {
  2091. type: String,
  2092. default: 'Add Tree Node'
  2093. },
  2094. defaultAddLeafNodeTitle: {
  2095. type: String,
  2096. default: 'Add Leaf Node'
  2097. },
  2098. defaultExpanded: {
  2099. type: Boolean,
  2100. default: true
  2101. }
  2102. },
  2103. computed: {
  2104. rootNode: function rootNode() {
  2105. var node = this.$parent;
  2106. while (node._props.model.name !== 'root') {
  2107. node = node.$parent;
  2108. }
  2109. return node;
  2110. },
  2111. caretClass: function caretClass() {
  2112. return this.expanded ? 'vtl-icon-caret-down' : 'vtl-icon-caret-right';
  2113. },
  2114. isFolder: function isFolder() {
  2115. return this.model.children && this.model.children.length;
  2116. },
  2117. treeNodeClass: function treeNodeClass() {
  2118. var _this$model = this.model,
  2119. dragDisabled = _this$model.dragDisabled,
  2120. disabled = _this$model.disabled,
  2121. isDragEnterNode = this.isDragEnterNode;
  2122. return {
  2123. 'vtl-node-main': true,
  2124. 'vtl-active': isDragEnterNode,
  2125. 'vtl-drag-disabled': dragDisabled,
  2126. 'vtl-disabled': disabled
  2127. };
  2128. }
  2129. },
  2130. beforeCreate: function beforeCreate() {
  2131. this.$options.components.item = __webpack_require__("b2b9").default;
  2132. },
  2133. mounted: function mounted() {
  2134. var vm = this;
  2135. Object(tools["a" /* addHandler */])(window, 'keyup', function (e) {
  2136. // click enter
  2137. if (e.keyCode === 13 && vm.editable) {
  2138. vm.editable = false;
  2139. }
  2140. });
  2141. },
  2142. beforeDestroy: function beforeDestroy() {
  2143. Object(tools["b" /* removeHandler */])(window, 'keyup');
  2144. },
  2145. methods: {
  2146. updateName: function updateName(e) {
  2147. var oldName = this.model.name;
  2148. this.model.changeName(e.target.value);
  2149. this.rootNode.$emit('change-name', {
  2150. id: this.model.id,
  2151. oldName: oldName,
  2152. newName: e.target.value,
  2153. node: this.model
  2154. });
  2155. },
  2156. delNode: function delNode() {
  2157. this.rootNode.$emit('delete-node', this.model);
  2158. },
  2159. setEditable: function setEditable() {
  2160. var _this = this;
  2161. this.editable = true;
  2162. this.$nextTick(function () {
  2163. var $input = _this.$refs.nodeInput;
  2164. $input.focus();
  2165. $input.setSelectionRange(0, $input.value.length);
  2166. });
  2167. },
  2168. setUnEditable: function setUnEditable(e) {
  2169. this.editable = false;
  2170. var oldName = this.model.name;
  2171. this.model.changeName(e.target.value);
  2172. this.rootNode.$emit('change-name', {
  2173. id: this.model.id,
  2174. oldName: oldName,
  2175. newName: e.target.value,
  2176. eventType: 'blur'
  2177. });
  2178. },
  2179. toggle: function toggle() {
  2180. if (this.isFolder) {
  2181. this.expanded = !this.expanded;
  2182. }
  2183. },
  2184. mouseOver: function mouseOver() {
  2185. if (this.model.disabled) return;
  2186. this.isHover = true;
  2187. },
  2188. mouseOut: function mouseOut() {
  2189. this.isHover = false;
  2190. },
  2191. click: function click() {
  2192. this.rootNode.$emit('click', _objectSpread({
  2193. toggle: this.toggle
  2194. }, this.model));
  2195. },
  2196. addChild: function addChild(isLeaf) {
  2197. var name = isLeaf ? this.defaultLeafNodeName : this.defaultTreeNodeName;
  2198. this.expanded = true;
  2199. var node = new Tree["b" /* TreeNode */]({
  2200. name: name,
  2201. isLeaf: isLeaf
  2202. });
  2203. this.model.addChildren(node, true);
  2204. this.rootNode.$emit('add-node', node);
  2205. },
  2206. dragStart: function dragStart(e) {
  2207. if (!(this.model.dragDisabled || this.model.disabled)) {
  2208. compInOperation = this; // for firefox
  2209. e.dataTransfer.setData('data', 'data');
  2210. e.dataTransfer.effectAllowed = 'move';
  2211. return true;
  2212. }
  2213. return false;
  2214. },
  2215. dragEnd: function dragEnd() {
  2216. compInOperation = null;
  2217. },
  2218. dragOver: function dragOver(e) {
  2219. e.preventDefault();
  2220. return true;
  2221. },
  2222. dragEnter: function dragEnter() {
  2223. if (!compInOperation) return;
  2224. if (compInOperation.model.id === this.model.id || !compInOperation || this.model.isLeaf) return;
  2225. this.isDragEnterNode = true;
  2226. },
  2227. dragLeave: function dragLeave() {
  2228. this.isDragEnterNode = false;
  2229. },
  2230. drop: function drop() {
  2231. if (!compInOperation) return;
  2232. var oldParent = compInOperation.model.parent;
  2233. compInOperation.model.moveInto(this.model);
  2234. this.isDragEnterNode = false;
  2235. this.rootNode.$emit('drop', {
  2236. target: this.model,
  2237. node: compInOperation.model,
  2238. src: oldParent
  2239. });
  2240. },
  2241. dragEnterUp: function dragEnterUp() {
  2242. if (!compInOperation) return;
  2243. this.isDragEnterUp = true;
  2244. },
  2245. dragOverUp: function dragOverUp(e) {
  2246. e.preventDefault();
  2247. return true;
  2248. },
  2249. dragLeaveUp: function dragLeaveUp() {
  2250. if (!compInOperation) return;
  2251. this.isDragEnterUp = false;
  2252. },
  2253. dropBefore: function dropBefore() {
  2254. if (!compInOperation) return;
  2255. var oldParent = compInOperation.model.parent;
  2256. compInOperation.model.insertBefore(this.model);
  2257. this.isDragEnterUp = false;
  2258. this.rootNode.$emit('drop-before', {
  2259. target: this.model,
  2260. node: compInOperation.model,
  2261. src: oldParent
  2262. });
  2263. },
  2264. dragEnterBottom: function dragEnterBottom() {
  2265. if (!compInOperation) return;
  2266. this.isDragEnterBottom = true;
  2267. },
  2268. dragOverBottom: function dragOverBottom(e) {
  2269. e.preventDefault();
  2270. return true;
  2271. },
  2272. dragLeaveBottom: function dragLeaveBottom() {
  2273. if (!compInOperation) return;
  2274. this.isDragEnterBottom = false;
  2275. },
  2276. dropAfter: function dropAfter() {
  2277. if (!compInOperation) return;
  2278. var oldParent = compInOperation.model.parent;
  2279. compInOperation.model.insertAfter(this.model);
  2280. this.isDragEnterBottom = false;
  2281. this.rootNode.$emit('drop-after', {
  2282. target: this.model,
  2283. node: compInOperation.model,
  2284. src: oldParent
  2285. });
  2286. }
  2287. }
  2288. });
  2289. // CONCATENATED MODULE: ./src/VueTreeList.vue?vue&type=script&lang=js&
  2290. /* harmony default export */ var src_VueTreeListvue_type_script_lang_js_ = (VueTreeListvue_type_script_lang_js_);
  2291. // EXTERNAL MODULE: ./src/VueTreeList.vue?vue&type=style&index=0&lang=less&rel=stylesheet%2Fless&
  2292. var VueTreeListvue_type_style_index_0_lang_less_rel_stylesheet_2Fless_ = __webpack_require__("04ab");
  2293. // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
  2294. /* globals __VUE_SSR_CONTEXT__ */
  2295. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  2296. // This module is a runtime utility for cleaner component module output and will
  2297. // be included in the final webpack user bundle.
  2298. function normalizeComponent (
  2299. scriptExports,
  2300. render,
  2301. staticRenderFns,
  2302. functionalTemplate,
  2303. injectStyles,
  2304. scopeId,
  2305. moduleIdentifier, /* server only */
  2306. shadowMode /* vue-cli only */
  2307. ) {
  2308. // Vue.extend constructor export interop
  2309. var options = typeof scriptExports === 'function'
  2310. ? scriptExports.options
  2311. : scriptExports
  2312. // render functions
  2313. if (render) {
  2314. options.render = render
  2315. options.staticRenderFns = staticRenderFns
  2316. options._compiled = true
  2317. }
  2318. // functional template
  2319. if (functionalTemplate) {
  2320. options.functional = true
  2321. }
  2322. // scopedId
  2323. if (scopeId) {
  2324. options._scopeId = 'data-v-' + scopeId
  2325. }
  2326. var hook
  2327. if (moduleIdentifier) { // server build
  2328. hook = function (context) {
  2329. // 2.3 injection
  2330. context =
  2331. context || // cached call
  2332. (this.$vnode && this.$vnode.ssrContext) || // stateful
  2333. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  2334. // 2.2 with runInNewContext: true
  2335. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  2336. context = __VUE_SSR_CONTEXT__
  2337. }
  2338. // inject component styles
  2339. if (injectStyles) {
  2340. injectStyles.call(this, context)
  2341. }
  2342. // register component module identifier for async chunk inferrence
  2343. if (context && context._registeredComponents) {
  2344. context._registeredComponents.add(moduleIdentifier)
  2345. }
  2346. }
  2347. // used by ssr in case component is cached and beforeCreate
  2348. // never gets called
  2349. options._ssrRegister = hook
  2350. } else if (injectStyles) {
  2351. hook = shadowMode
  2352. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  2353. : injectStyles
  2354. }
  2355. if (hook) {
  2356. if (options.functional) {
  2357. // for template-only hot-reload because in that case the render fn doesn't
  2358. // go through the normalizer
  2359. options._injectStyles = hook
  2360. // register for functioal component in vue file
  2361. var originalRender = options.render
  2362. options.render = function renderWithStyleInjection (h, context) {
  2363. hook.call(context)
  2364. return originalRender(h, context)
  2365. }
  2366. } else {
  2367. // inject component registration as beforeCreate hook
  2368. var existing = options.beforeCreate
  2369. options.beforeCreate = existing
  2370. ? [].concat(existing, hook)
  2371. : [hook]
  2372. }
  2373. }
  2374. return {
  2375. exports: scriptExports,
  2376. options: options
  2377. }
  2378. }
  2379. // CONCATENATED MODULE: ./src/VueTreeList.vue
  2380. /* normalize component */
  2381. var component = normalizeComponent(
  2382. src_VueTreeListvue_type_script_lang_js_,
  2383. render,
  2384. staticRenderFns,
  2385. false,
  2386. null,
  2387. null,
  2388. null
  2389. )
  2390. /* harmony default export */ var VueTreeList = __webpack_exports__["default"] = (component.exports);
  2391. /***/ }),
  2392. /***/ "b301":
  2393. /***/ (function(module, exports, __webpack_require__) {
  2394. "use strict";
  2395. var fails = __webpack_require__("d039");
  2396. module.exports = function (METHOD_NAME, argument) {
  2397. var method = [][METHOD_NAME];
  2398. return !method || !fails(function () {
  2399. // eslint-disable-next-line no-useless-call,no-throw-literal
  2400. method.call(null, argument || function () { throw 1; }, 1);
  2401. });
  2402. };
  2403. /***/ }),
  2404. /***/ "b39a":
  2405. /***/ (function(module, exports, __webpack_require__) {
  2406. var getBuiltIn = __webpack_require__("d066");
  2407. module.exports = getBuiltIn('navigator', 'userAgent') || '';
  2408. /***/ }),
  2409. /***/ "b622":
  2410. /***/ (function(module, exports, __webpack_require__) {
  2411. var global = __webpack_require__("da84");
  2412. var shared = __webpack_require__("5692");
  2413. var has = __webpack_require__("5135");
  2414. var uid = __webpack_require__("90e3");
  2415. var NATIVE_SYMBOL = __webpack_require__("4930");
  2416. var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
  2417. var WellKnownSymbolsStore = shared('wks');
  2418. var Symbol = global.Symbol;
  2419. var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
  2420. module.exports = function (name) {
  2421. if (!has(WellKnownSymbolsStore, name)) {
  2422. if (NATIVE_SYMBOL && has(Symbol, name)) WellKnownSymbolsStore[name] = Symbol[name];
  2423. else WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
  2424. } return WellKnownSymbolsStore[name];
  2425. };
  2426. /***/ }),
  2427. /***/ "b64b":
  2428. /***/ (function(module, exports, __webpack_require__) {
  2429. var $ = __webpack_require__("23e7");
  2430. var toObject = __webpack_require__("7b0b");
  2431. var nativeKeys = __webpack_require__("df75");
  2432. var fails = __webpack_require__("d039");
  2433. var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
  2434. // `Object.keys` method
  2435. // https://tc39.github.io/ecma262/#sec-object.keys
  2436. $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
  2437. keys: function keys(it) {
  2438. return nativeKeys(toObject(it));
  2439. }
  2440. });
  2441. /***/ }),
  2442. /***/ "b727":
  2443. /***/ (function(module, exports, __webpack_require__) {
  2444. var bind = __webpack_require__("f8c2");
  2445. var IndexedObject = __webpack_require__("44ad");
  2446. var toObject = __webpack_require__("7b0b");
  2447. var toLength = __webpack_require__("50c4");
  2448. var arraySpeciesCreate = __webpack_require__("65f0");
  2449. var push = [].push;
  2450. // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation
  2451. var createMethod = function (TYPE) {
  2452. var IS_MAP = TYPE == 1;
  2453. var IS_FILTER = TYPE == 2;
  2454. var IS_SOME = TYPE == 3;
  2455. var IS_EVERY = TYPE == 4;
  2456. var IS_FIND_INDEX = TYPE == 6;
  2457. var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
  2458. return function ($this, callbackfn, that, specificCreate) {
  2459. var O = toObject($this);
  2460. var self = IndexedObject(O);
  2461. var boundFunction = bind(callbackfn, that, 3);
  2462. var length = toLength(self.length);
  2463. var index = 0;
  2464. var create = specificCreate || arraySpeciesCreate;
  2465. var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
  2466. var value, result;
  2467. for (;length > index; index++) if (NO_HOLES || index in self) {
  2468. value = self[index];
  2469. result = boundFunction(value, index, O);
  2470. if (TYPE) {
  2471. if (IS_MAP) target[index] = result; // map
  2472. else if (result) switch (TYPE) {
  2473. case 3: return true; // some
  2474. case 5: return value; // find
  2475. case 6: return index; // findIndex
  2476. case 2: push.call(target, value); // filter
  2477. } else if (IS_EVERY) return false; // every
  2478. }
  2479. }
  2480. return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
  2481. };
  2482. };
  2483. module.exports = {
  2484. // `Array.prototype.forEach` method
  2485. // https://tc39.github.io/ecma262/#sec-array.prototype.foreach
  2486. forEach: createMethod(0),
  2487. // `Array.prototype.map` method
  2488. // https://tc39.github.io/ecma262/#sec-array.prototype.map
  2489. map: createMethod(1),
  2490. // `Array.prototype.filter` method
  2491. // https://tc39.github.io/ecma262/#sec-array.prototype.filter
  2492. filter: createMethod(2),
  2493. // `Array.prototype.some` method
  2494. // https://tc39.github.io/ecma262/#sec-array.prototype.some
  2495. some: createMethod(3),
  2496. // `Array.prototype.every` method
  2497. // https://tc39.github.io/ecma262/#sec-array.prototype.every
  2498. every: createMethod(4),
  2499. // `Array.prototype.find` method
  2500. // https://tc39.github.io/ecma262/#sec-array.prototype.find
  2501. find: createMethod(5),
  2502. // `Array.prototype.findIndex` method
  2503. // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex
  2504. findIndex: createMethod(6)
  2505. };
  2506. /***/ }),
  2507. /***/ "c032":
  2508. /***/ (function(module, exports, __webpack_require__) {
  2509. var wellKnownSymbol = __webpack_require__("b622");
  2510. exports.f = wellKnownSymbol;
  2511. /***/ }),
  2512. /***/ "c04e":
  2513. /***/ (function(module, exports, __webpack_require__) {
  2514. var isObject = __webpack_require__("861d");
  2515. // `ToPrimitive` abstract operation
  2516. // https://tc39.github.io/ecma262/#sec-toprimitive
  2517. // instead of the ES6 spec version, we didn't implement @@toPrimitive case
  2518. // and the second argument - flag - preferred type is a string
  2519. module.exports = function (input, PREFERRED_STRING) {
  2520. if (!isObject(input)) return input;
  2521. var fn, val;
  2522. if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  2523. if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val;
  2524. if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val;
  2525. throw TypeError("Can't convert object to primitive value");
  2526. };
  2527. /***/ }),
  2528. /***/ "c430":
  2529. /***/ (function(module, exports) {
  2530. module.exports = false;
  2531. /***/ }),
  2532. /***/ "c6b6":
  2533. /***/ (function(module, exports) {
  2534. var toString = {}.toString;
  2535. module.exports = function (it) {
  2536. return toString.call(it).slice(8, -1);
  2537. };
  2538. /***/ }),
  2539. /***/ "c6cd":
  2540. /***/ (function(module, exports, __webpack_require__) {
  2541. var global = __webpack_require__("da84");
  2542. var setGlobal = __webpack_require__("ce4e");
  2543. var SHARED = '__core-js_shared__';
  2544. var store = global[SHARED] || setGlobal(SHARED, {});
  2545. module.exports = store;
  2546. /***/ }),
  2547. /***/ "c8ba":
  2548. /***/ (function(module, exports) {
  2549. var g;
  2550. // This works in non-strict mode
  2551. g = (function() {
  2552. return this;
  2553. })();
  2554. try {
  2555. // This works if eval is allowed (see CSP)
  2556. g = g || new Function("return this")();
  2557. } catch (e) {
  2558. // This works if the window reference is available
  2559. if (typeof window === "object") g = window;
  2560. }
  2561. // g can still be undefined, but nothing to do about it...
  2562. // We return undefined, instead of nothing here, so it's
  2563. // easier to handle this case. if(!global) { ...}
  2564. module.exports = g;
  2565. /***/ }),
  2566. /***/ "ca84":
  2567. /***/ (function(module, exports, __webpack_require__) {
  2568. var has = __webpack_require__("5135");
  2569. var toIndexedObject = __webpack_require__("fc6a");
  2570. var indexOf = __webpack_require__("4d64").indexOf;
  2571. var hiddenKeys = __webpack_require__("d012");
  2572. module.exports = function (object, names) {
  2573. var O = toIndexedObject(object);
  2574. var i = 0;
  2575. var result = [];
  2576. var key;
  2577. for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
  2578. // Don't enum bug & hidden keys
  2579. while (names.length > i) if (has(O, key = names[i++])) {
  2580. ~indexOf(result, key) || result.push(key);
  2581. }
  2582. return result;
  2583. };
  2584. /***/ }),
  2585. /***/ "cc12":
  2586. /***/ (function(module, exports, __webpack_require__) {
  2587. var global = __webpack_require__("da84");
  2588. var isObject = __webpack_require__("861d");
  2589. var document = global.document;
  2590. // typeof document.createElement is 'object' in old IE
  2591. var EXISTS = isObject(document) && isObject(document.createElement);
  2592. module.exports = function (it) {
  2593. return EXISTS ? document.createElement(it) : {};
  2594. };
  2595. /***/ }),
  2596. /***/ "ce4e":
  2597. /***/ (function(module, exports, __webpack_require__) {
  2598. var global = __webpack_require__("da84");
  2599. var createNonEnumerableProperty = __webpack_require__("9112");
  2600. module.exports = function (key, value) {
  2601. try {
  2602. createNonEnumerableProperty(global, key, value);
  2603. } catch (error) {
  2604. global[key] = value;
  2605. } return value;
  2606. };
  2607. /***/ }),
  2608. /***/ "d012":
  2609. /***/ (function(module, exports) {
  2610. module.exports = {};
  2611. /***/ }),
  2612. /***/ "d039":
  2613. /***/ (function(module, exports) {
  2614. module.exports = function (exec) {
  2615. try {
  2616. return !!exec();
  2617. } catch (error) {
  2618. return true;
  2619. }
  2620. };
  2621. /***/ }),
  2622. /***/ "d066":
  2623. /***/ (function(module, exports, __webpack_require__) {
  2624. var path = __webpack_require__("428f");
  2625. var global = __webpack_require__("da84");
  2626. var aFunction = function (variable) {
  2627. return typeof variable == 'function' ? variable : undefined;
  2628. };
  2629. module.exports = function (namespace, method) {
  2630. return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
  2631. : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
  2632. };
  2633. /***/ }),
  2634. /***/ "d1e7":
  2635. /***/ (function(module, exports, __webpack_require__) {
  2636. "use strict";
  2637. var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
  2638. var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
  2639. // Nashorn ~ JDK8 bug
  2640. var NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);
  2641. // `Object.prototype.propertyIsEnumerable` method implementation
  2642. // https://tc39.github.io/ecma262/#sec-object.prototype.propertyisenumerable
  2643. exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
  2644. var descriptor = getOwnPropertyDescriptor(this, V);
  2645. return !!descriptor && descriptor.enumerable;
  2646. } : nativePropertyIsEnumerable;
  2647. /***/ }),
  2648. /***/ "d44e":
  2649. /***/ (function(module, exports, __webpack_require__) {
  2650. var defineProperty = __webpack_require__("9bf2").f;
  2651. var has = __webpack_require__("5135");
  2652. var wellKnownSymbol = __webpack_require__("b622");
  2653. var TO_STRING_TAG = wellKnownSymbol('toStringTag');
  2654. module.exports = function (it, TAG, STATIC) {
  2655. if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
  2656. defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });
  2657. }
  2658. };
  2659. /***/ }),
  2660. /***/ "da84":
  2661. /***/ (function(module, exports, __webpack_require__) {
  2662. /* WEBPACK VAR INJECTION */(function(global) {var check = function (it) {
  2663. return it && it.Math == Math && it;
  2664. };
  2665. // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
  2666. module.exports =
  2667. // eslint-disable-next-line no-undef
  2668. check(typeof globalThis == 'object' && globalThis) ||
  2669. check(typeof window == 'object' && window) ||
  2670. check(typeof self == 'object' && self) ||
  2671. check(typeof global == 'object' && global) ||
  2672. // eslint-disable-next-line no-new-func
  2673. Function('return this')();
  2674. /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
  2675. /***/ }),
  2676. /***/ "dbb4":
  2677. /***/ (function(module, exports, __webpack_require__) {
  2678. var $ = __webpack_require__("23e7");
  2679. var DESCRIPTORS = __webpack_require__("83ab");
  2680. var ownKeys = __webpack_require__("56ef");
  2681. var toIndexedObject = __webpack_require__("fc6a");
  2682. var getOwnPropertyDescriptorModule = __webpack_require__("06cf");
  2683. var createProperty = __webpack_require__("8418");
  2684. // `Object.getOwnPropertyDescriptors` method
  2685. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors
  2686. $({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
  2687. getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
  2688. var O = toIndexedObject(object);
  2689. var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  2690. var keys = ownKeys(O);
  2691. var result = {};
  2692. var index = 0;
  2693. var key, descriptor;
  2694. while (keys.length > index) {
  2695. descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);
  2696. if (descriptor !== undefined) createProperty(result, key, descriptor);
  2697. }
  2698. return result;
  2699. }
  2700. });
  2701. /***/ }),
  2702. /***/ "df75":
  2703. /***/ (function(module, exports, __webpack_require__) {
  2704. var internalObjectKeys = __webpack_require__("ca84");
  2705. var enumBugKeys = __webpack_require__("7839");
  2706. // `Object.keys` method
  2707. // https://tc39.github.io/ecma262/#sec-object.keys
  2708. module.exports = Object.keys || function keys(O) {
  2709. return internalObjectKeys(O, enumBugKeys);
  2710. };
  2711. /***/ }),
  2712. /***/ "e439":
  2713. /***/ (function(module, exports, __webpack_require__) {
  2714. var $ = __webpack_require__("23e7");
  2715. var fails = __webpack_require__("d039");
  2716. var toIndexedObject = __webpack_require__("fc6a");
  2717. var nativeGetOwnPropertyDescriptor = __webpack_require__("06cf").f;
  2718. var DESCRIPTORS = __webpack_require__("83ab");
  2719. var FAILS_ON_PRIMITIVES = fails(function () { nativeGetOwnPropertyDescriptor(1); });
  2720. var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES;
  2721. // `Object.getOwnPropertyDescriptor` method
  2722. // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor
  2723. $({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {
  2724. getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {
  2725. return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);
  2726. }
  2727. });
  2728. /***/ }),
  2729. /***/ "e893":
  2730. /***/ (function(module, exports, __webpack_require__) {
  2731. var has = __webpack_require__("5135");
  2732. var ownKeys = __webpack_require__("56ef");
  2733. var getOwnPropertyDescriptorModule = __webpack_require__("06cf");
  2734. var definePropertyModule = __webpack_require__("9bf2");
  2735. module.exports = function (target, source) {
  2736. var keys = ownKeys(source);
  2737. var defineProperty = definePropertyModule.f;
  2738. var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
  2739. for (var i = 0; i < keys.length; i++) {
  2740. var key = keys[i];
  2741. if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
  2742. }
  2743. };
  2744. /***/ }),
  2745. /***/ "e8b5":
  2746. /***/ (function(module, exports, __webpack_require__) {
  2747. var classof = __webpack_require__("c6b6");
  2748. // `IsArray` abstract operation
  2749. // https://tc39.github.io/ecma262/#sec-isarray
  2750. module.exports = Array.isArray || function isArray(arg) {
  2751. return classof(arg) == 'Array';
  2752. };
  2753. /***/ }),
  2754. /***/ "f6fd":
  2755. /***/ (function(module, exports) {
  2756. // document.currentScript polyfill by Adam Miller
  2757. // MIT license
  2758. (function(document){
  2759. var currentScript = "currentScript",
  2760. scripts = document.getElementsByTagName('script'); // Live NodeList collection
  2761. // If browser needs currentScript polyfill, add get currentScript() to the document object
  2762. if (!(currentScript in document)) {
  2763. Object.defineProperty(document, currentScript, {
  2764. get: function(){
  2765. // IE 6-10 supports script readyState
  2766. // IE 10+ support stack trace
  2767. try { throw new Error(); }
  2768. catch (err) {
  2769. // Find the second match for the "at" string to get file src url from stack.
  2770. // Specifically works with the format of stack traces in IE.
  2771. var i, res = ((/.*at [^\(]*\((.*):.+:.+\)$/ig).exec(err.stack) || [false])[1];
  2772. // For all scripts on the page, if src matches or if ready state is interactive, return the script tag
  2773. for(i in scripts){
  2774. if(scripts[i].src == res || scripts[i].readyState == "interactive"){
  2775. return scripts[i];
  2776. }
  2777. }
  2778. // If no match, return null
  2779. return null;
  2780. }
  2781. }
  2782. });
  2783. }
  2784. })(document);
  2785. /***/ }),
  2786. /***/ "f772":
  2787. /***/ (function(module, exports, __webpack_require__) {
  2788. var shared = __webpack_require__("5692");
  2789. var uid = __webpack_require__("90e3");
  2790. var keys = shared('keys');
  2791. module.exports = function (key) {
  2792. return keys[key] || (keys[key] = uid(key));
  2793. };
  2794. /***/ }),
  2795. /***/ "f8c2":
  2796. /***/ (function(module, exports, __webpack_require__) {
  2797. var aFunction = __webpack_require__("1c0b");
  2798. // optional / simple context binding
  2799. module.exports = function (fn, that, length) {
  2800. aFunction(fn);
  2801. if (that === undefined) return fn;
  2802. switch (length) {
  2803. case 0: return function () {
  2804. return fn.call(that);
  2805. };
  2806. case 1: return function (a) {
  2807. return fn.call(that, a);
  2808. };
  2809. case 2: return function (a, b) {
  2810. return fn.call(that, a, b);
  2811. };
  2812. case 3: return function (a, b, c) {
  2813. return fn.call(that, a, b, c);
  2814. };
  2815. }
  2816. return function (/* ...args */) {
  2817. return fn.apply(that, arguments);
  2818. };
  2819. };
  2820. /***/ }),
  2821. /***/ "fb15":
  2822. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2823. "use strict";
  2824. __webpack_require__.r(__webpack_exports__);
  2825. // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
  2826. // This file is imported into lib/wc client bundles.
  2827. if (typeof window !== 'undefined') {
  2828. if (true) {
  2829. __webpack_require__("f6fd")
  2830. }
  2831. var i
  2832. if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
  2833. __webpack_require__.p = i[1] // eslint-disable-line
  2834. }
  2835. }
  2836. // Indicate to webpack that this file can be concatenated
  2837. /* harmony default export */ var setPublicPath = (null);
  2838. // EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
  2839. var es_function_name = __webpack_require__("b0c0");
  2840. // EXTERNAL MODULE: ./src/VueTreeList.vue + 6 modules
  2841. var VueTreeList = __webpack_require__("b2b9");
  2842. // EXTERNAL MODULE: ./src/Tree.js + 2 modules
  2843. var Tree = __webpack_require__("a76f");
  2844. // CONCATENATED MODULE: ./src/index.js
  2845. /**
  2846. * Created by ayou on 17/7/21.
  2847. */
  2848. VueTreeList["default"].install = function (Vue) {
  2849. Vue.component(VueTreeList["default"].name, VueTreeList["default"]);
  2850. };
  2851. /* harmony default export */ var src = (VueTreeList["default"]);
  2852. // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
  2853. /* concated harmony reexport Tree */__webpack_require__.d(__webpack_exports__, "Tree", function() { return Tree["a" /* Tree */]; });
  2854. /* concated harmony reexport TreeNode */__webpack_require__.d(__webpack_exports__, "TreeNode", function() { return Tree["b" /* TreeNode */]; });
  2855. /* concated harmony reexport VueTreeList */__webpack_require__.d(__webpack_exports__, "VueTreeList", function() { return VueTreeList["default"]; });
  2856. /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src);
  2857. /***/ }),
  2858. /***/ "fc6a":
  2859. /***/ (function(module, exports, __webpack_require__) {
  2860. // toObject with fallback for non-array-like ES3 strings
  2861. var IndexedObject = __webpack_require__("44ad");
  2862. var requireObjectCoercible = __webpack_require__("1d80");
  2863. module.exports = function (it) {
  2864. return IndexedObject(requireObjectCoercible(it));
  2865. };
  2866. /***/ }),
  2867. /***/ "fdbc":
  2868. /***/ (function(module, exports) {
  2869. // iterable DOM collections
  2870. // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
  2871. module.exports = {
  2872. CSSRuleList: 0,
  2873. CSSStyleDeclaration: 0,
  2874. CSSValueList: 0,
  2875. ClientRectList: 0,
  2876. DOMRectList: 0,
  2877. DOMStringList: 0,
  2878. DOMTokenList: 1,
  2879. DataTransferItemList: 0,
  2880. FileList: 0,
  2881. HTMLAllCollection: 0,
  2882. HTMLCollection: 0,
  2883. HTMLFormElement: 0,
  2884. HTMLSelectElement: 0,
  2885. MediaList: 0,
  2886. MimeTypeArray: 0,
  2887. NamedNodeMap: 0,
  2888. NodeList: 1,
  2889. PaintRequestList: 0,
  2890. Plugin: 0,
  2891. PluginArray: 0,
  2892. SVGLengthList: 0,
  2893. SVGNumberList: 0,
  2894. SVGPathSegList: 0,
  2895. SVGPointList: 0,
  2896. SVGStringList: 0,
  2897. SVGTransformList: 0,
  2898. SourceBufferList: 0,
  2899. StyleSheetList: 0,
  2900. TextTrackCueList: 0,
  2901. TextTrackList: 0,
  2902. TouchList: 0
  2903. };
  2904. /***/ }),
  2905. /***/ "fdbf":
  2906. /***/ (function(module, exports, __webpack_require__) {
  2907. var NATIVE_SYMBOL = __webpack_require__("4930");
  2908. module.exports = NATIVE_SYMBOL
  2909. // eslint-disable-next-line no-undef
  2910. && !Symbol.sham
  2911. // eslint-disable-next-line no-undef
  2912. && typeof Symbol.iterator == 'symbol';
  2913. /***/ })
  2914. /******/ });
  2915. //# sourceMappingURL=vue-tree-list.common.js.map