@opentiny/vue-dropdown-item 3.8.3 → 3.10.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
@@ -46,8 +46,16 @@ var DropdownItem = defineComponent({
46
46
  icon: [String, Object],
47
47
  disabled: Boolean,
48
48
  divided: Boolean,
49
- command: {},
49
+ itemData: {
50
+ type: [String, Object],
51
+ default: ""
52
+ },
50
53
  title: String,
54
+ label: {
55
+ type: String,
56
+ default: ""
57
+ },
58
+ level: String,
51
59
  titleClass: String,
52
60
  options: {
53
61
  type: Array,
@@ -59,24 +67,6 @@ var DropdownItem = defineComponent({
59
67
  type: String,
60
68
  default: "selection"
61
69
  },
62
- label: {
63
- type: String,
64
- default: ""
65
- },
66
- itemData: {
67
- type: Object,
68
- default: function _default3() {
69
- return {};
70
- }
71
- },
72
- appendToBody: {
73
- type: Boolean,
74
- default: true
75
- },
76
- textField: {
77
- type: String,
78
- default: "label"
79
- },
80
70
  selected: {
81
71
  type: Boolean,
82
72
  default: false
@@ -91,9 +81,25 @@ var DropdownItem = defineComponent({
91
81
  },
92
82
  currentIndex: {
93
83
  type: Number,
94
- default: function _default4() {
84
+ default: function _default3() {
95
85
  return -1;
96
86
  }
87
+ },
88
+ appendToBody: {
89
+ type: Boolean,
90
+ default: true
91
+ },
92
+ textField: {
93
+ type: String,
94
+ default: "label"
95
+ },
96
+ tip: {
97
+ type: [String, Function],
98
+ default: ""
99
+ },
100
+ tipPosition: {
101
+ type: String,
102
+ default: "right"
97
103
  }
98
104
  }),
99
105
  setup: function setup(props, context) {
@@ -104,7 +110,7 @@ var DropdownItem = defineComponent({
104
110
  });
105
111
  }
106
112
  });
107
- var version = "3.7.0";
113
+ var version = "3.10.0";
108
114
  DropdownItem.model = {
109
115
  prop: "modelValue",
110
116
  event: "update:modelValue"
@@ -66,15 +66,11 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
66
66
  onMouseleave: _cache[1] || (_cache[1] = function() {
67
67
  return _ctx.mouseLeave && _ctx.mouseLeave.apply(_ctx, arguments);
68
68
  }),
69
- class: normalizeClass(["list-none leading-10 sm:leading-8 m-0 cursor-pointer outline-0 min-w-[4.5rem] max-w-[13.5rem] w-full [&_svg]:sm:w-3.5 [&_svg]:sm:h-3.5 [&_svg]:sm:mr-1.5 [&_svg]:mr-2 [&_svg]:align-text-bottom", {
70
- "text-color-text-primary active:bg-color-bg-4 visited:text-color-brand hover:bg-color-bg-4 focus:bg-color-bg-4": !_ctx.disabled
71
- }, {
72
- "cursor-not-allowed text-color-text-disabled [&_svg]:fill-color-text-disabled": _ctx.disabled
73
- }, {
69
+ class: normalizeClass(_ctx.m("list-none leading-10 sm:leading-8 m-0 outline-0 min-w-[theme(spacing.18)] max-w-[theme(spacing.52)] w-full [&_svg]:sm:w-3.5 [&_svg]:sm:h-3.5 [&_svg]:sm:mr-1.5 [&_svg]:mr-2 [&_svg]:align-text-bottom", _ctx.disabled ? "cursor-not-allowed text-color-text-disabled [&_svg]:fill-color-text-disabled" : "text-color-text-primary active:bg-color-bg-4 visited:text-color-brand hover:bg-color-bg-4 focus:bg-color-bg-4 cursor-pointer", {
74
70
  "text-color-brand-focus": _ctx.dataStore.checkedStatus && _ctx.selected
75
71
  }, {
76
- "!px-0 sm:!px-0": _ctx.dataStore.multiStage
77
- }]),
72
+ "!px-0": _ctx.dataStore.multiStage
73
+ })),
78
74
  onClick: _cache[2] || (_cache[2] = withModifiers(function() {
79
75
  return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
80
76
  }, ["stop"])),
package/lib/pc.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineComponent, $prefix, props, setup as _setup } from "@opentiny/vue-common";
2
2
  import { renderless, api } from "@opentiny/vue-renderless/dropdown-item/vue";
3
3
  import { iconDeltaLeft } from "@opentiny/vue-icon";
4
+ import Tooltip from "@opentiny/vue-tooltip";
4
5
  import "@opentiny/vue-theme/dropdown-item/index.css";
5
- import { resolveComponent, openBlock, createElementBlock, Fragment, createCommentVNode, createElementVNode, normalizeClass, withModifiers, createBlock, resolveDynamicComponent, renderSlot, toDisplayString, renderList, withCtx } from "vue";
6
+ import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, withModifiers, createElementBlock, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString, Fragment, renderList } from "vue";
6
7
  function _createForOfIteratorHelperLoose(o, allowArrayLike) {
7
8
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
8
9
  if (it)
@@ -52,9 +53,10 @@ var _sfc_main = defineComponent({
52
53
  name: $prefix + "DropdownItem",
53
54
  componentName: $prefix + "DropdownItem",
54
55
  emits: ["item-click"],
55
- props: [].concat(props, ["command", "disabled", "divided", "icon", "label", "itemData", "appendToBody", "textField"]),
56
+ props: [].concat(props, ["disabled", "divided", "icon", "itemData", "title", "titleClass", "options", "type", "label", "appendToBody", "textField", "selected", "selectedField", "multiStage", "currentIndex", "tip", "tipPosition"]),
56
57
  components: {
57
- IconDeltaLeft: iconDeltaLeft()
58
+ IconDeltaLeft: iconDeltaLeft(),
59
+ TinyTooltip: Tooltip
58
60
  },
59
61
  setup: function setup(props2, context) {
60
62
  return _setup({
@@ -78,72 +80,78 @@ var _hoisted_4 = {
78
80
  };
79
81
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
80
82
  var _component_tiny_dropdown_item = resolveComponent("tiny-dropdown-item");
81
- return openBlock(), createElementBlock(
82
- Fragment,
83
- null,
84
- [createCommentVNode(" TINY-TODO: tiny-dropdown-menu__item命名不规范,后续统一有个迭代去掉 "), createElementVNode("li", {
85
- class: normalizeClass(["tiny-dropdown-item tiny-dropdown-menu__item", {
86
- "is-disabled": _ctx.disabled,
87
- "tiny-dropdown-item--divided tiny-dropdown-menu__item--divided": _ctx.divided,
88
- "has-children": _ctx.itemData.children && _ctx.itemData.children.length
89
- }]),
90
- ref: "dropdownItem",
91
- onClick: _cache[0] || (_cache[0] = function() {
92
- return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
93
- }),
94
- onMousedown: _cache[1] || (_cache[1] = withModifiers(function() {
95
- }, ["stop"])),
96
- "aria-disabled": _ctx.disabled,
97
- tabindex: _ctx.disabled ? null : -1
98
- }, [createElementVNode("div", _hoisted_2, [_ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock("span", _hoisted_3, [(openBlock(), createBlock(resolveDynamicComponent(_ctx.state.getIcon)))])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_4, [_ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
99
- key: 0,
100
- class: "tiny-svg-size"
101
- })) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {
102
- itemData: _ctx.itemData
103
- }, function() {
104
- return [createElementVNode(
105
- "span",
106
- null,
107
- toDisplayString(_ctx.label),
108
- 1
109
- /* TEXT */
110
- )];
111
- })]), _ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock(
112
- "ul",
113
- {
114
- key: 1,
115
- class: normalizeClass(["tiny-dropdown-menu", "tiny-dropdown-item--child tiny-dropdown-menu__item--child", _ctx.state.popperClass])
116
- },
117
- [(openBlock(true), createElementBlock(
118
- Fragment,
119
- null,
120
- renderList(_ctx.itemData.children, function(item, index) {
121
- return openBlock(), createBlock(_component_tiny_dropdown_item, {
122
- key: index,
123
- label: item[_ctx.state.textField],
124
- "item-data": item,
125
- icon: item.icon,
126
- disabled: item.disabled,
127
- divided: item.divided
128
- }, {
129
- default: withCtx(function() {
130
- return [renderSlot(_ctx.$slots, "default", {
131
- itemData: item
132
- })];
133
- }),
134
- _: 2
135
- /* DYNAMIC */
136
- }, 1032, ["label", "item-data", "icon", "disabled", "divided"]);
137
- }),
138
- 128
139
- /* KEYED_FRAGMENT */
140
- ))],
141
- 2
142
- /* CLASS */
143
- )) : createCommentVNode("v-if", true)])], 42, _hoisted_1)],
144
- 2112
145
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
146
- );
83
+ var _component_tiny_tooltip = resolveComponent("tiny-tooltip");
84
+ return openBlock(), createBlock(_component_tiny_tooltip, {
85
+ content: _ctx.getTip,
86
+ placement: _ctx.tipPosition
87
+ }, {
88
+ default: withCtx(function() {
89
+ return [createElementVNode("li", {
90
+ class: normalizeClass(["tiny-dropdown-item tiny-dropdown-menu__item", {
91
+ "is-disabled": _ctx.disabled,
92
+ "tiny-dropdown-item--divided tiny-dropdown-menu__item--divided": _ctx.divided,
93
+ "has-children": _ctx.itemData.children && _ctx.itemData.children.length
94
+ }]),
95
+ ref: "dropdownItem",
96
+ onClick: _cache[0] || (_cache[0] = withModifiers(function() {
97
+ return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
98
+ }, ["stop"])),
99
+ onMousedown: _cache[1] || (_cache[1] = withModifiers(function() {
100
+ }, ["stop"])),
101
+ "aria-disabled": _ctx.disabled,
102
+ tabindex: _ctx.disabled ? null : -1
103
+ }, [createElementVNode("div", _hoisted_2, [_ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock("span", _hoisted_3, [(openBlock(), createBlock(resolveDynamicComponent(_ctx.state.getIcon)))])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_4, [_ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
104
+ key: 0,
105
+ class: "tiny-svg-size"
106
+ })) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {
107
+ itemData: _ctx.itemData
108
+ }, function() {
109
+ return [createElementVNode(
110
+ "span",
111
+ null,
112
+ toDisplayString(_ctx.label),
113
+ 1
114
+ /* TEXT */
115
+ )];
116
+ })]), _ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock(
117
+ "ul",
118
+ {
119
+ key: 1,
120
+ class: normalizeClass(["tiny-dropdown-menu", "tiny-dropdown-item--child tiny-dropdown-menu__item--child", _ctx.state.popperClass])
121
+ },
122
+ [(openBlock(true), createElementBlock(
123
+ Fragment,
124
+ null,
125
+ renderList(_ctx.itemData.children, function(item, index) {
126
+ return openBlock(), createBlock(_component_tiny_dropdown_item, {
127
+ key: index,
128
+ label: item[_ctx.state.textField],
129
+ "item-data": item,
130
+ icon: item.icon,
131
+ disabled: item.disabled,
132
+ divided: item.divided,
133
+ tip: item.tip,
134
+ "tip-position": item.tipPosition
135
+ }, {
136
+ default: withCtx(function() {
137
+ return [renderSlot(_ctx.$slots, "default", {
138
+ itemData: item
139
+ })];
140
+ }),
141
+ _: 2
142
+ /* DYNAMIC */
143
+ }, 1032, ["label", "item-data", "icon", "disabled", "divided", "tip", "tip-position"]);
144
+ }),
145
+ 128
146
+ /* KEYED_FRAGMENT */
147
+ ))],
148
+ 2
149
+ /* CLASS */
150
+ )) : createCommentVNode("v-if", true)])], 42, _hoisted_1)];
151
+ }),
152
+ _: 3
153
+ /* FORWARDED */
154
+ }, 8, ["content", "placement"]);
147
155
  }
