@volverjs/ui-vue 0.0.1-beta.11 → 0.0.1-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/VvBadge/VvBadge.d.ts +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +165 -12
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.vue.d.ts +4 -4
- package/dist/components/VvBreadcrumb/VvBreadcrumb.d.ts +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +4 -4
- package/dist/components/VvButton/VvButton.d.ts +2 -33
- package/dist/components/VvButton/VvButton.es.js +183 -198
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButton/VvButton.vue.d.ts +9 -44
- package/dist/components/VvButton/useButtonGroupProps.d.ts +1 -6
- package/dist/components/VvButtonGroup/VvButtonGroup.d.ts +2 -26
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +68 -78
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +9 -69
- package/dist/components/VvDropdown/VvDropdown.d.ts +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +4 -4
- package/dist/components/VvInputText/VvInputText.d.ts +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +4 -4
- package/dist/components/VvProgress/VvProgress.d.ts +1 -1
- package/dist/components/VvProgress/VvProgress.vue.d.ts +4 -4
- package/dist/components/VvSelect/VvSelect.d.ts +5 -1
- package/dist/components/VvSelect/VvSelect.es.js +395 -207
- package/dist/components/VvSelect/VvSelect.umd.js +2 -2
- package/dist/components/VvSelect/VvSelect.vue.d.ts +12 -5
- package/dist/components/VvTextarea/VvTextarea.d.ts +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +4 -4
- package/dist/components/index.es.js +579 -610
- package/dist/components/index.umd.js +2 -2
- package/dist/composables/group/types/IButtonGroupState.d.ts +4 -0
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/index.es.js +553 -585
- package/dist/index.umd.js +2 -2
- package/dist/props/index.d.ts +2 -1
- package/dist/stories/RadioGroup/RadioOption.test.d.ts +4 -0
- package/dist/stories/RadioGroup/RadioProperty.test.d.ts +1 -1
- package/dist/stories/RadioGroup/RadioSlots.test.d.ts +6 -0
- package/package.json +2 -2
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvBadge/VvBadge.ts +4 -2
- package/src/components/VvBadge/VvBadge.vue +8 -3
- package/src/components/VvButton/VvButton.ts +4 -34
- package/src/components/VvButton/VvButton.vue +3 -12
- package/src/components/VvButton/useButtonGroupProps.ts +3 -11
- package/src/components/VvButtonGroup/VvButtonGroup.ts +4 -17
- package/src/components/VvButtonGroup/VvButtonGroup.vue +5 -16
- package/src/components/VvSelect/VvSelect.ts +5 -1
- package/src/components/VvSelect/VvSelect.vue +7 -1
- package/src/composables/group/types/IButtonGroupState.ts +4 -0
- package/src/props/index.ts +3 -1
- package/src/stories/Badge/BadgeColor.stories.mdx +4 -4
- package/src/stories/Badge/BadgeModifiers.stories.mdx +65 -0
- package/src/stories/Button/ButtonActive.stories.mdx +27 -0
- package/src/stories/Button/ButtonDisabled.stories.mdx +28 -0
- package/src/stories/Button/ButtonIconPosition.stories.mdx +0 -1
- package/src/stories/Button/ButtonModifiers.stories.mdx +103 -46
- package/src/stories/Button/ButtonSelected.stories.mdx +30 -0
- package/src/stories/ButtonGroup/ButtonGroupAction.stories.mdx +2 -2
- package/src/stories/ButtonGroup/ButtonGroupActionQuiet.stories.mdx +2 -2
- package/src/stories/ButtonGroup/ButtonGroupBlock.stories.mdx +1 -1
- package/src/stories/ButtonGroup/ButtonGroupRounded.stories.mdx +1 -1
- package/src/stories/RadioGroup/RadioGroupHintLabel.stories.mdx +6 -6
- package/src/stories/RadioGroup/RadioGroupLabel.stories.mdx +7 -2
- package/src/stories/RadioGroup/RadioGroupOptionLabel.stories.mdx +7 -19
- package/src/stories/RadioGroup/RadioGroupOptionValue.stories.mdx +7 -19
- package/src/stories/RadioGroup/RadioGroupOptions.stories.mdx +3 -17
- package/src/stories/RadioGroup/RadioGroupSlots.stories.mdx +10 -9
- package/src/stories/RadioGroup/RadioOption.test.ts +45 -0
- package/src/stories/RadioGroup/RadioProperty.test.ts +4 -4
- package/src/stories/RadioGroup/RadioSlots.test.ts +29 -0
- package/src/stories/Select/SelectNative.stories.mdx +45 -0
- package/src/stories/stories.scss +5 -27
- package/src/stories/Button/ButtonVariant.stories.mdx +0 -205
- package/src/stories/Button/test.js +0 -41
- package/src/stories/Radio/RadioTest.js +0 -90
- package/src/stories/RadioGroup/RadioOptionsTest.js +0 -78
- package/src/stories/RadioGroup/RadioPropertyTest.js +0 -131
- package/src/stories/RadioGroup/RadioSlotsTest.js +0 -20
|
@@ -1,18 +1,171 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
},
|
|
1
|
+
import { computed as d, unref as g, defineComponent as m, toRefs as h, openBlock as p, createElementBlock as A, normalizeClass as C, toDisplayString as O } from "vue";
|
|
2
|
+
const y = {
|
|
3
|
+
equals(e, r, t) {
|
|
4
|
+
return t ? this.resolveFieldData(e, t) === this.resolveFieldData(r, t) : this.deepEquals(e, r);
|
|
5
|
+
},
|
|
6
|
+
deepEquals(e, r) {
|
|
7
|
+
if (e === r)
|
|
8
|
+
return !0;
|
|
9
|
+
if (e && r && typeof e == "object" && typeof r == "object") {
|
|
10
|
+
const t = Array.isArray(e), n = Array.isArray(r);
|
|
11
|
+
let s, i, o;
|
|
12
|
+
if (t && n) {
|
|
13
|
+
if (i = e.length, i != r.length)
|
|
14
|
+
return !1;
|
|
15
|
+
for (s = i; s-- !== 0; )
|
|
16
|
+
if (!this.deepEquals(e[s], r[s]))
|
|
17
|
+
return !1;
|
|
18
|
+
return !0;
|
|
19
|
+
}
|
|
20
|
+
if (t != n)
|
|
21
|
+
return !1;
|
|
22
|
+
const f = e instanceof Date, c = r instanceof Date;
|
|
23
|
+
if (f != c)
|
|
24
|
+
return !1;
|
|
25
|
+
if (f && c)
|
|
26
|
+
return e.getTime() == r.getTime();
|
|
27
|
+
const u = e instanceof RegExp, a = r instanceof RegExp;
|
|
28
|
+
if (u != a)
|
|
29
|
+
return !1;
|
|
30
|
+
if (u && a)
|
|
31
|
+
return e.toString() == r.toString();
|
|
32
|
+
const l = Object.keys(e);
|
|
33
|
+
if (i = l.length, i !== Object.keys(r).length)
|
|
34
|
+
return !1;
|
|
35
|
+
for (s = i; s-- !== 0; )
|
|
36
|
+
if (!Object.prototype.hasOwnProperty.call(r, l[s]))
|
|
37
|
+
return !1;
|
|
38
|
+
for (s = i; s-- !== 0; )
|
|
39
|
+
if (o = l[s], !this.deepEquals(e[o], r[o]))
|
|
40
|
+
return !1;
|
|
41
|
+
return !0;
|
|
42
|
+
}
|
|
43
|
+
return e !== e && r !== r;
|
|
44
|
+
},
|
|
45
|
+
resolveFieldData(e, r) {
|
|
46
|
+
if (e && Object.keys(e).length && r) {
|
|
47
|
+
if (r.indexOf(".") === -1)
|
|
48
|
+
return e[r];
|
|
49
|
+
{
|
|
50
|
+
const t = r.split(".");
|
|
51
|
+
let n = e;
|
|
52
|
+
for (let s = 0, i = t.length; s < i; ++s) {
|
|
53
|
+
if (e == null)
|
|
54
|
+
return null;
|
|
55
|
+
n = n[t[s]];
|
|
56
|
+
}
|
|
57
|
+
return n;
|
|
58
|
+
}
|
|
59
|
+
} else
|
|
60
|
+
return null;
|
|
61
|
+
},
|
|
62
|
+
isFunction(e) {
|
|
63
|
+
return !!(e && e.constructor && e.call && e.apply);
|
|
64
|
+
},
|
|
65
|
+
findIndexInList(e, r) {
|
|
66
|
+
let t = -1;
|
|
67
|
+
if (r) {
|
|
68
|
+
for (let n = 0; n < r.length; n++)
|
|
69
|
+
if (this.equals(r[n], e)) {
|
|
70
|
+
t = n;
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return t;
|
|
75
|
+
},
|
|
76
|
+
contains(e, r) {
|
|
77
|
+
if (e != null && r && r.length) {
|
|
78
|
+
for (const t of r)
|
|
79
|
+
if (this.equals(e, t))
|
|
80
|
+
return !0;
|
|
81
|
+
}
|
|
82
|
+
return !1;
|
|
83
|
+
},
|
|
84
|
+
isEmpty(e) {
|
|
85
|
+
return e == null || e === "" || Array.isArray(e) && e.length === 0 || !(e instanceof Date) && typeof e == "object" && Object.keys(e).length === 0;
|
|
86
|
+
},
|
|
87
|
+
isNotEmpty(e) {
|
|
88
|
+
return !this.isEmpty(e);
|
|
89
|
+
},
|
|
90
|
+
pickBy(e, r) {
|
|
91
|
+
return Object.fromEntries(
|
|
92
|
+
Object.entries(e).filter(([t]) => r(t))
|
|
93
|
+
);
|
|
94
|
+
},
|
|
95
|
+
removeFromList(e, r) {
|
|
96
|
+
const t = this.findIndexInList(e, r);
|
|
97
|
+
return t > -1 ? r.filter((n, s) => s !== t) : r;
|
|
98
|
+
},
|
|
99
|
+
isString(e) {
|
|
100
|
+
return typeof e == "string" || e instanceof String;
|
|
101
|
+
},
|
|
102
|
+
propsToObject(e) {
|
|
103
|
+
return Object.keys(e).reduce((r, t) => {
|
|
104
|
+
var n, s, i, o, f;
|
|
105
|
+
return this.isFunction(e[t]) ? r[t] = e[t]() : Array.isArray(e[t]) ? r[t] = e[t][0]() : (n = e[t]) != null && n.type && (Array.isArray(e[t].type) ? r[t] = ((s = e[t]) == null ? void 0 : s.default) || ((i = e[t]) == null ? void 0 : i.type[0]()) : r[t] = ((o = e[t]) == null ? void 0 : o.default) || ((f = e[t]) == null ? void 0 : f.type())), r;
|
|
106
|
+
}, {});
|
|
107
|
+
},
|
|
108
|
+
filterArray(e, r, t) {
|
|
109
|
+
return e.filter((n) => r.some((s) => typeof s == "string" ? n[t] == s : this.equals(
|
|
110
|
+
n[t],
|
|
111
|
+
s[t]
|
|
112
|
+
)));
|
|
113
|
+
},
|
|
114
|
+
kebabCase(e) {
|
|
115
|
+
var r, t;
|
|
116
|
+
if (e)
|
|
117
|
+
return (t = (r = e.match(
|
|
118
|
+
/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g
|
|
119
|
+
)) == null ? void 0 : r.join("-")) == null ? void 0 : t.toLowerCase();
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
function E(e, r) {
|
|
123
|
+
const t = { [`${e}`]: !0 };
|
|
124
|
+
return {
|
|
125
|
+
bemCssClasses: d(() => Object.keys(r).reduce((s, i) => {
|
|
126
|
+
const o = g(r[i]) || !1;
|
|
127
|
+
if (!o)
|
|
128
|
+
return s;
|
|
129
|
+
if (i === "modifiers") {
|
|
130
|
+
const f = Array.isArray(o) ? o : [o];
|
|
131
|
+
return {
|
|
132
|
+
...s,
|
|
133
|
+
...f.reduce(
|
|
134
|
+
(c, u) => ({
|
|
135
|
+
...c,
|
|
136
|
+
[`${e}--${y.kebabCase(
|
|
137
|
+
u
|
|
138
|
+
)}`]: !0
|
|
139
|
+
}),
|
|
140
|
+
{}
|
|
141
|
+
)
|
|
142
|
+
};
|
|
143
|
+
} else
|
|
144
|
+
return {
|
|
145
|
+
...s,
|
|
146
|
+
[`${e}--${y.kebabCase(i)}`]: o
|
|
147
|
+
};
|
|
148
|
+
}, t) || {})
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
const k = {
|
|
152
|
+
modifiers: [String, Array]
|
|
153
|
+
}, b = {
|
|
154
|
+
...k,
|
|
155
|
+
value: [String, Number]
|
|
156
|
+
}, B = /* @__PURE__ */ m({
|
|
6
157
|
__name: "VvBadge",
|
|
7
|
-
props:
|
|
8
|
-
setup(
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
158
|
+
props: b,
|
|
159
|
+
setup(e) {
|
|
160
|
+
const r = e, { modifiers: t } = h(r), { bemCssClasses: n } = E("vv-badge", {
|
|
161
|
+
modifiers: t
|
|
162
|
+
});
|
|
163
|
+
return (s, i) => (p(), A("span", {
|
|
164
|
+
class: C(g(n)),
|
|
12
165
|
role: "status"
|
|
13
|
-
},
|
|
166
|
+
}, O(s.value), 3));
|
|
14
167
|
}
|
|
15
168
|
});
|
|
16
169
|
export {
|
|
17
|
-
|
|
170
|
+
B as default
|
|
18
171
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(f,u){typeof exports=="object"&&typeof module<"u"?module.exports=u(require("vue")):typeof define=="function"&&define.amd?define(["vue"],u):(f=typeof globalThis<"u"?globalThis:f||self,f.VvBadge=u(f.vue))})(this,function(f){"use strict";const u={equals(e,t,r){return r?this.resolveFieldData(e,r)===this.resolveFieldData(t,r):this.deepEquals(e,t)},deepEquals(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){const r=Array.isArray(e),s=Array.isArray(t);let n,i,o;if(r&&s){if(i=e.length,i!=t.length)return!1;for(n=i;n--!==0;)if(!this.deepEquals(e[n],t[n]))return!1;return!0}if(r!=s)return!1;const c=e instanceof Date,l=t instanceof Date;if(c!=l)return!1;if(c&&l)return e.getTime()==t.getTime();const a=e instanceof RegExp,y=t instanceof RegExp;if(a!=y)return!1;if(a&&y)return e.toString()==t.toString();const d=Object.keys(e);if(i=d.length,i!==Object.keys(t).length)return!1;for(n=i;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,d[n]))return!1;for(n=i;n--!==0;)if(o=d[n],!this.deepEquals(e[o],t[o]))return!1;return!0}return e!==e&&t!==t},resolveFieldData(e,t){if(e&&Object.keys(e).length&&t){if(t.indexOf(".")===-1)return e[t];{const r=t.split(".");let s=e;for(let n=0,i=r.length;n<i;++n){if(e==null)return null;s=s[r[n]]}return s}}else return null},isFunction(e){return!!(e&&e.constructor&&e.call&&e.apply)},findIndexInList(e,t){let r=-1;if(t){for(let s=0;s<t.length;s++)if(this.equals(t[s],e)){r=s;break}}return r},contains(e,t){if(e!=null&&t&&t.length){for(const r of t)if(this.equals(e,r))return!0}return!1},isEmpty(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0},isNotEmpty(e){return!this.isEmpty(e)},pickBy(e,t){return Object.fromEntries(Object.entries(e).filter(([r])=>t(r)))},removeFromList(e,t){const r=this.findIndexInList(e,t);return r>-1?t.filter((s,n)=>n!==r):t},isString(e){return typeof e=="string"||e instanceof String},propsToObject(e){return Object.keys(e).reduce((t,r)=>{var s,n,i,o,c;return this.isFunction(e[r])?t[r]=e[r]():Array.isArray(e[r])?t[r]=e[r][0]():(s=e[r])!=null&&s.type&&(Array.isArray(e[r].type)?t[r]=((n=e[r])==null?void 0:n.default)||((i=e[r])==null?void 0:i.type[0]()):t[r]=((o=e[r])==null?void 0:o.default)||((c=e[r])==null?void 0:c.type())),t},{})},filterArray(e,t,r){return e.filter(s=>t.some(n=>typeof n=="string"?s[r]==n:this.equals(s[r],n[r])))},kebabCase(e){var t,r;if(e)return(r=(t=e.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g))==null?void 0:t.join("-"))==null?void 0:r.toLowerCase()}};function g(e,t){const r={[`${e}`]:!0};return{bemCssClasses:f.computed(()=>Object.keys(t).reduce((n,i)=>{const o=f.unref(t[i])||!1;if(!o)return n;if(i==="modifiers"){const c=Array.isArray(o)?o:[o];return{...n,...c.reduce((l,a)=>({...l,[`${e}--${u.kebabCase(a)}`]:!0}),{})}}else return{...n,[`${e}--${u.kebabCase(i)}`]:o}},r)||{})}}const m={...{modifiers:[String,Array]},value:[String,Number]};return f.defineComponent({__name:"VvBadge",props:m,setup(e){const t=e,{modifiers:r}=f.toRefs(t),{bemCssClasses:s}=g("vv-badge",{modifiers:r});return(n,i)=>(f.openBlock(),f.createElementBlock("span",{class:f.normalizeClass(f.unref(s)),role:"status"},f.toDisplayString(n.value),3))}})});
|
|
@@ -4,7 +4,7 @@ declare const _default: {
|
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
6
6
|
value: (StringConstructor | NumberConstructor)[];
|
|
7
|
-
|
|
7
|
+
modifiers: import("vue").PropType<string | string[]>;
|
|
8
8
|
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
9
9
|
$attrs: {
|
|
10
10
|
[x: string]: unknown;
|
|
@@ -21,7 +21,7 @@ declare const _default: {
|
|
|
21
21
|
$el: any;
|
|
22
22
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
value: (StringConstructor | NumberConstructor)[];
|
|
24
|
-
|
|
24
|
+
modifiers: import("vue").PropType<string | string[]>;
|
|
25
25
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
26
26
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
27
27
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -44,13 +44,13 @@ declare const _default: {
|
|
|
44
44
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
45
45
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
46
46
|
value: (StringConstructor | NumberConstructor)[];
|
|
47
|
-
|
|
47
|
+
modifiers: import("vue").PropType<string | string[]>;
|
|
48
48
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
49
49
|
__isFragment?: undefined;
|
|
50
50
|
__isTeleport?: undefined;
|
|
51
51
|
__isSuspense?: undefined;
|
|
52
52
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
53
53
|
value: (StringConstructor | NumberConstructor)[];
|
|
54
|
-
|
|
54
|
+
modifiers: import("vue").PropType<string | string[]>;
|
|
55
55
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
56
56
|
export default _default;
|
|
@@ -20,7 +20,7 @@ declare const _default: {
|
|
|
20
20
|
readonly [Symbol.species]: ArrayConstructor;
|
|
21
21
|
};
|
|
22
22
|
multiline: BooleanConstructor;
|
|
23
|
-
modifiers: (
|
|
23
|
+
modifiers: import("vue").PropType<string | string[]>;
|
|
24
24
|
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "multiline">;
|
|
25
25
|
$attrs: {
|
|
26
26
|
[x: string]: unknown;
|
|
@@ -51,7 +51,7 @@ declare const _default: {
|
|
|
51
51
|
readonly [Symbol.species]: ArrayConstructor;
|
|
52
52
|
};
|
|
53
53
|
multiline: BooleanConstructor;
|
|
54
|
-
modifiers: (
|
|
54
|
+
modifiers: import("vue").PropType<string | string[]>;
|
|
55
55
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
56
56
|
multiline: boolean;
|
|
57
57
|
}, {}, string> & {
|
|
@@ -90,7 +90,7 @@ declare const _default: {
|
|
|
90
90
|
readonly [Symbol.species]: ArrayConstructor;
|
|
91
91
|
};
|
|
92
92
|
multiline: BooleanConstructor;
|
|
93
|
-
modifiers: (
|
|
93
|
+
modifiers: import("vue").PropType<string | string[]>;
|
|
94
94
|
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
95
95
|
__isFragment?: undefined;
|
|
96
96
|
__isTeleport?: undefined;
|
|
@@ -111,7 +111,7 @@ declare const _default: {
|
|
|
111
111
|
readonly [Symbol.species]: ArrayConstructor;
|
|
112
112
|
};
|
|
113
113
|
multiline: BooleanConstructor;
|
|
114
|
-
modifiers: (
|
|
114
|
+
modifiers: import("vue").PropType<string | string[]>;
|
|
115
115
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
116
116
|
multiline: boolean;
|
|
117
117
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
@@ -71,44 +71,13 @@ export declare const VvButtonProps: {
|
|
|
71
71
|
type: PropType<ButtonTarget>;
|
|
72
72
|
validator: (value: string) => boolean;
|
|
73
73
|
};
|
|
74
|
-
/**
|
|
75
|
-
* Create block level button that span the full width of a parent.
|
|
76
|
-
*/
|
|
77
|
-
block: BooleanConstructor;
|
|
78
|
-
/**
|
|
79
|
-
* Button active state.
|
|
80
|
-
*/
|
|
81
74
|
active: BooleanConstructor;
|
|
82
|
-
/**
|
|
83
|
-
* Button rounded.
|
|
84
|
-
*/
|
|
85
|
-
rounded: BooleanConstructor;
|
|
86
|
-
/**
|
|
87
|
-
* Button disabled
|
|
88
|
-
*/
|
|
89
|
-
disabled: BooleanConstructor;
|
|
90
|
-
/**
|
|
91
|
-
* Button with min-width
|
|
92
|
-
*/
|
|
93
|
-
fullBleed: BooleanConstructor;
|
|
94
|
-
/**
|
|
95
|
-
* Button action mode
|
|
96
|
-
*/
|
|
97
|
-
action: BooleanConstructor;
|
|
98
|
-
/**
|
|
99
|
-
* Button action mode
|
|
100
|
-
*/
|
|
101
|
-
actionQuiet: BooleanConstructor;
|
|
102
75
|
/**
|
|
103
76
|
* Button selected mode
|
|
104
77
|
*/
|
|
105
78
|
selected: BooleanConstructor;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
* @values
|
|
109
|
-
* @defaultvalue default
|
|
110
|
-
*/
|
|
111
|
-
modifiers: (StringConstructor | ArrayConstructor)[];
|
|
79
|
+
disabled: BooleanConstructor;
|
|
80
|
+
modifiers: PropType<string | string[]>;
|
|
112
81
|
};
|
|
113
82
|
declare type _VvButtonPropsType = typeof VvButtonProps;
|
|
114
83
|
export declare type VvButtonPropsTypes = ExtractPropTypes<_VvButtonPropsType>;
|