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

@opentiny/vue-radio-button

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

Comparing version 3.10.0 to 3.11.0-alpha.0

43

lib/index.js

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

}
import { defineComponent, $prefix, $props, $setup } from "@opentiny/vue-common";
import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common";
import PcTemplate from "./pc.js";

@@ -32,23 +32,24 @@ import MobileFirstTemplate from "./mobile-first.js";

};
var radioButtonProps = _extends({}, $props, {
_constants: {
type: Object,
default: function _default() {
return $constants;
}
},
name: String,
text: String,
events: {
type: Object,
default: function _default2() {
return {};
}
},
label: {},
disabled: Boolean,
tipContent: String
});
var RadioButton = defineComponent({
name: $prefix + "RadioButton",
props: _extends({}, $props, {
_constants: {
type: Object,
default: function _default() {
return $constants;
}
},
name: String,
text: String,
events: {
type: Object,
default: function _default2() {
return {};
}
},
label: {},
disabled: Boolean,
tipContent: String
}),
props: radioButtonProps,
setup: function setup(props, context) {

@@ -62,3 +63,3 @@ return $setup({

});
var version = "3.10.0";
var version = "3.11.0-alpha.0";
RadioButton.install = function(Vue) {

@@ -65,0 +66,0 @@ Vue.component(RadioButton.name, RadioButton);

@@ -6,3 +6,3 @@ import { renderless, api } from "@opentiny/vue-renderless/radio-button/vue";

import { resolveComponent, openBlock, createElementBlock, normalizeClass, withKeys, withModifiers, withDirectives, createElementVNode, vModelRadio, renderSlot, Fragment, createTextVNode, toDisplayString, createBlock, withCtx, createVNode, createCommentVNode } from "vue";
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];

@@ -45,3 +45,3 @@ if (it)

var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];

@@ -48,0 +48,0 @@ target[key] = val;

import { renderless, api } from "@opentiny/vue-renderless/radio-button/vue";
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
import { openBlock, createElementBlock, normalizeClass, withKeys, withModifiers, withDirectives, createElementVNode, vModelRadio, normalizeStyle, renderSlot, Fragment, createTextVNode, toDisplayString, createCommentVNode } from "vue";
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];

@@ -42,3 +42,3 @@ if (it)

var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];

@@ -104,3 +104,3 @@ target[key] = val;

class: "tiny-radio-button__inner",
style: normalizeStyle(_ctx.state.value === _ctx.label ? _ctx.state.activeStyle : null),
style: normalizeStyle(_ctx.state.value === _ctx.label ? _ctx.state.activeStyle : void 0),
onKeydown: _cache[4] || (_cache[4] = withModifiers(function() {

@@ -107,0 +107,0 @@ }, ["stop"]))

{
"name": "@opentiny/vue-radio-button",
"version": "3.10.0",
"version": "3.11.0-alpha.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-common": "~3.10.0",
"@opentiny/vue-renderless": "~3.10.0"
"@opentiny/vue-common": "~3.11.0-alpha.0",
"@opentiny/vue-renderless": "~3.11.0-alpha.0"
},

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

@@ -0,1 +1,27 @@

export declare const $constants: {
RADIO_GROUP: string;
};
export declare const radioButtonProps: {
_constants: {
type: ObjectConstructor;
default: () => {
RADIO_GROUP: string;
};
};
name: StringConstructor;
text: StringConstructor;
events: {
type: ObjectConstructor;
default: () => {};
};
label: {};
disabled: BooleanConstructor;
tipContent: StringConstructor;
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (ObjectConstructor | FunctionConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
};
declare const _default: import("@vue/runtime-core").DefineComponent<{

@@ -2,0 +28,0 @@ _constants: {

declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
[x: string]: any;
text?: any;
label?: any;
name?: any;
disabled?: any;
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
events?: any;
tipContent?: any;
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "change"[], "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;
text?: any;
label?: any;
name?: any;
disabled?: any;
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
events?: any;
tipContent?: any;
}>>> & {
onChange?: ((...args: any[]) => any) | undefined;
}, {
[x: string]: any;
readonly text?: any;
readonly label?: any;
readonly name?: any;
readonly disabled?: any;
readonly tiny_mode?: any;
readonly tiny_mode_root?: any;
readonly tiny_template?: any;
readonly tiny_renderless?: any;
readonly _constants?: any;
readonly tiny_theme?: any;
readonly tiny_chart_theme?: any;
readonly events?: any;
readonly tipContent?: any;
}, {}>;
export default _default;

@@ -0,19 +1,44 @@

import type { IRadioButtonApi } from '@opentiny/vue-renderless/types/radio-button.type';
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
[x: string]: any;
}>, {
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "change"[], "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;
text?: any;
label?: any;
name?: any;
disabled?: any;
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
events?: any;
}>, IRadioButtonApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "change"[], "change", 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;
name?: any;
disabled?: any;
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
events?: any;
}>>> & {
onChange?: ((...args: any[]) => any) | undefined;
}, {
[x: string]: any;
readonly text?: any;
readonly label?: any;
readonly name?: any;
readonly disabled?: any;
readonly tiny_mode?: any;
readonly tiny_mode_root?: any;
readonly tiny_template?: any;
readonly tiny_renderless?: any;
readonly _constants?: any;
readonly tiny_theme?: any;
readonly tiny_chart_theme?: any;
readonly events?: 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