tsv2-library 0.2.2 → 0.2.4
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/src/components/v2/Badge/Badge.vue.d.ts +10 -2
- package/dist/src/components/v2/ButtonBulkAction/ButtonBulkAction.vue.d.ts +5 -0
- package/dist/src/components/v2/DataTable/DataTable.vue.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/tsv2-library.es.js +9406 -9380
- package/package.json +1 -1
- package/src/components/v2/Badge/Badge.vue.d.ts +10 -2
- package/src/components/v2/ButtonBulkAction/ButtonBulkAction.vue.d.ts +5 -0
- package/src/components/v2/DataTable/DataTable.vue.d.ts +1 -0
- package/src/presets/tabmenu/index.js +1 -0
|
@@ -8,6 +8,10 @@ export interface BadgeProps {
|
|
|
8
8
|
* The text to be displayed.
|
|
9
9
|
*/
|
|
10
10
|
label: string;
|
|
11
|
+
/**
|
|
12
|
+
* Wether the badge text is editable.
|
|
13
|
+
*/
|
|
14
|
+
editable?: boolean;
|
|
11
15
|
/**
|
|
12
16
|
* Sets the severity level for styling purposes.
|
|
13
17
|
*/
|
|
@@ -30,8 +34,12 @@ export interface BadgeProps {
|
|
|
30
34
|
* Emits for Badge component
|
|
31
35
|
*/
|
|
32
36
|
export type BadgeEmits = {
|
|
33
|
-
remove: [];
|
|
34
|
-
|
|
37
|
+
'remove': [];
|
|
38
|
+
/**
|
|
39
|
+
* Emits when the text is edited.
|
|
40
|
+
* Only available when props.editable=true
|
|
41
|
+
*/
|
|
42
|
+
'update:label': [label: string | null];
|
|
35
43
|
};
|
|
36
44
|
|
|
37
45
|
/**
|
|
@@ -37,6 +37,11 @@ export interface ButtonBulkActionProps {
|
|
|
37
37
|
* @default true
|
|
38
38
|
*/
|
|
39
39
|
showSelectAllButton?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Define wheter use this component with its bulk action button or not
|
|
42
|
+
* @default true
|
|
43
|
+
*/
|
|
44
|
+
useButton?: boolean;
|
|
40
45
|
}
|
|
41
46
|
|
|
42
47
|
export interface ButtonBulkActionSlots {
|