@opentinyvue/vue-dropdown 3.26.0 → 3.27.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 +4 -0
- package/lib/pc.js +4 -0
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -106,6 +106,10 @@ var dropdownProps = _extends({}, $props, {
|
|
|
106
106
|
var Dropdown = defineComponent({
|
|
107
107
|
name: $prefix + "Dropdown",
|
|
108
108
|
componentName: "TinyDropdown",
|
|
109
|
+
model: {
|
|
110
|
+
prop: "visible",
|
|
111
|
+
event: "update:visible"
|
|
112
|
+
},
|
|
109
113
|
props: dropdownProps,
|
|
110
114
|
setup: function setup(props, context) {
|
|
111
115
|
return $setup({
|
package/lib/pc.js
CHANGED
|
@@ -18,6 +18,10 @@ import { iconDownWard } from "@opentinyvue/vue-icon";
|
|
|
18
18
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
19
19
|
name: $prefix + "Dropdown",
|
|
20
20
|
componentName: "TinyDropdown",
|
|
21
|
+
model: {
|
|
22
|
+
prop: "visible",
|
|
23
|
+
event: "update:visible"
|
|
24
|
+
},
|
|
21
25
|
components: {
|
|
22
26
|
TinyButton: Button,
|
|
23
27
|
TinyButtonGroup: ButtonGroup,
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-dropdown",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.27.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"module": "./lib/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opentinyvue/vue-button": "~3.
|
|
12
|
-
"@opentinyvue/vue-button-group": "~3.
|
|
13
|
-
"@opentinyvue/vue-common": "~3.
|
|
14
|
-
"@opentinyvue/vue-directive": "~3.
|
|
15
|
-
"@opentinyvue/vue-dropdown-menu": "~3.
|
|
16
|
-
"@opentinyvue/vue-icon": "~3.
|
|
17
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
18
|
-
"@opentinyvue/vue-theme": "~3.
|
|
11
|
+
"@opentinyvue/vue-button": "~3.27.0",
|
|
12
|
+
"@opentinyvue/vue-button-group": "~3.27.0",
|
|
13
|
+
"@opentinyvue/vue-common": "~3.27.0",
|
|
14
|
+
"@opentinyvue/vue-directive": "~3.27.0",
|
|
15
|
+
"@opentinyvue/vue-dropdown-menu": "~3.27.0",
|
|
16
|
+
"@opentinyvue/vue-icon": "~3.27.0",
|
|
17
|
+
"@opentinyvue/vue-renderless": "~3.27.0",
|
|
18
|
+
"@opentinyvue/vue-theme": "~3.27.0"
|
|
19
19
|
},
|
|
20
20
|
"types": "index.d.ts",
|
|
21
21
|
"scripts": {
|