@opentiny/vue-dropdown-item 3.14.0 → 3.16.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
@@ -85,6 +85,10 @@ var dropdownItemProps = _extends({}, $props, {
85
85
  return -1;
86
86
  }
87
87
  },
88
+ tooltipContent: {
89
+ type: String,
90
+ default: ""
91
+ },
88
92
  // 以下为 tiny 新增
89
93
  appendToBody: {
90
94
  type: Boolean,
@@ -115,7 +119,7 @@ var DropdownItem = defineComponent({
115
119
  });
116
120
  }
117
121
  });
118
- var version = "3.14.0";
122
+ var version = "3.16.0";
119
123
  DropdownItem.model = {
120
124
  prop: "modelValue",
121
125
  event: "update:modelValue"
@@ -1,11 +1,12 @@
1
- import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
2
- import { renderless, api } from "@opentiny/vue-renderless/dropdown-item/mf";
3
- import { openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot } from "vue";
4
- function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
1
+ import { defineComponent, props, setup } from '@opentiny/vue-common';
2
+ import { renderless, api } from '@opentiny/vue-renderless/dropdown-item/mf';
3
+ import { openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot } from 'vue';
4
+
5
+ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
5
6
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
6
7
  if (it)
7
8
  return (it = it.call(o)).next.bind(it);
8
- if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
9
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
9
10
  if (it)
10
11
  o = it;
11
12
  var i = 0;
@@ -17,20 +18,20 @@ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
17
18
  }
18
19
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
19
20
  }
