@opentiny/vue-radio
Advanced tools
Comparing version 2.10.0 to 2.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"; | ||
@@ -35,33 +35,37 @@ import MobileTemplate from "./mobile.js"; | ||
}; | ||
var radioProps = _extends({}, $props, { | ||
_constants: { | ||
type: Object, | ||
default: function _default() { | ||
return $constants; | ||
} | ||
}, | ||
modelValue: {}, | ||
label: {}, | ||
disabled: Boolean, | ||
name: String, | ||
border: Boolean, | ||
size: { | ||
type: String, | ||
default: "" | ||
}, | ||
text: String, | ||
events: { | ||
type: Object, | ||
default: function _default2() { | ||
return {}; | ||
} | ||
}, | ||
tabindex: { | ||
type: String, | ||
default: "1" | ||
}, | ||
displayOnly: { | ||
type: Boolean, | ||
default: false | ||
} | ||
}); | ||
var Radio = defineComponent({ | ||
name: $prefix + "Radio", | ||
props: _extends({}, $props, { | ||
_constants: { | ||
type: Object, | ||
default: function _default() { | ||
return $constants; | ||
} | ||
}, | ||
modelValue: {}, | ||
label: {}, | ||
disabled: Boolean, | ||
name: String, | ||
border: Boolean, | ||
size: String, | ||
text: String, | ||
events: { | ||
type: Object, | ||
default: function _default2() { | ||
return {}; | ||
} | ||
}, | ||
tabindex: { | ||
type: String, | ||
default: "1" | ||
}, | ||
displayOnly: { | ||
type: Boolean, | ||
default: false | ||
} | ||
}), | ||
props: radioProps, | ||
setup: function setup(props, context) { | ||
@@ -75,3 +79,3 @@ return $setup({ | ||
}); | ||
var version = "2.10.0"; | ||
var version = "2.11.0-alpha.0"; | ||
Radio.model = { | ||
@@ -78,0 +82,0 @@ prop: "modelValue", |
{ | ||
"name": "@opentiny/vue-radio", | ||
"version": "2.10.0", | ||
"version": "2.11.0-alpha.0", | ||
"description": "", | ||
@@ -10,4 +10,4 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~2.10.0", | ||
"@opentiny/vue-renderless": "~3.10.0" | ||
"@opentiny/vue-common": "~2.11.0", | ||
"@opentiny/vue-renderless": "~3.11.0" | ||
}, | ||
@@ -14,0 +14,0 @@ "license": "MIT", |
@@ -1,2 +0,17 @@ | ||
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, { | ||
/** | ||
* Copyright (c) 2022 - present TinyVue Authors. | ||
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd. | ||
* | ||
* Use of this source code is governed by an MIT-style license. | ||
* | ||
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, | ||
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR | ||
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS. | ||
* | ||
*/ | ||
import type { PropType } from 'vue'; | ||
export declare const $constants: { | ||
RADIO_GROUP: string; | ||
}; | ||
export declare const radioProps: { | ||
_constants: { | ||
@@ -13,3 +28,6 @@ type: ObjectConstructor; | ||
border: BooleanConstructor; | ||
size: StringConstructor; | ||
size: { | ||
type: PropType<"small" | "medium" | "mini">; | ||
default: string; | ||
}; | ||
text: StringConstructor; | ||
@@ -34,65 +52,4 @@ events: { | ||
tiny_chart_theme: ObjectConstructor; | ||
}, { | ||
disabled: boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
tabindex: string; | ||
border: boolean; | ||
displayOnly: boolean; | ||
events: Record<string, any>; | ||
} & { | ||
label?: unknown; | ||
name?: string | undefined; | ||
text?: string | undefined; | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
modelValue?: unknown; | ||
size?: string | undefined; | ||
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{ | ||
disabled: boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
tabindex: string; | ||
border: boolean; | ||
displayOnly: boolean; | ||
events: Record<string, any>; | ||
} & { | ||
label?: unknown; | ||
name?: string | undefined; | ||
text?: string | undefined; | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
modelValue?: unknown; | ||
size?: string | undefined; | ||
}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, { | ||
disabled: boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
tabindex: string; | ||
border: boolean; | ||
displayOnly: boolean; | ||
events: Record<string, any>; | ||
} & { | ||
label?: unknown; | ||
name?: string | undefined; | ||
text?: string | undefined; | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
modelValue?: unknown; | ||
size?: string | undefined; | ||
}, { | ||
_constants: Record<string, any>; | ||
tabindex: string; | ||
displayOnly: boolean; | ||
events: Record<string, any>; | ||
}, true>); | ||
}; | ||
declare const _default: any; | ||
export default _default; |
@@ -1,12 +0,2 @@ | ||
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
[x: string]: any; | ||
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{ | ||
[x: string]: any; | ||
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, { | ||
[x: string]: any; | ||
} & {}, { | ||
[x: string]: any; | ||
}, true>); | ||
declare const _default: any; | ||
export default _default; |
@@ -1,30 +0,2 @@ | ||
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{ | ||
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; | ||
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
[x: string]: any; | ||
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{ | ||
[x: string]: any; | ||
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{ | ||
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; | ||
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, { | ||
[x: string]: any; | ||
} & {}, { | ||
[x: string]: any; | ||
}, true>); | ||
declare const _default: any; | ||
export default _default; |
@@ -1,30 +0,2 @@ | ||
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{ | ||
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; | ||
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
[x: string]: any; | ||
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{ | ||
[x: string]: any; | ||
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{ | ||
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; | ||
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, { | ||
[x: string]: any; | ||
} & {}, { | ||
[x: string]: any; | ||
}, true>); | ||
declare const _default: 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
27190
766
2
+ Added@opentiny/vue-common@2.11.0(transitive)
+ Added@opentiny/vue-locale@2.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@2.10.0(transitive)
- Removed@opentiny/vue-locale@2.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)
Updated@opentiny/vue-common@~2.11.0