@opentiny/vue-cascader-select
Advanced tools
Comparing version 2.16.0 to 2.17.0
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; |
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
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
19521
580
+ Added@opentiny/vue-action-sheet@2.17.0(transitive)
+ Added@opentiny/vue-button@2.17.0(transitive)
+ Added@opentiny/vue-common@2.17.0(transitive)
+ Added@opentiny/vue-drawer@2.17.2(transitive)
+ Added@opentiny/vue-icon@2.17.0(transitive)
+ Added@opentiny/vue-locale@2.17.0(transitive)
+ Added@opentiny/vue-renderless@3.17.6(transitive)
+ Added@opentiny/vue-theme@3.17.5(transitive)
+ Added@opentiny/vue-theme-mobile@3.17.0(transitive)
+ Added@opentiny/vue-tooltip@2.17.0(transitive)
- Removed@opentiny/vue-action-sheet@2.16.0(transitive)
- Removed@opentiny/vue-button@2.16.0(transitive)
- Removed@opentiny/vue-common@2.16.0(transitive)
- Removed@opentiny/vue-drawer@2.16.0(transitive)
- Removed@opentiny/vue-icon@2.16.0(transitive)
- Removed@opentiny/vue-locale@2.16.0(transitive)
- Removed@opentiny/vue-renderless@3.16.2(transitive)
- Removed@opentiny/vue-theme@3.16.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.16.0(transitive)
- Removed@opentiny/vue-tooltip@2.16.0(transitive)
Updated@opentiny/vue-button@~2.17.0
Updated@opentiny/vue-common@~2.17.0