20
- function _unsupportedIterableToArray_tiny(o, minLen) {
21
+ function _unsupportedIterableToArray(o, minLen) {
21
22
  if (!o)
22
23
  return;
23
24
  if (typeof o === "string")
24
- return _arrayLikeToArray_tiny(o, minLen);
25
+ return _arrayLikeToArray(o, minLen);
25
26
  var n = Object.prototype.toString.call(o).slice(8, -1);
26
27
  if (n === "Object" && o.constructor)
27
28
  n = o.constructor.name;
28
29
  if (n === "Map" || n === "Set")
29
30
  return Array.from(o);
30
31
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
31
- return _arrayLikeToArray_tiny(o, minLen);
32
+ return _arrayLikeToArray(o, minLen);
32
33
  }
33
- function _arrayLikeToArray_tiny(arr, len) {
34
+ function _arrayLikeToArray(arr, len) {
34
35
  if (len == null || len > arr.length)
35
36
  len = arr.length;
36
37
  for (var i = 0, arr2 = new Array(len); i < len; i++)
@@ -39,7 +40,7 @@ function _arrayLikeToArray_tiny(arr, len) {
39
40
  }
40
41
  var _export_sfc = function _export_sfc2(sfc, props) {
41
42
  var target = sfc.__vccOpts || sfc;
42
- for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
43
+ for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
43
44
  var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
44
45
  target[key] = val;
45
46
  }
@@ -48,9 +49,9 @@ var _export_sfc = function _export_sfc2(sfc, props) {
48
49
 
49
50
  var _sfc_main = defineComponent({
50
51
  emits: ["update:modelValue", "change", "closed", "open", "opened", "close", "confirm", "reset"],
51
- props: [].concat(props, ["disabled", "icon", "itemData", "selected", "label", "level", "currentIndex"]),
52
- setup: function setup(props2, context) {
53
- return _setup({
52
+ props: [].concat(props, ["disabled", "icon", "itemData", "selected", "label", "level", "currentIndex", "tooltipContent"]),
53
+ setup: function setup$1(props2, context) {
54
+ return setup({
54
55
  props: props2,
55
56
  context,
56
57
  renderless,
@@ -92,6 +93,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
92
93
  )], 42, _hoisted_1);
93
94
  }
94
95
  var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
95
- export {
96
- mobileFirst as default
97
- };
96
+
97
+ export { mobileFirst as default };
package/lib/mobile.js CHANGED
@@ -1,16 +1,17 @@
1
- import { renderless, api } from "@opentiny/vue-renderless/dropdown-item/vue";
2
- import { defineComponent, directive, props, setup as _setup } from "@opentiny/vue-common";
3
- import { iconYes } from "@opentiny/vue-icon";
4
- import Popup from "@opentiny/vue-popup";
5
- import Button from "@opentiny/vue-button";
6
- import Clickoutside from "@opentiny/vue-renderless/common/deps/clickoutside";
7
- import "@opentiny/vue-theme-mobile/dropdown-item/index.css";
8
- import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, normalizeStyle, createVNode, withCtx, renderSlot, Fragment, renderList, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, createTextVNode, vShow } from "vue";
9
- function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
1
+ import { renderless, api } from '@opentiny/vue-renderless/dropdown-item/vue';
2
+ import { defineComponent, directive, props, setup } from '@opentiny/vue-common';
3
+ import { iconYes } from '@opentiny/vue-icon';
4
+ import Popup from '@opentiny/vue-popup';
5
+ import Button from '@opentiny/vue-button';
6
+ import Clickoutside from '@opentiny/vue-renderless/common/deps/clickoutside';
7
+ import '@opentiny/vue-theme-mobile/dropdown-item/index.css';
8
+ import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, normalizeStyle, createVNode, withCtx, renderSlot, Fragment, renderList, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, createTextVNode, vShow } from 'vue';
9
+
10
+ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
10
11
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
11
12
  if (it)
12
13
  return (it = it.call(o)).next.bind(it);
13
- if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
14
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
14
15
  if (it)
15
16
  o = it;
16
17
  var i = 0;
@@ -22,20 +23,20 @@ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
22
23
  }
23
24
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
24
25
  }
25
- function _unsupportedIterableToArray_tiny(o, minLen) {
26
+ function _unsupportedIterableToArray(o, minLen) {
26
27
  if (!o)
27
28
  return;
28
29
  if (typeof o === "string")
29
- return _arrayLikeToArray_tiny(o, minLen);
30
+ return _arrayLikeToArray(o, minLen);
30
31
  var n = Object.prototype.toString.call(o).slice(8, -1);
31
32
  if (n === "Object" && o.constructor)
32
33
  n = o.constructor.name;
33
34
  if (n === "Map" || n === "Set")
34
35
  return Array.from(o);
35
36
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
36
- return _arrayLikeToArray_tiny(o, minLen);
37
+ return _arrayLikeToArray(o, minLen);
37
38
  }
38
- function _arrayLikeToArray_tiny(arr, len) {
39
+ function _arrayLikeToArray(arr, len) {
39
40
  if (len == null || len > arr.length)
40
41
  len = arr.length;
41
42
  for (var i = 0, arr2 = new Array(len); i < len; i++)
@@ -44,7 +45,7 @@ function _arrayLikeToArray_tiny(arr, len) {
44
45
  }
45
46
  var _export_sfc = function _export_sfc2(sfc, props) {
46
47
  var target = sfc.__vccOpts || sfc;
47
- for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
48
+ for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
48
49
  var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
49
50
  target[key] = val;
50
51
  }
@@ -62,8 +63,8 @@ var _sfc_main = defineComponent({
62
63
  TinyButton: Button
63
64
  },
64
65
  emits: ["update:modelValue", "open", "opened", "click", "change", "closed", "close", "reset", "confirm", "item-click"],
65
- setup: function setup(props2, context) {
66
- return _setup({
66
+ setup: function setup$1(props2, context) {
67
+ return setup({
67
68
  props: props2,
68
69
  context,
69
70
  renderless,
@@ -226,6 +227,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
226
227
  )), [[vShow, _ctx.state.showWrapper]]);
227
228
  }
228
229
  var mobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
229
- export {
230
- mobile as default
231
- };
230
+
231
+ export { mobile as default };
package/lib/pc.js CHANGED
@@ -1,14 +1,15 @@
1
- import { defineComponent, $prefix, props, setup as _setup } from "@opentiny/vue-common";
2
- import { renderless, api } from "@opentiny/vue-renderless/dropdown-item/vue";
3
- import { iconDeltaLeft } from "@opentiny/vue-icon";
4
- import Tooltip from "@opentiny/vue-tooltip";
5
- import "@opentiny/vue-theme/dropdown-item/index.css";
6
- import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, withModifiers, createElementBlock, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString, Fragment, renderList } from "vue";
7
- function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
1
+ import { defineComponent, $prefix, props, setup } from '@opentiny/vue-common';
2
+ import { renderless, api } from '@opentiny/vue-renderless/dropdown-item/vue';
3
+ import { iconDeltaLeft } from '@opentiny/vue-icon';
4
+ import Tooltip from '@opentiny/vue-tooltip';
5
+ import '@opentiny/vue-theme/dropdown-item/index.css';
6
+ import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, withModifiers, createElementBlock, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString, Fragment, renderList } from 'vue';
7
+
8
+ function _createForOfIteratorHelperLoose(o, allowArrayLike) {
8
9
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
9
10
  if (it)
10
11
  return (it = it.call(o)).next.bind(it);
11
- if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
12
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
12
13
  if (it)
13
14
  o = it;
14
15
  var i = 0;
@@ -20,20 +21,20 @@ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
20
21
  }
21
22
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
22
23
  }
23
- function _unsupportedIterableToArray_tiny(o, minLen) {
24
+ function _unsupportedIterableToArray(o, minLen) {
24
25
  if (!o)
25
26
  return;
26
27
  if (typeof o === "string")
27
- return _arrayLikeToArray_tiny(o, minLen);
28
+ return _arrayLikeToArray(o, minLen);
28
29
  var n = Object.prototype.toString.call(o).slice(8, -1);
29
30
  if (n === "Object" && o.constructor)
30
31
  n = o.constructor.name;
31
32
  if (n === "Map" || n === "Set")
32
33
  return Array.from(o);
33
34
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
34
- return _arrayLikeToArray_tiny(o, minLen);
35
+ return _arrayLikeToArray(o, minLen);
35
36
  }
36
- function _arrayLikeToArray_tiny(arr, len) {
37
+ function _arrayLikeToArray(arr, len) {
37
38
  if (len == null || len > arr.length)
38
39
  len = arr.length;
39
40
  for (var i = 0, arr2 = new Array(len); i < len; i++)
@@ -42,7 +43,7 @@ function _arrayLikeToArray_tiny(arr, len) {
42
43
  }
43
44
  var _export_sfc = function _export_sfc2(sfc, props) {
44
45
  var target = sfc.__vccOpts || sfc;
45
- for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
46
+ for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
46
47
  var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
47
48
  target[key] = val;
48
49
  }
@@ -77,8 +78,8 @@ var _sfc_main = defineComponent({
77
78
  IconDeltaLeft: iconDeltaLeft(),
78
79
  TinyTooltip: Tooltip
79
80
  },
80
- setup: function setup(props2, context) {
81
- return _setup({
81
+ setup: function setup$1(props2, context) {
82
+ return setup({
82
83
  props: props2,
83
84
  context,
84
85
  renderless,
@@ -177,6 +178,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
177
178
  }, 8, ["content", "placement"]);
178
179
  }
179
180
  var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
180
- export {
181
- pc as default
182
- };
181
+
182
+ export { pc as default };
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@opentiny/vue-dropdown-item",
3
- "version": "3.14.0",
3
+ "version": "3.16.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
- "@opentiny/vue-common": "~3.14.0",
11
- "@opentiny/vue-icon": "~3.14.0",
12
- "@opentiny/vue-renderless": "~3.14.0",
13
- "@opentiny/vue-popup": "~3.14.0",
14
- "@opentiny/vue-button": "~3.14.0",
15
- "@opentiny/vue-tooltip": "~3.14.0",
16
- "@opentiny/vue-theme-mobile": "~3.14.0",
17
- "@opentiny/vue-theme": "~3.14.0"
10
+ "@opentiny/vue-common": "~3.16.0",
11
+ "@opentiny/vue-icon": "~3.16.0",
12
+ "@opentiny/vue-renderless": "~3.16.0",
13
+ "@opentiny/vue-popup": "~3.16.0",
14
+ "@opentiny/vue-button": "~3.16.0",
15
+ "@opentiny/vue-tooltip": "~3.16.0",
16
+ "@opentiny/vue-theme-mobile": "~3.16.0",
17
+ "@opentiny/vue-theme": "~3.16.0"
18
18
  },
19
19
  "license": "MIT",
20
20
  "types": "index.d.ts",
package/src/index.d.ts CHANGED
@@ -23,11 +23,11 @@ export declare const dropdownItemProps: {
23
23
  };
24
24
  };
25
25
  };
26
- icon: (ObjectConstructor | StringConstructor)[];
26
+ icon: (StringConstructor | ObjectConstructor)[];
27
27
  disabled: BooleanConstructor;
28
28
  divided: BooleanConstructor;
29
29
  itemData: {
30
- type: (ObjectConstructor | StringConstructor)[];
30
+ type: (StringConstructor | ObjectConstructor)[];
31
31
  default: string;
32
32
  };
33
33
  title: StringConstructor;
@@ -58,6 +58,10 @@ export declare const dropdownItemProps: {
58
58
  type: NumberConstructor;
59
59
  default: () => number;
60
60
  };
61
+ tooltipContent: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
61
65
  appendToBody: {
62
66
  type: BooleanConstructor;
63
67
  default: boolean;
@@ -90,11 +94,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
90
94
  };
91
95
  };
92
96
  };
93
- icon: (ObjectConstructor | StringConstructor)[];
97
+ icon: (StringConstructor | ObjectConstructor)[];
94
98
  disabled: BooleanConstructor;
95
99
  divided: BooleanConstructor;
96
100
  itemData: {
97
- type: (ObjectConstructor | StringConstructor)[];
101
+ type: (StringConstructor | ObjectConstructor)[];
98
102
  default: string;
99
103
  };
100
104
  title: StringConstructor;
@@ -125,6 +129,10 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
125
129
  type: NumberConstructor;
126
130
  default: () => number;
127
131
  };
132
+ tooltipContent: {
133
+ type: StringConstructor;
134
+ default: string;
135
+ };
128
136
  appendToBody: {
129
137
  type: BooleanConstructor;
130
138
  default: boolean;
@@ -149,7 +157,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
149
157
  tiny_chart_theme: ObjectConstructor;
150
158
  }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
151
159
  [key: string]: any;
152
- }>, 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<{
160
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
153
161
  _constants: {
154
162
  type: ObjectConstructor;
155
163
  default: () => {
@@ -158,11 +166,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
158
166
  };
159
167
  };
160
168
  };
161
- icon: (ObjectConstructor | StringConstructor)[];
169
+ icon: (StringConstructor | ObjectConstructor)[];
162
170
  disabled: BooleanConstructor;
163
171
  divided: BooleanConstructor;
164
172
  itemData: {
165
- type: (ObjectConstructor | StringConstructor)[];
173
+ type: (StringConstructor | ObjectConstructor)[];
166
174
  default: string;
167
175
  };
168
176
  title: StringConstructor;
@@ -193,6 +201,10 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
193
201
  type: NumberConstructor;
194
202
  default: () => number;
195
203
  };
204
+ tooltipContent: {
205
+ type: StringConstructor;
206
+ default: string;
207
+ };
196
208
  appendToBody: {
197
209
  type: BooleanConstructor;
198
210
  default: boolean;
@@ -228,6 +240,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
228
240
  itemData: string | Record<string, any>;
229
241
  selectedField: string;
230
242
  currentIndex: number;
243
+ tooltipContent: string;
231
244
  appendToBody: boolean;
232
245
  tip: string | Function;
233
246
  tipPosition: string;
@@ -13,7 +13,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
13
13
  itemData?: any;
14
14
  level?: any;
15
15
  currentIndex?: any;
16
- }>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "change" | "update:modelValue" | "close" | "reset" | "open" | "closed" | "opened")[], "confirm" | "change" | "update:modelValue" | "close" | "reset" | "open" | "closed" | "opened", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
16
+ tooltipContent?: any;
17
+ }>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened")[], "change" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
17
18
  label?: any;
18
19
  selected?: any;
19
20
  disabled?: any;
@@ -28,11 +29,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
28
29
  itemData?: any;
29
30
  level?: any;
30
31
  currentIndex?: any;
32
+ tooltipContent?: any;
31
33
  }>>> & {
32
34
  onChange?: ((...args: any[]) => any) | undefined;
35
+ onClose?: ((...args: any[]) => any) | undefined;
33
36
  onReset?: ((...args: any[]) => any) | undefined;
34
37
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
35
- onClose?: ((...args: any[]) => any) | undefined;
36
38
  onConfirm?: ((...args: any[]) => any) | undefined;
37
39
  onOpen?: ((...args: any[]) => any) | undefined;
38
40
  onClosed?: ((...args: any[]) => any) | undefined;
@@ -52,5 +54,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
52
54
  readonly itemData?: any;
53
55
  readonly level?: any;
54
56
  readonly currentIndex?: any;
57
+ readonly tooltipContent?: any;
55
58
  }, {}>;
56
59
  export default _default;
@@ -21,7 +21,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
21
21
  d: (props: any) => void;
22
22
  dp: (props: any) => void;
23
23
  gcls: (key: any) => any;
24
- }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "change" | "item-click" | "update:modelValue" | "close" | "click" | "reset" | "open" | "closed" | "opened")[], "confirm" | "change" | "item-click" | "update:modelValue" | "close" | "click" | "reset" | "open" | "closed" | "opened", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
24
+ }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("item-click" | "change" | "click" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened")[], "item-click" | "change" | "click" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
25
25
  type?: any;
26
26
  title?: any;
27
27
  disabled?: any;
@@ -37,12 +37,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
37
37
  icon?: any;
38
38
  titleClass?: any;
39
39
  }>>> & {
40
- "onItem-click"?: ((...args: any[]) => any) | undefined;
41
40
  onChange?: ((...args: any[]) => any) | undefined;
42
- onReset?: ((...args: any[]) => any) | undefined;
43
41
  onClick?: ((...args: any[]) => any) | undefined;
44
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
45
42
  onClose?: ((...args: any[]) => any) | undefined;
43
+ onReset?: ((...args: any[]) => any) | undefined;
44
+ "onItem-click"?: ((...args: any[]) => any) | undefined;
45
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
46
46
  onConfirm?: ((...args: any[]) => any) | undefined;
47
47
  onOpen?: ((...args: any[]) => any) | undefined;
48
48
  onClosed?: ((...args: any[]) => any) | undefined;
package/src/pc.vue.d.ts CHANGED
@@ -24,7 +24,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
24
24
  appendToBody?: any;
25
25
  tip?: any;
26
26
  tipPosition?: any;
27
- }>, IDropdownItemApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "change" | "item-click" | "update:modelValue" | "close" | "reset" | "open" | "closed" | "opened")[], "confirm" | "change" | "item-click" | "update:modelValue" | "close" | "reset" | "open" | "closed" | "opened", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
27
+ }>, IDropdownItemApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("item-click" | "change" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened")[], "item-click" | "change" | "close" | "reset" | "confirm" | "update:modelValue" | "open" | "closed" | "opened", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
28
28
  type?: any;
29
29
  label?: any;
30
30
  title?: any;
@@ -50,11 +50,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
50
50
  tip?: any;
51
51
  tipPosition?: any;
52
52
  }>>> & {
53
- "onItem-click"?: ((...args: any[]) => any) | undefined;
54
53
  onChange?: ((...args: any[]) => any) | undefined;
54
+ onClose?: ((...args: any[]) => any) | undefined;
55
55
  onReset?: ((...args: any[]) => any) | undefined;
56
+ "onItem-click"?: ((...args: any[]) => any) | undefined;
56
57
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
57
- onClose?: ((...args: any[]) => any) | undefined;
58
58
  onConfirm?: ((...args: any[]) => any) | undefined;
59
59
  onOpen?: ((...args: any[]) => any) | undefined;
60
60
  onClosed?: ((...args: any[]) => any) | undefined;