New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-checkbox

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-checkbox - npm Package Compare versions

Comparing version 3.14.0 to 3.14.1

2

lib/index.js

@@ -105,3 +105,3 @@ function _extends() {

});
var version = "3.14.0";
var version = "3.14.1";
Checkbox.model = {

@@ -108,0 +108,0 @@ prop: "modelValue",

@@ -1,10 +0,11 @@

import { renderless, api } from "@opentiny/vue-renderless/checkbox/vue";
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
import { iconHalfselect, iconCheckedSur, iconCheck } from "@opentiny/vue-icon";
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, createVNode, withDirectives, withModifiers, vModelCheckbox, renderSlot, createTextVNode, toDisplayString, Fragment, createCommentVNode } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
import { renderless, api } from '@opentiny/vue-renderless/checkbox/vue';
import { defineComponent, props, setup } from '@opentiny/vue-common';
import { iconHalfselect, iconCheckedSur, iconCheck } from '@opentiny/vue-icon';
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, createVNode, withDirectives, withModifiers, vModelCheckbox, renderSlot, createTextVNode, toDisplayString, Fragment, createCommentVNode } 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)

@@ -21,7 +22,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);

@@ -33,5 +34,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)

@@ -45,3 +46,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];

@@ -62,4 +63,4 @@ target[key] = val;

},
setup: function setup(props2, context) {
return _setup({
setup: function setup$1(props2, context) {
return setup({
props: props2,

@@ -185,4 +186,3 @@ context,

var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
mobileFirst as default
};
export { mobileFirst as default };

@@ -1,10 +0,11 @@

import { renderless, api } from "@opentiny/vue-renderless/checkbox/vue";
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
import "@opentiny/vue-theme-mobile/checkbox/index.css";
import { openBlock, createElementBlock, normalizeClass, createElementVNode, withDirectives, vModelCheckbox, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
import { renderless, api } from '@opentiny/vue-renderless/checkbox/vue';
import { defineComponent, props, setup } from '@opentiny/vue-common';
import '@opentiny/vue-theme-mobile/checkbox/index.css';
import { openBlock, createElementBlock, normalizeClass, createElementVNode, withDirectives, vModelCheckbox, renderSlot, createTextVNode, toDisplayString, createCommentVNode } 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)

@@ -21,7 +22,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);

@@ -33,5 +34,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)

@@ -45,3 +46,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];

@@ -56,4 +57,4 @@ target[key] = val;

emits: ["update:modelValue", "change", "complete", "click"],
setup: function setup(props2, context) {
return _setup({
setup: function setup$1(props2, context) {
return setup({
props: props2,

@@ -148,4 +149,3 @@ context,

var mobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
mobile as default
};
export { mobile as default };

@@ -1,12 +0,13 @@

import { renderless, api } from "@opentiny/vue-renderless/checkbox/vue";
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
import "@opentiny/vue-theme/checkbox/index.css";
import { iconHalfselect, iconCheckedSur, iconCheck } from "@opentiny/vue-icon";
import Tooltip from "@opentiny/vue-tooltip";
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, createBlock, withDirectives, withModifiers, vModelCheckbox, renderSlot, createTextVNode, toDisplayString, createVNode, createCommentVNode } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
import { renderless, api } from '@opentiny/vue-renderless/checkbox/vue';
import { defineComponent, props, setup } from '@opentiny/vue-common';
import '@opentiny/vue-theme/checkbox/index.css';
import { iconHalfselect, iconCheckedSur, iconCheck } from '@opentiny/vue-icon';
import Tooltip from '@opentiny/vue-tooltip';
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, createBlock, withDirectives, withModifiers, vModelCheckbox, renderSlot, createTextVNode, toDisplayString, createVNode, createCommentVNode } 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)

@@ -23,7 +24,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);

@@ -35,5 +36,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)

@@ -47,3 +48,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];

@@ -56,3 +57,4 @@ target[key] = val;

var _sfc_main = defineComponent({
emits: ["update:modelValue", "change", "complete", "click"],
// tiny 新增。 renderless中,没有emit('click')的地方。 此处勿声明,否则会造成丢失click事件。
emits: ["update:modelValue", "change", "complete"],
props: [].concat(props, ["modelValue", "text", "events", "label", "indeterminate", "disabled", "checked", "name", "trueLabel", "falseLabel", "id", "controls", "size", "border", "validateEvent", "displayOnly", "shape"]),

@@ -65,4 +67,4 @@ components: {

},
setup: function setup(props2, context) {
return _setup({
setup: function setup$1(props2, context) {
return setup({
props: props2,

@@ -201,4 +203,3 @@ context,

var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
pc as default
};
export { pc as default };
{
"name": "@opentiny/vue-checkbox",
"version": "3.14.0",
"version": "3.14.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -179,9 +179,6 @@ import type { PropType } from '@opentiny/vue-common';

label: string | number | boolean;
shape: string;
disabled: boolean;
tiny_mode_root: boolean;
_constants: Record<string, any>;
border: boolean;
validateEvent: boolean;
displayOnly: boolean;
shape: string;
events: Record<string, any>;

@@ -191,3 +188,6 @@ indeterminate: boolean;

controls: string;
border: boolean;
validateEvent: boolean;
displayOnly: boolean;
}, {}>;
export default _default;
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
label?: any;
text?: any;
label?: any;
trueLabel?: any;
falseLabel?: any;
size?: any;
name?: any;

@@ -14,14 +17,11 @@ disabled?: any;

modelValue?: any;
size?: any;
border?: any;
customClass?: any;
validateEvent?: any;
displayOnly?: any;
id?: any;
events?: any;
indeterminate?: any;
checked?: any;
trueLabel?: any;
falseLabel?: any;
id?: any;
controls?: any;
border?: any;
validateEvent?: any;
customClass?: any;
displayOnly?: any;
}>, {

@@ -36,4 +36,7 @@ t: (this: any, path: any, options?: any) => any;

}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "update:modelValue" | "complete")[], "change" | "update:modelValue" | "complete", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
label?: any;
text?: any;
label?: any;
trueLabel?: any;
falseLabel?: any;
size?: any;
name?: any;

@@ -49,14 +52,11 @@ disabled?: any;

modelValue?: any;
size?: any;
border?: any;
customClass?: any;
validateEvent?: any;
displayOnly?: any;
id?: any;
events?: any;
indeterminate?: any;
checked?: any;
trueLabel?: any;
falseLabel?: any;
id?: any;
controls?: any;
border?: any;
validateEvent?: any;
customClass?: any;
displayOnly?: any;
}>>> & {

@@ -67,4 +67,7 @@ onChange?: ((...args: any[]) => any) | undefined;

}, {
readonly label?: any;
readonly text?: any;
readonly label?: any;
readonly trueLabel?: any;
readonly falseLabel?: any;
readonly size?: any;
readonly name?: any;

@@ -80,15 +83,12 @@ readonly disabled?: any;

readonly modelValue?: any;
readonly size?: any;
readonly border?: any;
readonly customClass?: any;
readonly validateEvent?: any;
readonly displayOnly?: any;
readonly id?: any;
readonly events?: any;
readonly indeterminate?: any;
readonly checked?: any;
readonly trueLabel?: any;
readonly falseLabel?: any;
readonly id?: any;
readonly controls?: any;
readonly border?: any;
readonly validateEvent?: any;
readonly customClass?: any;
readonly displayOnly?: any;
}, {}>;
export default _default;
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
label?: any;
text?: any;
label?: any;
trueLabel?: any;
falseLabel?: any;
iconPosition?: any;
name?: any;

@@ -14,9 +17,6 @@ disabled?: any;

modelValue?: any;
id?: any;
events?: any;
indeterminate?: any;
checked?: any;
trueLabel?: any;
falseLabel?: any;
iconPosition?: any;
id?: any;
}>, {

@@ -30,5 +30,8 @@ t: (this: any, path: any, options?: any) => any;

gcls: (key: any) => any;
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "update:modelValue" | "click" | "complete")[], "change" | "update:modelValue" | "click" | "complete", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "update:modelValue" | "complete" | "click")[], "change" | "update:modelValue" | "complete" | "click", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
label?: any;
text?: any;
label?: any;
trueLabel?: any;
falseLabel?: any;
iconPosition?: any;
name?: any;

@@ -44,17 +47,17 @@ disabled?: any;

modelValue?: any;
id?: any;
events?: any;
indeterminate?: any;
checked?: any;
trueLabel?: any;
falseLabel?: any;
iconPosition?: any;
id?: any;
}>>> & {
onChange?: ((...args: any[]) => any) | undefined;
onClick?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onComplete?: ((...args: any[]) => any) | undefined;
onClick?: ((...args: any[]) => any) | undefined;
}, {
readonly label?: any;
readonly text?: any;
readonly label?: any;
readonly trueLabel?: any;
readonly falseLabel?: any;
readonly iconPosition?: any;
readonly name?: any;

@@ -70,10 +73,7 @@ readonly disabled?: any;

readonly modelValue?: any;
readonly id?: any;
readonly events?: any;
readonly indeterminate?: any;
readonly checked?: any;
readonly trueLabel?: any;
readonly falseLabel?: any;
readonly iconPosition?: any;
readonly id?: any;
}, {}>;
export default _default;
import type { ICheckboxApi } from '@opentiny/vue-renderless/types/checkbox.type';
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
label?: any;
text?: any;
label?: any;
trueLabel?: any;
falseLabel?: any;
shape?: any;
size?: any;
name?: any;

@@ -15,17 +19,17 @@ disabled?: any;

modelValue?: any;
size?: any;
events?: any;
indeterminate?: any;
checked?: any;
id?: any;
controls?: any;
border?: any;
validateEvent?: any;
displayOnly?: any;
shape?: any;
id?: any;
events?: any;
indeterminate?: any;
checked?: any;
}>, ICheckboxApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "update:modelValue" | "complete")[], "change" | "update:modelValue" | "complete", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
label?: any;
text?: any;
trueLabel?: any;
falseLabel?: any;
controls?: any;
}>, ICheckboxApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "update:modelValue" | "click" | "complete")[], "change" | "update:modelValue" | "click" | "complete", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
text?: any;
label?: any;
shape?: any;
size?: any;
name?: any;

