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

@opentiny/vue-switch

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-switch - npm Package Compare versions

Comparing version 3.9.0 to 3.10.0

__tests__/switch.test.d.ts

2

lib/index.js

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

});
var version = "3.9.0";
var version = "3.10.0";
Switch.model = {

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

@@ -52,3 +52,3 @@ import { renderless, api } from "@opentiny/vue-renderless/switch/vue";

emits: ["change", "update:modelValue"],
props: [].concat(props, ["modelValue", "trueValue", "falseValue", "disabled", "mini", "tabindex", "showText", "beforeChange"]),
props: [].concat(props, ["modelValue", "trueValue", "falseValue", "disabled", "mini", "tabindex", "showText", "beforeChange", "displayOnly"]),
setup: function setup(props2, context) {

@@ -55,0 +55,0 @@ return _setup({

{
"name": "@opentiny/vue-switch",
"version": "3.9.0",
"version": "3.10.0",
"description": "",

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

"sideEffects": false,
"type": "module",
"dependencies": {
"@opentiny/vue-renderless": "~3.9.0",
"@opentiny/vue-common": "~3.9.0"
"@opentiny/vue-renderless": "~3.10.0",
"@opentiny/vue-common": "~3.10.0"
},

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

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

falseValue: {
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
default: boolean;

@@ -30,6 +30,6 @@ };

modelValue: {
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
default: boolean;
};
size: (NumberConstructor | StringConstructor)[];
size: (StringConstructor | NumberConstructor)[];
tabindex: {

@@ -41,3 +41,3 @@ type: StringConstructor;

trueValue: {
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
default: boolean;

@@ -56,5 +56,5 @@ };

tiny_chart_theme: ObjectConstructor;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
_constants: {

@@ -79,3 +79,3 @@ type: ObjectConstructor;

falseValue: {
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
default: boolean;

@@ -88,6 +88,6 @@ };

modelValue: {
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
default: boolean;
};
size: (NumberConstructor | StringConstructor)[];
size: (StringConstructor | NumberConstructor)[];
tabindex: {

@@ -99,3 +99,3 @@ type: StringConstructor;

trueValue: {
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
default: boolean;

@@ -115,13 +115,13 @@ };

}>>, {
modelValue: string | number | boolean;
disabled: boolean;
tiny_mode_root: boolean;
_constants: Record<string, any>;
modelValue: string | number | boolean;
tabindex: string;
disabled: boolean;
mini: boolean;
displayOnly: boolean;
mini: boolean;
trueValue: string | number | boolean;
falseValue: string | number | boolean;
showText: boolean;
falseValue: string | number | boolean;
trueValue: string | number | boolean;
}>;
}, {}>;
export default _default;

@@ -1,4 +0,4 @@

declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
[x: string]: any;
}>, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;

@@ -10,3 +10,3 @@ }>>> & {

[x: string]: any;
}>;
export default _sfc_main;
}, {}>;
export default _default;

@@ -1,2 +0,2 @@

declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
[x: string]: any;

@@ -12,7 +12,7 @@ }>, {

m: (...cssClasses: any[]) => string;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
}>>>, {
[x: string]: any;
}>;
export default _sfc_main;
}, {}>;
export default _default;

@@ -1,2 +0,2 @@

declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
[x: string]: any;

@@ -12,3 +12,3 @@ }>, {

m: (...cssClasses: any[]) => string;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;

@@ -20,3 +20,3 @@ }>>> & {

[x: string]: any;
}>;
export default _sfc_main;
}, {}>;
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