@britecore/bc-design-system 3.32.2 → 3.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/actions-failure-dialog.js +8 -8
- package/lib/alert.js +8 -8
- package/lib/autocomplete.js +459 -890
- package/lib/badge.js +8 -8
- package/lib/breadcrumb-item.js +8 -8
- package/lib/breadcrumb.js +22 -22
- package/lib/breakpoint.js +16 -16
- package/lib/button-group.js +8 -8
- package/lib/button-link.js +10 -22
- package/lib/button.js +8 -8
- package/lib/card.js +8 -8
- package/lib/cascader-panel.js +128 -830
- package/lib/cascader.js +731 -1079
- package/lib/checkbox-button.js +8 -8
- package/lib/checkbox-group.js +8 -8
- package/lib/checkbox.js +8 -8
- package/lib/col.js +4 -4
- package/lib/collapse-item.js +18 -18
- package/lib/collapse.js +8 -8
- package/lib/data-filter.js +8 -8
- package/lib/data-table-action-buttons.js +20 -20
- package/lib/data-table-cell.js +10 -10
- package/lib/data-table-collapsible-row.js +8 -8
- package/lib/data-table-column-header.js +6 -6
- package/lib/data-table-column.js +6 -6
- package/lib/data-table-row.js +16 -16
- package/lib/data-table.js +100 -94
- package/lib/date-display.js +12 -12
- package/lib/date-picker.js +2436 -2873
- package/lib/dialog.js +59 -60
- package/lib/dropdown-item.js +8 -8
- package/lib/dropdown-menu.js +314 -315
- package/lib/dropdown.js +61 -61
- package/lib/element-ui.common.js +1801 -2183
- package/lib/filter-badges.js +22 -22
- package/lib/filter-button.js +8 -8
- package/lib/filters-display.js +101 -101
- package/lib/form-filter-item.js +67 -67
- package/lib/form-filter.js +79 -79
- package/lib/form-item.js +8 -8
- package/lib/form.js +8 -8
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +8 -8
- package/lib/inline-editor.js +16 -16
- package/lib/inline-status.js +8 -8
- package/lib/input-number.js +55 -55
- package/lib/input-password.js +47 -47
- package/lib/input-phone-number.js +26 -26
- package/lib/input-tag.js +10 -10
- package/lib/input-validation-code.js +25 -25
- package/lib/input.js +16 -17
- package/lib/list-group-item.js +8 -8
- package/lib/list-group.js +8 -8
- package/lib/loading-wrapper.js +8 -8
- package/lib/loading.js +76 -77
- package/lib/message-box.js +127 -128
- package/lib/message.js +74 -75
- package/lib/notification.js +76 -77
- package/lib/option-group.js +8 -8
- package/lib/option.js +15 -15
- package/lib/pagination.js +862 -1217
- package/lib/popover.js +317 -318
- package/lib/progress.js +8 -8
- package/lib/radio-button.js +8 -8
- package/lib/radio-filter.js +59 -59
- package/lib/radio-group.js +10 -10
- package/lib/radio.js +8 -8
- package/lib/row.js +4 -4
- package/lib/search.js +14 -9
- package/lib/select-filter.js +72 -72
- package/lib/select.js +229 -580
- package/lib/slider.js +923 -924
- package/lib/spinner.js +8 -8
- package/lib/spreadsheet-preview.js +10 -10
- package/lib/step.js +8 -8
- package/lib/steps.js +10 -10
- package/lib/switch.js +12 -12
- package/lib/tab-pane.js +8 -8
- package/lib/table-column.js +48 -48
- package/lib/table.js +2381 -2382
- package/lib/tabs.js +103 -103
- package/lib/tag.js +8 -8
- package/lib/theme-chalk/autocomplete.css +1 -1
- package/lib/theme-chalk/cascader-panel.css +1 -1
- package/lib/theme-chalk/cascader.css +1 -1
- package/lib/theme-chalk/date-picker.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/input-number.css +1 -1
- package/lib/theme-chalk/input.css +1 -1
- package/lib/theme-chalk/message-box.css +1 -1
- package/lib/theme-chalk/pagination.css +1 -1
- package/lib/theme-chalk/select-dropdown.css +1 -1
- package/lib/theme-chalk/select.css +1 -1
- package/lib/theme-chalk/slider.css +1 -1
- package/lib/theme-chalk/table-column.css +1 -1
- package/lib/theme-chalk/time-picker.css +1 -1
- package/lib/theme-chalk/time-select.css +1 -1
- package/lib/theme-chalk/transfer.css +1 -1
- package/lib/time-picker.js +2432 -2869
- package/lib/time-select.js +1461 -1896
- package/lib/timeline-item.js +8 -8
- package/lib/timeline.js +6 -6
- package/lib/tooltip.js +608 -609
- package/lib/transfer.js +174 -174
- package/lib/tree.js +87 -87
- package/lib/upload.js +144 -145
- package/lib/utils/scrollbar-width.js +0 -1
- package/package.json +1 -1
- package/packages/autocomplete/src/autocomplete-suggestions.vue +9 -12
- package/packages/button-link/src/main.vue +5 -14
- package/packages/cascader/src/cascader.vue +29 -27
- package/packages/cascader-panel/src/cascader-menu.vue +13 -14
- package/packages/cascader-panel/src/cascader-panel.vue +1 -1
- package/packages/data-table/src/DataTable.vue +4 -1
- package/packages/date-picker/src/basic/time-spinner.vue +42 -51
- package/packages/date-picker/src/panel/time-select.vue +3 -6
- package/packages/search/src/main.vue +3 -0
- package/packages/select/src/select.vue +13 -18
- package/packages/table/src/filter-panel.vue +3 -3
- package/packages/theme-chalk/lib/autocomplete.css +1 -1
- package/packages/theme-chalk/lib/cascader-panel.css +1 -1
- package/packages/theme-chalk/lib/cascader.css +1 -1
- package/packages/theme-chalk/lib/date-picker.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/input-number.css +1 -1
- package/packages/theme-chalk/lib/input.css +1 -1
- package/packages/theme-chalk/lib/message-box.css +1 -1
- package/packages/theme-chalk/lib/pagination.css +1 -1
- package/packages/theme-chalk/lib/select-dropdown.css +1 -1
- package/packages/theme-chalk/lib/select.css +1 -1
- package/packages/theme-chalk/lib/slider.css +1 -1
- package/packages/theme-chalk/lib/table-column.css +1 -1
- package/packages/theme-chalk/lib/time-picker.css +1 -1
- package/packages/theme-chalk/lib/time-select.css +1 -1
- package/packages/theme-chalk/lib/transfer.css +1 -1
- package/packages/theme-chalk/src/autocomplete.scss +0 -1
- package/packages/theme-chalk/src/cascader-panel.scss +1 -1
- package/packages/theme-chalk/src/cascader.scss +1 -0
- package/packages/theme-chalk/src/common/utilities.scss +7 -0
- package/packages/theme-chalk/src/common/var.json +2 -2
- package/packages/theme-chalk/src/common/var.scss +2 -2
- package/packages/theme-chalk/src/data-table/data-table.scss +7 -1
- package/packages/theme-chalk/src/date-picker/time-spinner.scss +0 -4
- package/packages/theme-chalk/src/date-picker.scss +1 -2
- package/packages/theme-chalk/src/index.scss +0 -1
- package/packages/theme-chalk/src/input.scss +0 -1
- package/packages/theme-chalk/src/mixins/mixins.scss +14 -48
- package/packages/theme-chalk/src/select-dropdown.scss +1 -1
- package/packages/theme-chalk/src/select.scss +0 -1
- package/packages/theme-chalk/src/table-column.scss +2 -1
- package/packages/theme-chalk/src/time-picker.scss +0 -1
- package/packages/theme-chalk/src/time-select.scss +1 -1
- package/src/index.js +1 -4
- package/src/utils/scrollbar-width.js +0 -1
- package/lib/scrollbar.js +0 -1134
- package/lib/theme-chalk/scrollbar.css +0 -1
- package/packages/scrollbar/index.js +0 -8
- package/packages/scrollbar/src/bar.js +0 -88
- package/packages/scrollbar/src/main.js +0 -142
- package/packages/scrollbar/src/util.js +0 -34
- package/packages/theme-chalk/lib/scrollbar.css +0 -1
- package/packages/theme-chalk/src/scrollbar.scss +0 -71
package/lib/autocomplete.js
CHANGED
|
@@ -61,7 +61,7 @@ module.exports =
|
|
|
61
61
|
/******/ __webpack_require__.p = "/dist/";
|
|
62
62
|
/******/
|
|
63
63
|
/******/ // Load entry module and return exports
|
|
64
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
64
|
+
/******/ return __webpack_require__(__webpack_require__.s = 252);
|
|
65
65
|
/******/ })
|
|
66
66
|
/************************************************************************/
|
|
67
67
|
/******/ ({
|
|
@@ -226,59 +226,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
226
226
|
"use strict";
|
|
227
227
|
|
|
228
228
|
|
|
229
|
-
exports.__esModule = true;
|
|
230
|
-
|
|
231
|
-
exports.default = function () {
|
|
232
|
-
if (_vue2.default.prototype.$isServer) return 0;
|
|
233
|
-
if (scrollBarWidth !== undefined) return scrollBarWidth;
|
|
234
|
-
|
|
235
|
-
var outer = document.createElement('div');
|
|
236
|
-
outer.className = 'el-scrollbar__wrap';
|
|
237
|
-
outer.style.visibility = 'hidden';
|
|
238
|
-
outer.style.width = '100px';
|
|
239
|
-
outer.style.position = 'absolute';
|
|
240
|
-
outer.style.top = '-9999px';
|
|
241
|
-
document.body.appendChild(outer);
|
|
242
|
-
|
|
243
|
-
var widthNoScroll = outer.offsetWidth;
|
|
244
|
-
outer.style.overflow = 'scroll';
|
|
245
|
-
|
|
246
|
-
var inner = document.createElement('div');
|
|
247
|
-
inner.style.width = '100%';
|
|
248
|
-
outer.appendChild(inner);
|
|
249
|
-
|
|
250
|
-
var widthWithScroll = inner.offsetWidth;
|
|
251
|
-
outer.parentNode.removeChild(outer);
|
|
252
|
-
scrollBarWidth = widthNoScroll - widthWithScroll;
|
|
253
|
-
|
|
254
|
-
return scrollBarWidth;
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
var _vue = __webpack_require__(1);
|
|
258
|
-
|
|
259
|
-
var _vue2 = _interopRequireDefault(_vue);
|
|
260
|
-
|
|
261
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
262
|
-
|
|
263
|
-
var scrollBarWidth = void 0;
|
|
264
|
-
|
|
265
|
-
;
|
|
266
|
-
|
|
267
|
-
/***/ }),
|
|
268
|
-
|
|
269
|
-
/***/ 12:
|
|
270
|
-
/***/ (function(module, exports) {
|
|
271
|
-
|
|
272
|
-
module.exports = require("babel-runtime/core-js/get-iterator");
|
|
273
|
-
|
|
274
|
-
/***/ }),
|
|
275
|
-
|
|
276
|
-
/***/ 13:
|
|
277
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
278
|
-
|
|
279
|
-
"use strict";
|
|
280
|
-
|
|
281
|
-
|
|
282
229
|
exports.__esModule = true;
|
|
283
230
|
/**
|
|
284
231
|
* Show migrating guide in browser console.
|
|
@@ -344,7 +291,7 @@ exports.default = {
|
|
|
344
291
|
|
|
345
292
|
/***/ }),
|
|
346
293
|
|
|
347
|
-
/***/
|
|
294
|
+
/***/ 12:
|
|
348
295
|
/***/ (function(module, exports, __webpack_require__) {
|
|
349
296
|
|
|
350
297
|
"use strict";
|
|
@@ -361,11 +308,11 @@ var _merge = __webpack_require__(8);
|
|
|
361
308
|
|
|
362
309
|
var _merge2 = _interopRequireDefault(_merge);
|
|
363
310
|
|
|
364
|
-
var _popupManager = __webpack_require__(
|
|
311
|
+
var _popupManager = __webpack_require__(15);
|
|
365
312
|
|
|
366
313
|
var _popupManager2 = _interopRequireDefault(_popupManager);
|
|
367
314
|
|
|
368
|
-
var _scrollbarWidth = __webpack_require__(
|
|
315
|
+
var _scrollbarWidth = __webpack_require__(13);
|
|
369
316
|
|
|
370
317
|
var _scrollbarWidth2 = _interopRequireDefault(_scrollbarWidth);
|
|
371
318
|
|
|
@@ -592,7 +539,52 @@ exports.PopupManager = _popupManager2.default;
|
|
|
592
539
|
|
|
593
540
|
/***/ }),
|
|
594
541
|
|
|
595
|
-
/***/
|
|
542
|
+
/***/ 13:
|
|
543
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
544
|
+
|
|
545
|
+
"use strict";
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
exports.__esModule = true;
|
|
549
|
+
|
|
550
|
+
exports.default = function () {
|
|
551
|
+
if (_vue2.default.prototype.$isServer) return 0;
|
|
552
|
+
if (scrollBarWidth !== undefined) return scrollBarWidth;
|
|
553
|
+
|
|
554
|
+
var outer = document.createElement('div');
|
|
555
|
+
outer.style.visibility = 'hidden';
|
|
556
|
+
outer.style.width = '100px';
|
|
557
|
+
outer.style.position = 'absolute';
|
|
558
|
+
outer.style.top = '-9999px';
|
|
559
|
+
document.body.appendChild(outer);
|
|
560
|
+
|
|
561
|
+
var widthNoScroll = outer.offsetWidth;
|
|
562
|
+
outer.style.overflow = 'scroll';
|
|
563
|
+
|
|
564
|
+
var inner = document.createElement('div');
|
|
565
|
+
inner.style.width = '100%';
|
|
566
|
+
outer.appendChild(inner);
|
|
567
|
+
|
|
568
|
+
var widthWithScroll = inner.offsetWidth;
|
|
569
|
+
outer.parentNode.removeChild(outer);
|
|
570
|
+
scrollBarWidth = widthNoScroll - widthWithScroll;
|
|
571
|
+
|
|
572
|
+
return scrollBarWidth;
|
|
573
|
+
};
|
|
574
|
+
|
|
575
|
+
var _vue = __webpack_require__(1);
|
|
576
|
+
|
|
577
|
+
var _vue2 = _interopRequireDefault(_vue);
|
|
578
|
+
|
|
579
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
580
|
+
|
|
581
|
+
var scrollBarWidth = void 0;
|
|
582
|
+
|
|
583
|
+
;
|
|
584
|
+
|
|
585
|
+
/***/ }),
|
|
586
|
+
|
|
587
|
+
/***/ 14:
|
|
596
588
|
/***/ (function(module, exports, __webpack_require__) {
|
|
597
589
|
|
|
598
590
|
"use strict";
|
|
@@ -604,11 +596,11 @@ var _emitter = __webpack_require__(6);
|
|
|
604
596
|
|
|
605
597
|
var _emitter2 = _interopRequireDefault(_emitter);
|
|
606
598
|
|
|
607
|
-
var _migrating = __webpack_require__(
|
|
599
|
+
var _migrating = __webpack_require__(11);
|
|
608
600
|
|
|
609
601
|
var _migrating2 = _interopRequireDefault(_migrating);
|
|
610
602
|
|
|
611
|
-
var _calcTextareaHeight = __webpack_require__(
|
|
603
|
+
var _calcTextareaHeight = __webpack_require__(27);
|
|
612
604
|
|
|
613
605
|
var _calcTextareaHeight2 = _interopRequireDefault(_calcTextareaHeight);
|
|
614
606
|
|
|
@@ -616,7 +608,7 @@ var _merge = __webpack_require__(8);
|
|
|
616
608
|
|
|
617
609
|
var _merge2 = _interopRequireDefault(_merge);
|
|
618
610
|
|
|
619
|
-
var _shared = __webpack_require__(
|
|
611
|
+
var _shared = __webpack_require__(17);
|
|
620
612
|
|
|
621
613
|
var _util = __webpack_require__(4);
|
|
622
614
|
|
|
@@ -1050,7 +1042,7 @@ exports.default = {
|
|
|
1050
1042
|
|
|
1051
1043
|
/***/ }),
|
|
1052
1044
|
|
|
1053
|
-
/***/
|
|
1045
|
+
/***/ 15:
|
|
1054
1046
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1055
1047
|
|
|
1056
1048
|
"use strict";
|
|
@@ -1262,7 +1254,7 @@ exports.default = PopupManager;
|
|
|
1262
1254
|
|
|
1263
1255
|
/***/ }),
|
|
1264
1256
|
|
|
1265
|
-
/***/
|
|
1257
|
+
/***/ 161:
|
|
1266
1258
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1267
1259
|
|
|
1268
1260
|
"use strict";
|
|
@@ -1270,7 +1262,7 @@ exports.default = PopupManager;
|
|
|
1270
1262
|
|
|
1271
1263
|
exports.__esModule = true;
|
|
1272
1264
|
|
|
1273
|
-
var _debounce = __webpack_require__(
|
|
1265
|
+
var _debounce = __webpack_require__(33);
|
|
1274
1266
|
|
|
1275
1267
|
var _debounce2 = _interopRequireDefault(_debounce);
|
|
1276
1268
|
|
|
@@ -1278,11 +1270,11 @@ var _input = __webpack_require__(20);
|
|
|
1278
1270
|
|
|
1279
1271
|
var _input2 = _interopRequireDefault(_input);
|
|
1280
1272
|
|
|
1281
|
-
var _clickoutside = __webpack_require__(
|
|
1273
|
+
var _clickoutside = __webpack_require__(30);
|
|
1282
1274
|
|
|
1283
1275
|
var _clickoutside2 = _interopRequireDefault(_clickoutside);
|
|
1284
1276
|
|
|
1285
|
-
var _autocompleteSuggestions = __webpack_require__(
|
|
1277
|
+
var _autocompleteSuggestions = __webpack_require__(254);
|
|
1286
1278
|
|
|
1287
1279
|
var _autocompleteSuggestions2 = _interopRequireDefault(_autocompleteSuggestions);
|
|
1288
1280
|
|
|
@@ -1290,13 +1282,13 @@ var _emitter = __webpack_require__(6);
|
|
|
1290
1282
|
|
|
1291
1283
|
var _emitter2 = _interopRequireDefault(_emitter);
|
|
1292
1284
|
|
|
1293
|
-
var _migrating = __webpack_require__(
|
|
1285
|
+
var _migrating = __webpack_require__(11);
|
|
1294
1286
|
|
|
1295
1287
|
var _migrating2 = _interopRequireDefault(_migrating);
|
|
1296
1288
|
|
|
1297
1289
|
var _util = __webpack_require__(4);
|
|
1298
1290
|
|
|
1299
|
-
var _focus = __webpack_require__(
|
|
1291
|
+
var _focus = __webpack_require__(50);
|
|
1300
1292
|
|
|
1301
1293
|
var _focus2 = _interopRequireDefault(_focus);
|
|
1302
1294
|
|
|
@@ -1571,7 +1563,7 @@ exports.default = {
|
|
|
1571
1563
|
|
|
1572
1564
|
/***/ }),
|
|
1573
1565
|
|
|
1574
|
-
/***/
|
|
1566
|
+
/***/ 162:
|
|
1575
1567
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1576
1568
|
|
|
1577
1569
|
"use strict";
|
|
@@ -1587,14 +1579,30 @@ var _emitter = __webpack_require__(6);
|
|
|
1587
1579
|
|
|
1588
1580
|
var _emitter2 = _interopRequireDefault(_emitter);
|
|
1589
1581
|
|
|
1590
|
-
var _scrollbar = __webpack_require__(35);
|
|
1591
|
-
|
|
1592
|
-
var _scrollbar2 = _interopRequireDefault(_scrollbar);
|
|
1593
|
-
|
|
1594
1582
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1595
1583
|
|
|
1584
|
+
//
|
|
1585
|
+
//
|
|
1586
|
+
//
|
|
1587
|
+
//
|
|
1588
|
+
//
|
|
1589
|
+
//
|
|
1590
|
+
//
|
|
1591
|
+
//
|
|
1592
|
+
//
|
|
1593
|
+
//
|
|
1594
|
+
//
|
|
1595
|
+
//
|
|
1596
|
+
//
|
|
1597
|
+
//
|
|
1598
|
+
//
|
|
1599
|
+
//
|
|
1600
|
+
//
|
|
1601
|
+
//
|
|
1602
|
+
//
|
|
1603
|
+
//
|
|
1604
|
+
|
|
1596
1605
|
exports.default = {
|
|
1597
|
-
components: { ElScrollbar: _scrollbar2.default },
|
|
1598
1606
|
mixins: [_vuePopper2.default, _emitter2.default],
|
|
1599
1607
|
|
|
1600
1608
|
componentName: 'ElAutocompleteSuggestions',
|
|
@@ -1640,31 +1648,11 @@ exports.default = {
|
|
|
1640
1648
|
_this2.showPopper = val;
|
|
1641
1649
|
});
|
|
1642
1650
|
}
|
|
1643
|
-
};
|
|
1644
|
-
//
|
|
1645
|
-
//
|
|
1646
|
-
//
|
|
1647
|
-
//
|
|
1648
|
-
//
|
|
1649
|
-
//
|
|
1650
|
-
//
|
|
1651
|
-
//
|
|
1652
|
-
//
|
|
1653
|
-
//
|
|
1654
|
-
//
|
|
1655
|
-
//
|
|
1656
|
-
//
|
|
1657
|
-
//
|
|
1658
|
-
//
|
|
1659
|
-
//
|
|
1660
|
-
//
|
|
1661
|
-
//
|
|
1662
|
-
//
|
|
1663
|
-
//
|
|
1651
|
+
};
|
|
1664
1652
|
|
|
1665
1653
|
/***/ }),
|
|
1666
1654
|
|
|
1667
|
-
/***/
|
|
1655
|
+
/***/ 17:
|
|
1668
1656
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1669
1657
|
|
|
1670
1658
|
"use strict";
|
|
@@ -1698,7 +1686,7 @@ module.exports = require("babel-runtime/helpers/typeof");
|
|
|
1698
1686
|
|
|
1699
1687
|
exports.__esModule = true;
|
|
1700
1688
|
|
|
1701
|
-
var _input = __webpack_require__(
|
|
1689
|
+
var _input = __webpack_require__(26);
|
|
1702
1690
|
|
|
1703
1691
|
var _input2 = _interopRequireDefault(_input);
|
|
1704
1692
|
|
|
@@ -1725,11 +1713,11 @@ var _vue = __webpack_require__(1);
|
|
|
1725
1713
|
|
|
1726
1714
|
var _vue2 = _interopRequireDefault(_vue);
|
|
1727
1715
|
|
|
1728
|
-
var _popup = __webpack_require__(
|
|
1716
|
+
var _popup = __webpack_require__(12);
|
|
1729
1717
|
|
|
1730
1718
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1731
1719
|
|
|
1732
|
-
var PopperJS = _vue2.default.prototype.$isServer ? function () {} : __webpack_require__(
|
|
1720
|
+
var PopperJS = _vue2.default.prototype.$isServer ? function () {} : __webpack_require__(29);
|
|
1733
1721
|
var stop = function stop(e) {
|
|
1734
1722
|
return e.stopPropagation();
|
|
1735
1723
|
};
|
|
@@ -1924,75 +1912,7 @@ exports.default = {
|
|
|
1924
1912
|
|
|
1925
1913
|
/***/ }),
|
|
1926
1914
|
|
|
1927
|
-
/***/
|
|
1928
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1929
|
-
|
|
1930
|
-
"use strict";
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
exports.__esModule = true;
|
|
1934
|
-
exports.removeResizeListener = exports.addResizeListener = undefined;
|
|
1935
|
-
|
|
1936
|
-
var _getIterator2 = __webpack_require__(12);
|
|
1937
|
-
|
|
1938
|
-
var _getIterator3 = _interopRequireDefault(_getIterator2);
|
|
1939
|
-
|
|
1940
|
-
var _resizeObserverPolyfill = __webpack_require__(31);
|
|
1941
|
-
|
|
1942
|
-
var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
|
|
1943
|
-
|
|
1944
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1945
|
-
|
|
1946
|
-
var isServer = typeof window === 'undefined';
|
|
1947
|
-
|
|
1948
|
-
/* istanbul ignore next */
|
|
1949
|
-
var resizeHandler = function resizeHandler(entries) {
|
|
1950
|
-
for (var _iterator = entries, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : (0, _getIterator3.default)(_iterator);;) {
|
|
1951
|
-
var _ref;
|
|
1952
|
-
|
|
1953
|
-
if (_isArray) {
|
|
1954
|
-
if (_i >= _iterator.length) break;
|
|
1955
|
-
_ref = _iterator[_i++];
|
|
1956
|
-
} else {
|
|
1957
|
-
_i = _iterator.next();
|
|
1958
|
-
if (_i.done) break;
|
|
1959
|
-
_ref = _i.value;
|
|
1960
|
-
}
|
|
1961
|
-
|
|
1962
|
-
var entry = _ref;
|
|
1963
|
-
|
|
1964
|
-
var listeners = entry.target.__resizeListeners__ || [];
|
|
1965
|
-
if (listeners.length) {
|
|
1966
|
-
listeners.forEach(function (fn) {
|
|
1967
|
-
fn();
|
|
1968
|
-
});
|
|
1969
|
-
}
|
|
1970
|
-
}
|
|
1971
|
-
};
|
|
1972
|
-
|
|
1973
|
-
/* istanbul ignore next */
|
|
1974
|
-
var addResizeListener = exports.addResizeListener = function addResizeListener(element, fn) {
|
|
1975
|
-
if (isServer) return;
|
|
1976
|
-
if (!element.__resizeListeners__) {
|
|
1977
|
-
element.__resizeListeners__ = [];
|
|
1978
|
-
element.__ro__ = new _resizeObserverPolyfill2.default(resizeHandler);
|
|
1979
|
-
element.__ro__.observe(element);
|
|
1980
|
-
}
|
|
1981
|
-
element.__resizeListeners__.push(fn);
|
|
1982
|
-
};
|
|
1983
|
-
|
|
1984
|
-
/* istanbul ignore next */
|
|
1985
|
-
var removeResizeListener = exports.removeResizeListener = function removeResizeListener(element, fn) {
|
|
1986
|
-
if (!element || !element.__resizeListeners__) return;
|
|
1987
|
-
element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);
|
|
1988
|
-
if (!element.__resizeListeners__.length) {
|
|
1989
|
-
element.__ro__.disconnect();
|
|
1990
|
-
}
|
|
1991
|
-
};
|
|
1992
|
-
|
|
1993
|
-
/***/ }),
|
|
1994
|
-
|
|
1995
|
-
/***/ 256:
|
|
1915
|
+
/***/ 252:
|
|
1996
1916
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1997
1917
|
|
|
1998
1918
|
"use strict";
|
|
@@ -2000,7 +1920,7 @@ var removeResizeListener = exports.removeResizeListener = function removeResizeL
|
|
|
2000
1920
|
|
|
2001
1921
|
exports.__esModule = true;
|
|
2002
1922
|
|
|
2003
|
-
var _autocomplete = __webpack_require__(
|
|
1923
|
+
var _autocomplete = __webpack_require__(253);
|
|
2004
1924
|
|
|
2005
1925
|
var _autocomplete2 = _interopRequireDefault(_autocomplete);
|
|
2006
1926
|
|
|
@@ -2015,15 +1935,15 @@ exports.default = _autocomplete2.default;
|
|
|
2015
1935
|
|
|
2016
1936
|
/***/ }),
|
|
2017
1937
|
|
|
2018
|
-
/***/
|
|
1938
|
+
/***/ 253:
|
|
2019
1939
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2020
1940
|
|
|
2021
1941
|
"use strict";
|
|
2022
1942
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
2023
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_vue__ = __webpack_require__(
|
|
1943
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_vue__ = __webpack_require__(161);
|
|
2024
1944
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_vue__);
|
|
2025
1945
|
/* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_vue__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_vue__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
2026
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_f72baa5c_hasScoped_false_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_autocomplete_vue__ = __webpack_require__(
|
|
1946
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_f72baa5c_hasScoped_false_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_autocomplete_vue__ = __webpack_require__(256);
|
|
2027
1947
|
var normalizeComponent = __webpack_require__(0)
|
|
2028
1948
|
/* script */
|
|
2029
1949
|
|
|
@@ -2052,15 +1972,15 @@ var Component = normalizeComponent(
|
|
|
2052
1972
|
|
|
2053
1973
|
/***/ }),
|
|
2054
1974
|
|
|
2055
|
-
/***/
|
|
1975
|
+
/***/ 254:
|
|
2056
1976
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2057
1977
|
|
|
2058
1978
|
"use strict";
|
|
2059
1979
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
2060
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_suggestions_vue__ = __webpack_require__(
|
|
1980
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_suggestions_vue__ = __webpack_require__(162);
|
|
2061
1981
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_suggestions_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_suggestions_vue__);
|
|
2062
1982
|
/* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_suggestions_vue__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_suggestions_vue__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
2063
|
-
/* harmony import */ var
|
|
1983
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_a634abd6_hasScoped_false_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_autocomplete_suggestions_vue__ = __webpack_require__(255);
|
|
2064
1984
|
var normalizeComponent = __webpack_require__(0)
|
|
2065
1985
|
/* script */
|
|
2066
1986
|
|
|
@@ -2077,7 +1997,7 @@ var __vue_scopeId__ = null
|
|
|
2077
1997
|
var __vue_module_identifier__ = null
|
|
2078
1998
|
var Component = normalizeComponent(
|
|
2079
1999
|
__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_autocomplete_suggestions_vue___default.a,
|
|
2080
|
-
|
|
2000
|
+
__WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_a634abd6_hasScoped_false_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_autocomplete_suggestions_vue__["a" /* default */],
|
|
2081
2001
|
__vue_template_functional__,
|
|
2082
2002
|
__vue_styles__,
|
|
2083
2003
|
__vue_scopeId__,
|
|
@@ -2089,18 +2009,18 @@ var Component = normalizeComponent(
|
|
|
2089
2009
|
|
|
2090
2010
|
/***/ }),
|
|
2091
2011
|
|
|
2092
|
-
/***/
|
|
2012
|
+
/***/ 255:
|
|
2093
2013
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2094
2014
|
|
|
2095
2015
|
"use strict";
|
|
2096
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"el-zoom-in-top"},on:{"after-leave":_vm.doDestroy}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showPopper),expression:"showPopper"}],staticClass:"el-autocomplete-suggestion el-popper",class:{ 'is-loading': !_vm.parent.hideLoading && _vm.parent.loading },style:({ width: _vm.dropdownWidth }),attrs:{"role":"region"}},[_c('
|
|
2016
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"el-zoom-in-top"},on:{"after-leave":_vm.doDestroy}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showPopper),expression:"showPopper"}],staticClass:"el-autocomplete-suggestion el-popper",class:{ 'is-loading': !_vm.parent.hideLoading && _vm.parent.loading },style:({ width: _vm.dropdownWidth }),attrs:{"role":"region"}},[_c('div',{staticClass:"el-autocomplete-suggestion__wrap u-scrollbar"},[_c('ul',{staticClass:"el-autocomplete-suggestion__list"},[(!_vm.parent.hideLoading && _vm.parent.loading)?_c('li',[_c('fa-icon',{staticClass:"icon--spin-fast",attrs:{"icon":['far', 'spinner-third'],"fixed-width":"","spin":""}})],1):_vm._t("default")],2)])])])}
|
|
2097
2017
|
var staticRenderFns = []
|
|
2098
2018
|
var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
2099
2019
|
/* harmony default export */ __webpack_exports__["a"] = (esExports);
|
|
2100
2020
|
|
|
2101
2021
|
/***/ }),
|
|
2102
2022
|
|
|
2103
|
-
/***/
|
|
2023
|
+
/***/ 256:
|
|
2104
2024
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2105
2025
|
|
|
2106
2026
|
"use strict";
|
|
@@ -2111,15 +2031,15 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
2111
2031
|
|
|
2112
2032
|
/***/ }),
|
|
2113
2033
|
|
|
2114
|
-
/***/
|
|
2034
|
+
/***/ 26:
|
|
2115
2035
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2116
2036
|
|
|
2117
2037
|
"use strict";
|
|
2118
2038
|
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|
2119
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_input_vue__ = __webpack_require__(
|
|
2039
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_input_vue__ = __webpack_require__(14);
|
|
2120
2040
|
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_input_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_input_vue__);
|
|
2121
2041
|
/* harmony namespace reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_input_vue__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_input_vue__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
2122
|
-
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_09f2cd43_hasScoped_false_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_input_vue__ = __webpack_require__(
|
|
2042
|
+
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_09f2cd43_hasScoped_false_preserveWhitespace_false_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_input_vue__ = __webpack_require__(28);
|
|
2123
2043
|
var normalizeComponent = __webpack_require__(0)
|
|
2124
2044
|
/* script */
|
|
2125
2045
|
|
|
@@ -2148,7 +2068,7 @@ var Component = normalizeComponent(
|
|
|
2148
2068
|
|
|
2149
2069
|
/***/ }),
|
|
2150
2070
|
|
|
2151
|
-
/***/
|
|
2071
|
+
/***/ 27:
|
|
2152
2072
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2153
2073
|
|
|
2154
2074
|
"use strict";
|
|
@@ -2231,7 +2151,7 @@ function calcTextareaHeight(targetElement) {
|
|
|
2231
2151
|
|
|
2232
2152
|
/***/ }),
|
|
2233
2153
|
|
|
2234
|
-
/***/
|
|
2154
|
+
/***/ 28:
|
|
2235
2155
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2236
2156
|
|
|
2237
2157
|
"use strict";
|
|
@@ -2253,314 +2173,70 @@ var esExports = { render: render, staticRenderFns: staticRenderFns }
|
|
|
2253
2173
|
|
|
2254
2174
|
/***/ }),
|
|
2255
2175
|
|
|
2256
|
-
/***/
|
|
2176
|
+
/***/ 29:
|
|
2257
2177
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2258
2178
|
|
|
2259
|
-
|
|
2179
|
+
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
2180
|
+
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
2181
|
+
* @version {{version}}
|
|
2182
|
+
* @license
|
|
2183
|
+
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
2184
|
+
*
|
|
2185
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2186
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
2187
|
+
* in the Software without restriction, including without limitation the rights
|
|
2188
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2189
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
2190
|
+
* furnished to do so, subject to the following conditions:
|
|
2191
|
+
*
|
|
2192
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
2193
|
+
* copies or substantial portions of the Software.
|
|
2194
|
+
*
|
|
2195
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2196
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2197
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2198
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2199
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2200
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2201
|
+
* SOFTWARE.
|
|
2202
|
+
*/
|
|
2260
2203
|
|
|
2204
|
+
//
|
|
2205
|
+
// Cross module loader
|
|
2206
|
+
// Supported: Node, AMD, Browser globals
|
|
2207
|
+
//
|
|
2208
|
+
;(function (root, factory) {
|
|
2209
|
+
if (true) {
|
|
2210
|
+
// AMD. Register as an anonymous module.
|
|
2211
|
+
!(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
2212
|
+
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
2213
|
+
(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
|
|
2214
|
+
__WEBPACK_AMD_DEFINE_FACTORY__),
|
|
2215
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
2216
|
+
} else if (typeof module === 'object' && module.exports) {
|
|
2217
|
+
// Node. Does not work with strict CommonJS, but
|
|
2218
|
+
// only CommonJS-like environments that support module.exports,
|
|
2219
|
+
// like Node.
|
|
2220
|
+
module.exports = factory();
|
|
2221
|
+
} else {
|
|
2222
|
+
// Browser globals (root is window)
|
|
2223
|
+
root.Popper = factory();
|
|
2224
|
+
}
|
|
2225
|
+
}(this, function () {
|
|
2261
2226
|
|
|
2262
|
-
|
|
2263
|
-
exports.isInContainer = exports.getScrollContainer = exports.isScroll = exports.getStyle = exports.once = exports.off = exports.on = undefined;
|
|
2227
|
+
'use strict';
|
|
2264
2228
|
|
|
2265
|
-
var
|
|
2229
|
+
var root = window;
|
|
2266
2230
|
|
|
2267
|
-
|
|
2231
|
+
// default options
|
|
2232
|
+
var DEFAULTS = {
|
|
2233
|
+
// placement of the popper
|
|
2234
|
+
placement: 'bottom',
|
|
2268
2235
|
|
|
2269
|
-
|
|
2270
|
-
exports.addClass = addClass;
|
|
2271
|
-
exports.removeClass = removeClass;
|
|
2272
|
-
exports.setStyle = setStyle;
|
|
2236
|
+
gpuAcceleration: true,
|
|
2273
2237
|
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
var _vue2 = _interopRequireDefault(_vue);
|
|
2277
|
-
|
|
2278
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2279
|
-
|
|
2280
|
-
var isServer = _vue2.default.prototype.$isServer; /* istanbul ignore next */
|
|
2281
|
-
|
|
2282
|
-
var SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g;
|
|
2283
|
-
var MOZ_HACK_REGEXP = /^moz([A-Z])/;
|
|
2284
|
-
var ieVersion = isServer ? 0 : Number(document.documentMode);
|
|
2285
|
-
|
|
2286
|
-
/* istanbul ignore next */
|
|
2287
|
-
var trim = function trim(string) {
|
|
2288
|
-
return (string || '').replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, '');
|
|
2289
|
-
};
|
|
2290
|
-
/* istanbul ignore next */
|
|
2291
|
-
var camelCase = function camelCase(name) {
|
|
2292
|
-
return name.replace(SPECIAL_CHARS_REGEXP, function (_, separator, letter, offset) {
|
|
2293
|
-
return offset ? letter.toUpperCase() : letter;
|
|
2294
|
-
}).replace(MOZ_HACK_REGEXP, 'Moz$1');
|
|
2295
|
-
};
|
|
2296
|
-
|
|
2297
|
-
/* istanbul ignore next */
|
|
2298
|
-
var on = exports.on = function () {
|
|
2299
|
-
if (!isServer && document.addEventListener) {
|
|
2300
|
-
return function (element, event, handler) {
|
|
2301
|
-
if (element && event && handler) {
|
|
2302
|
-
element.addEventListener(event, handler, false);
|
|
2303
|
-
}
|
|
2304
|
-
};
|
|
2305
|
-
} else {
|
|
2306
|
-
return function (element, event, handler) {
|
|
2307
|
-
if (element && event && handler) {
|
|
2308
|
-
element.attachEvent('on' + event, handler);
|
|
2309
|
-
}
|
|
2310
|
-
};
|
|
2311
|
-
}
|
|
2312
|
-
}();
|
|
2313
|
-
|
|
2314
|
-
/* istanbul ignore next */
|
|
2315
|
-
var off = exports.off = function () {
|
|
2316
|
-
if (!isServer && document.removeEventListener) {
|
|
2317
|
-
return function (element, event, handler) {
|
|
2318
|
-
if (element && event) {
|
|
2319
|
-
element.removeEventListener(event, handler, false);
|
|
2320
|
-
}
|
|
2321
|
-
};
|
|
2322
|
-
} else {
|
|
2323
|
-
return function (element, event, handler) {
|
|
2324
|
-
if (element && event) {
|
|
2325
|
-
element.detachEvent('on' + event, handler);
|
|
2326
|
-
}
|
|
2327
|
-
};
|
|
2328
|
-
}
|
|
2329
|
-
}();
|
|
2330
|
-
|
|
2331
|
-
/* istanbul ignore next */
|
|
2332
|
-
var once = exports.once = function once(el, event, fn) {
|
|
2333
|
-
var listener = function listener() {
|
|
2334
|
-
if (fn) {
|
|
2335
|
-
fn.apply(this, arguments);
|
|
2336
|
-
}
|
|
2337
|
-
off(el, event, listener);
|
|
2338
|
-
};
|
|
2339
|
-
on(el, event, listener);
|
|
2340
|
-
};
|
|
2341
|
-
|
|
2342
|
-
/* istanbul ignore next */
|
|
2343
|
-
function hasClass(el, cls) {
|
|
2344
|
-
if (!el || !cls) return false;
|
|
2345
|
-
if (cls.indexOf(' ') !== -1) throw new Error('className should not contain space.');
|
|
2346
|
-
if (el.classList) {
|
|
2347
|
-
return el.classList.contains(cls);
|
|
2348
|
-
} else {
|
|
2349
|
-
return (' ' + el.className + ' ').indexOf(' ' + cls + ' ') > -1;
|
|
2350
|
-
}
|
|
2351
|
-
};
|
|
2352
|
-
|
|
2353
|
-
/* istanbul ignore next */
|
|
2354
|
-
function addClass(el, cls) {
|
|
2355
|
-
if (!el) return;
|
|
2356
|
-
var curClass = el.className;
|
|
2357
|
-
var classes = (cls || '').split(' ');
|
|
2358
|
-
|
|
2359
|
-
for (var i = 0, j = classes.length; i < j; i++) {
|
|
2360
|
-
var clsName = classes[i];
|
|
2361
|
-
if (!clsName) continue;
|
|
2362
|
-
|
|
2363
|
-
if (el.classList) {
|
|
2364
|
-
el.classList.add(clsName);
|
|
2365
|
-
} else if (!hasClass(el, clsName)) {
|
|
2366
|
-
curClass += ' ' + clsName;
|
|
2367
|
-
}
|
|
2368
|
-
}
|
|
2369
|
-
if (!el.classList) {
|
|
2370
|
-
el.className = curClass;
|
|
2371
|
-
}
|
|
2372
|
-
};
|
|
2373
|
-
|
|
2374
|
-
/* istanbul ignore next */
|
|
2375
|
-
function removeClass(el, cls) {
|
|
2376
|
-
if (!el || !cls) return;
|
|
2377
|
-
var classes = cls.split(' ');
|
|
2378
|
-
var curClass = ' ' + el.className + ' ';
|
|
2379
|
-
|
|
2380
|
-
for (var i = 0, j = classes.length; i < j; i++) {
|
|
2381
|
-
var clsName = classes[i];
|
|
2382
|
-
if (!clsName) continue;
|
|
2383
|
-
|
|
2384
|
-
if (el.classList) {
|
|
2385
|
-
el.classList.remove(clsName);
|
|
2386
|
-
} else if (hasClass(el, clsName)) {
|
|
2387
|
-
curClass = curClass.replace(' ' + clsName + ' ', ' ');
|
|
2388
|
-
}
|
|
2389
|
-
}
|
|
2390
|
-
if (!el.classList) {
|
|
2391
|
-
el.className = trim(curClass);
|
|
2392
|
-
}
|
|
2393
|
-
};
|
|
2394
|
-
|
|
2395
|
-
/* istanbul ignore next */
|
|
2396
|
-
var getStyle = exports.getStyle = ieVersion < 9 ? function (element, styleName) {
|
|
2397
|
-
if (isServer) return;
|
|
2398
|
-
if (!element || !styleName) return null;
|
|
2399
|
-
styleName = camelCase(styleName);
|
|
2400
|
-
if (styleName === 'float') {
|
|
2401
|
-
styleName = 'styleFloat';
|
|
2402
|
-
}
|
|
2403
|
-
try {
|
|
2404
|
-
switch (styleName) {
|
|
2405
|
-
case 'opacity':
|
|
2406
|
-
try {
|
|
2407
|
-
return element.filters.item('alpha').opacity / 100;
|
|
2408
|
-
} catch (e) {
|
|
2409
|
-
return 1.0;
|
|
2410
|
-
}
|
|
2411
|
-
default:
|
|
2412
|
-
return element.style[styleName] || element.currentStyle ? element.currentStyle[styleName] : null;
|
|
2413
|
-
}
|
|
2414
|
-
} catch (e) {
|
|
2415
|
-
return element.style[styleName];
|
|
2416
|
-
}
|
|
2417
|
-
} : function (element, styleName) {
|
|
2418
|
-
if (isServer) return;
|
|
2419
|
-
if (!element || !styleName) return null;
|
|
2420
|
-
styleName = camelCase(styleName);
|
|
2421
|
-
if (styleName === 'float') {
|
|
2422
|
-
styleName = 'cssFloat';
|
|
2423
|
-
}
|
|
2424
|
-
try {
|
|
2425
|
-
var computed = document.defaultView.getComputedStyle(element, '');
|
|
2426
|
-
return element.style[styleName] || computed ? computed[styleName] : null;
|
|
2427
|
-
} catch (e) {
|
|
2428
|
-
return element.style[styleName];
|
|
2429
|
-
}
|
|
2430
|
-
};
|
|
2431
|
-
|
|
2432
|
-
/* istanbul ignore next */
|
|
2433
|
-
function setStyle(element, styleName, value) {
|
|
2434
|
-
if (!element || !styleName) return;
|
|
2435
|
-
|
|
2436
|
-
if ((typeof styleName === 'undefined' ? 'undefined' : (0, _typeof3.default)(styleName)) === 'object') {
|
|
2437
|
-
for (var prop in styleName) {
|
|
2438
|
-
if (styleName.hasOwnProperty(prop)) {
|
|
2439
|
-
setStyle(element, prop, styleName[prop]);
|
|
2440
|
-
}
|
|
2441
|
-
}
|
|
2442
|
-
} else {
|
|
2443
|
-
styleName = camelCase(styleName);
|
|
2444
|
-
if (styleName === 'opacity' && ieVersion < 9) {
|
|
2445
|
-
element.style.filter = isNaN(value) ? '' : 'alpha(opacity=' + value * 100 + ')';
|
|
2446
|
-
} else {
|
|
2447
|
-
element.style[styleName] = value;
|
|
2448
|
-
}
|
|
2449
|
-
}
|
|
2450
|
-
};
|
|
2451
|
-
|
|
2452
|
-
var isScroll = exports.isScroll = function isScroll(el, vertical) {
|
|
2453
|
-
if (isServer) return;
|
|
2454
|
-
|
|
2455
|
-
var determinedDirection = vertical !== null || vertical !== undefined;
|
|
2456
|
-
var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
|
|
2457
|
-
|
|
2458
|
-
return overflow.match(/(scroll|auto)/);
|
|
2459
|
-
};
|
|
2460
|
-
|
|
2461
|
-
var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
|
|
2462
|
-
if (isServer) return;
|
|
2463
|
-
|
|
2464
|
-
var parent = el;
|
|
2465
|
-
while (parent) {
|
|
2466
|
-
if ([window, document, document.documentElement].includes(parent)) {
|
|
2467
|
-
return document.documentElement;
|
|
2468
|
-
}
|
|
2469
|
-
if (isScroll(parent, vertical)) {
|
|
2470
|
-
return parent;
|
|
2471
|
-
}
|
|
2472
|
-
parent = parent.parentNode;
|
|
2473
|
-
}
|
|
2474
|
-
|
|
2475
|
-
return parent;
|
|
2476
|
-
};
|
|
2477
|
-
|
|
2478
|
-
var isInContainer = exports.isInContainer = function isInContainer(el, container) {
|
|
2479
|
-
if (isServer || !el || !container) return false;
|
|
2480
|
-
|
|
2481
|
-
var elRect = el.getBoundingClientRect();
|
|
2482
|
-
var containerRect = void 0;
|
|
2483
|
-
|
|
2484
|
-
if ([window, document, document.documentElement, null, undefined].includes(container)) {
|
|
2485
|
-
containerRect = {
|
|
2486
|
-
top: 0,
|
|
2487
|
-
right: window.innerWidth,
|
|
2488
|
-
bottom: window.innerHeight,
|
|
2489
|
-
left: 0
|
|
2490
|
-
};
|
|
2491
|
-
} else {
|
|
2492
|
-
containerRect = container.getBoundingClientRect();
|
|
2493
|
-
}
|
|
2494
|
-
|
|
2495
|
-
return elRect.top < containerRect.bottom && elRect.bottom > containerRect.top && elRect.right > containerRect.left && elRect.left < containerRect.right;
|
|
2496
|
-
};
|
|
2497
|
-
|
|
2498
|
-
/***/ }),
|
|
2499
|
-
|
|
2500
|
-
/***/ 30:
|
|
2501
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2502
|
-
|
|
2503
|
-
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
2504
|
-
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
2505
|
-
* @version {{version}}
|
|
2506
|
-
* @license
|
|
2507
|
-
* Copyright (c) 2016 Federico Zivolo and contributors
|
|
2508
|
-
*
|
|
2509
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2510
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
2511
|
-
* in the Software without restriction, including without limitation the rights
|
|
2512
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2513
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
2514
|
-
* furnished to do so, subject to the following conditions:
|
|
2515
|
-
*
|
|
2516
|
-
* The above copyright notice and this permission notice shall be included in all
|
|
2517
|
-
* copies or substantial portions of the Software.
|
|
2518
|
-
*
|
|
2519
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2520
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2521
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2522
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2523
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2524
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2525
|
-
* SOFTWARE.
|
|
2526
|
-
*/
|
|
2527
|
-
|
|
2528
|
-
//
|
|
2529
|
-
// Cross module loader
|
|
2530
|
-
// Supported: Node, AMD, Browser globals
|
|
2531
|
-
//
|
|
2532
|
-
;(function (root, factory) {
|
|
2533
|
-
if (true) {
|
|
2534
|
-
// AMD. Register as an anonymous module.
|
|
2535
|
-
!(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
2536
|
-
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
2537
|
-
(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
|
|
2538
|
-
__WEBPACK_AMD_DEFINE_FACTORY__),
|
|
2539
|
-
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
2540
|
-
} else if (typeof module === 'object' && module.exports) {
|
|
2541
|
-
// Node. Does not work with strict CommonJS, but
|
|
2542
|
-
// only CommonJS-like environments that support module.exports,
|
|
2543
|
-
// like Node.
|
|
2544
|
-
module.exports = factory();
|
|
2545
|
-
} else {
|
|
2546
|
-
// Browser globals (root is window)
|
|
2547
|
-
root.Popper = factory();
|
|
2548
|
-
}
|
|
2549
|
-
}(this, function () {
|
|
2550
|
-
|
|
2551
|
-
'use strict';
|
|
2552
|
-
|
|
2553
|
-
var root = window;
|
|
2554
|
-
|
|
2555
|
-
// default options
|
|
2556
|
-
var DEFAULTS = {
|
|
2557
|
-
// placement of the popper
|
|
2558
|
-
placement: 'bottom',
|
|
2559
|
-
|
|
2560
|
-
gpuAcceleration: true,
|
|
2561
|
-
|
|
2562
|
-
// shift popper from its origin by the given amount of pixels (can be negative)
|
|
2563
|
-
offset: 0,
|
|
2238
|
+
// shift popper from its origin by the given amount of pixels (can be negative)
|
|
2239
|
+
offset: 0,
|
|
2564
2240
|
|
|
2565
2241
|
// the element which will act as boundary of the popper
|
|
2566
2242
|
boundariesElement: 'viewport',
|
|
@@ -3719,79 +3395,316 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
3719
3395
|
return rect;
|
|
3720
3396
|
}
|
|
3721
3397
|
|
|
3722
|
-
/**
|
|
3723
|
-
* Get the prefixed supported property name
|
|
3724
|
-
* @function
|
|
3725
|
-
* @ignore
|
|
3726
|
-
* @argument {String} property (camelCase)
|
|
3727
|
-
* @returns {String} prefixed property (camelCase)
|
|
3728
|
-
*/
|
|
3729
|
-
function getSupportedPropertyName(property) {
|
|
3730
|
-
var prefixes = ['', 'ms', 'webkit', 'moz', 'o'];
|
|
3398
|
+
/**
|
|
3399
|
+
* Get the prefixed supported property name
|
|
3400
|
+
* @function
|
|
3401
|
+
* @ignore
|
|
3402
|
+
* @argument {String} property (camelCase)
|
|
3403
|
+
* @returns {String} prefixed property (camelCase)
|
|
3404
|
+
*/
|
|
3405
|
+
function getSupportedPropertyName(property) {
|
|
3406
|
+
var prefixes = ['', 'ms', 'webkit', 'moz', 'o'];
|
|
3407
|
+
|
|
3408
|
+
for (var i = 0; i < prefixes.length; i++) {
|
|
3409
|
+
var toCheck = prefixes[i] ? prefixes[i] + property.charAt(0).toUpperCase() + property.slice(1) : property;
|
|
3410
|
+
if (typeof root.document.body.style[toCheck] !== 'undefined') {
|
|
3411
|
+
return toCheck;
|
|
3412
|
+
}
|
|
3413
|
+
}
|
|
3414
|
+
return null;
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
/**
|
|
3418
|
+
* The Object.assign() method is used to copy the values of all enumerable own properties from one or more source
|
|
3419
|
+
* objects to a target object. It will return the target object.
|
|
3420
|
+
* This polyfill doesn't support symbol properties, since ES5 doesn't have symbols anyway
|
|
3421
|
+
* Source: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
|
|
3422
|
+
* @function
|
|
3423
|
+
* @ignore
|
|
3424
|
+
*/
|
|
3425
|
+
if (!Object.assign) {
|
|
3426
|
+
Object.defineProperty(Object, 'assign', {
|
|
3427
|
+
enumerable: false,
|
|
3428
|
+
configurable: true,
|
|
3429
|
+
writable: true,
|
|
3430
|
+
value: function(target) {
|
|
3431
|
+
if (target === undefined || target === null) {
|
|
3432
|
+
throw new TypeError('Cannot convert first argument to object');
|
|
3433
|
+
}
|
|
3434
|
+
|
|
3435
|
+
var to = Object(target);
|
|
3436
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
3437
|
+
var nextSource = arguments[i];
|
|
3438
|
+
if (nextSource === undefined || nextSource === null) {
|
|
3439
|
+
continue;
|
|
3440
|
+
}
|
|
3441
|
+
nextSource = Object(nextSource);
|
|
3442
|
+
|
|
3443
|
+
var keysArray = Object.keys(nextSource);
|
|
3444
|
+
for (var nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex++) {
|
|
3445
|
+
var nextKey = keysArray[nextIndex];
|
|
3446
|
+
var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);
|
|
3447
|
+
if (desc !== undefined && desc.enumerable) {
|
|
3448
|
+
to[nextKey] = nextSource[nextKey];
|
|
3449
|
+
}
|
|
3450
|
+
}
|
|
3451
|
+
}
|
|
3452
|
+
return to;
|
|
3453
|
+
}
|
|
3454
|
+
});
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3457
|
+
return Popper;
|
|
3458
|
+
}));
|
|
3459
|
+
|
|
3460
|
+
|
|
3461
|
+
/***/ }),
|
|
3462
|
+
|
|
3463
|
+
/***/ 3:
|
|
3464
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3465
|
+
|
|
3466
|
+
"use strict";
|
|
3467
|
+
|
|
3468
|
+
|
|
3469
|
+
exports.__esModule = true;
|
|
3470
|
+
exports.isInContainer = exports.getScrollContainer = exports.isScroll = exports.getStyle = exports.once = exports.off = exports.on = undefined;
|
|
3471
|
+
|
|
3472
|
+
var _typeof2 = __webpack_require__(2);
|
|
3473
|
+
|
|
3474
|
+
var _typeof3 = _interopRequireDefault(_typeof2);
|
|
3475
|
+
|
|
3476
|
+
exports.hasClass = hasClass;
|
|
3477
|
+
exports.addClass = addClass;
|
|
3478
|
+
exports.removeClass = removeClass;
|
|
3479
|
+
exports.setStyle = setStyle;
|
|
3480
|
+
|
|
3481
|
+
var _vue = __webpack_require__(1);
|
|
3482
|
+
|
|
3483
|
+
var _vue2 = _interopRequireDefault(_vue);
|
|
3484
|
+
|
|
3485
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
3486
|
+
|
|
3487
|
+
var isServer = _vue2.default.prototype.$isServer; /* istanbul ignore next */
|
|
3488
|
+
|
|
3489
|
+
var SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g;
|
|
3490
|
+
var MOZ_HACK_REGEXP = /^moz([A-Z])/;
|
|
3491
|
+
var ieVersion = isServer ? 0 : Number(document.documentMode);
|
|
3492
|
+
|
|
3493
|
+
/* istanbul ignore next */
|
|
3494
|
+
var trim = function trim(string) {
|
|
3495
|
+
return (string || '').replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, '');
|
|
3496
|
+
};
|
|
3497
|
+
/* istanbul ignore next */
|
|
3498
|
+
var camelCase = function camelCase(name) {
|
|
3499
|
+
return name.replace(SPECIAL_CHARS_REGEXP, function (_, separator, letter, offset) {
|
|
3500
|
+
return offset ? letter.toUpperCase() : letter;
|
|
3501
|
+
}).replace(MOZ_HACK_REGEXP, 'Moz$1');
|
|
3502
|
+
};
|
|
3503
|
+
|
|
3504
|
+
/* istanbul ignore next */
|
|
3505
|
+
var on = exports.on = function () {
|
|
3506
|
+
if (!isServer && document.addEventListener) {
|
|
3507
|
+
return function (element, event, handler) {
|
|
3508
|
+
if (element && event && handler) {
|
|
3509
|
+
element.addEventListener(event, handler, false);
|
|
3510
|
+
}
|
|
3511
|
+
};
|
|
3512
|
+
} else {
|
|
3513
|
+
return function (element, event, handler) {
|
|
3514
|
+
if (element && event && handler) {
|
|
3515
|
+
element.attachEvent('on' + event, handler);
|
|
3516
|
+
}
|
|
3517
|
+
};
|
|
3518
|
+
}
|
|
3519
|
+
}();
|
|
3520
|
+
|
|
3521
|
+
/* istanbul ignore next */
|
|
3522
|
+
var off = exports.off = function () {
|
|
3523
|
+
if (!isServer && document.removeEventListener) {
|
|
3524
|
+
return function (element, event, handler) {
|
|
3525
|
+
if (element && event) {
|
|
3526
|
+
element.removeEventListener(event, handler, false);
|
|
3527
|
+
}
|
|
3528
|
+
};
|
|
3529
|
+
} else {
|
|
3530
|
+
return function (element, event, handler) {
|
|
3531
|
+
if (element && event) {
|
|
3532
|
+
element.detachEvent('on' + event, handler);
|
|
3533
|
+
}
|
|
3534
|
+
};
|
|
3535
|
+
}
|
|
3536
|
+
}();
|
|
3537
|
+
|
|
3538
|
+
/* istanbul ignore next */
|
|
3539
|
+
var once = exports.once = function once(el, event, fn) {
|
|
3540
|
+
var listener = function listener() {
|
|
3541
|
+
if (fn) {
|
|
3542
|
+
fn.apply(this, arguments);
|
|
3543
|
+
}
|
|
3544
|
+
off(el, event, listener);
|
|
3545
|
+
};
|
|
3546
|
+
on(el, event, listener);
|
|
3547
|
+
};
|
|
3548
|
+
|
|
3549
|
+
/* istanbul ignore next */
|
|
3550
|
+
function hasClass(el, cls) {
|
|
3551
|
+
if (!el || !cls) return false;
|
|
3552
|
+
if (cls.indexOf(' ') !== -1) throw new Error('className should not contain space.');
|
|
3553
|
+
if (el.classList) {
|
|
3554
|
+
return el.classList.contains(cls);
|
|
3555
|
+
} else {
|
|
3556
|
+
return (' ' + el.className + ' ').indexOf(' ' + cls + ' ') > -1;
|
|
3557
|
+
}
|
|
3558
|
+
};
|
|
3559
|
+
|
|
3560
|
+
/* istanbul ignore next */
|
|
3561
|
+
function addClass(el, cls) {
|
|
3562
|
+
if (!el) return;
|
|
3563
|
+
var curClass = el.className;
|
|
3564
|
+
var classes = (cls || '').split(' ');
|
|
3565
|
+
|
|
3566
|
+
for (var i = 0, j = classes.length; i < j; i++) {
|
|
3567
|
+
var clsName = classes[i];
|
|
3568
|
+
if (!clsName) continue;
|
|
3569
|
+
|
|
3570
|
+
if (el.classList) {
|
|
3571
|
+
el.classList.add(clsName);
|
|
3572
|
+
} else if (!hasClass(el, clsName)) {
|
|
3573
|
+
curClass += ' ' + clsName;
|
|
3574
|
+
}
|
|
3575
|
+
}
|
|
3576
|
+
if (!el.classList) {
|
|
3577
|
+
el.className = curClass;
|
|
3578
|
+
}
|
|
3579
|
+
};
|
|
3580
|
+
|
|
3581
|
+
/* istanbul ignore next */
|
|
3582
|
+
function removeClass(el, cls) {
|
|
3583
|
+
if (!el || !cls) return;
|
|
3584
|
+
var classes = cls.split(' ');
|
|
3585
|
+
var curClass = ' ' + el.className + ' ';
|
|
3586
|
+
|
|
3587
|
+
for (var i = 0, j = classes.length; i < j; i++) {
|
|
3588
|
+
var clsName = classes[i];
|
|
3589
|
+
if (!clsName) continue;
|
|
3590
|
+
|
|
3591
|
+
if (el.classList) {
|
|
3592
|
+
el.classList.remove(clsName);
|
|
3593
|
+
} else if (hasClass(el, clsName)) {
|
|
3594
|
+
curClass = curClass.replace(' ' + clsName + ' ', ' ');
|
|
3595
|
+
}
|
|
3596
|
+
}
|
|
3597
|
+
if (!el.classList) {
|
|
3598
|
+
el.className = trim(curClass);
|
|
3599
|
+
}
|
|
3600
|
+
};
|
|
3601
|
+
|
|
3602
|
+
/* istanbul ignore next */
|
|
3603
|
+
var getStyle = exports.getStyle = ieVersion < 9 ? function (element, styleName) {
|
|
3604
|
+
if (isServer) return;
|
|
3605
|
+
if (!element || !styleName) return null;
|
|
3606
|
+
styleName = camelCase(styleName);
|
|
3607
|
+
if (styleName === 'float') {
|
|
3608
|
+
styleName = 'styleFloat';
|
|
3609
|
+
}
|
|
3610
|
+
try {
|
|
3611
|
+
switch (styleName) {
|
|
3612
|
+
case 'opacity':
|
|
3613
|
+
try {
|
|
3614
|
+
return element.filters.item('alpha').opacity / 100;
|
|
3615
|
+
} catch (e) {
|
|
3616
|
+
return 1.0;
|
|
3617
|
+
}
|
|
3618
|
+
default:
|
|
3619
|
+
return element.style[styleName] || element.currentStyle ? element.currentStyle[styleName] : null;
|
|
3620
|
+
}
|
|
3621
|
+
} catch (e) {
|
|
3622
|
+
return element.style[styleName];
|
|
3623
|
+
}
|
|
3624
|
+
} : function (element, styleName) {
|
|
3625
|
+
if (isServer) return;
|
|
3626
|
+
if (!element || !styleName) return null;
|
|
3627
|
+
styleName = camelCase(styleName);
|
|
3628
|
+
if (styleName === 'float') {
|
|
3629
|
+
styleName = 'cssFloat';
|
|
3630
|
+
}
|
|
3631
|
+
try {
|
|
3632
|
+
var computed = document.defaultView.getComputedStyle(element, '');
|
|
3633
|
+
return element.style[styleName] || computed ? computed[styleName] : null;
|
|
3634
|
+
} catch (e) {
|
|
3635
|
+
return element.style[styleName];
|
|
3636
|
+
}
|
|
3637
|
+
};
|
|
3638
|
+
|
|
3639
|
+
/* istanbul ignore next */
|
|
3640
|
+
function setStyle(element, styleName, value) {
|
|
3641
|
+
if (!element || !styleName) return;
|
|
3642
|
+
|
|
3643
|
+
if ((typeof styleName === 'undefined' ? 'undefined' : (0, _typeof3.default)(styleName)) === 'object') {
|
|
3644
|
+
for (var prop in styleName) {
|
|
3645
|
+
if (styleName.hasOwnProperty(prop)) {
|
|
3646
|
+
setStyle(element, prop, styleName[prop]);
|
|
3647
|
+
}
|
|
3648
|
+
}
|
|
3649
|
+
} else {
|
|
3650
|
+
styleName = camelCase(styleName);
|
|
3651
|
+
if (styleName === 'opacity' && ieVersion < 9) {
|
|
3652
|
+
element.style.filter = isNaN(value) ? '' : 'alpha(opacity=' + value * 100 + ')';
|
|
3653
|
+
} else {
|
|
3654
|
+
element.style[styleName] = value;
|
|
3655
|
+
}
|
|
3656
|
+
}
|
|
3657
|
+
};
|
|
3658
|
+
|
|
3659
|
+
var isScroll = exports.isScroll = function isScroll(el, vertical) {
|
|
3660
|
+
if (isServer) return;
|
|
3731
3661
|
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
if (typeof root.document.body.style[toCheck] !== 'undefined') {
|
|
3735
|
-
return toCheck;
|
|
3736
|
-
}
|
|
3737
|
-
}
|
|
3738
|
-
return null;
|
|
3739
|
-
}
|
|
3662
|
+
var determinedDirection = vertical !== null || vertical !== undefined;
|
|
3663
|
+
var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
|
|
3740
3664
|
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
* objects to a target object. It will return the target object.
|
|
3744
|
-
* This polyfill doesn't support symbol properties, since ES5 doesn't have symbols anyway
|
|
3745
|
-
* Source: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
|
|
3746
|
-
* @function
|
|
3747
|
-
* @ignore
|
|
3748
|
-
*/
|
|
3749
|
-
if (!Object.assign) {
|
|
3750
|
-
Object.defineProperty(Object, 'assign', {
|
|
3751
|
-
enumerable: false,
|
|
3752
|
-
configurable: true,
|
|
3753
|
-
writable: true,
|
|
3754
|
-
value: function(target) {
|
|
3755
|
-
if (target === undefined || target === null) {
|
|
3756
|
-
throw new TypeError('Cannot convert first argument to object');
|
|
3757
|
-
}
|
|
3665
|
+
return overflow.match(/(scroll|auto)/);
|
|
3666
|
+
};
|
|
3758
3667
|
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
var nextSource = arguments[i];
|
|
3762
|
-
if (nextSource === undefined || nextSource === null) {
|
|
3763
|
-
continue;
|
|
3764
|
-
}
|
|
3765
|
-
nextSource = Object(nextSource);
|
|
3668
|
+
var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
|
|
3669
|
+
if (isServer) return;
|
|
3766
3670
|
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
}
|
|
3775
|
-
}
|
|
3776
|
-
return to;
|
|
3777
|
-
}
|
|
3778
|
-
});
|
|
3671
|
+
var parent = el;
|
|
3672
|
+
while (parent) {
|
|
3673
|
+
if ([window, document, document.documentElement].includes(parent)) {
|
|
3674
|
+
return document.documentElement;
|
|
3675
|
+
}
|
|
3676
|
+
if (isScroll(parent, vertical)) {
|
|
3677
|
+
return parent;
|
|
3779
3678
|
}
|
|
3679
|
+
parent = parent.parentNode;
|
|
3680
|
+
}
|
|
3780
3681
|
|
|
3781
|
-
|
|
3782
|
-
}
|
|
3682
|
+
return parent;
|
|
3683
|
+
};
|
|
3783
3684
|
|
|
3685
|
+
var isInContainer = exports.isInContainer = function isInContainer(el, container) {
|
|
3686
|
+
if (isServer || !el || !container) return false;
|
|
3784
3687
|
|
|
3785
|
-
|
|
3688
|
+
var elRect = el.getBoundingClientRect();
|
|
3689
|
+
var containerRect = void 0;
|
|
3786
3690
|
|
|
3787
|
-
|
|
3788
|
-
|
|
3691
|
+
if ([window, document, document.documentElement, null, undefined].includes(container)) {
|
|
3692
|
+
containerRect = {
|
|
3693
|
+
top: 0,
|
|
3694
|
+
right: window.innerWidth,
|
|
3695
|
+
bottom: window.innerHeight,
|
|
3696
|
+
left: 0
|
|
3697
|
+
};
|
|
3698
|
+
} else {
|
|
3699
|
+
containerRect = container.getBoundingClientRect();
|
|
3700
|
+
}
|
|
3789
3701
|
|
|
3790
|
-
|
|
3702
|
+
return elRect.top < containerRect.bottom && elRect.bottom > containerRect.top && elRect.right > containerRect.left && elRect.left < containerRect.right;
|
|
3703
|
+
};
|
|
3791
3704
|
|
|
3792
3705
|
/***/ }),
|
|
3793
3706
|
|
|
3794
|
-
/***/
|
|
3707
|
+
/***/ 30:
|
|
3795
3708
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3796
3709
|
|
|
3797
3710
|
"use strict";
|
|
@@ -3877,308 +3790,13 @@ exports.default = {
|
|
|
3877
3790
|
|
|
3878
3791
|
/***/ }),
|
|
3879
3792
|
|
|
3880
|
-
/***/
|
|
3881
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3882
|
-
|
|
3883
|
-
"use strict";
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
exports.__esModule = true;
|
|
3887
|
-
|
|
3888
|
-
var _main = __webpack_require__(38);
|
|
3889
|
-
|
|
3890
|
-
var _main2 = _interopRequireDefault(_main);
|
|
3891
|
-
|
|
3892
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
3893
|
-
|
|
3894
|
-
/* istanbul ignore next */
|
|
3895
|
-
_main2.default.install = function (Vue) {
|
|
3896
|
-
Vue.component(_main2.default.name, _main2.default);
|
|
3897
|
-
};
|
|
3898
|
-
|
|
3899
|
-
exports.default = _main2.default;
|
|
3900
|
-
|
|
3901
|
-
/***/ }),
|
|
3902
|
-
|
|
3903
|
-
/***/ 36:
|
|
3793
|
+
/***/ 33:
|
|
3904
3794
|
/***/ (function(module, exports) {
|
|
3905
3795
|
|
|
3906
3796
|
module.exports = require("throttle-debounce/debounce");
|
|
3907
3797
|
|
|
3908
3798
|
/***/ }),
|
|
3909
3799
|
|
|
3910
|
-
/***/ 38:
|
|
3911
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
3912
|
-
|
|
3913
|
-
"use strict";
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
exports.__esModule = true;
|
|
3917
|
-
|
|
3918
|
-
var _resizeEvent = __webpack_require__(22);
|
|
3919
|
-
|
|
3920
|
-
var _scrollbarWidth = __webpack_require__(11);
|
|
3921
|
-
|
|
3922
|
-
var _scrollbarWidth2 = _interopRequireDefault(_scrollbarWidth);
|
|
3923
|
-
|
|
3924
|
-
var _util = __webpack_require__(4);
|
|
3925
|
-
|
|
3926
|
-
var _bar = __webpack_require__(39);
|
|
3927
|
-
|
|
3928
|
-
var _bar2 = _interopRequireDefault(_bar);
|
|
3929
|
-
|
|
3930
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
3931
|
-
|
|
3932
|
-
/* istanbul ignore next */
|
|
3933
|
-
// reference https://github.com/noeldelgado/gemini-scrollbar/blob/master/index.js
|
|
3934
|
-
|
|
3935
|
-
exports.default = {
|
|
3936
|
-
name: 'ElScrollbar',
|
|
3937
|
-
|
|
3938
|
-
components: { Bar: _bar2.default },
|
|
3939
|
-
|
|
3940
|
-
props: {
|
|
3941
|
-
native: Boolean,
|
|
3942
|
-
wrapStyle: {},
|
|
3943
|
-
wrapClass: '',
|
|
3944
|
-
viewClass: {},
|
|
3945
|
-
viewStyle: {},
|
|
3946
|
-
noresize: Boolean, // 如果 container 尺寸不会发生变化,最好设置它可以优化性能
|
|
3947
|
-
tag: {
|
|
3948
|
-
type: String,
|
|
3949
|
-
default: 'div'
|
|
3950
|
-
},
|
|
3951
|
-
fillContainer: {
|
|
3952
|
-
type: Boolean,
|
|
3953
|
-
default: false
|
|
3954
|
-
}
|
|
3955
|
-
},
|
|
3956
|
-
|
|
3957
|
-
data: function data() {
|
|
3958
|
-
return {
|
|
3959
|
-
sizeWidth: '0',
|
|
3960
|
-
sizeHeight: '0',
|
|
3961
|
-
moveX: 0,
|
|
3962
|
-
moveY: 0
|
|
3963
|
-
};
|
|
3964
|
-
},
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
computed: {
|
|
3968
|
-
wrap: function wrap() {
|
|
3969
|
-
return this.$refs.wrap;
|
|
3970
|
-
}
|
|
3971
|
-
},
|
|
3972
|
-
|
|
3973
|
-
render: function render(h) {
|
|
3974
|
-
var gutter = (0, _scrollbarWidth2.default)();
|
|
3975
|
-
var style = this.wrapStyle;
|
|
3976
|
-
|
|
3977
|
-
if (gutter) {
|
|
3978
|
-
var gutterWith = '-' + gutter + 'px';
|
|
3979
|
-
var gutterStyle = 'margin-bottom: ' + gutterWith + '; margin-right: ' + gutterWith + '; padding-right: .8rem;';
|
|
3980
|
-
|
|
3981
|
-
if (Array.isArray(this.wrapStyle)) {
|
|
3982
|
-
style = (0, _util.toObject)(this.wrapStyle);
|
|
3983
|
-
style.marginRight = style.marginBottom = gutterWith;
|
|
3984
|
-
style.paddingRight = '.8rem';
|
|
3985
|
-
style.maxWidth = '100%';
|
|
3986
|
-
} else if (typeof this.wrapStyle === 'string') {
|
|
3987
|
-
style += gutterStyle;
|
|
3988
|
-
style += 'max-width: 100%';
|
|
3989
|
-
} else {
|
|
3990
|
-
style = gutterStyle;
|
|
3991
|
-
style += 'max-width: 100%';
|
|
3992
|
-
}
|
|
3993
|
-
}
|
|
3994
|
-
var view = h(this.tag, {
|
|
3995
|
-
class: ['el-scrollbar__view', this.viewClass],
|
|
3996
|
-
style: this.viewStyle,
|
|
3997
|
-
ref: 'resize'
|
|
3998
|
-
}, this.$slots.default);
|
|
3999
|
-
var wrapperClasses = this.wrapClass && this.wrapClass.split(' ');
|
|
4000
|
-
var wrap = h(
|
|
4001
|
-
'div',
|
|
4002
|
-
{
|
|
4003
|
-
ref: 'wrap',
|
|
4004
|
-
style: style,
|
|
4005
|
-
on: {
|
|
4006
|
-
'scroll': this.handleScroll
|
|
4007
|
-
},
|
|
4008
|
-
|
|
4009
|
-
'class': [].concat(wrapperClasses, ['el-scrollbar__wrap', gutter ? '' : 'el-scrollbar__wrap--hidden-default']) },
|
|
4010
|
-
[[view]]
|
|
4011
|
-
);
|
|
4012
|
-
var nodes = void 0;
|
|
4013
|
-
|
|
4014
|
-
if (!this.native) {
|
|
4015
|
-
nodes = [wrap, h(_bar2.default, {
|
|
4016
|
-
attrs: {
|
|
4017
|
-
move: this.moveX,
|
|
4018
|
-
size: this.sizeWidth }
|
|
4019
|
-
}), h(_bar2.default, {
|
|
4020
|
-
attrs: {
|
|
4021
|
-
vertical: true,
|
|
4022
|
-
move: this.moveY,
|
|
4023
|
-
size: this.sizeHeight }
|
|
4024
|
-
})];
|
|
4025
|
-
} else {
|
|
4026
|
-
nodes = [h(
|
|
4027
|
-
'div',
|
|
4028
|
-
{
|
|
4029
|
-
ref: 'wrap',
|
|
4030
|
-
'class': [].concat(wrapperClasses, ['el-scrollbar__wrap']),
|
|
4031
|
-
style: style },
|
|
4032
|
-
[[view]]
|
|
4033
|
-
)];
|
|
4034
|
-
}
|
|
4035
|
-
return h('div', {
|
|
4036
|
-
class: 'el-scrollbar',
|
|
4037
|
-
style: this.fillContainer ? 'width: 100%; height: 100%;' : ''
|
|
4038
|
-
}, nodes);
|
|
4039
|
-
},
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
methods: {
|
|
4043
|
-
handleScroll: function handleScroll() {
|
|
4044
|
-
var wrap = this.wrap;
|
|
4045
|
-
|
|
4046
|
-
this.moveY = wrap.scrollTop * 100 / wrap.clientHeight;
|
|
4047
|
-
this.moveX = wrap.scrollLeft * 100 / wrap.clientWidth;
|
|
4048
|
-
},
|
|
4049
|
-
update: function update() {
|
|
4050
|
-
var heightPercentage = void 0,
|
|
4051
|
-
widthPercentage = void 0;
|
|
4052
|
-
var wrap = this.wrap;
|
|
4053
|
-
if (!wrap) return;
|
|
4054
|
-
|
|
4055
|
-
heightPercentage = wrap.clientHeight * 100 / wrap.scrollHeight;
|
|
4056
|
-
widthPercentage = wrap.clientWidth * 100 / wrap.scrollWidth;
|
|
4057
|
-
|
|
4058
|
-
this.sizeHeight = heightPercentage < 100 ? heightPercentage + '%' : '';
|
|
4059
|
-
this.sizeWidth = widthPercentage < 100 ? widthPercentage + '%' : '';
|
|
4060
|
-
}
|
|
4061
|
-
},
|
|
4062
|
-
|
|
4063
|
-
mounted: function mounted() {
|
|
4064
|
-
if (this.native) return;
|
|
4065
|
-
this.$nextTick(this.update);
|
|
4066
|
-
!this.noresize && (0, _resizeEvent.addResizeListener)(this.$refs.resize, this.update);
|
|
4067
|
-
},
|
|
4068
|
-
beforeDestroy: function beforeDestroy() {
|
|
4069
|
-
if (this.native) return;
|
|
4070
|
-
!this.noresize && (0, _resizeEvent.removeResizeListener)(this.$refs.resize, this.update);
|
|
4071
|
-
}
|
|
4072
|
-
};
|
|
4073
|
-
|
|
4074
|
-
/***/ }),
|
|
4075
|
-
|
|
4076
|
-
/***/ 39:
|
|
4077
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4078
|
-
|
|
4079
|
-
"use strict";
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
exports.__esModule = true;
|
|
4083
|
-
|
|
4084
|
-
var _dom = __webpack_require__(3);
|
|
4085
|
-
|
|
4086
|
-
var _util = __webpack_require__(40);
|
|
4087
|
-
|
|
4088
|
-
/* istanbul ignore next */
|
|
4089
|
-
exports.default = {
|
|
4090
|
-
name: 'Bar',
|
|
4091
|
-
|
|
4092
|
-
props: {
|
|
4093
|
-
vertical: Boolean,
|
|
4094
|
-
size: String,
|
|
4095
|
-
move: Number
|
|
4096
|
-
},
|
|
4097
|
-
|
|
4098
|
-
computed: {
|
|
4099
|
-
bar: function bar() {
|
|
4100
|
-
return _util.BAR_MAP[this.vertical ? 'vertical' : 'horizontal'];
|
|
4101
|
-
},
|
|
4102
|
-
wrap: function wrap() {
|
|
4103
|
-
return this.$parent.wrap;
|
|
4104
|
-
}
|
|
4105
|
-
},
|
|
4106
|
-
|
|
4107
|
-
render: function render(h) {
|
|
4108
|
-
var size = this.size,
|
|
4109
|
-
move = this.move,
|
|
4110
|
-
bar = this.bar;
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
return h(
|
|
4114
|
-
'div',
|
|
4115
|
-
{
|
|
4116
|
-
'class': ['el-scrollbar__bar', 'is-' + bar.key],
|
|
4117
|
-
on: {
|
|
4118
|
-
'mousedown': this.clickTrackHandler
|
|
4119
|
-
}
|
|
4120
|
-
},
|
|
4121
|
-
[h('div', {
|
|
4122
|
-
ref: 'thumb',
|
|
4123
|
-
'class': 'el-scrollbar__thumb',
|
|
4124
|
-
on: {
|
|
4125
|
-
'mousedown': this.clickThumbHandler
|
|
4126
|
-
},
|
|
4127
|
-
|
|
4128
|
-
style: (0, _util.renderThumbStyle)({ size: size, move: move, bar: bar }) })]
|
|
4129
|
-
);
|
|
4130
|
-
},
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
methods: {
|
|
4134
|
-
clickThumbHandler: function clickThumbHandler(e) {
|
|
4135
|
-
this.startDrag(e);
|
|
4136
|
-
this[this.bar.axis] = e.currentTarget[this.bar.offset] - (e[this.bar.client] - e.currentTarget.getBoundingClientRect()[this.bar.direction]);
|
|
4137
|
-
},
|
|
4138
|
-
clickTrackHandler: function clickTrackHandler(e) {
|
|
4139
|
-
var offset = Math.abs(e.target.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]);
|
|
4140
|
-
var thumbHalf = this.$refs.thumb[this.bar.offset] / 2;
|
|
4141
|
-
var thumbPositionPercentage = (offset - thumbHalf) * 100 / this.$el[this.bar.offset];
|
|
4142
|
-
|
|
4143
|
-
this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100;
|
|
4144
|
-
},
|
|
4145
|
-
startDrag: function startDrag(e) {
|
|
4146
|
-
e.stopImmediatePropagation();
|
|
4147
|
-
this.cursorDown = true;
|
|
4148
|
-
|
|
4149
|
-
(0, _dom.on)(document, 'mousemove', this.mouseMoveDocumentHandler);
|
|
4150
|
-
(0, _dom.on)(document, 'mouseup', this.mouseUpDocumentHandler);
|
|
4151
|
-
document.onselectstart = function () {
|
|
4152
|
-
return false;
|
|
4153
|
-
};
|
|
4154
|
-
},
|
|
4155
|
-
mouseMoveDocumentHandler: function mouseMoveDocumentHandler(e) {
|
|
4156
|
-
if (this.cursorDown === false) return;
|
|
4157
|
-
var prevPage = this[this.bar.axis];
|
|
4158
|
-
|
|
4159
|
-
if (!prevPage) return;
|
|
4160
|
-
|
|
4161
|
-
var offset = (this.$el.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]) * -1;
|
|
4162
|
-
var thumbClickPosition = this.$refs.thumb[this.bar.offset] - prevPage;
|
|
4163
|
-
var thumbPositionPercentage = (offset - thumbClickPosition) * 100 / this.$el[this.bar.offset];
|
|
4164
|
-
|
|
4165
|
-
this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100;
|
|
4166
|
-
},
|
|
4167
|
-
mouseUpDocumentHandler: function mouseUpDocumentHandler(e) {
|
|
4168
|
-
this.cursorDown = false;
|
|
4169
|
-
this[this.bar.axis] = 0;
|
|
4170
|
-
(0, _dom.off)(document, 'mousemove', this.mouseMoveDocumentHandler);
|
|
4171
|
-
document.onselectstart = null;
|
|
4172
|
-
}
|
|
4173
|
-
},
|
|
4174
|
-
|
|
4175
|
-
destroyed: function destroyed() {
|
|
4176
|
-
(0, _dom.off)(document, 'mouseup', this.mouseUpDocumentHandler);
|
|
4177
|
-
}
|
|
4178
|
-
};
|
|
4179
|
-
|
|
4180
|
-
/***/ }),
|
|
4181
|
-
|
|
4182
3800
|
/***/ 4:
|
|
4183
3801
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4184
3802
|
|
|
@@ -4448,55 +4066,6 @@ var delay = exports.delay = function delay(ms) {
|
|
|
4448
4066
|
|
|
4449
4067
|
/***/ }),
|
|
4450
4068
|
|
|
4451
|
-
/***/ 40:
|
|
4452
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4453
|
-
|
|
4454
|
-
"use strict";
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
exports.__esModule = true;
|
|
4458
|
-
exports.renderThumbStyle = renderThumbStyle;
|
|
4459
|
-
var BAR_MAP = exports.BAR_MAP = {
|
|
4460
|
-
vertical: {
|
|
4461
|
-
offset: 'offsetHeight',
|
|
4462
|
-
scroll: 'scrollTop',
|
|
4463
|
-
scrollSize: 'scrollHeight',
|
|
4464
|
-
size: 'height',
|
|
4465
|
-
key: 'vertical',
|
|
4466
|
-
axis: 'Y',
|
|
4467
|
-
client: 'clientY',
|
|
4468
|
-
direction: 'top'
|
|
4469
|
-
},
|
|
4470
|
-
horizontal: {
|
|
4471
|
-
offset: 'offsetWidth',
|
|
4472
|
-
scroll: 'scrollLeft',
|
|
4473
|
-
scrollSize: 'scrollWidth',
|
|
4474
|
-
size: 'width',
|
|
4475
|
-
key: 'horizontal',
|
|
4476
|
-
axis: 'X',
|
|
4477
|
-
client: 'clientX',
|
|
4478
|
-
direction: 'left'
|
|
4479
|
-
}
|
|
4480
|
-
};
|
|
4481
|
-
|
|
4482
|
-
function renderThumbStyle(_ref) {
|
|
4483
|
-
var move = _ref.move,
|
|
4484
|
-
size = _ref.size,
|
|
4485
|
-
bar = _ref.bar;
|
|
4486
|
-
|
|
4487
|
-
var style = {};
|
|
4488
|
-
var translate = 'translate' + bar.axis + '(' + move + '%)';
|
|
4489
|
-
|
|
4490
|
-
style[bar.size] = size;
|
|
4491
|
-
style.transform = translate;
|
|
4492
|
-
style.msTransform = translate;
|
|
4493
|
-
style.webkitTransform = translate;
|
|
4494
|
-
|
|
4495
|
-
return style;
|
|
4496
|
-
};
|
|
4497
|
-
|
|
4498
|
-
/***/ }),
|
|
4499
|
-
|
|
4500
4069
|
/***/ 5:
|
|
4501
4070
|
/***/ (function(module, exports) {
|
|
4502
4071
|
|
|
@@ -4504,7 +4073,7 @@ module.exports = require("babel-runtime/core-js/object/keys");
|
|
|
4504
4073
|
|
|
4505
4074
|
/***/ }),
|
|
4506
4075
|
|
|
4507
|
-
/***/
|
|
4076
|
+
/***/ 50:
|
|
4508
4077
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4509
4078
|
|
|
4510
4079
|
"use strict";
|