vue-tree-list.umd.js 118 KB

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