@@ -41,22 +45,21 @@ disabled?: any;

modelValue?: any;
size?: any;
border?: any;
validateEvent?: any;
displayOnly?: any;
shape?: any;
id?: any;
events?: any;
indeterminate?: any;
checked?: any;
trueLabel?: any;
falseLabel?: any;
id?: any;
controls?: any;
border?: any;
validateEvent?: any;
displayOnly?: any;
}>>> & {
onChange?: ((...args: any[]) => any) | undefined;
onClick?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onComplete?: ((...args: any[]) => any) | undefined;
}, {
readonly label?: any;
readonly text?: any;
readonly label?: any;
readonly trueLabel?: any;
readonly falseLabel?: any;
readonly shape?: any;
readonly size?: any;
readonly name?: any;

@@ -72,15 +75,11 @@ readonly disabled?: any;

readonly modelValue?: any;
readonly size?: any;
readonly border?: any;
readonly validateEvent?: any;
readonly displayOnly?: any;
readonly shape?: any;
readonly id?: any;
readonly events?: any;
readonly indeterminate?: any;
readonly checked?: any;
readonly trueLabel?: any;
readonly falseLabel?: any;
readonly id?: any;
readonly controls?: any;
readonly border?: any;
readonly validateEvent?: any;
readonly displayOnly?: any;
}, {}>;
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