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 3.16.0 to 3.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 = "3.16.0";
var version = "3.17.0";
CascaderSelect.model = {

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

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

function _createForOfIteratorHelperLoose(o, allowArrayLike) {
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
if (it)
return (it = it.call(o)).next.bind(it);
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it)
o = it;
var i = 0;
function _createForOfIteratorHelperLoose(r, e) {
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
if (t)
return (t = t.call(r)).next.bind(t);
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
t && (r = t);
var o = 0;
return function() {
if (i >= o.length)
return { done: true };
return { done: false, value: o[i++] };
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
};

@@ -25,21 +22,15 @@ }

}
function _unsupportedIterableToArray(o, minLen) {
if (!o)
return;
if (typeof o === "string")
return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor)
n = o.constructor.name;
if (n === "Map" || n === "Set")
return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
return _arrayLikeToArray(o, minLen);
function _unsupportedIterableToArray(r, a) {
if (r) {
if ("string" == typeof r)
return _arrayLikeToArray(r, a);
var t = {}.toString.call(r).slice(8, -1);
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
}
}
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length)
len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++)
arr2[i] = arr[i];
return arr2;
function _arrayLikeToArray(r, a) {
(null == a || a > r.length) && (a = r.length);
for (var e = 0, n = Array(a); e < a; e++)
n[e] = r[e];
return n;
}

@@ -56,14 +47,10 @@ var _export_sfc = function _export_sfc2(sfc, props) {

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);
}

@@ -86,2 +73,3 @@ var classes = {

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

@@ -118,2 +106,3 @@ column: {

disabled: Boolean,
visible: Boolean,
textColor: {

@@ -233,3 +222,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) {

@@ -313,2 +302,3 @@ return setup({

value: _ctx.defaultValues[columnIndex],
"default-value": _ctx.defaultValue[columnIndex],
"three-dimensional": _ctx.threeDimensional,

@@ -318,6 +308,7 @@ "swipe-duration": _ctx.swipeDuration,

"option-height": _ctx.optionHeight,
visible: _ctx.state.actionSheetVisible,
onChange: function onChange(option) {
_ctx.changeHandler(columnIndex, option);
}
}, null, 8, ["column", "disabled", "text-color", "columns-type", "field-names", "value", "three-dimensional", "swipe-duration", "visible-option-num", "option-height", "onChange"])],
}, null, 8, ["column", "disabled", "text-color", "columns-type", "field-names", "value", "default-value", "three-dimensional", "swipe-duration", "visible-option-num", "option-height", "visible", "onChange"])],
2

@@ -324,0 +315,0 @@ /* CLASS */

{
"name": "@opentiny/vue-cascader-select",
"version": "3.16.0",
"version": "3.17.0",
"description": "",

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

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

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

declare const _default: import("@vue/runtime-core").DefineComponent<{
value: (StringConstructor | NumberConstructor)[];
defaultValue: (StringConstructor | NumberConstructor)[];
columnsType: StringConstructor;

@@ -29,2 +30,3 @@ column: {

disabled: BooleanConstructor;
visible: BooleanConstructor;
textColor: {

@@ -50,2 +52,3 @@ type: ObjectConstructor;

value: (StringConstructor | NumberConstructor)[];
defaultValue: (StringConstructor | NumberConstructor)[];
columnsType: StringConstructor;

@@ -77,2 +80,3 @@ column: {

disabled: BooleanConstructor;
visible: BooleanConstructor;
textColor: {

@@ -94,2 +98,3 @@ type: ObjectConstructor;

tiny_mode_root: boolean;
visible: boolean;
optionHeight: string | number;

@@ -96,0 +101,0 @@ column: unknown[];

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

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

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

declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
disabled?: any;
type?: any;
disabled?: any;
tiny_mode?: any;

@@ -18,2 +18,3 @@ tiny_mode_root?: any;

lockScroll?: any;
defaultValue?: any;
valueType?: any;

@@ -37,4 +38,4 @@ optionHeight?: any;

}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("cancel" | "change" | "confirm" | "update:modelValue" | "update:visible")[], "cancel" | "change" | "confirm" | "update:modelValue" | "update:visible", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
disabled?: any;
type?: any;
disabled?: any;
tiny_mode?: any;

@@ -54,2 +55,3 @@ tiny_mode_root?: any;

lockScroll?: any;
defaultValue?: any;
valueType?: any;

@@ -71,4 +73,4 @@ optionHeight?: any;

}, {
readonly disabled?: any;
readonly type?: any;
readonly disabled?: any;
readonly tiny_mode?: any;

@@ -88,2 +90,3 @@ readonly tiny_mode_root?: any;

readonly lockScroll?: any;
readonly defaultValue?: any;
readonly valueType?: any;

@@ -90,0 +93,0 @@ readonly optionHeight?: any;

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