@opentiny/vue-option
Advanced tools
Comparing version 3.6.7 to 3.8.0
@@ -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", |
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
8589
208
+ Added@opentiny/vue-common@3.8.3(transitive)
+ Added@opentiny/vue-icon@3.8.3(transitive)
+ Added@opentiny/vue-locale@3.8.3(transitive)
+ Added@opentiny/vue-renderless@3.8.4(transitive)
+ Added@opentiny/vue-theme@3.8.5(transitive)
+ Added@opentiny/vue-theme-mobile@3.8.3(transitive)
+ Addedtailwind-merge@1.14.0(transitive)
- Removed@opentiny/vue-common@3.6.7(transitive)
- Removed@opentiny/vue-icon@3.6.7(transitive)
- Removed@opentiny/vue-locale@3.6.7(transitive)
- Removed@opentiny/vue-renderless@3.6.8(transitive)
- Removed@opentiny/vue-theme@3.6.7(transitive)
- Removed@opentiny/vue-theme-mobile@3.6.6(transitive)
Updated@opentiny/vue-common@~3.8.0
Updated@opentiny/vue-icon@~3.8.0