@opentiny/vue-dropdown-item 3.12.0 → 3.13.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 +6 -4
- package/package.json +7 -7
- package/src/mobile.vue.d.ts +0 -1
package/lib/index.js
CHANGED
|
@@ -17,13 +17,15 @@ import PcTemplate from "./pc.js";
|
|
|
17
17
|
import MobileTemplate from "./mobile.js";
|
|
18
18
|
import MobileFirstTemplate from "./mobile-first.js";
|
|
19
19
|
var template = function template2(mode) {
|
|
20
|
-
|
|
20
|
+
var _process$env;
|
|
21
|
+
var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null;
|
|
22
|
+
if ("pc" === (tinyMode || mode)) {
|
|
21
23
|
return PcTemplate;
|
|
22
24
|
}
|
|
23
|
-
if ("mobile" === (
|
|
25
|
+
if ("mobile" === (tinyMode || mode)) {
|
|
24
26
|
return MobileTemplate;
|
|
25
27
|
}
|
|
26
|
-
if ("mobile-first" === (
|
|
28
|
+
if ("mobile-first" === (tinyMode || mode)) {
|
|
27
29
|
return MobileFirstTemplate;
|
|
28
30
|
}
|
|
29
31
|
return PcTemplate;
|
|
@@ -112,7 +114,7 @@ var DropdownItem = defineComponent({
|
|
|
112
114
|
});
|
|
113
115
|
}
|
|
114
116
|
});
|
|
115
|
-
var version = "3.
|
|
117
|
+
var version = "3.13.0";
|
|
116
118
|
DropdownItem.model = {
|
|
117
119
|
prop: "modelValue",
|
|
118
120
|
event: "update:modelValue"
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-dropdown-item",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.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.
|
|
11
|
-
"@opentiny/vue-icon": "~3.
|
|
12
|
-
"@opentiny/vue-renderless": "~3.
|
|
13
|
-
"@opentiny/vue-popup": "~3.
|
|
14
|
-
"@opentiny/vue-button": "~3.
|
|
15
|
-
"@opentiny/vue-tooltip": "~3.
|
|
10
|
+
"@opentiny/vue-common": "~3.13.0",
|
|
11
|
+
"@opentiny/vue-icon": "~3.13.0",
|
|
12
|
+
"@opentiny/vue-renderless": "~3.13.0",
|
|
13
|
+
"@opentiny/vue-popup": "~3.13.0",
|
|
14
|
+
"@opentiny/vue-button": "~3.13.0",
|
|
15
|
+
"@opentiny/vue-tooltip": "~3.13.0"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"types": "index.d.ts",
|
package/src/mobile.vue.d.ts
CHANGED
|
@@ -21,7 +21,6 @@ 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
|
-
m: (...cssClasses: any[]) => string;
|
|
25
24
|
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("confirm" | "item-click" | "update:modelValue" | "close" | "click" | "change" | "reset" | "open" | "closed" | "opened")[], "confirm" | "item-click" | "update:modelValue" | "close" | "click" | "change" | "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<{
|
|
26
25
|
type?: any;
|
|
27
26
|
title?: any;
|