Socket
Socket
Sign inDemoInstall

@opentiny/vue-cascader-select

Package Overview
Dependencies
Maintainers
0
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-cascader-select - npm Package Compare versions

Comparing version 2.16.0 to 2.17.0

32

lib/index.js
function _extends() {
_extends = Object.assign ? Object.assign.bind() : function(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
return _extends = Object.assign ? Object.assign.bind() : function(n) {
for (var e = 1; e < arguments.length; e++) {
var t = arguments[e];
for (var r in t)
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
return target;
};
return _extends.apply(this, arguments);
return n;
}, _extends.apply(null, arguments);
}

@@ -36,3 +32,3 @@ import { $prefix, $props, $setup } from "@opentiny/vue-common";

},
options: {
defaultValue: {
type: Array,

@@ -43,2 +39,8 @@ default: function _default3() {

},
options: {
type: Array,
default: function _default4() {
return [];
}
},
threeDimensional: {

@@ -62,3 +64,3 @@ type: Boolean,

type: Object,
default: function _default4() {
default: function _default5() {
return {

@@ -91,3 +93,3 @@ text: "label",

type: Object,
default: function _default5() {
default: function _default6() {
return {

@@ -124,3 +126,3 @@ default: "",

};
var version = "2.16.0";
var version = "2.17.0";
CascaderSelect.model = {

@@ -127,0 +129,0 @@ prop: "modelValue",

@@ -62,14 +62,10 @@ import { renderless as renderless$1, api as api$1 } from '@opentiny/vue-renderless/cascader-select/vue';

function _extends() {
_extends = Object.assign ? Object.assign.bind() : function(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
return _extends = Object.assign ? Object.assign.bind() : function(n) {
for (var e = 1; e < arguments.length; e++) {
var t = arguments[e];
for (var r in t)
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
return target;
};
return _extends.apply(this, arguments);
return n;
}, _extends.apply(null, arguments);
}

@@ -92,2 +88,3 @@ var classes = {

value: [String, Number],
defaultValue: [String, Number],
columnsType: String,

@@ -124,2 +121,3 @@ column: {

disabled: Boolean,
visible: Boolean,
textColor: {

@@ -220,3 +218,3 @@ type: Object,

emits: ["cancel", "change", "confirm", "update:modelValue", "update:visible"],
props: [].concat(props, ["modelValue", "options", "threeDimensional", "swipeDuration", "visibleOptionNum", "optionHeight", "fieldNames", "visible", "valueType", "valueField", "textField", "childrenField", "disabled", "textColor", "lockScroll", "customClass", "panelCustomClass", "type"]),
props: [].concat(props, ["modelValue", "options", "threeDimensional", "swipeDuration", "visibleOptionNum", "optionHeight", "fieldNames", "visible", "valueType", "valueField", "textField", "childrenField", "disabled", "textColor", "lockScroll", "customClass", "panelCustomClass", "type", "defaultValue"]),
setup: function setup2(props2, context) {

@@ -302,6 +300,8 @@ return setup({

"value": _vm.defaultValues[columnIndex],
"default-value": _vm.defaultValue[columnIndex],
"three-dimensional": _vm.threeDimensional,
"swipe-duration": _vm.swipeDuration,
"visible-option-num": _vm.visibleOptionNum,
"option-height": _vm.optionHeight
"option-height": _vm.optionHeight,
"visible": _vm.state.actionSheetVisible
},

@@ -308,0 +308,0 @@ on: {

{
"name": "@opentiny/vue-cascader-select",
"version": "2.16.0",
"version": "2.17.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-action-sheet": "~2.16.0",
"@opentiny/vue-button": "~2.16.0",
"@opentiny/vue-common": "~2.16.0",
"@opentiny/vue-renderless": "~3.16.0"
"@opentiny/vue-action-sheet": "~2.17.0",
"@opentiny/vue-button": "~2.17.0",
"@opentiny/vue-common": "~2.17.0",
"@opentiny/vue-renderless": "~3.17.0"
},

@@ -16,0 +16,0 @@ "license": "MIT",

@@ -12,2 +12,6 @@ declare const _default: {

};
defaultValue: {
type: ArrayConstructor;
default: () => never[];
};
options: {

@@ -14,0 +18,0 @@ type: ArrayConstructor;

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