You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dnd.min.js 40KB

5 kuukautta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. !(function(e, t) {
  2. 'object' == typeof exports && 'object' == typeof module
  3. ? (module.exports = t())
  4. : 'function' == typeof define && define.amd
  5. ? define('dnd', [], t)
  6. : 'object' == typeof exports
  7. ? (exports.dnd = t())
  8. : (e.dnd = t());
  9. })(this, function() {
  10. return (function(e) {
  11. function t(n) {
  12. if (i[n]) return i[n].exports;
  13. var o = (i[n] = { i: n, l: !1, exports: {} });
  14. return e[n].call(o.exports, o, o.exports, t), (o.l = !0), o.exports;
  15. }
  16. var i = {};
  17. return (
  18. (t.m = e),
  19. (t.c = i),
  20. (t.i = function(e) {
  21. return e;
  22. }),
  23. (t.d = function(e, i, n) {
  24. t.o(e, i) ||
  25. Object.defineProperty(e, i, {
  26. configurable: !1,
  27. enumerable: !0,
  28. get: n,
  29. });
  30. }),
  31. (t.n = function(e) {
  32. var i =
  33. e && e.__esModule
  34. ? function() {
  35. return e.default;
  36. }
  37. : function() {
  38. return e;
  39. };
  40. return t.d(i, 'a', i), i;
  41. }),
  42. (t.o = function(e, t) {
  43. return Object.prototype.hasOwnProperty.call(e, t);
  44. }),
  45. (t.p = ''),
  46. t((t.s = 6))
  47. );
  48. })([
  49. function(e, t, i) {
  50. 'use strict';
  51. Object.defineProperty(t, '__esModule', { value: !0 });
  52. (t.DOCUMENT_ADDR = 'https://github.com/qgh810/dnd'),
  53. (t.REMOVE_ANIMATION_TYPES = {
  54. fade: 'animation_fade',
  55. blost: 'animation_blost',
  56. back: 'animation_back',
  57. });
  58. },
  59. function(e, t, i) {
  60. 'use strict';
  61. function n(e) {
  62. return e && e.__esModule ? e : { default: e };
  63. }
  64. function o(e, t, i) {
  65. return (
  66. t in e
  67. ? Object.defineProperty(e, t, {
  68. value: i,
  69. enumerable: !0,
  70. configurable: !0,
  71. writable: !0,
  72. })
  73. : (e[t] = i),
  74. e
  75. );
  76. }
  77. Object.defineProperty(t, '__esModule', { value: !0 }),
  78. (t.methods = void 0);
  79. var s,
  80. a = i(5),
  81. r = n(a),
  82. d = i(0),
  83. h =
  84. ((s = {
  85. isMobile: !1,
  86. data: null,
  87. draggedNode: null,
  88. sourceNode: null,
  89. markNode: null,
  90. stateIcon: null,
  91. mousePosition: null,
  92. targets: [],
  93. targetOnDragStarts: [],
  94. targetOnDragEnds: [],
  95. onDragEnters: [],
  96. onDragLeaves: [],
  97. onDragOvers: [],
  98. onDrops: [],
  99. targetPositions: [],
  100. targetIndex: -1,
  101. _prevValidIndex: -1,
  102. _inTarget: !1,
  103. onDragStart: function(e, t) {
  104. var i = this;
  105. this._initStore(),
  106. (this.sourceNode = t),
  107. (this.data = e),
  108. this.targetOnDragStarts.forEach(function(t, n) {
  109. return (
  110. t &&
  111. t({
  112. data: e,
  113. enter: n === i.targetIndex,
  114. el: i.targets[n].el,
  115. sourceNode: i.sourceNode,
  116. name: i.targets[n].name,
  117. methods: u,
  118. })
  119. );
  120. });
  121. },
  122. _initStore: function() {
  123. (this._inTarget = !1),
  124. (this._prevValidIndex = -1),
  125. (this.targetIndex = -1),
  126. this.hideStateIcon();
  127. },
  128. onDragOver: function(e, t) {
  129. if (
  130. ((this.mousePosition = [e, t]),
  131. (this.targetIndex = this.collision(e, t)),
  132. this.setIconPosition(e, t),
  133. this.targetIndex >= 0)
  134. ) {
  135. if (!this._inTarget) {
  136. (this._prevValidIndex = this.targetIndex),
  137. (this._inTarget = !0);
  138. var i = {
  139. enter: !0,
  140. data: this.data,
  141. el: this.targets[this.targetIndex].el,
  142. sourceNode: this.sourceNode,
  143. name: this.targets[this.targetIndex].name,
  144. methods: u,
  145. };
  146. this.onDragEnters[this.targetIndex](i);
  147. }
  148. var n = {
  149. enter: !0,
  150. data: this.data,
  151. el: this.targets[this.targetIndex].el,
  152. sourceNode: this.sourceNode,
  153. name: this.targets[this.targetIndex].name,
  154. pageX: e,
  155. pageY: t,
  156. methods: u,
  157. };
  158. this.onDragOvers[this.targetIndex](n);
  159. } else if (this._inTarget) {
  160. this._inTarget = !1;
  161. var o = {
  162. enter: !1,
  163. data: this.data,
  164. el: this.targets[this._prevValidIndex].el,
  165. sourceNode: this.sourceNode,
  166. name: this.targets[this._prevValidIndex].name,
  167. methods: u,
  168. };
  169. this.onDragLeaves[this._prevValidIndex](o);
  170. }
  171. },
  172. onDragEnd: function() {
  173. var e = this;
  174. if (this.targetIndex >= 0) {
  175. var t = {
  176. enter: !0,
  177. data: this.data,
  178. el: this.targets[this.targetIndex].el,
  179. sourceNode: this.sourceNode,
  180. name: this.targets[this.targetIndex].name,
  181. methods: u,
  182. };
  183. this.targetIndex >= 0 && this.onDrops[this.targetIndex](t);
  184. }
  185. this.targetOnDragEnds.forEach(function(t, i) {
  186. if (t) {
  187. t({
  188. enter: i === e.targetIndex,
  189. data: e.data,
  190. el: e.targets[i].el,
  191. sourceNode: e.sourceNode,
  192. name: e.targets[i].name,
  193. methods: u,
  194. });
  195. }
  196. });
  197. },
  198. collision: function(e, t) {
  199. for (var i = -1, n = 0; n < this.targetPositions.length; n++) {
  200. var o = this.targetPositions[n];
  201. if (o) {
  202. var s = n;
  203. if (
  204. e >= o.left &&
  205. t >= o.top &&
  206. e <= o.right &&
  207. t <= o.bottom
  208. ) {
  209. i = s;
  210. break;
  211. }
  212. }
  213. }
  214. return i;
  215. },
  216. setIconPosition: function(e, t) {
  217. var i = this.stateIcon.style;
  218. (i.left = e + 8 + 'px'), (i.top = t + 'px');
  219. },
  220. showStateIcon: function(e) {
  221. var t = this;
  222. setTimeout(function() {
  223. if (t.isMobile)
  224. return console.warn(
  225. 'showStateIcon仅在pc端口可用 请参考相关说明' +
  226. d.DOCUMENT_ADDR
  227. );
  228. e = r.default[e] || e || 'add';
  229. var i = t.stateIcon.style;
  230. (i.display = 'block'),
  231. (i.background =
  232. 'no-repeat url(' + e + ') center center / 100% auto');
  233. }, 0);
  234. },
  235. hideStateIcon: function() {
  236. try {
  237. this.stateIcon.style.display = 'none';
  238. } catch (e) {}
  239. },
  240. removeDragedNode: function(e, t) {
  241. var i = this;
  242. return e && d.REMOVE_ANIMATION_TYPES[e]
  243. ? (setTimeout(function() {
  244. clearTimeout(i.removeMarkTid);
  245. }, 0),
  246. void this[d.REMOVE_ANIMATION_TYPES[e]](t))
  247. : this.removeMark();
  248. },
  249. }),
  250. o(s, d.REMOVE_ANIMATION_TYPES.fade, function() {
  251. var e =
  252. arguments.length > 0 && void 0 !== arguments[0]
  253. ? arguments[0]
  254. : 150,
  255. t = this.draggedNode && this.draggedNode.style;
  256. t &&
  257. ((t.transition = 'all ' + e / 1e3 + 's ease'),
  258. (t.opacity = '0'),
  259. setTimeout(this.removeMark.bind(this), e));
  260. }),
  261. o(s, d.REMOVE_ANIMATION_TYPES.blost, function() {
  262. var e =
  263. arguments.length > 0 && void 0 !== arguments[0]
  264. ? arguments[0]
  265. : 150,
  266. t = this.draggedNode && this.draggedNode.style;
  267. t &&
  268. ((t.transition = 'all ' + e / 1e3 + 's ease'),
  269. (t.boxShadow = '0 0 50px 30px rgba(0,0,0,0.3)'),
  270. (t.opacity = '0'),
  271. setTimeout(this.removeMark.bind(this), e));
  272. }),
  273. o(s, d.REMOVE_ANIMATION_TYPES.back, function() {
  274. var e =
  275. arguments.length > 0 && void 0 !== arguments[0]
  276. ? arguments[0]
  277. : 400,
  278. t = this.draggedNode && this.draggedNode.style;
  279. t &&
  280. ((t.transition =
  281. 'all ' + e / 1e3 + 's cubic-bezier(0.2,0.4,0.25,1.1)'),
  282. (t.transform = 'translate(0,0)'),
  283. setTimeout(this.removeMark.bind(this), e));
  284. }),
  285. o(s, 'removeMark', function() {
  286. var e = this;
  287. clearTimeout(this.removeMarkTid),
  288. (this.removeMarkTid = setTimeout(function() {
  289. try {
  290. document.body.removeChild(e.markNode), (e.draggedNode = null);
  291. } catch (e) {}
  292. }, 10));
  293. }),
  294. o(s, 'destroyDrop', function(e) {
  295. var t = this;
  296. this.targets.forEach(function(i, n) {
  297. i.name === e && t.removeDrop(n);
  298. });
  299. }),
  300. o(s, 'removeDrop', function(e) {
  301. delete this.targets[e],
  302. delete this.targetOnDragStarts[e],
  303. delete this.targetOnDragEnds[e],
  304. delete this.onDragEnters[e],
  305. delete this.onDragLeaves[e],
  306. delete this.onDragOvers[e],
  307. delete this.onDrops[e],
  308. delete this.targetPositions[e];
  309. }),
  310. o(s, 'getStateIconNode', function() {
  311. return this.stateIcon;
  312. }),
  313. s);
  314. t.default = h;
  315. var u = (t.methods = {
  316. showStateIcon: h.showStateIcon.bind(h),
  317. hideStateIcon: h.hideStateIcon.bind(h),
  318. getStateIconNode: h.getStateIconNode.bind(h),
  319. removeDragedNode: h.removeDragedNode.bind(h),
  320. destroyDrop: h.destroyDrop.bind(h),
  321. });
  322. },
  323. function(e, t, i) {
  324. 'use strict';
  325. function n(e) {
  326. var t = e;
  327. if (!t) return console.error('找不到当前节点', e);
  328. if ('string' == typeof e) {
  329. var i = e;
  330. if (!(t = document.querySelector(i)))
  331. return console.error('找不到当前节点', e);
  332. } else if (
  333. 'object' === (void 0 === e ? 'undefined' : o(e)) &&
  334. !e.nodeName
  335. )
  336. return console.error('找不到当前节点', e);
  337. return t;
  338. }
  339. Object.defineProperty(t, '__esModule', { value: !0 });
  340. var o =
  341. 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator
  342. ? function(e) {
  343. return typeof e;
  344. }
  345. : function(e) {
  346. return e &&
  347. 'function' == typeof Symbol &&
  348. e.constructor === Symbol &&
  349. e !== Symbol.prototype
  350. ? 'symbol'
  351. : typeof e;
  352. };
  353. t.checkNode = n;
  354. },
  355. function(e, t, i) {
  356. 'use strict';
  357. function n(e) {
  358. return e && e.__esModule ? e : { default: e };
  359. }
  360. function o(e) {
  361. if (Array.isArray(e)) {
  362. for (var t = 0, i = Array(e.length); t < e.length; t++) i[t] = e[t];
  363. return i;
  364. }
  365. return Array.from(e);
  366. }
  367. function s(e, t) {
  368. if (!(e instanceof t))
  369. throw new TypeError('Cannot call a class as a function');
  370. }
  371. var a = (function() {
  372. function e(e, t) {
  373. for (var i = 0; i < t.length; i++) {
  374. var n = t[i];
  375. (n.enumerable = n.enumerable || !1),
  376. (n.configurable = !0),
  377. 'value' in n && (n.writable = !0),
  378. Object.defineProperty(e, n.key, n);
  379. }
  380. }
  381. return function(t, i, n) {
  382. return i && e(t.prototype, i), n && e(t, n), t;
  383. };
  384. })(),
  385. r = i(2),
  386. d = i(1),
  387. h = n(d),
  388. u = (function() {
  389. function e(t, i) {
  390. s(this, e), this.initData(t, i) && this.init();
  391. }
  392. return (
  393. a(e, [
  394. {
  395. key: 'initData',
  396. value: function(e, t) {
  397. if (((this.el = (0, r.checkNode)(e)), this.el))
  398. return (
  399. (this.el.style.MozUserSelect = 'none'),
  400. (this.el.style.userSelect = 'none'),
  401. (this.el.style.cursor = 'default'),
  402. (t = this.checkOptions(t)),
  403. (this.options = t),
  404. (this.data = t.data),
  405. (this.mouseDownPosition = { left: -1, top: -1 }),
  406. (this.mouseDragging = !1),
  407. (this.mark = null),
  408. (this.position = { left: 0, top: 0 }),
  409. !0
  410. );
  411. },
  412. },
  413. {
  414. key: 'init',
  415. value: function() {
  416. this.addEventListenerPC(), this.addEventListenerMobile();
  417. },
  418. },
  419. {
  420. key: 'addEventListenerPC',
  421. value: function() {
  422. function e(e) {
  423. var i = e.pageX,
  424. n = e.pageY;
  425. (this.mouseDownPosition = { left: i, top: n }),
  426. (t.onmousemove = this.onElMousemove.bind(this)),
  427. (t.onmouseup = this.onElMouseUp.bind(this)),
  428. document.addEventListener(
  429. 'mouseup',
  430. this.onElMouseUp.bind(this)
  431. );
  432. }
  433. var t = this.el;
  434. t.addEventListener('mousedown', e.bind(this));
  435. },
  436. },
  437. {
  438. key: 'addEventListenerMobile',
  439. value: function() {
  440. this.el.addEventListener(
  441. 'touchmove',
  442. this.onElTouchMove.bind(this)
  443. ),
  444. this.el.addEventListener(
  445. 'touchend',
  446. this.onElTouchEnd.bind(this)
  447. );
  448. },
  449. },
  450. {
  451. key: 'onElMousemove',
  452. value: function() {
  453. this.mouseDragging ||
  454. ((this.mouseDragging = !0),
  455. h.default.onDragStart(this.data, this.el),
  456. (this.position = this.el.getBoundingClientRect()),
  457. (this.mark = document.createElement('div')),
  458. (this.mark.className = 'x-drag-mark'),
  459. this.setMarkStyle(),
  460. (this.mark.onmousemove = this.onMarkMouseMove.bind(this)),
  461. (this.mark.onmouseup = this.onMarkMouseUp.bind(this)),
  462. (this.mark.onmouseleave = this.onMarkMouseUp.bind(this)),
  463. (h.default.markNode = this.mark),
  464. document.body.appendChild(this.mark),
  465. (h.default.draggedNode = this.el.cloneNode(!0)),
  466. this.setCloneNodeStyle(),
  467. this.mark.appendChild(h.default.draggedNode),
  468. (h.default.stateIcon = document.createElement('i')),
  469. (h.default.stateIcon.className = 'x-state-icon'),
  470. this.setIconStyle(),
  471. this.mark.appendChild(h.default.stateIcon),
  472. this.emit('onDragStart', {
  473. el: this.el,
  474. data: this.data,
  475. methods: d.methods,
  476. }));
  477. },
  478. },
  479. {
  480. key: 'onElMouseUp',
  481. value: function() {
  482. (this.mouseDragging = !1),
  483. (this.el.onmousemove = null),
  484. (this.el.onmouseup = null),
  485. this.mark && (this.mark.onmousemove = null),
  486. this.mark && (this.mark.onmouseup = null),
  487. d.methods.hideStateIcon(),
  488. d.methods.removeDragedNode(),
  489. document.removeEventListener(
  490. 'mouseup',
  491. this.onElMouseUp.bind(this)
  492. );
  493. },
  494. },
  495. {
  496. key: 'onMarkMouseMove',
  497. value: function(e) {
  498. if (h.default.draggedNode) {
  499. var t = (e.touches && e.touches[0]) || e,
  500. i = t.pageX,
  501. n = t.pageY,
  502. o = i - this.mouseDownPosition.left,
  503. s = n - this.mouseDownPosition.top;
  504. (h.default.draggedNode.style.transform =
  505. 'translate(' + o + 'px,' + s + 'px)'),
  506. h.default.onDragOver(i, n);
  507. }
  508. },
  509. },
  510. {
  511. key: 'onMarkMouseUp',
  512. value: function() {
  513. document.removeEventListener(
  514. 'mouseup',
  515. this.onElMouseUp.bind(this)
  516. ),
  517. (this.mouseDragging = !1),
  518. (this.mark.onmousemove = null),
  519. (this.el.onmousemove = null),
  520. (this.mouseDownPosition = { left: -1, top: -1 }),
  521. this.emit('onDragEnd', {
  522. el: this.el,
  523. data: this.data,
  524. target: h.default.targets[h.default.targetIndex],
  525. methods: d.methods,
  526. }),
  527. h.default.onDragEnd();
  528. },
  529. },
  530. {
  531. key: 'onElTouchMove',
  532. value: function(e) {
  533. if (
  534. (e.preventDefault(),
  535. (h.default.isMobile = !0),
  536. this.mouseDownPosition.left === -1)
  537. ) {
  538. var t = e.touches[0],
  539. i = t.pageX,
  540. n = t.pageY;
  541. (this.mouseDownPosition.left = i),
  542. (this.mouseDownPosition.top = n);
  543. }
  544. this.onElMousemove(), this.onMarkMouseMove(e);
  545. },
  546. },
  547. {
  548. key: 'onElTouchEnd',
  549. value: function(e) {
  550. this.onMarkMouseUp();
  551. },
  552. },
  553. {
  554. key: 'checkOptions',
  555. value: function(e) {
  556. e = e || {};
  557. var t = {
  558. data: '这里可以放需要丢给目标的内容',
  559. el: this.el,
  560. removeanimationtype: 1,
  561. };
  562. for (var i in t) !e[i] && (e[i] = t[i]);
  563. return e;
  564. },
  565. },
  566. {
  567. key: 'setMarkStyle',
  568. value: function() {
  569. var e = {
  570. position: 'absolute',
  571. top: '0',
  572. left: '0',
  573. width: '100%',
  574. height: '100%',
  575. zIndex: '10',
  576. };
  577. for (var t in e) this.mark.style[t] = e[t];
  578. },
  579. },
  580. {
  581. key: 'setCloneNodeStyle',
  582. value: function() {
  583. var e = h.default.draggedNode,
  584. t = e.style,
  585. i = this.position,
  586. n = i.left,
  587. o = i.top;
  588. (t.position = 'absolute'),
  589. (t.left = n + 'px'),
  590. (t.top = o + 'px'),
  591. (t.transform = 'translate(0,0)'),
  592. (t.zIndex = 1e3),
  593. (t.margin = 0);
  594. },
  595. },
  596. {
  597. key: 'setIconStyle',
  598. value: function() {
  599. var e = h.default.stateIcon.style;
  600. (e.display = 'none'),
  601. (e.position = 'absolute'),
  602. (e.width = '20px'),
  603. (e.height = '20px'),
  604. (e.zIndex = '10001');
  605. },
  606. },
  607. {
  608. key: 'emit',
  609. value: function() {
  610. var e,
  611. t = Array.from(arguments),
  612. i = t.shift();
  613. 'function' == typeof this.options[i] &&
  614. (e = this.options)[i].apply(e, o(t));
  615. },
  616. },
  617. ]),
  618. e
  619. );
  620. })();
  621. e.exports = u;
  622. },
  623. function(e, t, i) {
  624. 'use strict';
  625. function n(e) {
  626. return e && e.__esModule ? e : { default: e };
  627. }
  628. function o(e) {
  629. if (Array.isArray(e)) {
  630. for (var t = 0, i = Array(e.length); t < e.length; t++) i[t] = e[t];
  631. return i;
  632. }
  633. return Array.from(e);
  634. }
  635. function s(e, t) {
  636. if (!(e instanceof t))
  637. throw new TypeError('Cannot call a class as a function');
  638. }
  639. var a = (function() {
  640. function e(e, t) {
  641. for (var i = 0; i < t.length; i++) {
  642. var n = t[i];
  643. (n.enumerable = n.enumerable || !1),
  644. (n.configurable = !0),
  645. 'value' in n && (n.writable = !0),
  646. Object.defineProperty(e, n.key, n);
  647. }
  648. }
  649. return function(t, i, n) {
  650. return i && e(t.prototype, i), n && e(t, n), t;
  651. };
  652. })(),
  653. r = i(2),
  654. d = i(0),
  655. h = i(1),
  656. u = n(h),
  657. l = (function() {
  658. function e(t, i) {
  659. s(this, e), this.initData(t, i) && this.init();
  660. }
  661. return (
  662. a(e, [
  663. {
  664. key: 'initData',
  665. value: function(e, t) {
  666. if (
  667. ((this.el = (0, r.checkNode)(e)),
  668. this.el &&
  669. ((this.options = this.checkOptions(t)), this.options))
  670. )
  671. return (this.index = -1), !0;
  672. },
  673. },
  674. {
  675. key: 'checkOptions',
  676. value: function(e) {
  677. if (!e)
  678. return console.error(
  679. this.el,
  680. '未检测到options 请参考相关说明' + d.DOCUMENT_ADDR
  681. );
  682. if ('function' != typeof e.onDrop)
  683. return console.error(
  684. this.el,
  685. 'onDrop 必须是一个函数 请参考相关说明' + d.DOCUMENT_ADDR
  686. );
  687. var t = { name: null };
  688. for (var i in t) !e[e] && (e[e] = t[i]);
  689. return e;
  690. },
  691. },
  692. {
  693. key: 'init',
  694. value: function() {
  695. this.setStore();
  696. },
  697. },
  698. {
  699. key: 'setStore',
  700. value: function() {
  701. var e =
  702. u.default.targets.push({
  703. el: this.el,
  704. name: this.options.name,
  705. }) - 1;
  706. (this.index = e),
  707. (u.default.targetOnDragStarts[e] = this.onDragStart.bind(
  708. this
  709. )),
  710. (u.default.targetOnDragEnds[e] = this.onDragEnd.bind(this)),
  711. (u.default.onDragEnters[e] = this.onDragEnter.bind(this)),
  712. (u.default.onDragOvers[e] = this.onDragOver.bind(this)),
  713. (u.default.onDragLeaves[e] = this.onDragLeave.bind(this)),
  714. (u.default.onDrops[e] = this.onDrop.bind(this));
  715. },
  716. },
  717. {
  718. key: 'onDragStart',
  719. value: function(e) {
  720. this.setStorePositions(), this.emit('onDragStart', e);
  721. },
  722. },
  723. {
  724. key: 'onDragEnd',
  725. value: function(e) {
  726. this.emit('onDragEnd', e);
  727. },
  728. },
  729. {
  730. key: 'onDragEnter',
  731. value: function(e) {
  732. this.emit('onDragEnter', e);
  733. },
  734. },
  735. {
  736. key: 'onDragOver',
  737. value: function(e) {
  738. this.emit('onDragOver', e);
  739. },
  740. },
  741. {
  742. key: 'onDragLeave',
  743. value: function(e) {
  744. this.emit('onDragLeave', e);
  745. },
  746. },
  747. {
  748. key: 'onDrop',
  749. value: function(e) {
  750. this.emit('onDrop', e);
  751. },
  752. },
  753. {
  754. key: 'setStorePositions',
  755. value: function() {
  756. var e = this.el.getBoundingClientRect(),
  757. t = e.left,
  758. i = e.top,
  759. n = e.width,
  760. o = e.height;
  761. u.default.targetPositions[this.index] = {
  762. top: i,
  763. bottom: i + o,
  764. left: t,
  765. right: t + n,
  766. };
  767. },
  768. },
  769. {
  770. key: 'emit',
  771. value: function() {
  772. var e,
  773. t = Array.from(arguments),
  774. i = t.shift();
  775. 'function' == typeof this.options[i] &&
  776. (e = this.options)[i].apply(e, o(t));
  777. },
  778. },
  779. ]),
  780. e
  781. );
  782. })();
  783. e.exports = l;
  784. },
  785. function(e, t, i) {
  786. 'use strict';
  787. Object.defineProperty(t, '__esModule', { value: !0 });
  788. var n = {
  789. add:
  790. 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyh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nJhX729vTEvLycbG8zMzKWlpYqKimpXV87OzsDAwO3t7ePj43FxcdLPzwwMDFA+Pr+1tTk5OV1JSaOjo9rZ2cfBwVRCQcfCwnl5efLy8qampvDw8OLi4j0uLT0tLdra2sG4uM/LyxgYGHx8fLq6uiEhIRcXF0dHR0JCQkVFRYODg2RkZE9PT05OTtTS0lRBQY6OjsfAwJycnMvGxTEkI9TR0TAwMBUVFVBQUNPQ0FhGRkk4OGxsbGZTU8PDw3p6em9vb6qqqm9sbJiYmJOTk97e3peXl4yMjHRhYdLS0vX19UhISP34+Nvb27u7u8TExGdnZ1lZWVFRUVRUVNXV1RoaGv78/Gtraz0uLoCAgMXFxXd3d/r6+pKSkkk3Nx8VFdLOzy8hISIiIlA+PfT09Pz8/PHx8ScnJxYWFjIkI+vr6z4+PvPz8zw8PGlpaT09PV5eXkExMUZGRpSUlPf390tLS1hYWP///xcBUUkAAADbdFJOU///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ACDO6IAAAAMvSURBVHjahJYFW1sxFIZPbkuhtKUdRYb7GLbBYLgzGLAxGMzd3d3d3d3d3d3dff01i1Vv0uV57s3Nd/I2pycnAjb38jD71vpAFItQAkLIkIb2ZYQaU9y7gGuj1HavCnVGHqVdUZMUqantiISlQt8iRlLNgbyLARmCUbA/du8dV5IKFwiQ23e4ub8JFgO8AYAzn+EKHzh+oRpJW8scX7YI3IsxM5EyY3M8ENSN6NXnQFRC6K+Z3BE2+nWQFMJozLOMLsh+SpwEadHSDo2PHUh5A1V8FSniwyJpsSOR1TxWo6bLGTpOoimIIZ8cc9ZBPg74kw5rmhlCvsMPUmZprnemawtFDuPPL1BwiDLRB+RMPbbHTMTIBdJTD6C0+l8MdhJ7GUbKcD2DKJc7UWZYaymzGZtXloItDtdjqKKcp0xb6TgpZEZDYQCuAu3aKxa37hJER5AHUET+k11bMZMybRQvSbAFyCJ84hSPeI0BSYI0IBlsdYoFfpR5tkPuGZD5cVWV4ZTxU6SeEeSnu+zL/o8w1nqOpLvLsyMo80E0TjFHaj0N7ZlvU9TIBI5M9jT0Zr5FP1chVznyVWXh+fZU5VsPjoSpHejL8i3aMwZVBNHgl07NKBHCfCObIyThV6UontMYM0c9lX/JkhQhg7ep860ZC3mQit/vhTOtjFPl2zHcvgl96nB1TcjkLqFMiXMtdMHNnhD0CFc3xInLY+3IN5LIUTqwbSfqL8kCYXP6YjltWM34ewNe++MD8IdWguwZRJndin0eNVlkU5pEpua0bL3zfNsKUE7+ySq29Q0kor8EmcfWXMku5RupUxhyIsobw2PwI4y85/NtPKgwmTS1PmLm7n3Hnh3uOCzAYqCKhOH5hlAGOI8kayOVtDqJc3Op+Q+4Hny/Kys0cudGj6QIuB+vcJYPrmaOBiBXwnmIfwyJZ5a9Q95exGkO9MmJzI9jcgKorwpgMcdp+FD9tNhF/Ax1xGoTiC4kr03B68R3GHRcL7spZa0OSJiq6h+WWBwpvVzZbE2n0qMCkvJw+iH6JKPvl1JHeLmPkWLMtsToM+uSY+sbXub32hhaY/Xs8U+AAQBejshIcsznyAAAAABJRU5ErkJggg==',
  797. };
  798. t.default = n;
  799. },
  800. function(e, t, i) {
  801. 'use strict';
  802. function n(e) {
  803. return e && e.__esModule ? e : { default: e };
  804. }
  805. Object.defineProperty(t, '__esModule', { value: !0 }),
  806. (t.Drop = t.Drag = void 0);
  807. var o = i(3),
  808. s = n(o),
  809. a = i(4),
  810. r = n(a);
  811. (t.Drag = s.default), (t.Drop = r.default);
  812. },
  813. ]);
  814. });