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 3.10.1 to 3.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 = "3.10.2";
var version = "3.11.0-alpha.0";
ButtonGroup.model = {

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

@@ -7,3 +7,3 @@ import { renderless, api } from "@opentiny/vue-renderless/button-group/vue";

import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, Fragment, renderList, createElementVNode, normalizeStyle, toDisplayString, createBlock, resolveDynamicComponent, createCommentVNode, createVNode, withCtx, createTextVNode } from "vue";
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];

@@ -46,3 +46,3 @@ if (it)

var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];

@@ -49,0 +49,0 @@ target[key] = val;

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

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

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

@@ -0,4 +1,42 @@

import type { PropType } from 'vue';
import type { IButtonGroupNode } from '@opentiny/vue-renderless/types/button-group.type';
export declare const buttonGroupProps: {
size: StringConstructor;
data: {
type: PropType<IButtonGroupNode[]>;
default: () => never[];
};
plain: BooleanConstructor;
modelValue: (StringConstructor | NumberConstructor)[];
disabled: BooleanConstructor;
valueField: {
type: StringConstructor;
default: string;
};
textField: {
type: StringConstructor;
default: string;
};
showMore: NumberConstructor;
showEdit: {
type: BooleanConstructor;
default: boolean;
};
border: {
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;
};
declare const _default: import("@vue/runtime-core").DefineComponent<{
size: StringConstructor;
data: ArrayConstructor;
data: {
type: PropType<IButtonGroupNode[]>;
default: () => never[];
};
plain: BooleanConstructor;

@@ -34,3 +72,6 @@ modelValue: (StringConstructor | NumberConstructor)[];

size: StringConstructor;
data: ArrayConstructor;
data: {
type: PropType<IButtonGroupNode[]>;
default: () => never[];
};
plain: BooleanConstructor;

@@ -63,10 +104,11 @@ modelValue: (StringConstructor | NumberConstructor)[];

}>>, {
valueField: string;
data: IButtonGroupNode[];
disabled: boolean;
tiny_mode_root: boolean;
plain: boolean;
border: boolean;
textField: string;
valueField: string;
plain: boolean;
showEdit: boolean;
}, {}>;
export default _default;

@@ -0,14 +1,38 @@

import type { IButtonGroupApi } from '@opentiny/vue-renderless/types/button-group.type';
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
[x: string]: any;
}>, {
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;
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change" | "edit")[], "update:modelValue" | "change" | "edit", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
data?: any;
disabled?: any;
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
modelValue?: any;
size?: any;
border?: any;
textField?: any;
valueField?: any;
plain?: any;
showMore?: any;
showEdit?: any;
}>, IButtonGroupApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "change" | "edit")[], "update:modelValue" | "change" | "edit", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
data?: any;
disabled?: any;
tiny_mode?: any;
tiny_mode_root?: any;
tiny_template?: any;
tiny_renderless?: any;
_constants?: any;
tiny_theme?: any;
tiny_chart_theme?: any;
modelValue?: any;
size?: any;
border?: any;
textField?: any;
valueField?: any;
plain?: any;
showMore?: any;
showEdit?: any;
}>>> & {

@@ -19,4 +43,20 @@ onChange?: ((...args: any[]) => any) | undefined;

}, {
[x: string]: any;
readonly data?: any;
readonly disabled?: any;
readonly tiny_mode?: any;
readonly tiny_mode_root?: any;
readonly tiny_template?: any;
readonly tiny_renderless?: any;
readonly _constants?: any;
readonly tiny_theme?: any;
readonly tiny_chart_theme?: any;
readonly modelValue?: any;
readonly size?: any;
readonly border?: any;
readonly textField?: any;
readonly valueField?: any;
readonly plain?: any;
readonly showMore?: any;
readonly showEdit?: 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