@opentiny/vue-checkbox-button
Advanced tools
Comparing version 2.9.0 to 2.10.0
@@ -56,3 +56,3 @@ function _extends() { | ||
}); | ||
var version = "2.9.0"; | ||
var version = "2.10.0"; | ||
CheckboxButton.model = { | ||
@@ -59,0 +59,0 @@ prop: "modelValue", |
@@ -164,7 +164,7 @@ import { renderless, api } from "@opentiny/vue-renderless/checkbox-button/vue"; | ||
} | ||
}), _vm.slots.default || _vm.text || _vm.label ? _c("span", { | ||
}), _vm.slots.default || _vm.state.isShowText ? _c("span", { | ||
staticClass: "tiny-checkbox-button__inner", | ||
style: _vm.state.isChecked ? _vm.state.activeStyle : null | ||
}, [_vm._t("default", function() { | ||
return [_vm._v(_vm._s(_vm.text || _vm.label))]; | ||
return [_vm._v(_vm._s(_vm.state.showText))]; | ||
})], 2) : _vm._e()]); | ||
@@ -171,0 +171,0 @@ }; |
{ | ||
"name": "@opentiny/vue-checkbox-button", | ||
"version": "2.9.0", | ||
"version": "2.10.0", | ||
"description": "", | ||
@@ -8,5 +8,6 @@ "main": "./lib/index.js", | ||
"sideEffects": false, | ||
"type": "module", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~2.9.0", | ||
"@opentiny/vue-renderless": "~3.9.0" | ||
"@opentiny/vue-common": "~2.10.0", | ||
"@opentiny/vue-renderless": "~3.10.0" | ||
}, | ||
@@ -13,0 +14,0 @@ "license": "MIT", |
@@ -13,4 +13,4 @@ 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, {}, {}, { | ||
name: StringConstructor; | ||
trueLabel: (NumberConstructor | StringConstructor)[]; | ||
falseLabel: (NumberConstructor | StringConstructor)[]; | ||
trueLabel: (StringConstructor | NumberConstructor)[]; | ||
falseLabel: (StringConstructor | NumberConstructor)[]; | ||
text: StringConstructor; | ||
@@ -28,12 +28,12 @@ events: { | ||
}, { | ||
disabled: boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
disabled: boolean; | ||
events: Record<string, any>; | ||
checked: boolean; | ||
} & { | ||
label?: unknown; | ||
name?: string | undefined; | ||
text?: string | undefined; | ||
tiny_mode?: string | undefined; | ||
label?: unknown; | ||
modelValue?: unknown; | ||
tiny_template?: unknown; | ||
@@ -43,16 +43,16 @@ tiny_renderless?: Function | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
text?: string | undefined; | ||
modelValue?: unknown; | ||
trueLabel?: string | number | undefined; | ||
falseLabel?: string | number | 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>; | ||
disabled: boolean; | ||
events: Record<string, any>; | ||
checked: boolean; | ||
} & { | ||
label?: unknown; | ||
name?: string | undefined; | ||
text?: string | undefined; | ||
tiny_mode?: string | undefined; | ||
label?: unknown; | ||
modelValue?: unknown; | ||
tiny_template?: unknown; | ||
@@ -62,16 +62,16 @@ tiny_renderless?: Function | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
text?: string | undefined; | ||
modelValue?: unknown; | ||
trueLabel?: string | number | undefined; | ||
falseLabel?: string | number | 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>; | ||
disabled: boolean; | ||
events: Record<string, any>; | ||
checked: boolean; | ||
} & { | ||
label?: unknown; | ||
name?: string | undefined; | ||
text?: string | undefined; | ||
tiny_mode?: string | undefined; | ||
label?: unknown; | ||
modelValue?: unknown; | ||
tiny_template?: unknown; | ||
@@ -81,3 +81,3 @@ tiny_renderless?: Function | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
text?: string | undefined; | ||
modelValue?: unknown; | ||
trueLabel?: string | number | undefined; | ||
@@ -84,0 +84,0 @@ falseLabel?: string | number | undefined; |
@@ -1,2 +0,2 @@ | ||
declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{ | ||
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; | ||
@@ -30,2 +30,2 @@ vm: any; | ||
}, true>); | ||
export default _sfc_main; | ||
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
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
14201
Yes
+ Added@opentiny/vue-common@2.10.0(transitive)
+ Added@opentiny/vue-locale@2.10.0(transitive)
+ Added@opentiny/vue-renderless@3.10.7(transitive)
+ Added@opentiny/vue-theme@3.10.4(transitive)
+ Added@opentiny/vue-theme-mobile@3.10.1(transitive)
- Removed@opentiny/vue-common@2.9.0(transitive)
- Removed@opentiny/vue-locale@2.9.0(transitive)
- Removed@opentiny/vue-renderless@3.9.3(transitive)
- Removed@opentiny/vue-theme@3.9.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.9.0(transitive)
Updated@opentiny/vue-common@~2.10.0