@opentiny/vue-dropdown-item 3.11.0-alpha.2 → 3.11.1
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 +2 -1
- package/lib/mobile-first.js +11 -10
- package/lib/mobile.js +5 -5
- package/lib/pc.js +12 -9
- package/package.json +7 -7
- package/src/index.d.ts +4 -4
- package/src/mobile-first.vue.d.ts +14 -5
- package/src/mobile.vue.d.ts +7 -7
- package/src/pc.vue.d.ts +15 -15
package/lib/index.js
CHANGED
|
@@ -82,6 +82,7 @@ var dropdownItemProps = _extends({}, $props, {
|
|
|
82
82
|
return -1;
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
+
// tiny新增
|
|
85
86
|
appendToBody: {
|
|
86
87
|
type: Boolean,
|
|
87
88
|
default: true
|
|
@@ -111,7 +112,7 @@ var DropdownItem = defineComponent({
|
|
|
111
112
|
});
|
|
112
113
|
}
|
|
113
114
|
});
|
|
114
|
-
var version = "3.11.
|
|
115
|
+
var version = "3.11.1";
|
|
115
116
|
DropdownItem.model = {
|
|
116
117
|
prop: "modelValue",
|
|
117
118
|
event: "update:modelValue"
|
package/lib/mobile-first.js
CHANGED
|
@@ -5,7 +5,7 @@ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
|
|
|
5
5
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
6
6
|
if (it)
|
|
7
7
|
return (it = it.call(o)).next.bind(it);
|
|
8
|
-
if (Array.isArray(o) || (it =
|
|
8
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
9
9
|
if (it)
|
|
10
10
|
o = it;
|
|
11
11
|
var i = 0;
|
|
@@ -17,20 +17,20 @@ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
|
|
|
17
17
|
}
|
|
18
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.");
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function _unsupportedIterableToArray_tiny(o, minLen) {
|
|
21
21
|
if (!o)
|
|
22
22
|
return;
|
|
23
23
|
if (typeof o === "string")
|
|
24
|
-
return
|
|
24
|
+
return _arrayLikeToArray_tiny(o, minLen);
|
|
25
25
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
26
26
|
if (n === "Object" && o.constructor)
|
|
27
27
|
n = o.constructor.name;
|
|
28
28
|
if (n === "Map" || n === "Set")
|
|
29
29
|
return Array.from(o);
|
|
30
30
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
31
|
-
return
|
|
31
|
+
return _arrayLikeToArray_tiny(o, minLen);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function _arrayLikeToArray_tiny(arr, len) {
|
|
34
34
|
if (len == null || len > arr.length)
|
|
35
35
|
len = arr.length;
|
|
36
36
|
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
@@ -47,6 +47,7 @@ var _export_sfc = function _export_sfc2(sfc, props) {
|
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
var _sfc_main = defineComponent({
|
|
50
|
+
emits: ["update:modelValue", "change", "closed", "open", "opened", "close", "confirm", "reset"],
|
|
50
51
|
props: [].concat(props, ["disabled", "icon", "itemData", "selected", "label", "level", "currentIndex"]),
|
|
51
52
|
setup: function setup(props2, context) {
|
|
52
53
|
return _setup({
|
|
@@ -60,17 +61,16 @@ var _sfc_main = defineComponent({
|
|
|
60
61
|
var _hoisted_1 = ["aria-disabled", "tabindex"];
|
|
61
62
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62
63
|
return openBlock(), createElementBlock("li", {
|
|
64
|
+
"data-tag": "tiny-dropdown-item",
|
|
63
65
|
onMouseenter: _cache[0] || (_cache[0] = function() {
|
|
64
66
|
return _ctx.mouseEnter && _ctx.mouseEnter.apply(_ctx, arguments);
|
|
65
67
|
}),
|
|
66
68
|
onMouseleave: _cache[1] || (_cache[1] = function() {
|
|
67
69
|
return _ctx.mouseLeave && _ctx.mouseLeave.apply(_ctx, arguments);
|
|
68
70
|
}),
|
|
69
|
-
class: normalizeClass(_ctx.m("list-none leading-10 sm:leading-8
|
|
70
|
-
"text-color-brand-focus": _ctx.dataStore.checkedStatus && _ctx.selected
|
|
71
|
-
},
|
|
72
|
-
"!px-0": _ctx.dataStore.multiStage
|
|
73
|
-
})),
|
|
71
|
+
class: normalizeClass(_ctx.m("rounded-sm list-none leading-10 sm:leading-8 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-2 focus:bg-color-bg-4 cursor-pointer", {
|
|
72
|
+
"text-color-brand-focus bg-color-fill-6": _ctx.dataStore.checkedStatus && _ctx.selected
|
|
73
|
+
}, _ctx.dataStore.multiStage ? "!px-0 mb-1" : "[&:not(:last-of-type)]:mb-1")),
|
|
74
74
|
onClick: _cache[2] || (_cache[2] = withModifiers(function() {
|
|
75
75
|
return _ctx.handleClick && _ctx.handleClick.apply(_ctx, arguments);
|
|
76
76
|
}, ["stop"])),
|
|
@@ -79,6 +79,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79
79
|
}, [createElementVNode(
|
|
80
80
|
"div",
|
|
81
81
|
{
|
|
82
|
+
"data-tag": "tiny-dropdown-level",
|
|
82
83
|
ref: "level",
|
|
83
84
|
class: normalizeClass(["sm:text-xs text-sm", _ctx.level === "2" ? "mx-6 overflow-hidden text-ellipsis whitespace-nowrap" : "mx-4 sm:mx-3 overflow-hidden text-ellipsis whitespace-nowrap"])
|
|
84
85
|
},
|
package/lib/mobile.js
CHANGED
|
@@ -10,7 +10,7 @@ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
|
|
|
10
10
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
11
11
|
if (it)
|
|
12
12
|
return (it = it.call(o)).next.bind(it);
|
|
13
|
-
if (Array.isArray(o) || (it =
|
|
13
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
14
14
|
if (it)
|
|
15
15
|
o = it;
|
|
16
16
|
var i = 0;
|
|
@@ -22,20 +22,20 @@ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
|
|
|
22
22
|
}
|
|
23
23
|
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
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function _unsupportedIterableToArray_tiny(o, minLen) {
|
|
26
26
|
if (!o)
|
|
27
27
|
return;
|
|
28
28
|
if (typeof o === "string")
|
|
29
|
-
return
|
|
29
|
+
return _arrayLikeToArray_tiny(o, minLen);
|
|
30
30
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
31
31
|
if (n === "Object" && o.constructor)
|
|
32
32
|
n = o.constructor.name;
|
|
33
33
|
if (n === "Map" || n === "Set")
|
|
34
34
|
return Array.from(o);
|
|
35
35
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
36
|
-
return
|
|
36
|
+
return _arrayLikeToArray_tiny(o, minLen);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function _arrayLikeToArray_tiny(arr, len) {
|
|
39
39
|
if (len == null || len > arr.length)
|
|
40
40
|
len = arr.length;
|
|
41
41
|
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
package/lib/pc.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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
|
|
4
|
+
import TinyTooltip from "@opentiny/vue-tooltip";
|
|
5
5
|
import "@opentiny/vue-theme/dropdown-item/index.css";
|
|
6
6
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, withModifiers, createElementBlock, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString, Fragment, renderList } from "vue";
|
|
7
7
|
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
|
|
8
8
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
9
9
|
if (it)
|
|
10
10
|
return (it = it.call(o)).next.bind(it);
|
|
11
|
-
if (Array.isArray(o) || (it =
|
|
11
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
12
12
|
if (it)
|
|
13
13
|
o = it;
|
|
14
14
|
var i = 0;
|
|
@@ -20,20 +20,20 @@ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
|
|
|
20
20
|
}
|
|
21
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.");
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function _unsupportedIterableToArray_tiny(o, minLen) {
|
|
24
24
|
if (!o)
|
|
25
25
|
return;
|
|
26
26
|
if (typeof o === "string")
|
|
27
|
-
return
|
|
27
|
+
return _arrayLikeToArray_tiny(o, minLen);
|
|
28
28
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
29
29
|
if (n === "Object" && o.constructor)
|
|
30
30
|
n = o.constructor.name;
|
|
31
31
|
if (n === "Map" || n === "Set")
|
|
32
32
|
return Array.from(o);
|
|
33
33
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
34
|
-
return
|
|
34
|
+
return _arrayLikeToArray_tiny(o, minLen);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function _arrayLikeToArray_tiny(arr, len) {
|
|
37
37
|
if (len == null || len > arr.length)
|
|
38
38
|
len = arr.length;
|
|
39
39
|
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
@@ -56,7 +56,7 @@ var _sfc_main = defineComponent({
|
|
|
56
56
|
props: [].concat(props, ["disabled", "divided", "icon", "itemData", "title", "titleClass", "options", "type", "label", "appendToBody", "textField", "selected", "selectedField", "multiStage", "currentIndex", "tip", "tipPosition"]),
|
|
57
57
|
components: {
|
|
58
58
|
IconDeltaLeft: iconDeltaLeft(),
|
|
59
|
-
TinyTooltip
|
|
59
|
+
TinyTooltip
|
|
60
60
|
},
|
|
61
61
|
setup: function setup(props2, context) {
|
|
62
62
|
return _setup({
|
|
@@ -78,6 +78,9 @@ var _hoisted_3 = {
|
|
|
78
78
|
var _hoisted_4 = {
|
|
79
79
|
class: "tiny-dropdown-item__content tiny-dropdown-menu__item-content"
|
|
80
80
|
};
|
|
81
|
+
var _hoisted_5 = {
|
|
82
|
+
class: "tiny-dropdown-item__label"
|
|
83
|
+
};
|
|
81
84
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
82
85
|
var _component_tiny_dropdown_item = resolveComponent("tiny-dropdown-item");
|
|
83
86
|
var _component_tiny_tooltip = resolveComponent("tiny-tooltip");
|
|
@@ -103,7 +106,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
103
106
|
}, [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
107
|
key: 0,
|
|
105
108
|
class: "tiny-svg-size"
|
|
106
|
-
})) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {
|
|
109
|
+
})) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "default", {
|
|
107
110
|
itemData: _ctx.itemData
|
|
108
111
|
}, function() {
|
|
109
112
|
return [createElementVNode(
|
|
@@ -113,7 +116,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
113
116
|
1
|
|
114
117
|
/* TEXT */
|
|
115
118
|
)];
|
|
116
|
-
})]), _ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock(
|
|
119
|
+
})])]), _ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock(
|
|
117
120
|
"ul",
|
|
118
121
|
{
|
|
119
122
|
key: 1,
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-dropdown-item",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.1",
|
|
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.11.0
|
|
11
|
-
"@opentiny/vue-icon": "~3.11.0
|
|
12
|
-
"@opentiny/vue-renderless": "~3.11.0
|
|
13
|
-
"@opentiny/vue-popup": "~3.11.0
|
|
14
|
-
"@opentiny/vue-button": "~3.11.0
|
|
15
|
-
"@opentiny/vue-tooltip": "~3.11.0
|
|
10
|
+
"@opentiny/vue-common": "~3.11.0",
|
|
11
|
+
"@opentiny/vue-icon": "~3.11.0",
|
|
12
|
+
"@opentiny/vue-renderless": "~3.11.0",
|
|
13
|
+
"@opentiny/vue-popup": "~3.11.0",
|
|
14
|
+
"@opentiny/vue-button": "~3.11.0",
|
|
15
|
+
"@opentiny/vue-tooltip": "~3.11.0"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"types": "index.d.ts",
|
package/src/index.d.ts
CHANGED
|
@@ -229,16 +229,16 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
229
229
|
label: string;
|
|
230
230
|
selected: boolean;
|
|
231
231
|
disabled: boolean;
|
|
232
|
+
itemData: string | Record<string, any>;
|
|
232
233
|
tiny_mode_root: boolean;
|
|
233
234
|
_constants: Record<string, any>;
|
|
235
|
+
textField: string;
|
|
234
236
|
multiStage: boolean;
|
|
235
237
|
options: unknown[];
|
|
236
|
-
textField: string;
|
|
237
|
-
divided: boolean;
|
|
238
|
-
itemData: string | Record<string, any>;
|
|
239
|
-
selectedField: string;
|
|
240
238
|
currentIndex: number;
|
|
241
239
|
appendToBody: boolean;
|
|
240
|
+
divided: boolean;
|
|
241
|
+
selectedField: string;
|
|
242
242
|
tip: string | Function;
|
|
243
243
|
tipPosition: string;
|
|
244
244
|
}, {}>;
|
|
@@ -2,6 +2,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
2
2
|
label?: any;
|
|
3
3
|
selected?: any;
|
|
4
4
|
disabled?: any;
|
|
5
|
+
itemData?: any;
|
|
5
6
|
tiny_mode?: any;
|
|
6
7
|
tiny_mode_root?: any;
|
|
7
8
|
tiny_template?: any;
|
|
@@ -10,13 +11,13 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
10
11
|
tiny_theme?: any;
|
|
11
12
|
tiny_chart_theme?: any;
|
|
12
13
|
icon?: any;
|
|
13
|
-
itemData?: any;
|
|
14
14
|
level?: any;
|
|
15
15
|
currentIndex?: any;
|
|
16
|
-
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin,
|
|
16
|
+
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "change" | "update:modelValue" | "closed" | "open" | "opened" | "close" | "reset")[], "confirm" | "change" | "update:modelValue" | "closed" | "open" | "opened" | "close" | "reset", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
17
17
|
label?: any;
|
|
18
18
|
selected?: any;
|
|
19
19
|
disabled?: any;
|
|
20
|
+
itemData?: any;
|
|
20
21
|
tiny_mode?: any;
|
|
21
22
|
tiny_mode_root?: any;
|
|
22
23
|
tiny_template?: any;
|
|
@@ -25,13 +26,22 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
25
26
|
tiny_theme?: any;
|
|
26
27
|
tiny_chart_theme?: any;
|
|
27
28
|
icon?: any;
|
|
28
|
-
itemData?: any;
|
|
29
29
|
level?: any;
|
|
30
30
|
currentIndex?: any;
|
|
31
|
-
}
|
|
31
|
+
}>>> & {
|
|
32
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
onOpened?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
}, {
|
|
32
41
|
readonly label?: any;
|
|
33
42
|
readonly selected?: any;
|
|
34
43
|
readonly disabled?: any;
|
|
44
|
+
readonly itemData?: any;
|
|
35
45
|
readonly tiny_mode?: any;
|
|
36
46
|
readonly tiny_mode_root?: any;
|
|
37
47
|
readonly tiny_template?: any;
|
|
@@ -40,7 +50,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
40
50
|
readonly tiny_theme?: any;
|
|
41
51
|
readonly tiny_chart_theme?: any;
|
|
42
52
|
readonly icon?: any;
|
|
43
|
-
readonly itemData?: any;
|
|
44
53
|
readonly level?: any;
|
|
45
54
|
readonly currentIndex?: any;
|
|
46
55
|
}, {}>;
|
package/src/mobile.vue.d.ts
CHANGED
|
@@ -9,9 +9,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
9
9
|
_constants?: any;
|
|
10
10
|
tiny_theme?: any;
|
|
11
11
|
tiny_chart_theme?: any;
|
|
12
|
+
icon?: any;
|
|
12
13
|
modelValue?: any;
|
|
13
14
|
options?: any;
|
|
14
|
-
icon?: any;
|
|
15
15
|
titleClass?: any;
|
|
16
16
|
}>, {
|
|
17
17
|
t: (this: any, path: any, options?: any) => any;
|
|
@@ -22,7 +22,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
22
22
|
dp: (props: any) => void;
|
|
23
23
|
gcls: (key: any) => any;
|
|
24
24
|
m: (...cssClasses: any[]) => string;
|
|
25
|
-
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("
|
|
25
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("click" | "item-click" | "confirm" | "change" | "update:modelValue" | "closed" | "open" | "opened" | "close" | "reset")[], "click" | "item-click" | "confirm" | "change" | "update:modelValue" | "closed" | "open" | "opened" | "close" | "reset", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
|
|
26
26
|
type?: any;
|
|
27
27
|
title?: any;
|
|
28
28
|
disabled?: any;
|
|
@@ -33,21 +33,21 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
33
33
|
_constants?: any;
|
|
34
34
|
tiny_theme?: any;
|
|
35
35
|
tiny_chart_theme?: any;
|
|
36
|
+
icon?: any;
|
|
36
37
|
modelValue?: any;
|
|
37
38
|
options?: any;
|
|
38
|
-
icon?: any;
|
|
39
39
|
titleClass?: any;
|
|
40
40
|
}>>> & {
|
|
41
41
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
43
43
|
onReset?: ((...args: any[]) => any) | undefined;
|
|
44
44
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
45
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
46
45
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
47
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
48
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
49
46
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
50
48
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
readonly type?: any;
|
|
53
53
|
readonly title?: any;
|
|
@@ -59,9 +59,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
59
59
|
readonly _constants?: any;
|
|
60
60
|
readonly tiny_theme?: any;
|
|
61
61
|
readonly tiny_chart_theme?: any;
|
|
62
|
+
readonly icon?: any;
|
|
62
63
|
readonly modelValue?: any;
|
|
63
64
|
readonly options?: any;
|
|
64
|
-
readonly icon?: any;
|
|
65
65
|
readonly titleClass?: any;
|
|
66
66
|
}, {}>;
|
|
67
67
|
export default _default;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
5
5
|
title?: any;
|
|
6
6
|
selected?: any;
|
|
7
7
|
disabled?: any;
|
|
8
|
+
itemData?: any;
|
|
8
9
|
tiny_mode?: any;
|
|
9
10
|
tiny_mode_root?: any;
|
|
10
11
|
tiny_template?: any;
|
|
@@ -12,16 +13,15 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
12
13
|
_constants?: any;
|
|
13
14
|
tiny_theme?: any;
|
|
14
15
|
tiny_chart_theme?: any;
|
|
16
|
+
icon?: any;
|
|
17
|
+
textField?: any;
|
|
15
18
|
multiStage?: any;
|
|
16
19
|
options?: any;
|
|
17
|
-
textField?: any;
|
|
18
|
-
icon?: any;
|
|
19
|
-
divided?: any;
|
|
20
|
-
itemData?: any;
|
|
21
20
|
titleClass?: any;
|
|
22
|
-
selectedField?: any;
|
|
23
21
|
currentIndex?: any;
|
|
24
22
|
appendToBody?: any;
|
|
23
|
+
divided?: any;
|
|
24
|
+
selectedField?: any;
|
|
25
25
|
tip?: any;
|
|
26
26
|
tipPosition?: any;
|
|
27
27
|
}>, IDropdownItemApi, 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<{
|
|
@@ -30,6 +30,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
30
30
|
title?: any;
|
|
31
31
|
selected?: any;
|
|
32
32
|
disabled?: any;
|
|
33
|
+
itemData?: any;
|
|
33
34
|
tiny_mode?: any;
|
|
34
35
|
tiny_mode_root?: any;
|
|
35
36
|
tiny_template?: any;
|
|
@@ -37,16 +38,15 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
37
38
|
_constants?: any;
|
|
38
39
|
tiny_theme?: any;
|
|
39
40
|
tiny_chart_theme?: any;
|
|
41
|
+
icon?: any;
|
|
42
|
+
textField?: any;
|
|
40
43
|
multiStage?: any;
|
|
41
44
|
options?: any;
|
|
42
|
-
textField?: any;
|
|
43
|
-
icon?: any;
|
|
44
|
-
divided?: any;
|
|
45
|
-
itemData?: any;
|
|
46
45
|
titleClass?: any;
|
|
47
|
-
selectedField?: any;
|
|
48
46
|
currentIndex?: any;
|
|
49
47
|
appendToBody?: any;
|
|
48
|
+
divided?: any;
|
|
49
|
+
selectedField?: any;
|
|
50
50
|
tip?: any;
|
|
51
51
|
tipPosition?: any;
|
|
52
52
|
}>>> & {
|
|
@@ -57,6 +57,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
57
57
|
readonly title?: any;
|
|
58
58
|
readonly selected?: any;
|
|
59
59
|
readonly disabled?: any;
|
|
60
|
+
readonly itemData?: any;
|
|
60
61
|
readonly tiny_mode?: any;
|
|
61
62
|
readonly tiny_mode_root?: any;
|
|
62
63
|
readonly tiny_template?: any;
|
|
@@ -64,16 +65,15 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
64
65
|
readonly _constants?: any;
|
|
65
66
|
readonly tiny_theme?: any;
|
|
66
67
|
readonly tiny_chart_theme?: any;
|
|
68
|
+
readonly icon?: any;
|
|
69
|
+
readonly textField?: any;
|
|
67
70
|
readonly multiStage?: any;
|
|
68
71
|
readonly options?: any;
|
|
69
|
-
readonly textField?: any;
|
|
70
|
-
readonly icon?: any;
|
|
71
|
-
readonly divided?: any;
|
|
72
|
-
readonly itemData?: any;
|
|
73
72
|
readonly titleClass?: any;
|
|
74
|
-
readonly selectedField?: any;
|
|
75
73
|
readonly currentIndex?: any;
|
|
76
74
|
readonly appendToBody?: any;
|
|
75
|
+
readonly divided?: any;
|
|
76
|
+
readonly selectedField?: any;
|
|
77
77
|
readonly tip?: any;
|
|
78
78
|
readonly tipPosition?: any;
|
|
79
79
|
}, {}>;
|