bkui-vue 2.0.2-beta.25 → 2.0.2-beta.26

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/index.js CHANGED
@@ -3,5 +3,5 @@ export * from './hooks';
3
3
  export { default } from './preset';
4
4
  export * from './config-provider';
5
5
  export * from './directives';
6
- export const version = "2.0.2-beta.25";
6
+ export const version = "2.0.2-beta.26";
7
7
  window.__bkui_vue_version__ = version;
@@ -374,7 +374,7 @@ declare const BkSearchSelect: {
374
374
  handleWrapClick: () => void;
375
375
  handleInputFocus: (v: boolean) => void;
376
376
  handleResize: () => void;
377
- handleClearAll: () => void;
377
+ handleClearAll: (e: MouseEvent) => void;
378
378
  handleInputOutside: (target: Node) => boolean;
379
379
  handleAddSelected: (item: import("./utils").SelectedItem) => void;
380
380
  handleDeleteSelected: (index?: number) => void;
@@ -830,7 +830,7 @@ declare const BkSearchSelect: {
830
830
  handleWrapClick: () => void;
831
831
  handleInputFocus: (v: boolean) => void;
832
832
  handleResize: () => void;
833
- handleClearAll: () => void;
833
+ handleClearAll: (e: MouseEvent) => void;
834
834
  handleInputOutside: (target: Node) => boolean;
835
835
  handleAddSelected: (item: import("./utils").SelectedItem) => void;
836
836
  handleDeleteSelected: (index?: number) => void;
@@ -1235,7 +1235,7 @@ declare const BkSearchSelect: {
1235
1235
  handleWrapClick: () => void;
1236
1236
  handleInputFocus: (v: boolean) => void;
1237
1237
  handleResize: () => void;
1238
- handleClearAll: () => void;
1238
+ handleClearAll: (e: MouseEvent) => void;
1239
1239
  handleInputOutside: (target: Node) => boolean;
1240
1240
  handleAddSelected: (item: import("./utils").SelectedItem) => void;
1241
1241
  handleDeleteSelected: (index?: number) => void;
@@ -4306,7 +4306,8 @@ var SearchSelectProps = {
4306
4306
  inputRef.value.inputFocusForWrapper();
4307
4307
  }
4308
4308
  }
4309
- function handleClearAll() {
4309
+ function handleClearAll(e) {
4310
+ e.stopPropagation();
4310
4311
  selectedList.value = [];
4311
4312
  overflowIndex.value = -1;
4312
4313
  inputRef.value.inputClearForWrapper();
@@ -406,7 +406,7 @@ declare const _default: import("vue").DefineComponent<{
406
406
  handleWrapClick: () => void;
407
407
  handleInputFocus: (v: boolean) => void;
408
408
  handleResize: () => void;
409
- handleClearAll: () => void;
409
+ handleClearAll: (e: MouseEvent) => void;
410
410
  handleInputOutside: (target: Node) => boolean;
411
411
  handleAddSelected: (item: SelectedItem) => void;
412
412
  handleDeleteSelected: (index?: number) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.2-beta.25",
3
+ "version": "2.0.2-beta.26",
4
4
  "workspaces": [
5
5
  "packages/**",
6
6
  "scripts/cli",