Socket
Socket
Sign inDemoInstall

@opentiny/vue-dropdown-item

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-dropdown-item - npm Package Compare versions

Comparing version 3.12.0 to 3.13.0-alpha.0

21

lib/index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc