@opentiny/vue-numeric
Advanced tools
Comparing version 3.11.0 to 3.12.0
@@ -87,3 +87,3 @@ function _extends() { | ||
}, | ||
modelValue: {}, | ||
modelValue: [Number, String, void 0], | ||
mouseWheel: Boolean, | ||
@@ -137,2 +137,6 @@ name: String, | ||
default: false | ||
}, | ||
showEmptyValue: { | ||
type: Boolean, | ||
default: false | ||
} | ||
@@ -151,3 +155,3 @@ }); | ||
}); | ||
var version = "3.11.0"; | ||
var version = "3.12.0"; | ||
Numeric.model = { | ||
@@ -154,0 +158,0 @@ prop: "modelValue", |
import { renderless, api } from "@opentiny/vue-renderless/numeric/vue"; | ||
import { defineComponent, directive, props, setup as _setup } from "@opentiny/vue-common"; | ||
import bind from "@opentiny/vue-renderless/common/deps/repeat-click"; | ||
import { IconChevronDown, IconChevronUp, IconMinus, IconPlus } from "@opentiny/vue-icon"; | ||
import { resolveDirective, openBlock, createElementBlock, createElementVNode, normalizeClass, withModifiers, withDirectives, withKeys, createBlock, resolveDynamicComponent, toDisplayString } from "vue"; | ||
import { iconChevronDown, iconChevronUp, iconMinus, iconPlus } from "@opentiny/vue-icon"; | ||
import { resolveDirective, openBlock, createElementBlock, createElementVNode, normalizeClass, withModifiers, withDirectives, withKeys, createBlock, resolveDynamicComponent, createCommentVNode, toDisplayString } from "vue"; | ||
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) { | ||
@@ -56,4 +56,4 @@ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
"numeric_medium": "sm:w-32 sm:h-8 sm:text-sm", | ||
"numeric_decrease": "absolute z-10 text-center cursor-pointer left-0 flex items-center justify-center bg-color-bg-2 active:bg-color-border-separator focus:bg-border-separator sm:bg-inherit sm:active:bg-inherit sm:focus:bg-inherit w-7 h-7 leading-7 border-0.5 border-color-border-separator rounded-l-sm sm:border-0", | ||
"numeric_increase": "absolute z-10 text-center cursor-pointer right-0 flex items-center justify-center bg-color-bg-2 active:bg-color-border-separator focus:bg-border-separator sm:bg-inherit sm:active:bg-inherit sm:focus:bg-inherit w-7 h-7 leading-7 border-0.5 border-color-border-separator rounded-r-sm sm:border-0", | ||
"numeric_decrease": "absolute z-10 text-center cursor-pointer left-0 flex items-center justify-center bg-color-bg-2 active:bg-color-border-separator focus:bg-border-separator sm:bg-inherit sm:active:bg-inherit sm:focus:bg-inherit w-7 h-7 leading-7 border-x-0.5 border-color-border-separator rounded-l sm:border-0", | ||
"numeric_increase": "absolute z-10 text-center cursor-pointer right-0 flex items-center justify-center bg-color-bg-2 active:bg-color-border-separator focus:bg-border-separator sm:bg-inherit sm:active:bg-inherit sm:focus:bg-inherit w-7 h-7 leading-7 border-x-0.5 border-color-border-separator rounded-r sm:border-0", | ||
"numeric_crease_disabled": "bg-color-bg-4 active:bg-color-bg-4 focus:bg-color-bg-4", | ||
@@ -69,4 +69,4 @@ "numeric_svg": "sm:w-4 sm:h-4 w-3.5 h-3.5 inline-block fill-color-icon-primary sm:hover:fill-color-brand-hover sm:active:fill-color-brand-active sm:focus:fill-color-brand-active", | ||
"numeric_input-default-num": "px-8 sm:px-9", | ||
"numeric_input-active": "border-0.5 sm:border border-solid rounded-sm border-color-border-separator sm:border-color-border ", | ||
"numeric_input-disabled": "bg-inherit sm:bg-color-bg-4 cursor-not-allowed", | ||
"numeric_input-active": "border-0.5 sm:border border-solid rounded border-color-border-separator sm:border-color-border ", | ||
"numeric_input-disabled": "bg-inherit sm:bg-color-bg-3 cursor-not-allowed sm:border border-0.5 border-solid rounded border-color-text-disabled text-color-text-disabled", | ||
"numeric_input_inner": "w-full z-10 h-7 leading-7 sm:text-xs inline-block overflow-hidden outline-0", | ||
@@ -76,3 +76,4 @@ "numeric-text-center": "text-center", | ||
"numeric_input_inner_size": "h-7 leading-7 text-sm", | ||
"numeric_input_inner_medium": "sm:h-8 sm:leading-8 text-sm sm:text-sm" | ||
"numeric_input_inner_medium": "sm:h-8 sm:leading-8 text-sm sm:text-sm", | ||
"numeric_input_inner_disabled": "bg-color-bg-1 sm:bg-color-bg-3" | ||
}; | ||
@@ -86,9 +87,9 @@ var _sfc_main = defineComponent({ | ||
components: { | ||
IconChevronDown: IconChevronDown(), | ||
IconChevronUp: IconChevronUp(), | ||
IconMinus: IconMinus(), | ||
IconPlus: IconPlus() | ||
IconChevronDown: iconChevronDown(), | ||
IconChevronUp: iconChevronUp(), | ||
IconMinus: iconMinus(), | ||
IconPlus: iconPlus() | ||
}, | ||
props: [].concat(props, ["step", "tabindex", "stepStrictly", "max", "min", "modelValue", "disabled", "size", "controls", "controlsPosition", "name", "label", "placeholder", "precision", "circulate", "mouseWheel", "validateEvent", "allowEmpty", "format", "unit", "stringMode", "holdZero", "plugin", "modelTruncation", "strictInput", "hideUnit", "unitCenter", "displayOnly"]), | ||
emits: ["blur", "focus", "update:modelValue", "change", "paste-error"], | ||
emits: ["update:modelValue", "change", "blur", "focus"], | ||
setup: function setup(props2, context) { | ||
@@ -109,5 +110,2 @@ return _setup({ | ||
var _hoisted_2 = ["tabindex", "disabled", "value", "placeholder", "max", "min", "name", "aria-label"]; | ||
var _hoisted_3 = { | ||
class: "h-0 right-0 flex ml-2 text-xs sm:h-7 items-center" | ||
}; | ||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | ||
@@ -118,3 +116,4 @@ var _directive_repeat_click = resolveDirective("repeat-click"); | ||
{ | ||
class: normalizeClass(_ctx.m(_ctx.gcls("numeric"), _ctx.state.inputSize === "medium" ? _ctx.gcls("numeric_medium") : _ctx.gcls("numeric_size"), _ctx.state.inputDisabled ? _ctx.gcls("numeric_disabled") : "")), | ||
"data-tag": "tiny-numeric-main", | ||
class: normalizeClass(_ctx.m(_ctx.gcls("numeric"), _ctx.state.inputSize === "medium" ? _ctx.gcls("numeric_medium") : _ctx.gcls("numeric_size"), _ctx.state.inputDisabled ? _ctx.gcls("numeric_disabled") : "", _ctx.state.isDisplayOnly ? _ctx.gcls("numeric_display_none") : "")), | ||
onDragstart: _cache[8] || (_cache[8] = withModifiers(function() { | ||
@@ -126,5 +125,7 @@ }, ["prevent"])), | ||
}, | ||
[withDirectives((openBlock(), createElementBlock( | ||
[_ctx.controls ? withDirectives((openBlock(), createElementBlock( | ||
"span", | ||
{ | ||
key: 0, | ||
"data-tag": "tiny-numeric-decrease", | ||
class: normalizeClass(_ctx.m(_ctx.gcls("numeric_decrease"), _ctx.state.inputSize === "medium" ? _ctx.gcls("numeric_svg_medium") : _ctx.gcls("numeric_svg_size"), _ctx.state.minDisabled || _ctx.state.inputDisabled ? _ctx.gcls("numeric_crease_disabled") : "")), | ||
@@ -140,6 +141,8 @@ role: "button", | ||
34 | ||
/* CLASS, HYDRATE_EVENTS */ | ||
)), [[_directive_repeat_click, _ctx.decrease]]), createElementVNode( | ||
/* CLASS, NEED_HYDRATION */ | ||
)), [[_directive_repeat_click, _ctx.decrease]]) : createCommentVNode("v-if", true), _ctx.controls ? (openBlock(), createElementBlock( | ||
"div", | ||
{ | ||
key: 1, | ||
"data-tag": "tiny-numeric-controls", | ||
class: normalizeClass(["sm:w-px sm:h-4 sm:bg-color-text-disabled sm:absolute", _ctx.state.inputSize === "medium" ? "sm:left-8" : "sm:left-7"]) | ||
@@ -150,5 +153,7 @@ }, | ||
/* CLASS */ | ||
), withDirectives((openBlock(), createElementBlock( | ||
)) : createCommentVNode("v-if", true), _ctx.controls ? withDirectives((openBlock(), createElementBlock( | ||
"span", | ||
{ | ||
key: 2, | ||
"data-tag": "numeric-increase", | ||
class: normalizeClass(_ctx.m(_ctx.gcls("numeric_increase"), _ctx.state.inputSize === "medium" ? _ctx.gcls("numeric_svg_medium") : _ctx.gcls("numeric_svg_size"), _ctx.state.minDisabled || _ctx.state.inputDisabled ? _ctx.gcls("numeric_crease_disabled") : "")), | ||
@@ -164,6 +169,8 @@ role: "button", | ||
34 | ||
/* CLASS, HYDRATE_EVENTS */ | ||
)), [[_directive_repeat_click, _ctx.increase]]), createElementVNode( | ||
/* CLASS, NEED_HYDRATION */ | ||
)), [[_directive_repeat_click, _ctx.increase]]) : createCommentVNode("v-if", true), _ctx.controls ? (openBlock(), createElementBlock( | ||
"div", | ||
{ | ||
key: 3, | ||
"data-tag": "tiny-numeric-controls", | ||
class: normalizeClass(["sm:w-px sm:h-4 sm:bg-color-text-disabled sm:absolute", _ctx.state.inputSize === "medium" ? "sm:right-8" : "sm:right-7"]) | ||
@@ -174,10 +181,10 @@ }, | ||
/* CLASS */ | ||
), createElementVNode( | ||
)) : createCommentVNode("v-if", true), createElementVNode( | ||
"div", | ||
{ | ||
class: normalizeClass(_ctx.state.inputSize === "medium" ? _ctx.gcls("numeric_input_medium") : _ctx.gcls("numeric_input")) | ||
class: normalizeClass(_ctx.m(_ctx.gcls("numeric_input-" + (_ctx.state.inputSize === "medium" ? "medium" : "default") + "-" + (_ctx.controls ? "num" : "unit")), _ctx.state.inputDisabled ? _ctx.gcls("numeric_input-disabled") : _ctx.gcls("numeric_input-active"))) | ||
}, | ||
[createElementVNode("input", { | ||
tabindex: _ctx.tabindex, | ||
class: normalizeClass(_ctx.m(_ctx.gcls("numeric_input_inner"), _ctx.state.inputSize === "medium" ? _ctx.gcls("numeric_input_inner_medium") : _ctx.gcls("numeric_input_inner_size"), _ctx.state.inputDisabled ? _ctx.gcls("numeric_input_inner_disabled") : _ctx.gcls("numeric_input_inner_default"))), | ||
class: normalizeClass(_ctx.m(_ctx.gcls("numeric_input_inner"), _ctx.gcls("numeric-text-" + (_ctx.controls ? "center" : "left")), _ctx.state.inputSize === "medium" ? _ctx.gcls("numeric_input_inner_medium") : _ctx.gcls("numeric_input_inner_size"), _ctx.state.inputDisabled ? _ctx.gcls("numeric_input_inner_disabled") : _ctx.gcls("numeric_input_inner_default"))), | ||
disabled: _ctx.state.inputDisabled, | ||
@@ -213,9 +220,22 @@ ref: "input", | ||
34 | ||
/* CLASS, HYDRATE_EVENTS */ | ||
), createElementVNode( | ||
/* CLASS, NEED_HYDRATION */ | ||
), _ctx.state.isDisplayOnly ? (openBlock(), createElementBlock( | ||
"div", | ||
_hoisted_3, | ||
{ | ||
key: 0, | ||
"data-tag": "numeric-display-only", | ||
class: normalizeClass(_ctx.state.inputSize === "medium" ? "text-sm" : "text-xs") | ||
}, | ||
toDisplayString(_ctx.state.displayValue), | ||
3 | ||
/* TEXT, CLASS */ | ||
)) : createCommentVNode("v-if", true), createElementVNode( | ||
"div", | ||
{ | ||
"data-tag": "numeric-unit", | ||
class: normalizeClass(["h-0 right-0 flex ml-2 text-xs items-center", _ctx.state.isDisplayOnly ? "sm:h-4 " : "sm:h-7"]) | ||
}, | ||
toDisplayString(_ctx.unit), | ||
1 | ||
/* TEXT */ | ||
3 | ||
/* TEXT, CLASS */ | ||
)]); | ||
@@ -222,0 +242,0 @@ } |
@@ -110,3 +110,3 @@ import { renderless, api } from "@opentiny/vue-renderless/numeric/vue"; | ||
34 | ||
/* CLASS, HYDRATE_EVENTS */ | ||
/* CLASS, NEED_HYDRATION */ | ||
)), [[_directive_repeat_click, _ctx.decrease]]) : createCommentVNode("v-if", true), _ctx.controls ? withDirectives((openBlock(), createElementBlock( | ||
@@ -126,3 +126,3 @@ "span", | ||
34 | ||
/* CLASS, HYDRATE_EVENTS */ | ||
/* CLASS, NEED_HYDRATION */ | ||
)), [[_directive_repeat_click, _ctx.increase]]) : createCommentVNode("v-if", true), createElementVNode( | ||
@@ -164,3 +164,3 @@ "div", | ||
34 | ||
/* CLASS, HYDRATE_EVENTS */ | ||
/* CLASS, NEED_HYDRATION */ | ||
); | ||
@@ -167,0 +167,0 @@ } |
@@ -64,3 +64,3 @@ import { renderless, api } from "@opentiny/vue-renderless/numeric/vue"; | ||
}, | ||
props: [].concat(props, ["step", "tabindex", "stepStrictly", "max", "min", "modelValue", "disabled", "size", "controls", "controlsPosition", "name", "label", "placeholder", "precision", "circulate", "mouseWheel", "validateEvent", "allowEmpty", "format", "unit", "stringMode", "holdZero", "plugin", "modelTruncation", "strictInput", "hideUnit", "unitCenter", "displayOnly", "showLeft"]), | ||
props: [].concat(props, ["step", "tabindex", "stepStrictly", "max", "min", "modelValue", "disabled", "size", "controls", "controlsPosition", "name", "label", "placeholder", "precision", "circulate", "mouseWheel", "validateEvent", "allowEmpty", "format", "unit", "stringMode", "holdZero", "plugin", "modelTruncation", "strictInput", "hideUnit", "unitCenter", "displayOnly", "showLeft", "showEmptyValue"]), | ||
emits: ["update:modelValue", "change", "blur", "focus", "paste-error"], | ||
@@ -134,3 +134,3 @@ setup: function setup(props2, context) { | ||
34 | ||
/* CLASS, HYDRATE_EVENTS */ | ||
/* CLASS, NEED_HYDRATION */ | ||
)), [[_directive_repeat_click, _ctx.decrease]]) : createCommentVNode("v-if", true), _ctx.controls && !_ctx.unit ? withDirectives((openBlock(), createElementBlock( | ||
@@ -152,3 +152,3 @@ "span", | ||
34 | ||
/* CLASS, HYDRATE_EVENTS */ | ||
/* CLASS, NEED_HYDRATION */ | ||
)), [[_directive_repeat_click, _ctx.increase]]) : createCommentVNode("v-if", true), _ctx.unit && !_ctx.hideUnit ? (openBlock(), createElementBlock( | ||
@@ -176,3 +176,3 @@ "div", | ||
_hoisted_4, | ||
toDisplayString(_ctx.state.displayValue), | ||
toDisplayString(_ctx.state.displayOnlyText), | ||
1 | ||
@@ -226,3 +226,3 @@ /* TEXT */ | ||
34 | ||
/* CLASS, HYDRATE_EVENTS */ | ||
/* CLASS, NEED_HYDRATION */ | ||
); | ||
@@ -229,0 +229,0 @@ } |
{ | ||
"name": "@opentiny/vue-numeric", | ||
"version": "3.11.0", | ||
"version": "3.12.0", | ||
"description": "", | ||
@@ -10,5 +10,5 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~3.11.0", | ||
"@opentiny/vue-icon": "~3.11.0", | ||
"@opentiny/vue-renderless": "~3.11.0" | ||
"@opentiny/vue-common": "~3.12.0", | ||
"@opentiny/vue-icon": "~3.12.0", | ||
"@opentiny/vue-renderless": "~3.12.0" | ||
}, | ||
@@ -15,0 +15,0 @@ "license": "MIT", |
@@ -67,3 +67,3 @@ export declare const $constants: { | ||
}; | ||
modelValue: {}; | ||
modelValue: (StringConstructor | NumberConstructor | undefined)[]; | ||
mouseWheel: BooleanConstructor; | ||
@@ -116,110 +116,6 @@ name: StringConstructor; | ||
}; | ||
tiny_mode: StringConstructor; | ||
tiny_mode_root: BooleanConstructor; | ||
tiny_template: (ObjectConstructor | FunctionConstructor)[]; | ||
tiny_renderless: FunctionConstructor; | ||
tiny_theme: StringConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}; | ||
declare const _default: import("@vue/runtime-core").DefineComponent<{ | ||
_constants: { | ||
type: ObjectConstructor; | ||
default: () => { | ||
MAX: string; | ||
MIN: string; | ||
VALUENOW: string; | ||
DISABLED: string; | ||
KEY: string; | ||
VALUE: string; | ||
EVENT_NAME: { | ||
blur: string; | ||
change: string; | ||
}; | ||
COMPONENT_NAME: string; | ||
}; | ||
}; | ||
allowEmpty: { | ||
showEmptyValue: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
circulate: BooleanConstructor; | ||
controls: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
controlsPosition: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
disabled: BooleanConstructor; | ||
format: (ObjectConstructor | StringConstructor)[]; | ||
hideUnit: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
holdZero: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
label: StringConstructor; | ||
max: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
min: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
modelTruncation: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
modelValue: {}; | ||
mouseWheel: BooleanConstructor; | ||
name: StringConstructor; | ||
placeholder: StringConstructor; | ||
plugin: FunctionConstructor; | ||
precision: { | ||
type: NumberConstructor; | ||
validator(val: any): boolean; | ||
}; | ||
size: StringConstructor; | ||
step: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
stepStrictly: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
strictInput: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
stringMode: BooleanConstructor; | ||
tabindex: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
theme: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
unit: StringConstructor; | ||
unitCenter: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
validateEvent: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
displayOnly: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
showLeft: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
tiny_mode: StringConstructor; | ||
@@ -231,136 +127,4 @@ tiny_mode_root: BooleanConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, { | ||
[key: string]: any; | ||
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
_constants: { | ||
type: ObjectConstructor; | ||
default: () => { | ||
MAX: string; | ||
MIN: string; | ||
VALUENOW: string; | ||
DISABLED: string; | ||
KEY: string; | ||
VALUE: string; | ||
EVENT_NAME: { | ||
blur: string; | ||
change: string; | ||
}; | ||
COMPONENT_NAME: string; | ||
}; | ||
}; | ||
allowEmpty: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
circulate: BooleanConstructor; | ||
controls: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
controlsPosition: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
disabled: BooleanConstructor; | ||
format: (ObjectConstructor | StringConstructor)[]; | ||
hideUnit: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
holdZero: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
label: StringConstructor; | ||
max: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
min: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
modelTruncation: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
modelValue: {}; | ||
mouseWheel: BooleanConstructor; | ||
name: StringConstructor; | ||
placeholder: StringConstructor; | ||
plugin: FunctionConstructor; | ||
precision: { | ||
type: NumberConstructor; | ||
validator(val: any): boolean; | ||
}; | ||
size: StringConstructor; | ||
step: { | ||
type: (StringConstructor | NumberConstructor)[]; | ||
default: number; | ||
}; | ||
stepStrictly: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
strictInput: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
stringMode: BooleanConstructor; | ||
tabindex: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
theme: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
unit: StringConstructor; | ||
unitCenter: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
validateEvent: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
displayOnly: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
showLeft: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
tiny_mode: StringConstructor; | ||
tiny_mode_root: BooleanConstructor; | ||
tiny_template: (ObjectConstructor | FunctionConstructor)[]; | ||
tiny_renderless: FunctionConstructor; | ||
tiny_theme: StringConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}>>, { | ||
disabled: boolean; | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
tabindex: string; | ||
validateEvent: boolean; | ||
displayOnly: boolean; | ||
max: string | number; | ||
showLeft: boolean; | ||
min: string | number; | ||
step: string | number; | ||
theme: string; | ||
controls: boolean; | ||
allowEmpty: boolean; | ||
stringMode: boolean; | ||
stepStrictly: boolean; | ||
controlsPosition: string; | ||
circulate: boolean; | ||
mouseWheel: boolean; | ||
holdZero: boolean; | ||
modelTruncation: boolean; | ||
strictInput: boolean; | ||
hideUnit: boolean; | ||
unitCenter: boolean; | ||
}, {}>; | ||
}; | ||
declare const _default: (props: Record<string, any> & {}) => any; | ||
export default _default; |
@@ -16,5 +16,5 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
tabindex?: any; | ||
placeholder?: any; | ||
validateEvent?: any; | ||
displayOnly?: any; | ||
placeholder?: any; | ||
max?: any; | ||
@@ -38,3 +38,3 @@ min?: any; | ||
unitCenter?: any; | ||
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "blur" | "change" | "focus" | "paste-error")[], "update:modelValue" | "blur" | "change" | "focus" | "paste-error", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change" | "blur" | "focus")[], "update:modelValue" | "change" | "blur" | "focus", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
format?: any; | ||
@@ -54,5 +54,5 @@ label?: any; | ||
tabindex?: any; | ||
placeholder?: any; | ||
validateEvent?: any; | ||
displayOnly?: any; | ||
placeholder?: any; | ||
max?: any; | ||
@@ -81,3 +81,2 @@ min?: any; | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
"onPaste-error"?: ((...args: any[]) => any) | undefined; | ||
}, { | ||
@@ -98,5 +97,5 @@ readonly format?: any; | ||
readonly tabindex?: any; | ||
readonly placeholder?: any; | ||
readonly validateEvent?: any; | ||
readonly displayOnly?: any; | ||
readonly placeholder?: any; | ||
readonly max?: any; | ||
@@ -103,0 +102,0 @@ readonly min?: any; |
@@ -33,3 +33,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
m: (...cssClasses: any[]) => string; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "blur" | "change" | "focus")[], "update:modelValue" | "blur" | "change" | "focus", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change" | "blur" | "focus")[], "update:modelValue" | "change" | "blur" | "focus", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
label?: any; | ||
@@ -36,0 +36,0 @@ name?: any; |
@@ -16,5 +16,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
tabindex?: any; | ||
placeholder?: any; | ||
validateEvent?: any; | ||
displayOnly?: any; | ||
showEmptyValue?: any; | ||
placeholder?: any; | ||
max?: any; | ||
@@ -39,3 +40,3 @@ showLeft?: any; | ||
unitCenter?: any; | ||
}>, INumericApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "blur" | "change" | "focus" | "paste-error")[], "update:modelValue" | "blur" | "change" | "focus" | "paste-error", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
}>, INumericApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change" | "blur" | "focus" | "paste-error")[], "update:modelValue" | "change" | "blur" | "focus" | "paste-error", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
format?: any; | ||
@@ -55,5 +56,6 @@ label?: any; | ||
tabindex?: any; | ||
placeholder?: any; | ||
validateEvent?: any; | ||
displayOnly?: any; | ||
showEmptyValue?: any; | ||
placeholder?: any; | ||
max?: any; | ||
@@ -99,5 +101,6 @@ showLeft?: any; | ||
readonly tabindex?: any; | ||
readonly placeholder?: any; | ||
readonly validateEvent?: any; | ||
readonly displayOnly?: any; | ||
readonly showEmptyValue?: any; | ||
readonly placeholder?: any; | ||
readonly max?: any; | ||
@@ -104,0 +107,0 @@ readonly showLeft?: any; |
@@ -25,2 +25,3 @@ export declare const classes: { | ||
numeric_input_inner_medium: string; | ||
numeric_input_inner_disabled: string; | ||
}; |
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
46752
1289
+ Added@opentiny/vue-common@3.12.0(transitive)
+ Added@opentiny/vue-icon@3.12.0(transitive)
+ Added@opentiny/vue-locale@3.12.0(transitive)
+ Added@opentiny/vue-renderless@3.12.1(transitive)
+ Added@opentiny/vue-theme@3.12.1(transitive)
+ Added@opentiny/vue-theme-mobile@3.12.0(transitive)
- Removed@opentiny/vue-common@3.11.0(transitive)
- Removed@opentiny/vue-icon@3.11.0(transitive)
- Removed@opentiny/vue-locale@3.11.0(transitive)
- Removed@opentiny/vue-renderless@3.11.8(transitive)
- Removed@opentiny/vue-theme@3.11.6(transitive)
- Removed@opentiny/vue-theme-mobile@3.11.1(transitive)
Updated@opentiny/vue-common@~3.12.0
Updated@opentiny/vue-icon@~3.12.0