@opentiny/vue-dropdown-item
Advanced tools
Comparing version 3.12.0 to 3.13.0-alpha.0
@@ -20,9 +20,11 @@ function _extends() { | ||
var template = function template2(mode) { | ||
if ("pc" === (process.env.TINY_MODE || mode)) { | ||
var _process$env; | ||
var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null; | ||
if ("pc" === (tinyMode || mode)) { | ||
return PcTemplate; | ||
} | ||
if ("mobile" === (process.env.TINY_MODE || mode)) { | ||
if ("mobile" === (tinyMode || mode)) { | ||
return MobileTemplate; | ||
} | ||
if ("mobile-first" === (process.env.TINY_MODE || mode)) { | ||
if ("mobile-first" === (tinyMode || mode)) { | ||
return MobileFirstTemplate; | ||
@@ -52,6 +54,3 @@ } | ||
title: String, | ||
label: { | ||
type: String, | ||
default: "" | ||
}, | ||
label: String, | ||
level: String, | ||
@@ -65,2 +64,3 @@ titleClass: String, | ||
}, | ||
// mobile 属性,可选值 selection | filter | sort | ||
type: { | ||
@@ -70,2 +70,3 @@ type: String, | ||
}, | ||
// 是否选中,勾选状态功能 | ||
selected: { | ||
@@ -75,2 +76,3 @@ type: Boolean, | ||
}, | ||
// 暂没找到使用的地方 | ||
selectedField: { | ||
@@ -80,2 +82,3 @@ type: String, | ||
}, | ||
// 暂没找到使用的地方 | ||
multiStage: { | ||
@@ -91,3 +94,3 @@ type: Boolean, | ||
}, | ||
// tiny新增 | ||
// 以下为 tiny 新增 | ||
appendToBody: { | ||
@@ -122,3 +125,3 @@ type: Boolean, | ||
}); | ||
var version = "3.12.0"; | ||
var version = "3.13.0-alpha.0"; | ||
DropdownItem.model = { | ||
@@ -125,0 +128,0 @@ prop: "modelValue", |
@@ -55,4 +55,23 @@ import { defineComponent, $prefix, props, setup as _setup } from "@opentiny/vue-common"; | ||
componentName: $prefix + "DropdownItem", | ||
emits: ["item-click"], | ||
props: [].concat(props, ["disabled", "divided", "icon", "itemData", "title", "titleClass", "options", "type", "label", "appendToBody", "textField", "selected", "selectedField", "multiStage", "currentIndex", "tip", "tipPosition"]), | ||
emits: ["item-click", "update:modelValue", "change", "closed", "open", "opened", "close", "confirm", "reset"], | ||
props: [].concat(props, [ | ||
"disabled", | ||
"divided", | ||
"icon", | ||
"itemData", | ||
"selected", | ||
"currentIndex", | ||
"title", | ||
"titleClass", | ||
"options", | ||
"type", | ||
"label", | ||
"selectedField", | ||
"multiStage", | ||
// tiny新增 | ||
"appendToBody", | ||
"textField", | ||
"tip", | ||
"tipPosition" | ||
]), | ||
components: { | ||
@@ -97,2 +116,3 @@ IconDeltaLeft: iconDeltaLeft(), | ||
"tiny-dropdown-item--divided tiny-dropdown-menu__item--divided": _ctx.divided, | ||
"tiny-dropdown-item--check-status": _ctx.state.checkedStatus && _ctx.selected, | ||
"has-children": _ctx.itemData.children && _ctx.itemData.children.length | ||
@@ -99,0 +119,0 @@ }]), |
{ | ||
"name": "@opentiny/vue-dropdown-item", | ||
"version": "3.12.0", | ||
"version": "3.13.0-alpha.0", | ||
"description": "", | ||
@@ -10,8 +10,8 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~3.12.0", | ||
"@opentiny/vue-icon": "~3.12.0", | ||
"@opentiny/vue-renderless": "~3.12.0", | ||
"@opentiny/vue-popup": "~3.12.0", | ||
"@opentiny/vue-button": "~3.12.0", | ||
"@opentiny/vue-tooltip": "~3.12.0" | ||
"@opentiny/vue-common": "~3.13.0-alpha.0", | ||
"@opentiny/vue-icon": "~3.13.0-alpha.0", | ||
"@opentiny/vue-renderless": "~3.13.0-alpha.0", | ||
"@opentiny/vue-popup": "~3.13.0-alpha.0", | ||
"@opentiny/vue-button": "~3.13.0-alpha.0", | ||
"@opentiny/vue-tooltip": "~3.13.0-alpha.0" | ||
}, | ||
@@ -18,0 +18,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
0
100
2
25550
6
639
2
+ Added@opentiny/vue-button@3.13.0(transitive)
+ Added@opentiny/vue-common@3.13.1(transitive)
+ Added@opentiny/vue-icon@3.13.0(transitive)
+ Added@opentiny/vue-locale@3.13.0(transitive)
+ Added@opentiny/vue-popup@3.13.0(transitive)
+ Added@opentiny/vue-renderless@3.13.2(transitive)
+ Added@opentiny/vue-theme@3.13.3(transitive)
+ Added@opentiny/vue-theme-mobile@3.13.0(transitive)
+ Added@opentiny/vue-tooltip@3.13.0(transitive)
- Removed@opentiny/vue-button@3.12.0(transitive)
- Removed@opentiny/vue-common@3.12.0(transitive)
- Removed@opentiny/vue-icon@3.12.0(transitive)
- Removed@opentiny/vue-locale@3.12.0(transitive)
- Removed@opentiny/vue-popup@3.12.0(transitive)
- Removed@opentiny/vue-renderless@3.12.1(transitive)
- Removed@opentiny/vue-theme@3.12.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.12.0(transitive)
- Removed@opentiny/vue-tooltip@3.12.0(transitive)