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.11.1 to 3.12.0

43

lib/index.js

@@ -1,6 +0,10 @@

function _createForOfIteratorHelperLoose(o, allowArrayLike) {
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 { resolveComponent, withDirectives, openBlock, createElementBlock, withModifiers, normalizeClass, createVNode, createCommentVNode, renderSlot, createElementVNode, toDisplayString, vShow } from "vue";
function _createForOfIteratorHelperLoose_tiny(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(o)) || allowArrayLike && o && typeof o.length === "number") {
if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it)

@@ -17,7 +21,7 @@ o = it;

}
function _unsupportedIterableToArray(o, minLen) {
function _unsupportedIterableToArray_tiny(o, minLen) {
if (!o)
return;
if (typeof o === "string")
return _arrayLikeToArray(o, minLen);
return _arrayLikeToArray_tiny(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);

@@ -29,5 +33,5 @@ if (n === "Object" && o.constructor)

if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
return _arrayLikeToArray(o, minLen);
return _arrayLikeToArray_tiny(o, minLen);
}
function _arrayLikeToArray(arr, len) {
function _arrayLikeToArray_tiny(arr, len) {
if (len == null || len > arr.length)

@@ -39,6 +43,11 @@ len = arr.length;

}
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 { resolveComponent, withDirectives, openBlock, createElementBlock, withModifiers, normalizeClass, createVNode, createCommentVNode, renderSlot, createElementVNode, toDisplayString, vShow } from "vue";
var _export_sfc = function _export_sfc2(sfc, props) {
var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
target[key] = val;
}
return target;
};
import "@opentiny/vue-theme/option/index.css";

@@ -87,10 +96,2 @@ var _sfc_main = defineComponent({

});
var _export_sfc = function _export_sfc2(sfc, props) {
var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
target[key] = val;
}
return target;
};
var _hoisted_1 = {

@@ -121,3 +122,3 @@ key: 0,

},
[_ctx.state.select.multiple && (_ctx.state.select.optimization || !_ctx.state.select.state.multipleLimit) ? (openBlock(), createElementBlock("span", _hoisted_1, [createVNode(_component_tiny_checkbox, {
[_ctx.state.select.multiple ? (openBlock(), createElementBlock("span", _hoisted_1, [createVNode(_component_tiny_checkbox, {
"model-value": _ctx.state.itemSelected,

@@ -135,7 +136,7 @@ disabled: _ctx.disabled || _ctx.state.groupDisabled || _ctx.state.limitReached

34
/* CLASS, HYDRATE_EVENTS */
/* CLASS, NEED_HYDRATION */
)), [[vShow, _ctx.visible && _ctx.state.visible]]);
}
var Option = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
var version = "3.11.1";
var version = "3.12.0";
Option.install = function(Vue) {

@@ -142,0 +143,0 @@ Vue.component(Option.name, Option);

{
"name": "@opentiny/vue-option",
"version": "3.11.1",
"version": "3.12.0",
"description": "",

@@ -10,4 +10,4 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-renderless": "~3.11.0",
"@opentiny/vue-common": "~3.11.0"
"@opentiny/vue-renderless": "~3.12.0",
"@opentiny/vue-common": "~3.12.0"
},

@@ -14,0 +14,0 @@ "license": "MIT",

@@ -57,8 +57,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{

}>>, {
visible: boolean;
required: boolean;
disabled: boolean;
visible: boolean;
created: boolean;
events: Record<string, any>;
created: boolean;
}, {}>;
export default _default;
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