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

@opentiny/vue-button-group

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-button-group - npm Package Compare versions

Comparing version 2.10.1 to 2.11.0-alpha.0

LICENSE

58

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";

@@ -22,2 +22,31 @@ import "@opentiny/vue-theme/button-group/index.css";

};
var buttonGroupProps = _extends({}, $props, {
size: String,
data: {
type: Array,
default: function _default() {
return [];
}
},
plain: Boolean,
modelValue: [String, Number],
disabled: Boolean,
valueField: {
type: String,
default: "value"
},
textField: {
type: String,
default: "text"
},
showMore: Number,
showEdit: {
type: Boolean,
default: false
},
border: {
type: Boolean,
default: true
}
});
var ButtonGroup = defineComponent({

@@ -30,26 +59,3 @@ name: $prefix + "ButtonGroup",

},
props: _extends({}, $props, {
size: String,
data: Array,
plain: Boolean,
modelValue: [String, Number],
disabled: Boolean,
valueField: {
type: String,
default: "value"
},
textField: {
type: String,
default: "text"
},
showMore: Number,
showEdit: {
type: Boolean,
default: false
},
border: {
type: Boolean,
default: true
}
}),
props: buttonGroupProps,
setup: function setup(props, context) {

@@ -63,3 +69,3 @@ return $setup({

});
var version = "2.10.1";
var version = "2.11.0-alpha.0";
ButtonGroup.model = {

@@ -66,0 +72,0 @@ prop: "modelValue",

{
"name": "@opentiny/vue-button-group",
"version": "2.10.1",
"version": "2.11.0-alpha.0",
"description": "",

@@ -9,12 +9,12 @@ "main": "./lib/index.js",

"type": "module",
"dependencies": {
"@opentiny/vue-common": "~2.11.0",
"@opentiny/vue-renderless": "~3.11.0"
},
"license": "MIT",
"types": "index.d.ts",
"scripts": {
"build": "pnpm -w build:ui $npm_package_name",
"//postversion": "pnpm build"
},
"dependencies": {
"@opentiny/vue-common": "~2.10.0",
"@opentiny/vue-renderless": "~3.10.0"
},
"license": "MIT",
"types": "index.d.ts"
}
}

@@ -1,4 +0,9 @@

declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<import("@vue/composition-api/dist/vue-composition-api.js").Data> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
import type { PropType } from 'vue';
import type { IButtonGroupNode } from '@opentiny/vue-renderless/types/button-group.type';
export declare const buttonGroupProps: {
size: StringConstructor;
data: ArrayConstructor;
data: {
type: PropType<IButtonGroupNode[]>;
default: () => never[];
};
plain: BooleanConstructor;

@@ -30,62 +35,4 @@ modelValue: (StringConstructor | NumberConstructor)[];

tiny_chart_theme: ObjectConstructor;
}, {
valueField: string;
disabled: boolean;
tiny_mode_root: boolean;
plain: boolean;
border: boolean;
textField: string;
showEdit: boolean;
} & {
data?: unknown[] | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
modelValue?: string | number | undefined;
size?: string | undefined;
showMore?: number | undefined;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{
valueField: string;
disabled: boolean;
tiny_mode_root: boolean;
plain: boolean;
border: boolean;
textField: string;
showEdit: boolean;
} & {
data?: unknown[] | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
modelValue?: string | number | undefined;
size?: string | undefined;
showMore?: number | undefined;
}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<import("@vue/composition-api/dist/vue-composition-api.js").Data>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, {
valueField: string;
disabled: boolean;
tiny_mode_root: boolean;
plain: boolean;
border: boolean;
textField: string;
showEdit: boolean;
} & {
data?: unknown[] | undefined;
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
modelValue?: string | number | undefined;
size?: string | undefined;
showMore?: number | undefined;
}, {
valueField: string;
border: boolean;
textField: string;
showEdit: boolean;
}, 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