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.
@@ -88,10 +88,6 @@
88
88
  .bk-modal-content {
89
89
  position: relative;
90
90
  max-height: 100vh;
91
- font-size: 0;
92
- }
93
- .bk-modal-content div {
94
- font-size: 12px;
95
91
  }
96
92
  .bk-modal-footer {
97
93
  position: relative;
@@ -217,10 +217,6 @@
217
217
  .bk-modal-content {
218
218
  position: relative;
219
219
  max-height: 100vh;
220
- font-size: 0;
221
- }
222
- .bk-modal-content div {
223
- font-size: 12px;
224
220
  }
225
221
  .bk-modal-footer {
226
222
  position: relative;
@@ -88,10 +88,6 @@
88
88
  .bk-modal-content {
89
89
  position: relative;
90
90
  max-height: 100vh;
91
- font-size: 0;
92
- }
93
- .bk-modal-content div {
94
- font-size: 12px;
95
91
  }
96
92
  .bk-modal-footer {
97
93
  position: relative;
@@ -25,11 +25,6 @@
25
25
  .@{bk-prefix}-modal-content {
26
26
  position: relative;
27
27
  max-height: 100vh;
28
- font-size: 0;
29
-
30
- div {
31
- font-size: 12px;
32
- }
33
28
  }
34
29
  .@{bk-prefix}-modal-footer {
35
30
  position: relative;
@@ -217,10 +217,6 @@
217
217
  .bk-modal-content {
218
218
  position: relative;
219
219
  max-height: 100vh;
220
- font-size: 0;
221
- }
222
- .bk-modal-content div {
223
- font-size: 12px;
224
220
  }
225
221
  .bk-modal-footer {
226
222
  position: relative;
@@ -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,
@@ -7,5 +7,7 @@ declare const _default: (props: TablePropTypes) => {
7
7
  end: any;
8
8
  };
9
9
  clearStore: () => void;
10
+ setStoreStart: (row?: any, index?: any) => void;
11
+ clearStoreStart: () => void;
10
12
  };
11
13
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.1-beta.4",
3
+ "version": "2.0.1-beta.5",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",