@opentiny/vue-cascader-select
Advanced tools
Comparing version 3.14.0 to 3.15.0
@@ -120,3 +120,3 @@ function _extends() { | ||
}; | ||
var version = "3.14.0"; | ||
var version = "3.15.0"; | ||
CascaderSelect.model = { | ||
@@ -123,0 +123,0 @@ prop: "modelValue", |
@@ -1,24 +0,13 @@ | ||
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 target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
import { renderless as renderless$1, api as api$1 } from "@opentiny/vue-renderless/cascader-select/vue"; | ||
import { defineComponent, $prefix, $props, setup as _setup, props } from "@opentiny/vue-common"; | ||
import { renderless, api } from "@opentiny/vue-renderless/cascader-select/column"; | ||
import { openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, Fragment, renderList, toDisplayString, createCommentVNode, resolveComponent, createVNode, withCtx, withModifiers, renderSlot, createTextVNode } from "vue"; | ||
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) { | ||
import { renderless as renderless$1, api as api$1 } from '@opentiny/vue-renderless/cascader-select/vue'; | ||
import { defineComponent, $prefix, $props, setup, props } from '@opentiny/vue-common'; | ||
import { renderless, api } from '@opentiny/vue-renderless/cascader-select/column'; | ||
import { openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, Fragment, renderList, toDisplayString, createCommentVNode, resolveComponent, createVNode, withCtx, renderSlot, withModifiers, createTextVNode } from 'vue'; | ||
import ActionSheet from '@opentiny/vue-action-sheet'; | ||
import Button from '@opentiny/vue-button'; | ||
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_tiny(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
@@ -35,7 +24,7 @@ o = it; | ||
} | ||
function _unsupportedIterableToArray_tiny(o, minLen) { | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) | ||
return; | ||
if (typeof o === "string") | ||
return _arrayLikeToArray_tiny(o, minLen); | ||
return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
@@ -47,5 +36,5 @@ if (n === "Object" && o.constructor) | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) | ||
return _arrayLikeToArray_tiny(o, minLen); | ||
return _arrayLikeToArray(o, minLen); | ||
} | ||
function _arrayLikeToArray_tiny(arr, len) { | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) | ||
@@ -59,3 +48,3 @@ len = arr.length; | ||
var target = sfc.__vccOpts || sfc; | ||
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) { | ||
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) { | ||
var _step$value = _step.value, key = _step$value[0], val = _step$value[1]; | ||
@@ -67,4 +56,16 @@ target[key] = val; | ||
import ActionSheet from "@opentiny/vue-action-sheet"; | ||
import Button from "@opentiny/vue-button"; | ||
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 target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
var classes = { | ||
@@ -125,4 +126,4 @@ "header-item": "cursor-pointer px-4 flex items-center justify-center min-w-[50px] h-full text-sm", | ||
emits: ["click", "change"], | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -234,3 +235,3 @@ context, | ||
setup: function setup2(props2, context) { | ||
return _setup({ | ||
return setup({ | ||
props: props2, | ||
@@ -240,3 +241,2 @@ context, | ||
api: api$1, | ||
mono: true, | ||
classes | ||
@@ -269,2 +269,5 @@ }); | ||
}, { | ||
"header-left": withCtx(function() { | ||
return [renderSlot(_ctx.$slots, "header-left")]; | ||
}), | ||
default: withCtx(function() { | ||
@@ -355,4 +358,3 @@ return [createElementVNode("div", { | ||
var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); | ||
export { | ||
mobileFirst as default | ||
}; | ||
export { mobileFirst as default }; |
{ | ||
"name": "@opentiny/vue-cascader-select", | ||
"version": "3.14.0", | ||
"version": "3.15.0", | ||
"description": "", | ||
@@ -10,7 +10,6 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-action-sheet": "~3.14.0", | ||
"@opentiny/vue-button": "~3.14.0", | ||
"@opentiny/vue-common": "~3.14.0", | ||
"@opentiny/vue-icon": "~3.14.0", | ||
"@opentiny/vue-renderless": "~3.14.0" | ||
"@opentiny/vue-action-sheet": "~3.15.0", | ||
"@opentiny/vue-button": "~3.15.0", | ||
"@opentiny/vue-common": "~3.15.0", | ||
"@opentiny/vue-renderless": "~3.15.0" | ||
}, | ||
@@ -17,0 +16,0 @@ "license": "MIT", |
@@ -72,4 +72,4 @@ declare const _default: { | ||
}; | ||
customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[]; | ||
panelCustomClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[]; | ||
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[]; | ||
panelCustomClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[]; | ||
type: { | ||
@@ -76,0 +76,0 @@ type: StringConstructor; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
28138
4
0
+ Added@opentiny/vue-action-sheet@3.15.0(transitive)
+ Added@opentiny/vue-button@3.15.0(transitive)
+ Added@opentiny/vue-common@3.15.0(transitive)
+ Added@opentiny/vue-drawer@3.15.0(transitive)
+ Added@opentiny/vue-icon@3.15.0(transitive)
+ Added@opentiny/vue-locale@3.15.0(transitive)
+ Added@opentiny/vue-renderless@3.15.1(transitive)
+ Added@opentiny/vue-theme@3.15.1(transitive)
+ Added@opentiny/vue-theme-mobile@3.15.0(transitive)
+ Added@opentiny/vue-tooltip@3.15.0(transitive)
- Removed@opentiny/vue-icon@~3.14.0
- Removed@opentiny/vue-action-sheet@3.14.0(transitive)
- Removed@opentiny/vue-button@3.14.0(transitive)
- Removed@opentiny/vue-common@3.14.0(transitive)
- Removed@opentiny/vue-drawer@3.14.0(transitive)
- Removed@opentiny/vue-icon@3.14.0(transitive)
- Removed@opentiny/vue-locale@3.14.0(transitive)
- Removed@opentiny/vue-renderless@3.14.1(transitive)
- Removed@opentiny/vue-theme@3.14.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.14.2(transitive)
- Removed@opentiny/vue-tooltip@3.14.0(transitive)
Updated@opentiny/vue-button@~3.15.0
Updated@opentiny/vue-common@~3.15.0