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

@opentiny/vue-option

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-option - npm Package Compare versions

Comparing version 3.6.7 to 3.8.0

src/pc.vue.d.ts

2

index.d.ts

@@ -12,3 +12,3 @@ /**

*/
import Option from './src/index.vue';
import Option from './src/pc.vue';
export default Option;
import { renderless, api } from "@opentiny/vue-renderless/option/vue";
import { defineComponent, $prefix, setup as _setup } from "@opentiny/vue-common";
import Checkbox from "@opentiny/vue-checkbox";
import { iconCheck, iconCheckedSur } from "@opentiny/vue-icon";
import { withDirectives, openBlock, createElementBlock, withModifiers, normalizeClass, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot, createElementVNode, toDisplayString, vShow } from "vue";
import { resolveComponent, withDirectives, openBlock, createElementBlock, withModifiers, normalizeClass, createVNode, createCommentVNode, renderSlot, createElementVNode, toDisplayString, vShow } from "vue";
function _createForOfIteratorHelperLoose(o, allowArrayLike) {

@@ -51,3 +52,3 @@ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];

import "@opentiny/vue-theme/option/index.css";
var _sfc_main = /* @__PURE__ */ defineComponent({
var _sfc_main = defineComponent({
name: $prefix + "Option",

@@ -57,3 +58,4 @@ componentName: "Option",

IconCheck: iconCheck(),
IconCheckedSur: iconCheckedSur()
IconCheckedSur: iconCheckedSur(),
TinyCheckbox: Checkbox
},

@@ -96,2 +98,3 @@ props: {

function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
var _component_tiny_checkbox = resolveComponent("tiny-checkbox");
return withDirectives((openBlock(), createElementBlock(

@@ -101,11 +104,11 @@ "li",

ref: "option",
onMouseenter: _cache[0] || (_cache[0] = function() {
onMouseenter: _cache[1] || (_cache[1] = function() {
return _ctx.hoverItem && _ctx.hoverItem.apply(_ctx, arguments);
}),
onClick: _cache[1] || (_cache[1] = withModifiers(function() {
onClick: _cache[2] || (_cache[2] = withModifiers(function() {
return _ctx.selectOptionClick && _ctx.selectOptionClick.apply(_ctx, arguments);
}, ["stop"])),
onMousedown: _cache[2] || (_cache[2] = withModifiers(function() {
onMousedown: _cache[3] || (_cache[3] = withModifiers(function() {
}, ["stop"])),
class: normalizeClass(["tiny-select-dropdown__item", [{
class: normalizeClass(["tiny-option tiny-select-dropdown__item", [{
selected: _ctx.state.itemSelected,

@@ -116,5 +119,9 @@ "is-disabled": _ctx.disabled || _ctx.state.groupDisabled || _ctx.state.limitReached,

},
[_ctx.state.select.multiple && !_ctx.state.select.state.multipleLimit ? (openBlock(), createElementBlock("span", _hoisted_1, [(openBlock(), createBlock(resolveDynamicComponent("icon-" + _ctx.state.selectCls), {
class: "tiny-svg-size"
}))])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, function() {
[_ctx.state.select.multiple && !_ctx.state.select.state.multipleLimit ? (openBlock(), createElementBlock("span", _hoisted_1, [createVNode(_component_tiny_checkbox, {
modelValue: _ctx.state.itemSelected,
"onUpdate:modelValue": _cache[0] || (_cache[0] = function($event) {
return _ctx.state.itemSelected = $event;
}),
disabled: _ctx.disabled || _ctx.state.groupDisabled || _ctx.state.limitReached
}, null, 8, ["modelValue", "disabled"])])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default", {}, function() {
return [createElementVNode(

@@ -121,0 +128,0 @@ "span",

{
"name": "@opentiny/vue-option",
"version": "3.6.7",
"version": "3.8.0",
"description": "",
"main": "./lib/index.js",
"module": "./lib/index.js",
"dependencies": {
"@opentiny/vue-renderless": "~3.6.6",
"@opentiny/vue-common": "~3.6.7",
"@opentiny/vue-icon": "~3.6.7"
"@opentiny/vue-renderless": "~3.8.0",
"@opentiny/vue-common": "~3.8.0",
"@opentiny/vue-icon": "~3.8.0"
},

@@ -11,0 +12,0 @@ "license": "MIT",

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