@blueking/bk-user-selector 0.1.7 → 0.1.8

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/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@blueking/bk-user-selector",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "蓝鲸用户选择器",
5
5
  "license": "MIT",
6
6
  "author": "Tencent BlueKing",
7
7
  "scripts": {
8
- "prepublishOnly": "run-p build dts",
8
+ "prepublishOnly": "run-p test:vue2-events build dts",
9
9
  "dev": "vite --mode development -c scripts/vite.dev.ts",
10
10
  "build": "vite-node ./scripts/vite.build.ts",
11
11
  "dts": "vue-tsc --project tsconfig.dts.json",
12
12
  "prettier": "prettier ./src ./scripts ./playground --write",
13
+ "test:vue2-events": "node scripts/check-vue2-event-forwarding.mjs",
13
14
  "visualize": "vite-bundle-visualizer -c scripts/vite.visualizer.ts",
14
15
  "docs:dev": "vitepress dev docs",
15
16
  "docs:build": "vitepress build docs",
@@ -64,4 +65,4 @@
64
65
  "lodash": "^4.17.23",
65
66
  "sortablejs": "^1.15.6"
66
67
  }
67
- }
68
+ }
@@ -15082,10 +15082,10 @@ var vue2_default = {
15082
15082
  emit("update:modelValue", ...args);
15083
15083
  emit("change", ...args);
15084
15084
  },
15085
- onBlur() {
15085
+ onBlur(...args) {
15086
15086
  emit("blur", ...args);
15087
15087
  },
15088
- onFocus() {
15088
+ onFocus(...args) {
15089
15089
  emit("focus", ...args);
15090
15090
  },
15091
15091
  onDragStart: (event) => {
@@ -15094,10 +15094,10 @@ var vue2_default = {
15094
15094
  onDragEnd: (event) => {
15095
15095
  emit("dragEnd", event);
15096
15096
  },
15097
- onError() {
15097
+ onError(...args) {
15098
15098
  emit("error", ...args);
15099
15099
  },
15100
- onUnauthorized() {
15100
+ onUnauthorized(...args) {
15101
15101
  emit("unauthorized", ...args);
15102
15102
  },
15103
15103
  ref: "userSelectorRef"
@@ -20863,10 +20863,10 @@ Expected function or array of functions, received type ${typeof value}.`);
20863
20863
  emit("update:modelValue", ...args);
20864
20864
  emit("change", ...args);
20865
20865
  },
20866
- onBlur() {
20866
+ onBlur(...args) {
20867
20867
  emit("blur", ...args);
20868
20868
  },
20869
- onFocus() {
20869
+ onFocus(...args) {
20870
20870
  emit("focus", ...args);
20871
20871
  },
20872
20872
  onDragStart: (event) => {
@@ -20875,10 +20875,10 @@ Expected function or array of functions, received type ${typeof value}.`);
20875
20875
  onDragEnd: (event) => {
20876
20876
  emit("dragEnd", event);
20877
20877
  },
20878
- onError() {
20878
+ onError(...args) {
20879
20879
  emit("error", ...args);
20880
20880
  },
20881
- onUnauthorized() {
20881
+ onUnauthorized(...args) {
20882
20882
  emit("unauthorized", ...args);
20883
20883
  },
20884
20884
  ref: "userSelectorRef"
@@ -15092,10 +15092,10 @@
15092
15092
  emit("update:modelValue", ...args);
15093
15093
  emit("change", ...args);
15094
15094
  },
15095
- onBlur() {
15095
+ onBlur(...args) {
15096
15096
  emit("blur", ...args);
15097
15097
  },
15098
- onFocus() {
15098
+ onFocus(...args) {
15099
15099
  emit("focus", ...args);
15100
15100
  },
15101
15101
  onDragStart: (event) => {
@@ -15104,10 +15104,10 @@
15104
15104
  onDragEnd: (event) => {
15105
15105
  emit("dragEnd", event);
15106
15106
  },
15107
- onError() {
15107
+ onError(...args) {
15108
15108
  emit("error", ...args);
15109
15109
  },
15110
- onUnauthorized() {
15110
+ onUnauthorized(...args) {
15111
15111
  emit("unauthorized", ...args);
15112
15112
  },
15113
15113
  ref: "userSelectorRef"