@opentinyvue/vue-tree-menu 2.25.0 → 2.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.
Files changed (2) hide show
  1. package/lib/index.js +6 -3
  2. package/package.json +7 -7
package/lib/index.js CHANGED
@@ -144,7 +144,7 @@ var treeMenuProps = _extends({}, $props, {
144
144
  });
145
145
  var __vue2_script = defineComponent({
146
146
  name: $prefix + "TreeMenu",
147
- 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"],
147
+ 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"],
148
148
  components: {
149
149
  TinyTree: Tree,
150
150
  TinyInput: Input,
@@ -193,6 +193,9 @@ var render = function render2() {
193
193
  "prefix-icon": _vm.searchIcon,
194
194
  "clearable": _vm.state.clearable
195
195
  },
196
+ on: {
197
+ "input": _vm.inputChange
198
+ },
196
199
  model: {
197
200
  value: _vm.state.filterText,
198
201
  callback: function callback($$v) {
@@ -301,9 +304,9 @@ function __vue2_injectStyles(context) {
301
304
  this[o] = __cssModules[o];
302
305
  }
303
306
  }
304
- var TreeMenu = /* @__PURE__ */ function() {
307
+ var TreeMenu = /* @__PURE__ */ (function() {
305
308
  return __component__.exports;
306
- }();
309
+ })();
307
310
  var version = "2.undefined";
308
311
  TreeMenu.install = function(Vue) {
309
312
  Vue.component(TreeMenu.name, TreeMenu);
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-tree-menu",
3
- "version": "2.25.0",
3
+ "version": "2.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": "~2.25.0",
11
- "@opentinyvue/vue-renderless": "~3.25.0",
12
- "@opentinyvue/vue-input": "~2.25.0",
13
- "@opentinyvue/vue-tree": "~2.25.0",
14
- "@opentinyvue/vue-theme": "~3.25.0",
15
- "@opentinyvue/vue-icon": "~2.25.0"
10
+ "@opentinyvue/vue-common": "~2.27.0",
11
+ "@opentinyvue/vue-renderless": "~3.27.0",
12
+ "@opentinyvue/vue-input": "~2.27.0",
13
+ "@opentinyvue/vue-tree": "~2.27.0",
14
+ "@opentinyvue/vue-theme": "~3.27.0",
15
+ "@opentinyvue/vue-icon": "~2.27.0"
16
16
  },
17
17
  "license": "MIT",
18
18
  "types": "index.d.ts",