148
156
  var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
149
157
  export {
package/package.json CHANGED
@@ -1,16 +1,18 @@
1
1
  {
2
2
  "name": "@opentiny/vue-dropdown-item",
3
- "version": "3.8.3",
3
+ "version": "3.10.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
7
  "sideEffects": false,
8
+ "type": "module",
8
9
  "dependencies": {
9
- "@opentiny/vue-common": "~3.8.3",
10
- "@opentiny/vue-icon": "~3.8.3",
11
- "@opentiny/vue-renderless": "~3.8.3",
12
- "@opentiny/vue-popup": "~3.8.3",
13
- "@opentiny/vue-button": "~3.8.3"
10
+ "@opentiny/vue-common": "~3.10.0",
11
+ "@opentiny/vue-icon": "~3.10.0",
12
+ "@opentiny/vue-renderless": "~3.10.0",
13
+ "@opentiny/vue-popup": "~3.10.0",
14
+ "@opentiny/vue-button": "~3.10.0",
15
+ "@opentiny/vue-tooltip": "~3.10.0"
14
16
  },
15
17
  "license": "MIT",
16
18
  "types": "index.d.ts",
package/src/index.d.ts CHANGED
@@ -1,3 +1,14 @@
1
+ /**
2
+ * Copyright (c) 2022 - present TinyVue Authors.
3
+ * Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license.
6
+ *
7
+ * THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
8
+ * BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
9
+ * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
10
+ *
11
+ */
1
12
  declare const _default: import("@vue/runtime-core").DefineComponent<{
2
13
  _constants: {
3
14
  type: ObjectConstructor;
@@ -10,30 +21,22 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
10
21
  icon: (ObjectConstructor | StringConstructor)[];
11
22
  disabled: BooleanConstructor;
12
23
  divided: BooleanConstructor;
13
- command: {};
14
- title: StringConstructor;
15
- titleClass: StringConstructor;
16
- options: {
17
- type: ArrayConstructor;
18
- default: () => never[];
19
- };
20
- type: {
21
- type: StringConstructor;
24
+ itemData: {
25
+ type: (ObjectConstructor | StringConstructor)[];
22
26
  default: string;
23
27
  };
28
+ title: StringConstructor;
24
29
  label: {
25
30
  type: StringConstructor;
26
31
  default: string;
27
32
  };
28
- itemData: {
29
- type: ObjectConstructor;
30
- default: () => {};
31
- };
32
- appendToBody: {
33
- type: BooleanConstructor;
34
- default: boolean;
33
+ level: StringConstructor;
34
+ titleClass: StringConstructor;
35
+ options: {
36
+ type: ArrayConstructor;
37
+ default: () => never[];
35
38
  };
36
- textField: {
39
+ type: {
37
40
  type: StringConstructor;
38
41
  default: string;
39
42
  };
@@ -53,15 +56,31 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
53
56
  type: NumberConstructor;
54
57
  default: () => number;
55
58
  };
59
+ appendToBody: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
63
+ textField: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ tip: {
68
+ type: (StringConstructor | FunctionConstructor)[];
69
+ default: string;
70
+ };
71
+ tipPosition: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
56
75
  tiny_mode: StringConstructor;
57
76
  tiny_mode_root: BooleanConstructor;
58
77
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
59
78
  tiny_renderless: FunctionConstructor;
60
79
  tiny_theme: StringConstructor;
61
80
  tiny_chart_theme: ObjectConstructor;
62
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
81
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
63
82
  [key: string]: any;
64
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
83
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
65
84
  _constants: {
66
85
  type: ObjectConstructor;
67
86
  default: () => {
@@ -73,30 +92,22 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
73
92
  icon: (ObjectConstructor | StringConstructor)[];
74
93
  disabled: BooleanConstructor;
75
94
  divided: BooleanConstructor;
76
- command: {};
77
- title: StringConstructor;
78
- titleClass: StringConstructor;
79
- options: {
80
- type: ArrayConstructor;
81
- default: () => never[];
82
- };
83
- type: {
84
- type: StringConstructor;
95
+ itemData: {
96
+ type: (ObjectConstructor | StringConstructor)[];
85
97
  default: string;
86
98
  };
99
+ title: StringConstructor;
87
100
  label: {
88
101
  type: StringConstructor;
89
102
  default: string;
90
103
  };
91
- itemData: {
92
- type: ObjectConstructor;
93
- default: () => {};
94
- };
95
- appendToBody: {
96
- type: BooleanConstructor;
97
- default: boolean;
104
+ level: StringConstructor;
105
+ titleClass: StringConstructor;
106
+ options: {
107
+ type: ArrayConstructor;
108
+ default: () => never[];
98
109
  };
99
- textField: {
110
+ type: {
100
111
  type: StringConstructor;
101
112
  default: string;
102
113
  };
@@ -116,6 +127,22 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
116
127
  type: NumberConstructor;
117
128
  default: () => number;
118
129
  };
130
+ appendToBody: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
134
+ textField: {
135
+ type: StringConstructor;
136
+ default: string;
137
+ };
138
+ tip: {
139
+ type: (StringConstructor | FunctionConstructor)[];
140
+ default: string;
141
+ };
142
+ tipPosition: {
143
+ type: StringConstructor;
144
+ default: string;
145
+ };
119
146
  tiny_mode: StringConstructor;
120
147
  tiny_mode_root: BooleanConstructor;
121
148
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
@@ -123,19 +150,21 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
123
150
  tiny_theme: StringConstructor;
124
151
  tiny_chart_theme: ObjectConstructor;
125
152
  }>>, {
126
- label: string;
127
- options: unknown[];
128
- textField: string;
129
153
  type: string;
154
+ label: string;
155
+ selected: boolean;
156
+ disabled: boolean;
130
157
  tiny_mode_root: boolean;
131
158
  _constants: Record<string, any>;
132
- disabled: boolean;
159
+ options: unknown[];
160
+ textField: string;
133
161
  appendToBody: boolean;
134
- selected: boolean;
162
+ tip: string | Function;
163
+ multiStage: boolean;
135
164
  divided: boolean;
136
- itemData: Record<string, any>;
165
+ itemData: string | Record<string, any>;
137
166
  selectedField: string;
138
- multiStage: boolean;
139
167
  currentIndex: number;
140
- }>;
168
+ tipPosition: string;
169
+ }, {}>;
141
170
  export default _default;
@@ -1,8 +1,8 @@
1
- declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
2
2
  [x: string]: any;
3
- }>, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
3
+ }>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
4
4
  [x: string]: any;
5
5
  }>>>, {
6
6
  [x: string]: any;
7
- }>;
8
- export default _sfc_main;
7
+ }, {}>;
8
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _sfc_main: import("@vue/runtime-core").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
- export default _sfc_main;
1
+ declare const _default: (props: Record<string, any> & {}) => any;
2
+ export default _default;
package/src/pc.vue.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
2
2
  [x: string]: any;
3
3
  }>, {
4
4
  t: (this: any, path: any, options?: any) => any;
@@ -9,11 +9,11 @@ declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{
9
9
  dp: (props: any) => void;
10
10
  gcls: (key: any) => any;
11
11
  m: (...cssClasses: any[]) => string;
12
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "item-click"[], "item-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
12
+ }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "item-click"[], "item-click", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
13
13
  [x: string]: any;
14
14
  }>>> & {
15
15
  "onItem-click"?: ((...args: any[]) => any) | undefined;
16
16
  }, {
17
17
  [x: string]: any;
18
- }>;
19
- export default _sfc_main;
18
+ }, {}>;
19
+ export default _default;