bkui-vue 2.0.1-beta.4 → 2.0.1-beta.5
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/dist/index.cjs.js +27 -27
- package/dist/index.esm.js +5282 -5271
- package/dist/index.umd.js +27 -27
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/dialog/dialog.css +0 -4
- package/lib/dialog/dialog.variable.css +0 -4
- package/lib/modal/modal.css +0 -4
- package/lib/modal/modal.less +0 -5
- package/lib/modal/modal.variable.css +0 -4
- package/lib/table/index.js +22 -2
- package/lib/table/plugins/use-shift-key.d.ts +2 -0
- package/package.json +1 -1
package/lib/dialog/dialog.css
CHANGED
package/lib/modal/modal.css
CHANGED
package/lib/modal/modal.less
CHANGED
package/lib/table/index.js
CHANGED
@@ -23236,6 +23236,15 @@ function use_head_cell_isSlot(s) {
|
|
23236
23236
|
clearStore();
|
23237
23237
|
}
|
23238
23238
|
};
|
23239
|
+
var setStoreStart = function setStoreStart(row, index) {
|
23240
|
+
store.start = {
|
23241
|
+
index: index !== null && index !== void 0 ? index : null,
|
23242
|
+
row: row !== null && row !== void 0 ? row : null
|
23243
|
+
};
|
23244
|
+
};
|
23245
|
+
var clearStoreStart = function clearStoreStart() {
|
23246
|
+
setStoreStart();
|
23247
|
+
};
|
23239
23248
|
var setStore = function setStore(row, index) {
|
23240
23249
|
if (store.start === null && store.end === null) {
|
23241
23250
|
store.start = {
|
@@ -23271,7 +23280,9 @@ function use_head_cell_isSlot(s) {
|
|
23271
23280
|
isShiftKeyDown: isShiftKeyDown,
|
23272
23281
|
setStore: setStore,
|
23273
23282
|
getStore: getStore,
|
23274
|
-
clearStore: clearStore
|
23283
|
+
clearStore: clearStore,
|
23284
|
+
setStoreStart: setStoreStart,
|
23285
|
+
clearStoreStart: clearStoreStart
|
23275
23286
|
};
|
23276
23287
|
});
|
23277
23288
|
;// CONCATENATED MODULE: ../../packages/table/src/use-render.tsx
|
@@ -23344,7 +23355,9 @@ function use_render_isSlot(s) {
|
|
23344
23355
|
var _useShiftKey = use_shift_key(props),
|
23345
23356
|
isShiftKeyDown = _useShiftKey.isShiftKeyDown,
|
23346
23357
|
getStore = _useShiftKey.getStore,
|
23347
|
-
setStore = _useShiftKey.setStore
|
23358
|
+
setStore = _useShiftKey.setStore,
|
23359
|
+
setStoreStart = _useShiftKey.setStoreStart,
|
23360
|
+
clearStoreStart = _useShiftKey.clearStoreStart;
|
23348
23361
|
// const activeSortIndex = ref(null);
|
23349
23362
|
/**
|
23350
23363
|
* 过滤当前可渲染的列
|
@@ -23766,6 +23779,13 @@ function use_render_isSlot(s) {
|
|
23766
23779
|
});
|
23767
23780
|
return;
|
23768
23781
|
}
|
23782
|
+
if (!isShiftKeyDown.value) {
|
23783
|
+
if (value) {
|
23784
|
+
setStoreStart(row, index);
|
23785
|
+
} else {
|
23786
|
+
clearStoreStart();
|
23787
|
+
}
|
23788
|
+
}
|
23769
23789
|
tableResp.setRowSelection(row, value);
|
23770
23790
|
context.emit(EMIT_EVENTS.ROW_SELECT, {
|
23771
23791
|
row: row,
|