@opentinyvue/vue-cascader-node 3.25.0 → 3.26.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/pc.js +7 -3
  2. package/package.json +9 -8
package/lib/pc.js CHANGED
@@ -7,16 +7,20 @@ function _extends() {
7
7
  return n;
8
8
  }, _extends.apply(null, arguments);
9
9
  }
10
- import { createVNode, resolveComponent } from "vue";
10
+ import { createVNode, withDirectives, resolveDirective, resolveComponent } from "vue";
11
11
  import { api, renderless } from "@opentinyvue/vue-renderless/cascader-node/vue";
12
12
  import { defineComponent, $props, h, setup as _setup, $prefix } from "@opentinyvue/vue-common";
13
13
  import Checkbox from "@opentinyvue/vue-checkbox";
14
14
  import Radio from "@opentinyvue/vue-radio";
15
15
  import { isEqual } from "@opentinyvue/utils";
16
16
  import { iconChevronRight, iconLoadingShadow, iconYes } from "@opentinyvue/vue-icon";
17
+ import { AutoTip } from "@opentinyvue/vue-directive";
17
18
  import "@opentinyvue/vue-theme/cascader-node/index.css";
18
19
  var _sfc_main = /* @__PURE__ */ defineComponent({
19
20
  name: $prefix + "CascaderNode",
21
+ directives: {
22
+ AutoTip
23
+ },
20
24
  components: {
21
25
  TinyCheckbox: Checkbox,
22
26
  TinyRadio: Radio,
@@ -120,9 +124,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
120
124
  node,
121
125
  data: node.data
122
126
  }) : null;
123
- return createVNode("span", {
127
+ return withDirectives(createVNode("span", {
124
128
  "class": "tiny-cascader-node__label"
125
- }, [vnode || node.label]);
129
+ }, [vnode || node.label]), [[resolveDirective("auto-tip")]]);
126
130
  };
127
131
  var state = this.state;
128
132
  var _state$config = state.config, checkStrictly = _state$config.checkStrictly, expandTrigger = _state$config.expandTrigger, multiple = _state$config.multiple;
package/package.json CHANGED
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-cascader-node",
3
3
  "type": "module",
4
- "version": "3.25.0",
4
+ "version": "3.26.0",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
8
8
  "main": "./lib/index.js",
9
9
  "module": "./lib/index.js",
10
10
  "dependencies": {
11
- "@opentinyvue/utils": "~3.25.0",
12
- "@opentinyvue/vue-checkbox": "~3.25.0",
13
- "@opentinyvue/vue-common": "~3.25.0",
14
- "@opentinyvue/vue-icon": "~3.25.0",
15
- "@opentinyvue/vue-radio": "~3.25.0",
16
- "@opentinyvue/vue-renderless": "~3.25.0",
17
- "@opentinyvue/vue-theme": "~3.25.0"
11
+ "@opentinyvue/vue-directive": "~3.26.0",
12
+ "@opentinyvue/utils": "~3.26.0",
13
+ "@opentinyvue/vue-checkbox": "~3.26.0",
14
+ "@opentinyvue/vue-common": "~3.26.0",
15
+ "@opentinyvue/vue-icon": "~3.26.0",
16
+ "@opentinyvue/vue-radio": "~3.26.0",
17
+ "@opentinyvue/vue-renderless": "~3.26.0",
18
+ "@opentinyvue/vue-theme": "~3.26.0"
18
19
  },
19
20
  "types": "index.d.ts",
20
21
  "scripts": {