Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-dropdown-menu

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.12.1 to 3.13.0-alpha.0

22

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;

@@ -41,6 +43,3 @@ }

},
visibleArrow: {
type: Boolean,
default: false
},
visibleArrow: Boolean,
arrowOffset: {

@@ -50,7 +49,4 @@ type: Number,

},
placement: {
type: String,
default: "bottom-end"
// aui的默认值为bottom-start
},
placement: String,
// 默认主题 'bottom-end'
popperClass: String,

@@ -111,3 +107,3 @@ popperAppendToBody: {

});
var version = "3.12.1";
var version = "3.13.0-alpha.0";
DropdownMenu.install = function(Vue) {

@@ -114,0 +110,0 @@ Vue.component(DropdownMenu.name, DropdownMenu);

@@ -55,4 +55,14 @@ import { renderless, api } from "@opentiny/vue-renderless/dropdown-menu/vue";

},
emits: ["mouseenter", "mouseleave", "created"],
props: [].concat(props, ["visibleArrow", "arrowOffset", "placement", "popperClass", "popperAppendToBody", "textField", "options"]),
emits: ["mouseenter", "mouseleave", "click", "update:modelValue", "created"],
props: [].concat(props, [
"visibleArrow",
"arrowOffset",
"placement",
"popperClass",
"popperAppendToBody",
"checkedStatus",
// tiny 新增
"textField",
"options"
]),
setup: function setup(props2, context) {

@@ -86,3 +96,5 @@ return _setup({

},
[renderSlot(_ctx.$slots, "default", {}, function() {
[renderSlot(_ctx.$slots, "default", {
selectedIndex: _ctx.state.selectedIndex
}, function() {
return [(openBlock(true), createElementBlock(

@@ -89,0 +101,0 @@ Fragment,

{
"name": "@opentiny/vue-dropdown-menu",
"version": "3.12.1",
"version": "3.13.0-alpha.0",
"description": "",

@@ -10,5 +10,6 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-renderless": "~3.12.0",
"@opentiny/vue-common": "~3.12.0",
"@opentiny/vue-icon": "~3.12.0"
"@opentiny/vue-renderless": "~3.13.0-alpha.0",
"@opentiny/vue-common": "~3.13.0-alpha.0",
"@opentiny/vue-icon": "~3.13.0-alpha.0",
"@opentiny/vue-tooltip": "~3.13.0-alpha.0"
},

@@ -15,0 +16,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