@opentiny/vue-radio-button
Advanced tools
Comparing version 3.10.0 to 3.11.0-alpha.0
@@ -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; |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
21314
527
2
+ Added@opentiny/vue-common@3.11.0(transitive)
+ Added@opentiny/vue-locale@3.11.0(transitive)
+ Added@opentiny/vue-renderless@3.11.8(transitive)
+ Added@opentiny/vue-theme@3.11.6(transitive)
+ Added@opentiny/vue-theme-mobile@3.11.1(transitive)
+ Addedcolor@4.2.3(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcolor-string@1.9.1(transitive)
+ Addedis-arrayish@0.3.2(transitive)
+ Addedsimple-swizzle@0.2.2(transitive)
- Removed@opentiny/vue-common@3.10.0(transitive)
- Removed@opentiny/vue-locale@3.10.0(transitive)
- Removed@opentiny/vue-renderless@3.10.7(transitive)
- Removed@opentiny/vue-theme@3.10.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.10.1(transitive)