Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-action-sheet

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-action-sheet - npm Package Compare versions

Comparing version 3.5.0 to 3.6.0-alpha.0

0

index.d.ts

@@ -0,0 +0,0 @@ /**

42

lib/index.js
import { renderless, api } from '@opentiny/vue-renderless/action-sheet/vue';
import { $prefix, setup } from '@opentiny/vue-common';
import '@opentiny/vue-theme-mobile/action-sheet/index.css';
import { createElementVNode, withDirectives, openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, vShow } from 'vue';
import BScroll from '@better-scroll/core';
import { withDirectives, openBlock, createElementBlock, normalizeStyle, createCommentVNode, createElementVNode, normalizeClass, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, vShow } from 'vue';

@@ -23,2 +24,10 @@ var script = {

default: false
},
height: {
type: String,
default: '200px'
},
contentPosition: {
type: Boolean,
default: false
}

@@ -32,3 +41,6 @@ },

api: api,
mono: true
mono: true,
extendOptions: {
BScroll: BScroll
}
});

@@ -38,7 +50,5 @@ }

var _hoisted_1 = createElementVNode("div", {
class: "tiny-mobile-action-sheet__mask"
}, null, -1);
var _hoisted_2 = ["onClick"];
var _hoisted_3 = {
var _hoisted_1 = ["onClick"];
var _hoisted_2 = {
key: 1,
class: "tiny-mobile-action-sheet__action"

@@ -52,4 +62,10 @@ };

})
}, [_hoisted_1, createElementVNode("div", {
class: normalizeClass(['tiny-mobile-action-sheet__content', _ctx.state.toggle ? 'is-toggle' : ''])
}, [!$props.contentPosition ? (openBlock(), createElementBlock("div", {
key: 0,
class: "tiny-mobile-action-sheet__mask",
style: normalizeStyle(_ctx.state.sheetMaskStyle)
}, null, 4)) : createCommentVNode("", true), createElementVNode("div", {
class: normalizeClass(['tiny-mobile-action-sheet__content', _ctx.state.toggle ? 'is-toggle' : '', $props.contentPosition ? '' : 'is-not-content']),
style: normalizeStyle([_ctx.state.sheetContentStyle]),
ref: "scrollMenu"
}, [createElementVNode("div", {

@@ -68,4 +84,4 @@ class: normalizeClass(['tiny-mobile-action-sheet__menu', $props.ellipsis ? 'is-ellipsis' : ''])

return [createTextVNode(toDisplayString(item.label), 1)];
})], 10, _hoisted_2);
}), 128))], 2), createElementVNode("div", _hoisted_3, [renderSlot(_ctx.$slots, "action", {}, function () {
})], 10, _hoisted_1);
}), 128))], 2)], 6), $props.contentPosition ? (openBlock(), createElementBlock("div", _hoisted_2, [renderSlot(_ctx.$slots, "action", {}, function () {
return [createElementVNode("div", {

@@ -77,3 +93,3 @@ class: "tiny-mobile-action-sheet__cancel",

}, toDisplayString(_ctx.t('ui.actionSheet.cancel')), 1)];
})])], 2)], 512)), [[vShow, $props.visible]]);
})])) : createCommentVNode("", true)], 512)), [[vShow, $props.visible]]);
}

@@ -90,4 +106,4 @@

};
script.version = '3.5.0';
script.version = '3.6.0-alpha.0';
export { script as default };
{
"name": "@opentiny/vue-action-sheet",
"version": "3.5.0",
"version": "3.6.0-alpha.0",
"description": "",

@@ -12,7 +12,8 @@ "main": "lib/index.js",

"dependencies": {
"@opentiny/vue-common": "~3.5.0",
"@opentiny/vue-renderless": "~3.5.0",
"@opentiny/vue-icon": "~3.5.0",
"@opentiny/vue-theme": "~3.5.0",
"@opentiny/vue-theme-mobile": "~3.5.0"
"@opentiny/vue-common": "~3.6.0-alpha.0",
"@opentiny/vue-renderless": "~3.6.0",
"@better-scroll/core": "2.5.0",
"@opentiny/vue-icon": "~3.6.0-alpha.0",
"@opentiny/vue-theme": "~3.6.0",
"@opentiny/vue-theme-mobile": "~3.6.0"
},

@@ -19,0 +20,0 @@ "license": "MIT",

@@ -0,0 +0,0 @@ import '@opentiny/vue-theme-mobile/action-sheet/index.css';

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