@opentiny/vue-checkbox
Advanced tools
Comparing version 2.16.0 to 2.17.0
function _extends() { | ||
_extends = Object.assign ? Object.assign.bind() : function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
return _extends = Object.assign ? Object.assign.bind() : function(n) { | ||
for (var e = 1; e < arguments.length; e++) { | ||
var t = arguments[e]; | ||
for (var r in t) | ||
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
return n; | ||
}, _extends.apply(null, arguments); | ||
} | ||
@@ -109,3 +105,3 @@ import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common"; | ||
}); | ||
var version = "2.16.0"; | ||
var version = "2.17.0"; | ||
Checkbox.model = { | ||
@@ -112,0 +108,0 @@ prop: "modelValue", |
@@ -5,3 +5,3 @@ import { renderless, api } from '@opentiny/vue-renderless/checkbox/vue'; | ||
import { iconHalfselect, iconCheckedSur, iconCheck } from '@opentiny/vue-icon'; | ||
import Tooltip from '@opentiny/vue-tooltip'; | ||
import { AutoTip } from '@opentiny/vue-directive'; | ||
@@ -65,2 +65,5 @@ function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
emits: ["update:modelValue", "change", "complete"], | ||
directives: { | ||
AutoTip | ||
}, | ||
props: [].concat(props, ["modelValue", "text", "events", "label", "indeterminate", "disabled", "checked", "name", "trueLabel", "falseLabel", "id", "controls", "size", "border", "validateEvent", "displayOnly", "shape", "tabindex"]), | ||
@@ -70,4 +73,3 @@ components: { | ||
IconCheckedSur: iconCheckedSur(), | ||
IconCheck: iconCheck(), | ||
TinyTooltip: Tooltip | ||
IconCheck: iconCheck() | ||
}, | ||
@@ -214,24 +216,9 @@ setup: function setup$1(props2, context) { | ||
})], 1)]), _vm.slots.default && _vm.slots.default() || _vm.state.isShowText ? _c("span", { | ||
staticClass: "tiny-checkbox__label tiny-checkbox-display-only", | ||
on: { | ||
"mouseenter": _vm.handleLabelMouseenter, | ||
"mouseleave": _vm.handleMouseleave | ||
} | ||
directives: [{ | ||
name: "auto-tip", | ||
rawName: "v-auto-tip" | ||
}], | ||
staticClass: "tiny-checkbox__label tiny-checkbox-display-only" | ||
}, [_vm._t("default", function() { | ||
return [_vm._v(_vm._s(_vm.state.showText))]; | ||
}), _c("tiny-tooltip", { | ||
ref: "tooltip", | ||
attrs: { | ||
"manual": true, | ||
"effect": "light", | ||
"content": _vm.state.displayedValue, | ||
"placement": "top" | ||
}, | ||
model: { | ||
value: _vm.state.tooltipVisible, | ||
callback: function callback($$v) { | ||
_vm.$set(_vm.state, "tooltipVisible", $$v); | ||
}, | ||
expression: "state.tooltipVisible" | ||
} | ||
})], 2) : _vm._e()]); | ||
@@ -238,0 +225,0 @@ }; |
{ | ||
"name": "@opentiny/vue-checkbox", | ||
"version": "2.16.0", | ||
"version": "2.17.0", | ||
"description": "", | ||
@@ -10,8 +10,8 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~2.16.0", | ||
"@opentiny/vue-renderless": "~3.16.0", | ||
"@opentiny/vue-tooltip": "~2.16.0", | ||
"@opentiny/vue-icon": "~2.16.0", | ||
"@opentiny/vue-theme-mobile": "~3.16.0", | ||
"@opentiny/vue-theme": "~3.16.0" | ||
"@opentiny/vue-common": "~2.17.0", | ||
"@opentiny/vue-renderless": "~3.17.0", | ||
"@opentiny/vue-directive": "~2.17.0", | ||
"@opentiny/vue-icon": "~2.17.0", | ||
"@opentiny/vue-theme-mobile": "~3.17.0", | ||
"@opentiny/vue-theme": "~3.17.0" | ||
}, | ||
@@ -18,0 +18,0 @@ "license": "MIT", |
30931
848
+ Added@opentiny/vue-common@2.17.0(transitive)
+ Added@opentiny/vue-directive@2.17.0(transitive)
+ Added@opentiny/vue-icon@2.17.0(transitive)
+ Added@opentiny/vue-locale@2.17.0(transitive)
+ Added@opentiny/vue-renderless@3.17.6(transitive)
+ Added@opentiny/vue-theme@3.17.5(transitive)
+ Added@opentiny/vue-theme-mobile@3.17.0(transitive)
+ Added@opentiny/vue-tooltip@2.17.0(transitive)
- Removed@opentiny/vue-tooltip@~2.16.0
- Removed@opentiny/vue-common@2.16.0(transitive)
- Removed@opentiny/vue-icon@2.16.0(transitive)
- Removed@opentiny/vue-locale@2.16.0(transitive)
- Removed@opentiny/vue-renderless@3.16.2(transitive)
- Removed@opentiny/vue-theme@3.16.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.16.0(transitive)
- Removed@opentiny/vue-tooltip@2.16.0(transitive)
Updated@opentiny/vue-common@~2.17.0
Updated@opentiny/vue-icon@~2.17.0
Updated@opentiny/vue-theme@~3.17.0