@opentiny/vue-dropdown-item 2.9.0 → 2.11.0-alpha.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 +69 -62
- package/lib/mobile-first.js +3 -7
- package/lib/mobile.js +3 -3
- package/lib/pc.js +18 -6
- package/package.json +8 -6
- package/src/index.d.ts +44 -106
- package/src/mobile-first.vue.d.ts +2 -12
- package/src/mobile.vue.d.ts +2 -30
- package/src/pc.vue.d.ts +2 -30
package/lib/index.js
CHANGED
|
@@ -12,7 +12,7 @@ function _extends() {
|
|
|
12
12
|
};
|
|
13
13
|
return _extends.apply(this, arguments);
|
|
14
14
|
}
|
|
15
|
-
import { defineComponent, $prefix, $
|
|
15
|
+
import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common";
|
|
16
16
|
import PcTemplate from "./pc.js";
|
|
17
17
|
import MobileTemplate from "./mobile.js";
|
|
18
18
|
import MobileFirstTemplate from "./mobile-first.js";
|
|
@@ -33,69 +33,76 @@ var $constants = {
|
|
|
33
33
|
leftWardArrow: "icon-delta-left"
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
|
+
var dropdownItemProps = _extends({}, $props, {
|
|
37
|
+
_constants: {
|
|
38
|
+
type: Object,
|
|
39
|
+
default: function _default() {
|
|
40
|
+
return $constants;
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
icon: [String, Object],
|
|
44
|
+
disabled: Boolean,
|
|
45
|
+
divided: Boolean,
|
|
46
|
+
itemData: {
|
|
47
|
+
type: [String, Object],
|
|
48
|
+
default: ""
|
|
49
|
+
},
|
|
50
|
+
title: String,
|
|
51
|
+
label: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: ""
|
|
54
|
+
},
|
|
55
|
+
level: String,
|
|
56
|
+
titleClass: String,
|
|
57
|
+
options: {
|
|
58
|
+
type: Array,
|
|
59
|
+
default: function _default2() {
|
|
60
|
+
return [];
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
type: {
|
|
64
|
+
type: String,
|
|
65
|
+
default: "selection"
|
|
66
|
+
},
|
|
67
|
+
selected: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: false
|
|
70
|
+
},
|
|
71
|
+
selectedField: {
|
|
72
|
+
type: String,
|
|
73
|
+
default: "selected"
|
|
74
|
+
},
|
|
75
|
+
multiStage: {
|
|
76
|
+
type: Boolean,
|
|
77
|
+
default: false
|
|
78
|
+
},
|
|
79
|
+
currentIndex: {
|
|
80
|
+
type: Number,
|
|
81
|
+
default: function _default3() {
|
|
82
|
+
return -1;
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
appendToBody: {
|
|
86
|
+
type: Boolean,
|
|
87
|
+
default: true
|
|
88
|
+
},
|
|
89
|
+
textField: {
|
|
90
|
+
type: String,
|
|
91
|
+
default: "label"
|
|
92
|
+
},
|
|
93
|
+
tip: {
|
|
94
|
+
type: [String, Function],
|
|
95
|
+
default: ""
|
|
96
|
+
},
|
|
97
|
+
tipPosition: {
|
|
98
|
+
type: String,
|
|
99
|
+
default: "right"
|
|
100
|
+
}
|
|
101
|
+
});
|
|
36
102
|
var DropdownItem = defineComponent({
|
|
37
103
|
name: $prefix + "DropdownItem",
|
|
38
104
|
componentName: "TinyDropdownItem",
|
|
39
|
-
props:
|
|
40
|
-
_constants: {
|
|
41
|
-
type: Object,
|
|
42
|
-
default: function _default() {
|
|
43
|
-
return $constants;
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
icon: [String, Object],
|
|
47
|
-
disabled: Boolean,
|
|
48
|
-
divided: Boolean,
|
|
49
|
-
command: {},
|
|
50
|
-
title: String,
|
|
51
|
-
titleClass: String,
|
|
52
|
-
options: {
|
|
53
|
-
type: Array,
|
|
54
|
-
default: function _default2() {
|
|
55
|
-
return [];
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
type: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: "selection"
|
|
61
|
-
},
|
|
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
|
-
selected: {
|
|
81
|
-
type: Boolean,
|
|
82
|
-
default: false
|
|
83
|
-
},
|
|
84
|
-
selectedField: {
|
|
85
|
-
type: String,
|
|
86
|
-
default: "selected"
|
|
87
|
-
},
|
|
88
|
-
multiStage: {
|
|
89
|
-
type: Boolean,
|
|
90
|
-
default: false
|
|
91
|
-
},
|
|
92
|
-
currentIndex: {
|
|
93
|
-
type: Number,
|
|
94
|
-
default: function _default4() {
|
|
95
|
-
return -1;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}),
|
|
105
|
+
props: dropdownItemProps,
|
|
99
106
|
setup: function setup(props, context) {
|
|
100
107
|
return $setup({
|
|
101
108
|
props,
|
|
@@ -104,7 +111,7 @@ var DropdownItem = defineComponent({
|
|
|
104
111
|
});
|
|
105
112
|
}
|
|
106
113
|
});
|
|
107
|
-
var version = "2.
|
|
114
|
+
var version = "2.11.0-alpha.0";
|
|
108
115
|
DropdownItem.model = {
|
|
109
116
|
prop: "modelValue",
|
|
110
117
|
event: "update:modelValue"
|
package/lib/mobile-first.js
CHANGED
|
@@ -70,15 +70,11 @@ var render = function render2() {
|
|
|
70
70
|
var _h = _vm.$createElement;
|
|
71
71
|
var _c = _vm._self._c || _h;
|
|
72
72
|
return _c("li", {
|
|
73
|
-
class:
|
|
74
|
-
"text-color-text-primary active:bg-color-bg-4 visited:text-color-brand hover:bg-color-bg-4 focus:bg-color-bg-4": !_vm.disabled
|
|
75
|
-
}, {
|
|
76
|
-
"cursor-not-allowed text-color-text-disabled [&_svg]:fill-color-text-disabled": _vm.disabled
|
|
77
|
-
}, {
|
|
73
|
+
class: _vm.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", _vm.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", {
|
|
78
74
|
"text-color-brand-focus": _vm.dataStore.checkedStatus && _vm.selected
|
|
79
75
|
}, {
|
|
80
|
-
"!px-0
|
|
81
|
-
}
|
|
76
|
+
"!px-0": _vm.dataStore.multiStage
|
|
77
|
+
}),
|
|
82
78
|
attrs: {
|
|
83
79
|
"aria-disabled": _vm.disabled,
|
|
84
80
|
"tabindex": _vm.disabled ? null : -1
|
package/lib/mobile.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { renderless, api } from "@opentiny/vue-renderless/dropdown-item/vue";
|
|
2
|
-
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
|
|
2
|
+
import { defineComponent, directive, props, setup as _setup } from "@opentiny/vue-common";
|
|
3
3
|
import { iconYes } from "@opentiny/vue-icon";
|
|
4
4
|
import Popup from "@opentiny/vue-popup";
|
|
5
5
|
import Button from "@opentiny/vue-button";
|
|
@@ -60,9 +60,9 @@ function normalizeComponent(scriptExports, render, staticRenderFns, functionalTe
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
var __vue2_script = defineComponent({
|
|
63
|
-
directives: {
|
|
63
|
+
directives: directive({
|
|
64
64
|
Clickoutside
|
|
65
|
-
},
|
|
65
|
+
}),
|
|
66
66
|
props: [].concat(props, ["modelValue", "title", "disabled", "titleClass", "options", "icon", "type"]),
|
|
67
67
|
components: {
|
|
68
68
|
IconYes: iconYes(),
|
package/lib/pc.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
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
6
|
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
|
|
6
7
|
var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
|
|
@@ -60,9 +61,10 @@ var __vue2_script = defineComponent({
|
|
|
60
61
|
name: $prefix + "DropdownItem",
|
|
61
62
|
componentName: $prefix + "DropdownItem",
|
|
62
63
|
emits: ["item-click"],
|
|
63
|
-
props: [].concat(props, ["
|
|
64
|
+
props: [].concat(props, ["disabled", "divided", "icon", "itemData", "title", "titleClass", "options", "type", "label", "appendToBody", "textField", "selected", "selectedField", "multiStage", "currentIndex", "tip", "tipPosition"]),
|
|
64
65
|
components: {
|
|
65
|
-
IconDeltaLeft: iconDeltaLeft()
|
|
66
|
+
IconDeltaLeft: iconDeltaLeft(),
|
|
67
|
+
TinyTooltip: Tooltip
|
|
66
68
|
},
|
|
67
69
|
setup: function setup(props2, context) {
|
|
68
70
|
return _setup({
|
|
@@ -77,7 +79,12 @@ var render = function render2() {
|
|
|
77
79
|
var _vm = this;
|
|
78
80
|
var _h = _vm.$createElement;
|
|
79
81
|
var _c = _vm._self._c || _h;
|
|
80
|
-
return _c("
|
|
82
|
+
return _c("tiny-tooltip", {
|
|
83
|
+
attrs: {
|
|
84
|
+
"content": _vm.getTip,
|
|
85
|
+
"placement": _vm.tipPosition
|
|
86
|
+
}
|
|
87
|
+
}, [_c("li", {
|
|
81
88
|
ref: "dropdownItem",
|
|
82
89
|
staticClass: "tiny-dropdown-item tiny-dropdown-menu__item",
|
|
83
90
|
class: {
|
|
@@ -90,7 +97,10 @@ var render = function render2() {
|
|
|
90
97
|
"tabindex": _vm.disabled ? null : -1
|
|
91
98
|
},
|
|
92
99
|
on: {
|
|
93
|
-
"click":
|
|
100
|
+
"click": function click($event) {
|
|
101
|
+
$event.stopPropagation();
|
|
102
|
+
return _vm.handleClick.apply(null, arguments);
|
|
103
|
+
},
|
|
94
104
|
"mousedown": function mousedown($event) {
|
|
95
105
|
$event.stopPropagation();
|
|
96
106
|
}
|
|
@@ -120,12 +130,14 @@ var render = function render2() {
|
|
|
120
130
|
"item-data": item,
|
|
121
131
|
"icon": item.icon,
|
|
122
132
|
"disabled": item.disabled,
|
|
123
|
-
"divided": item.divided
|
|
133
|
+
"divided": item.divided,
|
|
134
|
+
"tip": item.tip,
|
|
135
|
+
"tip-position": item.tipPosition
|
|
124
136
|
}
|
|
125
137
|
}, [_vm._t("default", null, {
|
|
126
138
|
"itemData": item
|
|
127
139
|
})], 2);
|
|
128
|
-
}), 1) : _vm._e()])]);
|
|
140
|
+
}), 1) : _vm._e()])])]);
|
|
129
141
|
};
|
|
130
142
|
var staticRenderFns = [];
|
|
131
143
|
var __cssModules = {};
|
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-dropdown-item",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0-alpha.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": "~2.
|
|
10
|
-
"@opentiny/vue-icon": "~2.
|
|
11
|
-
"@opentiny/vue-renderless": "~3.
|
|
12
|
-
"@opentiny/vue-popup": "~2.
|
|
13
|
-
"@opentiny/vue-button": "~2.
|
|
10
|
+
"@opentiny/vue-common": "~2.11.0",
|
|
11
|
+
"@opentiny/vue-icon": "~2.11.0",
|
|
12
|
+
"@opentiny/vue-renderless": "~3.11.0",
|
|
13
|
+
"@opentiny/vue-popup": "~2.11.0",
|
|
14
|
+
"@opentiny/vue-button": "~2.11.0",
|
|
15
|
+
"@opentiny/vue-tooltip": "~2.11.0"
|
|
14
16
|
},
|
|
15
17
|
"license": "MIT",
|
|
16
18
|
"types": "index.d.ts",
|
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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
|
+
*/
|
|
12
|
+
export declare const $constants: {
|
|
13
|
+
ICON_MAP: {
|
|
14
|
+
leftWardArrow: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const dropdownItemProps: {
|
|
2
18
|
_constants: {
|
|
3
19
|
type: ObjectConstructor;
|
|
4
20
|
default: () => {
|
|
@@ -10,30 +26,22 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
10
26
|
icon: (ObjectConstructor | StringConstructor)[];
|
|
11
27
|
disabled: BooleanConstructor;
|
|
12
28
|
divided: BooleanConstructor;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
titleClass: StringConstructor;
|
|
16
|
-
options: {
|
|
17
|
-
type: ArrayConstructor;
|
|
18
|
-
default: () => never[];
|
|
19
|
-
};
|
|
20
|
-
type: {
|
|
21
|
-
type: StringConstructor;
|
|
29
|
+
itemData: {
|
|
30
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
22
31
|
default: string;
|
|
23
32
|
};
|
|
33
|
+
title: StringConstructor;
|
|
24
34
|
label: {
|
|
25
35
|
type: StringConstructor;
|
|
26
36
|
default: string;
|
|
27
37
|
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
38
|
+
level: StringConstructor;
|
|
39
|
+
titleClass: StringConstructor;
|
|
40
|
+
options: {
|
|
41
|
+
type: ArrayConstructor;
|
|
42
|
+
default: () => never[];
|
|
35
43
|
};
|
|
36
|
-
|
|
44
|
+
type: {
|
|
37
45
|
type: StringConstructor;
|
|
38
46
|
default: string;
|
|
39
47
|
};
|
|
@@ -53,98 +61,28 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
53
61
|
type: NumberConstructor;
|
|
54
62
|
default: () => number;
|
|
55
63
|
};
|
|
64
|
+
appendToBody: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
textField: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
tip: {
|
|
73
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
tipPosition: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
56
80
|
tiny_mode: StringConstructor;
|
|
57
81
|
tiny_mode_root: BooleanConstructor;
|
|
58
82
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
59
83
|
tiny_renderless: FunctionConstructor;
|
|
60
84
|
tiny_theme: StringConstructor;
|
|
61
85
|
tiny_chart_theme: ObjectConstructor;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
options: unknown[];
|
|
65
|
-
textField: string;
|
|
66
|
-
type: string;
|
|
67
|
-
tiny_mode_root: boolean;
|
|
68
|
-
_constants: Record<string, any>;
|
|
69
|
-
disabled: boolean;
|
|
70
|
-
appendToBody: boolean;
|
|
71
|
-
selected: boolean;
|
|
72
|
-
divided: boolean;
|
|
73
|
-
itemData: Record<string, any>;
|
|
74
|
-
selectedField: string;
|
|
75
|
-
multiStage: boolean;
|
|
76
|
-
currentIndex: number;
|
|
77
|
-
} & {
|
|
78
|
-
tiny_mode?: string | undefined;
|
|
79
|
-
title?: string | undefined;
|
|
80
|
-
tiny_template?: unknown;
|
|
81
|
-
tiny_renderless?: Function | undefined;
|
|
82
|
-
tiny_theme?: string | undefined;
|
|
83
|
-
tiny_chart_theme?: Record<string, any> | undefined;
|
|
84
|
-
icon?: unknown;
|
|
85
|
-
titleClass?: string | undefined;
|
|
86
|
-
command?: unknown;
|
|
87
|
-
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
|
|
88
|
-
label: string;
|
|
89
|
-
options: unknown[];
|
|
90
|
-
textField: string;
|
|
91
|
-
type: string;
|
|
92
|
-
tiny_mode_root: boolean;
|
|
93
|
-
_constants: Record<string, any>;
|
|
94
|
-
disabled: boolean;
|
|
95
|
-
appendToBody: boolean;
|
|
96
|
-
selected: boolean;
|
|
97
|
-
divided: boolean;
|
|
98
|
-
itemData: Record<string, any>;
|
|
99
|
-
selectedField: string;
|
|
100
|
-
multiStage: boolean;
|
|
101
|
-
currentIndex: number;
|
|
102
|
-
} & {
|
|
103
|
-
tiny_mode?: string | undefined;
|
|
104
|
-
title?: string | undefined;
|
|
105
|
-
tiny_template?: unknown;
|
|
106
|
-
tiny_renderless?: Function | undefined;
|
|
107
|
-
tiny_theme?: string | undefined;
|
|
108
|
-
tiny_chart_theme?: Record<string, any> | undefined;
|
|
109
|
-
icon?: unknown;
|
|
110
|
-
titleClass?: string | undefined;
|
|
111
|
-
command?: unknown;
|
|
112
|
-
}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
|
|
113
|
-
label: string;
|
|
114
|
-
options: unknown[];
|
|
115
|
-
textField: string;
|
|
116
|
-
type: string;
|
|
117
|
-
tiny_mode_root: boolean;
|
|
118
|
-
_constants: Record<string, any>;
|
|
119
|
-
disabled: boolean;
|
|
120
|
-
appendToBody: boolean;
|
|
121
|
-
selected: boolean;
|
|
122
|
-
divided: boolean;
|
|
123
|
-
itemData: Record<string, any>;
|
|
124
|
-
selectedField: string;
|
|
125
|
-
multiStage: boolean;
|
|
126
|
-
currentIndex: number;
|
|
127
|
-
} & {
|
|
128
|
-
tiny_mode?: string | undefined;
|
|
129
|
-
title?: string | undefined;
|
|
130
|
-
tiny_template?: unknown;
|
|
131
|
-
tiny_renderless?: Function | undefined;
|
|
132
|
-
tiny_theme?: string | undefined;
|
|
133
|
-
tiny_chart_theme?: Record<string, any> | undefined;
|
|
134
|
-
icon?: unknown;
|
|
135
|
-
titleClass?: string | undefined;
|
|
136
|
-
command?: unknown;
|
|
137
|
-
}, {
|
|
138
|
-
label: string;
|
|
139
|
-
options: unknown[];
|
|
140
|
-
textField: string;
|
|
141
|
-
type: string;
|
|
142
|
-
_constants: Record<string, any>;
|
|
143
|
-
appendToBody: boolean;
|
|
144
|
-
selected: boolean;
|
|
145
|
-
itemData: Record<string, any>;
|
|
146
|
-
selectedField: string;
|
|
147
|
-
multiStage: boolean;
|
|
148
|
-
currentIndex: number;
|
|
149
|
-
}, true>);
|
|
86
|
+
};
|
|
87
|
+
declare const _default: any;
|
|
150
88
|
export default _default;
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
}>, {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
|
|
6
|
-
[x: string]: any;
|
|
7
|
-
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
|
|
8
|
-
[x: string]: any;
|
|
9
|
-
} & {}, {
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
}, true>);
|
|
12
|
-
export default _sfc_main;
|
|
1
|
+
declare const _default: any;
|
|
2
|
+
export default _default;
|
package/src/mobile.vue.d.ts
CHANGED
|
@@ -1,30 +1,2 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
vm: any;
|
|
4
|
-
f: (props: any, attrs?: {}) => {};
|
|
5
|
-
a: (attrs: any, filters: any, include: any) => {};
|
|
6
|
-
d: (props: any) => void;
|
|
7
|
-
dp: (props: any) => void;
|
|
8
|
-
gcls: (key: any) => any;
|
|
9
|
-
m: (...cssClasses: any[]) => string;
|
|
10
|
-
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
|
|
11
|
-
[x: string]: any;
|
|
12
|
-
}>, {
|
|
13
|
-
[x: string]: any;
|
|
14
|
-
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
|
|
15
|
-
[x: string]: any;
|
|
16
|
-
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
|
|
17
|
-
t: (this: any, path: any, options?: any) => any;
|
|
18
|
-
vm: any;
|
|
19
|
-
f: (props: any, attrs?: {}) => {};
|
|
20
|
-
a: (attrs: any, filters: any, include: any) => {};
|
|
21
|
-
d: (props: any) => void;
|
|
22
|
-
dp: (props: any) => void;
|
|
23
|
-
gcls: (key: any) => any;
|
|
24
|
-
m: (...cssClasses: any[]) => string;
|
|
25
|
-
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
|
|
26
|
-
[x: string]: any;
|
|
27
|
-
} & {}, {
|
|
28
|
-
[x: string]: any;
|
|
29
|
-
}, true>);
|
|
30
|
-
export default _sfc_main;
|
|
1
|
+
declare const _default: any;
|
|
2
|
+
export default _default;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -1,30 +1,2 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
vm: any;
|
|
4
|
-
f: (props: any, attrs?: {}) => {};
|
|
5
|
-
a: (attrs: any, filters: any, include: any) => {};
|
|
6
|
-
d: (props: any) => void;
|
|
7
|
-
dp: (props: any) => void;
|
|
8
|
-
gcls: (key: any) => any;
|
|
9
|
-
m: (...cssClasses: any[]) => string;
|
|
10
|
-
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
|
|
11
|
-
[x: string]: any;
|
|
12
|
-
}>, {
|
|
13
|
-
[x: string]: any;
|
|
14
|
-
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
|
|
15
|
-
[x: string]: any;
|
|
16
|
-
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
|
|
17
|
-
t: (this: any, path: any, options?: any) => any;
|
|
18
|
-
vm: any;
|
|
19
|
-
f: (props: any, attrs?: {}) => {};
|
|
20
|
-
a: (attrs: any, filters: any, include: any) => {};
|
|
21
|
-
d: (props: any) => void;
|
|
22
|
-
dp: (props: any) => void;
|
|
23
|
-
gcls: (key: any) => any;
|
|
24
|
-
m: (...cssClasses: any[]) => string;
|
|
25
|
-
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
|
|
26
|
-
[x: string]: any;
|
|
27
|
-
} & {}, {
|
|
28
|
-
[x: string]: any;
|
|
29
|
-
}, true>);
|
|
30
|
-
export default _sfc_main;
|
|
1
|
+
declare const _default: any;
|
|
2
|
+
export default _default;
|