bm-admin-ui 1.0.80-alpha → 1.0.81-alpha
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/es/components/float-table/index.js +57 -63
- package/es/components/search-filter/index.js +1 -1
- package/lib/components/float-table/index.js +57 -63
- package/lib/components/search-filter/index.js +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/select-all.css +1 -1
|
@@ -4,7 +4,7 @@ import { Empty } from 'ant-design-vue';
|
|
|
4
4
|
import { VXETable } from 'vxe-table';
|
|
5
5
|
|
|
6
6
|
/**!
|
|
7
|
-
* Sortable 1.
|
|
7
|
+
* Sortable 1.14.0
|
|
8
8
|
* @author RubaXa <trash@rubaxa.org>
|
|
9
9
|
* @author owenm <owen23355@gmail.com>
|
|
10
10
|
* @license MIT
|
|
@@ -132,7 +132,7 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
132
132
|
return target;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
var version = "1.
|
|
135
|
+
var version = "1.14.0";
|
|
136
136
|
|
|
137
137
|
function userAgent(pattern) {
|
|
138
138
|
if (typeof window !== 'undefined' && window.navigator) {
|
|
@@ -1053,11 +1053,11 @@ supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in
|
|
|
1053
1053
|
return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
|
|
1054
1054
|
},
|
|
1055
1055
|
|
|
1056
|
-
/**
|
|
1057
|
-
* Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
|
|
1058
|
-
* @param {Number} x X position
|
|
1059
|
-
* @param {Number} y Y position
|
|
1060
|
-
* @return {HTMLElement} Element of the first found nearest Sortable
|
|
1056
|
+
/**
|
|
1057
|
+
* Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
|
|
1058
|
+
* @param {Number} x X position
|
|
1059
|
+
* @param {Number} y Y position
|
|
1060
|
+
* @return {HTMLElement} Element of the first found nearest Sortable
|
|
1061
1061
|
*/
|
|
1062
1062
|
_detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
|
|
1063
1063
|
var ret;
|
|
@@ -1123,7 +1123,7 @@ _detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
|
|
|
1123
1123
|
}; // #1184 fix - Prevent click event on fallback if dragged but item not changed position
|
|
1124
1124
|
|
|
1125
1125
|
|
|
1126
|
-
if (documentExists
|
|
1126
|
+
if (documentExists) {
|
|
1127
1127
|
document.addEventListener('click', function (evt) {
|
|
1128
1128
|
if (ignoreNextClick) {
|
|
1129
1129
|
evt.preventDefault();
|
|
@@ -1165,10 +1165,10 @@ var _checkOutsideTargetEl = function _checkOutsideTargetEl(evt) {
|
|
|
1165
1165
|
dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
|
|
1166
1166
|
}
|
|
1167
1167
|
};
|
|
1168
|
-
/**
|
|
1169
|
-
* @class Sortable
|
|
1170
|
-
* @param {HTMLElement} el
|
|
1171
|
-
* @param {Object} [options]
|
|
1168
|
+
/**
|
|
1169
|
+
* @class Sortable
|
|
1170
|
+
* @param {HTMLElement} el
|
|
1171
|
+
* @param {Object} [options]
|
|
1172
1172
|
*/
|
|
1173
1173
|
|
|
1174
1174
|
|
|
@@ -1742,7 +1742,6 @@ Sortable.prototype =
|
|
|
1742
1742
|
|
|
1743
1743
|
if (!Sortable.eventCanceled) {
|
|
1744
1744
|
cloneEl = clone(dragEl);
|
|
1745
|
-
cloneEl.removeAttribute("id");
|
|
1746
1745
|
cloneEl.draggable = false;
|
|
1747
1746
|
cloneEl.style['will-change'] = '';
|
|
1748
1747
|
|
|
@@ -1984,14 +1983,7 @@ Sortable.prototype =
|
|
|
1984
1983
|
|
|
1985
1984
|
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
|
|
1986
1985
|
capture();
|
|
1987
|
-
|
|
1988
|
-
if (elLastChild && elLastChild.nextSibling) {
|
|
1989
|
-
// the last draggable element is not the last node
|
|
1990
|
-
el.insertBefore(dragEl, elLastChild.nextSibling);
|
|
1991
|
-
} else {
|
|
1992
|
-
el.appendChild(dragEl);
|
|
1993
|
-
}
|
|
1994
|
-
|
|
1986
|
+
el.appendChild(dragEl);
|
|
1995
1987
|
parentEl = el; // actualization
|
|
1996
1988
|
|
|
1997
1989
|
changed();
|
|
@@ -2314,9 +2306,9 @@ Sortable.prototype =
|
|
|
2314
2306
|
}
|
|
2315
2307
|
},
|
|
2316
2308
|
|
|
2317
|
-
/**
|
|
2318
|
-
* Serializes the item into an array of string.
|
|
2319
|
-
* @returns {String[]}
|
|
2309
|
+
/**
|
|
2310
|
+
* Serializes the item into an array of string.
|
|
2311
|
+
* @returns {String[]}
|
|
2320
2312
|
*/
|
|
2321
2313
|
toArray: function toArray() {
|
|
2322
2314
|
var order = [],
|
|
@@ -2337,9 +2329,9 @@ Sortable.prototype =
|
|
|
2337
2329
|
return order;
|
|
2338
2330
|
},
|
|
2339
2331
|
|
|
2340
|
-
/**
|
|
2341
|
-
* Sorts the elements according to the array.
|
|
2342
|
-
* @param {String[]} order order of the items
|
|
2332
|
+
/**
|
|
2333
|
+
* Sorts the elements according to the array.
|
|
2334
|
+
* @param {String[]} order order of the items
|
|
2343
2335
|
*/
|
|
2344
2336
|
sort: function sort(order, useAnimation) {
|
|
2345
2337
|
var items = {},
|
|
@@ -2361,29 +2353,29 @@ Sortable.prototype =
|
|
|
2361
2353
|
useAnimation && this.animateAll();
|
|
2362
2354
|
},
|
|
2363
2355
|
|
|
2364
|
-
/**
|
|
2365
|
-
* Save the current sorting
|
|
2356
|
+
/**
|
|
2357
|
+
* Save the current sorting
|
|
2366
2358
|
*/
|
|
2367
2359
|
save: function save() {
|
|
2368
2360
|
var store = this.options.store;
|
|
2369
2361
|
store && store.set && store.set(this);
|
|
2370
2362
|
},
|
|
2371
2363
|
|
|
2372
|
-
/**
|
|
2373
|
-
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
|
2374
|
-
* @param {HTMLElement} el
|
|
2375
|
-
* @param {String} [selector] default: `options.draggable`
|
|
2376
|
-
* @returns {HTMLElement|null}
|
|
2364
|
+
/**
|
|
2365
|
+
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
|
2366
|
+
* @param {HTMLElement} el
|
|
2367
|
+
* @param {String} [selector] default: `options.draggable`
|
|
2368
|
+
* @returns {HTMLElement|null}
|
|
2377
2369
|
*/
|
|
2378
2370
|
closest: function closest$1(el, selector) {
|
|
2379
2371
|
return closest(el, selector || this.options.draggable, this.el, false);
|
|
2380
2372
|
},
|
|
2381
2373
|
|
|
2382
|
-
/**
|
|
2383
|
-
* Set/get option
|
|
2384
|
-
* @param {string} name
|
|
2385
|
-
* @param {*} [value]
|
|
2386
|
-
* @returns {*}
|
|
2374
|
+
/**
|
|
2375
|
+
* Set/get option
|
|
2376
|
+
* @param {string} name
|
|
2377
|
+
* @param {*} [value]
|
|
2378
|
+
* @returns {*}
|
|
2387
2379
|
*/
|
|
2388
2380
|
option: function option(name, value) {
|
|
2389
2381
|
var options = this.options;
|
|
@@ -2405,8 +2397,8 @@ Sortable.prototype =
|
|
|
2405
2397
|
}
|
|
2406
2398
|
},
|
|
2407
2399
|
|
|
2408
|
-
/**
|
|
2409
|
-
* Destroy
|
|
2400
|
+
/**
|
|
2401
|
+
* Destroy
|
|
2410
2402
|
*/
|
|
2411
2403
|
destroy: function destroy() {
|
|
2412
2404
|
pluginEvent('destroy', this);
|
|
@@ -2583,11 +2575,11 @@ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, inv
|
|
|
2583
2575
|
|
|
2584
2576
|
return 0;
|
|
2585
2577
|
}
|
|
2586
|
-
/**
|
|
2587
|
-
* Gets the direction dragEl must be swapped relative to target in order to make it
|
|
2588
|
-
* seem that dragEl has been "inserted" into that element's position
|
|
2589
|
-
* @param {HTMLElement} target The target whose position dragEl is being inserted at
|
|
2590
|
-
* @return {Number} Direction dragEl must be swapped
|
|
2578
|
+
/**
|
|
2579
|
+
* Gets the direction dragEl must be swapped relative to target in order to make it
|
|
2580
|
+
* seem that dragEl has been "inserted" into that element's position
|
|
2581
|
+
* @param {HTMLElement} target The target whose position dragEl is being inserted at
|
|
2582
|
+
* @return {Number} Direction dragEl must be swapped
|
|
2591
2583
|
*/
|
|
2592
2584
|
|
|
2593
2585
|
|
|
@@ -2598,11 +2590,11 @@ function _getInsertDirection(target) {
|
|
|
2598
2590
|
return -1;
|
|
2599
2591
|
}
|
|
2600
2592
|
}
|
|
2601
|
-
/**
|
|
2602
|
-
* Generate id
|
|
2603
|
-
* @param {HTMLElement} el
|
|
2604
|
-
* @returns {String}
|
|
2605
|
-
* @private
|
|
2593
|
+
/**
|
|
2594
|
+
* Generate id
|
|
2595
|
+
* @param {HTMLElement} el
|
|
2596
|
+
* @returns {String}
|
|
2597
|
+
* @private
|
|
2606
2598
|
*/
|
|
2607
2599
|
|
|
2608
2600
|
|
|
@@ -2666,18 +2658,18 @@ Sortable.utils = {
|
|
|
2666
2658
|
detectDirection: _detectDirection,
|
|
2667
2659
|
getChild: getChild
|
|
2668
2660
|
};
|
|
2669
|
-
/**
|
|
2670
|
-
* Get the Sortable instance of an element
|
|
2671
|
-
* @param {HTMLElement} element The element
|
|
2672
|
-
* @return {Sortable|undefined} The instance of Sortable
|
|
2661
|
+
/**
|
|
2662
|
+
* Get the Sortable instance of an element
|
|
2663
|
+
* @param {HTMLElement} element The element
|
|
2664
|
+
* @return {Sortable|undefined} The instance of Sortable
|
|
2673
2665
|
*/
|
|
2674
2666
|
|
|
2675
2667
|
Sortable.get = function (element) {
|
|
2676
2668
|
return element[expando];
|
|
2677
2669
|
};
|
|
2678
|
-
/**
|
|
2679
|
-
* Mount a plugin to Sortable
|
|
2680
|
-
* @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
|
|
2670
|
+
/**
|
|
2671
|
+
* Mount a plugin to Sortable
|
|
2672
|
+
* @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
|
|
2681
2673
|
*/
|
|
2682
2674
|
|
|
2683
2675
|
|
|
@@ -2696,10 +2688,10 @@ Sortable.mount = function () {
|
|
|
2696
2688
|
PluginManager.mount(plugin);
|
|
2697
2689
|
});
|
|
2698
2690
|
};
|
|
2699
|
-
/**
|
|
2700
|
-
* Create sortable instance
|
|
2701
|
-
* @param {HTMLElement} el
|
|
2702
|
-
* @param {Object} [options]
|
|
2691
|
+
/**
|
|
2692
|
+
* Create sortable instance
|
|
2693
|
+
* @param {HTMLElement} el
|
|
2694
|
+
* @param {Object} [options]
|
|
2703
2695
|
*/
|
|
2704
2696
|
|
|
2705
2697
|
|
|
@@ -3135,6 +3127,7 @@ const _sfc_main = {
|
|
|
3135
3127
|
isShowFloatHandle: true,
|
|
3136
3128
|
gridOptions: {
|
|
3137
3129
|
resizable: false,
|
|
3130
|
+
rowDragAble: false,
|
|
3138
3131
|
border: "default",
|
|
3139
3132
|
highlightHoverRow: true,
|
|
3140
3133
|
showOverflow: false,
|
|
@@ -3421,7 +3414,8 @@ const _sfc_main = {
|
|
|
3421
3414
|
}
|
|
3422
3415
|
);
|
|
3423
3416
|
}
|
|
3424
|
-
|
|
3417
|
+
if (gridOptions.value.rowDragAble)
|
|
3418
|
+
useRowDrag(xGrid);
|
|
3425
3419
|
return {
|
|
3426
3420
|
floatTable,
|
|
3427
3421
|
xGrid,
|
|
@@ -237,7 +237,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
237
237
|
return openBlock(), createBlock(unref(ASelect), mergeProps({
|
|
238
238
|
value: unref(selectValue),
|
|
239
239
|
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => isRef(selectValue) ? selectValue.value = $event : selectValue = $event),
|
|
240
|
-
class: "bm-select"
|
|
240
|
+
class: "bm-select search"
|
|
241
241
|
}, _ctx.$attrs, {
|
|
242
242
|
mode: "multiple",
|
|
243
243
|
disabled: props.disabled,
|
|
@@ -8,7 +8,7 @@ var antDesignVue = require('ant-design-vue');
|
|
|
8
8
|
var vxeTable = require('vxe-table');
|
|
9
9
|
|
|
10
10
|
/**!
|
|
11
|
-
* Sortable 1.
|
|
11
|
+
* Sortable 1.14.0
|
|
12
12
|
* @author RubaXa <trash@rubaxa.org>
|
|
13
13
|
* @author owenm <owen23355@gmail.com>
|
|
14
14
|
* @license MIT
|
|
@@ -136,7 +136,7 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
136
136
|
return target;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
var version = "1.
|
|
139
|
+
var version = "1.14.0";
|
|
140
140
|
|
|
141
141
|
function userAgent(pattern) {
|
|
142
142
|
if (typeof window !== 'undefined' && window.navigator) {
|
|
@@ -1057,11 +1057,11 @@ supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in
|
|
|
1057
1057
|
return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
|
|
1058
1058
|
},
|
|
1059
1059
|
|
|
1060
|
-
/**
|
|
1061
|
-
* Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
|
|
1062
|
-
* @param {Number} x X position
|
|
1063
|
-
* @param {Number} y Y position
|
|
1064
|
-
* @return {HTMLElement} Element of the first found nearest Sortable
|
|
1060
|
+
/**
|
|
1061
|
+
* Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
|
|
1062
|
+
* @param {Number} x X position
|
|
1063
|
+
* @param {Number} y Y position
|
|
1064
|
+
* @return {HTMLElement} Element of the first found nearest Sortable
|
|
1065
1065
|
*/
|
|
1066
1066
|
_detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
|
|
1067
1067
|
var ret;
|
|
@@ -1127,7 +1127,7 @@ _detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
|
|
|
1127
1127
|
}; // #1184 fix - Prevent click event on fallback if dragged but item not changed position
|
|
1128
1128
|
|
|
1129
1129
|
|
|
1130
|
-
if (documentExists
|
|
1130
|
+
if (documentExists) {
|
|
1131
1131
|
document.addEventListener('click', function (evt) {
|
|
1132
1132
|
if (ignoreNextClick) {
|
|
1133
1133
|
evt.preventDefault();
|
|
@@ -1169,10 +1169,10 @@ var _checkOutsideTargetEl = function _checkOutsideTargetEl(evt) {
|
|
|
1169
1169
|
dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
|
|
1170
1170
|
}
|
|
1171
1171
|
};
|
|
1172
|
-
/**
|
|
1173
|
-
* @class Sortable
|
|
1174
|
-
* @param {HTMLElement} el
|
|
1175
|
-
* @param {Object} [options]
|
|
1172
|
+
/**
|
|
1173
|
+
* @class Sortable
|
|
1174
|
+
* @param {HTMLElement} el
|
|
1175
|
+
* @param {Object} [options]
|
|
1176
1176
|
*/
|
|
1177
1177
|
|
|
1178
1178
|
|
|
@@ -1746,7 +1746,6 @@ Sortable.prototype =
|
|
|
1746
1746
|
|
|
1747
1747
|
if (!Sortable.eventCanceled) {
|
|
1748
1748
|
cloneEl = clone(dragEl);
|
|
1749
|
-
cloneEl.removeAttribute("id");
|
|
1750
1749
|
cloneEl.draggable = false;
|
|
1751
1750
|
cloneEl.style['will-change'] = '';
|
|
1752
1751
|
|
|
@@ -1988,14 +1987,7 @@ Sortable.prototype =
|
|
|
1988
1987
|
|
|
1989
1988
|
if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
|
|
1990
1989
|
capture();
|
|
1991
|
-
|
|
1992
|
-
if (elLastChild && elLastChild.nextSibling) {
|
|
1993
|
-
// the last draggable element is not the last node
|
|
1994
|
-
el.insertBefore(dragEl, elLastChild.nextSibling);
|
|
1995
|
-
} else {
|
|
1996
|
-
el.appendChild(dragEl);
|
|
1997
|
-
}
|
|
1998
|
-
|
|
1990
|
+
el.appendChild(dragEl);
|
|
1999
1991
|
parentEl = el; // actualization
|
|
2000
1992
|
|
|
2001
1993
|
changed();
|
|
@@ -2318,9 +2310,9 @@ Sortable.prototype =
|
|
|
2318
2310
|
}
|
|
2319
2311
|
},
|
|
2320
2312
|
|
|
2321
|
-
/**
|
|
2322
|
-
* Serializes the item into an array of string.
|
|
2323
|
-
* @returns {String[]}
|
|
2313
|
+
/**
|
|
2314
|
+
* Serializes the item into an array of string.
|
|
2315
|
+
* @returns {String[]}
|
|
2324
2316
|
*/
|
|
2325
2317
|
toArray: function toArray() {
|
|
2326
2318
|
var order = [],
|
|
@@ -2341,9 +2333,9 @@ Sortable.prototype =
|
|
|
2341
2333
|
return order;
|
|
2342
2334
|
},
|
|
2343
2335
|
|
|
2344
|
-
/**
|
|
2345
|
-
* Sorts the elements according to the array.
|
|
2346
|
-
* @param {String[]} order order of the items
|
|
2336
|
+
/**
|
|
2337
|
+
* Sorts the elements according to the array.
|
|
2338
|
+
* @param {String[]} order order of the items
|
|
2347
2339
|
*/
|
|
2348
2340
|
sort: function sort(order, useAnimation) {
|
|
2349
2341
|
var items = {},
|
|
@@ -2365,29 +2357,29 @@ Sortable.prototype =
|
|
|
2365
2357
|
useAnimation && this.animateAll();
|
|
2366
2358
|
},
|
|
2367
2359
|
|
|
2368
|
-
/**
|
|
2369
|
-
* Save the current sorting
|
|
2360
|
+
/**
|
|
2361
|
+
* Save the current sorting
|
|
2370
2362
|
*/
|
|
2371
2363
|
save: function save() {
|
|
2372
2364
|
var store = this.options.store;
|
|
2373
2365
|
store && store.set && store.set(this);
|
|
2374
2366
|
},
|
|
2375
2367
|
|
|
2376
|
-
/**
|
|
2377
|
-
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
|
2378
|
-
* @param {HTMLElement} el
|
|
2379
|
-
* @param {String} [selector] default: `options.draggable`
|
|
2380
|
-
* @returns {HTMLElement|null}
|
|
2368
|
+
/**
|
|
2369
|
+
* For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
|
2370
|
+
* @param {HTMLElement} el
|
|
2371
|
+
* @param {String} [selector] default: `options.draggable`
|
|
2372
|
+
* @returns {HTMLElement|null}
|
|
2381
2373
|
*/
|
|
2382
2374
|
closest: function closest$1(el, selector) {
|
|
2383
2375
|
return closest(el, selector || this.options.draggable, this.el, false);
|
|
2384
2376
|
},
|
|
2385
2377
|
|
|
2386
|
-
/**
|
|
2387
|
-
* Set/get option
|
|
2388
|
-
* @param {string} name
|
|
2389
|
-
* @param {*} [value]
|
|
2390
|
-
* @returns {*}
|
|
2378
|
+
/**
|
|
2379
|
+
* Set/get option
|
|
2380
|
+
* @param {string} name
|
|
2381
|
+
* @param {*} [value]
|
|
2382
|
+
* @returns {*}
|
|
2391
2383
|
*/
|
|
2392
2384
|
option: function option(name, value) {
|
|
2393
2385
|
var options = this.options;
|
|
@@ -2409,8 +2401,8 @@ Sortable.prototype =
|
|
|
2409
2401
|
}
|
|
2410
2402
|
},
|
|
2411
2403
|
|
|
2412
|
-
/**
|
|
2413
|
-
* Destroy
|
|
2404
|
+
/**
|
|
2405
|
+
* Destroy
|
|
2414
2406
|
*/
|
|
2415
2407
|
destroy: function destroy() {
|
|
2416
2408
|
pluginEvent('destroy', this);
|
|
@@ -2587,11 +2579,11 @@ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, inv
|
|
|
2587
2579
|
|
|
2588
2580
|
return 0;
|
|
2589
2581
|
}
|
|
2590
|
-
/**
|
|
2591
|
-
* Gets the direction dragEl must be swapped relative to target in order to make it
|
|
2592
|
-
* seem that dragEl has been "inserted" into that element's position
|
|
2593
|
-
* @param {HTMLElement} target The target whose position dragEl is being inserted at
|
|
2594
|
-
* @return {Number} Direction dragEl must be swapped
|
|
2582
|
+
/**
|
|
2583
|
+
* Gets the direction dragEl must be swapped relative to target in order to make it
|
|
2584
|
+
* seem that dragEl has been "inserted" into that element's position
|
|
2585
|
+
* @param {HTMLElement} target The target whose position dragEl is being inserted at
|
|
2586
|
+
* @return {Number} Direction dragEl must be swapped
|
|
2595
2587
|
*/
|
|
2596
2588
|
|
|
2597
2589
|
|
|
@@ -2602,11 +2594,11 @@ function _getInsertDirection(target) {
|
|
|
2602
2594
|
return -1;
|
|
2603
2595
|
}
|
|
2604
2596
|
}
|
|
2605
|
-
/**
|
|
2606
|
-
* Generate id
|
|
2607
|
-
* @param {HTMLElement} el
|
|
2608
|
-
* @returns {String}
|
|
2609
|
-
* @private
|
|
2597
|
+
/**
|
|
2598
|
+
* Generate id
|
|
2599
|
+
* @param {HTMLElement} el
|
|
2600
|
+
* @returns {String}
|
|
2601
|
+
* @private
|
|
2610
2602
|
*/
|
|
2611
2603
|
|
|
2612
2604
|
|
|
@@ -2670,18 +2662,18 @@ Sortable.utils = {
|
|
|
2670
2662
|
detectDirection: _detectDirection,
|
|
2671
2663
|
getChild: getChild
|
|
2672
2664
|
};
|
|
2673
|
-
/**
|
|
2674
|
-
* Get the Sortable instance of an element
|
|
2675
|
-
* @param {HTMLElement} element The element
|
|
2676
|
-
* @return {Sortable|undefined} The instance of Sortable
|
|
2665
|
+
/**
|
|
2666
|
+
* Get the Sortable instance of an element
|
|
2667
|
+
* @param {HTMLElement} element The element
|
|
2668
|
+
* @return {Sortable|undefined} The instance of Sortable
|
|
2677
2669
|
*/
|
|
2678
2670
|
|
|
2679
2671
|
Sortable.get = function (element) {
|
|
2680
2672
|
return element[expando];
|
|
2681
2673
|
};
|
|
2682
|
-
/**
|
|
2683
|
-
* Mount a plugin to Sortable
|
|
2684
|
-
* @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
|
|
2674
|
+
/**
|
|
2675
|
+
* Mount a plugin to Sortable
|
|
2676
|
+
* @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
|
|
2685
2677
|
*/
|
|
2686
2678
|
|
|
2687
2679
|
|
|
@@ -2700,10 +2692,10 @@ Sortable.mount = function () {
|
|
|
2700
2692
|
PluginManager.mount(plugin);
|
|
2701
2693
|
});
|
|
2702
2694
|
};
|
|
2703
|
-
/**
|
|
2704
|
-
* Create sortable instance
|
|
2705
|
-
* @param {HTMLElement} el
|
|
2706
|
-
* @param {Object} [options]
|
|
2695
|
+
/**
|
|
2696
|
+
* Create sortable instance
|
|
2697
|
+
* @param {HTMLElement} el
|
|
2698
|
+
* @param {Object} [options]
|
|
2707
2699
|
*/
|
|
2708
2700
|
|
|
2709
2701
|
|
|
@@ -3139,6 +3131,7 @@ const _sfc_main = {
|
|
|
3139
3131
|
isShowFloatHandle: true,
|
|
3140
3132
|
gridOptions: {
|
|
3141
3133
|
resizable: false,
|
|
3134
|
+
rowDragAble: false,
|
|
3142
3135
|
border: "default",
|
|
3143
3136
|
highlightHoverRow: true,
|
|
3144
3137
|
showOverflow: false,
|
|
@@ -3425,7 +3418,8 @@ const _sfc_main = {
|
|
|
3425
3418
|
}
|
|
3426
3419
|
);
|
|
3427
3420
|
}
|
|
3428
|
-
|
|
3421
|
+
if (gridOptions.value.rowDragAble)
|
|
3422
|
+
useRowDrag(xGrid);
|
|
3429
3423
|
return {
|
|
3430
3424
|
floatTable,
|
|
3431
3425
|
xGrid,
|
|
@@ -246,7 +246,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
246
246
|
return vue.openBlock(), vue.createBlock(vue.unref(ASelect__default["default"]), vue.mergeProps({
|
|
247
247
|
value: vue.unref(selectValue),
|
|
248
248
|
"onUpdate:value": _cache[4] || (_cache[4] = ($event) => vue.isRef(selectValue) ? selectValue.value = $event : selectValue = $event),
|
|
249
|
-
class: "bm-select"
|
|
249
|
+
class: "bm-select search"
|
|
250
250
|
}, _ctx.$attrs, {
|
|
251
251
|
mode: "multiple",
|
|
252
252
|
disabled: props.disabled,
|