Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-numeric

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-numeric - npm Package Compare versions

Comparing version 2.10.0 to 2.11.0-alpha.0

193

lib/index.js

@@ -15,3 +15,3 @@ function _extends() {

}
import { defineComponent, $prefix, $props, $setup } from "@opentiny/vue-common";
import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common";
import PcTemplate from "./pc.js";

@@ -45,98 +45,99 @@ import MobileTemplate from "./mobile.js";

};
var numericProps = _extends({}, $props, {
_constants: {
type: Object,
default: function _default() {
return $constants;
}
},
allowEmpty: {
type: Boolean,
default: false
},
circulate: Boolean,
controls: {
type: Boolean,
default: true
},
controlsPosition: {
type: String,
default: ""
},
disabled: Boolean,
format: [Object, String],
hideUnit: {
type: Boolean,
default: false
},
holdZero: {
type: Boolean,
default: true
},
label: String,
max: {
type: [Number, String],
default: Infinity
},
min: {
type: [Number, String],
default: -Infinity
},
modelTruncation: {
type: Boolean,
default: true
},
modelValue: {},
mouseWheel: Boolean,
name: String,
placeholder: String,
plugin: Function,
precision: {
type: Number,
validator: function validator(val) {
return val >= 0 && val === parseInt(val, 10);
}
},
size: String,
step: {
type: [Number, String],
default: 1
},
stepStrictly: {
type: Boolean,
default: false
},
strictInput: {
type: Boolean,
default: false
},
stringMode: Boolean,
tabindex: {
type: String,
default: "1"
},
theme: {
type: String,
default: ""
},
unit: String,
unitCenter: {
type: Boolean,
default: false
},
validateEvent: {
type: Boolean,
default: true
},
displayOnly: {
type: Boolean,
default: false
},
showLeft: {
type: Boolean,
default: false
}
});
var Numeric = defineComponent({
name: $prefix + "Numeric",
props: _extends({}, $props, {
_constants: {
type: Object,
default: function _default() {
return $constants;
}
},
allowEmpty: {
type: Boolean,
default: false
},
circulate: Boolean,
controls: {
type: Boolean,
default: true
},
controlsPosition: {
type: String,
default: ""
},
disabled: Boolean,
format: [Object, String],
hideUnit: {
type: Boolean,
default: false
},
holdZero: {
type: Boolean,
default: true
},
label: String,
max: {
type: [Number, String],
default: Infinity
},
min: {
type: [Number, String],
default: -Infinity
},
modelTruncation: {
type: Boolean,
default: true
},
modelValue: {},
mouseWheel: Boolean,
name: String,
placeholder: String,
plugin: Function,
precision: {
type: Number,
validator: function validator(val) {
return val >= 0 && val === parseInt(val, 10);
}
},
size: String,
step: {
type: [Number, String],
default: 1
},
stepStrictly: {
type: Boolean,
default: false
},
strictInput: {
type: Boolean,
default: false
},
stringMode: Boolean,
tabindex: {
type: String,
default: "1"
},
theme: {
type: String,
default: ""
},
unit: String,
unitCenter: {
type: Boolean,
default: false
},
validateEvent: {
type: Boolean,
default: true
},
displayOnly: {
type: Boolean,
default: false
},
showLeft: {
type: Boolean,
default: false
}
}),
props: numericProps,
setup: function setup(props, context) {

@@ -150,3 +151,3 @@ return $setup({

});
var version = "2.10.0";
var version = "2.11.0-alpha.0";
Numeric.model = {

@@ -153,0 +154,0 @@ prop: "modelValue",

{
"name": "@opentiny/vue-numeric",
"version": "2.10.0",
"version": "2.11.0-alpha.0",
"description": "",

@@ -10,5 +10,5 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-common": "~2.10.0",
"@opentiny/vue-icon": "~2.10.0",
"@opentiny/vue-renderless": "~3.10.0"
"@opentiny/vue-common": "~2.11.0",
"@opentiny/vue-icon": "~2.11.0",
"@opentiny/vue-renderless": "~3.11.0"
},

@@ -15,0 +15,0 @@ "license": "MIT",

@@ -1,2 +0,15 @@

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, {}, {}, {
export declare const $constants: {
MAX: string;
MIN: string;
VALUENOW: string;
DISABLED: string;
KEY: string;
VALUE: string;
EVENT_NAME: {
blur: string;
change: string;
};
COMPONENT_NAME: string;
};
export declare const numericProps: {
_constants: {

@@ -61,3 +74,3 @@ type: ObjectConstructor;

type: NumberConstructor;
validator(val: unknown): boolean;
validator(val: any): boolean;
};

@@ -109,139 +122,4 @@ size: 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;
} & {
label?: string | undefined;
name?: string | undefined;
format?: unknown;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
modelValue?: unknown;
placeholder?: string | undefined;
size?: string | undefined;
plugin?: Function | undefined;
precision?: number | undefined;
unit?: string | 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>;
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;
} & {
label?: string | undefined;
name?: string | undefined;
format?: unknown;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
modelValue?: unknown;
placeholder?: string | undefined;
size?: string | undefined;
plugin?: Function | undefined;
precision?: number | undefined;
unit?: string | 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>;
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;
} & {
label?: string | undefined;
name?: string | undefined;
format?: unknown;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
modelValue?: unknown;
placeholder?: string | undefined;
size?: string | undefined;
plugin?: Function | undefined;
precision?: number | undefined;
unit?: string | undefined;
}, {
_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;
stepStrictly: boolean;
controlsPosition: string;
holdZero: boolean;
modelTruncation: boolean;
strictInput: boolean;
hideUnit: boolean;
unitCenter: boolean;
}, true>);
};
declare const _default: any;
export default _default;

@@ -1,12 +0,2 @@

declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
[x: string]: any;
}>, {
[x: string]: any;
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
[x: string]: any;
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
[x: string]: any;
} & {}, {
[x: string]: any;
}, true>);
declare const _default: any;
export default _default;

@@ -1,30 +0,2 @@

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;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
[x: string]: any;
}>, {
[x: string]: any;
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
[x: string]: any;
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
[x: string]: any;
} & {}, {
[x: string]: any;
}, true>);
declare const _default: any;
export default _default;

@@ -1,30 +0,2 @@

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;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{
[x: string]: any;
}>, {
[x: string]: any;
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
[x: string]: any;
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
[x: string]: any;
} & {}, {
[x: string]: any;
}, true>);
declare const _default: any;
export default _default;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc