@opentiny/vue-checkbox
Advanced tools
Comparing version 2.14.0 to 2.14.1
@@ -105,3 +105,3 @@ function _extends() { | ||
}); | ||
var version = "2.14.0"; | ||
var version = "2.14.1"; | ||
Checkbox.model = { | ||
@@ -108,0 +108,0 @@ prop: "modelValue", |
@@ -1,4 +0,5 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/checkbox/vue"; | ||
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common"; | ||
import { iconHalfselect, iconCheckedSur, iconCheck } from "@opentiny/vue-icon"; | ||
import { renderless, api } from '@opentiny/vue-renderless/checkbox/vue'; | ||
import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
import { iconHalfselect, iconCheckedSur, iconCheck } from '@opentiny/vue-icon'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -67,4 +68,4 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
}, | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -220,4 +221,3 @@ context, | ||
}(); | ||
export { | ||
mobileFirst as default | ||
}; | ||
export { mobileFirst as default }; |
@@ -1,4 +0,5 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/checkbox/vue"; | ||
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common"; | ||
import "@opentiny/vue-theme-mobile/checkbox/index.css"; | ||
import { renderless, api } from '@opentiny/vue-renderless/checkbox/vue'; | ||
import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
import '@opentiny/vue-theme-mobile/checkbox/index.css'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -61,4 +62,4 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
emits: ["update:modelValue", "change", "complete", "click"], | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -192,4 +193,3 @@ context, | ||
}(); | ||
export { | ||
mobile as default | ||
}; | ||
export { mobile as default }; |
@@ -1,6 +0,7 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/checkbox/vue"; | ||
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common"; | ||
import "@opentiny/vue-theme/checkbox/index.css"; | ||
import { iconHalfselect, iconCheckedSur, iconCheck } from "@opentiny/vue-icon"; | ||
import Tooltip from "@opentiny/vue-tooltip"; | ||
import { renderless, api } from '@opentiny/vue-renderless/checkbox/vue'; | ||
import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
import '@opentiny/vue-theme/checkbox/index.css'; | ||
import { iconHalfselect, iconCheckedSur, iconCheck } from '@opentiny/vue-icon'; | ||
import Tooltip from '@opentiny/vue-tooltip'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -61,3 +62,4 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
var __vue2_script = defineComponent({ | ||
emits: ["update:modelValue", "change", "complete", "click"], | ||
// tiny 新增。 renderless中,没有emit('click')的地方。 此处勿声明,否则会造成丢失click事件。 | ||
emits: ["update:modelValue", "change", "complete"], | ||
props: [].concat(props, ["modelValue", "text", "events", "label", "indeterminate", "disabled", "checked", "name", "trueLabel", "falseLabel", "id", "controls", "size", "border", "validateEvent", "displayOnly", "shape"]), | ||
@@ -70,4 +72,4 @@ components: { | ||
}, | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -247,4 +249,3 @@ context, | ||
}(); | ||
export { | ||
pc as default | ||
}; | ||
export { pc as default }; |
{ | ||
"name": "@opentiny/vue-checkbox", | ||
"version": "2.14.0", | ||
"version": "2.14.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -40,3 +40,3 @@ import type { PropType } from '@opentiny/vue-common'; | ||
text: StringConstructor; | ||
customClass: (ArrayConstructor | ObjectConstructor | StringConstructor)[]; | ||
customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[]; | ||
validateEvent: { | ||
@@ -43,0 +43,0 @@ type: BooleanConstructor; |
31246
11
858