@opentiny/vue-renderless
Advanced tools
Comparing version 3.9.0 to 3.9.1
@@ -29,3 +29,14 @@ import "../chunk-PKUHTIDK.js"; | ||
} from "./index"; | ||
const api = ["state", "decrease", "increase", "handleBlur", "handleFocus", "handleInput", "handleInputChange", "mouseEvent", "focus", "select"]; | ||
const api = [ | ||
"state", | ||
"decrease", | ||
"increase", | ||
"handleBlur", | ||
"handleFocus", | ||
"handleInput", | ||
"handleInputChange", | ||
"mouseEvent", | ||
"focus", | ||
"select" | ||
]; | ||
const initState = ({ reactive, computed, props, api: api2, $service, parent }) => { | ||
@@ -45,4 +56,4 @@ const state = reactive({ | ||
numPrecision: computed(() => api2.getNumPecision()), | ||
minDisabled: computed(() => !props.circulate && api2.internalDecrease({ val: props.modelValue, step: props.step }) < props.min || state.formDisabled), | ||
maxDisabled: computed(() => !props.circulate && api2.internalIncrease({ val: props.modelValue, step: props.step }) > props.max || state.formDisabled), | ||
minDisabled: computed(() => !props.circulate && state.currentValue <= props.min || state.formDisabled), | ||
maxDisabled: computed(() => !props.circulate && state.currentValue >= props.max || state.formDisabled), | ||
controlsAtRight: computed(() => props.controls && props.controlsPosition === "right"), | ||
@@ -49,0 +60,0 @@ format: computed(() => getUnitPrecision({ service: $service, props })), |
{ | ||
"name": "@opentiny/vue-renderless", | ||
"version": "3.9.0", | ||
"version": "3.9.1", | ||
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://opentiny.design/tiny-vue", |
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
54767
1749094