@opentinyvue/vue-tree-menu 3.26.0 → 3.27.0

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
@@ -148,7 +148,7 @@ var treeMenuProps = _extends({}, $props, {
148
148
  });
149
149
  var _sfc_main = defineComponent({
150
150
  name: $prefix + "TreeMenu",
151
- emits: ["change", "current-change", "node-drag-start", "node-drag-enter", "node-drag-over", "node-drag-end", "node-drop", "node-expand", "node-click", "check-change", "check", "collapse-change", "node-collapse"],
151
+ emits: ["change", "current-change", "input-change", "node-drag-start", "node-drag-enter", "node-drag-over", "node-drag-end", "node-drop", "node-expand", "node-click", "check-change", "check", "collapse-change", "node-collapse"],
152
152
  components: {
153
153
  TinyTree: Tree,
154
154
  TinyInput: Input,
@@ -215,8 +215,9 @@ function _sfc_render(_ctx, _cache, $props2, $setup, $data, $options) {
215
215
  class: normalizeClass((_ctx.state.isExpand || _ctx.state.isCollapsed) && "is-hidden"),
216
216
  placeholder: _ctx.placeholder || _ctx.t("ui.treeMenu.placeholder"),
217
217
  "prefix-icon": _ctx.searchIcon,
218
- clearable: _ctx.state.clearable
219
- }, null, 8, ["modelValue", "class", "placeholder", "prefix-icon", "clearable"])) : createCommentVNode("v-if", true), createVNode(_component_tiny_tree, {
218
+ clearable: _ctx.state.clearable,
219
+ onInput: _ctx.inputChange
220
+ }, null, 8, ["modelValue", "class", "placeholder", "prefix-icon", "clearable", "onInput"])) : createCommentVNode("v-if", true), createVNode(_component_tiny_tree, {
220
221
  ref: "tree",
221
222
  class: normalizeClass({
222
223
  "tiny-tree-menu__wrap": !_ctx.ellipsis ? _ctx.wrap : false,
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-tree-menu",
3
- "version": "3.26.0",
3
+ "version": "3.27.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
7
  "sideEffects": false,
8
8
  "type": "module",
9
9
  "dependencies": {
10
- "@opentinyvue/vue-common": "~3.26.0",
11
- "@opentinyvue/vue-renderless": "~3.26.0",
12
- "@opentinyvue/vue-input": "~3.26.0",
13
- "@opentinyvue/vue-tree": "~3.26.0",
14
- "@opentinyvue/vue-theme": "~3.26.0",
15
- "@opentinyvue/vue-icon": "~3.26.0"
10
+ "@opentinyvue/vue-common": "~3.27.0",
11
+ "@opentinyvue/vue-renderless": "~3.27.0",
12
+ "@opentinyvue/vue-input": "~3.27.0",
13
+ "@opentinyvue/vue-tree": "~3.27.0",
14
+ "@opentinyvue/vue-theme": "~3.27.0",
15
+ "@opentinyvue/vue-icon": "~3.27.0"
16
16
  },
17
17
  "license": "MIT",
18
18
  "types": "index.d.ts",
package/src/pc.vue.d.ts CHANGED
@@ -110,7 +110,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
110
110
  dp: (props: any) => void;
111
111
  gcls: (key: any) => any;
112
112
  m: (...cssClasses: any[]) => string;
113
- }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "check" | "node-collapse" | "node-expand" | "node-click" | "current-change" | "check-change" | "node-drag-start" | "node-drag-enter" | "node-drag-over" | "node-drag-end" | "node-drop" | "collapse-change")[], "change" | "check" | "node-collapse" | "node-expand" | "node-click" | "current-change" | "check-change" | "node-drag-start" | "node-drag-enter" | "node-drag-over" | "node-drag-end" | "node-drop" | "collapse-change", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
113
+ }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "check" | "node-collapse" | "node-expand" | "node-click" | "current-change" | "check-change" | "node-drag-start" | "input-change" | "node-drag-enter" | "node-drag-over" | "node-drag-end" | "node-drop" | "collapse-change")[], "change" | "check" | "node-collapse" | "node-expand" | "node-click" | "current-change" | "check-change" | "node-drag-start" | "input-change" | "node-drag-enter" | "node-drag-over" | "node-drag-end" | "node-drop" | "collapse-change", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
114
114
  placeholder: {
115
115
  default: string;
116
116
  type: StringConstructor;
@@ -226,6 +226,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
226
226
  "onNode-drag-end"?: ((...args: any[]) => any) | undefined;
227
227
  "onNode-drop"?: ((...args: any[]) => any) | undefined;
228
228
  "onNode-collapse"?: ((...args: any[]) => any) | undefined;
229
+ "onInput-change"?: ((...args: any[]) => any) | undefined;
229
230
  "onCollapse-change"?: ((...args: any[]) => any) | undefined;
230
231
  }, {
231
232
  ellipsis: boolean;