@opentiny/vue-dropdown-item 3.16.0 → 3.16.1-prod.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 +8 -12
- package/lib/mobile-first.js +20 -29
- package/lib/mobile.js +20 -29
- package/lib/pc.js +84 -105
- package/package.json +11 -12
- package/src/index.d.ts +10 -10
- package/src/mobile-first.vue.d.ts +3 -3
- package/src/mobile.vue.d.ts +8 -8
- package/src/pc.vue.d.ts +22 -22
package/lib/index.js
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
function _extends() {
|
|
2
|
-
_extends = Object.assign ? Object.assign.bind() : function(
|
|
3
|
-
for (var
|
|
4
|
-
var
|
|
5
|
-
for (var
|
|
6
|
-
|
|
7
|
-
target[key] = source[key];
|
|
8
|
-
}
|
|
9
|
-
}
|
|
2
|
+
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
3
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
4
|
+
var t = arguments[e];
|
|
5
|
+
for (var r in t)
|
|
6
|
+
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
10
7
|
}
|
|
11
|
-
return
|
|
12
|
-
};
|
|
13
|
-
return _extends.apply(this, arguments);
|
|
8
|
+
return n;
|
|
9
|
+
}, _extends.apply(null, arguments);
|
|
14
10
|
}
|
|
15
11
|
import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common";
|
|
16
12
|
import PcTemplate from "./pc.js";
|
|
@@ -119,7 +115,7 @@ var DropdownItem = defineComponent({
|
|
|
119
115
|
});
|
|
120
116
|
}
|
|
121
117
|
});
|
|
122
|
-
var version = "3.16.0";
|
|
118
|
+
var version = "3.16.1-prod.0";
|
|
123
119
|
DropdownItem.model = {
|
|
124
120
|
prop: "modelValue",
|
|
125
121
|
event: "update:modelValue"
|
package/lib/mobile-first.js
CHANGED
|
@@ -2,41 +2,32 @@ import { defineComponent, props, setup } from '@opentiny/vue-common';
|
|
|
2
2
|
import { renderless, api } from '@opentiny/vue-renderless/dropdown-item/mf';
|
|
3
3
|
import { openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot } from 'vue';
|
|
4
4
|
|
|
5
|
-
function _createForOfIteratorHelperLoose(
|
|
6
|
-
var
|
|
7
|
-
if (
|
|
8
|
-
return (
|
|
9
|
-
if (Array.isArray(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var i = 0;
|
|
5
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
6
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
7
|
+
if (t)
|
|
8
|
+
return (t = t.call(r)).next.bind(t);
|
|
9
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
10
|
+
t && (r = t);
|
|
11
|
+
var o = 0;
|
|
13
12
|
return function() {
|
|
14
|
-
|
|
15
|
-
return { done: true };
|
|
16
|
-
return { done: false, value: o[i++] };
|
|
13
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
17
14
|
};
|
|
18
15
|
}
|
|
19
16
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
20
17
|
}
|
|
21
|
-
function _unsupportedIterableToArray(
|
|
22
|
-
if (
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
n = o.constructor.name;
|
|
29
|
-
if (n === "Map" || n === "Set")
|
|
30
|
-
return Array.from(o);
|
|
31
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
32
|
-
return _arrayLikeToArray(o, minLen);
|
|
18
|
+
function _unsupportedIterableToArray(r, a) {
|
|
19
|
+
if (r) {
|
|
20
|
+
if ("string" == typeof r)
|
|
21
|
+
return _arrayLikeToArray(r, a);
|
|
22
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
23
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
24
|
+
}
|
|
33
25
|
}
|
|
34
|
-
function _arrayLikeToArray(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
return arr2;
|
|
26
|
+
function _arrayLikeToArray(r, a) {
|
|
27
|
+
(null == a || a > r.length) && (a = r.length);
|
|
28
|
+
for (var e = 0, n = Array(a); e < a; e++)
|
|
29
|
+
n[e] = r[e];
|
|
30
|
+
return n;
|
|
40
31
|
}
|
|
41
32
|
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
42
33
|
var target = sfc.__vccOpts || sfc;
|
package/lib/mobile.js
CHANGED
|
@@ -7,41 +7,32 @@ import Clickoutside from '@opentiny/vue-renderless/common/deps/clickoutside';
|
|
|
7
7
|
import '@opentiny/vue-theme-mobile/dropdown-item/index.css';
|
|
8
8
|
import { resolveComponent, resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, normalizeStyle, createVNode, withCtx, renderSlot, Fragment, renderList, createElementVNode, createBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, createTextVNode, vShow } from 'vue';
|
|
9
9
|
|
|
10
|
-
function _createForOfIteratorHelperLoose(
|
|
11
|
-
var
|
|
12
|
-
if (
|
|
13
|
-
return (
|
|
14
|
-
if (Array.isArray(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var i = 0;
|
|
10
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
11
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
12
|
+
if (t)
|
|
13
|
+
return (t = t.call(r)).next.bind(t);
|
|
14
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
15
|
+
t && (r = t);
|
|
16
|
+
var o = 0;
|
|
18
17
|
return function() {
|
|
19
|
-
|
|
20
|
-
return { done: true };
|
|
21
|
-
return { done: false, value: o[i++] };
|
|
18
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
22
19
|
};
|
|
23
20
|
}
|
|
24
21
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
25
22
|
}
|
|
26
|
-
function _unsupportedIterableToArray(
|
|
27
|
-
if (
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
n = o.constructor.name;
|
|
34
|
-
if (n === "Map" || n === "Set")
|
|
35
|
-
return Array.from(o);
|
|
36
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
37
|
-
return _arrayLikeToArray(o, minLen);
|
|
23
|
+
function _unsupportedIterableToArray(r, a) {
|
|
24
|
+
if (r) {
|
|
25
|
+
if ("string" == typeof r)
|
|
26
|
+
return _arrayLikeToArray(r, a);
|
|
27
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
28
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
29
|
+
}
|
|
38
30
|
}
|
|
39
|
-
function _arrayLikeToArray(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
return arr2;
|
|
31
|
+
function _arrayLikeToArray(r, a) {
|
|
32
|
+
(null == a || a > r.length) && (a = r.length);
|
|
33
|
+
for (var e = 0, n = Array(a); e < a; e++)
|
|
34
|
+
n[e] = r[e];
|
|
35
|
+
return n;
|
|
45
36
|
}
|
|
46
37
|
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
47
38
|
var target = sfc.__vccOpts || sfc;
|
package/lib/pc.js
CHANGED
|
@@ -1,45 +1,35 @@
|
|
|
1
1
|
import { defineComponent, $prefix, props, 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';
|
|
5
4
|
import '@opentiny/vue-theme/dropdown-item/index.css';
|
|
6
|
-
import { resolveComponent, openBlock,
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withModifiers, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString, Fragment, renderList, withCtx } from 'vue';
|
|
7
6
|
|
|
8
|
-
function _createForOfIteratorHelperLoose(
|
|
9
|
-
var
|
|
10
|
-
if (
|
|
11
|
-
return (
|
|
12
|
-
if (Array.isArray(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var i = 0;
|
|
7
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
8
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
9
|
+
if (t)
|
|
10
|
+
return (t = t.call(r)).next.bind(t);
|
|
11
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
12
|
+
t && (r = t);
|
|
13
|
+
var o = 0;
|
|
16
14
|
return function() {
|
|
17
|
-
|
|
18
|
-
return { done: true };
|
|
19
|
-
return { done: false, value: o[i++] };
|
|
15
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
20
16
|
};
|
|
21
17
|
}
|
|
22
18
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
23
19
|
}
|
|
24
|
-
function _unsupportedIterableToArray(
|
|
25
|
-
if (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
n = o.constructor.name;
|
|
32
|
-
if (n === "Map" || n === "Set")
|
|
33
|
-
return Array.from(o);
|
|
34
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
35
|
-
return _arrayLikeToArray(o, minLen);
|
|
20
|
+
function _unsupportedIterableToArray(r, a) {
|
|
21
|
+
if (r) {
|
|
22
|
+
if ("string" == typeof r)
|
|
23
|
+
return _arrayLikeToArray(r, a);
|
|
24
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
25
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
26
|
+
}
|
|
36
27
|
}
|
|
37
|
-
function _arrayLikeToArray(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
return arr2;
|
|
28
|
+
function _arrayLikeToArray(r, a) {
|
|
29
|
+
(null == a || a > r.length) && (a = r.length);
|
|
30
|
+
for (var e = 0, n = Array(a); e < a; e++)
|
|
31
|
+
n[e] = r[e];
|
|
32
|
+
return n;
|
|
43
33
|
}
|
|
44
34
|
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
45
35
|
var target = sfc.__vccOpts || sfc;
|
|
@@ -75,8 +65,7 @@ var _sfc_main = defineComponent({
|
|
|
75
65
|
"tipPosition"
|
|
76
66
|
]),
|
|
77
67
|
components: {
|
|
78
|
-
IconDeltaLeft: iconDeltaLeft()
|
|
79
|
-
TinyTooltip: Tooltip
|
|
68
|
+
IconDeltaLeft: iconDeltaLeft()
|
|
80
69
|
},
|
|
81
70
|
setup: function setup$1(props2, context) {
|
|
82
71
|
return setup({
|
|
@@ -103,79 +92,69 @@ var _hoisted_5 = {
|
|
|
103
92
|
};
|
|
104
93
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
105
94
|
var _component_tiny_dropdown_item = resolveComponent("tiny-dropdown-item");
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"tip-position": item.tipPosition
|
|
159
|
-
}, {
|
|
160
|
-
default: withCtx(function() {
|
|
161
|
-
return [renderSlot(_ctx.$slots, "default", {
|
|
162
|
-
itemData: item
|
|
163
|
-
})];
|
|
164
|
-
}),
|
|
165
|
-
_: 2
|
|
166
|
-
/* DYNAMIC */
|
|
167
|
-
}, 1032, ["label", "item-data", "icon", "disabled", "divided", "tip", "tip-position"]);
|
|
95
|
+
return openBlock(), createElementBlock("li", {
|
|
96
|
+
class: normalizeClass(["tiny-dropdown-item tiny-dropdown-menu__item", {
|
|
97
|
+
"is-disabled": _ctx.disabled,
|
|
98
|
+
"tiny-dropdown-item--divided tiny-dropdown-menu__item--divided": _ctx.divided,
|
|
99
|
+
"tiny-dropdown-item--check-status": _ctx.state.checkedStatus && _ctx.selected,
|
|
100
|
+
"has-children": _ctx.itemData.children && _ctx.itemData.children.length
|
|
101
|
+
}]),
|
|
102
|
+
ref: "dropdownItem",
|
|
103
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(function() {
|
|
104
|
+
return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
|
|
105
|
+
}, ["stop"])),
|
|
106
|
+
onMousedown: _cache[1] || (_cache[1] = withModifiers(function() {
|
|
107
|
+
}, ["stop"])),
|
|
108
|
+
"aria-disabled": _ctx.disabled,
|
|
109
|
+
tabindex: _ctx.disabled ? null : -1
|
|
110
|
+
}, [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), {
|
|
111
|
+
key: 0,
|
|
112
|
+
class: "tiny-svg-size"
|
|
113
|
+
})) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "default", {
|
|
114
|
+
itemData: _ctx.itemData
|
|
115
|
+
}, function() {
|
|
116
|
+
return [createElementVNode(
|
|
117
|
+
"span",
|
|
118
|
+
null,
|
|
119
|
+
toDisplayString(_ctx.label),
|
|
120
|
+
1
|
|
121
|
+
/* TEXT */
|
|
122
|
+
)];
|
|
123
|
+
})])]), _ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock(
|
|
124
|
+
"ul",
|
|
125
|
+
{
|
|
126
|
+
key: 1,
|
|
127
|
+
class: normalizeClass(["tiny-dropdown-menu", "tiny-dropdown-item--child tiny-dropdown-menu__item--child", _ctx.state.popperClass])
|
|
128
|
+
},
|
|
129
|
+
[(openBlock(true), createElementBlock(
|
|
130
|
+
Fragment,
|
|
131
|
+
null,
|
|
132
|
+
renderList(_ctx.itemData.children, function(item, index) {
|
|
133
|
+
return openBlock(), createBlock(_component_tiny_dropdown_item, {
|
|
134
|
+
key: index,
|
|
135
|
+
label: item[_ctx.state.textField],
|
|
136
|
+
"item-data": item,
|
|
137
|
+
icon: item.icon,
|
|
138
|
+
disabled: item.disabled,
|
|
139
|
+
divided: item.divided,
|
|
140
|
+
tip: item.tip,
|
|
141
|
+
"tip-position": item.tipPosition
|
|
142
|
+
}, {
|
|
143
|
+
default: withCtx(function() {
|
|
144
|
+
return [renderSlot(_ctx.$slots, "default", {
|
|
145
|
+
itemData: item
|
|
146
|
+
})];
|
|
168
147
|
}),
|
|
169
|
-
|
|
170
|
-
/*
|
|
171
|
-
)
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
/*
|
|
178
|
-
|
|
148
|
+
_: 2
|
|
149
|
+
/* DYNAMIC */
|
|
150
|
+
}, 1032, ["label", "item-data", "icon", "disabled", "divided", "tip", "tip-position"]);
|
|
151
|
+
}),
|
|
152
|
+
128
|
|
153
|
+
/* KEYED_FRAGMENT */
|
|
154
|
+
))],
|
|
155
|
+
2
|
|
156
|
+
/* CLASS */
|
|
157
|
+
)) : createCommentVNode("v-if", true)])], 42, _hoisted_1);
|
|
179
158
|
}
|
|
180
159
|
var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
181
160
|
|
package/package.json
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-dropdown-item",
|
|
3
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "3.16.1-prod.0",
|
|
4
5
|
"description": "",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"sideEffects": false,
|
|
5
8
|
"main": "./lib/index.js",
|
|
6
9
|
"module": "./lib/index.js",
|
|
7
|
-
"sideEffects": false,
|
|
8
|
-
"type": "module",
|
|
9
10
|
"dependencies": {
|
|
10
|
-
"@opentiny/vue-
|
|
11
|
-
"@opentiny/vue-
|
|
12
|
-
"@opentiny/vue-
|
|
13
|
-
"@opentiny/vue-popup": "~3.16.0",
|
|
14
|
-
"@opentiny/vue-
|
|
15
|
-
"@opentiny/vue-
|
|
16
|
-
"@opentiny/vue-theme-mobile": "~3.16.0"
|
|
17
|
-
"@opentiny/vue-theme": "~3.16.0"
|
|
11
|
+
"@opentiny/vue-button": "~3.16.1-prod.0",
|
|
12
|
+
"@opentiny/vue-common": "~3.16.1-prod.0",
|
|
13
|
+
"@opentiny/vue-icon": "~3.16.1-prod.0",
|
|
14
|
+
"@opentiny/vue-popup": "~3.16.1-prod.0",
|
|
15
|
+
"@opentiny/vue-renderless": "~3.16.1-prod.0",
|
|
16
|
+
"@opentiny/vue-theme": "~3.16.1-prod.0",
|
|
17
|
+
"@opentiny/vue-theme-mobile": "~3.16.1-prod.0"
|
|
18
18
|
},
|
|
19
|
-
"license": "MIT",
|
|
20
19
|
"types": "index.d.ts",
|
|
21
20
|
"scripts": {
|
|
22
21
|
"build": "pnpm -w build:ui $npm_package_name",
|
package/src/index.d.ts
CHANGED
|
@@ -23,11 +23,11 @@ export declare const dropdownItemProps: {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
icon: (
|
|
26
|
+
icon: (ObjectConstructor | StringConstructor)[];
|
|
27
27
|
disabled: BooleanConstructor;
|
|
28
28
|
divided: BooleanConstructor;
|
|
29
29
|
itemData: {
|
|
30
|
-
type: (
|
|
30
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
title: StringConstructor;
|
|
@@ -94,11 +94,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
96
|
};
|
|
97
|
-
icon: (
|
|
97
|
+
icon: (ObjectConstructor | StringConstructor)[];
|
|
98
98
|
disabled: BooleanConstructor;
|
|
99
99
|
divided: BooleanConstructor;
|
|
100
100
|
itemData: {
|
|
101
|
-
type: (
|
|
101
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
102
102
|
default: string;
|
|
103
103
|
};
|
|
104
104
|
title: StringConstructor;
|
|
@@ -166,11 +166,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
166
166
|
};
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
|
-
icon: (
|
|
169
|
+
icon: (ObjectConstructor | StringConstructor)[];
|
|
170
170
|
disabled: BooleanConstructor;
|
|
171
171
|
divided: BooleanConstructor;
|
|
172
172
|
itemData: {
|
|
173
|
-
type: (
|
|
173
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
174
174
|
default: string;
|
|
175
175
|
};
|
|
176
176
|
title: StringConstructor;
|
|
@@ -233,15 +233,15 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
233
233
|
disabled: boolean;
|
|
234
234
|
tiny_mode_root: boolean;
|
|
235
235
|
_constants: Record<string, any>;
|
|
236
|
-
multiStage: boolean;
|
|
237
236
|
options: unknown[];
|
|
238
|
-
|
|
239
|
-
divided: boolean;
|
|
237
|
+
multiStage: boolean;
|
|
240
238
|
itemData: string | Record<string, any>;
|
|
241
|
-
selectedField: string;
|
|
242
239
|
currentIndex: number;
|
|
243
240
|
tooltipContent: string;
|
|
241
|
+
divided: boolean;
|
|
242
|
+
selectedField: string;
|
|
244
243
|
appendToBody: boolean;
|
|
244
|
+
textField: string;
|
|
245
245
|
tip: string | Function;
|
|
246
246
|
tipPosition: string;
|
|
247
247
|
}, {}>;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
14
14
|
level?: any;
|
|
15
15
|
currentIndex?: any;
|
|
16
16
|
tooltipContent?: any;
|
|
17
|
-
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("
|
|
17
|
+
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset")[], "update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
18
18
|
label?: any;
|
|
19
19
|
selected?: any;
|
|
20
20
|
disabled?: any;
|
|
@@ -34,10 +34,10 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
34
34
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
35
35
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
36
36
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
38
37
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
|
|
38
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
40
39
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
41
41
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}, {
|
|
43
43
|
readonly label?: any;
|
package/src/mobile.vue.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
10
10
|
tiny_theme?: any;
|
|
11
11
|
tiny_chart_theme?: any;
|
|
12
12
|
modelValue?: any;
|
|
13
|
-
options?: any;
|
|
14
13
|
icon?: any;
|
|
15
14
|
titleClass?: any;
|
|
15
|
+
options?: any;
|
|
16
16
|
}>, {
|
|
17
17
|
t: (this: any, path: any, options?: any) => any;
|
|
18
18
|
vm: any;
|
|
@@ -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, ("
|
|
24
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset" | "item-click" | "click")[], "update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset" | "item-click" | "click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
25
25
|
type?: any;
|
|
26
26
|
title?: any;
|
|
27
27
|
disabled?: any;
|
|
@@ -33,20 +33,20 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
33
33
|
tiny_theme?: any;
|
|
34
34
|
tiny_chart_theme?: any;
|
|
35
35
|
modelValue?: any;
|
|
36
|
-
options?: any;
|
|
37
36
|
icon?: any;
|
|
38
37
|
titleClass?: any;
|
|
38
|
+
options?: any;
|
|
39
39
|
}>>> & {
|
|
40
40
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
41
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
42
41
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
43
42
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
|
|
45
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
46
44
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
47
|
-
|
|
45
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
48
46
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
49
48
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
readonly type?: any;
|
|
52
52
|
readonly title?: any;
|
|
@@ -59,8 +59,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
59
59
|
readonly tiny_theme?: any;
|
|
60
60
|
readonly tiny_chart_theme?: any;
|
|
61
61
|
readonly modelValue?: any;
|
|
62
|
-
readonly options?: any;
|
|
63
62
|
readonly icon?: any;
|
|
64
63
|
readonly titleClass?: any;
|
|
64
|
+
readonly options?: any;
|
|
65
65
|
}, {}>;
|
|
66
66
|
export default _default;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -12,19 +12,19 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
12
12
|
_constants?: any;
|
|
13
13
|
tiny_theme?: any;
|
|
14
14
|
tiny_chart_theme?: any;
|
|
15
|
-
multiStage?: any;
|
|
16
|
-
options?: any;
|
|
17
|
-
textField?: any;
|
|
18
15
|
icon?: any;
|
|
19
|
-
divided?: any;
|
|
20
|
-
itemData?: any;
|
|
21
16
|
titleClass?: any;
|
|
22
|
-
|
|
17
|
+
options?: any;
|
|
18
|
+
multiStage?: any;
|
|
19
|
+
itemData?: any;
|
|
23
20
|
currentIndex?: any;
|
|
21
|
+
divided?: any;
|
|
22
|
+
selectedField?: any;
|
|
24
23
|
appendToBody?: any;
|
|
24
|
+
textField?: any;
|
|
25
25
|
tip?: any;
|
|
26
26
|
tipPosition?: any;
|
|
27
|
-
}>, IDropdownItemApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("
|
|
27
|
+
}>, IDropdownItemApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset" | "item-click")[], "update:modelValue" | "change" | "closed" | "open" | "opened" | "close" | "confirm" | "reset" | "item-click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
28
28
|
type?: any;
|
|
29
29
|
label?: any;
|
|
30
30
|
title?: any;
|
|
@@ -37,28 +37,28 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
37
37
|
_constants?: any;
|
|
38
38
|
tiny_theme?: any;
|
|
39
39
|
tiny_chart_theme?: any;
|
|
40
|
-
multiStage?: any;
|
|
41
|
-
options?: any;
|
|
42
|
-
textField?: any;
|
|
43
40
|
icon?: any;
|
|
44
|
-
divided?: any;
|
|
45
|
-
itemData?: any;
|
|
46
41
|
titleClass?: any;
|
|
47
|
-
|
|
42
|
+
options?: any;
|
|
43
|
+
multiStage?: any;
|
|
44
|
+
itemData?: any;
|
|
48
45
|
currentIndex?: any;
|
|
46
|
+
divided?: any;
|
|
47
|
+
selectedField?: any;
|
|
49
48
|
appendToBody?: any;
|
|
49
|
+
textField?: any;
|
|
50
50
|
tip?: any;
|
|
51
51
|
tipPosition?: any;
|
|
52
52
|
}>>> & {
|
|
53
53
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
54
54
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
55
55
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
56
|
-
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
58
56
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
59
|
-
|
|
57
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
60
58
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
61
60
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
readonly type?: any;
|
|
64
64
|
readonly label?: any;
|
|
@@ -72,16 +72,16 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
72
72
|
readonly _constants?: any;
|
|
73
73
|
readonly tiny_theme?: any;
|
|
74
74
|
readonly tiny_chart_theme?: any;
|
|
75
|
-
readonly multiStage?: any;
|
|
76
|
-
readonly options?: any;
|
|
77
|
-
readonly textField?: any;
|
|
78
75
|
readonly icon?: any;
|
|
79
|
-
readonly divided?: any;
|
|
80
|
-
readonly itemData?: any;
|
|
81
76
|
readonly titleClass?: any;
|
|
82
|
-
readonly
|
|
77
|
+
readonly options?: any;
|
|
78
|
+
readonly multiStage?: any;
|
|
79
|
+
readonly itemData?: any;
|
|
83
80
|
readonly currentIndex?: any;
|
|
81
|
+
readonly divided?: any;
|
|
82
|
+
readonly selectedField?: any;
|
|
84
83
|
readonly appendToBody?: any;
|
|
84
|
+
readonly textField?: any;
|
|
85
85
|
readonly tip?: any;
|
|
86
86
|
readonly tipPosition?: any;
|
|
87
87
|
}, {}>;
|