@opentiny/vue-action-sheet
Advanced tools
Comparing version 3.14.0 to 3.15.0
@@ -123,3 +123,3 @@ function _extends() { | ||
}); | ||
var version = "3.14.0"; | ||
var version = "3.15.0"; | ||
ActionSheet.model = { | ||
@@ -126,0 +126,0 @@ prop: "modelValue", |
@@ -1,13 +0,14 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/action-sheet/vue"; | ||
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common"; | ||
import { IconClose } from "@opentiny/vue-icon"; | ||
import Button from "@opentiny/vue-button"; | ||
import Drawer from "@opentiny/vue-drawer"; | ||
import BScroll from "@better-scroll/core"; | ||
import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, renderSlot, toDisplayString, createBlock, createCommentVNode, normalizeClass, Fragment, renderList, withModifiers, createTextVNode } from "vue"; | ||
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) { | ||
import { renderless, api } from '@opentiny/vue-renderless/action-sheet/vue'; | ||
import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
import { IconClose } from '@opentiny/vue-icon'; | ||
import Button from '@opentiny/vue-button'; | ||
import Drawer from '@opentiny/vue-drawer'; | ||
import BScroll from '@better-scroll/core'; | ||
import { resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, renderSlot, toDisplayString, createBlock, createCommentVNode, normalizeClass, Fragment, renderList, withModifiers, createTextVNode } from '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_tiny(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
@@ -24,7 +25,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); | ||
@@ -36,5 +37,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) | ||
@@ -48,3 +49,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]; | ||
@@ -64,4 +65,4 @@ target[key] = val; | ||
props: [].concat(props, ["modelValue", "visible", "title", "showHeader", "showFooter", "showClose", "fullscreen", "customClass", "menus", "type", "mask", "maskClosable", "lockScroll", "flex", "beforeClose"]), | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -257,4 +258,3 @@ context, | ||
var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); | ||
export { | ||
mobileFirst as default | ||
}; | ||
export { mobileFirst as default }; |
@@ -1,11 +0,12 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/action-sheet/vue"; | ||
import { defineComponent, $prefix, props, setup as _setup } from "@opentiny/vue-common"; | ||
import "@opentiny/vue-theme-mobile/action-sheet/index.css"; | ||
import BScroll from "@better-scroll/core"; | ||
import { withDirectives, openBlock, createElementBlock, normalizeStyle, createCommentVNode, createElementVNode, normalizeClass, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, vShow } from "vue"; | ||
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) { | ||
import { renderless, api } from '@opentiny/vue-renderless/action-sheet/vue'; | ||
import { defineComponent, $prefix, props, setup } from '@opentiny/vue-common'; | ||
import '@opentiny/vue-theme-mobile/action-sheet/index.css'; | ||
import BScroll from '@better-scroll/core'; | ||
import { withDirectives, openBlock, createElementBlock, normalizeStyle, createCommentVNode, createElementVNode, normalizeClass, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, vShow } from '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_tiny(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
@@ -22,7 +23,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); | ||
@@ -34,5 +35,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) | ||
@@ -46,3 +47,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]; | ||
@@ -57,4 +58,4 @@ target[key] = val; | ||
props: [].concat(props, ["menus", "modelValue", "visible", "ellipsis", "contentPosition", "contentStyle", "height", "valueField", "textField", "contentClass"]), | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -154,4 +155,3 @@ context, | ||
var mobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); | ||
export { | ||
mobile as default | ||
}; | ||
export { mobile as default }; |
{ | ||
"name": "@opentiny/vue-action-sheet", | ||
"version": "3.14.0", | ||
"version": "3.15.0", | ||
"description": "", | ||
@@ -10,9 +10,9 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~3.14.0", | ||
"@opentiny/vue-drawer": "~3.14.0", | ||
"@opentiny/vue-icon": "~3.14.0", | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-common": "~3.15.0", | ||
"@opentiny/vue-drawer": "~3.15.0", | ||
"@opentiny/vue-icon": "~3.15.0", | ||
"@opentiny/vue-renderless": "~3.15.0", | ||
"@better-scroll/core": "2.5.0", | ||
"@opentiny/vue-button": "~3.14.0", | ||
"@opentiny/vue-theme-mobile": "~3.14.0" | ||
"@opentiny/vue-button": "~3.15.0", | ||
"@opentiny/vue-theme-mobile": "~3.15.0" | ||
}, | ||
@@ -19,0 +19,0 @@ "license": "MIT", |
@@ -45,3 +45,3 @@ export declare const actionSheetProps: { | ||
}; | ||
customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[]; | ||
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[]; | ||
contentClass: StringConstructor; | ||
@@ -127,3 +127,3 @@ type: { | ||
}; | ||
customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[]; | ||
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[]; | ||
contentClass: StringConstructor; | ||
@@ -210,3 +210,3 @@ type: { | ||
}; | ||
customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[]; | ||
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[]; | ||
contentClass: StringConstructor; | ||
@@ -253,3 +253,2 @@ type: { | ||
textField: string; | ||
mask: boolean; | ||
valueField: string; | ||
@@ -260,10 +259,11 @@ menus: unknown[]; | ||
contentStyle: Record<string, any>; | ||
mask: boolean; | ||
showClose: boolean; | ||
showHeader: boolean; | ||
showFooter: boolean; | ||
showClose: boolean; | ||
fullscreen: boolean; | ||
maskClosable: boolean; | ||
lockScroll: boolean; | ||
flex: boolean; | ||
fullscreen: boolean; | ||
}, {}>; | ||
export default _default; |
@@ -12,10 +12,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
modelValue?: any; | ||
mask?: any; | ||
menus?: any; | ||
visible?: any; | ||
mask?: any; | ||
customClass?: any; | ||
showClose?: any; | ||
showHeader?: any; | ||
showFooter?: any; | ||
showClose?: any; | ||
fullscreen?: any; | ||
maskClosable?: any; | ||
@@ -25,2 +24,3 @@ lockScroll?: any; | ||
beforeClose?: any; | ||
fullscreen?: any; | ||
}>, { | ||
@@ -45,10 +45,9 @@ t: (this: any, path: any, options?: any) => any; | ||
modelValue?: any; | ||
mask?: any; | ||
menus?: any; | ||
visible?: any; | ||
mask?: any; | ||
customClass?: any; | ||
showClose?: any; | ||
showHeader?: any; | ||
showFooter?: any; | ||
showClose?: any; | ||
fullscreen?: any; | ||
maskClosable?: any; | ||
@@ -58,2 +57,3 @@ lockScroll?: any; | ||
beforeClose?: any; | ||
fullscreen?: any; | ||
}>>> & { | ||
@@ -76,10 +76,9 @@ onClick?: ((...args: any[]) => any) | undefined; | ||
readonly modelValue?: any; | ||
readonly mask?: any; | ||
readonly menus?: any; | ||
readonly visible?: any; | ||
readonly mask?: any; | ||
readonly customClass?: any; | ||
readonly showClose?: any; | ||
readonly showHeader?: any; | ||
readonly showFooter?: any; | ||
readonly showClose?: any; | ||
readonly fullscreen?: any; | ||
readonly maskClosable?: any; | ||
@@ -89,3 +88,4 @@ readonly lockScroll?: any; | ||
readonly beforeClose?: any; | ||
readonly fullscreen?: any; | ||
}, {}>; | ||
export default _default; |
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
31245
964
+ 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-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
Updated@opentiny/vue-drawer@~3.15.0
Updated@opentiny/vue-icon@~3.15.0